annotate configure @ 47456:6289c5b94789

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Fri, 13 Sep 2002 07:18:05 +0000
parents aaa302e0c7ae
children ca6ea93e02f2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #! /bin/sh
Dave Love <fx@gnu.org>
parents:
diff changeset
2 # Guess values for system-dependent variables and create Makefiles.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3 # Generated by Autoconf 2.52.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6 # Free Software Foundation, Inc.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7 # This configure script is free software; the Free Software Foundation
Dave Love <fx@gnu.org>
parents:
diff changeset
8 # gives unlimited permission to copy, distribute and modify it.
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
9
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10 # Avoid depending upon Character Ranges.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
14 as_cr_digits='0123456789'
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
16
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
17 # Sed expression to map a string onto a valid variable name.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
19
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
20 # Sed expression to map a string onto a valid CPP name.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
22
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
23 # Be Bourne compatible
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
25 emulate sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
26 NULLCMD=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
28 set -o posix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
29 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
30
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
31 # Name of the executable.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
33
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
34 if expr a : '\(a\)' >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
35 as_expr=expr
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
36 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
37 as_expr=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
38 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
39
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
40 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
41 echo >conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
43 # We could just check for DJGPP; but this test a) works b) is more generic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
45 if test -f conf$$.exe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
46 # Don't use ln at all; we don't have any links
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
47 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
48 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
49 as_ln_s='ln -s'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
50 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
51 elif ln conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
52 as_ln_s=ln
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
53 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
54 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
55 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
56 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
57
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
58 as_executable_p="test -f"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
59
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
60 # Support unset when possible.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
62 as_unset=unset
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
63 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
64 as_unset=false
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
65 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
66
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
67 # NLS nuisances.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
76
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
77 # IFS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
78 # We need space, tab and new line, in precisely that order.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
79 as_nl='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
80 '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
81 IFS=" $as_nl"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
82
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
83 # CDPATH.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
85
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
86 # Name of the host.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
88 # so uname gets run too.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
90
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
91 exec 6>&1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
92
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
93 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
94 # Initializations.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
95 #
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
96 ac_default_prefix=/usr/local
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
97 cross_compiling=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
98 subdirs=
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
99 MFLAGS= MAKEFLAGS=
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
100 SHELL=${CONFIG_SHELL-/bin/sh}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
101
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
102 # Maximum number of lines to put in a shell here document.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
103 # This variable seems obsolete. It should probably be removed, and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
104 # only ac_max_sed_lines should be used.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
105 : ${ac_max_here_lines=38}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
106
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
107 ac_unique_file="src/lisp.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
108 # Factoring default headers for most tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
109 ac_includes_default="\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
110 #include <stdio.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
111 #if HAVE_SYS_TYPES_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
112 # include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
113 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
114 #if HAVE_SYS_STAT_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
115 # include <sys/stat.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
116 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
117 #if STDC_HEADERS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
118 # include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
119 # include <stddef.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
120 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
121 # if HAVE_STDLIB_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
122 # include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
123 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
124 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
125 #if HAVE_STRING_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
126 # if !STDC_HEADERS && HAVE_MEMORY_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
127 # include <memory.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
128 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
129 # include <string.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
130 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
131 #if HAVE_STRINGS_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
132 # include <strings.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
133 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
134 #if HAVE_INTTYPES_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
135 # include <inttypes.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
136 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
137 # if HAVE_STDINT_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
138 # include <stdint.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
139 # endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
140 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
141 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
142 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
143 #endif"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
144
Dave Love <fx@gnu.org>
parents:
diff changeset
145 # Initialize some variables set by options.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
146 ac_init_help=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
147 ac_init_version=false
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
148 # The variables have the same names as the options, with
Dave Love <fx@gnu.org>
parents:
diff changeset
149 # dashes changed to underlines.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
150 cache_file=/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
151 exec_prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
152 no_create=
Dave Love <fx@gnu.org>
parents:
diff changeset
153 no_recursion=
Dave Love <fx@gnu.org>
parents:
diff changeset
154 prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
155 program_prefix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
156 program_suffix=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
157 program_transform_name=s,x,x,
Dave Love <fx@gnu.org>
parents:
diff changeset
158 silent=
Dave Love <fx@gnu.org>
parents:
diff changeset
159 site=
Dave Love <fx@gnu.org>
parents:
diff changeset
160 srcdir=
Dave Love <fx@gnu.org>
parents:
diff changeset
161 verbose=
Dave Love <fx@gnu.org>
parents:
diff changeset
162 x_includes=NONE
Dave Love <fx@gnu.org>
parents:
diff changeset
163 x_libraries=NONE
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
164
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
165 # Installation directory options.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
166 # These are left unexpanded so users can "make install exec_prefix=/foo"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
167 # and all the variables that are supposed to be based on exec_prefix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
168 # by default will actually change.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
169 # Use braces instead of parens because sh, perl, etc. also accept them.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
170 bindir='${exec_prefix}/bin'
Dave Love <fx@gnu.org>
parents:
diff changeset
171 sbindir='${exec_prefix}/sbin'
Dave Love <fx@gnu.org>
parents:
diff changeset
172 libexecdir='${exec_prefix}/libexec'
Dave Love <fx@gnu.org>
parents:
diff changeset
173 datadir='${prefix}/share'
Dave Love <fx@gnu.org>
parents:
diff changeset
174 sysconfdir='${prefix}/etc'
Dave Love <fx@gnu.org>
parents:
diff changeset
175 sharedstatedir='${prefix}/com'
Dave Love <fx@gnu.org>
parents:
diff changeset
176 localstatedir='${prefix}/var'
Dave Love <fx@gnu.org>
parents:
diff changeset
177 libdir='${exec_prefix}/lib'
Dave Love <fx@gnu.org>
parents:
diff changeset
178 includedir='${prefix}/include'
Dave Love <fx@gnu.org>
parents:
diff changeset
179 oldincludedir='/usr/include'
Dave Love <fx@gnu.org>
parents:
diff changeset
180 infodir='${prefix}/info'
Dave Love <fx@gnu.org>
parents:
diff changeset
181 mandir='${prefix}/man'
Dave Love <fx@gnu.org>
parents:
diff changeset
182
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
183 # Identity of this package.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
184 PACKAGE_NAME=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
185 PACKAGE_TARNAME=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
186 PACKAGE_VERSION=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
187 PACKAGE_STRING=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
188 PACKAGE_BUGREPORT=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
189
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
190 ac_prev=
Dave Love <fx@gnu.org>
parents:
diff changeset
191 for ac_option
Dave Love <fx@gnu.org>
parents:
diff changeset
192 do
Dave Love <fx@gnu.org>
parents:
diff changeset
193 # If the previous option needs an argument, assign it.
Dave Love <fx@gnu.org>
parents:
diff changeset
194 if test -n "$ac_prev"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
195 eval "$ac_prev=\$ac_option"
Dave Love <fx@gnu.org>
parents:
diff changeset
196 ac_prev=
Dave Love <fx@gnu.org>
parents:
diff changeset
197 continue
Dave Love <fx@gnu.org>
parents:
diff changeset
198 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
199
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
200 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
201
Dave Love <fx@gnu.org>
parents:
diff changeset
202 # Accept the important Cygnus configure options, so we can diagnose typos.
Dave Love <fx@gnu.org>
parents:
diff changeset
203
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
204 case $ac_option in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
205
Dave Love <fx@gnu.org>
parents:
diff changeset
206 -bindir | --bindir | --bindi | --bind | --bin | --bi)
Dave Love <fx@gnu.org>
parents:
diff changeset
207 ac_prev=bindir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
208 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
209 bindir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
210
Dave Love <fx@gnu.org>
parents:
diff changeset
211 -build | --build | --buil | --bui | --bu)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
212 ac_prev=build_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
213 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
214 build_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
215
Dave Love <fx@gnu.org>
parents:
diff changeset
216 -cache-file | --cache-file | --cache-fil | --cache-fi \
Dave Love <fx@gnu.org>
parents:
diff changeset
217 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
Dave Love <fx@gnu.org>
parents:
diff changeset
218 ac_prev=cache_file ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
219 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
220 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
221 cache_file=$ac_optarg ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
222
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
223 --config-cache | -C)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
224 cache_file=config.cache ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
225
Dave Love <fx@gnu.org>
parents:
diff changeset
226 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
Dave Love <fx@gnu.org>
parents:
diff changeset
227 ac_prev=datadir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
228 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
229 | --da=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
230 datadir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
231
Dave Love <fx@gnu.org>
parents:
diff changeset
232 -disable-* | --disable-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
233 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
234 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
237 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
238 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
239 eval "enable_$ac_feature=no" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
240
Dave Love <fx@gnu.org>
parents:
diff changeset
241 -enable-* | --enable-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
242 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
243 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
246 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
247 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
248 case $ac_option in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
249 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
250 *) ac_optarg=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
251 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
252 eval "enable_$ac_feature='$ac_optarg'" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
253
Dave Love <fx@gnu.org>
parents:
diff changeset
254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
Dave Love <fx@gnu.org>
parents:
diff changeset
255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Dave Love <fx@gnu.org>
parents:
diff changeset
256 | --exec | --exe | --ex)
Dave Love <fx@gnu.org>
parents:
diff changeset
257 ac_prev=exec_prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
260 | --exec=* | --exe=* | --ex=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
261 exec_prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
262
Dave Love <fx@gnu.org>
parents:
diff changeset
263 -gas | --gas | --ga | --g)
Dave Love <fx@gnu.org>
parents:
diff changeset
264 # Obsolete; use --with-gas.
Dave Love <fx@gnu.org>
parents:
diff changeset
265 with_gas=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
266
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
267 -help | --help | --hel | --he | -h)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
268 ac_init_help=long ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
270 ac_init_help=recursive ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
272 ac_init_help=short ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
273
Dave Love <fx@gnu.org>
parents:
diff changeset
274 -host | --host | --hos | --ho)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
275 ac_prev=host_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
276 -host=* | --host=* | --hos=* | --ho=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
277 host_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
278
Dave Love <fx@gnu.org>
parents:
diff changeset
279 -includedir | --includedir | --includedi | --included | --include \
Dave Love <fx@gnu.org>
parents:
diff changeset
280 | --includ | --inclu | --incl | --inc)
Dave Love <fx@gnu.org>
parents:
diff changeset
281 ac_prev=includedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
282 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
283 | --includ=* | --inclu=* | --incl=* | --inc=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
284 includedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
285
Dave Love <fx@gnu.org>
parents:
diff changeset
286 -infodir | --infodir | --infodi | --infod | --info | --inf)
Dave Love <fx@gnu.org>
parents:
diff changeset
287 ac_prev=infodir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
288 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
289 infodir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
290
Dave Love <fx@gnu.org>
parents:
diff changeset
291 -libdir | --libdir | --libdi | --libd)
Dave Love <fx@gnu.org>
parents:
diff changeset
292 ac_prev=libdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
293 -libdir=* | --libdir=* | --libdi=* | --libd=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
294 libdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
295
Dave Love <fx@gnu.org>
parents:
diff changeset
296 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
Dave Love <fx@gnu.org>
parents:
diff changeset
297 | --libexe | --libex | --libe)
Dave Love <fx@gnu.org>
parents:
diff changeset
298 ac_prev=libexecdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
299 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
300 | --libexe=* | --libex=* | --libe=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
301 libexecdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
302
Dave Love <fx@gnu.org>
parents:
diff changeset
303 -localstatedir | --localstatedir | --localstatedi | --localstated \
Dave Love <fx@gnu.org>
parents:
diff changeset
304 | --localstate | --localstat | --localsta | --localst \
Dave Love <fx@gnu.org>
parents:
diff changeset
305 | --locals | --local | --loca | --loc | --lo)
Dave Love <fx@gnu.org>
parents:
diff changeset
306 ac_prev=localstatedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
307 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
308 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
309 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
310 localstatedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
311
Dave Love <fx@gnu.org>
parents:
diff changeset
312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
Dave Love <fx@gnu.org>
parents:
diff changeset
313 ac_prev=mandir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
315 mandir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
316
Dave Love <fx@gnu.org>
parents:
diff changeset
317 -nfp | --nfp | --nf)
Dave Love <fx@gnu.org>
parents:
diff changeset
318 # Obsolete; use --without-fp.
Dave Love <fx@gnu.org>
parents:
diff changeset
319 with_fp=no ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
320
Dave Love <fx@gnu.org>
parents:
diff changeset
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
322 | --no-cr | --no-c)
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
323 no_create=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
324
Dave Love <fx@gnu.org>
parents:
diff changeset
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
Dave Love <fx@gnu.org>
parents:
diff changeset
326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
Dave Love <fx@gnu.org>
parents:
diff changeset
327 no_recursion=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
328
Dave Love <fx@gnu.org>
parents:
diff changeset
329 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
Dave Love <fx@gnu.org>
parents:
diff changeset
330 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
Dave Love <fx@gnu.org>
parents:
diff changeset
331 | --oldin | --oldi | --old | --ol | --o)
Dave Love <fx@gnu.org>
parents:
diff changeset
332 ac_prev=oldincludedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
336 oldincludedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
337
Dave Love <fx@gnu.org>
parents:
diff changeset
338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
Dave Love <fx@gnu.org>
parents:
diff changeset
339 ac_prev=prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
341 prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
342
Dave Love <fx@gnu.org>
parents:
diff changeset
343 -program-prefix | --program-prefix | --program-prefi | --program-pref \
Dave Love <fx@gnu.org>
parents:
diff changeset
344 | --program-pre | --program-pr | --program-p)
Dave Love <fx@gnu.org>
parents:
diff changeset
345 ac_prev=program_prefix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
346 -program-prefix=* | --program-prefix=* | --program-prefi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
348 program_prefix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
349
Dave Love <fx@gnu.org>
parents:
diff changeset
350 -program-suffix | --program-suffix | --program-suffi | --program-suff \
Dave Love <fx@gnu.org>
parents:
diff changeset
351 | --program-suf | --program-su | --program-s)
Dave Love <fx@gnu.org>
parents:
diff changeset
352 ac_prev=program_suffix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
353 -program-suffix=* | --program-suffix=* | --program-suffi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
355 program_suffix=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
356
Dave Love <fx@gnu.org>
parents:
diff changeset
357 -program-transform-name | --program-transform-name \
Dave Love <fx@gnu.org>
parents:
diff changeset
358 | --program-transform-nam | --program-transform-na \
Dave Love <fx@gnu.org>
parents:
diff changeset
359 | --program-transform-n | --program-transform- \
Dave Love <fx@gnu.org>
parents:
diff changeset
360 | --program-transform | --program-transfor \
Dave Love <fx@gnu.org>
parents:
diff changeset
361 | --program-transfo | --program-transf \
Dave Love <fx@gnu.org>
parents:
diff changeset
362 | --program-trans | --program-tran \
Dave Love <fx@gnu.org>
parents:
diff changeset
363 | --progr-tra | --program-tr | --program-t)
Dave Love <fx@gnu.org>
parents:
diff changeset
364 ac_prev=program_transform_name ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
365 -program-transform-name=* | --program-transform-name=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
366 | --program-transform-nam=* | --program-transform-na=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
367 | --program-transform-n=* | --program-transform-=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
368 | --program-transform=* | --program-transfor=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
369 | --program-transfo=* | --program-transf=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
370 | --program-trans=* | --program-tran=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
371 | --progr-tra=* | --program-tr=* | --program-t=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
372 program_transform_name=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
373
Dave Love <fx@gnu.org>
parents:
diff changeset
374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
Dave Love <fx@gnu.org>
parents:
diff changeset
375 | -silent | --silent | --silen | --sile | --sil)
Dave Love <fx@gnu.org>
parents:
diff changeset
376 silent=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
377
Dave Love <fx@gnu.org>
parents:
diff changeset
378 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
Dave Love <fx@gnu.org>
parents:
diff changeset
379 ac_prev=sbindir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
380 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
381 | --sbi=* | --sb=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
382 sbindir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
383
Dave Love <fx@gnu.org>
parents:
diff changeset
384 -sharedstatedir | --sharedstatedir | --sharedstatedi \
Dave Love <fx@gnu.org>
parents:
diff changeset
385 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
Dave Love <fx@gnu.org>
parents:
diff changeset
386 | --sharedst | --shareds | --shared | --share | --shar \
Dave Love <fx@gnu.org>
parents:
diff changeset
387 | --sha | --sh)
Dave Love <fx@gnu.org>
parents:
diff changeset
388 ac_prev=sharedstatedir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
389 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
390 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
391 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
392 | --sha=* | --sh=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
393 sharedstatedir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
394
Dave Love <fx@gnu.org>
parents:
diff changeset
395 -site | --site | --sit)
Dave Love <fx@gnu.org>
parents:
diff changeset
396 ac_prev=site ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
397 -site=* | --site=* | --sit=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
398 site=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
399
Dave Love <fx@gnu.org>
parents:
diff changeset
400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
Dave Love <fx@gnu.org>
parents:
diff changeset
401 ac_prev=srcdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
403 srcdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
404
Dave Love <fx@gnu.org>
parents:
diff changeset
405 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
Dave Love <fx@gnu.org>
parents:
diff changeset
406 | --syscon | --sysco | --sysc | --sys | --sy)
Dave Love <fx@gnu.org>
parents:
diff changeset
407 ac_prev=sysconfdir ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
408 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
409 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
410 sysconfdir=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
411
Dave Love <fx@gnu.org>
parents:
diff changeset
412 -target | --target | --targe | --targ | --tar | --ta | --t)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
413 ac_prev=target_alias ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
414 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
415 target_alias=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
416
Dave Love <fx@gnu.org>
parents:
diff changeset
417 -v | -verbose | --verbose | --verbos | --verbo | --verb)
Dave Love <fx@gnu.org>
parents:
diff changeset
418 verbose=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
419
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
420 -version | --version | --versio | --versi | --vers | -V)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
421 ac_init_version=: ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
422
Dave Love <fx@gnu.org>
parents:
diff changeset
423 -with-* | --with-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
424 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
425 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
427 { echo "$as_me: error: invalid package name: $ac_package" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
428 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
429 ac_package=`echo $ac_package| sed 's/-/_/g'`
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
430 case $ac_option in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
431 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
432 *) ac_optarg=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
433 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
434 eval "with_$ac_package='$ac_optarg'" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
435
Dave Love <fx@gnu.org>
parents:
diff changeset
436 -without-* | --without-*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
437 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
438 # Reject names that are not valid shell variable names.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
440 { echo "$as_me: error: invalid package name: $ac_package" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
441 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
442 ac_package=`echo $ac_package | sed 's/-/_/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
443 eval "with_$ac_package=no" ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
444
Dave Love <fx@gnu.org>
parents:
diff changeset
445 --x)
Dave Love <fx@gnu.org>
parents:
diff changeset
446 # Obsolete; use --with-x.
Dave Love <fx@gnu.org>
parents:
diff changeset
447 with_x=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
448
Dave Love <fx@gnu.org>
parents:
diff changeset
449 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
Dave Love <fx@gnu.org>
parents:
diff changeset
450 | --x-incl | --x-inc | --x-in | --x-i)
Dave Love <fx@gnu.org>
parents:
diff changeset
451 ac_prev=x_includes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
452 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
453 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
454 x_includes=$ac_optarg ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
455
Dave Love <fx@gnu.org>
parents:
diff changeset
456 -x-libraries | --x-libraries | --x-librarie | --x-librari \
Dave Love <fx@gnu.org>
parents:
diff changeset
457 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
Dave Love <fx@gnu.org>
parents:
diff changeset
458 ac_prev=x_libraries ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
459 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
Dave Love <fx@gnu.org>
parents:
diff changeset
460 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
461 x_libraries=$ac_optarg ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
462
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
463 -*) { echo "$as_me: error: unrecognized option: $ac_option
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
464 Try \`$0 --help' for more information." >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
465 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
466 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
467
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
468 *=*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
469 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
470 # Reject names that are not valid shell variable names.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
473 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
474 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
475 eval "$ac_envvar='$ac_optarg'"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
476 export $ac_envvar ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
477
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
478 *)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
479 # FIXME: should be removed in autoconf 3.0.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
484 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
485
Dave Love <fx@gnu.org>
parents:
diff changeset
486 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
487 done
Dave Love <fx@gnu.org>
parents:
diff changeset
488
Dave Love <fx@gnu.org>
parents:
diff changeset
489 if test -n "$ac_prev"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
490 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
491 { echo "$as_me: error: missing argument to $ac_option" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
492 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
493 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
494
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
495 # Be sure to have absolute paths.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
496 for ac_var in exec_prefix prefix
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
497 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
498 eval ac_val=$`echo $ac_var`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
499 case $ac_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
502 { (exit 1); exit 1; }; };;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
503 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
504 done
Dave Love <fx@gnu.org>
parents:
diff changeset
505
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
506 # Be sure to have absolute paths.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
507 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
508 localstatedir libdir includedir oldincludedir infodir mandir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
509 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
510 eval ac_val=$`echo $ac_var`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
511 case $ac_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
512 [\\/$]* | ?:[\\/]* ) ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
514 { (exit 1); exit 1; }; };;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
515 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
516 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
517
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
518 # There might be people who depend on the old broken behavior: `$host'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
519 # used to hold the argument of --host etc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
520 build=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
521 host=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
522 target=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
523
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
524 # FIXME: should be removed in autoconf 3.0.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
525 if test "x$host_alias" != x; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
526 if test "x$build_alias" = x; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
527 cross_compiling=maybe
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
529 If a cross compiler is detected then cross compile mode will be used." >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
530 elif test "x$build_alias" != "x$host_alias"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
531 cross_compiling=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
532 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
533 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
534
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
535 ac_tool_prefix=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
536 test -n "$host_alias" && ac_tool_prefix=$host_alias-
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
537
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
538 test "$silent" = yes && exec 6>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
539
Dave Love <fx@gnu.org>
parents:
diff changeset
540 # Find the source files, if location was not specified.
Dave Love <fx@gnu.org>
parents:
diff changeset
541 if test -z "$srcdir"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
542 ac_srcdir_defaulted=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
543 # Try the directory containing this script, then its parent.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
544 ac_prog=$0
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
547 srcdir=$ac_confdir
Dave Love <fx@gnu.org>
parents:
diff changeset
548 if test ! -r $srcdir/$ac_unique_file; then
Dave Love <fx@gnu.org>
parents:
diff changeset
549 srcdir=..
Dave Love <fx@gnu.org>
parents:
diff changeset
550 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
551 else
Dave Love <fx@gnu.org>
parents:
diff changeset
552 ac_srcdir_defaulted=no
Dave Love <fx@gnu.org>
parents:
diff changeset
553 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
554 if test ! -r $srcdir/$ac_unique_file; then
Dave Love <fx@gnu.org>
parents:
diff changeset
555 if test "$ac_srcdir_defaulted" = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
557 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
558 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
560 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
561 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
562 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
563 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
564 ac_env_build_alias_set=${build_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
565 ac_env_build_alias_value=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
566 ac_cv_env_build_alias_set=${build_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
567 ac_cv_env_build_alias_value=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
568 ac_env_host_alias_set=${host_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
569 ac_env_host_alias_value=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
570 ac_cv_env_host_alias_set=${host_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
571 ac_cv_env_host_alias_value=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
572 ac_env_target_alias_set=${target_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
573 ac_env_target_alias_value=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
574 ac_cv_env_target_alias_set=${target_alias+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
575 ac_cv_env_target_alias_value=$target_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
576 ac_env_CC_set=${CC+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
577 ac_env_CC_value=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
578 ac_cv_env_CC_set=${CC+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
579 ac_cv_env_CC_value=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
580 ac_env_CFLAGS_set=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
581 ac_env_CFLAGS_value=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
582 ac_cv_env_CFLAGS_set=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
583 ac_cv_env_CFLAGS_value=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
584 ac_env_LDFLAGS_set=${LDFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
585 ac_env_LDFLAGS_value=$LDFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
586 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
587 ac_cv_env_LDFLAGS_value=$LDFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
588 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
589 ac_env_CPPFLAGS_value=$CPPFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
590 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
591 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
592 ac_env_CPP_set=${CPP+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
593 ac_env_CPP_value=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
594 ac_cv_env_CPP_set=${CPP+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
595 ac_cv_env_CPP_value=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
596
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
597 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
598 # Report the --help message.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
599 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
600 if test "$ac_init_help" = "long"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
601 # Omit some internal or obsolete options to make the list less imposing.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
602 # This message is too long to be a string in the A/UX 3.1 sh.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
603 cat <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
604 \`configure' configures this package to adapt to many kinds of systems.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
605
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
606 Usage: $0 [OPTION]... [VAR=VALUE]...
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
607
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
609 VAR=VALUE. See below for descriptions of some of the useful variables.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
610
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
611 Defaults for the options are specified in brackets.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
612
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
613 Configuration:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
614 -h, --help display this help and exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
615 --help=short display options specific to this package
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
616 --help=recursive display the short help of all the included packages
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
617 -V, --version display version information and exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
618 -q, --quiet, --silent do not print \`checking...' messages
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
619 --cache-file=FILE cache test results in FILE [disabled]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
620 -C, --config-cache alias for \`--cache-file=config.cache'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
621 -n, --no-create do not create output files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
623
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
624 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
625
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
626 cat <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
627 Installation directories:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
628 --prefix=PREFIX install architecture-independent files in PREFIX
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
629 [$ac_default_prefix]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
631 [PREFIX]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
632
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
633 By default, \`make install' will install all the files in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
634 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
635 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
636 for instance \`--prefix=\$HOME'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
637
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
638 For better control, use the options below.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
639
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
640 Fine tuning of the installation directories:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
641 --bindir=DIR user executables [EPREFIX/bin]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
642 --sbindir=DIR system admin executables [EPREFIX/sbin]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
643 --libexecdir=DIR program executables [EPREFIX/libexec]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
644 --datadir=DIR read-only architecture-independent data [PREFIX/share]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
648 --libdir=DIR object code libraries [EPREFIX/lib]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
649 --includedir=DIR C header files [PREFIX/include]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
651 --infodir=DIR info documentation [PREFIX/info]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
652 --mandir=DIR man documentation [PREFIX/man]
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
653 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
654
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
655 cat <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
656
41100
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
657 Program names:
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
658 --program-prefix=PREFIX prepend PREFIX to installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
659 --program-suffix=SUFFIX append SUFFIX to installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
660 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
661
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
662 X features:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
663 --x-includes=DIR X include files are in DIR
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
664 --x-libraries=DIR X library files are in DIR
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
665
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
666 System types:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
667 --build=BUILD configure for building on BUILD [guessed]
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
668 --host=HOST build programs to run on HOST [BUILD]
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
669 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
670 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
671
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
672 if test -n "$ac_init_help"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
673
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
674 cat <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
675
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
676 Optional Features:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
677 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
678 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
679 --disable-largefile omit support for large files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
680
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
681 Optional Packages:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
682 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
683 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
684 --without-gcc don't use GCC to compile Emacs if GCC is found
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
685 --without-pop don't support POP mail retrieval with movemail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
686 --with-kerberos support Kerberos-authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
687 --with-kerberos5 support Kerberos version 5 authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
688 --with-hesiod support Hesiod to get the POP server host
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
689 --without-sound don't compile with sound support
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
690 --with-x-toolkit=KIT use an X toolkit (KIT = yes/lucid/athena/motif/no)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
691 --with-xpm use -lXpm for displaying XPM images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
692 --with-jpeg use -ljpeg for displaying JPEG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
693 --with-tiff use -ltiff for displaying TIFF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
694 --with-gif use -lungif for displaying GIF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
695 --with-png use -lpng for displaying PNG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
696 --without-toolkit-scroll-bars
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
697 don't use Motif or Xaw3d scroll bars
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
698 --without-xim don't use X11 XIM
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
699 --without-carbon don't use Carbon GUI on Mac OS X
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
700 --with-x use the X Window System
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
701
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
702 Some influential environment variables:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
703 CC C compiler command
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
704 CFLAGS C compiler flags
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
705 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
706 nonstandard directory <lib dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
707 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
708 headers in a nonstandard directory <include dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
709 CPP C preprocessor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
710
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
711 Use these variables to override the choices made by `configure' or to help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
712 it to find libraries and programs with nonstandard names/locations.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
713
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
714 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
715 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
716
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
717 if test "$ac_init_help" = "recursive"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
718 # If there are subdirs, report their specific --help.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
719 ac_popdir=`pwd`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
720 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
721 cd $ac_subdir
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
722 # A "../" for each directory in /$ac_subdir.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
723 ac_dots=`echo $ac_subdir |
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
724 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
725
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
726 case $srcdir in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
727 .) # No --srcdir option. We are building in place.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
728 ac_sub_srcdir=$srcdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
729 [\\/]* | ?:[\\/]* ) # Absolute path.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
730 ac_sub_srcdir=$srcdir/$ac_subdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
731 *) # Relative path.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
732 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
733 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
734
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
735 # Check for guested configure; otherwise get Cygnus style configure.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
736 if test -f $ac_sub_srcdir/configure.gnu; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
737 echo
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
738 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
739 elif test -f $ac_sub_srcdir/configure; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
740 echo
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
741 $SHELL $ac_sub_srcdir/configure --help=recursive
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
742 elif test -f $ac_sub_srcdir/configure.ac ||
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
743 test -f $ac_sub_srcdir/configure.in; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
744 echo
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
745 $ac_configure --help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
746 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
747 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
748 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
749 cd $ac_popdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
750 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
751 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
752
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
753 test -n "$ac_init_help" && exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
754 if $ac_init_version; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
755 cat <<\EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
756
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
757 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
758 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
759 This configure script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
760 gives unlimited permission to copy, distribute and modify it.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
761 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
762 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
763 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
764 exec 5>config.log
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
765 cat >&5 <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
766 This file contains any messages produced by compilers while
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
767 running configure, to aid debugging if configure makes a mistake.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
768
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
769 It was created by $as_me, which was
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
770 generated by GNU Autoconf 2.52. Invocation command line was
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
771
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
772 $ $0 $@
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
773
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
774 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
775 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
776 cat <<_ASUNAME
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
777 ## ---------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
778 ## Platform. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
779 ## ---------- ##
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
780
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
781 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
782 uname -m = `(uname -m) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
783 uname -r = `(uname -r) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
784 uname -s = `(uname -s) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
785 uname -v = `(uname -v) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
786
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
787 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
788 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
789
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
790 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
791 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
792 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
793 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
794 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
795 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
796 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
797
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
798 PATH = $PATH
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
799
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
800 _ASUNAME
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
801 } >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
802
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
803 cat >&5 <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
804 ## ------------ ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
805 ## Core tests. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
806 ## ------------ ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
807
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
808 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
809
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
810 # Keep a trace of the command line.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
811 # Strip out --no-create and --no-recursion so they do not pile up.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
812 # Also quote any args containing shell meta-characters.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
813 ac_configure_args=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
814 ac_sep=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
815 for ac_arg
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
816 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
817 case $ac_arg in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
818 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
819 | --no-cr | --no-c) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
820 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
821 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
822 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
823 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
824 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
825 ac_sep=" " ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
826 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
827 ac_sep=" " ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
828 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
829 # Get rid of the leading space.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
830 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
831
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
832 # When interrupted or exit'd, cleanup temporary files, and complete
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
833 # config.log. We remove comments because anyway the quotes in there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
834 # would cause problems or look ugly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
835 trap 'exit_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
836 # Save into config.log some information that might help in debugging.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
837 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
838 echo "## ----------------- ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
839 echo "## Cache variables. ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
840 echo "## ----------------- ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
841 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
842 # The following way of writing the cache mishandles newlines in values,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
843 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
844 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
845 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
846 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
847 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
848 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
850 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
851 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
852 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
853 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
854 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
855 esac;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
856 } >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
857 sed "/^$/d" confdefs.h >conftest.log
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
858 if test -s conftest.log; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
859 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
860 echo "## ------------ ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
861 echo "## confdefs.h. ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
862 echo "## ------------ ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
863 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
864 cat conftest.log >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
865 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
866 (echo; echo) >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
867 test "$ac_signal" != 0 &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
868 echo "$as_me: caught signal $ac_signal" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
869 echo "$as_me: exit $exit_status" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
870 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
871 exit $exit_status
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
872 ' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
873 for ac_signal in 1 2 13 15; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
874 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
875 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
876 ac_signal=0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
877
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
878 # confdefs.h avoids OS command line length limits that DEFS can exceed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
879 rm -rf conftest* confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
880 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
881 echo >confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
882
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
883 # Let the site file select an alternate cache file if it wants to.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
884 # Prefer explicitly selected file to automatically selected ones.
Dave Love <fx@gnu.org>
parents:
diff changeset
885 if test -z "$CONFIG_SITE"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
886 if test "x$prefix" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
887 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
888 else
Dave Love <fx@gnu.org>
parents:
diff changeset
889 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
890 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
891 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
892 for ac_site_file in $CONFIG_SITE; do
Dave Love <fx@gnu.org>
parents:
diff changeset
893 if test -r "$ac_site_file"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
894 { echo "$as_me:894: loading site script $ac_site_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
895 echo "$as_me: loading site script $ac_site_file" >&6;}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
896 cat "$ac_site_file" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
897 . "$ac_site_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
898 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
899 done
Dave Love <fx@gnu.org>
parents:
diff changeset
900
Dave Love <fx@gnu.org>
parents:
diff changeset
901 if test -r "$cache_file"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
902 # Some versions of bash will fail to source /dev/null (special
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
903 # files actually), so we avoid doing that.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
904 if test -f "$cache_file"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
905 { echo "$as_me:905: loading cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
906 echo "$as_me: loading cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
907 case $cache_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
908 [\\/]* | ?:[\\/]* ) . $cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
909 *) . ./$cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
910 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
911 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
912 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
913 { echo "$as_me:913: creating cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
914 echo "$as_me: creating cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
915 >$cache_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
916 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
917
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
918 # Check that the precious variables saved in the cache have kept the same
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
919 # value.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
920 ac_cache_corrupted=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
921 for ac_var in `(set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
922 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
923 eval ac_old_set=\$ac_cv_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
924 eval ac_new_set=\$ac_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
925 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
926 eval ac_new_val="\$ac_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
927 case $ac_old_set,$ac_new_set in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
928 set,)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
929 { echo "$as_me:929: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
930 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
931 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
932 ,set)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
933 { echo "$as_me:933: error: \`$ac_var' was not set in the previous run" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
934 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
935 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
936 ,);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
937 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
938 if test "x$ac_old_val" != "x$ac_new_val"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
939 { echo "$as_me:939: error: \`$ac_var' has changed since the previous run:" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
940 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
941 { echo "$as_me:941: former value: $ac_old_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
942 echo "$as_me: former value: $ac_old_val" >&2;}
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
943 { echo "$as_me:943: current value: $ac_new_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
944 echo "$as_me: current value: $ac_new_val" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
945 ac_cache_corrupted=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
946 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
947 esac
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
948 # Pass precious variables to config.status. It doesn't matter if
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
949 # we pass some twice (in addition to the command line arguments).
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
950 if test "$ac_new_set" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
951 case $ac_new_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
952 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
953 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
954 ac_configure_args="$ac_configure_args '$ac_arg'"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
955 ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
956 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
957 ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
958 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
959 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
960 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
961 if $ac_cache_corrupted; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
962 { echo "$as_me:962: error: changes in the environment can compromise the build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
963 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
964 { { echo "$as_me:964: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
965 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
966 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
967 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
968
Dave Love <fx@gnu.org>
parents:
diff changeset
969 ac_ext=c
Dave Love <fx@gnu.org>
parents:
diff changeset
970 ac_cpp='$CPP $CPPFLAGS'
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
974
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
975 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
976 *c*,-n*) ECHO_N= ECHO_C='
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
977 ' ECHO_T=' ' ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
978 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
979 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
980 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
981 echo "#! $SHELL" >conftest.sh
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
982 echo "exit 0" >>conftest.sh
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
983 chmod +x conftest.sh
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
984 if { (echo "$as_me:984: PATH=\".;.\"; conftest.sh") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
985 (PATH=".;."; conftest.sh) 2>&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
986 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
987 echo "$as_me:987: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
988 (exit $ac_status); }; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
989 ac_path_separator=';'
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
990 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
991 ac_path_separator=:
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
992 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
993 PATH_SEPARATOR="$ac_path_separator"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
994 rm -f conftest.sh
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
995
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
996 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
997
41100
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
998 test "$program_prefix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
999 program_transform_name="s,^,$program_prefix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1000 # Use a double $ so make ignores it.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1001 test "$program_suffix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1002 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1003 # Double any \ or $. echo might interpret backslashes.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1004 # By default was `s,x,x', remove it if useless.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1005 cat <<\_ACEOF >conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1006 s/[\\$]/&&/g;s/;s,x,x,$//
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1007 _ACEOF
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1008 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1009 rm conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1010
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1011 lispdir='${datadir}/emacs/${version}/lisp'
Dave Love <fx@gnu.org>
parents:
diff changeset
1012 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
Dave Love <fx@gnu.org>
parents:
diff changeset
1013 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
Dave Love <fx@gnu.org>
parents:
diff changeset
1014 lisppath='${locallisppath}:${lispdir}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1015 etcdir='${datadir}/emacs/${version}/etc'
Dave Love <fx@gnu.org>
parents:
diff changeset
1016 archlibdir='${libexecdir}/emacs/${version}/${configuration}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1017 docdir='${datadir}/emacs/${version}/etc'
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
1018 gamedir='${localstatedir}/games/emacs'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1019
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1020 gameuser=games
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1021
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1022 # Check whether --with-gcc or --without-gcc was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1023 if test "${with_gcc+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1024 withval="$with_gcc"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1025
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1026 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1027
Dave Love <fx@gnu.org>
parents:
diff changeset
1028 # Check whether --with-pop or --without-pop was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1029 if test "${with_pop+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1030 withval="$with_pop"
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1031 if test "$withval" = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1032 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1033 #define MAIL_USE_POP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1034 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1035
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1036 else :
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1037 fi
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1038 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1039 cat >>confdefs.h <<\EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1040 #define MAIL_USE_POP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1041 EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1042
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1043 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1044
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1045 # Check whether --with-kerberos or --without-kerberos was given.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1046 if test "${with_kerberos+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1047 withval="$with_kerberos"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1048 cat >>confdefs.h <<\EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1049 #define KERBEROS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1050 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1051
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1052 fi;
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1053
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1054 # Check whether --with-kerberos5 or --without-kerberos5 was given.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1055 if test "${with_kerberos5+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1056 withval="$with_kerberos5"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1057 if test "${with_kerberos5+set}" = set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1058 if test "${with_kerberos+set}" != set; then
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1059 with_kerberos=yes
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1060 cat >>confdefs.h <<\EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1061 #define KERBEROS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1062 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1063
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1064 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1065 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1066
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1067 cat >>confdefs.h <<\EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1068 #define KERBEROS5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1069 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1070
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1071 fi;
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
1072
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1073 # Check whether --with-hesiod or --without-hesiod was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1074 if test "${with_hesiod+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1075 withval="$with_hesiod"
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
1076
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1077 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1078 #define HESIOD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1079 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1080
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1081 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1082
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1083 # Check whether --with-sound or --without-sound was given.
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1084 if test "${with_sound+set}" = set; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1085 withval="$with_sound"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1086
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1087 fi;
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1088
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1089 # Check whether --with-x-toolkit or --without-x-toolkit was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1090 if test "${with_x_toolkit+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1091 withval="$with_x_toolkit"
Dave Love <fx@gnu.org>
parents:
diff changeset
1092 case "${withval}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1093 y | ye | yes ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1094 n | no ) val=no ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1095 l | lu | luc | luci | lucid ) val=lucid ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1096 a | at | ath | athe | athen | athena ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1097 m | mo | mot | moti | motif ) val=motif ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1098 * )
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1099 { { echo "$as_me:1099: error: \`--with-x-toolkit=$withval' is invalid\;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1100 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1101 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1102 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1103 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1104 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1105 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1106 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1107 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1108 with_x_toolkit=$val
Dave Love <fx@gnu.org>
parents:
diff changeset
1109
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1110 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1111
Dave Love <fx@gnu.org>
parents:
diff changeset
1112 # Check whether --with-xpm or --without-xpm was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1113 if test "${with_xpm+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1114 withval="$with_xpm"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1115
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1116 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1117
Dave Love <fx@gnu.org>
parents:
diff changeset
1118 # Check whether --with-jpeg or --without-jpeg was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1119 if test "${with_jpeg+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1120 withval="$with_jpeg"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1121
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1122 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1123
Dave Love <fx@gnu.org>
parents:
diff changeset
1124 # Check whether --with-tiff or --without-tiff was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1125 if test "${with_tiff+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1126 withval="$with_tiff"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1127
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1128 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1129
Dave Love <fx@gnu.org>
parents:
diff changeset
1130 # Check whether --with-gif or --without-gif was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1131 if test "${with_gif+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1132 withval="$with_gif"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1133
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1134 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1135
Dave Love <fx@gnu.org>
parents:
diff changeset
1136 # Check whether --with-png or --without-png was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1137 if test "${with_png+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1138 withval="$with_png"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1139
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1140 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1141
Dave Love <fx@gnu.org>
parents:
diff changeset
1142 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1143 if test "${with_toolkit_scroll_bars+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1144 withval="$with_toolkit_scroll_bars"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1145
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1146 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1147
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1148 # Check whether --with-xim or --without-xim was given.
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1149 if test "${with_xim+set}" = set; then
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1150 withval="$with_xim"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1151
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1152 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1153
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1154 # Check whether --with-carbon or --without-carbon was given.
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1155 if test "${with_carbon+set}" = set; then
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1156 withval="$with_carbon"
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1157
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1158 fi;
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1159
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1160 #### Make srcdir absolute, if it isn't already. It's important to
31153
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1161 #### avoid running the path through pwd unnecessarily, since pwd can
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1162 #### give you automounter prefixes, which can go away. We do all this
Dave Love <fx@gnu.org>
parents:
diff changeset
1163 #### so Emacs can find its files when run uninstalled.
31153
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1164 ## Make sure CDPATH doesn't affect cd (in case PWD is relative).
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1165 unset CDPATH
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1166 case "${srcdir}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1167 /* ) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1168 . )
Dave Love <fx@gnu.org>
parents:
diff changeset
1169 ## We may be able to use the $PWD environment variable to make this
Dave Love <fx@gnu.org>
parents:
diff changeset
1170 ## absolute. But sometimes PWD is inaccurate.
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1171 ## Note: we used to use ${PWD} at the end instead of `pwd`,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1172 ## but that tested only for a well-formed and valid PWD,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1173 ## it did not object when PWD was well-formed and valid but just wrong.
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1174 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1175 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1176 srcdir="$PWD"
Dave Love <fx@gnu.org>
parents:
diff changeset
1177 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1178 srcdir="`(cd ${srcdir}; pwd)`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1179 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1180 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1181 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1182 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1183
Dave Love <fx@gnu.org>
parents:
diff changeset
1184 #### Check if the source directory already has a configured system in it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1185 if test `pwd` != `(cd ${srcdir} && pwd)` \
Dave Love <fx@gnu.org>
parents:
diff changeset
1186 && test -f "${srcdir}/src/config.h" ; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1187 { echo "$as_me:1187: WARNING: The directory tree \`${srcdir}' is being used
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1188 as a build directory right now; it has been configured in its own
Dave Love <fx@gnu.org>
parents:
diff changeset
1189 right. To configure in another directory as well, you MUST
Dave Love <fx@gnu.org>
parents:
diff changeset
1190 use GNU make. If you do not have GNU make, then you must
Dave Love <fx@gnu.org>
parents:
diff changeset
1191 now do \`make distclean' in ${srcdir},
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1192 and then run $0 again." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1193 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1194 as a build directory right now; it has been configured in its own
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1195 right. To configure in another directory as well, you MUST
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1196 use GNU make. If you do not have GNU make, then you must
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1197 now do \`make distclean' in ${srcdir},
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1198 and then run $0 again." >&2;}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1199
Dave Love <fx@gnu.org>
parents:
diff changeset
1200 extrasub='/^VPATH[ ]*=/c\
Dave Love <fx@gnu.org>
parents:
diff changeset
1201 vpath %.c $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1202 vpath %.h $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1203 vpath %.y $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1204 vpath %.l $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1205 vpath %.s $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1206 vpath %.in $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1207 vpath %.texi $(srcdir)'
Dave Love <fx@gnu.org>
parents:
diff changeset
1208 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1209
Dave Love <fx@gnu.org>
parents:
diff changeset
1210 #### Given the configuration name, set machfile and opsysfile to the
Dave Love <fx@gnu.org>
parents:
diff changeset
1211 #### names of the m/*.h and s/*.h files we should use.
Dave Love <fx@gnu.org>
parents:
diff changeset
1212
Dave Love <fx@gnu.org>
parents:
diff changeset
1213 ### Canonicalize the configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1214
Dave Love <fx@gnu.org>
parents:
diff changeset
1215 ac_aux_dir=
Dave Love <fx@gnu.org>
parents:
diff changeset
1216 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
Dave Love <fx@gnu.org>
parents:
diff changeset
1217 if test -f $ac_dir/install-sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1218 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1219 ac_install_sh="$ac_aux_dir/install-sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1220 break
Dave Love <fx@gnu.org>
parents:
diff changeset
1221 elif test -f $ac_dir/install.sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1222 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1223 ac_install_sh="$ac_aux_dir/install.sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1224 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1225 elif test -f $ac_dir/shtool; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1226 ac_aux_dir=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1227 ac_install_sh="$ac_aux_dir/shtool install -c"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1228 break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1229 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1230 done
Dave Love <fx@gnu.org>
parents:
diff changeset
1231 if test -z "$ac_aux_dir"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1232 { { echo "$as_me:1232: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1233 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1234 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1235 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1236 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1237 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1238 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1239
Dave Love <fx@gnu.org>
parents:
diff changeset
1240 # Make sure we can run config.sub.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1241 $ac_config_sub sun4 >/dev/null 2>&1 ||
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1242 { { echo "$as_me:1242: error: cannot run $ac_config_sub" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1243 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1244 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1245
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1246 echo "$as_me:1246: checking build system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1247 echo $ECHO_N "checking build system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1248 if test "${ac_cv_build+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1249 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1250 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1251 ac_cv_build_alias=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1252 test -z "$ac_cv_build_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1253 ac_cv_build_alias=`$ac_config_guess`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1254 test -z "$ac_cv_build_alias" &&
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1255 { { echo "$as_me:1255: error: cannot guess build type; you must specify one" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1256 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1257 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1258 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1259 { { echo "$as_me:1259: error: $ac_config_sub $ac_cv_build_alias failed." >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1260 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1261 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1262
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1263 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1264 echo "$as_me:1264: result: $ac_cv_build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1265 echo "${ECHO_T}$ac_cv_build" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1266 build=$ac_cv_build
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1267 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1268 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1269 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1270
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1271 echo "$as_me:1271: checking host system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1272 echo $ECHO_N "checking host system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1273 if test "${ac_cv_host+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1274 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1275 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1276 ac_cv_host_alias=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1277 test -z "$ac_cv_host_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1278 ac_cv_host_alias=$ac_cv_build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1279 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1280 { { echo "$as_me:1280: error: $ac_config_sub $ac_cv_host_alias failed" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1281 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1282 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1283
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1284 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1285 echo "$as_me:1285: result: $ac_cv_host" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1286 echo "${ECHO_T}$ac_cv_host" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1287 host=$ac_cv_host
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1288 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1289 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1290 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1291
Dave Love <fx@gnu.org>
parents:
diff changeset
1292 canonical=$host
40060
c1083f9349f0 *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40056
diff changeset
1293 configuration=${host_alias-$host}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1294
Dave Love <fx@gnu.org>
parents:
diff changeset
1295 ### If you add support for a new configuration, add code to this
Dave Love <fx@gnu.org>
parents:
diff changeset
1296 ### switch statement to recognize your configuration name and select
Dave Love <fx@gnu.org>
parents:
diff changeset
1297 ### the appropriate operating system and machine description files.
Dave Love <fx@gnu.org>
parents:
diff changeset
1298
Dave Love <fx@gnu.org>
parents:
diff changeset
1299 ### You would hope that you could choose an m/*.h file pretty much
Dave Love <fx@gnu.org>
parents:
diff changeset
1300 ### based on the machine portion of the configuration name, and an s-
Dave Love <fx@gnu.org>
parents:
diff changeset
1301 ### file based on the operating system portion. However, it turns out
Dave Love <fx@gnu.org>
parents:
diff changeset
1302 ### that each m/*.h file is pretty manufacturer-specific - for
Dave Love <fx@gnu.org>
parents:
diff changeset
1303 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
Dave Love <fx@gnu.org>
parents:
diff changeset
1304 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
1305 ### machines. So we basically have to have a special case for each
Dave Love <fx@gnu.org>
parents:
diff changeset
1306 ### configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1307 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1308 ### As far as handling version numbers on operating systems is
Dave Love <fx@gnu.org>
parents:
diff changeset
1309 ### concerned, make sure things will fail in a fixable way. If
Dave Love <fx@gnu.org>
parents:
diff changeset
1310 ### /etc/MACHINES doesn't say anything about version numbers, be
Dave Love <fx@gnu.org>
parents:
diff changeset
1311 ### prepared to handle anything reasonably. If version numbers
Dave Love <fx@gnu.org>
parents:
diff changeset
1312 ### matter, be sure /etc/MACHINES says something about it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1313 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1314 ### Eric Raymond says we should accept strings like "sysvr4" to mean
Dave Love <fx@gnu.org>
parents:
diff changeset
1315 ### "System V Release 4"; he writes, "The old convention encouraged
Dave Love <fx@gnu.org>
parents:
diff changeset
1316 ### confusion between `system' and `release' levels'."
Dave Love <fx@gnu.org>
parents:
diff changeset
1317
Dave Love <fx@gnu.org>
parents:
diff changeset
1318 machine='' opsys='' unported=no
Dave Love <fx@gnu.org>
parents:
diff changeset
1319 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1320
41675
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1321 ## FreeBSD ports
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1322 *-*-freebsd* )
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1323 opsys=freebsd
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1324 case "${canonical}" in
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1325 alpha*-*-freebsd*) machine=alpha ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1326 i[3456]86-*-freebsd*) machine=intel386 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1327 esac
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1328 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1329
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1330 ## NetBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1331 *-*-netbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1332 opsys=netbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1333 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1334 alpha*-*-netbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1335 i[3456]86-*-netbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1336 m68k-*-netbsd*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1337 # This is somewhat bogus.
Dave Love <fx@gnu.org>
parents:
diff changeset
1338 machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1339 powerpc-apple-netbsd*) machine=macppc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1340 mips-*-netbsd*) machine=pmax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1341 mipsel-*-netbsd*) machine=pmax ;;
45961
3a6f0c639247 Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 45668
diff changeset
1342 mipseb-*-netbsd*) machine=pmax ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1343 ns32k-*-netbsd*) machine=ns32000 ;;
28674
33b9dd030d3b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28643
diff changeset
1344 powerpc-*-netbsd*) machine=macppc ;;
32034
259c9935f2db *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31994
diff changeset
1345 sparc*-*-netbsd*) machine=sparc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1346 vax-*-netbsd*) machine=vax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1347 arm-*-netbsd*) machine=arm ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1348 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1349 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1350
Dave Love <fx@gnu.org>
parents:
diff changeset
1351 ## OpenBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1352 *-*-openbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1353 opsys=openbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1354 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1355 alpha*-*-openbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1356 i386-*-openbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1357 m68k-*-openbsd*) machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1358 mipsel-*-openbsd*) machine=pmax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1359 ns32k-*-openbsd*) machine=ns32000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1360 sparc-*-openbsd*) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1361 vax-*-openbsd*) machine=vax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1362 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1363 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1364
Dave Love <fx@gnu.org>
parents:
diff changeset
1365 ## Acorn RISCiX:
Dave Love <fx@gnu.org>
parents:
diff changeset
1366 arm-acorn-riscix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1367 machine=acorn opsys=riscix1-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1368 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1369 arm-acorn-riscix1.2* | arm-acorn-riscix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1370 ## This name is riscix12 instead of riscix1.2
Dave Love <fx@gnu.org>
parents:
diff changeset
1371 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1372 machine=acorn opsys=riscix12
Dave Love <fx@gnu.org>
parents:
diff changeset
1373 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1374
Dave Love <fx@gnu.org>
parents:
diff changeset
1375 ## BSDI ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1376 *-*-bsdi* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1377 opsys=bsdi
Dave Love <fx@gnu.org>
parents:
diff changeset
1378 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1379 i[345]86-*-bsdi*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1380 sparc-*-bsdi*) machine=sparc ;;
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1381 powerpc-*-bsdi*) machine=macppc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1382 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1383 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1384 *-*-bsd386* | *-*-bsdi1* ) opsys=bsd386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1385 *-*-bsdi2.0* ) opsys=bsdos2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1386 *-*-bsdi2* ) opsys=bsdos2-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1387 *-*-bsdi3* ) opsys=bsdos3 ;;
42988
5fcba75d6dd8 Recognize BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents: 42401
diff changeset
1388 *-*-bsdi[45]* ) opsys=bsdos4 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1389 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1390 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1391
Dave Love <fx@gnu.org>
parents:
diff changeset
1392 ## Alliant machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1393 ## Strictly speaking, we need the version of the alliant operating
Dave Love <fx@gnu.org>
parents:
diff changeset
1394 ## system to choose the right machine file, but currently the
Dave Love <fx@gnu.org>
parents:
diff changeset
1395 ## configuration name doesn't tell us enough to choose the right
Dave Love <fx@gnu.org>
parents:
diff changeset
1396 ## one; we need to give alliants their own operating system name to
Dave Love <fx@gnu.org>
parents:
diff changeset
1397 ## do this right. When someone cares, they can help us.
Dave Love <fx@gnu.org>
parents:
diff changeset
1398 fx80-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1399 machine=alliant4 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1400 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1401 i860-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1402 machine=alliant-2800 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1403 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1404
Dave Love <fx@gnu.org>
parents:
diff changeset
1405 ## Alpha (DEC) machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1406 alpha*-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1407 machine=alpha opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1408 # This is needed to find X11R6.1 libraries for certain tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
1409 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
Dave Love <fx@gnu.org>
parents:
diff changeset
1410 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
34446
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1411 # NON_GNU_CPP is necessary on 5.0 to avoid mangling src/Makefile
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1412 # due to non-traditional preprocessing with the current compiler
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1413 # defaults. OSF 4 can also have that compiler version, and there
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1414 # seems always to have been a usable /usr/bin/cpp.
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1415 NON_GNU_CPP=/usr/bin/cpp
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1416 case "${canonical}" in
31994
baf314674954 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31607
diff changeset
1417 alpha*-dec-osf[5-9]*)
31229
0c280e986946 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31153
diff changeset
1418 opsys=osf5-0 ;;
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1419 esac
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1420 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1421
Dave Love <fx@gnu.org>
parents:
diff changeset
1422 alpha*-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1423 machine=alpha opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
1424 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1425
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1426 arm*-*-linux-gnu* )
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1427 machine=arm opsys=gnu-linux
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1428 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1429
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1430 ppc-*-linux | \
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1431 powerpc-*-linux* )
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1432 machine=macppc opsys=gnu-linux
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1433 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1434
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1435 ## Altos 3068
Dave Love <fx@gnu.org>
parents:
diff changeset
1436 m68*-altos-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1437 machine=altos opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1438 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1439
Dave Love <fx@gnu.org>
parents:
diff changeset
1440 ## Amdahl UTS
Dave Love <fx@gnu.org>
parents:
diff changeset
1441 580-amdahl-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1442 machine=amdahl opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1443 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1444
Dave Love <fx@gnu.org>
parents:
diff changeset
1445 ## Apollo, Domain/OS
Dave Love <fx@gnu.org>
parents:
diff changeset
1446 m68*-apollo-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1447 machine=apollo opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1448 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1449
Dave Love <fx@gnu.org>
parents:
diff changeset
1450 ## AT&T 3b2, 3b5, 3b15, 3b20
Dave Love <fx@gnu.org>
parents:
diff changeset
1451 we32k-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1452 machine=att3b opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1453 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1454
Dave Love <fx@gnu.org>
parents:
diff changeset
1455 ## AT&T 3b1 - The Mighty Unix PC!
Dave Love <fx@gnu.org>
parents:
diff changeset
1456 m68*-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1457 machine=7300 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1458 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1459
Dave Love <fx@gnu.org>
parents:
diff changeset
1460 ## Bull dpx20
Dave Love <fx@gnu.org>
parents:
diff changeset
1461 rs6000-bull-bosx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1462 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1463 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1464
Dave Love <fx@gnu.org>
parents:
diff changeset
1465 ## Bull dpx2
Dave Love <fx@gnu.org>
parents:
diff changeset
1466 m68*-bull-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1467 machine=dpx2 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1468 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1469
Dave Love <fx@gnu.org>
parents:
diff changeset
1470 ## Bull sps7
Dave Love <fx@gnu.org>
parents:
diff changeset
1471 m68*-bull-sysv2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1472 machine=sps7 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1473 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1474
Dave Love <fx@gnu.org>
parents:
diff changeset
1475 ## CCI 5/32, 6/32 -- see "Tahoe".
Dave Love <fx@gnu.org>
parents:
diff changeset
1476
Dave Love <fx@gnu.org>
parents:
diff changeset
1477 ## Celerity
Dave Love <fx@gnu.org>
parents:
diff changeset
1478 ## I don't know what configuration name to use for this; config.sub
Dave Love <fx@gnu.org>
parents:
diff changeset
1479 ## doesn't seem to know anything about it. Hey, Celerity users, get
Dave Love <fx@gnu.org>
parents:
diff changeset
1480 ## in touch with us!
Dave Love <fx@gnu.org>
parents:
diff changeset
1481 celerity-celerity-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1482 machine=celerity opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1483 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1484
Dave Love <fx@gnu.org>
parents:
diff changeset
1485 ## Clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1486 ## What operating systems does this chip run that Emacs has been
Dave Love <fx@gnu.org>
parents:
diff changeset
1487 ## tested on?
Dave Love <fx@gnu.org>
parents:
diff changeset
1488 clipper-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1489 machine=clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1490 ## We'll use the catch-all code at the bottom to guess the
Dave Love <fx@gnu.org>
parents:
diff changeset
1491 ## operating system.
Dave Love <fx@gnu.org>
parents:
diff changeset
1492 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1493
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1494 ## Compaq Nonstop
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1495 mips-compaq-nonstopux* )
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1496 machine=nonstopux opsys=nonstopux
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1497 ;;
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1498
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1499 ## Convex
Dave Love <fx@gnu.org>
parents:
diff changeset
1500 *-convex-bsd* | *-convex-convexos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1501 machine=convex opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1502 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
Dave Love <fx@gnu.org>
parents:
diff changeset
1503 NON_GNU_CPP="cc -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1504 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1505
Dave Love <fx@gnu.org>
parents:
diff changeset
1506 ## Cubix QBx/386
Dave Love <fx@gnu.org>
parents:
diff changeset
1507 i[3456]86-cubix-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1508 machine=intel386 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1509 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1510
Dave Love <fx@gnu.org>
parents:
diff changeset
1511 ## Cydra 5
Dave Love <fx@gnu.org>
parents:
diff changeset
1512 cydra*-cydrome-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1513 machine=cydra5 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1514 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1515
Dave Love <fx@gnu.org>
parents:
diff changeset
1516 ## Data General AViiON Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1517 ## DG changed naming conventions with the release of 5.4.4.10, they
Dave Love <fx@gnu.org>
parents:
diff changeset
1518 ## dropped the initial 5.4 but left the intervening R. Because of the
Dave Love <fx@gnu.org>
parents:
diff changeset
1519 ## R this shouldn't conflict with older versions of the OS (which I
Dave Love <fx@gnu.org>
parents:
diff changeset
1520 ## think were named like dgux4.*). In addition, DG new AViiONs series
Dave Love <fx@gnu.org>
parents:
diff changeset
1521 ## uses either Motorola M88k or Intel Pentium CPUs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1522 m88k-dg-dguxR4.* | m88k-dg-dgux4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1523 machine=aviion opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1524 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1525 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1526 ## This name is dgux5-4-3 instead of dgux5-4r3
Dave Love <fx@gnu.org>
parents:
diff changeset
1527 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1528 machine=aviion opsys=dgux5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1529 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1530 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1531 machine=aviion opsys=dgux5-4r2
Dave Love <fx@gnu.org>
parents:
diff changeset
1532 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1533 m88k-dg-dgux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1534 machine=aviion opsys=dgux
Dave Love <fx@gnu.org>
parents:
diff changeset
1535 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1536
Dave Love <fx@gnu.org>
parents:
diff changeset
1537 ## Data General AViiON Intel (x86) Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1538 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
Dave Love <fx@gnu.org>
parents:
diff changeset
1539 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
Dave Love <fx@gnu.org>
parents:
diff changeset
1540 i[345]86-dg-dguxR4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1541 machine=aviion-intel opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1542 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1543
Dave Love <fx@gnu.org>
parents:
diff changeset
1544 ## DECstations
Dave Love <fx@gnu.org>
parents:
diff changeset
1545 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1546 machine=pmax opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1547 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1548 mips-dec-ultrix4.[12]* | mips-dec-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1549 machine=pmax opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1550 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1551 mips-dec-ultrix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1552 machine=pmax opsys=ultrix4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1553 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1554 mips-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1555 machine=pmax opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1556 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1557 mips-dec-mach_bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1558 machine=pmax opsys=mach-bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1559 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1560
Dave Love <fx@gnu.org>
parents:
diff changeset
1561 ## Motorola Delta machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1562 m68k-motorola-sysv* | m68000-motorola-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1563 machine=delta opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1564 if test -z "`type gnucc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1565 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1566 if test -s /etc/167config
Dave Love <fx@gnu.org>
parents:
diff changeset
1567 then CC="gnucc -m68040"
Dave Love <fx@gnu.org>
parents:
diff changeset
1568 else CC="gnucc -m68881"
Dave Love <fx@gnu.org>
parents:
diff changeset
1569 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1570 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1571 if test -z "`type gcc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1572 then CC=gcc
Dave Love <fx@gnu.org>
parents:
diff changeset
1573 else CC=cc
Dave Love <fx@gnu.org>
parents:
diff changeset
1574 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1575 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1576 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1577 m88k-motorola-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1578 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
Dave Love <fx@gnu.org>
parents:
diff changeset
1579 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
Dave Love <fx@gnu.org>
parents:
diff changeset
1580 # I hope there are not other 4.0 versions for this machine
Dave Love <fx@gnu.org>
parents:
diff changeset
1581 # which really need usg5-4 instead.
Dave Love <fx@gnu.org>
parents:
diff changeset
1582 machine=delta88k opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1583 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1584 m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1585 machine=delta88k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1586 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1587
Dave Love <fx@gnu.org>
parents:
diff changeset
1588 ## Dual machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1589 m68*-dual-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1590 machine=dual opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1591 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1592 m68*-dual-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1593 machine=dual opsys=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1594 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1595
Dave Love <fx@gnu.org>
parents:
diff changeset
1596 ## Elxsi 6400
Dave Love <fx@gnu.org>
parents:
diff changeset
1597 elxsi-elxsi-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1598 machine=elxsi opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1599 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1600
Dave Love <fx@gnu.org>
parents:
diff changeset
1601 ## Encore machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1602 ns16k-encore-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1603 machine=ns16000 opsys=umax
Dave Love <fx@gnu.org>
parents:
diff changeset
1604 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1605
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1606 ## The GEC 63 - apparently, this port isn't really finished yet.
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1607 # I'm sure we finished off the last of the machines, though. -- fx
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1608
Dave Love <fx@gnu.org>
parents:
diff changeset
1609 ## Gould Power Node and NP1
Dave Love <fx@gnu.org>
parents:
diff changeset
1610 pn-gould-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1611 machine=gould opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1612 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1613 pn-gould-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1614 machine=gould opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1615 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1616 np1-gould-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1617 machine=gould-np1 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1618 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1619
Dave Love <fx@gnu.org>
parents:
diff changeset
1620 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
Dave Love <fx@gnu.org>
parents:
diff changeset
1621 ## as far as Emacs is concerned).
Dave Love <fx@gnu.org>
parents:
diff changeset
1622 m88k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1623 # Build needs to be different on 7.0 and later releases
Dave Love <fx@gnu.org>
parents:
diff changeset
1624 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1625 [56].[0-9] ) machine=nh4000 opsys=cxux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1626 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1627 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1628 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
1629 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1630 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1631 m68k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1632 machine=nh3000 opsys=cxux
Dave Love <fx@gnu.org>
parents:
diff changeset
1633 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1634 ## Harris power pc NightHawk running Power UNIX (Series 6000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1635 powerpc-harris-powerunix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1636 machine=nh6000 opsys=powerunix
Dave Love <fx@gnu.org>
parents:
diff changeset
1637 NON_GNU_CPP="cc -Xo -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1638 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1639 ## SR2001/SR2201 running HI-UX/MPP
Dave Love <fx@gnu.org>
parents:
diff changeset
1640 hppa1.1-hitachi-hiuxmpp* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1641 machine=sr2k opsys=hiuxmpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1642 ;;
38811
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1643 hppa1.1-hitachi-hiuxwe2* )
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1644 machine=sr2k opsys=hiuxwe2
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1645 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1646 ## Honeywell XPS100
Dave Love <fx@gnu.org>
parents:
diff changeset
1647 xps*-honeywell-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1648 machine=xps100 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1649 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1650
Dave Love <fx@gnu.org>
parents:
diff changeset
1651 ## HP 9000 series 200 or 300
Dave Love <fx@gnu.org>
parents:
diff changeset
1652 m68*-hp-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1653 machine=hp9000s300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1654 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1655 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1656 m68*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1657 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1658 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1659 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1660 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1661 *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1662 *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1663 *.1[0-9].* ) machine=hp9000s300 opsys=hpux9shr ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1664 *) machine=hp9000s300 opsys=hpux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1665 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1666 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1667
Dave Love <fx@gnu.org>
parents:
diff changeset
1668 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1669 hppa*-hp-hpux7* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1670 machine=hp800 opsys=hpux
Dave Love <fx@gnu.org>
parents:
diff changeset
1671 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1672 hppa*-hp-hpux8* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1673 machine=hp800 opsys=hpux8
Dave Love <fx@gnu.org>
parents:
diff changeset
1674 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1675 hppa*-hp-hpux9shr* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1676 machine=hp800 opsys=hpux9shr
Dave Love <fx@gnu.org>
parents:
diff changeset
1677 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1678 hppa*-hp-hpux9* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1679 machine=hp800 opsys=hpux9
Dave Love <fx@gnu.org>
parents:
diff changeset
1680 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1681 hppa*-hp-hpux10* )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1682 machine=hp800 opsys=hpux10
Dave Love <fx@gnu.org>
parents:
diff changeset
1683 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1684 hppa*-hp-hpux1[1-9]* )
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1685 machine=hp800 opsys=hpux11
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1686 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1687
41960
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1688 hppa*-*-linux-gnu* )
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1689 machine=hp800 opsys=gnu-linux
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1690 ;;
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1691
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1692 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1693 hppa*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1694 ## Cross-compilation? Nah!
Dave Love <fx@gnu.org>
parents:
diff changeset
1695 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1696 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1697 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1698 *.B8.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1699 *.08.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1700 *.09.* ) machine=hp800 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1701 *) machine=hp800 opsys=hpux10 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1702 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1703 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1704 hppa*-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1705 machine=hp800 opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
1706 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1707
Dave Love <fx@gnu.org>
parents:
diff changeset
1708 ## Orion machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1709 orion-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1710 machine=orion opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1711 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1712 clipper-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1713 machine=orion105 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1714 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1715
Dave Love <fx@gnu.org>
parents:
diff changeset
1716 ## IBM machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1717 i[3456]86-ibm-aix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1718 machine=ibmps2-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1719 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1720 i[3456]86-ibm-aix1.[23]* | i[3456]86-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1721 machine=ibmps2-aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1722 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1723 i370-ibm-aix*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1724 machine=ibm370aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1725 ;;
40426
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1726 s390-*-linux-gnu)
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1727 machine=ibms390 opsys=gnu-linux
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1728 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1729 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1730 machine=ibmrs6000 opsys=aix3-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1731 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1732 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1733 machine=ibmrs6000 opsys=aix3-2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1734 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1735 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1736 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1737 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1738 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1739 machine=ibmrs6000 opsys=aix4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1740 ;;
43924
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1741 rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* )
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1742 machine=ibmrs6000 opsys=aix4-2
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1743 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1744 rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1745 machine=ibmrs6000 opsys=aix4
Dave Love <fx@gnu.org>
parents:
diff changeset
1746 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1747 rs6000-ibm-aix4* | powerpc-ibm-aix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1748 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1749 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1750 rs6000-ibm-aix* | powerpc-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1751 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1752 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1753 romp-ibm-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1754 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1755 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1756 romp-ibm-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1757 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1758 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1759 romp-ibm-aos4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1760 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1761 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1762 romp-ibm-aos4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1763 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1764 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1765 romp-ibm-aos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1766 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1767 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1768 romp-ibm-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1769 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1770 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1771 romp-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1772 machine=ibmrt-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1773 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1774
Dave Love <fx@gnu.org>
parents:
diff changeset
1775 ## Integrated Solutions `Optimum V'
Dave Love <fx@gnu.org>
parents:
diff changeset
1776 m68*-isi-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1777 machine=isi-ov opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1778 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1779 m68*-isi-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1780 machine=isi-ov opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1781 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1782
Dave Love <fx@gnu.org>
parents:
diff changeset
1783 ## Intel 386 machines where we do care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
1784 i[3456]86-intsys-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1785 machine=is386 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1786 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1787
Dave Love <fx@gnu.org>
parents:
diff changeset
1788 ## Prime EXL
Dave Love <fx@gnu.org>
parents:
diff changeset
1789 i[3456]86-prime-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1790 machine=i386 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1791 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1792
Dave Love <fx@gnu.org>
parents:
diff changeset
1793 ## Sequent Symmetry running Dynix
Dave Love <fx@gnu.org>
parents:
diff changeset
1794 i[3456]86-sequent-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1795 machine=symmetry opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1796 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1797
Dave Love <fx@gnu.org>
parents:
diff changeset
1798 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
Dave Love <fx@gnu.org>
parents:
diff changeset
1799 i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1800 machine=sequent-ptx opsys=ptx4
Dave Love <fx@gnu.org>
parents:
diff changeset
1801 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1802 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1803
Dave Love <fx@gnu.org>
parents:
diff changeset
1804 ## Sequent Symmetry running DYNIX/ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
1805 ## Use the old cpp rather than the newer ANSI one.
Dave Love <fx@gnu.org>
parents:
diff changeset
1806 i[3456]86-sequent-ptx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1807 machine=sequent-ptx opsys=ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
1808 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
1809 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1810
Dave Love <fx@gnu.org>
parents:
diff changeset
1811 ## ncr machine running svr4.3.
Dave Love <fx@gnu.org>
parents:
diff changeset
1812 i[3456]86-ncr-sysv4.3 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1813 machine=ncr386 opsys=usg5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1814 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1815
Dave Love <fx@gnu.org>
parents:
diff changeset
1816 ## Unspecified sysv on an ncr machine defaults to svr4.2.
Dave Love <fx@gnu.org>
parents:
diff changeset
1817 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
Dave Love <fx@gnu.org>
parents:
diff changeset
1818 i[3456]86-ncr-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1819 machine=ncr386 opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1820 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1821
Dave Love <fx@gnu.org>
parents:
diff changeset
1822 ## Intel Paragon OSF/1
Dave Love <fx@gnu.org>
parents:
diff changeset
1823 i860-intel-osf1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1824 machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1825 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1826
Dave Love <fx@gnu.org>
parents:
diff changeset
1827 ## Intel 860
Dave Love <fx@gnu.org>
parents:
diff changeset
1828 i860-*-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1829 machine=i860 opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
1830 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc.
Dave Love <fx@gnu.org>
parents:
diff changeset
1831 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
Dave Love <fx@gnu.org>
parents:
diff changeset
1832 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1833
28748
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1834 ## Macintosh PowerPC
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1835 powerpc*-*-linux-gnu* )
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1836 machine=macppc opsys=gnu-linux
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1837 ;;
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1838
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1839 ## Masscomp machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1840 m68*-masscomp-rtu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1841 machine=masscomp opsys=rtu
Dave Love <fx@gnu.org>
parents:
diff changeset
1842 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1843
Dave Love <fx@gnu.org>
parents:
diff changeset
1844 ## Megatest machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1845 m68*-megatest-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1846 machine=mega68 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1847 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1848
Dave Love <fx@gnu.org>
parents:
diff changeset
1849 ## Workstations sold by MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
1850 ## This is not necessarily all workstations using the MIPS processor -
Dave Love <fx@gnu.org>
parents:
diff changeset
1851 ## Irises are produced by SGI, and DECstations by DEC.
Dave Love <fx@gnu.org>
parents:
diff changeset
1852
Dave Love <fx@gnu.org>
parents:
diff changeset
1853 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
Dave Love <fx@gnu.org>
parents:
diff changeset
1854 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
Dave Love <fx@gnu.org>
parents:
diff changeset
1855 ## it gives for choosing between the alternatives seems to be "Use
Dave Love <fx@gnu.org>
parents:
diff changeset
1856 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
Dave Love <fx@gnu.org>
parents:
diff changeset
1857 ## the BSD world." I'll assume that these are instructions for
Dave Love <fx@gnu.org>
parents:
diff changeset
1858 ## handling two odd situations, and that every other situation
Dave Love <fx@gnu.org>
parents:
diff changeset
1859 ## should use mips.h and usg5-2-2, they being listed first.
Dave Love <fx@gnu.org>
parents:
diff changeset
1860 mips-mips-usg* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1861 machine=mips4
Dave Love <fx@gnu.org>
parents:
diff changeset
1862 ## Fall through to the general code at the bottom to decide on the OS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1863 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1864 mips-mips-riscos4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1865 machine=mips4 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1866 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
1867 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
1868 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1869 mips-mips-riscos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1870 machine=mips4 opsys=riscos5
Dave Love <fx@gnu.org>
parents:
diff changeset
1871 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
1872 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
1873 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1874 mips-mips-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1875 machine=mips opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1876 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1877 mips-mips-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1878 machine=mips opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1879 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1880
Dave Love <fx@gnu.org>
parents:
diff changeset
1881 ## NeXT
Dave Love <fx@gnu.org>
parents:
diff changeset
1882 m68*-next-* | m68k-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1883 machine=m68k opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
1884 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1885
Dave Love <fx@gnu.org>
parents:
diff changeset
1886 ## The complete machine from National Semiconductor
Dave Love <fx@gnu.org>
parents:
diff changeset
1887 ns32k-ns-genix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1888 machine=ns32000 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1889 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1890
Dave Love <fx@gnu.org>
parents:
diff changeset
1891 ## NCR machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1892 m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1893 machine=tower32 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1894 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1895 m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1896 machine=tower32v3 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1897 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1898
Dave Love <fx@gnu.org>
parents:
diff changeset
1899 ## NEC EWS4800
Dave Love <fx@gnu.org>
parents:
diff changeset
1900 mips-nec-sysv4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1901 machine=ews4800 opsys=ux4800
Dave Love <fx@gnu.org>
parents:
diff changeset
1902 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1903
Dave Love <fx@gnu.org>
parents:
diff changeset
1904 ## Nixdorf Targon 31
Dave Love <fx@gnu.org>
parents:
diff changeset
1905 m68*-nixdorf-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1906 machine=targon31 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1907 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1908
Dave Love <fx@gnu.org>
parents:
diff changeset
1909 ## Nu (TI or LMI)
Dave Love <fx@gnu.org>
parents:
diff changeset
1910 m68*-nu-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1911 machine=nu opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1912 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1913
Dave Love <fx@gnu.org>
parents:
diff changeset
1914 ## Plexus
Dave Love <fx@gnu.org>
parents:
diff changeset
1915 m68*-plexus-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1916 machine=plexus opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1917 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1918
Dave Love <fx@gnu.org>
parents:
diff changeset
1919 ## PowerPC reference platform
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1920 powerpcle-*-solaris2.5* )
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1921 machine=prep
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1922 opsys=sol2-5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1923 ;;
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1924
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1925 ## PowerPC reference platform
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1926 powerpcle-*-solaris2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1927 machine=prep
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
1928 opsys=sol2-6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1929 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1930
Dave Love <fx@gnu.org>
parents:
diff changeset
1931 ## Pyramid machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1932 ## I don't really have any idea what sort of processor the Pyramid has,
Dave Love <fx@gnu.org>
parents:
diff changeset
1933 ## so I'm assuming it is its own architecture.
Dave Love <fx@gnu.org>
parents:
diff changeset
1934 pyramid-pyramid-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1935 machine=pyramid opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1936 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1937
Dave Love <fx@gnu.org>
parents:
diff changeset
1938 ## Sequent Balance
Dave Love <fx@gnu.org>
parents:
diff changeset
1939 ns32k-sequent-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1940 machine=sequent opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1941 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1942 ns32k-sequent-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1943 machine=sequent opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1944 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1945
Dave Love <fx@gnu.org>
parents:
diff changeset
1946 ## Siemens Nixdorf
Dave Love <fx@gnu.org>
parents:
diff changeset
1947 mips-siemens-sysv* | mips-sni-sysv*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1948 machine=mips-siemens opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
1949 NON_GNU_CC=/usr/ccs/bin/cc
Dave Love <fx@gnu.org>
parents:
diff changeset
1950 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1951 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1952
Dave Love <fx@gnu.org>
parents:
diff changeset
1953 ## Silicon Graphics machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1954 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
Dave Love <fx@gnu.org>
parents:
diff changeset
1955 m68*-sgi-iris3.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1956 machine=irist opsys=iris3-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1957 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1958 m68*-sgi-iris3.6* | m68*-sgi-iris*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1959 machine=irist opsys=iris3-6
Dave Love <fx@gnu.org>
parents:
diff changeset
1960 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1961 ## Iris 4D
Dave Love <fx@gnu.org>
parents:
diff changeset
1962 mips-sgi-irix3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1963 machine=iris4d opsys=irix3-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1964 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1965 mips-sgi-irix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1966 machine=iris4d opsys=irix4-0
Dave Love <fx@gnu.org>
parents:
diff changeset
1967 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1968 mips-sgi-irix6.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1969 machine=iris4d opsys=irix6-5
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1970 # Without defining _LANGUAGE_C, things get masked out in the headers
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1971 # so that, for instance, grepping for `free' in stdlib.h fails and
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1972 # AC_HEADER_STD_C fails. (MIPSPro 7.2.1.2m compilers, Irix 6.5.3m).
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1973 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
1974 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1975 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1976 mips-sgi-irix6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1977 machine=iris4d opsys=irix6-0
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1978 # It's not clear whether -D_LANGUAGE_C is necessary as it is for 6.5,
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1979 # but presumably it does no harm.
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1980 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
1981 # -32 probably isn't necessary in later v.6s -- anyone know which?
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1982 NON_GCC_TEST_OPTIONS=-32
Dave Love <fx@gnu.org>
parents:
diff changeset
1983 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1984 mips-sgi-irix5.[01]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1985 machine=iris4d opsys=irix5-0
Dave Love <fx@gnu.org>
parents:
diff changeset
1986 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1987 mips-sgi-irix5* | mips-sgi-irix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1988 machine=iris4d opsys=irix5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1989 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1990
Dave Love <fx@gnu.org>
parents:
diff changeset
1991 ## SONY machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1992 m68*-sony-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1993 machine=news opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1994 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1995 m68*-sony-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1996 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1997 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1998 m68*-sony-newsos3* | m68*-sony-news3*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1999 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2001 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2002 machine=news-risc opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2003 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2004 mips-sony-newsos6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2005 machine=news-r6 opsys=newsos6
Dave Love <fx@gnu.org>
parents:
diff changeset
2006 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2007 mips-sony-news* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2008 machine=news-risc opsys=newsos5
Dave Love <fx@gnu.org>
parents:
diff changeset
2009 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2010
Dave Love <fx@gnu.org>
parents:
diff changeset
2011 ## Stride
Dave Love <fx@gnu.org>
parents:
diff changeset
2012 m68*-stride-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2013 machine=stride opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2014 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2015
Dave Love <fx@gnu.org>
parents:
diff changeset
2016 ## Suns
Dave Love <fx@gnu.org>
parents:
diff changeset
2017 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2018 machine=sparc opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2019 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2020
27949
e06c6af9d981 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27927
diff changeset
2021 *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2022 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \
Dave Love <fx@gnu.org>
parents:
diff changeset
2023 | rs6000-*-solaris2*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2024 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2025 m68*-sunos1* ) machine=sun1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2026 m68*-sunos2* ) machine=sun2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2027 m68* ) machine=sun3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2028 i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2029 i[3456]86-*-* ) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2030 powerpcle* ) machine=powerpcle ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2031 powerpc* | rs6000* ) machine=ibmrs6000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2032 sparc* ) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2033 * ) unported=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2034 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2035 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2036 ## The Sun386 didn't get past 4.0.
Dave Love <fx@gnu.org>
parents:
diff changeset
2037 i[3456]86-*-sunos4 ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2038 *-sunos4.0* ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2039 *-sunos4.1.[3-9]*noshare )
Dave Love <fx@gnu.org>
parents:
diff changeset
2040 ## This name is sunos413 instead of sunos4-1-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2041 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
2042 opsys=sunos413
Dave Love <fx@gnu.org>
parents:
diff changeset
2043 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2044 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2045 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2046 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2047 *-sunos4.1.[3-9]* | *-sunos4shr*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2048 opsys=sunos4shr
Dave Love <fx@gnu.org>
parents:
diff changeset
2049 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2050 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2051 *-sunos4* | *-sunos )
Dave Love <fx@gnu.org>
parents:
diff changeset
2052 opsys=sunos4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2053 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2054 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2055 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2056 *-sunos5.3* | *-solaris2.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2057 opsys=sol2-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2058 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2059 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2060 *-sunos5.4* | *-solaris2.4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2061 opsys=sol2-4
Dave Love <fx@gnu.org>
parents:
diff changeset
2062 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2063 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2064 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2065 *-sunos5.5* | *-solaris2.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2066 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2067 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2068 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2069 ;;
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2070 *-sunos5.6* | *-solaris2.6* )
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2071 opsys=sol2-6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2072 NON_GNU_CPP=/usr/ccs/lib/cpp
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2073 RANLIB="ar -ts"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2074 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2075 *-sunos5* | *-solaris* )
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2076 opsys=sol2-6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2077 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2078 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2079 * ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2080 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2081 ## Watch out for a compiler that we know will not work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2082 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2083 *-solaris* | *-sunos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2084 if [ "x$CC" = x/usr/ucb/cc ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2085 ## /usr/ucb/cc doesn't work;
Dave Love <fx@gnu.org>
parents:
diff changeset
2086 ## we should find some other compiler that does work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2087 unset CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2088 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2089 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2090 *) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2091 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2092 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2093 sparc-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2094 machine=sparc opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
2095 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2096
Dave Love <fx@gnu.org>
parents:
diff changeset
2097 ## Tadpole 68k
Dave Love <fx@gnu.org>
parents:
diff changeset
2098 m68*-tadpole-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2099 machine=tad68k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2100 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2101
Dave Love <fx@gnu.org>
parents:
diff changeset
2102 ## Tahoe machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2103 tahoe-tahoe-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2104 machine=tahoe opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2105 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2106 tahoe-tahoe-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2107 machine=tahoe opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2108 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2109
Dave Love <fx@gnu.org>
parents:
diff changeset
2110 ## Tandem Integrity S2
Dave Love <fx@gnu.org>
parents:
diff changeset
2111 mips-tandem-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2112 machine=tandem-s2 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2113 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2114
Dave Love <fx@gnu.org>
parents:
diff changeset
2115 ## Tektronix XD88
Dave Love <fx@gnu.org>
parents:
diff changeset
2116 m88k-tektronix-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2117 machine=tekxd88 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2118 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2119
Dave Love <fx@gnu.org>
parents:
diff changeset
2120 ## Tektronix 16000 box (6130?)
Dave Love <fx@gnu.org>
parents:
diff changeset
2121 ns16k-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2122 machine=ns16000 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2123 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2124 ## Tektronix 4300
Dave Love <fx@gnu.org>
parents:
diff changeset
2125 ## src/m/tek4300.h hints that this is a m68k machine.
Dave Love <fx@gnu.org>
parents:
diff changeset
2126 m68*-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2127 machine=tek4300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2128 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2129
Dave Love <fx@gnu.org>
parents:
diff changeset
2130 ## Titan P2 or P3
Dave Love <fx@gnu.org>
parents:
diff changeset
2131 ## We seem to have lost the machine-description file titan.h!
Dave Love <fx@gnu.org>
parents:
diff changeset
2132 titan-titan-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2133 machine=titan opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2134 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2135
Dave Love <fx@gnu.org>
parents:
diff changeset
2136 ## Ustation E30 (SS5E)
Dave Love <fx@gnu.org>
parents:
diff changeset
2137 m68*-unisys-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2138 machine=ustation opsystem=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2139 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2140
Dave Love <fx@gnu.org>
parents:
diff changeset
2141 ## Vaxen.
Dave Love <fx@gnu.org>
parents:
diff changeset
2142 vax-dec-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2143 machine=vax
Dave Love <fx@gnu.org>
parents:
diff changeset
2144 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2145 *-bsd4.1* ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2146 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2147 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2148 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2149 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2150 *-vms* ) opsys=vms ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2151 * ) unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2152 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2153 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2154
Dave Love <fx@gnu.org>
parents:
diff changeset
2155 ## Whitechapel MG1
Dave Love <fx@gnu.org>
parents:
diff changeset
2156 ns16k-whitechapel-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2157 machine=mg1
Dave Love <fx@gnu.org>
parents:
diff changeset
2158 ## We don't know what sort of OS runs on these; we'll let the
Dave Love <fx@gnu.org>
parents:
diff changeset
2159 ## operating system guessing code below try.
Dave Love <fx@gnu.org>
parents:
diff changeset
2160 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2161
Dave Love <fx@gnu.org>
parents:
diff changeset
2162 ## Wicat
Dave Love <fx@gnu.org>
parents:
diff changeset
2163 m68*-wicat-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2164 machine=wicat opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2165 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2166
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2167 ## IA-64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2168 ia64*-*-linux* )
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2169 machine=ia64 opsys=gnu-linux
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2170 ;;
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2171
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2172 ## Intel 386 machines where we don't care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
2173 i[3456]86-*-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2174 machine=intel386
Dave Love <fx@gnu.org>
parents:
diff changeset
2175 case "${canonical}" in
29654
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29388
diff changeset
2176 *-lynxos* ) opsys=lynxos ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2177 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2178 *-isc2.2* ) opsys=isc2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2179 *-isc4.0* ) opsys=isc4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2180 *-isc4.* ) opsys=isc4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2181 GCC_TEST_OPTIONS=-posix
Dave Love <fx@gnu.org>
parents:
diff changeset
2182 NON_GCC_TEST_OPTIONS=-Xp
Dave Love <fx@gnu.org>
parents:
diff changeset
2183 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2184 *-isc* ) opsys=isc3-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2185 *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2186 *-esix* ) opsys=esix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2187 *-xenix* ) opsys=xenix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2188 *-linux-gnu* ) opsys=gnu-linux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2189 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2190 *-sco3.2v5* ) opsys=sco5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2191 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2192 # Prevent -belf from being passed to $CPP.
Dave Love <fx@gnu.org>
parents:
diff changeset
2193 # /lib/cpp does not accept it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2194 OVERRIDE_CPPFLAGS=" "
Dave Love <fx@gnu.org>
parents:
diff changeset
2195 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2196 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2197 *-386bsd* ) opsys=386bsd ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2198 *-nextstep* ) opsys=nextstep ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2199 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
Dave Love <fx@gnu.org>
parents:
diff changeset
2200 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2201 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2202
Dave Love <fx@gnu.org>
parents:
diff changeset
2203 ## m68k Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2204 m68k-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2205 machine=m68k opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2206 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2207
Dave Love <fx@gnu.org>
parents:
diff changeset
2208 ## Mips Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2209 mips-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2210 machine=mips opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2211 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2212
Dave Love <fx@gnu.org>
parents:
diff changeset
2213 ## UXP/DS
Dave Love <fx@gnu.org>
parents:
diff changeset
2214 sparc-fujitsu-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2215 machine=sparc opsys=uxpds
Dave Love <fx@gnu.org>
parents:
diff changeset
2216 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2217 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2218 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2219
Dave Love <fx@gnu.org>
parents:
diff changeset
2220 ## UXP/V
Dave Love <fx@gnu.org>
parents:
diff changeset
2221 f301-fujitsu-uxpv4.1)
Dave Love <fx@gnu.org>
parents:
diff changeset
2222 machine=f301 opsys=uxpv
Dave Love <fx@gnu.org>
parents:
diff changeset
2223 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2224
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2225 ## Darwin / Mac OS X
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2226 powerpc-apple-darwin* )
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2227 machine=powermac opsys=darwin
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2228 # Define CPP as follows to make autoconf work correctly.
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2229 CPP="cc -E -traditional-cpp"
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2230 ;;
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2231
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2232 ## AMD x86-64 Linux-based GNU system
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2233 x86_64-*-linux-gnu* )
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
2234 machine=amdx86-64 opsys=gnu-linux
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2235 ;;
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2236
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2237 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2238 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2239 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2240 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2241
Dave Love <fx@gnu.org>
parents:
diff changeset
2242 ### If the code above didn't choose an operating system, just choose
Dave Love <fx@gnu.org>
parents:
diff changeset
2243 ### an operating system based on the configuration name. You really
Dave Love <fx@gnu.org>
parents:
diff changeset
2244 ### only want to use this when you have no idea what the right
Dave Love <fx@gnu.org>
parents:
diff changeset
2245 ### operating system is; if you know what operating systems a machine
Dave Love <fx@gnu.org>
parents:
diff changeset
2246 ### runs, it's cleaner to make it explicit in the case statement
Dave Love <fx@gnu.org>
parents:
diff changeset
2247 ### above.
Dave Love <fx@gnu.org>
parents:
diff changeset
2248 if test x"${opsys}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2249 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2250 *-gnu* ) opsys=gnu ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2251 *-bsd4.[01] ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2252 *-bsd4.2 ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2253 *-bsd4.3 ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2254 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2255 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2256 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2257 *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2258 *-sysv4.2uw* ) opsys=unixware ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2259 *-sysv4.1* | *-sysvr4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2260 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2261 opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2262 *-sysv4.[2-9]* | *-sysvr4.[2-9]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2263 if [ x$NON_GNU_CPP = x ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2264 if [ -f /usr/ccs/lib/cpp ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2265 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2266 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2267 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2268 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2269 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2270 opsys=usg5-4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2271 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2272 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2273 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2274 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2275 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2276 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2277
Dave Love <fx@gnu.org>
parents:
diff changeset
2278 if test $unported = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2279 { { echo "$as_me:2279: error: Emacs hasn't been ported to \`${canonical}' systems.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2280 Check \`etc/MACHINES' for recognized configuration names." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2281 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2282 Check \`etc/MACHINES' for recognized configuration names." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2283 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2284 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2285
Dave Love <fx@gnu.org>
parents:
diff changeset
2286 machfile="m/${machine}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2287 opsysfile="s/${opsys}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2288
Dave Love <fx@gnu.org>
parents:
diff changeset
2289 #### Choose a compiler.
Dave Love <fx@gnu.org>
parents:
diff changeset
2290 test -n "$CC" && cc_specified=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2291
Dave Love <fx@gnu.org>
parents:
diff changeset
2292 # Save the value of CFLAGS that the user specified.
Dave Love <fx@gnu.org>
parents:
diff changeset
2293 SPECIFIED_CFLAGS="$CFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
2294
Dave Love <fx@gnu.org>
parents:
diff changeset
2295 case ${with_gcc} in
Dave Love <fx@gnu.org>
parents:
diff changeset
2296 "yes" ) CC="gcc" GCC=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2297 "no" ) : ${CC=cc} ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2298 * )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2299 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2300 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2301 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2305 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2306 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2308 echo "$as_me:2308: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2310 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2312 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2313 if test -n "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2314 ac_cv_prog_CC="$CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2315 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2316 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2317 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2318 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2319 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2320 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2321 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2322 ac_cv_prog_CC="${ac_tool_prefix}gcc"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2323 echo "$as_me:2323: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2324 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2325 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2326
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2327 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2328 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2329 CC=$ac_cv_prog_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2330 if test -n "$CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2331 echo "$as_me:2331: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2332 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2333 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2334 echo "$as_me:2334: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2335 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2336 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2337
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2338 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2339 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2340 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2341 # Extract the first word of "gcc", so it can be a program name with args.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2342 set dummy gcc; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2343 echo "$as_me:2343: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2345 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2347 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2348 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2350 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2351 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2352 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2353 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2354 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2355 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2356 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2357 ac_cv_prog_ac_ct_CC="gcc"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2358 echo "$as_me:2358: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2359 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2360 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2361
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2362 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2363 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2365 if test -n "$ac_ct_CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2366 echo "$as_me:2366: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2367 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2368 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2369 echo "$as_me:2369: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2370 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2371 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2372
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2373 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2374 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2375 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2376 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2377
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2378 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2379 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2381 set dummy ${ac_tool_prefix}cc; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2382 echo "$as_me:2382: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2384 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2385 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2386 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2387 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2389 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2390 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2391 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2392 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2393 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2394 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2395 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2396 ac_cv_prog_CC="${ac_tool_prefix}cc"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2397 echo "$as_me:2397: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2398 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2399 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2400
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2401 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2402 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2403 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2404 if test -n "$CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2405 echo "$as_me:2405: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2406 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2407 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2408 echo "$as_me:2408: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2409 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2410 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2411
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2412 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2413 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2414 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2415 # Extract the first word of "cc", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2416 set dummy cc; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2417 echo "$as_me:2417: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2419 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2421 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2422 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2423 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2424 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2425 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2426 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2427 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2428 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2429 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2430 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2431 ac_cv_prog_ac_ct_CC="cc"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2432 echo "$as_me:2432: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2433 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2434 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2435
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2436 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2437 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2438 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2439 if test -n "$ac_ct_CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2440 echo "$as_me:2440: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2441 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2442 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2443 echo "$as_me:2443: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2444 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2445 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2446
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2447 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2448 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2449 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2450 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2451
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2452 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2453 if test -z "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2454 # Extract the first word of "cc", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
2455 set dummy cc; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2456 echo "$as_me:2456: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2458 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2459 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2460 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2461 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2462 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2463 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2464 ac_prog_rejected=no
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2465 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2466 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2467 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2468 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2469 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2470 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2471 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2472 ac_prog_rejected=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2473 continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2474 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2475 ac_cv_prog_CC="cc"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2476 echo "$as_me:2476: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2477 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2478 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2479
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2480 if test $ac_prog_rejected = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2481 # We found a bogon in the path, so make sure we never use it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2482 set dummy $ac_cv_prog_CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2483 shift
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2484 if test $# != 0; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2485 # We chose a different compiler from the bogus one.
Dave Love <fx@gnu.org>
parents:
diff changeset
2486 # However, it has the same basename, so the bogon will be chosen
Dave Love <fx@gnu.org>
parents:
diff changeset
2487 # first if we set CC to just the basename; use the full file name.
Dave Love <fx@gnu.org>
parents:
diff changeset
2488 shift
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2489 set dummy "$ac_dir/$ac_word" ${1+"$@"}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2490 shift
Dave Love <fx@gnu.org>
parents:
diff changeset
2491 ac_cv_prog_CC="$@"
Dave Love <fx@gnu.org>
parents:
diff changeset
2492 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2493 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2494 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2495 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2496 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2497 if test -n "$CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2498 echo "$as_me:2498: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2499 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2500 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2501 echo "$as_me:2501: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2502 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2503 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2504
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2505 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2506 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2507 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2508 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2509 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2510 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2511 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2512 echo "$as_me:2512: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2514 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2516 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2517 if test -n "$CC"; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2518 ac_cv_prog_CC="$CC" # Let the user override the test.
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2519 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2520 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2521 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2522 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2523 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2524 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2525 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2526 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2527 echo "$as_me:2527: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2528 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2529 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2530
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2531 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2532 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2533 CC=$ac_cv_prog_CC
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2534 if test -n "$CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2535 echo "$as_me:2535: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2536 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2537 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2538 echo "$as_me:2538: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2539 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2540 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2541
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2542 test -n "$CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2543 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2544 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2545 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2546 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2547 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2548 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2549 # Extract the first word of "$ac_prog", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2550 set dummy $ac_prog; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2551 echo "$as_me:2551: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2555 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2556 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2558 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2559 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2560 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2561 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2562 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2563 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2564 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2565 ac_cv_prog_ac_ct_CC="$ac_prog"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2566 echo "$as_me:2566: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2567 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2568 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2569
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2570 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2571 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2573 if test -n "$ac_ct_CC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2574 echo "$as_me:2574: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2575 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2576 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2577 echo "$as_me:2577: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2578 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2579 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2580
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2581 test -n "$ac_ct_CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2582 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2583
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2584 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2585 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2586
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2587 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2588
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2589 test -z "$CC" && { { echo "$as_me:2589: error: no acceptable cc found in \$PATH" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2590 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2591 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2592
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2593 # Provide some information about the compiler.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2594 echo "$as_me:2594:" \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2595 "checking for C compiler version" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2596 ac_compiler=`set X $ac_compile; echo $2`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2597 { (eval echo "$as_me:2597: \"$ac_compiler --version </dev/null >&5\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2598 (eval $ac_compiler --version </dev/null >&5) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2599 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2600 echo "$as_me:2600: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2601 (exit $ac_status); }
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2602 { (eval echo "$as_me:2602: \"$ac_compiler -v </dev/null >&5\"") >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2603 (eval $ac_compiler -v </dev/null >&5) 2>&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2604 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2605 echo "$as_me:2605: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2606 (exit $ac_status); }
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2607 { (eval echo "$as_me:2607: \"$ac_compiler -V </dev/null >&5\"") >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2608 (eval $ac_compiler -V </dev/null >&5) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2609 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2610 echo "$as_me:2610: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2611 (exit $ac_status); }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2612
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2613 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2614 #line 2614 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2615 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2616
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2617 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2618 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2619 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2620
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2621 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2622 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2623 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2624 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2625 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2626 ac_clean_files="$ac_clean_files a.out a.exe"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2627 # Try to create an executable without -o first, disregard a.out.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2628 # It will help us diagnose broken compilers, and finding out an intuition
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2629 # of exeext.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2630 echo "$as_me:2630: checking for C compiler default output" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2631 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2632 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2633 if { (eval echo "$as_me:2633: \"$ac_link_default\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2634 (eval $ac_link_default) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2635 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2636 echo "$as_me:2636: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2637 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2638 # Find the output, starting from the most likely. This scheme is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2639 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2640 # resort.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2641 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2642 ls a.out conftest 2>/dev/null;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2643 ls a.* conftest.* 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2644 case $ac_file in
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2645 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2646 a.out ) # We found the default executable, but exeext='' is most
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2647 # certainly right.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2648 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2649 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2650 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2651 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2652 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2653 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2654 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2655 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2656 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2657 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2658 cat conftest.$ac_ext >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2659 { { echo "$as_me:2659: error: C compiler cannot create executables" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2660 echo "$as_me: error: C compiler cannot create executables" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2661 { (exit 77); exit 77; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2662 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2663
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2664 ac_exeext=$ac_cv_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2665 echo "$as_me:2665: result: $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2666 echo "${ECHO_T}$ac_file" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2667
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2668 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2669 # the compiler is broken, or we cross compile.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2670 echo "$as_me:2670: checking whether the C compiler works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2671 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2672 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2673 # If not cross compiling, check that we can run a simple program.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2674 if test "$cross_compiling" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2675 if { ac_try='./$ac_file'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2676 { (eval echo "$as_me:2676: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2677 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2678 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2679 echo "$as_me:2679: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2680 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2681 cross_compiling=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2682 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2683 if test "$cross_compiling" = maybe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2684 cross_compiling=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2685 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2686 { { echo "$as_me:2686: error: cannot run C compiled programs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2687 If you meant to cross compile, use \`--host'." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2688 echo "$as_me: error: cannot run C compiled programs.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2689 If you meant to cross compile, use \`--host'." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2690 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2691 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2692 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2693 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2694 echo "$as_me:2694: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2695 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2696
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2697 rm -f a.out a.exe conftest$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2698 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2699 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2700 # the compiler is broken, or we cross compile.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2701 echo "$as_me:2701: checking whether we are cross compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2702 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2703 echo "$as_me:2703: result: $cross_compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2704 echo "${ECHO_T}$cross_compiling" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2705
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2706 echo "$as_me:2706: checking for executable suffix" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2707 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2708 if { (eval echo "$as_me:2708: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2709 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2710 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2711 echo "$as_me:2711: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2712 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2713 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2715 # work properly (i.e., refer to `conftest.exe'), while it won't with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2716 # `rm'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2717 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2718 case $ac_file in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
2719 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2720 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2721 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2722 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2723 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2724 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2725 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2726 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2727 { { echo "$as_me:2727: error: cannot compute EXEEXT: cannot compile and link" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2728 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2729 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2730 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2731
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2732 rm -f conftest$ac_cv_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2733 echo "$as_me:2733: result: $ac_cv_exeext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2734 echo "${ECHO_T}$ac_cv_exeext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2735
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2736 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2737 EXEEXT=$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2738 ac_exeext=$EXEEXT
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2739 echo "$as_me:2739: checking for object suffix" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2740 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2741 if test "${ac_cv_objext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2743 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2744 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2745 #line 2745 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2746 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2747
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2748 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2749 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2750 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2751
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2752 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2753 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2754 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2755 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2756 rm -f conftest.o conftest.obj
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2757 if { (eval echo "$as_me:2757: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2758 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2759 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2760 echo "$as_me:2760: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2761 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2762 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2763 case $ac_file in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
2764 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2765 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2766 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2767 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2768 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2769 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2770 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2771 cat conftest.$ac_ext >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2772 { { echo "$as_me:2772: error: cannot compute OBJEXT: cannot compile" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2773 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2774 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2775 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2776
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2777 rm -f conftest.$ac_cv_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2778 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2779 echo "$as_me:2779: result: $ac_cv_objext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2780 echo "${ECHO_T}$ac_cv_objext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2781 OBJEXT=$ac_cv_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2782 ac_objext=$OBJEXT
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2783 echo "$as_me:2783: checking whether we are using the GNU C compiler" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2784 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2787 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2788 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2789 #line 2789 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2790 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2791
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2792 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2793 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2794 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2795 #ifndef __GNUC__
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2796 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2797 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2798
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2799 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2800 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2801 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2802 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2803 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2804 if { (eval echo "$as_me:2804: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2805 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2806 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2807 echo "$as_me:2807: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2808 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2809 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2810 { (eval echo "$as_me:2810: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2811 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2812 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2813 echo "$as_me:2813: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2814 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2815 ac_compiler_gnu=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2816 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2817 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2818 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2819 ac_compiler_gnu=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2820 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2821 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2822 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2823
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2824 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2825 echo "$as_me:2825: result: $ac_cv_c_compiler_gnu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2826 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2827 GCC=`test $ac_compiler_gnu = yes && echo yes`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2828 ac_test_CFLAGS=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2829 ac_save_CFLAGS=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2830 CFLAGS="-g"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2831 echo "$as_me:2831: checking whether $CC accepts -g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2832 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2833 if test "${ac_cv_prog_cc_g+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2834 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2835 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2836 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2837 #line 2837 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2838 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2839
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2840 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2841 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2842 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2843
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2844 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2845 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2846 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2847 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2848 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2849 if { (eval echo "$as_me:2849: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2850 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2851 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2852 echo "$as_me:2852: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2853 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2854 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2855 { (eval echo "$as_me:2855: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2856 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2857 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2858 echo "$as_me:2858: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2859 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2860 ac_cv_prog_cc_g=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2861 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2862 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2863 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2864 ac_cv_prog_cc_g=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2865 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2866 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2867 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2868 echo "$as_me:2868: result: $ac_cv_prog_cc_g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2870 if test "$ac_test_CFLAGS" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2871 CFLAGS=$ac_save_CFLAGS
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2872 elif test $ac_cv_prog_cc_g = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2873 if test "$GCC" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2874 CFLAGS="-g -O2"
Dave Love <fx@gnu.org>
parents:
diff changeset
2875 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2876 CFLAGS="-g"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2877 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2878 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2879 if test "$GCC" = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2880 CFLAGS="-O2"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2881 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2882 CFLAGS=
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2883 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2884 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2885 # Some people use a C++ compiler to compile C. Since we use `exit',
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2886 # in C++ we need to declare it. In case someone uses the same compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2887 # for both compiling C and C++ we need to have the C++ compiler decide
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2888 # the declaration of exit, since it's the most demanding environment.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2889 cat >conftest.$ac_ext <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2890 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2891 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2892 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2893 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2894 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2895 if { (eval echo "$as_me:2895: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2896 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2897 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2898 echo "$as_me:2898: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2899 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2900 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2901 { (eval echo "$as_me:2901: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2902 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2903 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2904 echo "$as_me:2904: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2905 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2906 for ac_declaration in \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2907 ''\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2908 '#include <stdlib.h>' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2909 'extern "C" void std::exit (int) throw (); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2910 'extern "C" void std::exit (int); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2911 'extern "C" void exit (int) throw ();' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2912 'extern "C" void exit (int);' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2913 'void exit (int);'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2914 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2915 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2916 #line 2916 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2917 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2918 #include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2919 $ac_declaration
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2920 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2921 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2922 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2923 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2924 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2925 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2926 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2927 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2928 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2929 if { (eval echo "$as_me:2929: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2930 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2931 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2932 echo "$as_me:2932: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2933 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2934 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2935 { (eval echo "$as_me:2935: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2936 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2937 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2938 echo "$as_me:2938: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2939 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2940 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2941 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2942 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2943 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2944 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2945 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2946 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2947 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2948 #line 2948 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2949 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2950 $ac_declaration
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2951 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2952 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2953 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2954 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2955 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2956 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2957 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2958 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2959 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2960 if { (eval echo "$as_me:2960: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2961 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2962 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2963 echo "$as_me:2963: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2964 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2965 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2966 { (eval echo "$as_me:2966: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2967 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2968 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
2969 echo "$as_me:2969: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2970 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2971 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2972 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2973 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2974 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2975 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2976 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2977 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2978 rm -f conftest*
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2979 if test -n "$ac_declaration"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2980 echo '#ifdef __cplusplus' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2981 echo $ac_declaration >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2982 echo '#endif' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2983 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2984
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2985 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2986 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2987 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2988 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2989 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2990 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2991 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2995
Dave Love <fx@gnu.org>
parents:
diff changeset
2996 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
2997 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2998 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
2999 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3000
Dave Love <fx@gnu.org>
parents:
diff changeset
3001 #### Some systems specify a CPP to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3002 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3003 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3004 if test "x$NON_GNU_CPP" != x && test x$GCC != xyes && test "x$CPP" = x
Dave Love <fx@gnu.org>
parents:
diff changeset
3005 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3006 CPP="$NON_GNU_CPP"
Dave Love <fx@gnu.org>
parents:
diff changeset
3007 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3008
Dave Love <fx@gnu.org>
parents:
diff changeset
3009 #### Some systems specify a CC to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3010 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3011 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3012 if test "x$NON_GNU_CC" != x && test x$GCC != xyes &&
Dave Love <fx@gnu.org>
parents:
diff changeset
3013 test x$cc_specified != xyes
Dave Love <fx@gnu.org>
parents:
diff changeset
3014 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3015 CC="$NON_GNU_CC"
Dave Love <fx@gnu.org>
parents:
diff changeset
3016 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3017
Dave Love <fx@gnu.org>
parents:
diff changeset
3018 if test x$GCC = xyes && test "x$GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3019 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3020 CC="$CC $GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3021 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3022
Dave Love <fx@gnu.org>
parents:
diff changeset
3023 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3024 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3025 CC="$CC $NON_GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3026 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3027
Dave Love <fx@gnu.org>
parents:
diff changeset
3028 #### Some other nice autoconf tests. If you add a test here which
Dave Love <fx@gnu.org>
parents:
diff changeset
3029 #### should make an entry in src/config.h, don't forget to add an
Dave Love <fx@gnu.org>
parents:
diff changeset
3030 #### #undef clause to src/config.h.in for autoconf to modify.
Dave Love <fx@gnu.org>
parents:
diff changeset
3031
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3032 echo "$as_me:3032: checking whether ln -s works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3033 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3034 LN_S=$as_ln_s
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3035 if test "$LN_S" = "ln -s"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3036 echo "$as_me:3036: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3037 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3038 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3039 echo "$as_me:3039: result: no, using $LN_S" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3040 echo "${ECHO_T}no, using $LN_S" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3041 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3042
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3043 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3044 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3048 echo "$as_me:3048: checking how to run the C preprocessor" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3049 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3050 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
3051 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3052 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
3053 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3054 if test -z "$CPP"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3055 if test "${ac_cv_prog_CPP+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3057 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3058 # Double quotes because CPP needs to be expanded
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3059 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3060 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3061 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3062 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3063 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3064 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3065 # with a fresh cross-compiler works.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3066 # On the NeXT, cc -E runs the code through the compiler's parser,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3067 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3068 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3069 #line 3069 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3070 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3071 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3072 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3073 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3074 if { (eval echo "$as_me:3074: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3076 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3077 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3078 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3079 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3080 echo "$as_me:3080: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3081 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3082 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3083 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3084 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3085 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3086 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3087 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3088 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3089 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3090 if test -z "$ac_cpp_err"; then
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3091 :
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3092 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3093 echo "$as_me: failed program was:" >&5
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3094 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3095 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3096 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3097 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3098 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3099
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3100 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3101 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3102 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3103 #line 3103 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3104 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3105 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3106 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3107 if { (eval echo "$as_me:3107: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3109 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3110 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3111 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3112 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3113 echo "$as_me:3113: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3114 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3115 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3116 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3117 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3118 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3119 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3120 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3121 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3122 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3123 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3124 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3125 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3126 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3127 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3128 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3129 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3130 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3131 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3132 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3133 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3134
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3135 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3136 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3137 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3138 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3139 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3140 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3141
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3142 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3143 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3144
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3145 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3146 CPP=$ac_cv_prog_CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3147 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3148 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3149 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3150 echo "$as_me:3150: result: $CPP" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3151 echo "${ECHO_T}$CPP" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3152 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3153 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3154 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3155 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3156 # with a fresh cross-compiler works.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3157 # On the NeXT, cc -E runs the code through the compiler's parser,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3158 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3159 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3160 #line 3160 "configure"
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3161 #include "confdefs.h"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3162 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3163 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3164 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3165 if { (eval echo "$as_me:3165: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3167 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3168 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3169 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3170 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3171 echo "$as_me:3171: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3172 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3173 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3174 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3175 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3176 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3177 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3178 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3179 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3180 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3181 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3182 :
Dave Love <fx@gnu.org>
parents:
diff changeset
3183 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3184 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3185 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3186 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3187 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3188 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3189 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3190
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3191 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3192 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3193 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3194 #line 3194 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3195 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3196 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3197 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3198 if { (eval echo "$as_me:3198: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3200 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3201 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3202 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3203 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3204 echo "$as_me:3204: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3205 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3206 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3207 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3208 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3209 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3210 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3211 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3212 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3213 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3214 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3215 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3216 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3217 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3218 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3219 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3220 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3221 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3222 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3223 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3224 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3225
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3226 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3227 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3228 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3229 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3230 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3231 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3232 { { echo "$as_me:3232: error: C preprocessor \"$CPP\" fails sanity check" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3233 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3234 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3235 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3236
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3237 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3238 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3242
Dave Love <fx@gnu.org>
parents:
diff changeset
3243 # Find a good install program. We prefer a C program (faster),
Dave Love <fx@gnu.org>
parents:
diff changeset
3244 # so one script is as good as another. But avoid the broken or
Dave Love <fx@gnu.org>
parents:
diff changeset
3245 # incompatible versions:
Dave Love <fx@gnu.org>
parents:
diff changeset
3246 # SysV /etc/install, /usr/sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3247 # SunOS /usr/etc/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3248 # IRIX /sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3249 # AIX /bin/install
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3250 # AmigaOS /C/install, which installs bootblocks on floppy discs
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3251 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3252 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
Dave Love <fx@gnu.org>
parents:
diff changeset
3253 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
Dave Love <fx@gnu.org>
parents:
diff changeset
3254 # ./install, which can be erroneously created by make from ./install.sh.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3255 echo "$as_me:3255: checking for a BSD compatible install" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3256 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3257 if test -z "$INSTALL"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3258 if test "${ac_cv_path_install+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3259 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3260 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3261 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3262 for ac_dir in $PATH; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3263 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3264 # Account for people who put trailing slashes in PATH elements.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3265 case $ac_dir/ in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3266 / | ./ | .// | /cC/* \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3267 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3268 | /usr/ucb/* ) ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3269 *)
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3270 # OSF1 and SCO ODT 3.0 have their own names for install.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3271 # Don't use installbsd from OSF since it installs stuff as root
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3272 # by default.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3273 for ac_prog in ginstall scoinst install; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3274 if $as_executable_p "$ac_dir/$ac_prog"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3275 if test $ac_prog = install &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3276 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3277 # AIX install. It has an incompatible calling convention.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3278 :
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3279 elif test $ac_prog = install &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3280 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3281 # program-specific install script used by HP pwplus--don't use.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3282 :
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3283 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3284 ac_cv_path_install="$ac_dir/$ac_prog -c"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3285 break 2
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3286 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3287 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3288 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3289 ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3290 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3291 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3292
Dave Love <fx@gnu.org>
parents:
diff changeset
3293 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3294 if test "${ac_cv_path_install+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3295 INSTALL=$ac_cv_path_install
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3296 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3297 # As a last resort, use the slow shell script. We don't cache a
Dave Love <fx@gnu.org>
parents:
diff changeset
3298 # path for INSTALL within a source directory, because that will
Dave Love <fx@gnu.org>
parents:
diff changeset
3299 # break other packages using the cache if that directory is
Dave Love <fx@gnu.org>
parents:
diff changeset
3300 # removed, or if the path is relative.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3301 INSTALL=$ac_install_sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3302 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3303 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3304 echo "$as_me:3304: result: $INSTALL" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3305 echo "${ECHO_T}$INSTALL" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3306
Dave Love <fx@gnu.org>
parents:
diff changeset
3307 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
Dave Love <fx@gnu.org>
parents:
diff changeset
3308 # It thinks the first close brace ends the variable substitution.
Dave Love <fx@gnu.org>
parents:
diff changeset
3309 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
Dave Love <fx@gnu.org>
parents:
diff changeset
3310
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3311 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3312
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3313 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
Dave Love <fx@gnu.org>
parents:
diff changeset
3314
Dave Love <fx@gnu.org>
parents:
diff changeset
3315 for ac_prog in 'bison -y' byacc
Dave Love <fx@gnu.org>
parents:
diff changeset
3316 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3317 # Extract the first word of "$ac_prog", so it can be a program name with args.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3318 set dummy $ac_prog; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3319 echo "$as_me:3319: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3321 if test "${ac_cv_prog_YACC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3323 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3324 if test -n "$YACC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3325 ac_cv_prog_YACC="$YACC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
3326 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3327 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3328 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3329 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3330 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3331 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3332 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3333 ac_cv_prog_YACC="$ac_prog"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3334 echo "$as_me:3334: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3335 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3336 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3337
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3338 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3339 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3340 YACC=$ac_cv_prog_YACC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3341 if test -n "$YACC"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3342 echo "$as_me:3342: result: $YACC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3343 echo "${ECHO_T}$YACC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3344 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3345 echo "$as_me:3345: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3346 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3347 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3348
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3349 test -n "$YACC" && break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3350 done
Dave Love <fx@gnu.org>
parents:
diff changeset
3351 test -n "$YACC" || YACC="yacc"
Dave Love <fx@gnu.org>
parents:
diff changeset
3352
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3353 if test "x$RANLIB" = x; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3354 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3357 echo "$as_me:3357: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3359 if test "${ac_cv_prog_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3361 else
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3362 if test -n "$RANLIB"; then
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3363 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3364 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3365 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3366 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3367 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3368 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3369 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3370 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3372 echo "$as_me:3372: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3373 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3374 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3375
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3376 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3377 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3378 RANLIB=$ac_cv_prog_RANLIB
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3379 if test -n "$RANLIB"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3380 echo "$as_me:3380: result: $RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3381 echo "${ECHO_T}$RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3382 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3383 echo "$as_me:3383: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3384 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3385 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3386
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3387 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3388 if test -z "$ac_cv_prog_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3389 ac_ct_RANLIB=$RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3390 # Extract the first word of "ranlib", so it can be a program name with args.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3391 set dummy ranlib; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3392 echo "$as_me:3392: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3394 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3395 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3396 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3397 if test -n "$ac_ct_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3398 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3399 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3400 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3401 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3402 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3403 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3404 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3405 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3406 ac_cv_prog_ac_ct_RANLIB="ranlib"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3407 echo "$as_me:3407: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3408 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3409 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3410
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3411 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3412 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3413 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3414 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3415 if test -n "$ac_ct_RANLIB"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3416 echo "$as_me:3416: result: $ac_ct_RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3417 echo "${ECHO_T}$ac_ct_RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3418 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3419 echo "$as_me:3419: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3420 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3421 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3422
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3423 RANLIB=$ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3424 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3425 RANLIB="$ac_cv_prog_RANLIB"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3426 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3427
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3428 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3429
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3430 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3431 then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3432 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3433 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3434
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3435 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3436 then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3437 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3438 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3439
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3440 echo "$as_me:3440: checking for AIX" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3441 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3442 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3443 #line 3443 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3444 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3445 #ifdef _AIX
Dave Love <fx@gnu.org>
parents:
diff changeset
3446 yes
Dave Love <fx@gnu.org>
parents:
diff changeset
3447 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
3448
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3449 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
3451 egrep "yes" >/dev/null 2>&1; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3452 echo "$as_me:3452: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3453 echo "${ECHO_T}yes" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3454 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3455 #define _ALL_SOURCE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3456 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3457
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3458 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3459 echo "$as_me:3459: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3460 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3461 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3462 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
3463
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3464 #### Extract some information from the operating system and machine files.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3465
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3466 { echo "$as_me:3466: checking the machine- and system-dependent files to find out
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3467 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3468 - whether the GNU malloc routines are usable..." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3469 echo "$as_me: checking the machine- and system-dependent files to find out
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3470 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3471 - whether the GNU malloc routines are usable..." >&6;}
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3472
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3473 ### First figure out CFLAGS (which we use for running the compiler here)
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3474 ### and REAL_CFLAGS (which we use for real compilation).
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3475 ### The two are the same except on a few systems, where they are made
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3476 ### different to work around various lossages. For example,
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3477 ### GCC 2.5 on GNU/Linux needs them to be different because it treats -g
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3478 ### as implying static linking.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3479
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3480 ### If the CFLAGS env var is specified, we use that value
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3481 ### instead of the default.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3482
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3483 ### It's not important that this name contain the PID; you can't run
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3484 ### two configures in the same directory and have anything work
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3485 ### anyway.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3486 tempcname="conftest.c"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3487
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3488 echo '
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3489 #include "'${srcdir}'/src/'${opsysfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3490 #include "'${srcdir}'/src/'${machfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3491 #ifndef LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3492 #define LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3493 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3494 #ifndef LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3495 #define LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3496 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3497 #ifndef C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3498 #define C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3499 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3500 #ifndef C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3501 #define C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3502 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3503 configure___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3504 configure___ c_switch_system=C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3505 configure___ c_switch_machine=C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3506
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3507 #ifndef LIB_X11_LIB
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3508 #define LIB_X11_LIB -lX11
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3509 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3510
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3511 #ifndef LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3512 #define LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3513 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3514
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3515 #ifndef LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3516 #define LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3517 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3518 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3519
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3520 #ifdef UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3521 configure___ unexec=UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3522 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3523 configure___ unexec=unexec.o
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3524 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3525
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3526 #ifdef SYSTEM_MALLOC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3527 configure___ system_malloc=yes
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3528 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3529 configure___ system_malloc=no
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3530 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3531
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3532 #ifdef USE_MMAP_FOR_BUFFERS
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3533 configure___ use_mmap_for_buffers=yes
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3534 #else
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3535 configure___ use_mmap_for_buffers=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3536 #endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3537
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3538 #ifndef C_DEBUG_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3539 #define C_DEBUG_SWITCH -g
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3540 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3541
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3542 #ifndef C_OPTIMIZE_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3543 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3544 #define C_OPTIMIZE_SWITCH -O2
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3545 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3546 #define C_OPTIMIZE_SWITCH -O
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3547 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3548 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3549
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3550 #ifndef LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3551 #define LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3552 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3553
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3554 #ifndef LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3555 #define LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3556 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3557
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3558 #ifndef LD_SWITCH_X_SITE_AUX
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3559 #define LD_SWITCH_X_SITE_AUX
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3560 #endif
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3561
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3562 configure___ ld_switch_system=LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3563 configure___ ld_switch_machine=LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3564
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3565 #ifdef THIS_IS_CONFIGURE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3566
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3567 /* Get the CFLAGS for tests in configure. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3568 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3569 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3570 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3571 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3572 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3573
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3574 #else /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3575
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3576 /* Get the CFLAGS for real compilation. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3577 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3578 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3579 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3580 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3581 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3582
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3583 #endif /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3584 ' > ${tempcname}
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3585
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3586 # The value of CPP is a quoted variable reference, so we need to do this
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3587 # to get its actual value...
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3588 CPP=`eval "echo $CPP"`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3589 eval `${CPP} -Isrc ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3590 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3591 if test "x$SPECIFIED_CFLAGS" = x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3592 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3593 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3594 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3595 REAL_CFLAGS="$CFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3596 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3597 rm ${tempcname}
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3598
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3599 ac_link="$ac_link $ld_switch_machine $ld_switch_system"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3600
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3601 ### Make sure subsequent tests use flags consistent with the build flags.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3602
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3603 if test x"${OVERRIDE_CPPFLAGS}" != x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3604 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3605 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3606 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3607 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3608
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3609 # Check whether --enable-largefile or --disable-largefile was given.
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3610 if test "${enable_largefile+set}" = set; then
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3611 enableval="$enable_largefile"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3612
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3613 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3614 if test "$enable_largefile" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3615
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3616 echo "$as_me:3616: checking for special C compiler options needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3617 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3618 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3620 else
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3621 ac_cv_sys_largefile_CC=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3622 if test "$GCC" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3623 ac_save_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3624 while :; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3625 # IRIX 6.2 and later do not support large files by default,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3626 # so use the C compiler's -n32 option if that helps.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3627 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3628 #line 3628 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3629 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3630 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3631 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3632 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3633 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3634 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3635 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3636 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3637 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3638 ? 1 : -1];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3639 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3640 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3641 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3642
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3643 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3644 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3645 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3646 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3647 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3648 if { (eval echo "$as_me:3648: \"$ac_compile\"") >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3649 (eval $ac_compile) 2>&5
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3650 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3651 echo "$as_me:3651: \$? = $ac_status" >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3652 (exit $ac_status); } &&
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3653 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3654 { (eval echo "$as_me:3654: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3655 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3656 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3657 echo "$as_me:3657: \$? = $ac_status" >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3658 (exit $ac_status); }; }; then
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3659 break
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3660 else
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3661 echo "$as_me: failed program was:" >&5
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3662 cat conftest.$ac_ext >&5
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3663 fi
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3664 rm -f conftest.$ac_objext
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3665 CC="$CC -n32"
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
3666 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3667 if { (eval echo "$as_me:3667: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3668 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3669 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3670 echo "$as_me:3670: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3671 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3672 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3673 { (eval echo "$as_me:3673: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3674 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3675 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3676 echo "$as_me:3676: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3677 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3678 ac_cv_sys_largefile_CC=' -n32'; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3679 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3680 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3681 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3682 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3683 rm -f conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3684 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3685 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3686 CC=$ac_save_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3687 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3688 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3689 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3690 echo "$as_me:3690: result: $ac_cv_sys_largefile_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3691 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3692 if test "$ac_cv_sys_largefile_CC" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3693 CC=$CC$ac_cv_sys_largefile_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3694 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3695
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3696 echo "$as_me:3696: checking for _FILE_OFFSET_BITS value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3697 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3698 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3700 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3701 while :; do
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3702 ac_cv_sys_file_offset_bits=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3703 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3704 #line 3704 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3705 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3706 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3707 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3709 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3710 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3711 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3713 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3714 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3715 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3716 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3717 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3718
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3719 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3720 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3721 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3722 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3723 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3724 if { (eval echo "$as_me:3724: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3725 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3726 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3727 echo "$as_me:3727: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3728 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3729 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3730 { (eval echo "$as_me:3730: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3731 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3732 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3733 echo "$as_me:3733: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3734 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3735 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3736 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3737 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3738 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3739 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3740 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3741 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3742 #line 3742 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3743 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3744 #define _FILE_OFFSET_BITS 64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3745 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3746 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3748 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3749 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3750 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3752 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3753 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3754 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3755 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3756 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3757
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3758 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3759 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3760 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3761 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3762 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3763 if { (eval echo "$as_me:3763: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3764 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3765 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3766 echo "$as_me:3766: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3767 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3768 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3769 { (eval echo "$as_me:3769: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3770 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3771 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3772 echo "$as_me:3772: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3773 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3774 ac_cv_sys_file_offset_bits=64; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3775 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3776 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3777 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3778 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3779 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3780 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3781 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3782 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3783 echo "$as_me:3783: result: $ac_cv_sys_file_offset_bits" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3784 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3785 if test "$ac_cv_sys_file_offset_bits" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3786
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3787 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3788 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3789 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3790
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3791 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3792 rm -f conftest*
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3793 echo "$as_me:3793: checking for _LARGE_FILES value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3794 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3795 if test "${ac_cv_sys_large_files+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3797 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3798 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
3799 ac_cv_sys_large_files=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3800 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3801 #line 3801 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3802 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3803 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3804 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3805 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3806 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3807 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3809 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3810 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3811 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3812 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3813 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3814 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3815
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3816 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3817 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3818 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3819 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3820 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3821 if { (eval echo "$as_me:3821: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3822 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3823 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3824 echo "$as_me:3824: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3825 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3826 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3827 { (eval echo "$as_me:3827: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3828 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3829 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3830 echo "$as_me:3830: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3831 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3832 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3833 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3834 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3835 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3836 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3837 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3838 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3839 #line 3839 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3840 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3841 #define _LARGE_FILES 1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3842 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3843 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3844 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3845 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3846 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3847 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3848 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3849 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3850 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3851 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3852 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3853 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3854
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3855 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3856 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3857 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3858 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3859 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3860 if { (eval echo "$as_me:3860: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3861 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3862 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3863 echo "$as_me:3863: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3864 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3865 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3866 { (eval echo "$as_me:3866: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3867 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3868 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3869 echo "$as_me:3869: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3870 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3871 ac_cv_sys_large_files=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3872 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3873 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3874 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3875 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3876 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3877 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3878 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3879 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3880 echo "$as_me:3880: result: $ac_cv_sys_large_files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3881 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3882 if test "$ac_cv_sys_large_files" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3883
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3884 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3885 #define _LARGE_FILES $ac_cv_sys_large_files
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3886 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3887
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3888 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3889 rm -f conftest*
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3890 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3891
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
3892 if test "${with_sound}" != "no"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
3893 # Sound support for GNU/Linux and the free BSDs.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3894
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3895 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3896 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3898 echo "$as_me:3898: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3901 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3902 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3903 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3904 #line 3904 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3905 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3906 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3907 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3908 if { (eval echo "$as_me:3908: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3910 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3911 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3912 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3913 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3914 echo "$as_me:3914: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3915 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3916 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3917 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3918 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3919 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3920 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3921 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3922 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3923 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3924 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3925 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3926 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3927 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3928 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3929 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3930 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3931 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3932 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3933 echo "$as_me:3933: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3936 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3938 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3939
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3940 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3941 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3942
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3943 # Emulation library used on NetBSD.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3944 echo "$as_me:3944: checking for _oss_ioctl in -lossaudio" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3945 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3946 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3948 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3949 ac_check_lib_save_LIBS=$LIBS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3950 LIBS="-lossaudio $LIBS"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3951 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3952 #line 3952 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3953 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3954
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3955 /* Override any gcc2 internal prototype to avoid an error. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3956 #ifdef __cplusplus
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3957 extern "C"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3958 #endif
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3959 /* We use char because int might match the return type of a gcc2
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3960 builtin and then its argument prototype would still apply. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3961 char _oss_ioctl ();
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3962 int
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3963 main ()
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3964 {
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3965 _oss_ioctl ();
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3966 ;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3967 return 0;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3968 }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3969 _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3970 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3971 if { (eval echo "$as_me:3971: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3972 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3973 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3974 echo "$as_me:3974: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3975 (exit $ac_status); } &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3976 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3977 { (eval echo "$as_me:3977: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3978 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3979 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3980 echo "$as_me:3980: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3981 (exit $ac_status); }; }; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3982 ac_cv_lib_ossaudio__oss_ioctl=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3983 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3984 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3985 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3986 ac_cv_lib_ossaudio__oss_ioctl=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3987 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3989 LIBS=$ac_check_lib_save_LIBS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3990 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
3991 echo "$as_me:3991: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3992 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3993 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3994 LIBSOUND=-lossaudio
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3995 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3996 LIBSOUND=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3997 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3998
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3999 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4000
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4001 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4002 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4003 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4004 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4006 echo "$as_me:4006: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4010 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4011 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4012 #line 4012 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4013 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4014 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4015 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4016 if { (eval echo "$as_me:4016: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4018 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4019 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4020 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4021 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4022 echo "$as_me:4022: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4023 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4024 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4025 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4026 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4027 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4028 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4029 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4030 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4031 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4032 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4033 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4034 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4035 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4036 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4037 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4038 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4039 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4040 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4041 echo "$as_me:4041: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4044 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4046 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4047
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4048 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4049 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4050
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4051 echo "$as_me:4051: checking for ANSI C header files" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4053 if test "${ac_cv_header_stdc+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4054 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4055 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4056 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4057 #line 4057 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4058 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4059 #include <stdlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4060 #include <stdarg.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4061 #include <string.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4062 #include <float.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4063
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4064 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4065 if { (eval echo "$as_me:4065: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4067 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4068 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4069 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4070 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4071 echo "$as_me:4071: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4072 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4073 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4074 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4075 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4076 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4077 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4078 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4079 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4080 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4081 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4082 ac_cv_header_stdc=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4083 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4084 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4085 cat conftest.$ac_ext >&5
Dave Love <fx@gnu.org>
parents:
diff changeset
4086 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4087 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4088 rm -f conftest.err conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4089
Dave Love <fx@gnu.org>
parents:
diff changeset
4090 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4091 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4092 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4093 #line 4093 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4094 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4095 #include <string.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4096
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4097 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4099 egrep "memchr" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4100 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4101 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4102 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4103 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4104 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4105
Dave Love <fx@gnu.org>
parents:
diff changeset
4106 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4107
Dave Love <fx@gnu.org>
parents:
diff changeset
4108 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4109 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4110 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4111 #line 4111 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4112 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4113 #include <stdlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4114
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4115 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4116 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4117 egrep "free" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4118 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4119 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4120 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4121 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4122 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4123
Dave Love <fx@gnu.org>
parents:
diff changeset
4124 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4125
Dave Love <fx@gnu.org>
parents:
diff changeset
4126 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4127 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4128 if test "$cross_compiling" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4129 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4130 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4131 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4132 #line 4132 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4133 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4134 #include <ctype.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4135 #if ((' ' & 0x0FF) == 0x020)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4136 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4137 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4138 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4139 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4140 || ('j' <= (c) && (c) <= 'r') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4141 || ('s' <= (c) && (c) <= 'z'))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4142 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4143 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4144
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4145 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4146 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4147 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4148 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4149 int i;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4150 for (i = 0; i < 256; i++)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4151 if (XOR (islower (i), ISLOWER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4152 || toupper (i) != TOUPPER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4153 exit(2);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4154 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4155 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4156 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4157 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4158 if { (eval echo "$as_me:4158: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4159 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4160 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4161 echo "$as_me:4161: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4163 { (eval echo "$as_me:4163: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4164 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4165 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4166 echo "$as_me:4166: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4167 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4168 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4169 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4170 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4171 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4172 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4173 ac_cv_header_stdc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4174 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4175 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4176 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4177 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4178 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4179 echo "$as_me:4179: result: $ac_cv_header_stdc" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4180 echo "${ECHO_T}$ac_cv_header_stdc" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4181 if test $ac_cv_header_stdc = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4182
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4183 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4184 #define STDC_HEADERS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4185 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4186
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4187 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4188
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4189 echo "$as_me:4189: checking whether time.h and sys/time.h may both be included" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4190 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4191 if test "${ac_cv_header_time+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4193 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4194 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4195 #line 4195 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4196 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4197 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4198 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4199 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4200
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4201 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4202 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4203 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4204 if ((struct tm *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4205 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4206 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4207 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4208 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4209 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4210 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4211 if { (eval echo "$as_me:4211: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4212 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4213 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4214 echo "$as_me:4214: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4215 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4216 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4217 { (eval echo "$as_me:4217: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4218 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4219 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4220 echo "$as_me:4220: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4221 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4222 ac_cv_header_time=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4223 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4224 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4225 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4226 ac_cv_header_time=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4227 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4228 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4229 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4230 echo "$as_me:4230: result: $ac_cv_header_time" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4231 echo "${ECHO_T}$ac_cv_header_time" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4232 if test $ac_cv_header_time = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4233
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4234 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4235 #define TIME_WITH_SYS_TIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4236 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4237
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4238 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4239
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4240 echo "$as_me:4240: checking for sys_siglist declaration in signal.h or unistd.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4241 echo $ECHO_N "checking for sys_siglist declaration in signal.h or unistd.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4242 if test "${ac_cv_decl_sys_siglist+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4244 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4245 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4246 #line 4246 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4247 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4248 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4249 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4250 /* NetBSD declares sys_siglist in unistd.h. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4251 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4252 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4253 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4254
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4255 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4256 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4257 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4258 char *msg = *(sys_siglist + 1);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4259 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4260 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4261 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4262 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4263 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4264 if { (eval echo "$as_me:4264: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4265 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4266 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4267 echo "$as_me:4267: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4268 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4269 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4270 { (eval echo "$as_me:4270: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4271 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4272 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4273 echo "$as_me:4273: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4274 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4275 ac_cv_decl_sys_siglist=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4276 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4277 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4278 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4279 ac_cv_decl_sys_siglist=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4280 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4281 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4282 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4283 echo "$as_me:4283: result: $ac_cv_decl_sys_siglist" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4284 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4285 if test $ac_cv_decl_sys_siglist = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4286
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4287 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4288 #define SYS_SIGLIST_DECLARED 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4289 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4290
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4291 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4292
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4293 echo "$as_me:4293: checking for sys/wait.h that is POSIX.1 compatible" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4294 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4295 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4297 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4298 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4299 #line 4299 "configure"
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4300 #include "confdefs.h"
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4301 #include <sys/types.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4302 #include <sys/wait.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4303 #ifndef WEXITSTATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4304 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4305 #endif
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4306 #ifndef WIFEXITED
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4307 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4308 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4309
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4310 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4311 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4312 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4313 int s;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4314 wait (&s);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4315 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4316 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4317 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4318 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4319 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4320 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4321 if { (eval echo "$as_me:4321: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4322 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4323 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4324 echo "$as_me:4324: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4325 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4326 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4327 { (eval echo "$as_me:4327: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4328 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4329 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4330 echo "$as_me:4330: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4331 (exit $ac_status); }; }; then
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4332 ac_cv_header_sys_wait_h=yes
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4333 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4334 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4335 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4336 ac_cv_header_sys_wait_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4337 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4338 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4339 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4340 echo "$as_me:4340: result: $ac_cv_header_sys_wait_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4341 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4342 if test $ac_cv_header_sys_wait_h = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4343
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4344 cat >>confdefs.h <<\EOF
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4345 #define HAVE_SYS_WAIT_H 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4346 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4347
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4348 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4349
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4350 echo "$as_me:4350: checking for struct utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4351 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4352 if test "${emacs_cv_struct_utimbuf+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4354 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4355 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4356 #line 4356 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4357 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4358 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
4359 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4360 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4361 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4362 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4363 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4364 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4365 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4366 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4367 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4368 #ifdef HAVE_UTIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4369 #include <utime.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4370 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4371 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4372 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4373 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4374 static struct utimbuf x; x.actime = x.modtime;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4375 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4376 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4377 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4378 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4379 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4380 if { (eval echo "$as_me:4380: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4381 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4382 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4383 echo "$as_me:4383: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4384 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4385 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4386 { (eval echo "$as_me:4386: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4387 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4388 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4389 echo "$as_me:4389: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4390 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4391 emacs_cv_struct_utimbuf=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4392 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4393 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4394 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4395 emacs_cv_struct_utimbuf=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4396 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4397 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4398 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4399 echo "$as_me:4399: result: $emacs_cv_struct_utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4400 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4401 if test $emacs_cv_struct_utimbuf = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4402
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4403 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4404 #define HAVE_STRUCT_UTIMBUF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4405 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4406
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4407 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4408
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4409 echo "$as_me:4409: checking return type of signal handlers" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4410 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4411 if test "${ac_cv_type_signal+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4412 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4413 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4414 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4415 #line 4415 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4416 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4417 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4418 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4419 #ifdef signal
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4420 # undef signal
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4421 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4422 #ifdef __cplusplus
Dave Love <fx@gnu.org>
parents:
diff changeset
4423 extern "C" void (*signal (int, void (*)(int)))(int);
Dave Love <fx@gnu.org>
parents:
diff changeset
4424 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4425 void (*signal ()) ();
Dave Love <fx@gnu.org>
parents:
diff changeset
4426 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4427
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4428 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4429 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4430 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4431 int i;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4432 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4433 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4434 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4435 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4436 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4437 if { (eval echo "$as_me:4437: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4438 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4439 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4440 echo "$as_me:4440: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4441 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4442 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4443 { (eval echo "$as_me:4443: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4444 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4445 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4446 echo "$as_me:4446: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4447 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4448 ac_cv_type_signal=void
Dave Love <fx@gnu.org>
parents:
diff changeset
4449 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4450 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4451 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4452 ac_cv_type_signal=int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4454 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4455 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4456 echo "$as_me:4456: result: $ac_cv_type_signal" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4457 echo "${ECHO_T}$ac_cv_type_signal" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4458
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4459 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4460 #define RETSIGTYPE $ac_cv_type_signal
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4461 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4462
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4463 echo "$as_me:4463: checking for speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4464 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4465 if test "${emacs_cv_speed_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4467 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4468 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4469 #line 4469 "configure"
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4470 #include "confdefs.h"
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4471 #include <termios.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4472 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4473 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4474 {
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4475 speed_t x = 1;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4476 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4477 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4478 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4479 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4480 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4481 if { (eval echo "$as_me:4481: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4482 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4483 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4484 echo "$as_me:4484: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4485 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4486 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4487 { (eval echo "$as_me:4487: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4488 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4489 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4490 echo "$as_me:4490: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4491 (exit $ac_status); }; }; then
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4492 emacs_cv_speed_t=yes
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4493 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4494 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4495 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4496 emacs_cv_speed_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4497 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4498 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4499 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4500 echo "$as_me:4500: result: $emacs_cv_speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4501 echo "${ECHO_T}$emacs_cv_speed_t" >&6
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4502 if test $emacs_cv_speed_t = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4503
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4504 cat >>confdefs.h <<\EOF
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4505 #define HAVE_SPEED_T 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4506 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4507
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4508 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4509
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4510 echo "$as_me:4510: checking for struct timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4511 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4512 if test "${emacs_cv_struct_timeval+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4514 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4515 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4516 #line 4516 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4517 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4518 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
4519 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4520 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4521 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4522 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4523 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4524 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4525 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4526 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4527 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4528 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4529 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4530 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4531 static struct timeval x; x.tv_sec = x.tv_usec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4532 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4533 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4534 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4535 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4536 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4537 if { (eval echo "$as_me:4537: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4538 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4539 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4540 echo "$as_me:4540: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4541 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4542 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4543 { (eval echo "$as_me:4543: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4544 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4545 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4546 echo "$as_me:4546: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4547 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4548 emacs_cv_struct_timeval=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4549 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4550 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4551 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4552 emacs_cv_struct_timeval=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4553 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4554 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4555 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4556 echo "$as_me:4556: result: $emacs_cv_struct_timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4557 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4558 HAVE_TIMEVAL=$emacs_cv_struct_timeval
Dave Love <fx@gnu.org>
parents:
diff changeset
4559 if test $emacs_cv_struct_timeval = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4560
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4561 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4562 #define HAVE_TIMEVAL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4563 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4564
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4565 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4566
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4567 echo "$as_me:4567: checking for struct exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4568 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4569 if test "${emacs_cv_struct_exception+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4571 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4572 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4573 #line 4573 "configure"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4574 #include "confdefs.h"
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4575 #include <math.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4576 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4577 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4578 {
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4579 static struct exception x; x.arg1 = x.arg2 = x.retval; x.name = ""; x.type = 1;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4580 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4581 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4582 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4583 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4584 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4585 if { (eval echo "$as_me:4585: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4586 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4587 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4588 echo "$as_me:4588: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4589 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4590 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4591 { (eval echo "$as_me:4591: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4592 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4593 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4594 echo "$as_me:4594: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4595 (exit $ac_status); }; }; then
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4596 emacs_cv_struct_exception=yes
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4597 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4598 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4599 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4600 emacs_cv_struct_exception=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4601 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4602 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4603 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4604 echo "$as_me:4604: result: $emacs_cv_struct_exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4605 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4606 HAVE_EXCEPTION=$emacs_cv_struct_exception
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4607 if test $emacs_cv_struct_exception != yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4608
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4609 cat >>confdefs.h <<\EOF
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4610 #define NO_MATHERR 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4611 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4612
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4613 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4614
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4615 echo "$as_me:4615: checking whether struct tm is in sys/time.h or time.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4616 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4617 if test "${ac_cv_struct_tm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4619 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4620 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4621 #line 4621 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4622 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4623 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4624 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4625
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4626 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4627 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4628 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4629 struct tm *tp; tp->tm_sec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4630 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4631 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4632 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4633 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4634 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4635 if { (eval echo "$as_me:4635: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4636 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4637 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4638 echo "$as_me:4638: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4639 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4640 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4641 { (eval echo "$as_me:4641: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4642 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4643 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4644 echo "$as_me:4644: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4645 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4646 ac_cv_struct_tm=time.h
Dave Love <fx@gnu.org>
parents:
diff changeset
4647 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4648 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4649 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4650 ac_cv_struct_tm=sys/time.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4651 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4652 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4653 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4654 echo "$as_me:4654: result: $ac_cv_struct_tm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4655 echo "${ECHO_T}$ac_cv_struct_tm" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4656 if test $ac_cv_struct_tm = sys/time.h; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4657
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4658 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4659 #define TM_IN_SYS_TIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4660 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4661
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4662 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4663
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4664 echo "$as_me:4664: checking for struct tm.tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4665 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4666 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4667 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4668 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4669 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4670 #line 4670 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4671 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4672 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4673 #include <$ac_cv_struct_tm>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4674
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4675 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4676 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4677 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4678 static struct tm ac_aggr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4679 if (ac_aggr.tm_zone)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4680 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4681 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4682 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4683 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4684 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4685 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4686 if { (eval echo "$as_me:4686: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4687 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4688 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4689 echo "$as_me:4689: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4690 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4691 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4692 { (eval echo "$as_me:4692: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4693 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4694 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4695 echo "$as_me:4695: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4696 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4697 ac_cv_member_struct_tm_tm_zone=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4698 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4699 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4700 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4701 ac_cv_member_struct_tm_tm_zone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4702 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4703 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4704 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4705 echo "$as_me:4705: result: $ac_cv_member_struct_tm_tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4706 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4707 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4708
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4709 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4710 #define HAVE_STRUCT_TM_TM_ZONE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4711 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4712
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4713 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4714
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4715 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4716
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4717 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4718 #define HAVE_TM_ZONE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4719 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4720
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4721 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4722 echo "$as_me:4722: checking for tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4723 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4724 if test "${ac_cv_var_tzname+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4726 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4727 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4728 #line 4728 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4729 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4730 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4731 #ifndef tzname /* For SGI. */
Dave Love <fx@gnu.org>
parents:
diff changeset
4732 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
Dave Love <fx@gnu.org>
parents:
diff changeset
4733 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4734
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4735 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4736 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4737 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4738 atoi(*tzname);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4739 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4740 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4741 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4742 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4743 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4744 if { (eval echo "$as_me:4744: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4745 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4746 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4747 echo "$as_me:4747: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4748 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4749 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4750 { (eval echo "$as_me:4750: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4751 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4752 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4753 echo "$as_me:4753: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4754 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4755 ac_cv_var_tzname=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4756 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4757 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4758 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4759 ac_cv_var_tzname=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4760 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4762 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4763 echo "$as_me:4763: result: $ac_cv_var_tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4764 echo "${ECHO_T}$ac_cv_var_tzname" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4765 if test $ac_cv_var_tzname = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4766
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4767 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4768 #define HAVE_TZNAME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4769 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4770
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4771 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4772 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4773
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4774 echo "$as_me:4774: checking for struct tm.tm_gmtoff" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4775 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4776 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4778 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4779 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4780 #line 4780 "configure"
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
4781 #include "confdefs.h"
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
4782 #include <time.h>
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4783
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4784 int
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4785 main ()
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4786 {
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4787 static struct tm ac_aggr;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4788 if (ac_aggr.tm_gmtoff)
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4789 return 0;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4790 ;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4791 return 0;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4792 }
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4793 _ACEOF
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4794 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4795 if { (eval echo "$as_me:4795: \"$ac_compile\"") >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4796 (eval $ac_compile) 2>&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4797 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4798 echo "$as_me:4798: \$? = $ac_status" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4799 (exit $ac_status); } &&
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4800 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4801 { (eval echo "$as_me:4801: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4802 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4803 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4804 echo "$as_me:4804: \$? = $ac_status" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4805 (exit $ac_status); }; }; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4806 ac_cv_member_struct_tm_tm_gmtoff=yes
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4807 else
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4808 echo "$as_me: failed program was:" >&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4809 cat conftest.$ac_ext >&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4810 ac_cv_member_struct_tm_tm_gmtoff=no
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4811 fi
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4812 rm -f conftest.$ac_objext conftest.$ac_ext
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4813 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4814 echo "$as_me:4814: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4815 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4816 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4817
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4818 cat >>confdefs.h <<\EOF
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
4819 #define HAVE_TM_GMTOFF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4820 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4821
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4822 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4823
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4824 echo "$as_me:4824: checking for $CC option to accept ANSI C" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4825 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4826 if test "${ac_cv_prog_cc_stdc+set}" = set; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4827 echo $ECHO_N "(cached) $ECHO_C" >&6
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4828 else
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4829 ac_cv_prog_cc_stdc=no
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4830 ac_save_CC=$CC
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4831 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4832 #line 4832 "configure"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4833 #include "confdefs.h"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4834 #include <stdarg.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4835 #include <stdio.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4836 #include <sys/types.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4837 #include <sys/stat.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4839 struct buf { int x; };
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4841 static char *e (p, i)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4842 char **p;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4843 int i;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4844 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4845 return p[i];
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4846 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4847 static char *f (char * (*g) (char **, int), char **p, ...)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4848 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4849 char *s;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4850 va_list v;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4851 va_start (v,p);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4852 s = g (p, va_arg (v,int));
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4853 va_end (v);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4854 return s;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4855 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4856 int test (int i, double x);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4857 struct s1 {int (*f) (int a);};
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4858 struct s2 {int (*f) (double a);};
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4859 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4860 int argc;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4861 char **argv;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4862 int
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4863 main ()
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4864 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4865 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4866 ;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4867 return 0;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4868 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4869 _ACEOF
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4870 # Don't try gcc -ansi; that turns off useful extensions and
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4871 # breaks some systems' header files.
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4872 # AIX -qlanglvl=ansi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4873 # Ultrix and OSF/1 -std1
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4874 # HP-UX 10.20 and later -Ae
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4875 # HP-UX older versions -Aa -D_HPUX_SOURCE
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4876 # SVR4 -Xc -D__EXTENSIONS__
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4877 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4878 do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4879 CC="$ac_save_CC $ac_arg"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4880 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4881 if { (eval echo "$as_me:4881: \"$ac_compile\"") >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4882 (eval $ac_compile) 2>&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4883 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4884 echo "$as_me:4884: \$? = $ac_status" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4885 (exit $ac_status); } &&
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4886 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4887 { (eval echo "$as_me:4887: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4888 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4889 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4890 echo "$as_me:4890: \$? = $ac_status" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4891 (exit $ac_status); }; }; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4892 ac_cv_prog_cc_stdc=$ac_arg
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4893 break
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4894 else
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4895 echo "$as_me: failed program was:" >&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4896 cat conftest.$ac_ext >&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4897 fi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4898 rm -f conftest.$ac_objext
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4899 done
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4900 rm -f conftest.$ac_ext conftest.$ac_objext
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4901 CC=$ac_save_CC
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4902
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4903 fi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4904
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4905 case "x$ac_cv_prog_cc_stdc" in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4906 x|xno)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4907 echo "$as_me:4907: result: none needed" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4908 echo "${ECHO_T}none needed" >&6 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4909 *)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4910 echo "$as_me:4910: result: $ac_cv_prog_cc_stdc" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4911 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4912 CC="$CC $ac_cv_prog_cc_stdc" ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4913 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4914
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4915 echo "$as_me:4915: checking for function prototypes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4916 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4917 if test "$ac_cv_prog_cc_stdc" != no; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4918 echo "$as_me:4918: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4919 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4920
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4921 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4922 #define PROTOTYPES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4923 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4924
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4925 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4926 echo "$as_me:4926: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4927 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4928 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4929
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4930 echo "$as_me:4930: checking for working volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4931 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4932 if test "${ac_cv_c_volatile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4933 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4934 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4935 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4936 #line 4936 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4937 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4938
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4939 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4940 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4941 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4942
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4943 volatile int x;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4944 int * volatile y;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4945 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4946 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4947 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4948 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4949 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4950 if { (eval echo "$as_me:4950: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4951 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4952 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4953 echo "$as_me:4953: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4954 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4955 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4956 { (eval echo "$as_me:4956: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4957 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4958 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4959 echo "$as_me:4959: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4960 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4961 ac_cv_c_volatile=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4962 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4963 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4964 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4965 ac_cv_c_volatile=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4966 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4967 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4968 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4969 echo "$as_me:4969: result: $ac_cv_c_volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4970 echo "${ECHO_T}$ac_cv_c_volatile" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4971 if test $ac_cv_c_volatile = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4972
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4973 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4974 #define volatile
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4975 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4976
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4977 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4978
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4979 echo "$as_me:4979: checking for an ANSI C-conforming const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4980 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4981 if test "${ac_cv_c_const+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4982 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4983 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4984 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
4985 #line 4985 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4986 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4987
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4988 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4989 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4990 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4991 /* FIXME: Include the comments suggested by Paul. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4992 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4993 /* Ultrix mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4994 typedef int charset[2];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4995 const charset x;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4996 /* SunOS 4.1.1 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4997 char const *const *ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4998 char **p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4999 /* NEC SVR4.0.2 mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5000 struct point {int x, y;};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5001 static struct point const zero = {0,0};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5002 /* AIX XL C 1.02.0.0 rejects this.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5003 It does not let you subtract one const X* pointer from another in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5004 an arm of an if-expression whose if-part is not a constant
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5005 expression */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5006 const char *g = "string";
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5007 ccp = &g + (g ? g-g : 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5008 /* HPUX 7.0 cc rejects these. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5009 ++ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5010 p = (char**) ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5011 ccp = (char const *const *) p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5012 { /* SCO 3.2v4 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5013 char *t;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5014 char const *s = 0 ? (char *) 0 : (char const *) 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5015
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5016 *t++ = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5017 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5018 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5019 int x[] = {25, 17};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5020 const int *foo = &x[0];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5021 ++foo;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5022 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5023 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5024 typedef const int *iptr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5025 iptr p = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5026 ++p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5027 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5028 { /* AIX XL C 1.02.0.0 rejects this saying
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5029 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5030 struct s { int j; const int *ap[3]; };
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5031 struct s *b; b->j = 5;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5032 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5033 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5034 const int foo = 10;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5035 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5036 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5037
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5038 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5039 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5040 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5041 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5042 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5043 if { (eval echo "$as_me:5043: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5044 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5045 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5046 echo "$as_me:5046: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5047 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5048 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5049 { (eval echo "$as_me:5049: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5050 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5051 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5052 echo "$as_me:5052: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5053 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5054 ac_cv_c_const=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5055 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5056 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5057 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5058 ac_cv_c_const=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5059 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5060 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5061 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5062 echo "$as_me:5062: result: $ac_cv_c_const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5063 echo "${ECHO_T}$ac_cv_c_const" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5064 if test $ac_cv_c_const = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5065
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5066 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5067 #define const
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5068 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5069
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5070 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5071
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5072 echo "$as_me:5072: checking for void * support" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5073 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5074 if test "${emacs_cv_void_star+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5076 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5077 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5078 #line 5078 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5079 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5080
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5081 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5082 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5083 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5084 void * foo;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5085 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5086 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5087 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5088 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5089 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5090 if { (eval echo "$as_me:5090: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5091 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5092 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5093 echo "$as_me:5093: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5094 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5095 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5096 { (eval echo "$as_me:5096: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5097 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5098 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5099 echo "$as_me:5099: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5100 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5101 emacs_cv_void_star=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5102 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5103 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5104 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5105 emacs_cv_void_star=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5106 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5107 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5108 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5109 echo "$as_me:5109: result: $emacs_cv_void_star" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5110 echo "${ECHO_T}$emacs_cv_void_star" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5111 if test $emacs_cv_void_star = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5112 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5113 #define POINTER_TYPE void
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5114 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5115
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5116 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5117 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5118 #define POINTER_TYPE char
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5119 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5120
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5121 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5122
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5123 echo "$as_me:5123: checking whether ${MAKE-make} sets \${MAKE}" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5124 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5125 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5126 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5128 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5129 cat >conftest.make <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5130 all:
Dave Love <fx@gnu.org>
parents:
diff changeset
5131 @echo 'ac_maketemp="${MAKE}"'
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5132 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5133 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5134 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5135 if test -n "$ac_maketemp"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5136 eval ac_cv_prog_make_${ac_make}_set=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5137 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5138 eval ac_cv_prog_make_${ac_make}_set=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5139 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5140 rm -f conftest.make
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5141 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5142 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5143 echo "$as_me:5143: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5144 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5145 SET_MAKE=
Dave Love <fx@gnu.org>
parents:
diff changeset
5146 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5147 echo "$as_me:5147: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5148 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5149 SET_MAKE="MAKE=${MAKE-make}"
Dave Love <fx@gnu.org>
parents:
diff changeset
5150 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5151
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5152 echo "$as_me:5152: checking for long file names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5153 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5154 if test "${ac_cv_sys_long_file_names+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5156 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5157 ac_cv_sys_long_file_names=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5158 # Test for long file names in all the places we know might matter:
Dave Love <fx@gnu.org>
parents:
diff changeset
5159 # . the current directory, where building will happen
Dave Love <fx@gnu.org>
parents:
diff changeset
5160 # $prefix/lib where we will be installing things
Dave Love <fx@gnu.org>
parents:
diff changeset
5161 # $exec_prefix/lib likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5162 # eval it to expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
5163 # $TMPDIR if set, where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5164 # if $TMPDIR is not set:
Dave Love <fx@gnu.org>
parents:
diff changeset
5165 # /tmp where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5166 # /var/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5167 # /usr/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5168 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5169 ac_tmpdirs=$TMPDIR
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5170 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5171 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
Dave Love <fx@gnu.org>
parents:
diff changeset
5172 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5173 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5174 test -d $ac_dir || continue
Dave Love <fx@gnu.org>
parents:
diff changeset
5175 test -w $ac_dir || continue # It is less confusing to not echo anything here.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5176 ac_xdir=$ac_dir/cf$$
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5177 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5178 ac_tf1=$ac_xdir/conftest9012345
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5179 ac_tf2=$ac_xdir/conftest9012346
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5180 (echo 1 >$ac_tf1) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5181 (echo 2 >$ac_tf2) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5182 ac_val=`cat $ac_tf1 2>/dev/null`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5183 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5184 ac_cv_sys_long_file_names=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5185 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5186 break
Dave Love <fx@gnu.org>
parents:
diff changeset
5187 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5188 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5189 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5190 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5191 echo "$as_me:5191: result: $ac_cv_sys_long_file_names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5192 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5193 if test $ac_cv_sys_long_file_names = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5194
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5195 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5196 #define HAVE_LONG_FILE_NAMES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5197 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5198
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5199 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5200
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5201 #### Choose a window system.
Dave Love <fx@gnu.org>
parents:
diff changeset
5202
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5203 echo "$as_me:5203: checking for X" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5204 echo $ECHO_N "checking for X... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5205
Dave Love <fx@gnu.org>
parents:
diff changeset
5206 # Check whether --with-x or --without-x was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
5207 if test "${with_x+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5208 withval="$with_x"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5209
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5210 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5211 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
Dave Love <fx@gnu.org>
parents:
diff changeset
5212 if test "x$with_x" = xno; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5213 # The user explicitly disabled X.
Dave Love <fx@gnu.org>
parents:
diff changeset
5214 have_x=disabled
Dave Love <fx@gnu.org>
parents:
diff changeset
5215 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5216 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5217 # Both variables are already set.
Dave Love <fx@gnu.org>
parents:
diff changeset
5218 have_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5219 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5220 if test "${ac_cv_have_x+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5221 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5222 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5223 # One or both of the vars are not set, and there is no cached value.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5224 ac_x_includes=no ac_x_libraries=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5225 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5226 if mkdir conftest.dir; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5227 cd conftest.dir
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5228 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5229 cat >Imakefile <<'EOF'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5230 acfindx:
Dave Love <fx@gnu.org>
parents:
diff changeset
5231 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5232 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5233 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Dave Love <fx@gnu.org>
parents:
diff changeset
5235 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
Dave Love <fx@gnu.org>
parents:
diff changeset
5236 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
Dave Love <fx@gnu.org>
parents:
diff changeset
5237 for ac_extension in a so sl; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5238 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5239 test -f $ac_im_libdir/libX11.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5240 ac_im_usrlibdir=$ac_im_libdir; break
Dave Love <fx@gnu.org>
parents:
diff changeset
5241 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5242 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5243 # Screen out bogus values from the imake configuration. They are
Dave Love <fx@gnu.org>
parents:
diff changeset
5244 # bogus both because they are the default anyway, and because
Dave Love <fx@gnu.org>
parents:
diff changeset
5245 # using them would break gcc on systems where it needs fixed includes.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5246 case $ac_im_incroot in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5247 /usr/include) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5248 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5249 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5250 case $ac_im_usrlibdir in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5251 /usr/lib | /lib) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5252 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5253 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5254 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5255 cd ..
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5256 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5257 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5258
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5259 # Standard set of common directories for X headers.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5260 # Check X11 before X11Rn because it is often a symlink to the current release.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5261 ac_x_header_dirs='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5262 /usr/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5263 /usr/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5264 /usr/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5265 /usr/X11R4/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5266
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5267 /usr/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5268 /usr/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5269 /usr/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5270 /usr/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5271
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5272 /usr/local/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5273 /usr/local/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5274 /usr/local/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5275 /usr/local/X11R4/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5276
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5277 /usr/local/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5278 /usr/local/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5279 /usr/local/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5280 /usr/local/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5281
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5282 /usr/X386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5283 /usr/x386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5284 /usr/XFree86/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5285
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5286 /usr/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5287 /usr/local/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5288 /usr/unsupported/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5289 /usr/athena/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5290 /usr/local/x11r5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5291 /usr/lpp/Xamples/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5292
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5293 /usr/openwin/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5294 /usr/openwin/share/include'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5295
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5296 if test "$ac_x_includes" = no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5297 # Guess where to find include files, by looking for Intrinsic.h.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5298 # First, try using that file with no special directory specified.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5299 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5300 #line 5300 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5301 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5302 #include <X11/Intrinsic.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5303 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5304 if { (eval echo "$as_me:5304: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5306 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5307 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5308 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5309 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5310 echo "$as_me:5310: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5311 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5312 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5313 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5314 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5315 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5316 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5317 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5318 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5319 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5320 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5321 # We can compile using X headers with no special include directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
5322 ac_x_includes=
Dave Love <fx@gnu.org>
parents:
diff changeset
5323 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5324 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5325 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5326 for ac_dir in $ac_x_header_dirs; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5327 if test -r "$ac_dir/X11/Intrinsic.h"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5328 ac_x_includes=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5329 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5330 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5331 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5332 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5333 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5334 fi # $ac_x_includes = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5335
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5336 if test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5337 # Check for the libraries.
Dave Love <fx@gnu.org>
parents:
diff changeset
5338 # See if we find them without any special options.
Dave Love <fx@gnu.org>
parents:
diff changeset
5339 # Don't add to $LIBS permanently.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5340 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5341 LIBS="-lXt $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5342 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5343 #line 5343 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5344 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5345 #include <X11/Intrinsic.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5346 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5347 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5348 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5349 XtMalloc (0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5350 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5351 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5352 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5353 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5354 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5355 if { (eval echo "$as_me:5355: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5356 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5357 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5358 echo "$as_me:5358: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5359 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5360 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5361 { (eval echo "$as_me:5361: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5362 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5363 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5364 echo "$as_me:5364: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5365 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5366 LIBS=$ac_save_LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5367 # We can link X programs with no special library path.
Dave Love <fx@gnu.org>
parents:
diff changeset
5368 ac_x_libraries=
Dave Love <fx@gnu.org>
parents:
diff changeset
5369 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5370 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5371 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5372 LIBS=$ac_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5373 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5374 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5375 # Don't even attempt the hair of trying to link an X program!
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5376 for ac_extension in a so sl; do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5377 if test -r $ac_dir/libXt.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5378 ac_x_libraries=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
5379 break 2
Dave Love <fx@gnu.org>
parents:
diff changeset
5380 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5381 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5382 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5383 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5385 fi # $ac_x_libraries = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5386
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5387 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5388 # Didn't find X anywhere. Cache the known absence of X.
Dave Love <fx@gnu.org>
parents:
diff changeset
5389 ac_cv_have_x="have_x=no"
Dave Love <fx@gnu.org>
parents:
diff changeset
5390 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5391 # Record where we found X for the cache.
Dave Love <fx@gnu.org>
parents:
diff changeset
5392 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
5393 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
Dave Love <fx@gnu.org>
parents:
diff changeset
5394 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5395 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5396
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5397 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5398 eval "$ac_cv_have_x"
Dave Love <fx@gnu.org>
parents:
diff changeset
5399 fi # $with_x != no
Dave Love <fx@gnu.org>
parents:
diff changeset
5400
Dave Love <fx@gnu.org>
parents:
diff changeset
5401 if test "$have_x" != yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5402 echo "$as_me:5402: result: $have_x" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5403 echo "${ECHO_T}$have_x" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5404 no_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5405 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5406 # If each of the values was on the command line, it overrides each guess.
Dave Love <fx@gnu.org>
parents:
diff changeset
5407 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
Dave Love <fx@gnu.org>
parents:
diff changeset
5408 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
Dave Love <fx@gnu.org>
parents:
diff changeset
5409 # Update the cache value to reflect the command line values.
Dave Love <fx@gnu.org>
parents:
diff changeset
5410 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
5411 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5412 echo "$as_me:5412: result: libraries $x_libraries, headers $x_includes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5413 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5414 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5415
Dave Love <fx@gnu.org>
parents:
diff changeset
5416 if test "$no_x" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5417 window_system=none
Dave Love <fx@gnu.org>
parents:
diff changeset
5418 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5419 window_system=x11
Dave Love <fx@gnu.org>
parents:
diff changeset
5420 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5421
Dave Love <fx@gnu.org>
parents:
diff changeset
5422 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5423 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5424 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5425 x_default_search_path=""
Dave Love <fx@gnu.org>
parents:
diff changeset
5426 for x_library in `echo ${x_libraries} | sed -e "s/:/ /g"`; do
35666
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5427 x_search_path="\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5428 ${x_library}/X11/%L/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5429 ${x_library}/X11/%l/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5430 ${x_library}/X11/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5431 ${x_library}/X11/%L/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5432 ${x_library}/X11/%l/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5433 ${x_library}/X11/%T/%N%S"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5434 if test x"${x_default_search_path}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5435 x_default_search_path=${x_search_path}
Dave Love <fx@gnu.org>
parents:
diff changeset
5436 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5437 x_default_search_path="${x_search_path}:${x_default_search_path}"
Dave Love <fx@gnu.org>
parents:
diff changeset
5438 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5439 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5440 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5441 if test "${x_includes}" != NONE && test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5442 C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5443 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5444
Dave Love <fx@gnu.org>
parents:
diff changeset
5445 if test x"${x_includes}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5446 bitmapdir=/usr/include/X11/bitmaps
Dave Love <fx@gnu.org>
parents:
diff changeset
5447 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5448 # accumulate include directories that have X11 bitmap subdirectories
Dave Love <fx@gnu.org>
parents:
diff changeset
5449 bmd_acc="dummyval"
Dave Love <fx@gnu.org>
parents:
diff changeset
5450 for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5451 if test -d "${bmd}/X11/bitmaps"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5452 bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps"
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
5453 fi
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
5454 if test -d "${bmd}/bitmaps"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5455 bmd_acc="${bmd_acc}:${bmd}/bitmaps"
Dave Love <fx@gnu.org>
parents:
diff changeset
5456 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5457 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5458 if test ${bmd_acc} != "dummyval"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5459 bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5460 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5461 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5462
Dave Love <fx@gnu.org>
parents:
diff changeset
5463 case "${window_system}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5464 x11 )
Dave Love <fx@gnu.org>
parents:
diff changeset
5465 HAVE_X_WINDOWS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5466 HAVE_X11=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5467 case "${with_x_toolkit}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5468 athena | lucid ) USE_X_TOOLKIT=LUCID ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5469 motif ) USE_X_TOOLKIT=MOTIF ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5470 no ) USE_X_TOOLKIT=none ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5471 * ) USE_X_TOOLKIT=maybe ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5472 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5473 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5474 none )
Dave Love <fx@gnu.org>
parents:
diff changeset
5475 HAVE_X_WINDOWS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5476 HAVE_X11=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5477 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
5478 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5479 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5480
Dave Love <fx@gnu.org>
parents:
diff changeset
5481 ### If we're using X11, we should use the X menu package.
Dave Love <fx@gnu.org>
parents:
diff changeset
5482 HAVE_MENUS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5483 case ${HAVE_X11} in
Dave Love <fx@gnu.org>
parents:
diff changeset
5484 yes ) HAVE_MENUS=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5485 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5486
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5487 if test "${opsys}" = "hpux9"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5488 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5489 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
5490 opsysfile="s/hpux9-x11r4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5491 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5492 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5493 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5494
Dave Love <fx@gnu.org>
parents:
diff changeset
5495 if test "${opsys}" = "hpux9shr"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5496 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5497 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
5498 opsysfile="s/hpux9shxr4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5499 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5500 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5501 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5502
Dave Love <fx@gnu.org>
parents:
diff changeset
5503 ### Compute the unexec source name from the object name.
Dave Love <fx@gnu.org>
parents:
diff changeset
5504 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
5505
Dave Love <fx@gnu.org>
parents:
diff changeset
5506 # Do the opsystem or machine files prohibit the use of the GNU malloc?
Dave Love <fx@gnu.org>
parents:
diff changeset
5507 # Assume not, until told otherwise.
Dave Love <fx@gnu.org>
parents:
diff changeset
5508 GNU_MALLOC=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5509 doug_lea_malloc=yes
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5510 echo "$as_me:5510: checking for malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5511 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5512 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5514 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5515 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5516 #line 5516 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5517 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5518 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5519 which can conflict with char malloc_get_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5520 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5521 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5522 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5523 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5524 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5525 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5526 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5527 char malloc_get_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5528 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5529
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5530 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5531 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5532 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5533 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
5534 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
5535 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5536 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
5537 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
5538 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5539 f = malloc_get_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5540 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5541
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5542 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5543 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5544 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5545 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5546 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5547 if { (eval echo "$as_me:5547: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5548 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5549 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5550 echo "$as_me:5550: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5551 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5552 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5553 { (eval echo "$as_me:5553: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5554 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5555 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5556 echo "$as_me:5556: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5557 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5558 ac_cv_func_malloc_get_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5559 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5560 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5561 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5562 ac_cv_func_malloc_get_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5563 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5565 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5566 echo "$as_me:5566: result: $ac_cv_func_malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5567 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5568 if test $ac_cv_func_malloc_get_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5569 :
Dave Love <fx@gnu.org>
parents:
diff changeset
5570 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5571 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5572 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5573
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5574 echo "$as_me:5574: checking for malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5575 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5576 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5577 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5578 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5579 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5580 #line 5580 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5581 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5582 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5583 which can conflict with char malloc_set_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5584 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5585 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5586 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5587 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5588 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5589 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5590 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5591 char malloc_set_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5592 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5593
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5594 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5595 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5596 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5597 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
5598 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
5599 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5600 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
5601 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
5602 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5603 f = malloc_set_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5604 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5605
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5606 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5607 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5608 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5609 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5610 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5611 if { (eval echo "$as_me:5611: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5612 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5613 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5614 echo "$as_me:5614: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5615 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5616 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5617 { (eval echo "$as_me:5617: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5618 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5619 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5620 echo "$as_me:5620: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5621 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5622 ac_cv_func_malloc_set_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5623 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5624 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5625 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5626 ac_cv_func_malloc_set_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5627 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5629 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5630 echo "$as_me:5630: result: $ac_cv_func_malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5631 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5632 if test $ac_cv_func_malloc_set_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5633 :
Dave Love <fx@gnu.org>
parents:
diff changeset
5634 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5635 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5636 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5637
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5638 echo "$as_me:5638: checking whether __after_morecore_hook exists" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5639 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5640 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5642 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5643 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5644 #line 5644 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5645 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5646 extern void (* __after_morecore_hook)();
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5647 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5648 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5649 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5650 __after_morecore_hook = 0
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5651 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5652 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5653 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5654 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5655 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5656 if { (eval echo "$as_me:5656: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5657 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5658 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5659 echo "$as_me:5659: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5660 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5661 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5662 { (eval echo "$as_me:5662: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5663 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5664 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5665 echo "$as_me:5665: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5666 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5667 emacs_cv_var___after_morecore_hook=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5668 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5669 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5670 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5671 emacs_cv_var___after_morecore_hook=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5672 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5673 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5674 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5675 echo "$as_me:5675: result: $emacs_cv_var___after_morecore_hook" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5676 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5677 if test $emacs_cv_var___after_morecore_hook = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5678 doug_lea_malloc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5679 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5680 if test "${system_malloc}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5681 GNU_MALLOC=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5682 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
5683 (The GNU allocators don't work with this system configuration.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
5684 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5685 if test "$doug_lea_malloc" = "yes" ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5686 if test "$GNU_MALLOC" = yes ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5687 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
5688 (Using Doug Lea's new malloc from the GNU C Library.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
5689 fi
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
5690
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5691 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5692 #define DOUG_LEA_MALLOC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5693 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5694
Dave Love <fx@gnu.org>
parents:
diff changeset
5695 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5696
Dave Love <fx@gnu.org>
parents:
diff changeset
5697 if test x"${REL_ALLOC}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5698 REL_ALLOC=${GNU_MALLOC}
Dave Love <fx@gnu.org>
parents:
diff changeset
5699 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5700
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5701 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5702
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5703 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5704 inttypes.h stdint.h unistd.h
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5705 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5707 echo "$as_me:5707: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5710 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5711 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5712 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5713 #line 5713 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5714 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5715 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5716 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5717 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5718 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5719 if { (eval echo "$as_me:5719: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5720 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5721 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5722 echo "$as_me:5722: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5723 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5724 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5725 { (eval echo "$as_me:5725: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5726 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5727 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5728 echo "$as_me:5728: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5729 (exit $ac_status); }; }; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5730 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5731 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5732 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5733 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5734 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5735 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5736 rm -f conftest.$ac_objext conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5737 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5738 echo "$as_me:5738: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5739 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5741 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5743 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5744
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5745 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5746 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5747
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5748 for ac_header in stdlib.h unistd.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5749 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5751 echo "$as_me:5751: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5754 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5755 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5756 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5757 #line 5757 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5758 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5759 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5760 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5761 if { (eval echo "$as_me:5761: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5763 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5764 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5765 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5766 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5767 echo "$as_me:5767: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5768 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5769 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5770 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5771 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5772 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5773 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5774 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5775 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5776 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5777 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5778 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5779 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5780 echo "$as_me: failed program was:" >&5
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5781 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5782 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5783 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5784 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5785 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5786 echo "$as_me:5786: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5789 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5791 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5792
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5793 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5794 done
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5795
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5796 for ac_func in getpagesize
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5797 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5799 echo "$as_me:5799: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5801 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5803 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5804 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5805 #line 5805 "configure"
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5806 #include "confdefs.h"
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5807 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5808 which can conflict with char $ac_func (); below. */
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5809 #include <assert.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5810 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5811 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5812 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5813 #endif
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5814 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5815 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5816 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5817 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5818
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5819 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5820 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5821 {
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5822 /* The GNU C library defines this for functions which it implements
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5823 to always fail with ENOSYS. Some functions are actually named
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5824 something starting with __ and the normal name is an alias. */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5826 choke me
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5827 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5828 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5829 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5830
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5831 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5832 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5833 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5834 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5835 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5836 if { (eval echo "$as_me:5836: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5837 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5838 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5839 echo "$as_me:5839: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5840 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5841 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5842 { (eval echo "$as_me:5842: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5843 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5844 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5845 echo "$as_me:5845: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5846 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5847 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5848 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5849 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5850 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5851 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5852 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5854 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5855 echo "$as_me:5855: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5857 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5858 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5860 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5861
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5862 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5863 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5864
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5865 echo "$as_me:5865: checking for working mmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5866 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5867 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5868 echo $ECHO_N "(cached) $ECHO_C" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5869 else
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5870 if test "$cross_compiling" = yes; then
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5871 ac_cv_func_mmap_fixed_mapped=no
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5872 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5873 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
5874 #line 5874 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5875 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5876 $ac_includes_default
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5877 /* Thanks to Mike Haertel and Jim Avera for this test.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5878 Here is a matrix of mmap possibilities:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5879 mmap private not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5880 mmap private fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5881 mmap private fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5882 mmap shared not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5883 mmap shared fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5884 mmap shared fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5885 For private mappings, we should verify that changes cannot be read()
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5886 back from the file, nor mmap's back from the file at a different
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5887 address. (There have been systems where private was not correctly
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5888 implemented like the infamous i386 svr4.0, and systems where the
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5889 VM page cache was not coherent with the file system buffer cache
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5890 like early versions of FreeBSD and possibly contemporary NetBSD.)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5891 For shared mappings, we should conversely verify that changes get
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5892 propogated back to all the places they're supposed to be.
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5893
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5894 Grep wants private fixed already mapped.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5895 The main things grep needs to know about mmap are:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5896 * does it exist and is it safe to write into the mmap'd area
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5897 * how to use it (BSD variants) */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5898
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5899 #include <fcntl.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5900 #include <sys/mman.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5901
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5902 #if !STDC_HEADERS && !HAVE_STDLIB_H
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5903 char *malloc ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5904 #endif
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5905
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5906 /* This mess was copied from the GNU getpagesize.h. */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5907 #if !HAVE_GETPAGESIZE
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5908 /* Assume that all systems that can run configure have sys/param.h. */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5909 # if !HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5910 # define HAVE_SYS_PARAM_H 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5911 # endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5912
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5913 # ifdef _SC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5914 # define getpagesize() sysconf(_SC_PAGESIZE)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5915 # else /* no _SC_PAGESIZE */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5916 # if HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5917 # include <sys/param.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5918 # ifdef EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5919 # define getpagesize() EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5920 # else /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5921 # ifdef NBPG
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5922 # define getpagesize() NBPG * CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5923 # ifndef CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5924 # define CLSIZE 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5925 # endif /* no CLSIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5926 # else /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5927 # ifdef NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5928 # define getpagesize() NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5929 # else /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5930 # ifdef PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5931 # define getpagesize() PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5932 # endif /* PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5933 # endif /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5934 # endif /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5935 # endif /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5936 # else /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5937 # define getpagesize() 8192 /* punt totally */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5938 # endif /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5939 # endif /* no _SC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5940
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5941 #endif /* no HAVE_GETPAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5942
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5943 int
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5944 main ()
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5945 {
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5946 char *data, *data2, *data3;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5947 int i, pagesize;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5948 int fd;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5949
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5950 pagesize = getpagesize ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5951
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5952 /* First, make a file with some known garbage in it. */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5953 data = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5954 if (!data)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5955 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5956 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5957 *(data + i) = rand ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5958 umask (0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5959 fd = creat ("conftest.mmap", 0600);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5960 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5961 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5962 if (write (fd, data, pagesize) != pagesize)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5963 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5964 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5965
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5966 /* Next, try to mmap the file at a fixed address which already has
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5967 something else allocated at it. If we can, also make sure that
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5968 we see the same garbage. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5969 fd = open ("conftest.mmap", O_RDWR);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5970 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5971 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5972 data2 = (char *) malloc (2 * pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5973 if (!data2)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5974 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5975 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5976 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5977 MAP_PRIVATE | MAP_FIXED, fd, 0L))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5978 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5979 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5980 if (*(data + i) != *(data2 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5981 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5982
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5983 /* Finally, make sure that changes to the mapped area do not
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5984 percolate back to the file as seen by read(). (This is a bug on
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5985 some variants of i386 svr4.0.) */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5986 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5987 *(data2 + i) = *(data2 + i) + 1;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5988 data3 = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5989 if (!data3)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5990 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5991 if (read (fd, data3, pagesize) != pagesize)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5992 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5993 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5994 if (*(data + i) != *(data3 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5995 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5996 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5997 exit (0);
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5998 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5999 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6000 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6001 if { (eval echo "$as_me:6001: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6002 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6003 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6004 echo "$as_me:6004: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6006 { (eval echo "$as_me:6006: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6007 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6008 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6009 echo "$as_me:6009: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6010 (exit $ac_status); }; }; then
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6011 ac_cv_func_mmap_fixed_mapped=yes
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6012 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6013 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6014 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6015 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6016 ac_cv_func_mmap_fixed_mapped=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6017 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6018 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6019 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6020 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6021 echo "$as_me:6021: result: $ac_cv_func_mmap_fixed_mapped" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6022 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6023 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6024
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6025 cat >>confdefs.h <<\EOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6026 #define HAVE_MMAP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6027 EOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6028
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6029 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6030 rm -f conftest.mmap
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6031
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6032 if test $use_mmap_for_buffers = yes; then
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6033 REL_ALLOC=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6034 fi
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6035
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6036 LIBS="$libsrc_libs $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6037
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6038 echo "$as_me:6038: checking for dnet_ntoa in -ldnet" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6039 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6040 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6042 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6043 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6044 LIBS="-ldnet $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6045 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6046 #line 6046 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6047 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6048
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6049 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6050 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6051 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6052 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6053 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6054 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6055 char dnet_ntoa ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6056 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6057 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6058 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6059 dnet_ntoa ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6060 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6061 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6062 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6063 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6064 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6065 if { (eval echo "$as_me:6065: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6066 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6067 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6068 echo "$as_me:6068: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6069 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6070 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6071 { (eval echo "$as_me:6071: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6072 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6073 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6074 echo "$as_me:6074: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6075 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6076 ac_cv_lib_dnet_dnet_ntoa=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6077 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6078 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6079 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6080 ac_cv_lib_dnet_dnet_ntoa=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6081 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6083 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6084 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6085 echo "$as_me:6085: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6086 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6087 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6088 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6089 #define HAVE_LIBDNET 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6090 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6091
Dave Love <fx@gnu.org>
parents:
diff changeset
6092 LIBS="-ldnet $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6093
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6094 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6095
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6096 echo "$as_me:6096: checking for main in -lXbsd" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6097 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6098 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6099 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6100 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6101 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6102 LIBS="-lXbsd $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6103 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6104 #line 6104 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6105 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6106
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6107 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6108 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6109 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6110 main ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6111 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6112 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6113 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6114 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6115 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6116 if { (eval echo "$as_me:6116: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6117 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6118 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6119 echo "$as_me:6119: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6120 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6121 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6122 { (eval echo "$as_me:6122: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6123 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6124 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6125 echo "$as_me:6125: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6126 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6127 ac_cv_lib_Xbsd_main=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6128 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6129 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6130 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6131 ac_cv_lib_Xbsd_main=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6132 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6134 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6135 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6136 echo "$as_me:6136: result: $ac_cv_lib_Xbsd_main" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6137 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6138 if test $ac_cv_lib_Xbsd_main = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6139 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6140 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6141
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6142 echo "$as_me:6142: checking for cma_open in -lpthreads" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6143 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6144 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6145 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6146 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6147 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6148 LIBS="-lpthreads $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6149 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6150 #line 6150 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6151 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6152
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6153 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6154 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6155 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6156 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6157 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6158 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6159 char cma_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6160 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6161 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6162 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6163 cma_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6164 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6165 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6166 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6167 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6168 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6169 if { (eval echo "$as_me:6169: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6170 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6171 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6172 echo "$as_me:6172: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6173 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6174 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6175 { (eval echo "$as_me:6175: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6176 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6177 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6178 echo "$as_me:6178: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6179 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6180 ac_cv_lib_pthreads_cma_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6181 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6182 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6183 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6184 ac_cv_lib_pthreads_cma_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6185 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6187 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6188 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6189 echo "$as_me:6189: result: $ac_cv_lib_pthreads_cma_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6190 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6191 if test $ac_cv_lib_pthreads_cma_open = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6192 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6193 #define HAVE_LIBPTHREADS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6194 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6195
Dave Love <fx@gnu.org>
parents:
diff changeset
6196 LIBS="-lpthreads $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6197
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6198 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6199
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6200 echo "$as_me:6200: checking for XFree86 in /usr/X386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6201 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6202 if test -d /usr/X386/include; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6203 HAVE_XFREE386=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6204 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
Dave Love <fx@gnu.org>
parents:
diff changeset
6205 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6206 HAVE_XFREE386=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6207 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6208 echo "$as_me:6208: result: $HAVE_XFREE386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6209 echo "${ECHO_T}$HAVE_XFREE386" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6210
Dave Love <fx@gnu.org>
parents:
diff changeset
6211 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
Dave Love <fx@gnu.org>
parents:
diff changeset
6212 # for the tests that follow. We set it back to REAL_CFLAGS later on.
Dave Love <fx@gnu.org>
parents:
diff changeset
6213
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
6214 REAL_CPPFLAGS="$CPPFLAGS"
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
6215
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6216 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6217 DEFS="$C_SWITCH_X_SITE $DEFS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6218 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6219 LIBS="$LIBX $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6220 CFLAGS="$C_SWITCH_X_SITE $CFLAGS"
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
6221 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6222
Dave Love <fx@gnu.org>
parents:
diff changeset
6223 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
6224 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
Dave Love <fx@gnu.org>
parents:
diff changeset
6225 # but it's more convenient here to set LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6226 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
Dave Love <fx@gnu.org>
parents:
diff changeset
6227 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6228 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6229 export LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6230 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6231
Dave Love <fx@gnu.org>
parents:
diff changeset
6232 if test "${opsys}" = "gnu-linux"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6233 echo "$as_me:6233: checking whether X on GNU/Linux needs -b to link" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6234 echo $ECHO_N "checking whether X on GNU/Linux needs -b to link... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6235 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6236 #line 6236 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6237 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6238
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6239 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6240 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6241 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6242 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6243 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6244 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6245 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6246 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6247 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6248 if { (eval echo "$as_me:6248: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6249 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6250 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6251 echo "$as_me:6251: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6252 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6253 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6254 { (eval echo "$as_me:6254: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6255 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6256 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6257 echo "$as_me:6257: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6258 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6259 xlinux_first_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6260 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6261 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6262 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6263 xlinux_first_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6264 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6266 if test "${xlinux_first_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6267 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6268 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6269 OLD_CPPFLAGS="$CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6270 OLD_LIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6271 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6272 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6273 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6274 LIBS="$LIBS -b i486-linuxaout"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6275 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6276 #line 6276 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6277 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6278
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6279 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6280 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6281 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6282 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6283 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6284 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6285 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6286 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6287 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6288 if { (eval echo "$as_me:6288: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6289 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6290 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6291 echo "$as_me:6291: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6292 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6293 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6294 { (eval echo "$as_me:6294: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6295 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6296 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6297 echo "$as_me:6297: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6298 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6299 xlinux_second_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6300 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6301 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6302 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6303 xlinux_second_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6304 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6306 if test "${xlinux_second_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6307 # If we get the same failure with -b, there is no use adding -b.
Dave Love <fx@gnu.org>
parents:
diff changeset
6308 # So take it out. This plays safe.
Dave Love <fx@gnu.org>
parents:
diff changeset
6309 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6310 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6311 CPPFLAGS="$OLD_CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6312 LIBS="$OLD_LIBS"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6313 echo "$as_me:6313: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6314 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6315 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6316 echo "$as_me:6316: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6317 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6318 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6319 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6320 echo "$as_me:6320: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6321 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6322 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6323 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6324
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6325 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6326 # header files included from there.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6327 echo "$as_me:6327: checking for Xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6328 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6329 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6330 #line 6330 "configure"
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6331 #include "confdefs.h"
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6332 #include <X11/Xlib.h>
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6333 #include <X11/XKBlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6334 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6335 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6336 {
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6337 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6338 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6339 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6340 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6341 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6342 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6343 if { (eval echo "$as_me:6343: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6344 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6345 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6346 echo "$as_me:6346: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6347 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6348 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6349 { (eval echo "$as_me:6349: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6350 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6351 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6352 echo "$as_me:6352: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6353 (exit $ac_status); }; }; then
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6354 emacs_xkb=yes
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6355 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6356 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6357 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6358 emacs_xkb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6359 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6360 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6361 echo "$as_me:6361: result: $emacs_xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6362 echo "${ECHO_T}$emacs_xkb" >&6
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6363 if test $emacs_xkb = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6364
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6365 cat >>confdefs.h <<\EOF
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6366 #define HAVE_XKBGETKEYBOARD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6367 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6368
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6369 fi
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6370
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6371 for ac_func in XrmSetDatabase XScreenResourceString \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6372 XScreenNumberOfScreen XSetWMProtocols
Dave Love <fx@gnu.org>
parents:
diff changeset
6373 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6375 echo "$as_me:6375: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6377 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6379 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6380 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6381 #line 6381 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6382 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6383 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6384 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6385 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6386 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6387 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6388 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6389 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6390 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6391 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6392 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6393 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6394
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6395 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6396 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6397 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6398 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
6399 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
6400 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
6401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
6402 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
6403 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6404 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6405 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6406
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6407 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6408 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6409 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6410 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6411 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6412 if { (eval echo "$as_me:6412: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6413 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6414 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6415 echo "$as_me:6415: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6416 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6417 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6418 { (eval echo "$as_me:6418: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6419 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6420 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6421 echo "$as_me:6421: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6422 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6423 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6424 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6425 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6426 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6427 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6428 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6429 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6430 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6431 echo "$as_me:6431: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6433 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6434 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6436 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6437
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6438 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6439 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6440
Dave Love <fx@gnu.org>
parents:
diff changeset
6441 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6442
Dave Love <fx@gnu.org>
parents:
diff changeset
6443 if test "${window_system}" = "x11"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6444 echo "$as_me:6444: checking X11 version 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6445 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6446 if test "${emacs_cv_x11_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6447 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6448 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6449 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6450 #line 6450 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6451 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6452 #include <X11/Xlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6453 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6454 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6455 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6456 #if XlibSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
6457 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6458 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6459
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6460 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6461 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6462 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6463 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6464 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6465 if { (eval echo "$as_me:6465: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6466 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6467 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6468 echo "$as_me:6468: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6469 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6470 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6471 { (eval echo "$as_me:6471: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6472 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6473 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6474 echo "$as_me:6474: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6475 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6476 emacs_cv_x11_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6477 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6478 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6479 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6480 emacs_cv_x11_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6481 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6483 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6484
Dave Love <fx@gnu.org>
parents:
diff changeset
6485 if test $emacs_cv_x11_version_6 = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6486 echo "$as_me:6486: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6487 echo "${ECHO_T}6 or newer" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6488
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6489 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6490 #define HAVE_X11R6 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6491 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6492
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6493 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6494 echo "$as_me:6494: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6495 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6496 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6497 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6498
Dave Love <fx@gnu.org>
parents:
diff changeset
6499 if test "${window_system}" = "x11"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6500 echo "$as_me:6500: checking X11 version 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6501 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6502 if test "${emacs_cv_x11_version_5+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6504 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6505 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6506 #line 6506 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6507 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6508 #include <X11/Xlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6509 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6510 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6511 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6512 #if XlibSpecificationRelease < 5
Dave Love <fx@gnu.org>
parents:
diff changeset
6513 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6514 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6515
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6516 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6517 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6518 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6519 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6520 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6521 if { (eval echo "$as_me:6521: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6522 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6523 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6524 echo "$as_me:6524: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6525 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6526 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6527 { (eval echo "$as_me:6527: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6528 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6529 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6530 echo "$as_me:6530: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6531 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6532 emacs_cv_x11_version_5=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6533 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6534 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6535 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6536 emacs_cv_x11_version_5=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6537 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6538 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6539 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6540
Dave Love <fx@gnu.org>
parents:
diff changeset
6541 if test $emacs_cv_x11_version_5 = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6542 echo "$as_me:6542: result: 5 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6543 echo "${ECHO_T}5 or newer" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6544 HAVE_X11R5=yes
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6545
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6546 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6547 #define HAVE_X11R5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6548 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6549
Dave Love <fx@gnu.org>
parents:
diff changeset
6550 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6551 HAVE_X11R5=no
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6552 echo "$as_me:6552: result: before 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6553 echo "${ECHO_T}before 5" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6554 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6555 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6556
Dave Love <fx@gnu.org>
parents:
diff changeset
6557 if test x"${USE_X_TOOLKIT}" = xmaybe; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6558 if test x"${HAVE_X11R5}" = xyes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6559 echo "$as_me:6559: checking X11 version 5 with Xaw" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6560 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6561 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6562 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6563 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6564 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6565 #line 6565 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6566 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6567
Dave Love <fx@gnu.org>
parents:
diff changeset
6568 #include <X11/Intrinsic.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6569 #include <X11/Xaw/Simple.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6570 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6571 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6572 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6573
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6574 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6575 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6576 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6577 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6578 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6579 if { (eval echo "$as_me:6579: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6580 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6581 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6582 echo "$as_me:6582: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6583 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6584 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6585 { (eval echo "$as_me:6585: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6586 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6587 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6588 echo "$as_me:6588: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6589 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6590 emacs_cv_x11_version_5_with_xaw=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6591 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6592 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6593 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6594 emacs_cv_x11_version_5_with_xaw=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6595 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6597 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6598
Dave Love <fx@gnu.org>
parents:
diff changeset
6599 if test $emacs_cv_x11_version_5_with_xaw = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6600 echo "$as_me:6600: result: 5 or newer, with Xaw; use toolkit by default" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6601 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6602 USE_X_TOOLKIT=LUCID
Dave Love <fx@gnu.org>
parents:
diff changeset
6603 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6604 echo "$as_me:6604: result: before 5 or no Xaw; do not use toolkit by default" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6605 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6606 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6607 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6608 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6609 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6610 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6611 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6612
Dave Love <fx@gnu.org>
parents:
diff changeset
6613 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
Dave Love <fx@gnu.org>
parents:
diff changeset
6614
Dave Love <fx@gnu.org>
parents:
diff changeset
6615 if test "${USE_X_TOOLKIT}" != "none"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6616 echo "$as_me:6616: checking X11 toolkit version" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6617 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6618 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6620 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6621 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6622 #line 6622 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6623 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6624 #include <X11/Intrinsic.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6625 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6626 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6627 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6628 #if XtSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
6629 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6630 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6631
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6632 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6633 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6634 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6635 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6636 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6637 if { (eval echo "$as_me:6637: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6638 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6639 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6640 echo "$as_me:6640: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6641 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6642 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6643 { (eval echo "$as_me:6643: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6644 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6645 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6646 echo "$as_me:6646: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6647 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6648 emacs_cv_x11_toolkit_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6649 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6650 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6651 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6652 emacs_cv_x11_toolkit_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6653 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6655 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6656
Dave Love <fx@gnu.org>
parents:
diff changeset
6657 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
Dave Love <fx@gnu.org>
parents:
diff changeset
6658 if test $emacs_cv_x11_toolkit_version_6 = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6659 echo "$as_me:6659: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6660 echo "${ECHO_T}6 or newer" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6661
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6662 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6663 #define HAVE_X11XTR6 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6664 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6665
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6666 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6667 echo "$as_me:6667: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6668 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6669 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6670
Dave Love <fx@gnu.org>
parents:
diff changeset
6671 OLDLIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6672 if test x$HAVE_X11XTR6 = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6673 LIBS="-lXt -lSM -lICE $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6674 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6675 LIBS="-lXt $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6676 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6677
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6678 echo "$as_me:6678: checking for XmuConvertStandardSelection in -lXmu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6679 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6680 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6682 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6683 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6684 LIBS="-lXmu $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6685 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6686 #line 6686 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6687 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6688
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6689 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6690 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6691 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6692 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6693 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6694 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6695 char XmuConvertStandardSelection ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6696 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6697 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6698 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6699 XmuConvertStandardSelection ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6700 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6701 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6702 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6703 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6704 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6705 if { (eval echo "$as_me:6705: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6706 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6707 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6708 echo "$as_me:6708: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6709 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6710 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6711 { (eval echo "$as_me:6711: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6712 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6713 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6714 echo "$as_me:6714: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6715 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6716 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6717 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6718 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6719 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6720 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6721 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6723 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6724 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6725 echo "$as_me:6725: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6726 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6727 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6728 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6729 #define HAVE_LIBXMU 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6730 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6731
Dave Love <fx@gnu.org>
parents:
diff changeset
6732 LIBS="-lXmu $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6733
Dave Love <fx@gnu.org>
parents:
diff changeset
6734 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6735
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6736 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6737 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6738
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6739 # On Irix 6.5, at least, we need XShapeQueryExtension from -lXext for Xaw3D.
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6740 if test "${HAVE_X11}" = "yes"; then
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6741 if test "${USE_X_TOOLKIT}" != "none"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6742
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6743 echo "$as_me:6743: checking for XShapeQueryExtension in -lXext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6744 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6745 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6746 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6747 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6748 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6749 LIBS="-lXext $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6750 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6751 #line 6751 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6752 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6753
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6754 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6755 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6756 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6757 #endif
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6758 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6759 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6760 char XShapeQueryExtension ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6761 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6762 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6763 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6764 XShapeQueryExtension ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6765 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6766 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6767 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6768 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6769 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6770 if { (eval echo "$as_me:6770: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6771 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6772 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6773 echo "$as_me:6773: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6774 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6775 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6776 { (eval echo "$as_me:6776: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6777 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6778 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6779 echo "$as_me:6779: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6780 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6781 ac_cv_lib_Xext_XShapeQueryExtension=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6782 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6783 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6784 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6785 ac_cv_lib_Xext_XShapeQueryExtension=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6786 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6788 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6789 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6790 echo "$as_me:6790: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6791 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6792 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6793 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6794 #define HAVE_LIBXEXT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6795 EOF
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6796
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6797 LIBS="-lXext $LIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6798
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6799 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6800
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6801 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6802 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6803
Dave Love <fx@gnu.org>
parents:
diff changeset
6804 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6805 echo "$as_me:6805: checking for LessTif where some systems put it" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6806 echo $ECHO_N "checking for LessTif where some systems put it... $ECHO_C" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6807 if test "${emacs_cv_lesstif+set}" = set; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6809 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6810 cat >conftest.$ac_ext <<_ACEOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6811 #line 6811 "configure"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6812 #include "confdefs.h"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6813 #include </usr/X11R6/LessTif/Motif1.2/include/Xm/Xm.h>
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6814 int
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6815 main ()
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6816 {
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6817 int x = 5;
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6818 ;
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6819 return 0;
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6820 }
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6821 _ACEOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6822 rm -f conftest.$ac_objext
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6823 if { (eval echo "$as_me:6823: \"$ac_compile\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6824 (eval $ac_compile) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6825 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6826 echo "$as_me:6826: \$? = $ac_status" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6827 (exit $ac_status); } &&
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6828 { ac_try='test -s conftest.$ac_objext'
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6829 { (eval echo "$as_me:6829: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6830 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6831 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6832 echo "$as_me:6832: \$? = $ac_status" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6833 (exit $ac_status); }; }; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6834 emacs_cv_lesstif=yes
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6835 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6836 echo "$as_me: failed program was:" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6837 cat conftest.$ac_ext >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6838 emacs_cv_lesstif=no
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6839 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6840 rm -f conftest.$ac_objext conftest.$ac_ext
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6841 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6842 echo "$as_me:6842: result: $emacs_cv_lesstif" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6843 echo "${ECHO_T}$emacs_cv_lesstif" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6844 if test $emacs_cv_lesstif = yes; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6845 CPPFLAGS="-I/usr/X11R6/LessTif/Motif1.2/include $CPPFLAGS"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6846 LDFLAGS="-L/usr/X11R6/LessTif/Motif1.2/lib $LDFLAGS"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6847 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6848 echo "$as_me:6848: checking for Motif version 2.1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6849 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6850 if test "${emacs_cv_motif_version_2_1+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6851 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6852 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6853 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6854 #line 6854 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6855 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6856 #include <Xm/Xm.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6857 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6858 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6859 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6860 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
Dave Love <fx@gnu.org>
parents:
diff changeset
6861 int x = 5;
Dave Love <fx@gnu.org>
parents:
diff changeset
6862 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
6863 Motif version prior to 2.1.
Dave Love <fx@gnu.org>
parents:
diff changeset
6864 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6865 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6866 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6867 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6868 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6869 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6870 if { (eval echo "$as_me:6870: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6871 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6872 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6873 echo "$as_me:6873: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6874 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6875 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6876 { (eval echo "$as_me:6876: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6877 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6878 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6879 echo "$as_me:6879: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6880 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6881 emacs_cv_motif_version_2_1=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6882 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6883 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6884 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6885 emacs_cv_motif_version_2_1=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6886 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6887 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6888 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6889 echo "$as_me:6889: result: $emacs_cv_motif_version_2_1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6890 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6891 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
Dave Love <fx@gnu.org>
parents:
diff changeset
6892 if test $emacs_cv_motif_version_2_1 = yes; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
6893 HAVE_LIBXP=no
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6894
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6895 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6896 #define HAVE_MOTIF_2_1 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6897 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6898
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6899 echo "$as_me:6899: checking for XpCreateContext in -lXp" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6900 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6901 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6902 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6903 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6904 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6905 LIBS="-lXp $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6906 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6907 #line 6907 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6908 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6909
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6910 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6911 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6912 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6913 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6914 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6915 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6916 char XpCreateContext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6917 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6918 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6919 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6920 XpCreateContext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6921 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6922 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6923 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6924 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6925 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6926 if { (eval echo "$as_me:6926: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6927 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6928 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6929 echo "$as_me:6929: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6930 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6931 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6932 { (eval echo "$as_me:6932: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6933 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6934 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6935 echo "$as_me:6935: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6936 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6937 ac_cv_lib_Xp_XpCreateContext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6938 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6939 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6940 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6941 ac_cv_lib_Xp_XpCreateContext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6942 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6944 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6945 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6946 echo "$as_me:6946: result: $ac_cv_lib_Xp_XpCreateContext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6947 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6948 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6949 HAVE_LIBXP=yes
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6950 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6951
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6952 if test ${HAVE_LIBXP} = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6953
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6954 cat >>confdefs.h <<\EOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6955 #define HAVE_LIBXP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6956 EOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6957
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6958 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6959 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6960 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6961
Dave Love <fx@gnu.org>
parents:
diff changeset
6962 ### Is -lXaw3d available?
Dave Love <fx@gnu.org>
parents:
diff changeset
6963 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6964 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6965 if test "${USE_X_TOOLKIT}" != "none"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6966 echo "$as_me:6966: checking for X11/Xaw3d/Scrollbar.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6967 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6968 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6969 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6970 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6971 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6972 #line 6972 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6973 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6974 #include <X11/Xaw3d/Scrollbar.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6975 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6976 if { (eval echo "$as_me:6976: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6978 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6979 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6980 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6981 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
6982 echo "$as_me:6982: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6983 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6984 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6985 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6986 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6987 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6988 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6989 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6990 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6991 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6992 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6993 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6994 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6995 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6996 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6997 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6998 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6999 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7000 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7001 echo "$as_me:7001: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7002 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7003 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7004 echo "$as_me:7004: checking for XawScrollbarSetThumb in -lXaw3d" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7005 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7006 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7007 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7008 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7009 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7010 LIBS="-lXaw3d $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7011 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7012 #line 7012 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7013 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7014
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7015 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7016 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7017 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7018 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7019 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7020 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7021 char XawScrollbarSetThumb ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7022 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7023 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7024 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7025 XawScrollbarSetThumb ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7026 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7027 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7028 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7029 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7030 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7031 if { (eval echo "$as_me:7031: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7032 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7033 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7034 echo "$as_me:7034: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7035 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7036 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7037 { (eval echo "$as_me:7037: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7038 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7039 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7040 echo "$as_me:7040: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7041 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7042 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7043 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7044 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7045 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7046 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7047 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7049 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7050 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7051 echo "$as_me:7051: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7052 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7053 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7054 HAVE_XAW3D=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7055 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7056
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7057 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7058
Dave Love <fx@gnu.org>
parents:
diff changeset
7059 if test "${HAVE_XAW3D}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7060
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7061 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7062 #define HAVE_XAW3D 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7063 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7064
Dave Love <fx@gnu.org>
parents:
diff changeset
7065 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7066 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7067 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7068
Dave Love <fx@gnu.org>
parents:
diff changeset
7069 USE_TOOLKIT_SCROLL_BARS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7070 if test "${with_toolkit_scroll_bars}" != "no"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7071 if test "${USE_X_TOOLKIT}" != "none"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7072 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7073 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7074 #define USE_TOOLKIT_SCROLL_BARS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7075 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7076
Dave Love <fx@gnu.org>
parents:
diff changeset
7077 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7078 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7079 elif test "${HAVE_XAW3D}" = "yes"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7080 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7081 #define USE_TOOLKIT_SCROLL_BARS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7082 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7083
Dave Love <fx@gnu.org>
parents:
diff changeset
7084 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7085 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7086 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7087 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7088
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7089 if test "${with_xim}" != "no"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7090
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7091 cat >>confdefs.h <<\EOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7092 #define USE_XIM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7093 EOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7094
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7095 fi
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7096
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7097 ### Use -lXpm if available, unless `--with-xpm=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7098 HAVE_XPM=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7099 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7100 if test "${with_xpm}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7101 echo "$as_me:7101: checking for X11/xpm.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7102 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7103 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7104 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7105 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7106 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7107 #line 7107 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7108 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7109 #include <X11/xpm.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7110 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7111 if { (eval echo "$as_me:7111: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7113 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7114 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7115 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7116 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7117 echo "$as_me:7117: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7118 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7119 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7120 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7121 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7122 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7123 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7124 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7125 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7126 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7127 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7128 ac_cv_header_X11_xpm_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7129 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7130 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7131 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7132 ac_cv_header_X11_xpm_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7133 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7134 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7135 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7136 echo "$as_me:7136: result: $ac_cv_header_X11_xpm_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7137 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7138 if test $ac_cv_header_X11_xpm_h = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7139 echo "$as_me:7139: checking for XpmReadFileToPixmap in -lXpm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7140 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7141 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7142 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7143 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7144 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7145 LIBS="-lXpm -lX11 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7146 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7147 #line 7147 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7148 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7149
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7150 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7151 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7152 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7153 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7154 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7155 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7156 char XpmReadFileToPixmap ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7157 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7158 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7159 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7160 XpmReadFileToPixmap ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7161 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7162 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7163 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7164 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7165 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7166 if { (eval echo "$as_me:7166: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7167 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7168 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7169 echo "$as_me:7169: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7170 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7171 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7172 { (eval echo "$as_me:7172: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7173 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7174 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7175 echo "$as_me:7175: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7176 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7177 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7178 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7179 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7180 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7181 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7182 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7184 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7185 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7186 echo "$as_me:7186: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7187 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7188 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7189 HAVE_XPM=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7190 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7191
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7192 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7193
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7194 if test "${HAVE_XPM}" = "yes"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7195 echo "$as_me:7195: checking for XpmReturnAllocPixels preprocessor define" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7196 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7197 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7198 #line 7198 "configure"
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7199 #include "confdefs.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7200 #include "X11/xpm.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7201 #ifndef XpmReturnAllocPixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7202 no_return_alloc_pixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7203 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7204
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7205 _ACEOF
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7207 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7208 HAVE_XPM=no
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7209 else
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7210 HAVE_XPM=yes
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7211 fi
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7212 rm -f conftest*
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7213
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7214 if test "${HAVE_XPM}" = "yes"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7215 echo "$as_me:7215: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7216 echo "${ECHO_T}yes" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7217 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7218 echo "$as_me:7218: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7219 echo "${ECHO_T}no" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7220 fi
31320
298f3aff1431 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31229
diff changeset
7221 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7222 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7223
Dave Love <fx@gnu.org>
parents:
diff changeset
7224 if test "${HAVE_XPM}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7225
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7226 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7227 #define HAVE_XPM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7228 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7229
Dave Love <fx@gnu.org>
parents:
diff changeset
7230 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7231 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7232
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7233 ### Use -ljpeg if available, unless `--with-jpeg=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7234 HAVE_JPEG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7235 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7236 if test "${with_jpeg}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7237 echo "$as_me:7237: checking for jerror.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7238 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7239 if test "${ac_cv_header_jerror_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7241 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7242 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7243 #line 7243 "configure"
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7244 #include "confdefs.h"
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7245 #include <jerror.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7246 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7247 if { (eval echo "$as_me:7247: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7249 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7250 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7251 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7252 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7253 echo "$as_me:7253: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7254 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7255 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7256 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7257 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7258 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7259 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7260 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7261 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7262 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7263 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7264 ac_cv_header_jerror_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7265 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7266 echo "$as_me: failed program was:" >&5
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7267 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7268 ac_cv_header_jerror_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7269 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7270 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7271 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7272 echo "$as_me:7272: result: $ac_cv_header_jerror_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7273 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7274 if test $ac_cv_header_jerror_h = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7275 echo "$as_me:7275: checking for jpeg_destroy_compress in -ljpeg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7276 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7277 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7278 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7279 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7280 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7281 LIBS="-ljpeg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7282 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7283 #line 7283 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7284 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7285
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7286 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7287 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7288 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7289 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7290 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7291 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7292 char jpeg_destroy_compress ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7293 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7294 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7295 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7296 jpeg_destroy_compress ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7297 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7298 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7299 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7300 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7301 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7302 if { (eval echo "$as_me:7302: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7303 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7304 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7305 echo "$as_me:7305: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7306 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7307 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7308 { (eval echo "$as_me:7308: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7309 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7310 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7311 echo "$as_me:7311: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7312 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7313 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7314 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7315 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7316 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7317 ac_cv_lib_jpeg_jpeg_destroy_compress=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7318 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7320 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7321 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7322 echo "$as_me:7322: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7323 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7324 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7325 HAVE_JPEG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7326 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7327
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7328 fi
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7329
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7330 fi
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7331
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7332 if test "${HAVE_JPEG}" = "yes"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7333 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7334 #define HAVE_JPEG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7335 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7336
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7337 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7338 #line 7338 "configure"
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7339 #include "confdefs.h"
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7340 #include <jpeglib.h>
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7341 version=JPEG_LIB_VERSION
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7342
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7343 _ACEOF
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7345 egrep "version= *(6[2-9]|[7-9][0-9])" >/dev/null 2>&1; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7346 cat >>confdefs.h <<\EOF
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7347 #define HAVE_JPEG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7348 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7349
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7350 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7351 { echo "$as_me:7351: WARNING: libjpeg found, but not version 6b or later" >&5
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7352 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7353 HAVE_JPEG=no
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7354 fi
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7355 rm -f conftest*
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7356
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7357 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7358 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7359
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7360 ### Use -lpng if available, unless `--with-png=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7361 HAVE_PNG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7362 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7363 if test "${with_png}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7364 echo "$as_me:7364: checking for png.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7365 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7366 if test "${ac_cv_header_png_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7368 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7369 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7370 #line 7370 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7371 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7372 #include <png.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7373 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7374 if { (eval echo "$as_me:7374: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7376 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7377 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7378 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7379 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7380 echo "$as_me:7380: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7381 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7382 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7383 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7384 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7385 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7386 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7387 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7388 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7389 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7390 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7391 ac_cv_header_png_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7392 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7393 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7394 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7395 ac_cv_header_png_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7396 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7397 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7398 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7399 echo "$as_me:7399: result: $ac_cv_header_png_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7400 echo "${ECHO_T}$ac_cv_header_png_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7401 if test $ac_cv_header_png_h = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7402 echo "$as_me:7402: checking for png_get_channels in -lpng" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7403 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7404 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7406 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7407 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7408 LIBS="-lpng -lz -lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7409 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7410 #line 7410 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7411 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7412
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7413 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7414 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7415 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7416 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7417 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7418 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7419 char png_get_channels ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7420 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7421 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7422 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7423 png_get_channels ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7424 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7425 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7426 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7427 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7428 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7429 if { (eval echo "$as_me:7429: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7430 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7431 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7432 echo "$as_me:7432: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7433 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7434 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7435 { (eval echo "$as_me:7435: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7436 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7437 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7438 echo "$as_me:7438: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7439 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7440 ac_cv_lib_png_png_get_channels=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7441 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7442 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7443 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7444 ac_cv_lib_png_png_get_channels=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7445 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7447 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7448 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7449 echo "$as_me:7449: result: $ac_cv_lib_png_png_get_channels" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7450 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7451 if test $ac_cv_lib_png_png_get_channels = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7452 HAVE_PNG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7454
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7455 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7456
Dave Love <fx@gnu.org>
parents:
diff changeset
7457 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7458
Dave Love <fx@gnu.org>
parents:
diff changeset
7459 if test "${HAVE_PNG}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7460
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7461 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7462 #define HAVE_PNG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7463 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7464
Dave Love <fx@gnu.org>
parents:
diff changeset
7465 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7466 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7467
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7468 ### Use -ltiff if available, unless `--with-tiff=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7469 HAVE_TIFF=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7470 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7471 if test "${with_tiff}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7472 echo "$as_me:7472: checking for tiffio.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7473 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7474 if test "${ac_cv_header_tiffio_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7475 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7476 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7477 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7478 #line 7478 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7479 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7480 #include <tiffio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7481 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7482 if { (eval echo "$as_me:7482: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7483 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7484 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7485 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7486 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7487 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7488 echo "$as_me:7488: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7489 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7490 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7491 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7492 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7493 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7494 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7495 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7496 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7497 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7498 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7499 ac_cv_header_tiffio_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7500 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7501 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7502 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7503 ac_cv_header_tiffio_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7504 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7505 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7506 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7507 echo "$as_me:7507: result: $ac_cv_header_tiffio_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7508 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7509 if test $ac_cv_header_tiffio_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7510 tifflibs="-lz -lm"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7511 # At least one tiff package requires the jpeg library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7512 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7513 echo "$as_me:7513: checking for TIFFGetVersion in -ltiff" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7514 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7515 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7517 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7518 ac_check_lib_save_LIBS=$LIBS
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7519 LIBS="-ltiff $tifflibs $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7520 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7521 #line 7521 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7522 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7523
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7524 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7525 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7526 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7527 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7528 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7529 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7530 char TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7531 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7532 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7533 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7534 TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7535 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7536 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7537 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7538 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7539 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7540 if { (eval echo "$as_me:7540: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7541 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7542 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7543 echo "$as_me:7543: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7544 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7545 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7546 { (eval echo "$as_me:7546: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7547 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7548 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7549 echo "$as_me:7549: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7550 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7551 ac_cv_lib_tiff_TIFFGetVersion=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7552 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7553 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7554 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7555 ac_cv_lib_tiff_TIFFGetVersion=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7556 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7558 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7559 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7560 echo "$as_me:7560: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7561 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7562 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7563 HAVE_TIFF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7564 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7565
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7566 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7567
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7568 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7569
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7570 if test "${HAVE_TIFF}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7571
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7572 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7573 #define HAVE_TIFF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7574 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7575
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7576 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7577 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7578
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7579 ### Use -lgif if available, unless `--with-gif=no'.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7580 HAVE_GIF=no
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7581 if test "${HAVE_X11}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7582 if test "${with_gif}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7583 echo "$as_me:7583: checking for gif_lib.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7584 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7585 if test "${ac_cv_header_gif_lib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7586 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7587 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7588 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7589 #line 7589 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7590 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7591 #include <gif_lib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7592 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7593 if { (eval echo "$as_me:7593: \"$ac_cpp conftest.$ac_ext\"") >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7595 ac_status=$?
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7596 egrep -v '^ *\+' conftest.er1 >conftest.err
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7597 rm -f conftest.er1
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7598 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7599 echo "$as_me:7599: \$? = $ac_status" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7600 (exit $ac_status); } >/dev/null; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7601 if test -s conftest.err; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7602 ac_cpp_err=$ac_c_preproc_warn_flag
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7603 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7604 ac_cpp_err=
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7605 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7606 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7607 ac_cpp_err=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7608 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7609 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7610 ac_cv_header_gif_lib_h=yes
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7611 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7612 echo "$as_me: failed program was:" >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7613 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7614 ac_cv_header_gif_lib_h=no
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7615 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7616 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7617 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7618 echo "$as_me:7618: result: $ac_cv_header_gif_lib_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7619 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7620 if test $ac_cv_header_gif_lib_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7621 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7622 # Earlier versions can crash Emacs.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7623 echo "$as_me:7623: checking for EGifPutExtensionLast in -lungif" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7624 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7625 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7626 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7627 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7628 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7629 LIBS="-lungif $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7630 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7631 #line 7631 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7632 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7633
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7634 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7635 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7636 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7637 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7638 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7639 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7640 char EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7641 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7642 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7643 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7644 EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7645 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7646 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7647 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7648 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7649 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7650 if { (eval echo "$as_me:7650: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7651 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7652 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7653 echo "$as_me:7653: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7654 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7655 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7656 { (eval echo "$as_me:7656: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7657 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7658 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7659 echo "$as_me:7659: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7660 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7661 ac_cv_lib_ungif_EGifPutExtensionLast=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7662 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7663 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7664 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7665 ac_cv_lib_ungif_EGifPutExtensionLast=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7666 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7667 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7668 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7669 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7670 echo "$as_me:7670: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7671 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7672 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7673 HAVE_GIF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7674 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7675
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7676 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7677
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7678 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7679
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7680 if test "${HAVE_GIF}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7681
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7682 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7683 #define HAVE_GIF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7684 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7685
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7686 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7687 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7688
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7689 ### Use Mac OS X Carbon API to implement GUI.
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7690 HAVE_CARBON=no
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7691 if test "${with_carbon}" != "no"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7692 echo "$as_me:7692: checking for Carbon/Carbon.h" >&5
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7693 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7694 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7695 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7696 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7697 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7698 #line 7698 "configure"
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7699 #include "confdefs.h"
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7700 #include <Carbon/Carbon.h>
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7701 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7702 if { (eval echo "$as_me:7702: \"$ac_cpp conftest.$ac_ext\"") >&5
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7704 ac_status=$?
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7705 egrep -v '^ *\+' conftest.er1 >conftest.err
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7706 rm -f conftest.er1
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7707 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7708 echo "$as_me:7708: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7709 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7710 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7711 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7712 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7713 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7714 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7715 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7716 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7717 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7718 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7719 ac_cv_header_Carbon_Carbon_h=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7720 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7721 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7722 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7723 ac_cv_header_Carbon_Carbon_h=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7724 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7725 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7726 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7727 echo "$as_me:7727: result: $ac_cv_header_Carbon_Carbon_h" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7728 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7729 if test $ac_cv_header_Carbon_Carbon_h = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7730 HAVE_CARBON=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7731 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7732
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7733 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7734
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7735 if test "${HAVE_CARBON}" = "yes"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7736
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7737 cat >>confdefs.h <<\EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7738 #define HAVE_CARBON 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7739 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7740
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7741 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7742
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7743 ### Use session management (-lSM -lICE) if available
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7744 HAVE_X_SM=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7745 if test "${HAVE_X11}" = "yes"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7746 echo "$as_me:7746: checking for X11/SM/SMlib.h" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7747 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7748 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7750 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7751 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7752 #line 7752 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7753 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7754 #include <X11/SM/SMlib.h>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7755 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7756 if { (eval echo "$as_me:7756: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7757 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7758 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7759 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7760 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7761 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7762 echo "$as_me:7762: \$? = $ac_status" >&5
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7763 (exit $ac_status); } >/dev/null; then
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7764 if test -s conftest.err; then
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7765 ac_cpp_err=$ac_c_preproc_warn_flag
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7766 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7767 ac_cpp_err=
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7768 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7769 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7770 ac_cpp_err=yes
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7771 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7772 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7773 ac_cv_header_X11_SM_SMlib_h=yes
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7774 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7775 echo "$as_me: failed program was:" >&5
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7776 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7777 ac_cv_header_X11_SM_SMlib_h=no
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7778 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7779 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7780 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7781 echo "$as_me:7781: result: $ac_cv_header_X11_SM_SMlib_h" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7782 echo "${ECHO_T}$ac_cv_header_X11_SM_SMlib_h" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7783 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7784 echo "$as_me:7784: checking for SmcOpenConnection in -lSM" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7785 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7786 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7787 echo $ECHO_N "(cached) $ECHO_C" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7788 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7789 ac_check_lib_save_LIBS=$LIBS
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7790 LIBS="-lSM $LIBS"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7791 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7792 #line 7792 "configure"
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7793 #include "confdefs.h"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7794
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7795 /* Override any gcc2 internal prototype to avoid an error. */
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7796 #ifdef __cplusplus
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7797 extern "C"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7798 #endif
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7799 /* We use char because int might match the return type of a gcc2
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7800 builtin and then its argument prototype would still apply. */
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7801 char SmcOpenConnection ();
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7802 int
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7803 main ()
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7804 {
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7805 SmcOpenConnection ();
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7806 ;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7807 return 0;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7808 }
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7809 _ACEOF
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7810 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7811 if { (eval echo "$as_me:7811: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7812 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7813 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7814 echo "$as_me:7814: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7815 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7816 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7817 { (eval echo "$as_me:7817: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7818 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7819 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7820 echo "$as_me:7820: \$? = $ac_status" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7821 (exit $ac_status); }; }; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7822 ac_cv_lib_SM_SmcOpenConnection=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7823 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7824 echo "$as_me: failed program was:" >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7825 cat conftest.$ac_ext >&5
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7826 ac_cv_lib_SM_SmcOpenConnection=no
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7827 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7829 LIBS=$ac_check_lib_save_LIBS
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7830 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7831 echo "$as_me:7831: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7832 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7833 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7834 HAVE_X_SM=yes
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7835 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7836 -lICE
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7837 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7838
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7839 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7840
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7841 if test "${HAVE_X_SM}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7842
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7843 cat >>confdefs.h <<\EOF
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7844 #define HAVE_X_SM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7845 EOF
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7846
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7847 case "$LIBS" in
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7848 *-lSM*) ;;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7849 *) LIBS="-lSM -lICE $LIBS" ;;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7850 esac
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7851 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7852 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7853
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7854 # If netdb.h doesn't declare h_errno, we must declare it by hand.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7855 echo "$as_me:7855: checking whether netdb declares h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7856 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7857 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7858 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7859 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7860 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7861 #line 7861 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7862 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7863 #include <netdb.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7864 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7865 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7866 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7867 return h_errno;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7868 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7869 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7870 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7871 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7872 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7873 if { (eval echo "$as_me:7873: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7874 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7875 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7876 echo "$as_me:7876: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7877 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7878 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7879 { (eval echo "$as_me:7879: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7880 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7881 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7882 echo "$as_me:7882: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7883 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7884 emacs_cv_netdb_declares_h_errno=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7885 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7886 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7887 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7888 emacs_cv_netdb_declares_h_errno=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7889 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7891 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7892 echo "$as_me:7892: result: $emacs_cv_netdb_declares_h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7893 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7894 if test $emacs_cv_netdb_declares_h_errno = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7895
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7896 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7897 #define HAVE_H_ERRNO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7898 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7899
Dave Love <fx@gnu.org>
parents:
diff changeset
7900 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7901
Dave Love <fx@gnu.org>
parents:
diff changeset
7902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
Dave Love <fx@gnu.org>
parents:
diff changeset
7903 # for constant arguments. Useless!
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7904 echo "$as_me:7904: checking for working alloca.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7905 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7906 if test "${ac_cv_working_alloca_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7907 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7908 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7909 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7910 #line 7910 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7911 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7912 #include <alloca.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7913 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7914 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7915 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7916 char *p = (char *) alloca (2 * sizeof (int));
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7917 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7918 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7919 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7920 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7921 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7922 if { (eval echo "$as_me:7922: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7923 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7924 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7925 echo "$as_me:7925: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7926 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7927 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7928 { (eval echo "$as_me:7928: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7929 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7930 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7931 echo "$as_me:7931: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7932 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7933 ac_cv_working_alloca_h=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7934 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7935 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7936 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7937 ac_cv_working_alloca_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7938 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7940 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7941 echo "$as_me:7941: result: $ac_cv_working_alloca_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7942 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7943 if test $ac_cv_working_alloca_h = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7944
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7945 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7946 #define HAVE_ALLOCA_H 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7947 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7948
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7949 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7950
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7951 echo "$as_me:7951: checking for alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7952 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7953 if test "${ac_cv_func_alloca_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7955 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7956 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7957 #line 7957 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7958 #include "confdefs.h"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7959 #ifdef __GNUC__
Dave Love <fx@gnu.org>
parents:
diff changeset
7960 # define alloca __builtin_alloca
Dave Love <fx@gnu.org>
parents:
diff changeset
7961 #else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7962 # ifdef _MSC_VER
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7963 # include <malloc.h>
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7964 # define alloca _alloca
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7965 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7966 # if HAVE_ALLOCA_H
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7967 # include <alloca.h>
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7968 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7969 # ifdef _AIX
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7970 #pragma alloca
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7971 # else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7972 # ifndef alloca /* predefined by HP cc +Olibcalls */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7973 char *alloca ();
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7974 # endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7975 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7976 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7977 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7978 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7979
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7980 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7981 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7982 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7983 char *p = (char *) alloca (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7984 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7985 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7986 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7987 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7988 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7989 if { (eval echo "$as_me:7989: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7990 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7991 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7992 echo "$as_me:7992: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7993 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7994 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7995 { (eval echo "$as_me:7995: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7996 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7997 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
7998 echo "$as_me:7998: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7999 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8000 ac_cv_func_alloca_works=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
8001 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8002 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8003 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8004 ac_cv_func_alloca_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8005 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8006 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8007 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8008 echo "$as_me:8008: result: $ac_cv_func_alloca_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8009 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8010
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8011 if test $ac_cv_func_alloca_works = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8012
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8013 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8014 #define HAVE_ALLOCA 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8015 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8016
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8017 else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8018 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8019 # that cause trouble. Some versions do not even contain alloca or
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8020 # contain a buggy version. If you still want to use their alloca,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8021 # use ar to extract alloca.o from them instead of compiling alloca.c.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8022
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8023 ALLOCA=alloca.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8024
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8025 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8026 #define C_ALLOCA 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8027 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8028
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8029 echo "$as_me:8029: checking whether \`alloca.c' needs Cray hooks" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8030 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8031 if test "${ac_cv_os_cray+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8032 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8033 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8034 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8035 #line 8035 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8036 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8037 #if defined(CRAY) && ! defined(CRAY2)
Dave Love <fx@gnu.org>
parents:
diff changeset
8038 webecray
Dave Love <fx@gnu.org>
parents:
diff changeset
8039 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
8040 wenotbecray
Dave Love <fx@gnu.org>
parents:
diff changeset
8041 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
8042
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8043 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
8045 egrep "webecray" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8046 ac_cv_os_cray=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
8047 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8048 ac_cv_os_cray=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8049 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8050 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
8051
Dave Love <fx@gnu.org>
parents:
diff changeset
8052 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8053 echo "$as_me:8053: result: $ac_cv_os_cray" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8054 echo "${ECHO_T}$ac_cv_os_cray" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8055 if test $ac_cv_os_cray = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8056 for ac_func in _getb67 GETB67 getb67; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8058 echo "$as_me:8058: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8060 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8062 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8063 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8064 #line 8064 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8065 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8066 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8067 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8068 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8069 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8070 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8071 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8072 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8073 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8074 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8075 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8076 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8077
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8078 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8079 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8080 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8081 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8082 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8083 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8085 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8086 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8087 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8088 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8089
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8090 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8091 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8092 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8093 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8094 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8095 if { (eval echo "$as_me:8095: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8096 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8097 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8098 echo "$as_me:8098: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8099 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8100 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8101 { (eval echo "$as_me:8101: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8102 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8103 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8104 echo "$as_me:8104: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8105 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8106 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8107 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8108 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8109 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8110 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8111 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8113 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8114 echo "$as_me:8114: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8116 if test `eval echo '${'$as_ac_var'}'` = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8117
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8118 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8119 #define CRAY_STACKSEG_END $ac_func
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8120 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8121
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8122 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8123 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8124
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8125 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8126 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8127
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8128 echo "$as_me:8128: checking stack direction for C alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8129 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8130 if test "${ac_cv_c_stack_direction+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8132 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8133 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8134 ac_cv_c_stack_direction=0
Dave Love <fx@gnu.org>
parents:
diff changeset
8135 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8136 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8137 #line 8137 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8138 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8139 int
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8140 find_stack_direction ()
Dave Love <fx@gnu.org>
parents:
diff changeset
8141 {
Dave Love <fx@gnu.org>
parents:
diff changeset
8142 static char *addr = 0;
Dave Love <fx@gnu.org>
parents:
diff changeset
8143 auto char dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
8144 if (addr == 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
8145 {
Dave Love <fx@gnu.org>
parents:
diff changeset
8146 addr = &dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
8147 return find_stack_direction ();
Dave Love <fx@gnu.org>
parents:
diff changeset
8148 }
Dave Love <fx@gnu.org>
parents:
diff changeset
8149 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8150 return (&dummy > addr) ? 1 : -1;
Dave Love <fx@gnu.org>
parents:
diff changeset
8151 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8152
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8153 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8154 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8155 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8156 exit (find_stack_direction () < 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8157 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8158 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8159 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8160 if { (eval echo "$as_me:8160: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8161 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8162 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8163 echo "$as_me:8163: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8164 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8165 { (eval echo "$as_me:8165: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8166 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8167 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8168 echo "$as_me:8168: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8169 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8170 ac_cv_c_stack_direction=1
Dave Love <fx@gnu.org>
parents:
diff changeset
8171 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8172 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8173 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8174 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8175 ac_cv_c_stack_direction=-1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8176 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8177 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8178 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8179 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8180 echo "$as_me:8180: result: $ac_cv_c_stack_direction" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8181 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8182
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8183 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8184 #define STACK_DIRECTION $ac_cv_c_stack_direction
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8185 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8186
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8187 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8188
Dave Love <fx@gnu.org>
parents:
diff changeset
8189 # fmod, logb, and frexp are found in -lm on most systems.
Dave Love <fx@gnu.org>
parents:
diff changeset
8190 # On HPUX 9.01, -lm does not contain logb, so check for sqrt.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8191
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8192 echo "$as_me:8192: checking for sqrt in -lm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8193 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8194 if test "${ac_cv_lib_m_sqrt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8196 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8197 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8198 LIBS="-lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8199 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8200 #line 8200 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8201 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8202
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8203 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8204 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8205 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8206 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8207 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8208 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8209 char sqrt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8210 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8211 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8212 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8213 sqrt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8214 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8215 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8216 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8217 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8218 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8219 if { (eval echo "$as_me:8219: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8220 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8221 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8222 echo "$as_me:8222: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8223 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8224 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8225 { (eval echo "$as_me:8225: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8226 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8227 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8228 echo "$as_me:8228: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8229 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8230 ac_cv_lib_m_sqrt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8231 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8232 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8233 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8234 ac_cv_lib_m_sqrt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8235 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8237 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8238 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8239 echo "$as_me:8239: result: $ac_cv_lib_m_sqrt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8240 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8241 if test $ac_cv_lib_m_sqrt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8242 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8243 #define HAVE_LIBM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8244 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8245
Dave Love <fx@gnu.org>
parents:
diff changeset
8246 LIBS="-lm $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8247
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8248 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8249
Dave Love <fx@gnu.org>
parents:
diff changeset
8250 # Check for mail-locking functions in a "mail" library
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8251
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8252 echo "$as_me:8252: checking for maillock in -lmail" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8253 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8254 if test "${ac_cv_lib_mail_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8255 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8256 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8257 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8258 LIBS="-lmail $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8259 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8260 #line 8260 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8261 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8262
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8263 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8264 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8265 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8266 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8267 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8268 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8269 char maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8270 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8271 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8272 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8273 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8274 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8275 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8276 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8277 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8278 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8279 if { (eval echo "$as_me:8279: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8280 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8281 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8282 echo "$as_me:8282: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8283 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8284 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8285 { (eval echo "$as_me:8285: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8286 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8287 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8288 echo "$as_me:8288: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8289 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8290 ac_cv_lib_mail_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8291 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8292 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8293 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8294 ac_cv_lib_mail_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8295 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8297 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8298 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8299 echo "$as_me:8299: result: $ac_cv_lib_mail_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8300 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8301 if test $ac_cv_lib_mail_maillock = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8302 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8303 #define HAVE_LIBMAIL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8304 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8305
Dave Love <fx@gnu.org>
parents:
diff changeset
8306 LIBS="-lmail $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8307
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8308 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8309
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8310 echo "$as_me:8310: checking for maillock in -llockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8311 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8312 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8314 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8315 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8316 LIBS="-llockfile $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8317 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8318 #line 8318 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8319 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8320
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8321 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8322 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8323 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8324 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8325 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8326 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8327 char maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8328 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8329 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8330 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8331 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8332 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8333 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8334 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8335 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8336 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8337 if { (eval echo "$as_me:8337: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8338 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8339 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8340 echo "$as_me:8340: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8341 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8342 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8343 { (eval echo "$as_me:8343: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8344 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8345 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8346 echo "$as_me:8346: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8347 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8348 ac_cv_lib_lockfile_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8349 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8350 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8351 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8352 ac_cv_lib_lockfile_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8353 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8355 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8356 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8357 echo "$as_me:8357: result: $ac_cv_lib_lockfile_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8358 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8359 if test $ac_cv_lib_lockfile_maillock = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8360 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8361 #define HAVE_LIBLOCKFILE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8362 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8363
Dave Love <fx@gnu.org>
parents:
diff changeset
8364 LIBS="-llockfile $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8365
Dave Love <fx@gnu.org>
parents:
diff changeset
8366 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8367
Dave Love <fx@gnu.org>
parents:
diff changeset
8368 # If we have the shared liblockfile, assume we must use it for mail
Dave Love <fx@gnu.org>
parents:
diff changeset
8369 # locking (e.g. Debian). If we couldn't link against liblockfile
Dave Love <fx@gnu.org>
parents:
diff changeset
8370 # (no liblockfile.a installed), ensure that we don't need to.
Dave Love <fx@gnu.org>
parents:
diff changeset
8371 if test "$ac_cv_lib_lockfile_maillock" = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8372 # Extract the first word of "liblockfile.so", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
8373 set dummy liblockfile.so; ac_word=$2
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8374 echo "$as_me:8374: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8376 if test "${ac_cv_prog_liblockfile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8377 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8378 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8379 if test -n "$liblockfile"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8380 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
8381 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8382 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8383 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8384 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8385 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8386 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8387 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8388 ac_cv_prog_liblockfile="yes"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8389 echo "$as_me:8389: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8390 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8391 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8392
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8393 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
Dave Love <fx@gnu.org>
parents:
diff changeset
8394 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8395 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8396 liblockfile=$ac_cv_prog_liblockfile
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8397 if test -n "$liblockfile"; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8398 echo "$as_me:8398: result: $liblockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8399 echo "${ECHO_T}$liblockfile" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8400 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8401 echo "$as_me:8401: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8402 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8403 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8404
Dave Love <fx@gnu.org>
parents:
diff changeset
8405 if test $ac_cv_prog_liblockfile = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8406 { { echo "$as_me:8406: error: Shared liblockfile found but can't link against it.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8407 This probably means that movemail could lose mail.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8408 There may be a \`development' package to install containing liblockfile." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8409 echo "$as_me: error: Shared liblockfile found but can't link against it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8410 This probably means that movemail could lose mail.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8411 There may be a \`development' package to install containing liblockfile." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8412 { (exit 1); exit 1; }; }
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
8413 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8414 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8415 #define LIBMAIL -llockfile
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8416 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8417
Dave Love <fx@gnu.org>
parents:
diff changeset
8418 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8419 else :
Dave Love <fx@gnu.org>
parents:
diff changeset
8420 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8421
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8422 for ac_func in touchlock
Dave Love <fx@gnu.org>
parents:
diff changeset
8423 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8425 echo "$as_me:8425: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8427 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8428 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8429 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8430 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8431 #line 8431 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8432 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8433 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8434 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8435 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8436 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8437 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8438 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8439 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8440 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8441 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8442 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8443 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8444
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8445 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8446 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8447 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8448 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8449 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8450 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8452 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8453 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8454 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8455 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8456
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8457 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8458 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8459 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8460 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8461 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8462 if { (eval echo "$as_me:8462: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8463 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8464 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8465 echo "$as_me:8465: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8466 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8467 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8468 { (eval echo "$as_me:8468: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8469 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8470 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8471 echo "$as_me:8471: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8472 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8473 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8474 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8475 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8476 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8477 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8478 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8479 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8480 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8481 echo "$as_me:8481: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8483 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8484 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8486 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8487
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8488 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8489 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8490
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8491 for ac_header in maillock.h
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8492 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8494 echo "$as_me:8494: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8497 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8498 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8499 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8500 #line 8500 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8501 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8502 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8503 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8504 if { (eval echo "$as_me:8504: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8506 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8507 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8508 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8509 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8510 echo "$as_me:8510: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8511 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8512 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8513 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8514 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8515 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8516 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8517 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8518 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8519 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8520 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8521 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8522 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8523 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8524 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8525 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8526 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8527 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8528 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8529 echo "$as_me:8529: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8532 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8534 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8535
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8536 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8537 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8538
44001
54ecf0606394 Manually edited to add checks for sendto, recvfrom, getsockopt, setsockopt,
Kim F. Storm <storm@cua.dk>
parents: 43924
diff changeset
8539 for ac_func in gethostname getdomainname dup2 \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8540 rename closedir mkdir rmdir sysinfo \
Dave Love <fx@gnu.org>
parents:
diff changeset
8541 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
Dave Love <fx@gnu.org>
parents:
diff changeset
8542 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
8543 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
42401
b04a7400fcb8 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41960
diff changeset
8544 __fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
44001
54ecf0606394 Manually edited to add checks for sendto, recvfrom, getsockopt, setsockopt,
Kim F. Storm <storm@cua.dk>
parents: 43924
diff changeset
8545 sendto recvfrom getsockopt setsockopt getsockname getpeername \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8546 gai_strerror mkstemp getline getdelim
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8547 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8549 echo "$as_me:8549: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8551 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8553 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8554 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8555 #line 8555 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8556 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8557 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8558 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8559 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8560 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8561 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8562 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8563 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8564 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8565 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8566 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8567 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8568
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8569 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8570 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8571 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8572 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8573 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8574 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8576 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8577 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8578 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8579 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8580
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8581 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8582 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8583 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8584 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8585 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8586 if { (eval echo "$as_me:8586: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8587 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8588 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8589 echo "$as_me:8589: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8590 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8591 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8592 { (eval echo "$as_me:8592: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8593 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8594 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8595 echo "$as_me:8595: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8596 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8597 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8598 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8599 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8600 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8601 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8602 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8604 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8605 echo "$as_me:8605: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8607 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8608 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8610 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8611
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8612 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8613 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8614
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8615 for ac_header in sys/un.h
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8616 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8618 echo "$as_me:8618: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8620 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8621 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8622 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8623 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8624 #line 8624 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8625 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8626 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8627 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8628 if { (eval echo "$as_me:8628: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8630 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8631 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8632 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8633 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8634 echo "$as_me:8634: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8635 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8636 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8637 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8638 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8639 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8640 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8641 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8642 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8643 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8644 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8645 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8646 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8647 echo "$as_me: failed program was:" >&5
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8648 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8649 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8650 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8651 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8652 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8653 echo "$as_me:8653: result: `eval echo '${'$as_ac_Header'}'`" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8655 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8656 cat >>confdefs.h <<EOF
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8658 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8659
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8660 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8661 done
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8662
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8663 for ac_header in sys/time.h unistd.h
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8664 do
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8666 echo "$as_me:8666: checking for $ac_header" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8669 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8670 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8671 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8672 #line 8672 "configure"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8673 #include "confdefs.h"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8674 #include <$ac_header>
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8675 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8676 if { (eval echo "$as_me:8676: \"$ac_cpp conftest.$ac_ext\"") >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8678 ac_status=$?
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8679 egrep -v '^ *\+' conftest.er1 >conftest.err
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8680 rm -f conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8681 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8682 echo "$as_me:8682: \$? = $ac_status" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8683 (exit $ac_status); } >/dev/null; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8684 if test -s conftest.err; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8685 ac_cpp_err=$ac_c_preproc_warn_flag
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8686 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8687 ac_cpp_err=
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8688 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8689 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8690 ac_cpp_err=yes
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8691 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8692 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8693 eval "$as_ac_Header=yes"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8694 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8695 echo "$as_me: failed program was:" >&5
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8696 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8697 eval "$as_ac_Header=no"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8698 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8699 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8700 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8701 echo "$as_me:8701: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8704 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8706 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8707
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8708 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8709 done
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8710
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8711 for ac_func in alarm
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8712 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8714 echo "$as_me:8714: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8716 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8718 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8719 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8720 #line 8720 "configure"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8721 #include "confdefs.h"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8722 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8723 which can conflict with char $ac_func (); below. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8724 #include <assert.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8725 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8726 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8727 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8728 #endif
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8729 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8730 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8731 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8732 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8733
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8734 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8735 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8736 {
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8737 /* The GNU C library defines this for functions which it implements
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8738 to always fail with ENOSYS. Some functions are actually named
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8739 something starting with __ and the normal name is an alias. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8741 choke me
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8742 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8743 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8744 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8745
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8746 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8747 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8748 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8749 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8750 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8751 if { (eval echo "$as_me:8751: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8752 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8753 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8754 echo "$as_me:8754: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8755 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8756 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8757 { (eval echo "$as_me:8757: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8758 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8759 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8760 echo "$as_me:8760: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8761 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8762 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8763 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8764 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8765 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8766 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8767 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8769 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8770 echo "$as_me:8770: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8772 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8773 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8775 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8776
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8777 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8778 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8779
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8780 echo "$as_me:8780: checking for working mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8781 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8782 if test "${ac_cv_func_working_mktime+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8783 echo $ECHO_N "(cached) $ECHO_C" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8784 else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8785 if test "$cross_compiling" = yes; then
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8786 ac_cv_func_working_mktime=no
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8787 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8788 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8789 #line 8789 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8790 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8791 /* Test program from Paul Eggert and Tony Leneis. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8792 #if TIME_WITH_SYS_TIME
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8793 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8794 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8795 #else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8796 # if HAVE_SYS_TIME_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8797 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8798 # else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8799 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8800 # endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8801 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8802
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8803 #if HAVE_UNISTD_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8804 # include <unistd.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8805 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8806
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8807 #if !HAVE_ALARM
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8808 # define alarm(X) /* empty */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8809 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8810
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8811 /* Work around redefinition to rpl_putenv by other config tests. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8812 #undef putenv
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8813
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8814 static time_t time_t_max;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8815
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8816 /* Values we'll use to set the TZ environment variable. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8817 static const char *const tz_strings[] = {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8818 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8819 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8820 };
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8821 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8822
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8823 /* Fail if mktime fails to convert a date in the spring-forward gap.
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8824 Based on a problem report from Andreas Jaeger. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8825 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8826 spring_forward_gap ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8827 {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8828 /* glibc (up to about 1998-10-07) failed this test. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8829 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8830
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8831 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8832 instead of "TZ=America/Vancouver" in order to detect the bug even
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8833 on systems that don't support the Olson extension, or don't have the
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8834 full zoneinfo tables installed. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8835 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8836
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8837 tm.tm_year = 98;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8838 tm.tm_mon = 3;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8839 tm.tm_mday = 5;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8840 tm.tm_hour = 2;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8841 tm.tm_min = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8842 tm.tm_sec = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8843 tm.tm_isdst = -1;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8844 if (mktime (&tm) == (time_t)-1)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8845 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8846 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8847
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8848 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8849 mktime_test (now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8850 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8851 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8852 struct tm *lt;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8853 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8854 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8855 now = time_t_max - now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8856 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8857 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8858 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8859
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8860 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8861 irix_6_4_bug ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8862 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8863 /* Based on code from Ariel Faigon. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8864 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8865 tm.tm_year = 96;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8866 tm.tm_mon = 3;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8867 tm.tm_mday = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8868 tm.tm_hour = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8869 tm.tm_min = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8870 tm.tm_sec = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8871 tm.tm_isdst = -1;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8872 mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8873 if (tm.tm_mon != 2 || tm.tm_mday != 31)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8874 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8875 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8876
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8877 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8878 bigtime_test (j)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8879 int j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8880 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8881 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8882 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8883 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8884 now = mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8885 if (now != (time_t) -1)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8886 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8887 struct tm *lt = localtime (&now);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8888 if (! (lt
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8889 && lt->tm_year == tm.tm_year
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8890 && lt->tm_mon == tm.tm_mon
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8891 && lt->tm_mday == tm.tm_mday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8892 && lt->tm_hour == tm.tm_hour
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8893 && lt->tm_min == tm.tm_min
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8894 && lt->tm_sec == tm.tm_sec
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8895 && lt->tm_yday == tm.tm_yday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8896 && lt->tm_wday == tm.tm_wday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8897 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8898 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8899 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8900 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8901 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8902
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8903 int
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8904 main ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8905 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8906 time_t t, delta;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8907 int i, j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8908
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8909 /* This test makes some buggy mktime implementations loop.
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8910 Give up after 60 seconds; a mktime slower than that
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8911 isn't worth using anyway. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8912 alarm (60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8913
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8914 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8915 continue;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8916 time_t_max--;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8917 delta = time_t_max / 997; /* a suitable prime number */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8918 for (i = 0; i < N_STRINGS; i++)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8919 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8920 if (tz_strings[i])
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8921 putenv (tz_strings[i]);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8922
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8923 for (t = 0; t <= time_t_max - delta; t += delta)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8924 mktime_test (t);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8925 mktime_test ((time_t) 60 * 60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8926 mktime_test ((time_t) 60 * 60 * 24);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8927
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8928 for (j = 1; 0 < j; j *= 2)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8929 bigtime_test (j);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8930 bigtime_test (j - 1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8931 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8932 irix_6_4_bug ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8933 spring_forward_gap ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8934 exit (0);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8935 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8936 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8937 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8938 if { (eval echo "$as_me:8938: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8939 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8940 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8941 echo "$as_me:8941: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8943 { (eval echo "$as_me:8943: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8944 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8945 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8946 echo "$as_me:8946: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8947 (exit $ac_status); }; }; then
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8948 ac_cv_func_working_mktime=yes
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8949 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8950 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8951 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8952 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8953 ac_cv_func_working_mktime=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8954 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8955 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8956 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8957 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8958 echo "$as_me:8958: result: $ac_cv_func_working_mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8959 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8960 if test $ac_cv_func_working_mktime = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8961 LIBOBJS="$LIBOBJS mktime.$ac_objext"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8962 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8963
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8964 if test "$ac_cv_func_working_mktime" = no; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
8965
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8966 cat >>confdefs.h <<\EOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8967 #define BROKEN_MKTIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8968 EOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8969
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8970 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8971
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
8972 ac_have_func=no # yes means we've found a way to get the load average.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
8973
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8974 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8975
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8976 # Check for getloadavg, but be sure not to touch the cache variable.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8977 (echo "$as_me:8977: checking for getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8978 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8979 if test "${ac_cv_func_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8981 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8982 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
8983 #line 8983 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8984 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8985 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8986 which can conflict with char getloadavg (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8987 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8988 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8989 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8990 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8991 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8992 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8993 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8994 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8995 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8996
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8997 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8998 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8999 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9000 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9001 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9002 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9003 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9004 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9005 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9006 f = getloadavg;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9007 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9008
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9009 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9010 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9011 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9012 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9013 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9014 if { (eval echo "$as_me:9014: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9015 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9016 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9017 echo "$as_me:9017: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9018 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9019 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9020 { (eval echo "$as_me:9020: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9021 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9022 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9023 echo "$as_me:9023: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9024 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9025 ac_cv_func_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9026 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9027 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9028 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9029 ac_cv_func_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9030 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9032 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9033 echo "$as_me:9033: result: $ac_cv_func_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9034 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9035 if test $ac_cv_func_getloadavg = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9036 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9037 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9038 exit 1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9039 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9040 ) && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9041
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9042 # On HPUX9, an unprivileged user can get load averages through this function.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9043
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9044 for ac_func in pstat_getdynamic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9045 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9047 echo "$as_me:9047: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9049 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9050 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9051 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9052 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9053 #line 9053 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9054 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9055 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9056 which can conflict with char $ac_func (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9057 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9058 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9059 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9060 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9061 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9062 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9063 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9064 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9065 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9066
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9067 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9068 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9069 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9070 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9071 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9072 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9074 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9075 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9076 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9077 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9078
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9079 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9080 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9081 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9082 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9083 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9084 if { (eval echo "$as_me:9084: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9085 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9086 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9087 echo "$as_me:9087: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9088 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9089 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9090 { (eval echo "$as_me:9090: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9091 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9092 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9093 echo "$as_me:9093: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9094 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9095 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9096 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9097 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9098 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9099 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9100 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9102 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9103 echo "$as_me:9103: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9105 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9106 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9108 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9109
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9110 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9111 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9112
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9113 # Solaris has libkstat which does not require root.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9114
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9115 echo "$as_me:9115: checking for kstat_open in -lkstat" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9116 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9117 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9119 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9120 ac_check_lib_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9121 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9122 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9123 #line 9123 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9124 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9125
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9126 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9127 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9128 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9129 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9130 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9131 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9132 char kstat_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9133 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9134 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9135 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9136 kstat_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9137 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9138 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9139 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9140 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9141 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9142 if { (eval echo "$as_me:9142: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9143 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9144 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9145 echo "$as_me:9145: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9146 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9147 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9148 { (eval echo "$as_me:9148: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9149 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9150 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9151 echo "$as_me:9151: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9152 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9153 ac_cv_lib_kstat_kstat_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9154 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9155 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9156 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9157 ac_cv_lib_kstat_kstat_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9158 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9160 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9161 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9162 echo "$as_me:9162: result: $ac_cv_lib_kstat_kstat_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9163 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9164 if test $ac_cv_lib_kstat_kstat_open = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9165 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9166 #define HAVE_LIBKSTAT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9167 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9168
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9169 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9170
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9171 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9172
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9173 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9174
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9175 # Some systems with -lutil have (and need) -lkvm as well, some do not.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9176 # On Solaris, -lkvm requires nlist from -lelf, so check that first
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9177 # to get the right answer into the cache.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9178 # For kstat on solaris, we need libelf to force the definition of SVR4 below.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9179 if test $ac_have_func = no; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9180 echo "$as_me:9180: checking for elf_begin in -lelf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9181 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9182 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9183 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9184 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9185 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9186 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9187 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9188 #line 9188 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9189 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9190
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9191 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9192 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9193 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9194 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9195 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9196 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9197 char elf_begin ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9198 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9199 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9200 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9201 elf_begin ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9202 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9203 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9204 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9205 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9206 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9207 if { (eval echo "$as_me:9207: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9208 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9209 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9210 echo "$as_me:9210: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9211 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9212 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9213 { (eval echo "$as_me:9213: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9214 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9215 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9216 echo "$as_me:9216: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9217 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9218 ac_cv_lib_elf_elf_begin=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9219 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9220 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9221 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9222 ac_cv_lib_elf_elf_begin=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9223 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9225 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9226 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9227 echo "$as_me:9227: result: $ac_cv_lib_elf_elf_begin" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9228 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9229 if test $ac_cv_lib_elf_elf_begin = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9230 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9231 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9232
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9233 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9234 if test $ac_have_func = no; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9235 echo "$as_me:9235: checking for kvm_open in -lkvm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9236 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9237 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9239 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9240 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9241 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9242 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9243 #line 9243 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9244 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9245
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9246 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9247 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9248 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9249 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9250 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9251 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9252 char kvm_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9253 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9254 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9255 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9256 kvm_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9257 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9258 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9259 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9260 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9261 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9262 if { (eval echo "$as_me:9262: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9263 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9264 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9265 echo "$as_me:9265: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9266 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9267 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9268 { (eval echo "$as_me:9268: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9269 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9270 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9271 echo "$as_me:9271: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9272 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9273 ac_cv_lib_kvm_kvm_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9274 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9275 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9276 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9277 ac_cv_lib_kvm_kvm_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9278 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9280 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9281 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9282 echo "$as_me:9282: result: $ac_cv_lib_kvm_kvm_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9283 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9284 if test $ac_cv_lib_kvm_kvm_open = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9285 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9286 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9287
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9288 # Check for the 4.4BSD definition of getloadavg.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9289 echo "$as_me:9289: checking for getloadavg in -lutil" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9290 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9291 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9293 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9294 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9295 LIBS="-lutil $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9296 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9297 #line 9297 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9298 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9299
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9300 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9301 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9302 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9303 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9304 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9305 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9306 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9307 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9308 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9309 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9310 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9311 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9312 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9313 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9314 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9315 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9316 if { (eval echo "$as_me:9316: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9317 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9318 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9319 echo "$as_me:9319: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9320 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9321 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9322 { (eval echo "$as_me:9322: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9323 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9324 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9325 echo "$as_me:9325: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9326 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9327 ac_cv_lib_util_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9328 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9329 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9330 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9331 ac_cv_lib_util_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9332 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9334 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9335 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9336 echo "$as_me:9336: result: $ac_cv_lib_util_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9337 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9338 if test $ac_cv_lib_util_getloadavg = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9339 LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9340 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9341
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9342 fi
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9343
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9344 if test $ac_have_func = no; then
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9345 # There is a commonly available library for RS/6000 AIX.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9346 # Since it is not a standard part of AIX, it might be installed locally.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9347 ac_getloadavg_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9348 LIBS="-L/usr/local/lib $LIBS"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9349 echo "$as_me:9349: checking for getloadavg in -lgetloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9350 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9351 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9353 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9354 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9355 LIBS="-lgetloadavg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9356 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9357 #line 9357 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9358 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9359
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9360 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9361 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9362 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9363 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9364 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9365 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9366 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9367 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9368 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9369 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9370 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9371 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9372 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9373 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9374 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9375 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9376 if { (eval echo "$as_me:9376: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9377 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9378 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9379 echo "$as_me:9379: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9380 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9381 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9382 { (eval echo "$as_me:9382: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9383 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9384 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9385 echo "$as_me:9385: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9386 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9387 ac_cv_lib_getloadavg_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9388 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9389 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9390 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9391 ac_cv_lib_getloadavg_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9392 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9393 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9394 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9395 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9396 echo "$as_me:9396: result: $ac_cv_lib_getloadavg_getloadavg" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9397 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9398 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9399 LIBS="-lgetloadavg $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9400 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9401 LIBS=$ac_getloadavg_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9402 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9403
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9404 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9405
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9406 # Make sure it is really in the library, if we think we found it,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9407 # otherwise set up the replacement function.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9408
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9409 for ac_func in getloadavg
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9410 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9412 echo "$as_me:9412: checking for $ac_func" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9414 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9415 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9416 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9417 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9418 #line 9418 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9419 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9420 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9421 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9422 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9423 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9424 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9425 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9426 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9427 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9428 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9429 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9430 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9431
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9432 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9433 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9434 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9435 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9436 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9437 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9439 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9440 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9441 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9442 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9443
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9444 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9445 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9446 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9447 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9448 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9449 if { (eval echo "$as_me:9449: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9450 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9451 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9452 echo "$as_me:9452: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9453 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9454 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9455 { (eval echo "$as_me:9455: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9456 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9457 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9458 echo "$as_me:9458: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9459 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9460 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9461 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9462 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9463 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9464 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9465 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9467 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9468 echo "$as_me:9468: result: `eval echo '${'$as_ac_var'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9470 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9471 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9473 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9474
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9475 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9476 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9477
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9478 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9479 #define C_GETLOADAVG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9480 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9481
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9482 # Figure out what our getloadavg.c needs.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9483 ac_have_func=no
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9484 echo "$as_me:9484: checking for sys/dg_sys_info.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9485 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9486 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9488 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9489 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9490 #line 9490 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9491 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9492 #include <sys/dg_sys_info.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9493 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9494 if { (eval echo "$as_me:9494: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9496 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9497 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9498 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9499 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9500 echo "$as_me:9500: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9501 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9502 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9503 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9504 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9505 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9506 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9507 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9508 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9509 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9510 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9511 ac_cv_header_sys_dg_sys_info_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9512 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9513 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9514 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9515 ac_cv_header_sys_dg_sys_info_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9516 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9517 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9518 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9519 echo "$as_me:9519: result: $ac_cv_header_sys_dg_sys_info_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9520 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9521 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9522 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9523
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9524 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9525 #define DGUX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9526 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9527
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9528 echo "$as_me:9528: checking for dg_sys_info in -ldgc" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9529 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9530 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9531 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9532 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9533 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9534 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9535 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9536 #line 9536 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9537 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9538
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9539 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9540 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9541 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9542 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9543 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9544 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9545 char dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9546 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9547 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9548 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9549 dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9550 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9551 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9552 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9553 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9554 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9555 if { (eval echo "$as_me:9555: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9556 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9557 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9558 echo "$as_me:9558: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9559 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9560 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9561 { (eval echo "$as_me:9561: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9562 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9563 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9564 echo "$as_me:9564: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9565 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9566 ac_cv_lib_dgc_dg_sys_info=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9567 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9568 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9569 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9570 ac_cv_lib_dgc_dg_sys_info=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9571 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9572 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9573 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9574 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9575 echo "$as_me:9575: result: $ac_cv_lib_dgc_dg_sys_info" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9576 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9577 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9578 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9579 #define HAVE_LIBDGC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9580 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9581
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9582 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9583
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9584 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9585
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9586 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9587
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9588 echo "$as_me:9588: checking for locale.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9589 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9590 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9591 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9592 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9593 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9594 #line 9594 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9595 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9596 #include <locale.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9597 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9598 if { (eval echo "$as_me:9598: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9599 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9600 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9601 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9602 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9603 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9604 echo "$as_me:9604: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9605 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9606 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9607 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9608 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9609 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9610 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9611 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9612 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9613 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9614 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9615 ac_cv_header_locale_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9616 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9617 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9618 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9619 ac_cv_header_locale_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9620 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9621 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9622 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9623 echo "$as_me:9623: result: $ac_cv_header_locale_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9624 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9625
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9626 for ac_func in setlocale
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9627 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9629 echo "$as_me:9629: checking for $ac_func" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9631 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9632 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9633 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9634 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9635 #line 9635 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9636 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9637 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9638 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9639 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9640 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9641 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9642 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9643 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9644 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9645 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9646 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9647 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9648
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9649 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9650 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9651 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9652 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9653 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9654 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9656 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9657 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9658 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9659 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9660
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9661 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9662 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9663 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9664 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9665 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9666 if { (eval echo "$as_me:9666: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9667 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9668 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9669 echo "$as_me:9669: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9670 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9671 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9672 { (eval echo "$as_me:9672: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9673 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9674 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9675 echo "$as_me:9675: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9676 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9677 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9678 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9679 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9680 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9681 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9682 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9684 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9685 echo "$as_me:9685: result: `eval echo '${'$as_ac_var'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9687 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9688 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9690 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9691
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9692 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9693 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9694
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9695 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9696 # uses stabs), but it is still SVR4. We cannot check for <elf.h> because
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9697 # Irix 4.0.5F has the header but not the library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9698 if test $ac_have_func = no && test "$ac_cv_lib_elf_elf_begin" = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9699 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9700
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9701 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9702 #define SVR4 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9703 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9704
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9705 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9706
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9707 if test $ac_have_func = no; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9708 echo "$as_me:9708: checking for inq_stats/cpustats.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9709 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9710 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9712 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9713 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9714 #line 9714 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9715 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9716 #include <inq_stats/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9717 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9718 if { (eval echo "$as_me:9718: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9720 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9721 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9722 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9723 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9724 echo "$as_me:9724: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9725 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9726 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9727 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9728 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9729 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9730 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9731 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9732 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9733 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9734 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9735 ac_cv_header_inq_stats_cpustats_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9736 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9737 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9738 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9739 ac_cv_header_inq_stats_cpustats_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9740 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9741 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9742 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9743 echo "$as_me:9743: result: $ac_cv_header_inq_stats_cpustats_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9744 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9745 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9746 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9747
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9748 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9749 #define UMAX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9750 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9751
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9752 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9753 #define UMAX4_3 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9754 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9755
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9756 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9757
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9758 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9759
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9760 if test $ac_have_func = no; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9761 echo "$as_me:9761: checking for sys/cpustats.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9762 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9763 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9764 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9765 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9766 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9767 #line 9767 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9768 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9769 #include <sys/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9770 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9771 if { (eval echo "$as_me:9771: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9773 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9774 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9775 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9776 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9777 echo "$as_me:9777: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9778 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9779 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9780 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9781 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9782 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9783 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9784 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9785 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9786 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9787 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9788 ac_cv_header_sys_cpustats_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9789 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9790 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9791 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9792 ac_cv_header_sys_cpustats_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9793 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9794 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9795 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9796 echo "$as_me:9796: result: $ac_cv_header_sys_cpustats_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9797 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9798 if test $ac_cv_header_sys_cpustats_h = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9799 ac_have_func=yes; cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9800 #define UMAX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9801 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9802
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9803 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9804
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9805 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9806
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9807 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9808
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9809 for ac_header in mach/mach.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9810 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9812 echo "$as_me:9812: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9815 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9816 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9817 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9818 #line 9818 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9819 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9820 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9821 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9822 if { (eval echo "$as_me:9822: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9824 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9825 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9826 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9827 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9828 echo "$as_me:9828: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9829 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9830 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9831 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9832 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9833 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9834 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9835 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9836 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9837 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9838 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9839 eval "$as_ac_Header=yes"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9840 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9841 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9842 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9843 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9844 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9845 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9846 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9847 echo "$as_me:9847: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9850 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9851 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9852 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9853
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9854 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9855 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9856
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9857 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9858
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9859 for ac_header in nlist.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9860 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9861 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9862 echo "$as_me:9862: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9863 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9866 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9867 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9868 #line 9868 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9869 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9870 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9871 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9872 if { (eval echo "$as_me:9872: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9874 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9875 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9876 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9877 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9878 echo "$as_me:9878: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9879 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9880 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9881 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9882 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9883 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9884 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9885 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9886 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9887 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9888 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9889 eval "$as_ac_Header=yes"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9890 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9891 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9892 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9893 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9894 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9895 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9896 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9897 echo "$as_me:9897: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9900 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9902 EOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9903 echo "$as_me:9903: checking for struct nlist.n_un.n_name" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9904 echo $ECHO_N "checking for struct nlist.n_un.n_name... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9905 if test "${ac_cv_member_struct_nlist_n_un_n_name+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9907 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9908 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9909 #line 9909 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9910 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9911 #include <nlist.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9912
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9913 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9914 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9915 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9916 static struct nlist ac_aggr;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9917 if (ac_aggr.n_un.n_name)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9918 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9919 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9920 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9921 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9922 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9923 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9924 if { (eval echo "$as_me:9924: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9925 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9926 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9927 echo "$as_me:9927: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9928 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9929 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9930 { (eval echo "$as_me:9930: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9931 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9932 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9933 echo "$as_me:9933: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9934 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9935 ac_cv_member_struct_nlist_n_un_n_name=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9936 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9937 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9938 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9939 ac_cv_member_struct_nlist_n_un_n_name=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9940 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9941 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9942 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9943 echo "$as_me:9943: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9944 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9945 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9946
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9947 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9948 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9949 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9950
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9951 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9952 #define NLIST_NAME_UNION 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9953 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9954
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9955 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9956
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9957 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9958 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9959
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9960 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9961 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9962
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9963 # Some definitions of getloadavg require that the program be installed setgid.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9964 echo "$as_me:9964: checking whether getloadavg requires setgid" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9965 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9966 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9967 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9968 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9969 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9970 #line 9970 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9971 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9972 #include "$srcdir/getloadavg.c"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9973 #ifdef LDAV_PRIVILEGED
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9974 Yowza Am I SETGID yet
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9975 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9976 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9978 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9979 ac_cv_func_getloadavg_setgid=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9980 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9981 ac_cv_func_getloadavg_setgid=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9982 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9983 rm -f conftest*
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9984
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9985 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
9986 echo "$as_me:9986: result: $ac_cv_func_getloadavg_setgid" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9987 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9988 if test $ac_cv_func_getloadavg_setgid = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9989 NEED_SETGID=true
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9990
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9991 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9992 #define GETLOADAVG_PRIVILEGED 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9993 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9994
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9995 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9996 NEED_SETGID=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9997 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9998
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9999 if test $ac_cv_func_getloadavg_setgid = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10000 echo "$as_me:10000: checking group of /dev/kmem" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10001 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10002 if test "${ac_cv_group_kmem+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10004 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10005 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10006 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10007 # If we got an error (system does not support symlinks), try without -L.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10008 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10009 ac_cv_group_kmem=`echo $ac_ls_output \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10010 | sed -ne 's/[ ][ ]*/ /g;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10011 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10012 / /s/.* //;p;'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10013
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10014 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10015 echo "$as_me:10015: result: $ac_cv_group_kmem" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10016 echo "${ECHO_T}$ac_cv_group_kmem" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10017 KMEM_GROUP=$ac_cv_group_kmem
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10018 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10019 if test "x$ac_save_LIBS" = x; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10020 GETLOADAVG_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10021 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10022 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10023 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10024 LIBS=$ac_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10025
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10026 echo "$as_me:10026: checking for _LARGEFILE_SOURCE value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10027 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10028 if test "${ac_cv_sys_largefile_source+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10029 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10030 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10031 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10032 ac_cv_sys_largefile_source=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10033 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10034 #line 10034 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10035 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10036 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10037 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10038 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10039 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10040 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10041 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10042 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10043 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10044 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10045 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10046 if { (eval echo "$as_me:10046: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10047 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10048 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10049 echo "$as_me:10049: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10050 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10051 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10052 { (eval echo "$as_me:10052: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10053 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10054 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10055 echo "$as_me:10055: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10056 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10057 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10058 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10059 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10060 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10061 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10062 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10063 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10064 #line 10064 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10065 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10066 #define _LARGEFILE_SOURCE 1
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10067 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10068 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10069 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10070 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10071 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10072 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10073 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10074 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10075 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10076 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10077 if { (eval echo "$as_me:10077: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10078 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10079 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10080 echo "$as_me:10080: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10081 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10082 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10083 { (eval echo "$as_me:10083: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10084 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10085 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10086 echo "$as_me:10086: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10087 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10088 ac_cv_sys_largefile_source=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10089 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10090 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10091 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10092 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10093 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10094 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10095 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10096 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10097 echo "$as_me:10097: result: $ac_cv_sys_largefile_source" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10098 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10099 if test "$ac_cv_sys_largefile_source" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10100
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10101 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10102 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10103 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10104
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10105 fi
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10106 rm -f conftest*
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10107
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10108 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10109 # in glibc 2.1.3, but that breaks too many other things.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10110 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10111 echo "$as_me:10111: checking for fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10112 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10113 if test "${ac_cv_func_fseeko+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10114 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10115 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10116 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10117 #line 10117 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10118 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10119 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10120 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10121 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10122 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10123 return fseeko && fseeko (stdin, 0, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10124 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10125 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10126 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10127 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10128 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10129 if { (eval echo "$as_me:10129: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10130 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10131 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10132 echo "$as_me:10132: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10133 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10134 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10135 { (eval echo "$as_me:10135: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10136 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10137 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10138 echo "$as_me:10138: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10139 (exit $ac_status); }; }; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10140 ac_cv_func_fseeko=yes
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10141 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10142 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10143 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10144 ac_cv_func_fseeko=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10145 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10147 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10148 echo "$as_me:10148: result: $ac_cv_func_fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10149 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10150 if test $ac_cv_func_fseeko = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10151
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10152 cat >>confdefs.h <<\EOF
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10153 #define HAVE_FSEEKO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10154 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10155
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10156 fi
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10157
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10158 # UNIX98 PTYs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10159
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10160 for ac_func in grantpt
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10161 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10163 echo "$as_me:10163: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10165 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10167 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10168 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10169 #line 10169 "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10170 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10171 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10172 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10173 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10174 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10175 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10176 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10177 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10178 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10179 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10180 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10181 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10182
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10183 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10184 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10185 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10186 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10187 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10188 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10190 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10191 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10192 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10193 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10194
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10195 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10196 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10197 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10198 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10199 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10200 if { (eval echo "$as_me:10200: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10201 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10202 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10203 echo "$as_me:10203: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10204 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10205 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10206 { (eval echo "$as_me:10206: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10207 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10208 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10209 echo "$as_me:10209: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10210 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10211 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10212 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10213 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10214 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10215 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10216 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10218 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10219 echo "$as_me:10219: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10221 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10222 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10224 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10225
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10226 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10227 done
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10228
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10229 # PTY-related GNU extensions.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10230
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10231 for ac_func in getpt
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10232 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10234 echo "$as_me:10234: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10236 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10238 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10239 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10240 #line 10240 "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10241 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10242 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10243 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10244 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10245 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10246 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10247 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10248 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10249 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10250 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10251 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10252 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10253
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10254 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10255 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10256 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10257 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10258 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10259 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10261 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10262 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10263 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10264 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10265
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10266 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10267 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10268 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10269 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10270 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10271 if { (eval echo "$as_me:10271: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10272 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10273 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10274 echo "$as_me:10274: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10275 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10276 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10277 { (eval echo "$as_me:10277: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10278 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10279 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10280 echo "$as_me:10280: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10281 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10282 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10283 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10284 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10285 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10286 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10287 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10289 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10290 echo "$as_me:10290: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10292 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10293 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10295 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10296
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10297 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10298 done
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10299
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10300 # Check this now, so that we will NOT find the above functions in ncurses.
Dave Love <fx@gnu.org>
parents:
diff changeset
10301 # That is because we have not set up to link ncurses in lib-src.
Dave Love <fx@gnu.org>
parents:
diff changeset
10302 # It's better to believe a function is not available
Dave Love <fx@gnu.org>
parents:
diff changeset
10303 # than to expect to find it in ncurses.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10304
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10305 echo "$as_me:10305: checking for tparm in -lncurses" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10306 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10307 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10309 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10310 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10311 LIBS="-lncurses $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10312 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10313 #line 10313 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10314 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10315
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10316 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10317 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10318 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10319 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10320 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10321 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10322 char tparm ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10323 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10324 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10325 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10326 tparm ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10327 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10328 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10329 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10330 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10331 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10332 if { (eval echo "$as_me:10332: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10333 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10334 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10335 echo "$as_me:10335: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10336 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10337 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10338 { (eval echo "$as_me:10338: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10339 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10340 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10341 echo "$as_me:10341: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10342 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10343 ac_cv_lib_ncurses_tparm=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10344 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10345 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10346 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10347 ac_cv_lib_ncurses_tparm=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10348 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10350 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10351 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10352 echo "$as_me:10352: result: $ac_cv_lib_ncurses_tparm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10353 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10354 if test $ac_cv_lib_ncurses_tparm = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10355 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10356 #define HAVE_LIBNCURSES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10357 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10358
Dave Love <fx@gnu.org>
parents:
diff changeset
10359 LIBS="-lncurses $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
10360
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10361 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10362
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10363 # Do we need the Hesiod library to provide the support routines?
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10364 if test "$with_hesiod" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10365 # Don't set $LIBS here -- see comments above.
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10366 resolv=no
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10367 echo "$as_me:10367: checking for res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10368 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10369 if test "${ac_cv_func_res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10370 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10371 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10372 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10373 #line 10373 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10374 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10375 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10376 which can conflict with char res_send (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10377 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10378 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10379 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10380 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10381 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10382 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10383 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10384 char res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10385 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10386
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10387 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10388 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10389 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10390 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10391 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10392 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10393 #if defined (__stub_res_send) || defined (__stub___res_send)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10394 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10395 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10396 f = res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10397 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10398
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10399 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10400 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10401 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10402 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10403 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10404 if { (eval echo "$as_me:10404: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10405 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10406 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10407 echo "$as_me:10407: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10408 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10409 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10410 { (eval echo "$as_me:10410: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10411 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10412 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10413 echo "$as_me:10413: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10414 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10415 ac_cv_func_res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10416 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10417 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10418 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10419 ac_cv_func_res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10420 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10421 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10422 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10423 echo "$as_me:10423: result: $ac_cv_func_res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10424 echo "${ECHO_T}$ac_cv_func_res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10425 if test $ac_cv_func_res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10426 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10427 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10428 echo "$as_me:10428: checking for __res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10429 echo $ECHO_N "checking for __res_send... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10430 if test "${ac_cv_func___res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10432 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10433 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10434 #line 10434 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10435 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10436 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10437 which can conflict with char __res_send (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10438 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10439 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10440 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10441 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10442 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10443 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10444 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10445 char __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10446 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10447
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10448 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10449 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10450 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10451 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10452 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10453 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10454 #if defined (__stub___res_send) || defined (__stub_____res_send)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10455 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10456 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10457 f = __res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10458 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10459
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10460 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10461 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10462 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10463 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10464 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10465 if { (eval echo "$as_me:10465: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10466 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10467 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10468 echo "$as_me:10468: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10469 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10470 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10471 { (eval echo "$as_me:10471: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10472 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10473 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10474 echo "$as_me:10474: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10475 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10476 ac_cv_func___res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10477 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10478 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10479 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10480 ac_cv_func___res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10481 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10483 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10484 echo "$as_me:10484: result: $ac_cv_func___res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10485 echo "${ECHO_T}$ac_cv_func___res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10486 if test $ac_cv_func___res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10487 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10488 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10489 echo "$as_me:10489: checking for res_send in -lresolv" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10490 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10491 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10493 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10494 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10495 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10496 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10497 #line 10497 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10498 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10499
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10500 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10501 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10502 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10503 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10504 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10505 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10506 char res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10507 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10508 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10509 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10510 res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10511 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10512 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10513 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10514 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10515 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10516 if { (eval echo "$as_me:10516: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10517 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10518 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10519 echo "$as_me:10519: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10520 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10521 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10522 { (eval echo "$as_me:10522: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10523 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10524 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10525 echo "$as_me:10525: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10526 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10527 ac_cv_lib_resolv_res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10528 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10529 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10530 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10531 ac_cv_lib_resolv_res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10532 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10534 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10535 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10536 echo "$as_me:10536: result: $ac_cv_lib_resolv_res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10537 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10538 if test $ac_cv_lib_resolv_res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10539 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10540 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10541 echo "$as_me:10541: checking for __res_send in -lresolv" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10542 echo $ECHO_N "checking for __res_send in -lresolv... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10543 if test "${ac_cv_lib_resolv___res_send+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10545 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10546 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10547 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10548 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10549 #line 10549 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10550 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10551
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10552 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10553 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10554 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10555 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10556 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10557 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10558 char __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10559 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10560 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10561 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10562 __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10563 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10564 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10565 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10566 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10567 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10568 if { (eval echo "$as_me:10568: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10569 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10570 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10571 echo "$as_me:10571: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10572 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10573 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10574 { (eval echo "$as_me:10574: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10575 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10576 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10577 echo "$as_me:10577: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10578 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10579 ac_cv_lib_resolv___res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10580 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10581 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10582 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10583 ac_cv_lib_resolv___res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10584 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10586 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10587 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10588 echo "$as_me:10588: result: $ac_cv_lib_resolv___res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10589 echo "${ECHO_T}$ac_cv_lib_resolv___res_send" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10590 if test $ac_cv_lib_resolv___res_send = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10591 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10592 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10593
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10594 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10595
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10596 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10597
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10598 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10599
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10600 if test "$resolv" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10601 RESOLVLIB=-lresolv
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
10602
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10603 cat >>confdefs.h <<\EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10604 #define HAVE_LIBRESOLV 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10605 EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10606
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10607 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10608 RESOLVLIB=
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10609 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10610 echo "$as_me:10610: checking for hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10611 echo $ECHO_N "checking for hes_getmailhost... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10612 if test "${ac_cv_func_hes_getmailhost+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10613 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10614 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10615 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10616 #line 10616 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10617 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10618 /* System header to define __stub macros and hopefully few prototypes,
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10619 which can conflict with char hes_getmailhost (); below. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10620 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10621 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10622 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10623 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10624 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10625 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10626 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10627 char hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10628 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10629
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10630 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10631 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10632 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10633 /* The GNU C library defines this for functions which it implements
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10634 to always fail with ENOSYS. Some functions are actually named
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10635 something starting with __ and the normal name is an alias. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10636 #if defined (__stub_hes_getmailhost) || defined (__stub___hes_getmailhost)
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10637 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10638 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10639 f = hes_getmailhost;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10640 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10641
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10642 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10643 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10644 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10645 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10646 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10647 if { (eval echo "$as_me:10647: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10648 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10649 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10650 echo "$as_me:10650: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10651 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10652 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10653 { (eval echo "$as_me:10653: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10654 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10655 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10656 echo "$as_me:10656: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10657 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10658 ac_cv_func_hes_getmailhost=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10659 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10660 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10661 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10662 ac_cv_func_hes_getmailhost=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10663 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10665 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10666 echo "$as_me:10666: result: $ac_cv_func_hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10667 echo "${ECHO_T}$ac_cv_func_hes_getmailhost" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10668 if test $ac_cv_func_hes_getmailhost = yes; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10669 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10670 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10671 echo "$as_me:10671: checking for hes_getmailhost in -lhesiod" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10672 echo $ECHO_N "checking for hes_getmailhost in -lhesiod... $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10673 if test "${ac_cv_lib_hesiod_hes_getmailhost+set}" = set; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10674 echo $ECHO_N "(cached) $ECHO_C" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10675 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10676 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10677 LIBS="-lhesiod $RESOLVLIB $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10678 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10679 #line 10679 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10680 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10681
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10682 /* Override any gcc2 internal prototype to avoid an error. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10683 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10684 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10685 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10686 /* We use char because int might match the return type of a gcc2
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10687 builtin and then its argument prototype would still apply. */
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10688 char hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10689 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10690 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10691 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10692 hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10693 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10694 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10695 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10696 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10697 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10698 if { (eval echo "$as_me:10698: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10699 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10700 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10701 echo "$as_me:10701: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10702 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10703 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10704 { (eval echo "$as_me:10704: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10705 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10706 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10707 echo "$as_me:10707: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10708 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10709 ac_cv_lib_hesiod_hes_getmailhost=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10710 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10711 echo "$as_me: failed program was:" >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10712 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10713 ac_cv_lib_hesiod_hes_getmailhost=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10714 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10716 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10717 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10718 echo "$as_me:10718: result: $ac_cv_lib_hesiod_hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10719 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_getmailhost" >&6
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10720 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
10721
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10722 cat >>confdefs.h <<\EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10723 #define HAVE_LIBHESIOD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10724 EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10725
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10726 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10727 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10728 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10729
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10730 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10731
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10732 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10733
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10734 # These tell us which Kerberos-related libraries to use.
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10735 if test "${with_kerberos+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10736
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10737 echo "$as_me:10737: checking for com_err in -lcom_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10738 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10739 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10741 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10742 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10743 LIBS="-lcom_err $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10744 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10745 #line 10745 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10746 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10747
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10748 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10749 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10750 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10751 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10752 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10753 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10754 char com_err ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10755 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10756 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10757 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10758 com_err ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10759 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10760 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10761 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10762 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10763 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10764 if { (eval echo "$as_me:10764: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10765 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10766 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10767 echo "$as_me:10767: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10768 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10769 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10770 { (eval echo "$as_me:10770: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10771 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10772 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10773 echo "$as_me:10773: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10774 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10775 ac_cv_lib_com_err_com_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10776 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10777 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10778 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10779 ac_cv_lib_com_err_com_err=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10780 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10782 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10783 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10784 echo "$as_me:10784: result: $ac_cv_lib_com_err_com_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10785 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10786 if test $ac_cv_lib_com_err_com_err = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10787 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10788 #define HAVE_LIBCOM_ERR 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10789 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10790
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10791 LIBS="-lcom_err $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10792
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10793 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10794
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10795 echo "$as_me:10795: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10796 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lk5crypto... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10797 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10798 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10799 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10800 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10801 LIBS="-lk5crypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10802 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10803 #line 10803 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10804 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10805
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10806 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10807 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10808 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10809 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10810 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10811 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10812 char mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10813 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10814 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10815 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10816 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10817 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10818 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10819 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10820 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10821 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10822 if { (eval echo "$as_me:10822: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10823 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10824 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10825 echo "$as_me:10825: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10826 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10827 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10828 { (eval echo "$as_me:10828: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10829 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10830 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10831 echo "$as_me:10831: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10832 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10833 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10834 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10835 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10836 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10837 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10838 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10839 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10840 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10841 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10842 echo "$as_me:10842: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10843 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10844 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10845 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10846 #define HAVE_LIBK5CRYPTO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10847 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10848
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10849 LIBS="-lk5crypto $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10850
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10851 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10852
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10853 echo "$as_me:10853: checking for mit_des_cbc_encrypt in -lcrypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10854 echo $ECHO_N "checking for mit_des_cbc_encrypt in -lcrypto... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10855 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10856 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10857 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10858 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10859 LIBS="-lcrypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10860 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10861 #line 10861 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10862 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10863
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10864 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10865 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10866 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10867 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10868 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10869 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10870 char mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10871 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10872 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10873 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10874 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10875 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10876 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10877 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10878 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10879 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10880 if { (eval echo "$as_me:10880: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10881 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10882 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10883 echo "$as_me:10883: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10884 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10885 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10886 { (eval echo "$as_me:10886: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10887 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10888 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10889 echo "$as_me:10889: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10890 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10891 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10892 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10893 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10894 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10895 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10896 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10898 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10899 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10900 echo "$as_me:10900: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10901 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10902 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10903 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10904 #define HAVE_LIBCRYPTO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10905 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10906
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10907 LIBS="-lcrypto $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10908
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10909 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10910
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10911 echo "$as_me:10911: checking for krb5_init_context in -lkrb5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10912 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10913 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10915 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10916 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10917 LIBS="-lkrb5 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10918 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10919 #line 10919 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10920 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10921
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10922 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10923 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10924 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10925 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10926 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10927 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10928 char krb5_init_context ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10929 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10930 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10931 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10932 krb5_init_context ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10933 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10934 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10935 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10936 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10937 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10938 if { (eval echo "$as_me:10938: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10939 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10940 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10941 echo "$as_me:10941: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10942 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10943 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10944 { (eval echo "$as_me:10944: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10945 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10946 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10947 echo "$as_me:10947: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10948 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10949 ac_cv_lib_krb5_krb5_init_context=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10950 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10951 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10952 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10953 ac_cv_lib_krb5_krb5_init_context=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10954 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10956 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10957 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10958 echo "$as_me:10958: result: $ac_cv_lib_krb5_krb5_init_context" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10959 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10960 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10961 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10962 #define HAVE_LIBKRB5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10963 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10964
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10965 LIBS="-lkrb5 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10966
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10967 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10968
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10969 if test "${with_kerberos5+set}" != set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10970
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10971 echo "$as_me:10971: checking for des_cbc_encrypt in -ldes425" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10972 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10973 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10974 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10975 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10976 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10977 LIBS="-ldes425 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10978 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10979 #line 10979 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10980 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10981
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10982 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10983 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10984 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10985 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
10986 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10987 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10988 char des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10989 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10990 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10991 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10992 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10993 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10994 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10995 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10996 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10997 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10998 if { (eval echo "$as_me:10998: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
10999 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11000 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11001 echo "$as_me:11001: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11002 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11003 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11004 { (eval echo "$as_me:11004: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11005 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11006 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11007 echo "$as_me:11007: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11008 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11009 ac_cv_lib_des425_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11010 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11011 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11012 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11013 ac_cv_lib_des425_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11014 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11016 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11017 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11018 echo "$as_me:11018: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11019 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11020 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11021 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11022 #define HAVE_LIBDES425 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11023 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11024
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11025 LIBS="-ldes425 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11026
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11027 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11028
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11029 echo "$as_me:11029: checking for des_cbc_encrypt in -ldes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11030 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11031 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11032 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11033 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11034 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11035 LIBS="-ldes $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11036 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11037 #line 11037 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11038 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11039
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11040 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11041 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11042 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11043 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11044 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11045 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11046 char des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11047 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11048 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11049 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11050 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11051 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11052 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11053 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11054 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11055 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11056 if { (eval echo "$as_me:11056: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11057 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11058 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11059 echo "$as_me:11059: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11060 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11061 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11062 { (eval echo "$as_me:11062: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11063 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11064 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11065 echo "$as_me:11065: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11066 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11067 ac_cv_lib_des_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11068 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11069 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11070 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11071 ac_cv_lib_des_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11072 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11074 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11075 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11076 echo "$as_me:11076: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11077 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11078 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11079 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11080 #define HAVE_LIBDES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11081 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11082
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11083 LIBS="-ldes $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11084
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11085 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11086
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11087 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11088
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11089 echo "$as_me:11089: checking for krb_get_cred in -lkrb4" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11090 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11091 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11092 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11093 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11094 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11095 LIBS="-lkrb4 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11096 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11097 #line 11097 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11098 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11099
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11100 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11101 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11102 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11103 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11104 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11105 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11106 char krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11107 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11108 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11109 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11110 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11111 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11112 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11113 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11114 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11115 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11116 if { (eval echo "$as_me:11116: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11117 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11118 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11119 echo "$as_me:11119: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11120 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11121 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11122 { (eval echo "$as_me:11122: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11123 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11124 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11125 echo "$as_me:11125: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11126 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11127 ac_cv_lib_krb4_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11128 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11129 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11130 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11131 ac_cv_lib_krb4_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11132 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11133 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11134 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11135 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11136 echo "$as_me:11136: result: $ac_cv_lib_krb4_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11137 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11138 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11139 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11140 #define HAVE_LIBKRB4 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11141 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11142
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11143 LIBS="-lkrb4 $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11144
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11145 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11146
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11147 echo "$as_me:11147: checking for krb_get_cred in -lkrb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11148 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11149 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11150 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11151 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11152 ac_check_lib_save_LIBS=$LIBS
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11153 LIBS="-lkrb $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11154 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11155 #line 11155 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11156 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11157
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11158 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11159 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11160 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11161 #endif
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11162 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11163 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11164 char krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11165 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11166 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11167 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11168 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11169 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11170 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11171 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11172 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11173 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11174 if { (eval echo "$as_me:11174: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11175 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11176 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11177 echo "$as_me:11177: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11178 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11179 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11180 { (eval echo "$as_me:11180: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11181 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11182 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11183 echo "$as_me:11183: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11184 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11185 ac_cv_lib_krb_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11186 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11187 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11188 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11189 ac_cv_lib_krb_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11190 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11192 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11193 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11194 echo "$as_me:11194: result: $ac_cv_lib_krb_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11195 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11196 if test $ac_cv_lib_krb_krb_get_cred = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11197 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11198 #define HAVE_LIBKRB 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11199 EOF
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11200
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11201 LIBS="-lkrb $LIBS"
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11202
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11203 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11204
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11205 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11206
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11207 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11208
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11209 if test "${with_kerberos5+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11210
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11211 for ac_header in krb5.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11212 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11214 echo "$as_me:11214: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11217 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11218 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11219 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11220 #line 11220 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11221 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11222 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11223 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11224 if { (eval echo "$as_me:11224: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11226 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11227 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11228 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11229 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11230 echo "$as_me:11230: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11231 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11232 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11233 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11234 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11235 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11236 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11237 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11238 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11239 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11240 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11241 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11242 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11243 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11244 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11245 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11246 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11247 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11248 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11249 echo "$as_me:11249: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11251 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11252 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11253 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11254 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11255
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11256 fi
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11257 done
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11258
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11259 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11260
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11261 for ac_header in des.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11262 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11264 echo "$as_me:11264: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11268 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11269 cat >conftest.$ac_ext <<_ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11270 #line 11270 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11271 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11272 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11273 _ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11274 if { (eval echo "$as_me:11274: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11276 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11277 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11278 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11279 cat conftest.err >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11280 echo "$as_me:11280: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11281 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11282 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11283 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11284 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11285 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11286 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11287 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11288 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11289 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11290 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11291 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11292 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11293 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11294 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11295 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11296 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11297 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11298 fi
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11299 echo "$as_me:11299: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11302 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11304 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11305
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11306 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11307
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11308 for ac_header in kerberosIV/des.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11309 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11310 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11311 echo "$as_me:11311: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11315 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11316 cat >conftest.$ac_ext <<_ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11317 #line 11317 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11318 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11319 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11320 _ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11321 if { (eval echo "$as_me:11321: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11323 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11324 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11325 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11326 cat conftest.err >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11327 echo "$as_me:11327: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11328 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11329 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11330 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11331 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11332 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11333 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11334 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11335 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11336 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11337 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11338 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11339 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11340 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11341 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11342 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11343 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11344 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11345 fi
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11346 echo "$as_me:11346: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11349 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11351 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11352
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11353 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11354
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11355 for ac_header in kerberos/des.h
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11356 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11358 echo "$as_me:11358: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11361 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11362 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11363 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11364 #line 11364 "configure"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11365 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11366 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11367 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11368 if { (eval echo "$as_me:11368: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11370 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11371 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11372 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11373 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11374 echo "$as_me:11374: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11375 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11376 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11377 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11378 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11379 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11380 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11381 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11382 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11383 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11384 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11385 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11386 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11387 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11388 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11389 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11390 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11391 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11392 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11393 echo "$as_me:11393: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11394 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11395 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11396 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11398 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11399
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11400 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11401 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11403 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11404 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11405
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11406 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11407 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11408
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11409 for ac_header in krb.h
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11410 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11412 echo "$as_me:11412: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11415 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11416 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11417 cat >conftest.$ac_ext <<_ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11418 #line 11418 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11419 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11420 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11421 _ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11422 if { (eval echo "$as_me:11422: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11424 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11425 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11426 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11427 cat conftest.err >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11428 echo "$as_me:11428: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11429 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11430 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11431 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11432 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11433 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11434 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11435 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11436 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11437 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11438 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11439 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11440 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11441 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11442 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11443 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11444 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11445 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11446 fi
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11447 echo "$as_me:11447: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11450 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11452 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11453
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11454 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11455
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11456 for ac_header in kerberosIV/krb.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11457 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11459 echo "$as_me:11459: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11462 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11463 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11464 cat >conftest.$ac_ext <<_ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11465 #line 11465 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11466 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11467 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11468 _ACEOF
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11469 if { (eval echo "$as_me:11469: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11470 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11471 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11472 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11473 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11474 cat conftest.err >&5
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11475 echo "$as_me:11475: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11476 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11477 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11478 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11479 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11480 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11481 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11482 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11483 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11484 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11485 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11486 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11487 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11488 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11489 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11490 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11491 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11492 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11493 fi
46596
5502ee23a19b Updated.
Richard M. Stallman <rms@gnu.org>
parents: 45961
diff changeset
11494 echo "$as_me:11494: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11495 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11496 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11497 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11498 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11499 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11500
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11501 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11502
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11503 for ac_header in kerberos/krb.h
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11504 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11505 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11506 echo "$as_me:11506: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11510 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11511 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11512 #line 11512 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11513 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11514 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11515 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11516 if { (eval echo "$as_me:11516: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11518 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11519 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11520 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11521 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11522 echo "$as_me:11522: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11523 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11524 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11525 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11526 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11527 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11528 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11529 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11530 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11531 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11532 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11533 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11534 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11535 echo "$as_me: failed program was:" >&5
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11536 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11537 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11538 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11539 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11540 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11541 echo "$as_me:11541: result: `eval echo '${'$as_ac_Header'}'`" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11542 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11544 cat >>confdefs.h <<EOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11546 EOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11547
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11548 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11549 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11550
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11551 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11552 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11553
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11554 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11555 done
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11556
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11557 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11558
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11559 for ac_header in com_err.h
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11560 do
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11562 echo "$as_me:11562: checking for $ac_header" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11565 echo $ECHO_N "(cached) $ECHO_C" >&6
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11566 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11567 cat >conftest.$ac_ext <<_ACEOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11568 #line 11568 "configure"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11569 #include "confdefs.h"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11570 #include <$ac_header>
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11571 _ACEOF
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11572 if { (eval echo "$as_me:11572: \"$ac_cpp conftest.$ac_ext\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11573 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11574 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11575 egrep -v '^ *\+' conftest.er1 >conftest.err
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11576 rm -f conftest.er1
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11577 cat conftest.err >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11578 echo "$as_me:11578: \$? = $ac_status" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11579 (exit $ac_status); } >/dev/null; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11580 if test -s conftest.err; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11581 ac_cpp_err=$ac_c_preproc_warn_flag
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11582 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11583 ac_cpp_err=
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11584 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11585 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11586 ac_cpp_err=yes
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11587 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11588 if test -z "$ac_cpp_err"; then
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11589 eval "$as_ac_Header=yes"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11590 else
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11591 echo "$as_me: failed program was:" >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11592 cat conftest.$ac_ext >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11593 eval "$as_ac_Header=no"
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11594 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11595 rm -f conftest.err conftest.$ac_ext
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11596 fi
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11597 echo "$as_me:11597: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11600 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11602 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11603
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11604 fi
26562
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11605 done
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11606
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11607 fi
b32d82817493 * configure.in: Restore Kerberos code deleted on 1999-05-29 that didn't need to
Ken Raeburn <raeburn@raeburn.org>
parents: 26502
diff changeset
11608
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11609 # Solaris requires -lintl if you want strerror (which calls dgettext)
Dave Love <fx@gnu.org>
parents:
diff changeset
11610 # to return localized messages.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11611
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11612 echo "$as_me:11612: checking for dgettext in -lintl" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11613 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11614 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11616 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11617 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11618 LIBS="-lintl $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11619 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11620 #line 11620 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11621 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11622
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11623 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11624 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11625 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11626 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11627 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11628 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11629 char dgettext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11630 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11631 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11632 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11633 dgettext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11634 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11635 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11636 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11637 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11638 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11639 if { (eval echo "$as_me:11639: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11640 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11641 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11642 echo "$as_me:11642: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11643 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11644 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11645 { (eval echo "$as_me:11645: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11646 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11647 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11648 echo "$as_me:11648: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11649 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11650 ac_cv_lib_intl_dgettext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11651 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11652 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11653 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11654 ac_cv_lib_intl_dgettext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11655 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11657 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11658 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11659 echo "$as_me:11659: result: $ac_cv_lib_intl_dgettext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11660 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11661 if test $ac_cv_lib_intl_dgettext = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11662 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11663 #define HAVE_LIBINTL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11664 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11665
Dave Love <fx@gnu.org>
parents:
diff changeset
11666 LIBS="-lintl $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
11667
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11668 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11669
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11670 echo "$as_me:11670: checking whether localtime caches TZ" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11671 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11672 if test "${emacs_cv_localtime_cache+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11673 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11674 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11675 if test x$ac_cv_func_tzset = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
11676 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
11677 # If we have tzset, assume the worst when cross-compiling.
Dave Love <fx@gnu.org>
parents:
diff changeset
11678 emacs_cv_localtime_cache=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
11679 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11680 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11681 #line 11681 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11682 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11683 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11684 extern char **environ;
Dave Love <fx@gnu.org>
parents:
diff changeset
11685 unset_TZ ()
Dave Love <fx@gnu.org>
parents:
diff changeset
11686 {
Dave Love <fx@gnu.org>
parents:
diff changeset
11687 char **from, **to;
Dave Love <fx@gnu.org>
parents:
diff changeset
11688 for (to = from = environ; (*to = *from); from++)
Dave Love <fx@gnu.org>
parents:
diff changeset
11689 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
Dave Love <fx@gnu.org>
parents:
diff changeset
11690 to++;
Dave Love <fx@gnu.org>
parents:
diff changeset
11691 }
Dave Love <fx@gnu.org>
parents:
diff changeset
11692 char TZ_GMT0[] = "TZ=GMT0";
Dave Love <fx@gnu.org>
parents:
diff changeset
11693 char TZ_PST8[] = "TZ=PST8";
Dave Love <fx@gnu.org>
parents:
diff changeset
11694 main()
Dave Love <fx@gnu.org>
parents:
diff changeset
11695 {
Dave Love <fx@gnu.org>
parents:
diff changeset
11696 time_t now = time ((time_t *) 0);
Dave Love <fx@gnu.org>
parents:
diff changeset
11697 int hour_GMT0, hour_unset;
Dave Love <fx@gnu.org>
parents:
diff changeset
11698 if (putenv (TZ_GMT0) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11699 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11700 hour_GMT0 = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
11701 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
11702 hour_unset = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
11703 if (putenv (TZ_PST8) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11704 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11705 if (localtime (&now)->tm_hour == hour_GMT0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11706 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11707 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
11708 if (localtime (&now)->tm_hour != hour_unset)
Dave Love <fx@gnu.org>
parents:
diff changeset
11709 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11710 exit (0);
Dave Love <fx@gnu.org>
parents:
diff changeset
11711 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11712 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11713 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11714 if { (eval echo "$as_me:11714: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11715 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11716 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11717 echo "$as_me:11717: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11718 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11719 { (eval echo "$as_me:11719: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11720 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11721 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11722 echo "$as_me:11722: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11723 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11724 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
11725 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11726 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11727 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11728 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11729 emacs_cv_localtime_cache=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11730 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11731 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11732 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11733 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11734 # If we lack tzset, report that localtime does not cache TZ,
Dave Love <fx@gnu.org>
parents:
diff changeset
11735 # since we can't invalidate the cache if we don't have tzset.
Dave Love <fx@gnu.org>
parents:
diff changeset
11736 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
11737 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11738 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11739 echo "$as_me:11739: result: $emacs_cv_localtime_cache" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11740 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11741 if test $emacs_cv_localtime_cache = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11742
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11743 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11744 #define LOCALTIME_CACHE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11745 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11746
Dave Love <fx@gnu.org>
parents:
diff changeset
11747 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11748
Dave Love <fx@gnu.org>
parents:
diff changeset
11749 if test "x$HAVE_TIMEVAL" = xyes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11750
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11751 for ac_func in gettimeofday
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11752 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11754 echo "$as_me:11754: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11756 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11758 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11759 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11760 #line 11760 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11761 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11762 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11763 which can conflict with char $ac_func (); below. */
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11764 #include <assert.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11765 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11766 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11767 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11768 #endif
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11769 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11770 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11771 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11772 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11773
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11774 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11775 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11776 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11777 /* The GNU C library defines this for functions which it implements
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11778 to always fail with ENOSYS. Some functions are actually named
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11779 something starting with __ and the normal name is an alias. */
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11781 choke me
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11782 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11783 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11784 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11785
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11786 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11787 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11788 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11789 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11790 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11791 if { (eval echo "$as_me:11791: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11792 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11793 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11794 echo "$as_me:11794: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11795 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11796 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11797 { (eval echo "$as_me:11797: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11798 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11799 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11800 echo "$as_me:11800: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11801 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11802 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11803 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11804 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11805 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11806 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11807 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11809 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11810 echo "$as_me:11810: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11812 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11813 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11815 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11816
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11817 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11818 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11819
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11820 if test $ac_cv_func_gettimeofday = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11821 echo "$as_me:11821: checking whether gettimeofday can accept two arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11822 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11823 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11824 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11825 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11826 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11827 #line 11827 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11828 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11829
Dave Love <fx@gnu.org>
parents:
diff changeset
11830 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
11831 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11832 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11833 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
11834 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
11835 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11836 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
11837 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11838 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
11839 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11840 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11841 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11842 {
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
11843 struct timeval time;
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11844 gettimeofday (&time, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11845 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11846 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11847 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11848 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11849 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11850 if { (eval echo "$as_me:11850: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11851 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11852 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11853 echo "$as_me:11853: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11854 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11855 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11856 { (eval echo "$as_me:11856: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11857 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11858 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11859 echo "$as_me:11859: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11860 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11861 emacs_cv_gettimeofday_two_arguments=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
11862 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11863 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11864 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11865 emacs_cv_gettimeofday_two_arguments=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11866 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11867 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11868 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11869 echo "$as_me:11869: result: $emacs_cv_gettimeofday_two_arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11870 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11871 if test $emacs_cv_gettimeofday_two_arguments = no; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11872
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11873 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11874 #define GETTIMEOFDAY_ONE_ARGUMENT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11875 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11876
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11877 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11878 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11879 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11880
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11881 if test "$ac_cv_func_gettimeofday" = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11882 echo "$as_me:11882: checking for struct timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11883 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11884 if test "${emacs_cv_struct_timezone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11885 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11886 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11887 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11888 #line 11888 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11889 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11890 #include <sys/time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11891 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11892 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11893 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11894 struct timezone tz;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11895 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11896 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11897 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11898 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11899 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11900 if { (eval echo "$as_me:11900: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11901 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11902 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11903 echo "$as_me:11903: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11904 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11905 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11906 { (eval echo "$as_me:11906: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11907 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11908 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11909 echo "$as_me:11909: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11910 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11911 if test "$cross_compiling" = yes; then
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11912 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11913 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11914 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11915 #line 11915 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11916 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11917
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11918 #ifdef TIME_WITH_SYS_TIME
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11919 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11920 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11921 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11922 #ifdef HAVE_SYS_TIME_H
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11923 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11924 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11925 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11926 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11927 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11928 main () {
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11929 struct timeval time;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11930 struct timezone dummy;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11931 exit (gettimeofday (&time, &dummy));
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11932 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11933 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11934 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11935 if { (eval echo "$as_me:11935: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11936 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11937 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11938 echo "$as_me:11938: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11940 { (eval echo "$as_me:11940: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11941 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11942 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11943 echo "$as_me:11943: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11944 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11945 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11946 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11947 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11948 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11949 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11950 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11951 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11952 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11953 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11954 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11955 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11956 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11957 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11958 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11959 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11960 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11961 echo "$as_me:11961: result: $emacs_cv_struct_timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11962 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11963 fi
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11964
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11965 ok_so_far=yes
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11966 echo "$as_me:11966: checking for socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11967 echo $ECHO_N "checking for socket... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11968 if test "${ac_cv_func_socket+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11970 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11971 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
11972 #line 11972 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11973 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11974 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11975 which can conflict with char socket (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11976 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11977 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11978 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11979 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11980 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11981 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11982 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11983 char socket ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11984 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11985
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11986 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11987 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11988 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11989 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
11990 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
11991 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
11992 #if defined (__stub_socket) || defined (__stub___socket)
Dave Love <fx@gnu.org>
parents:
diff changeset
11993 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
11994 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11995 f = socket;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11996 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11997
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11998 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11999 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12000 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12001 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12002 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12003 if { (eval echo "$as_me:12003: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12004 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12005 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12006 echo "$as_me:12006: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12007 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12008 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12009 { (eval echo "$as_me:12009: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12010 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12011 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12012 echo "$as_me:12012: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12013 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12014 ac_cv_func_socket=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12015 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12016 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12017 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12018 ac_cv_func_socket=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12019 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12021 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12022 echo "$as_me:12022: result: $ac_cv_func_socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12023 echo "${ECHO_T}$ac_cv_func_socket" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12024 if test $ac_cv_func_socket = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12025 :
Dave Love <fx@gnu.org>
parents:
diff changeset
12026 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12027 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12028 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12029
Dave Love <fx@gnu.org>
parents:
diff changeset
12030 if test $ok_so_far = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12031 echo "$as_me:12031: checking for netinet/in.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12032 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12033 if test "${ac_cv_header_netinet_in_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12034 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12035 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12036 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12037 #line 12037 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12038 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
12039 #include <netinet/in.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12040 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12041 if { (eval echo "$as_me:12041: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12043 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12044 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12045 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12046 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12047 echo "$as_me:12047: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12048 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12049 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12050 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12051 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12052 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12053 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12054 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12055 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12056 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12057 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12058 ac_cv_header_netinet_in_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12059 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12060 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12061 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12062 ac_cv_header_netinet_in_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12063 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12064 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12065 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12066 echo "$as_me:12066: result: $ac_cv_header_netinet_in_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12067 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12068 if test $ac_cv_header_netinet_in_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12069 :
Dave Love <fx@gnu.org>
parents:
diff changeset
12070 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12071 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12072 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12073
Dave Love <fx@gnu.org>
parents:
diff changeset
12074 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12075 if test $ok_so_far = yes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12076 echo "$as_me:12076: checking for arpa/inet.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12077 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12078 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12079 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12080 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12081 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12082 #line 12082 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12083 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
12084 #include <arpa/inet.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12085 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12086 if { (eval echo "$as_me:12086: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12088 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12089 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12090 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12091 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12092 echo "$as_me:12092: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12093 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12094 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12095 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12096 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12097 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12098 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12099 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12100 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12101 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12102 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12103 ac_cv_header_arpa_inet_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12104 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12105 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12106 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12107 ac_cv_header_arpa_inet_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12108 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12109 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12110 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12111 echo "$as_me:12111: result: $ac_cv_header_arpa_inet_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12112 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12113 if test $ac_cv_header_arpa_inet_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12114 :
Dave Love <fx@gnu.org>
parents:
diff changeset
12115 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12116 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12117 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12118
Dave Love <fx@gnu.org>
parents:
diff changeset
12119 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12120 if test $ok_so_far = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12121
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12122 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12123 #define HAVE_INET_SOCKETS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12124 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12125
Dave Love <fx@gnu.org>
parents:
diff changeset
12126 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12127
Dave Love <fx@gnu.org>
parents:
diff changeset
12128 if test -f /usr/lpp/X11/bin/smt.exp; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12129
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12130 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12131 #define HAVE_AIX_SMT_EXP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12132 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12133
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12134 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12135
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12136 echo "$as_me:12136: checking whether system supports dynamic ptys" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12137 echo $ECHO_N "checking whether system supports dynamic ptys... $ECHO_C" >&6
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
12138 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12139 echo "$as_me:12139: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12140 echo "${ECHO_T}yes" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12141
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12142 cat >>confdefs.h <<\EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
12143 #define HAVE_DEV_PTMX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12144 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12145
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12146 else
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12147 echo "$as_me:12147: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12148 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12149 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12150
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12151 echo "$as_me:12151: checking for pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12152 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12153 if test "${ac_cv_type_pid_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12155 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12156 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12157 #line 12157 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12158 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12159 $ac_includes_default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12160 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12161 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12162 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12163 if ((pid_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12164 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12165 if (sizeof (pid_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12166 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12167 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12168 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12169 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12170 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12171 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12172 if { (eval echo "$as_me:12172: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12173 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12174 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12175 echo "$as_me:12175: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12176 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12177 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12178 { (eval echo "$as_me:12178: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12179 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12180 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12181 echo "$as_me:12181: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12182 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12183 ac_cv_type_pid_t=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12184 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12185 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12186 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12187 ac_cv_type_pid_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12188 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12189 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12190 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12191 echo "$as_me:12191: result: $ac_cv_type_pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12192 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12193 if test $ac_cv_type_pid_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12194 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12195 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12196
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12197 cat >>confdefs.h <<EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12198 #define pid_t int
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12199 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12200
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12201 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12202
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12203 for ac_header in unistd.h vfork.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12204 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12205 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12206 echo "$as_me:12206: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12210 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12211 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12212 #line 12212 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12213 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12214 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12215 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12216 if { (eval echo "$as_me:12216: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12218 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12219 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12220 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12221 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12222 echo "$as_me:12222: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12223 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12224 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12225 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12226 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12227 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12228 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12229 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12230 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12231 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12232 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12233 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12234 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12235 echo "$as_me: failed program was:" >&5
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12236 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12237 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12238 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12239 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12240 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12241 echo "$as_me:12241: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12244 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12246 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12247
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12248 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12249 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12250
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12251 for ac_func in fork vfork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12252 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12254 echo "$as_me:12254: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12256 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12257 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12258 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12259 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12260 #line 12260 "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12261 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12262 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12263 which can conflict with char $ac_func (); below. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12264 #include <assert.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12265 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12266 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12267 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12268 #endif
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12269 /* We use char because int might match the return type of a gcc2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12270 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12271 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12272 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12273
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12274 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12275 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12276 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12277 /* The GNU C library defines this for functions which it implements
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12278 to always fail with ENOSYS. Some functions are actually named
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12279 something starting with __ and the normal name is an alias. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12281 choke me
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12282 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12283 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12284 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12285
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12286 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12287 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12288 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12289 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12290 rm -f conftest.$ac_objext conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12291 if { (eval echo "$as_me:12291: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12292 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12293 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12294 echo "$as_me:12294: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12295 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12296 { ac_try='test -s conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12297 { (eval echo "$as_me:12297: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12298 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12299 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12300 echo "$as_me:12300: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12301 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12302 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12303 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12304 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12305 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12306 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12307 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12309 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12310 echo "$as_me:12310: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12312 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12313 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12315 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12316
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12317 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12318 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12319
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12320 ac_cv_func_fork_works=$ac_cv_func_fork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12321 if test "x$ac_cv_func_fork" = xyes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12322 echo "$as_me:12322: checking for working fork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12323 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12324 if test "${ac_cv_func_fork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12325 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12326 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12327 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12328 ac_cv_func_fork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12329 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12330 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12331 /* By Rüdiger Kuhlmann. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12332 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12333 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12334 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12335 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12336 /* Some systems only have a dummy stub for fork() */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12337 int main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12338 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12339 if (fork() < 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12340 exit (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12341 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12342 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12343 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12344 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12345 if { (eval echo "$as_me:12345: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12346 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12347 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12348 echo "$as_me:12348: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12350 { (eval echo "$as_me:12350: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12351 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12352 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12353 echo "$as_me:12353: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12354 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12355 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12356 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12357 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12358 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12359 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12360 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12361 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12362 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12363 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12364 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12365 echo "$as_me:12365: result: $ac_cv_func_fork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12366 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12367
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12368 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12369 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12370 case $host in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12371 *-*-amigaos* | *-*-msdosdjgpp*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12372 # Override, as these systems have only a dummy fork() stub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12373 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12374 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12375 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12376 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12377 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12378 esac
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12379 { echo "$as_me:12379: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12380 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_fork_works guessed due to cross-compiling." >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12381 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12382 ac_cv_func_vfork_works=$ac_cv_func_vfork
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12383 if test "x$ac_cv_func_vfork" = xyes; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12384 echo "$as_me:12384: checking for working vfork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12385 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12386 if test "${ac_cv_func_vfork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12388 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12389 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12390 ac_cv_func_vfork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12391 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12392 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12393 #line 12393 "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12394 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12395 /* Thanks to Paul Eggert for this test. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12396 #include <stdio.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12397 #include <sys/types.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12398 #include <sys/stat.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12399 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12400 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12401 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12402 #if HAVE_VFORK_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12403 # include <vfork.h>
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12404 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12405 /* On some sparc systems, changes by the child to local and incoming
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12406 argument registers are propagated back to the parent. The compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12407 is told about this with #include <vfork.h>, but some compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12408 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12409 static variable whose address is put into a register that is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12410 clobbered by the vfork. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12411 static
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12412 #ifdef __cplusplus
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12413 sparc_address_test (int arg)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12414 # else
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12415 sparc_address_test (arg) int arg;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12416 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12417 {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12418 static pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12419 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12420 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12421 if (child < 0) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12422 perror ("vfork");
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12423 _exit(2);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12424 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12425 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12426 arg = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12427 write(-1, "", 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12428 _exit (arg);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12429 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12430 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12431 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12432
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12433 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12434 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12435 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12436 pid_t parent = getpid ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12437 pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12438
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12439 sparc_address_test ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12440
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12441 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12442
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12443 if (child == 0) {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12444 /* Here is another test for sparc vfork register problems. This
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12445 test uses lots of local variables, at least as many local
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12446 variables as main has allocated so far including compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12447 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12448 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12449 reuse the register of parent for one of the local variables,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12450 since it will think that parent can't possibly be used any more
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12451 in this routine. Assigning to the local variable will thus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12452 munge parent in the parent process. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12453 pid_t
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12454 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12455 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12456 /* Convince the compiler that p..p7 are live; otherwise, it might
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12457 use the same hardware register for all 8 local variables. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12458 if (p != p1 || p != p2 || p != p3 || p != p4
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12459 || p != p5 || p != p6 || p != p7)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12460 _exit(1);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12461
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12462 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12463 from child file descriptors. If the child closes a descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12464 before it execs or exits, this munges the parent's descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12465 as well. Test for this by closing stdout in the child. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12466 _exit(close(fileno(stdout)) != 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12467 } else {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12468 int status;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12469 struct stat st;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12470
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12471 while (wait(&status) != child)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12472 ;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12473 exit(
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12474 /* Was there some problem with vforking? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12475 child < 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12476
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12477 /* Did the child fail? (This shouldn't happen.) */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12478 || status
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12479
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12480 /* Did the vfork/compiler bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12481 || parent != getpid()
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12482
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12483 /* Did the file descriptor bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12484 || fstat(fileno(stdout), &st) != 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12485 );
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12486 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12487 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12488 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12489 rm -f conftest$ac_exeext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12490 if { (eval echo "$as_me:12490: \"$ac_link\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12491 (eval $ac_link) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12492 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12493 echo "$as_me:12493: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12494 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12495 { (eval echo "$as_me:12495: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12496 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12497 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12498 echo "$as_me:12498: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12499 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12500 ac_cv_func_vfork_works=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12501 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12502 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12503 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12504 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12505 ac_cv_func_vfork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12506 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12507 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12508 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12509 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12510 echo "$as_me:12510: result: $ac_cv_func_vfork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12511 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12512
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12513 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12514 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12515 ac_cv_func_vfork_works=ac_cv_func_vfork
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12516 { echo "$as_me:12516: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12517 echo "$as_me: WARNING: CROSS: Result $ac_cv_func_vfork_works guessed due to cross-compiling." >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12518 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12519
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12520 if test "x$ac_cv_func_vfork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12521
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12522 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12523 #define HAVE_WORKING_VFORK 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12524 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12525
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12526 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12527
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12528 cat >>confdefs.h <<\EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12529 #define vfork fork
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12530 EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12531
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12532 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12533 if test "x$ac_cv_func_fork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12534
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12535 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12536 #define HAVE_WORKING_FORK 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12537 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12538
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12539 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12540
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12541 # Fixme: This should be replaced when we have autoconf 2.14.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12542 echo "$as_me:12542: checking for size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12543 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12544 if test "${ac_cv_type_size_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12546 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12547 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12548 #line 12548 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12549 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12550 $ac_includes_default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12551 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12552 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12553 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12554 if ((size_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12555 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12556 if (sizeof (size_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12557 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12558 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12559 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12560 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12561 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12562 rm -f conftest.$ac_objext
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12563 if { (eval echo "$as_me:12563: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12564 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12565 ac_status=$?
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12566 echo "$as_me:12566: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12567 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12568 { ac_try='test -s conftest.$ac_objext'
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12569 { (eval echo "$as_me:12569: \"$ac_try\"") >&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12570 (eval $ac_try) 2>&5
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12571 ac_status=$?
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12572 echo "$as_me:12572: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12573 (exit $ac_status); }; }; then
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12574 ac_cv_type_size_t=yes
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12575 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12576 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12577 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12578 ac_cv_type_size_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12579 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12580 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12581 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12582 echo "$as_me:12582: result: $ac_cv_type_size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12583 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12584 if test $ac_cv_type_size_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12585 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12586 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12587
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12588 cat >>confdefs.h <<EOF
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12589 #define size_t unsigned
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12590 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12591
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12592 fi
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12593
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12594 # Set up the CFLAGS for real compilation, so we can substitute it.
Dave Love <fx@gnu.org>
parents:
diff changeset
12595 CFLAGS="$REAL_CFLAGS"
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
12596 CPPFLAGS="$REAL_CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12597
Dave Love <fx@gnu.org>
parents:
diff changeset
12598 #### Find out which version of Emacs this is.
Dave Love <fx@gnu.org>
parents:
diff changeset
12599 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
Dave Love <fx@gnu.org>
parents:
diff changeset
12600 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12601 if test x"${version}" = x; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12602 { { echo "$as_me:12602: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12603 echo "$as_me: error: can't find current emacs version in \`${srcdir}/lisp/version.el'." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12604 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12605 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12606
Dave Love <fx@gnu.org>
parents:
diff changeset
12607 ### Specify what sort of things we'll be editing into Makefile and config.h.
Dave Love <fx@gnu.org>
parents:
diff changeset
12608 ### Use configuration here uncanonicalized to avoid exceeding size limits.
Dave Love <fx@gnu.org>
parents:
diff changeset
12609
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12610 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12611 #define EMACS_CONFIGURATION "${canonical}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12612 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12613
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12614 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12615 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12616 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12617
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12618 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12619 #define config_machfile "${machfile}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12620 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12621
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12622 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12623 #define config_opsysfile "${opsysfile}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12624 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12625
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12626 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12627 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12628 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12629
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12630 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12631 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12632 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12633
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12634 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12635 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12636 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12637
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12638 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12639 #define UNEXEC_SRC ${UNEXEC_SRC}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12640 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12641
Dave Love <fx@gnu.org>
parents:
diff changeset
12642 if test "${HAVE_X_WINDOWS}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12643
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12644 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12645 #define HAVE_X_WINDOWS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12646 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12647
Dave Love <fx@gnu.org>
parents:
diff changeset
12648 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12649 if test "${USE_X_TOOLKIT}" != "none" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12650
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12651 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12652 #define USE_X_TOOLKIT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12653 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12654
Dave Love <fx@gnu.org>
parents:
diff changeset
12655 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12656 if test "${HAVE_X11}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12657
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12658 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12659 #define HAVE_X11 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12660 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12661
Dave Love <fx@gnu.org>
parents:
diff changeset
12662 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12663 if test "${HAVE_XFREE386}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12664
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12665 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12666 #define HAVE_XFREE386 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12667 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12668
Dave Love <fx@gnu.org>
parents:
diff changeset
12669 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12670 if test "${HAVE_MENUS}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12671
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12672 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12673 #define HAVE_MENUS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12674 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12675
Dave Love <fx@gnu.org>
parents:
diff changeset
12676 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12677 if test "${GNU_MALLOC}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12678
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12679 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12680 #define GNU_MALLOC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12681 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12682
Dave Love <fx@gnu.org>
parents:
diff changeset
12683 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12684 if test "${REL_ALLOC}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12685
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12686 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12687 #define REL_ALLOC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12688 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12689
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12690 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12691
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12692 for ac_header in nlist.h
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12693 do
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12695 echo "$as_me:12695: checking for $ac_header" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12699 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12700 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12701 #line 12701 "configure"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12702 #include "confdefs.h"
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12703 #include <$ac_header>
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12704 _ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12705 if { (eval echo "$as_me:12705: \"$ac_cpp conftest.$ac_ext\"") >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12707 ac_status=$?
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12708 egrep -v '^ *\+' conftest.er1 >conftest.err
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12709 rm -f conftest.er1
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12710 cat conftest.err >&5
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12711 echo "$as_me:12711: \$? = $ac_status" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12712 (exit $ac_status); } >/dev/null; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12713 if test -s conftest.err; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12714 ac_cpp_err=$ac_c_preproc_warn_flag
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12715 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12716 ac_cpp_err=
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12717 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12718 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12719 ac_cpp_err=yes
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12720 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12721 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12722 eval "$as_ac_Header=yes"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12723 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12724 echo "$as_me: failed program was:" >&5
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12725 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12726 eval "$as_ac_Header=no"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12727 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12728 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12729 fi
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12730 echo "$as_me:12730: result: `eval echo '${'$as_ac_Header'}'`" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12733 cat >>confdefs.h <<EOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12735 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12736
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12737 cat >>confdefs.h <<\EOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12738 #define NLIST_STRUCT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12739 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12740
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12741 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12742 done
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12743
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12744 #### Report on what we decided to do.
Dave Love <fx@gnu.org>
parents:
diff changeset
12745 echo "
Dave Love <fx@gnu.org>
parents:
diff changeset
12746 Configured for \`${canonical}'.
Dave Love <fx@gnu.org>
parents:
diff changeset
12747
Dave Love <fx@gnu.org>
parents:
diff changeset
12748 Where should the build process find the source code? ${srcdir}
Dave Love <fx@gnu.org>
parents:
diff changeset
12749 What operating system and machine description files should Emacs use?
Dave Love <fx@gnu.org>
parents:
diff changeset
12750 \`${opsysfile}' and \`${machfile}'
Dave Love <fx@gnu.org>
parents:
diff changeset
12751 What compiler should emacs be built with? ${CC} ${CFLAGS}
Dave Love <fx@gnu.org>
parents:
diff changeset
12752 Should Emacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason}
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
12753 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
12754 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12755 What window system should Emacs use? ${window_system}
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12756 What toolkit should Emacs use? ${USE_X_TOOLKIT}"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12757
Dave Love <fx@gnu.org>
parents:
diff changeset
12758 if test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
12759 echo " Where do we find X Windows header files? ${x_includes}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12760 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12761 echo " Where do we find X Windows header files? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
12762 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12763 if test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
12764 echo " Where do we find X Windows libraries? ${x_libraries}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12765 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12766 echo " Where do we find X Windows libraries? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
12767 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12768
Dave Love <fx@gnu.org>
parents:
diff changeset
12769 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12770 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12771 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12772 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12773 echo " Does Emacs use -lungif? ${HAVE_GIF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12774 echo " Does Emacs use -lpng? ${HAVE_PNG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12775 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12776 echo
Dave Love <fx@gnu.org>
parents:
diff changeset
12777
Dave Love <fx@gnu.org>
parents:
diff changeset
12778 # Remove any trailing slashes in these variables.
Dave Love <fx@gnu.org>
parents:
diff changeset
12779 test "${prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
12780 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12781 test "${exec_prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
12782 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12783
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12784 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12785 ## CPP_NEED_TRADITIONAL to `yes' so that the code to generate Makefile
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12786 ## from Makefile.c can correctly provide the arg `-traditional' to the
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12787 ## C preprocessor.
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12788
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12789 cat >conftest.$ac_ext <<_ACEOF
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12790 #line 12790 "configure"
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12791 #include "confdefs.h"
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12792 yes..yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12793 _ACEOF
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12795 egrep "yes..yes" >/dev/null 2>&1; then
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12796 CPP_NEED_TRADITIONAL=no
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12797 else
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12798 CPP_NEED_TRADITIONAL=yes
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12799 fi
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12800 rm -f conftest*
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12801
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
12802 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"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
12803 ac_config_commands="$ac_config_commands default"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12804 cat >confcache <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12805 # This file is a shell script that caches the results of configure
Dave Love <fx@gnu.org>
parents:
diff changeset
12806 # tests run on this system so they can be shared between configure
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12807 # scripts and configure runs, see configure's option --config-cache.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12808 # It is not useful on other systems. If it contains results you don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12809 # want to keep, you may remove or edit it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12810 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12811 # config.status only pays attention to the cache file if you give it
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12812 # the --recheck option to rerun configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12813 #
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12814 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12815 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12816 # following values.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12817
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12818 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12819
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12820 # The following way of writing the cache mishandles newlines in values,
Dave Love <fx@gnu.org>
parents:
diff changeset
12821 # but we know of no workaround that is simple, portable, and efficient.
Dave Love <fx@gnu.org>
parents:
diff changeset
12822 # So, don't put newlines in cache variables' values.
Dave Love <fx@gnu.org>
parents:
diff changeset
12823 # Ultrix sh set writes to stderr and can't be redirected directly,
Dave Love <fx@gnu.org>
parents:
diff changeset
12824 # and sets the high bit in the cache file unless we assign to the vars.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12825 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12826 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12827 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12828 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12829 # `set' does not quote correctly, so add quotes (double-quote
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12830 # substitution turns \\\\ into \\, and sed turns \\ into \).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12831 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12832 "s/'/'\\\\''/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12833 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12834 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12835 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12836 # `set' quotes correctly as required by POSIX, so do not add quotes.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12837 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12838 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12839 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12840 esac;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12841 } |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12842 sed '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12843 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12844 : clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12845 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12846 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12847 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12848 : end' >>confcache
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12849 if cmp -s $cache_file confcache; then :; else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12850 if test -w $cache_file; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12851 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12852 cat confcache >$cache_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12853 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12854 echo "not updating unwritable cache $cache_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
12855 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12856 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12857 rm -f confcache
Dave Love <fx@gnu.org>
parents:
diff changeset
12858
Dave Love <fx@gnu.org>
parents:
diff changeset
12859 test "x$prefix" = xNONE && prefix=$ac_default_prefix
Dave Love <fx@gnu.org>
parents:
diff changeset
12860 # Let make expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
12861 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
Dave Love <fx@gnu.org>
parents:
diff changeset
12862
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12863 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12864 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12865 # trailing colons and then remove the whole line if VPATH becomes empty
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12866 # (actually we leave an empty line to preserve line numbers).
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12867 if test "x$srcdir" = x.; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12868 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12869 s/:*\$(srcdir):*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12870 s/:*\${srcdir}:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12871 s/:*@srcdir@:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12872 s/^\([^=]*=[ ]*\):*/\1/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12873 s/:*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12874 s/^[^=]*=[ ]*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12875 }'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12876 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12877
Dave Love <fx@gnu.org>
parents:
diff changeset
12878 DEFS=-DHAVE_CONFIG_H
Dave Love <fx@gnu.org>
parents:
diff changeset
12879
Dave Love <fx@gnu.org>
parents:
diff changeset
12880 : ${CONFIG_STATUS=./config.status}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12881 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12882 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
12883 { echo "$as_me:12883: creating $CONFIG_STATUS" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12884 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12885 cat >$CONFIG_STATUS <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12886 #! $SHELL
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12887 # Generated automatically by configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12888 # Run this file to recreate the current configuration.
Dave Love <fx@gnu.org>
parents:
diff changeset
12889 # Compiler output produced by configure, useful for debugging
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12890 # configure, is in config.log if it exists.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12891
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12892 debug=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12893 SHELL=\${CONFIG_SHELL-$SHELL}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12894 ac_cs_invocation="\$0 \$@"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12895
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12896 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12897
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12898 cat >>$CONFIG_STATUS <<\_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12899 # Be Bourne compatible
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12900 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12901 emulate sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12902 NULLCMD=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12903 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12904 set -o posix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12905 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12906
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12907 # Name of the executable.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12908 as_me=`echo "$0" |sed 's,.*[\\/],,'`
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12909
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12910 if expr a : '\(a\)' >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12911 as_expr=expr
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12912 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12913 as_expr=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12914 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12915
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12916 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12917 echo >conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12918 if ln -s conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12919 # We could just check for DJGPP; but this test a) works b) is more generic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12920 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12921 if test -f conf$$.exe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12922 # Don't use ln at all; we don't have any links
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12923 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12924 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12925 as_ln_s='ln -s'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12926 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12927 elif ln conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12928 as_ln_s=ln
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12929 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12930 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12931 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12932 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12933
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12934 as_executable_p="test -f"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12935
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12936 # Support unset when possible.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12937 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12938 as_unset=unset
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12939 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12940 as_unset=false
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12941 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12942
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12943 # NLS nuisances.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12944 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12945 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12946 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12947 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12948 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12949 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12950 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12951 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12952
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12953 # IFS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12954 # We need space, tab and new line, in precisely that order.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12955 as_nl='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12956 '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12957 IFS=" $as_nl"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12958
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12959 # CDPATH.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12960 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12961
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12962 exec 6>&1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12963
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12964 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12965
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12966 # Files that config.status was made for.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12967 if test -n "$ac_config_files"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12968 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12969 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12970
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12971 if test -n "$ac_config_headers"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12972 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12973 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12974
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12975 if test -n "$ac_config_links"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12976 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12977 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12978
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12979 if test -n "$ac_config_commands"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12980 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12981 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12982
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12983 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12984
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12985 ac_cs_usage="\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12986 \`$as_me' instantiates files from templates according to the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12987 current configuration.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12988
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12989 Usage: $0 [OPTIONS] [FILE]...
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12990
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12991 -h, --help print this help, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12992 -V, --version print version number, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12993 -d, --debug don't remove temporary files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12994 --recheck update $as_me by reconfiguring in the same conditions
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12995 --file=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12996 instantiate the configuration file FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12997 --header=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12998 instantiate the configuration header FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12999
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13000 Configuration files:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13001 $config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13002
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13003 Configuration headers:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13004 $config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13005
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13006 Configuration commands:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13007 $config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13008
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13009 Report bugs to <bug-autoconf@gnu.org>."
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13010 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13011
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13012 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13013 ac_cs_version="\\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13014 config.status
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13015 configured by $0, generated by GNU Autoconf 2.52,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13016 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13017
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13018 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13019 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13020 This config.status script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13021 gives unlimited permission to copy, distribute and modify it."
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13022 srcdir=$srcdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13023 INSTALL="$INSTALL"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13024 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13025
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13026 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13027 # If no file are specified by the user, then we need to provide default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13028 # value. By we need to know if files were specified by the user.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13029 ac_need_defaults=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13030 while test $# != 0
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13031 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13032 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13033 --*=*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13034 ac_option=`expr "x$1" : 'x\([^=]*\)='`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13035 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13036 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13037 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13038 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13039 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13040 -*);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13041 *) # This is not an option, so the user has probably given explicit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13042 # arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13043 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13044 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13045
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13046 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13047 # Handling of the options.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13048 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13049 cat >>$CONFIG_STATUS <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13050 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13051 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13052 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13053 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13054 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13055 --version | --vers* | -V )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13056 echo "$ac_cs_version"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13057 --he | --h)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13058 # Conflict between --help and --header
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13059 { { echo "$as_me:13059: error: ambiguous option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13060 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13061 echo "$as_me: error: ambiguous option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13062 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13063 { (exit 1); exit 1; }; };;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13064 --help | --hel | -h )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13065 echo "$ac_cs_usage"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13066 --debug | --d* | -d )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13067 debug=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13068 --file | --fil | --fi | --f )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13069 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13070 CONFIG_FILES="$CONFIG_FILES $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13071 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13072 --header | --heade | --head | --hea )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13073 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13074 CONFIG_HEADERS="$CONFIG_HEADERS $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13075 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13076
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13077 # This is an error.
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13078 -*) { { echo "$as_me:13078: error: unrecognized option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13079 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13080 echo "$as_me: error: unrecognized option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13081 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13082 { (exit 1); exit 1; }; } ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13083
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13084 *) ac_config_targets="$ac_config_targets $1" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13085
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13086 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13087 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13088 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13089
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13090 exec 5>>config.log
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13091 cat >&5 << _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13092
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13093 ## ----------------------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13094 ## Running config.status. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13095 ## ----------------------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13096
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13097 This file was extended by $as_me 2.52, executed with
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13098 CONFIG_FILES = $CONFIG_FILES
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13099 CONFIG_HEADERS = $CONFIG_HEADERS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13100 CONFIG_LINKS = $CONFIG_LINKS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13101 CONFIG_COMMANDS = $CONFIG_COMMANDS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13102 > $ac_cs_invocation
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13103 on `(hostname || uname -n) 2>/dev/null | sed 1q`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13104
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13105 _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13106 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13107
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13108 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13109 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13110 # INIT-COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13111 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13112
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13113 GCC="$GCC" NON_GNU_CPP="$NON_GNU_CPP" CPP="$CPP" CPP_NEED_TRADITIONAL="$CPP_NEED_TRADITIONAL" CPPFLAGS="$CPPFLAGS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13114
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13115 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13116
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13117 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13118 for ac_config_target in $ac_config_targets
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13119 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13120 case "$ac_config_target" in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13121 # Handling of arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13122 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13123 "lib-src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES lib-src/Makefile.c:lib-src/Makefile.in" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13124 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13125 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13126 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13127 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13128 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
40893
2778a25ac830 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 40777
diff changeset
13129 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
41431
33fd5b0cc93e Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41148
diff changeset
13130 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13131 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13132 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13133 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13134 *) { { echo "$as_me:13134: error: invalid argument: $ac_config_target" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13135 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13136 { (exit 1); exit 1; }; };;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13137 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13138 done
Dave Love <fx@gnu.org>
parents:
diff changeset
13139
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13140 # If the user did not use the arguments to specify the items to instantiate,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13141 # then the envvar interface is used. Set only those that are not.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13142 # We use the long form for the default assignment because of an extremely
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13143 # bizarre bug on SunOS 4.1.3.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13144 if $ac_need_defaults; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13145 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13146 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13147 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13148 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13149
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13150 # Create a temporary directory, and hook for its removal unless debugging.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13151 $debug ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13152 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13153 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13154 trap '{ (exit 1); exit 1; }' 1 2 13 15
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13155 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13156
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13157 # Create a (secure) tmp directory for tmp files.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13158 : ${TMPDIR=/tmp}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13159 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13160 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13161 test -n "$tmp" && test -d "$tmp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13162 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13163 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13164 tmp=$TMPDIR/cs$$-$RANDOM
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13165 (umask 077 && mkdir $tmp)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13166 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13167 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13168 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13169 { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13170 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13171
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13172 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13173
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13174 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13175
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13176 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13177 # CONFIG_FILES section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13178 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13179
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13180 # No need to generate the scripts if there are no CONFIG_FILES.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13181 # This happens for instance when ./config.status config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13182 if test -n "\$CONFIG_FILES"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13183 # Protect against being on the right side of a sed subst in config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13184 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13185 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13186 s,@SHELL@,$SHELL,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13187 s,@exec_prefix@,$exec_prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13188 s,@prefix@,$prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13189 s,@program_transform_name@,$program_transform_name,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13190 s,@bindir@,$bindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13191 s,@sbindir@,$sbindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13192 s,@libexecdir@,$libexecdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13193 s,@datadir@,$datadir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13194 s,@sysconfdir@,$sysconfdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13195 s,@sharedstatedir@,$sharedstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13196 s,@localstatedir@,$localstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13197 s,@libdir@,$libdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13198 s,@includedir@,$includedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13199 s,@oldincludedir@,$oldincludedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13200 s,@infodir@,$infodir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13201 s,@mandir@,$mandir,;t t
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13202 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13203 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13204 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13205 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13206 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13207 s,@build_alias@,$build_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13208 s,@host_alias@,$host_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13209 s,@target_alias@,$target_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13210 s,@ECHO_C@,$ECHO_C,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13211 s,@ECHO_N@,$ECHO_N,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13212 s,@ECHO_T@,$ECHO_T,;t t
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13213 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13214 s,@DEFS@,$DEFS,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13215 s,@LIBS@,$LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13216 s,@build@,$build,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13217 s,@build_cpu@,$build_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13218 s,@build_vendor@,$build_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13219 s,@build_os@,$build_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13220 s,@host@,$host,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13221 s,@host_cpu@,$host_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13222 s,@host_vendor@,$host_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13223 s,@host_os@,$host_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13224 s,@CC@,$CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13225 s,@CFLAGS@,$CFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13226 s,@LDFLAGS@,$LDFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13227 s,@CPPFLAGS@,$CPPFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13228 s,@ac_ct_CC@,$ac_ct_CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13229 s,@EXEEXT@,$EXEEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13230 s,@OBJEXT@,$OBJEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13231 s,@LN_S@,$LN_S,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13232 s,@CPP@,$CPP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13233 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13234 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13235 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13236 s,@YACC@,$YACC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13237 s,@RANLIB@,$RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13238 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13239 s,@LIBSOUND@,$LIBSOUND,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13240 s,@SET_MAKE@,$SET_MAKE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13241 s,@ALLOCA@,$ALLOCA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13242 s,@liblockfile@,$liblockfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13243 s,@LIBOBJS@,$LIBOBJS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13244 s,@NEED_SETGID@,$NEED_SETGID,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13245 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13246 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13247 s,@version@,$version,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13248 s,@configuration@,$configuration,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13249 s,@canonical@,$canonical,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13250 s,@srcdir@,$srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13251 s,@lispdir@,$lispdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13252 s,@locallisppath@,$locallisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13253 s,@lisppath@,$lisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13254 s,@x_default_search_path@,$x_default_search_path,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13255 s,@etcdir@,$etcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13256 s,@archlibdir@,$archlibdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13257 s,@docdir@,$docdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13258 s,@bitmapdir@,$bitmapdir,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13259 s,@gamedir@,$gamedir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13260 s,@gameuser@,$gameuser,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13261 s,@c_switch_system@,$c_switch_system,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13262 s,@c_switch_machine@,$c_switch_machine,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13263 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13264 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13265 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13266 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13267 s,@machfile@,$machfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13268 s,@opsysfile@,$opsysfile,;t t
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13269 CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13270
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13271 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13272
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13273 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13274 # Split the substitutions into bite-sized pieces for seds with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13275 # small command number limits, like on Digital OSF/1 and HP-UX.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13276 ac_max_sed_lines=48
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13277 ac_sed_frag=1 # Number of current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13278 ac_beg=1 # First line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13279 ac_end=$ac_max_sed_lines # Line after last line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13280 ac_more_lines=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13281 ac_sed_cmds=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13282 while $ac_more_lines; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13283 if test $ac_beg -gt 1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13284 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13285 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13286 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13287 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13288 if test ! -s $tmp/subs.frag; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13289 ac_more_lines=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13290 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13291 # The purpose of the label and of the branching condition is to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13292 # speed up the sed processing (if there are no `@' at all, there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13293 # is no need to browse any of the substitutions).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13294 # These are the two extra sed commands mentioned above.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13295 (echo ':t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13296 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13297 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13298 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13299 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13300 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13301 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13302 ac_sed_frag=`expr $ac_sed_frag + 1`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13303 ac_beg=$ac_end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13304 ac_end=`expr $ac_end + $ac_max_sed_lines`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13305 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13306 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13307 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13308 ac_sed_cmds=cat
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13309 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13310 fi # test -n "$CONFIG_FILES"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13311
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13312 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13313 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13314 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13315 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13316 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13317 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13318 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13319 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13320 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13321 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13322 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13323 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13324 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13325
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13326 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13327 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13328 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13329 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13330 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13331 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13332 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13335 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13336 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13337 s/.*/./; q'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13338 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13339 { case "$ac_dir" in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13340 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13341 *) as_incr_dir=.;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13342 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13343 as_dummy="$ac_dir"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13344 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13345 case $as_mkdir_dir in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13346 # Skip DOS drivespec
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13347 ?:) as_incr_dir=$as_mkdir_dir ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13348 *)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13349 as_incr_dir=$as_incr_dir/$as_mkdir_dir
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13350 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13351 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13352 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13353 done; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13354
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13355 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13356 # A "../" for each directory in $ac_dir_suffix.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13357 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13358 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13359 ac_dir_suffix= ac_dots=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13360 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13361
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13362 case $srcdir in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13363 .) ac_srcdir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13364 if test -z "$ac_dots"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13365 ac_top_srcdir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13366 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13367 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13368 fi ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13369 [\\/]* | ?:[\\/]* )
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13370 ac_srcdir=$srcdir$ac_dir_suffix;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13371 ac_top_srcdir=$srcdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13372 *) # Relative path.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13373 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13374 ac_top_srcdir=$ac_dots$srcdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13375 esac
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13376
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13377 case $INSTALL in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13379 *) ac_INSTALL=$ac_dots$INSTALL ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13380 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13381
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13382 if test x"$ac_file" != x-; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13383 { echo "$as_me:13383: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13384 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13385 rm -f "$ac_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13386 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13387 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13388 # use $as_me), people would be surprised to read:
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13389 # /* config.h. Generated automatically by config.status. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13390 configure_input="Generated automatically from `echo $ac_file_in |
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13391 sed 's,.*/,,'` by configure."
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13392
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13393 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13394 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13395 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13396 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13397 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13398 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13399 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13400 # Absolute (can't be DOS-style, as IFS=:)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13401 test -f "$f" || { { echo "$as_me:13401: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13402 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13403 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13404 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13405 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13406 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13407 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13408 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13409 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13410 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13411 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13412 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13413 # /dev/null tree
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13414 { { echo "$as_me:13414: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13415 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13416 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13417 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13418 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13419 done` || { (exit 1); exit 1; }
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13420 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13421 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13422 sed "$ac_vpsub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13423 $extrasub
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13424 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13425 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13426 :t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13427 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13428 s,@configure_input@,$configure_input,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13429 s,@srcdir@,$ac_srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13430 s,@top_srcdir@,$ac_top_srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13431 s,@INSTALL@,$ac_INSTALL,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13432 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13433 rm -f $tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13434 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13435 mv $tmp/out $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13436 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13437 cat $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13438 rm -f $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13439 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13440
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13441 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13442 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13443 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13444
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13445 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13446 # CONFIG_HEADER section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13447 #
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13448
Dave Love <fx@gnu.org>
parents:
diff changeset
13449 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
Dave Love <fx@gnu.org>
parents:
diff changeset
13450 # NAME is the cpp macro being defined and VALUE is the value it is being given.
Dave Love <fx@gnu.org>
parents:
diff changeset
13451 #
Dave Love <fx@gnu.org>
parents:
diff changeset
13452 # ac_d sets the value in "#define NAME VALUE" lines.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13453 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13454 ac_dB='[ ].*$,\1#\2'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13455 ac_dC=' '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13456 ac_dD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13457 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13458 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13459 ac_uB='$,\1#\2define\3'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13460 ac_uC=' '
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13461 ac_uD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13462
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13463 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13464 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13465 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13466 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13467 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13468 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13469 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13470 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13472 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13473 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13474
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13475 test x"$ac_file" != x- && { echo "$as_me:13475: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13476 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13477
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13478 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13479 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13480 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13481 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13482 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13483 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13484 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13485 # Absolute (can't be DOS-style, as IFS=:)
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13486 test -f "$f" || { { echo "$as_me:13486: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13487 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13488 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13489 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13490 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13491 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13492 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13493 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13494 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13495 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13496 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13497 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13498 # /dev/null tree
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13499 { { echo "$as_me:13499: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13500 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13501 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13502 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13503 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13504 done` || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13505 # Remove the trailing spaces.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13506 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13507
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13508 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13509
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13510 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13511 # `conftest.undefs', that substitutes the proper values into
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13512 # config.h.in to produce config.h. The first handles `#define'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13513 # templates, and the second `#undef' templates.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13514 # And first: Protect against being on the right side of a sed subst in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13515 # config.status. Protect against being in an unquoted here document
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13516 # in config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13517 rm -f conftest.defines conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13518 # Using a here document instead of a string reduces the quoting nightmare.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13519 # Putting comments in sed scripts is not portable.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13520 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13521 # `end' is used to avoid that the second main sed command (meant for
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13522 # 0-ary CPP macros) applies to n-ary macro definitions.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13523 # See the Autoconf documentation for `clear'.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13524 cat >confdef2sed.sed <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13525 s/[\\&,]/\\&/g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13526 s,[\\$`],\\&,g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13527 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13528 : clear
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13529 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13530 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13531 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13532 : end
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13533 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13534 # If some macros were called several times there might be several times
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13535 # the same #defines, which is useless. Nevertheless, we may not want to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13536 # sort them, since we want the *last* AC-DEFINE to be honored.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13537 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13538 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13539 rm -f confdef2sed.sed
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13540
Dave Love <fx@gnu.org>
parents:
diff changeset
13541 # This sed command replaces #undef with comments. This is necessary, for
Dave Love <fx@gnu.org>
parents:
diff changeset
13542 # example, in the case of _POSIX_SOURCE, which is predefined and required
Dave Love <fx@gnu.org>
parents:
diff changeset
13543 # on some systems where configure will not decide to define it.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13544 cat >>conftest.undefs <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13545 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13546 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13547
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13548 # Break up conftest.defines because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13549 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13550 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13551 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13552 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13553 echo ' :' >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13554 rm -f conftest.tail
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13555 while grep . conftest.defines >/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13556 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13557 # Write a limited-size here document to $tmp/defines.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13558 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13559 # Speed up: don't consider the non `#define' lines.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13560 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13561 # Work around the forget-to-reset-the-flag bug.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13562 echo 't clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13563 echo ': clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13564 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13565 echo 'CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13566 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13567 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13568 mv $tmp/out $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13569 ' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13570 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13571 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13572 mv conftest.tail conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13573 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13574 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13575 echo ' fi # egrep' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13576 echo >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13577
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13578 # Break up conftest.undefs because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13579 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13580 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13581 rm -f conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13582 while grep . conftest.undefs >/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13583 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13584 # Write a limited-size here document to $tmp/undefs.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13585 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13586 # Speed up: don't consider the non `#undef'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13587 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13588 # Work around the forget-to-reset-the-flag bug.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13589 echo 't clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13590 echo ': clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13591 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13592 echo 'CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13593 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13594 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13595 mv $tmp/out $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13596 ' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13597 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13598 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13599 mv conftest.tail conftest.undefs
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13600 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13601 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13602
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13603 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13604 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13605 # use $as_me), people would be surprised to read:
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13606 # /* config.h. Generated automatically by config.status. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13607 if test x"$ac_file" = x-; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13608 echo "/* Generated automatically by configure. */" >$tmp/config.h
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13609 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13610 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13611 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13612 cat $tmp/in >>$tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13613 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13614 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13615 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
47402
aaa302e0c7ae Regenerated with autoconf (GNU Autoconf) 2.52 and GNU m4 1.4.
Markus Rost <rost@math.uni-bielefeld.de>
parents: 46596
diff changeset
13616 { echo "$as_me:13616: $ac_file is unchanged" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13617 echo "$as_me: $ac_file is unchanged" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13618 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13619 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13620 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13621 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13622 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13623 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13624 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13625 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13626 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13627 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13628 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13629 s/.*/./; q'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13630 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13631 { case "$ac_dir" in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13632 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13633 *) as_incr_dir=.;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13634 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13635 as_dummy="$ac_dir"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13636 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13637 case $as_mkdir_dir in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13638 # Skip DOS drivespec
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13639 ?:) as_incr_dir=$as_mkdir_dir ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13640 *)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13641 as_incr_dir=$as_incr_dir/$as_mkdir_dir
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13642 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13643 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13644 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13645 done; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13646
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13647 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13648 rm -f $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13649 mv $tmp/config.h $ac_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13650 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13651 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13652 cat $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13653 rm -f $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13654 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13655 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13656 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13657 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13658
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13659 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13660 # CONFIG_COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13661 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13662 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13663 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13664 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13665
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13666 case $ac_dest in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13667 default )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13668
Dave Love <fx@gnu.org>
parents:
diff changeset
13669 ### Make the necessary directories, if they don't exist.
Dave Love <fx@gnu.org>
parents:
diff changeset
13670 for dir in etc lisp ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
13671 test -d ${dir} || mkdir ${dir}
Dave Love <fx@gnu.org>
parents:
diff changeset
13672 done
Dave Love <fx@gnu.org>
parents:
diff changeset
13673
Dave Love <fx@gnu.org>
parents:
diff changeset
13674 # Build src/Makefile from ${srcdir}/src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13675 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13676 # This must be done after src/config.h is built, since we rely on that file.
Dave Love <fx@gnu.org>
parents:
diff changeset
13677
Dave Love <fx@gnu.org>
parents:
diff changeset
13678 # Now get this: Some word that is part of the ${srcdir} directory name
Dave Love <fx@gnu.org>
parents:
diff changeset
13679 # or the ${configuration} value might, just might, happen to be an
Dave Love <fx@gnu.org>
parents:
diff changeset
13680 # identifier like `sun4' or `i386' or something, and be predefined by
Dave Love <fx@gnu.org>
parents:
diff changeset
13681 # the C preprocessor to some helpful value like 1, or maybe the empty
Dave Love <fx@gnu.org>
parents:
diff changeset
13682 # string. Needless to say consequent macro substitutions are less
Dave Love <fx@gnu.org>
parents:
diff changeset
13683 # than conducive to the makefile finding the correct directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
13684 undefs="`echo $top_srcdir $configuration $canonical |
Dave Love <fx@gnu.org>
parents:
diff changeset
13685 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13686 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13687 `"
Dave Love <fx@gnu.org>
parents:
diff changeset
13688
Dave Love <fx@gnu.org>
parents:
diff changeset
13689 echo creating src/epaths.h
40256
561bc8b0392f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40060
diff changeset
13690 ${MAKE-make} epaths-force
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13691
33652
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13692 # As of 2000-11-19, newest development versions of GNU cpp preprocess
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13693 # `..' to `. .' unless invoked with -traditional
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13694
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
13695 if test "x$GCC" = xyes && test "x$CPP_NEED_TRADITIONAL" = xyes; then
33652
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13696 CPPFLAGS="$CPPFLAGS -traditional"
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13697 fi
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13698
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13699 echo creating lib-src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13700 ( cd lib-src
Dave Love <fx@gnu.org>
parents:
diff changeset
13701 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13702 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13703 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13704 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
13705 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13706 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13707 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13708 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13709 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13710 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13711 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13712 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13713 )
Dave Love <fx@gnu.org>
parents:
diff changeset
13714
Dave Love <fx@gnu.org>
parents:
diff changeset
13715 echo creating src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13716 ( cd src
Dave Love <fx@gnu.org>
parents:
diff changeset
13717 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13718 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13719 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13720 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
13721 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13722 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13723 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13724 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13725 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13726 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13727 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13728 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13729 )
Dave Love <fx@gnu.org>
parents:
diff changeset
13730
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13731 if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13732 echo creating src/.gdbinit
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13733 echo source $srcdir/src/.gdbinit > src/.gdbinit
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13734 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
13735
Dave Love <fx@gnu.org>
parents:
diff changeset
13736 # This is how we know whether to re-run configure in certain cases.
Dave Love <fx@gnu.org>
parents:
diff changeset
13737 touch src/config.stamp
Dave Love <fx@gnu.org>
parents:
diff changeset
13738
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13739 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13740 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13741 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13742 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13743
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13744 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13745
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13746 { (exit 0); exit 0; }
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13747 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13748 chmod +x $CONFIG_STATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13749 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13750
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13751 # configure is writing to config.log, and then calls config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13752 # config.status does its own redirection, appending to config.log.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13753 # Unfortunately, on DOS this fails, as config.log is still kept open
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13754 # by configure, so config.status won't be able to write to it; its
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13755 # output is simply discarded. So we exec the FD to /dev/null,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13756 # effectively closing config.log, so it can be properly (re)opened and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13757 # appended to by config.status. When coming back to configure, we
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13758 # need to make the FD available again.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13759 if test "$no_create" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13760 ac_cs_success=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13761 exec 5>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13762 $SHELL $CONFIG_STATUS || ac_cs_success=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13763 exec 5>>config.log
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13764 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13765 # would make configure fail if this is the last instruction.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13766 $ac_cs_success || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13767 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13768