annotate configure @ 45872:2793b29e84b3

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 17 Jun 2002 16:15:58 +0000
parents f4dd56228521
children 3a6f0c639247
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)
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
684 --with-game-dir use a shared game directory if possible
44809
a99665332964 Justify help texts.
Pavel Janík <Pavel@Janik.cz>
parents: 44569
diff changeset
685 --with-game-user use specified user for game directory
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
686 --without-gcc don't use GCC to compile Emacs if GCC is found
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
687 --without-pop don't support POP mail retrieval with movemail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
688 --with-kerberos support Kerberos-authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
689 --with-kerberos5 support Kerberos version 5 authenticated POP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
690 --with-hesiod support Hesiod to get the POP server host
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
691 --without-sound don't compile with sound support
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
692 --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
693 --with-xpm use -lXpm for displaying XPM images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
694 --with-jpeg use -ljpeg for displaying JPEG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
695 --with-tiff use -ltiff for displaying TIFF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
696 --with-gif use -lungif for displaying GIF images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
697 --with-png use -lpng for displaying PNG images
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
698 --without-toolkit-scroll-bars
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
699 don't use Motif or Xaw3d scroll bars
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
700 --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
701 --without-carbon don't use Carbon GUI on Mac OS X
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
702 --with-x use the X Window System
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
703
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
704 Some influential environment variables:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
705 CC C compiler command
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
706 CFLAGS C compiler flags
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
707 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
708 nonstandard directory <lib dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
709 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
710 headers in a nonstandard directory <include dir>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
711 CPP C preprocessor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
712
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
713 Use these variables to override the choices made by `configure' or to help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
714 it to find libraries and programs with nonstandard names/locations.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
715
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
716 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
717 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
718
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
719 if test "$ac_init_help" = "recursive"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
720 # If there are subdirs, report their specific --help.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
721 ac_popdir=`pwd`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
722 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
723 cd $ac_subdir
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
724 # A "../" for each directory in /$ac_subdir.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
725 ac_dots=`echo $ac_subdir |
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
726 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
727
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
728 case $srcdir in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
729 .) # No --srcdir option. We are building in place.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
730 ac_sub_srcdir=$srcdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
731 [\\/]* | ?:[\\/]* ) # Absolute path.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
732 ac_sub_srcdir=$srcdir/$ac_subdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
733 *) # Relative path.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
734 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
735 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
736
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
737 # Check for guested configure; otherwise get Cygnus style configure.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
738 if test -f $ac_sub_srcdir/configure.gnu; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
739 echo
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
740 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
741 elif test -f $ac_sub_srcdir/configure; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
742 echo
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
743 $SHELL $ac_sub_srcdir/configure --help=recursive
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
744 elif test -f $ac_sub_srcdir/configure.ac ||
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
745 test -f $ac_sub_srcdir/configure.in; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
746 echo
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
747 $ac_configure --help
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
748 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
749 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
750 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
751 cd $ac_popdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
752 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
753 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
754
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
755 test -n "$ac_init_help" && exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
756 if $ac_init_version; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
757 cat <<\EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
758
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
759 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
760 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
761 This configure script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
762 gives unlimited permission to copy, distribute and modify it.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
763 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
764 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
765 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
766 exec 5>config.log
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
767 cat >&5 <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
768 This file contains any messages produced by compilers while
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
769 running configure, to aid debugging if configure makes a mistake.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
770
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
771 It was created by $as_me, which was
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
772 generated by GNU Autoconf 2.52. Invocation command line was
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
773
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
774 $ $0 $@
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
775
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
776 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
777 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
778 cat <<_ASUNAME
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
779 ## ---------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
780 ## Platform. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
781 ## ---------- ##
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
782
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
783 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
784 uname -m = `(uname -m) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
785 uname -r = `(uname -r) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
786 uname -s = `(uname -s) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
787 uname -v = `(uname -v) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
788
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
789 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
790 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
791
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
792 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
793 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
794 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
795 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
796 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
797 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
798 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
799
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
800 PATH = $PATH
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
801
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
802 _ASUNAME
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
803 } >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
804
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
805 cat >&5 <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
806 ## ------------ ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
807 ## Core tests. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
808 ## ------------ ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
809
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
810 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
811
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
812 # Keep a trace of the command line.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
813 # Strip out --no-create and --no-recursion so they do not pile up.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
814 # Also quote any args containing shell meta-characters.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
815 ac_configure_args=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
816 ac_sep=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
817 for ac_arg
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
818 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
819 case $ac_arg in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
820 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
821 | --no-cr | --no-c) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
824 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
825 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
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=" " ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
828 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
829 ac_sep=" " ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
830 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
831 # Get rid of the leading space.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
832 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
833
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
834 # When interrupted or exit'd, cleanup temporary files, and complete
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
835 # config.log. We remove comments because anyway the quotes in there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
836 # would cause problems or look ugly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
837 trap 'exit_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
838 # Save into config.log some information that might help in debugging.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
839 echo >&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 "## Cache variables. ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
842 echo "## ----------------- ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
843 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
844 # The following way of writing the cache mishandles newlines in values,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
845 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
846 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
847 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
848 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
849 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
850 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
852 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
853 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
854 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
855 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
856 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
857 esac;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
858 } >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
859 sed "/^$/d" confdefs.h >conftest.log
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
860 if test -s conftest.log; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
861 echo >&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 "## confdefs.h. ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
864 echo "## ------------ ##" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
865 echo >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
866 cat conftest.log >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
867 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
868 (echo; echo) >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
869 test "$ac_signal" != 0 &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
870 echo "$as_me: caught signal $ac_signal" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
871 echo "$as_me: exit $exit_status" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
872 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
873 exit $exit_status
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
874 ' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
875 for ac_signal in 1 2 13 15; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
876 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
877 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
878 ac_signal=0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
879
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
880 # confdefs.h avoids OS command line length limits that DEFS can exceed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
881 rm -rf conftest* confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
882 # 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
883 echo >confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
884
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
885 # Let the site file select an alternate cache file if it wants to.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
886 # Prefer explicitly selected file to automatically selected ones.
Dave Love <fx@gnu.org>
parents:
diff changeset
887 if test -z "$CONFIG_SITE"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
888 if test "x$prefix" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
889 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
890 else
Dave Love <fx@gnu.org>
parents:
diff changeset
891 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
Dave Love <fx@gnu.org>
parents:
diff changeset
892 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
893 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
894 for ac_site_file in $CONFIG_SITE; do
Dave Love <fx@gnu.org>
parents:
diff changeset
895 if test -r "$ac_site_file"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
896 { echo "$as_me:896: loading site script $ac_site_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
897 echo "$as_me: loading site script $ac_site_file" >&6;}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
898 cat "$ac_site_file" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
899 . "$ac_site_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
900 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
901 done
Dave Love <fx@gnu.org>
parents:
diff changeset
902
Dave Love <fx@gnu.org>
parents:
diff changeset
903 if test -r "$cache_file"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
904 # Some versions of bash will fail to source /dev/null (special
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
905 # files actually), so we avoid doing that.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
906 if test -f "$cache_file"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
907 { echo "$as_me:907: loading cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
908 echo "$as_me: loading cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
909 case $cache_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
910 [\\/]* | ?:[\\/]* ) . $cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
911 *) . ./$cache_file;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
912 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
913 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
914 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
915 { echo "$as_me:915: creating cache $cache_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
916 echo "$as_me: creating cache $cache_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
917 >$cache_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
918 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
919
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
920 # Check that the precious variables saved in the cache have kept the same
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
921 # value.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
922 ac_cache_corrupted=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
923 for ac_var in `(set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
924 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
925 eval ac_old_set=\$ac_cv_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
926 eval ac_new_set=\$ac_env_${ac_var}_set
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
927 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
928 eval ac_new_val="\$ac_env_${ac_var}_value"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
929 case $ac_old_set,$ac_new_set in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
930 set,)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
931 { echo "$as_me:931: 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
932 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
933 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
934 ,set)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
935 { echo "$as_me:935: error: \`$ac_var' was not set in the previous run" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
936 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
937 ac_cache_corrupted=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
938 ,);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
939 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
940 if test "x$ac_old_val" != "x$ac_new_val"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
941 { echo "$as_me:941: error: \`$ac_var' has changed since the previous run:" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
942 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
943 { echo "$as_me:943: former value: $ac_old_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
944 echo "$as_me: former value: $ac_old_val" >&2;}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
945 { echo "$as_me:945: current value: $ac_new_val" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
946 echo "$as_me: current value: $ac_new_val" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
947 ac_cache_corrupted=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
948 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
949 esac
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
950 # Pass precious variables to config.status. It doesn't matter if
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
951 # we pass some twice (in addition to the command line arguments).
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
952 if test "$ac_new_set" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
953 case $ac_new_val in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
954 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
955 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
956 ac_configure_args="$ac_configure_args '$ac_arg'"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
957 ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
958 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
959 ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
960 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
961 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
962 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
963 if $ac_cache_corrupted; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
964 { echo "$as_me:964: error: changes in the environment can compromise the build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
965 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
966 { { echo "$as_me:966: 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
967 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
968 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
969 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
970
Dave Love <fx@gnu.org>
parents:
diff changeset
971 ac_ext=c
Dave Love <fx@gnu.org>
parents:
diff changeset
972 ac_cpp='$CPP $CPPFLAGS'
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
974 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
975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
976
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
977 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
978 *c*,-n*) ECHO_N= ECHO_C='
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
979 ' ECHO_T=' ' ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
980 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
981 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
982 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
983 echo "#! $SHELL" >conftest.sh
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
984 echo "exit 0" >>conftest.sh
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
985 chmod +x conftest.sh
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
986 if { (echo "$as_me:986: PATH=\".;.\"; conftest.sh") >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
987 (PATH=".;."; conftest.sh) 2>&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
988 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
989 echo "$as_me:989: \$? = $ac_status" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
990 (exit $ac_status); }; then
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 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
993 ac_path_separator=:
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
994 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
995 PATH_SEPARATOR="$ac_path_separator"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
996 rm -f conftest.sh
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
997
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
998 ac_config_headers="$ac_config_headers src/config.h:src/config.in"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
999
41100
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1000 test "$program_prefix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1001 program_transform_name="s,^,$program_prefix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1002 # Use a double $ so make ignores it.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1003 test "$program_suffix" != NONE &&
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1004 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1005 # Double any \ or $. echo might interpret backslashes.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1006 # By default was `s,x,x', remove it if useless.
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1007 cat <<\_ACEOF >conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1008 s/[\\$]/&&/g;s/;s,x,x,$//
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1009 _ACEOF
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1010 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1011 rm conftest.sed
930b8a722dab Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 40893
diff changeset
1012
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1013 lispdir='${datadir}/emacs/${version}/lisp'
Dave Love <fx@gnu.org>
parents:
diff changeset
1014 locallisppath='${datadir}/emacs/${version}/site-lisp:'\
Dave Love <fx@gnu.org>
parents:
diff changeset
1015 '${datadir}/emacs/site-lisp:${datadir}/emacs/${version}/leim'
Dave Love <fx@gnu.org>
parents:
diff changeset
1016 lisppath='${locallisppath}:${lispdir}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1017 etcdir='${datadir}/emacs/${version}/etc'
Dave Love <fx@gnu.org>
parents:
diff changeset
1018 archlibdir='${libexecdir}/emacs/${version}/${configuration}'
Dave Love <fx@gnu.org>
parents:
diff changeset
1019 docdir='${datadir}/emacs/${version}/etc'
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1020 gamedir=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1021
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1022 # Check whether --with-game-dir or --without-game-dir was given.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1023 if test "${with_game_dir+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1024 withval="$with_game_dir"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1025
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1026 gamedir="$withval"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1027
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1028 fi;
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1029 if test "$gamedir" = yes; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1030 gamedir="${localstatedir}/games/emacs"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1031 fi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1032 eval tgamedir=\"$gamedir\"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1033 if test "$gamedir" != no; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1034
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1035 cat >>confdefs.h <<EOF
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1036 #define HAVE_SHARED_GAME_DIR "$tgamedir"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1037 EOF
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1038
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
1039 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1040
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1041 gameuser=games
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1042
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1043 # Check whether --with-game-user or --without-game-user was given.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1044 if test "${with_game_user+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1045 withval="$with_game_user"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1046 gameuser="$withval"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1047 fi;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
1048
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1049 # Check whether --with-gcc or --without-gcc was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1050 if test "${with_gcc+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1051 withval="$with_gcc"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1052
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1053 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1054
Dave Love <fx@gnu.org>
parents:
diff changeset
1055 # Check whether --with-pop or --without-pop was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1056 if test "${with_pop+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1057 withval="$with_pop"
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1058 if test "$withval" = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1059 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1060 #define MAIL_USE_POP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1061 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1062
25994
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1063 else :
Dave Love <fx@gnu.org>
parents: 25897
diff changeset
1064 fi
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1065 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1066 cat >>confdefs.h <<\EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1067 #define MAIL_USE_POP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1068 EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
1069
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1070 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1071
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 # 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
1073 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
1074 withval="$with_kerberos"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1075 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
1076 #define KERBEROS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1077 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
1078
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1079 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
1080
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
1081 # 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
1082 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
1083 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
1084 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
1085 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
1086 with_kerberos=yes
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1087 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
1088 #define KERBEROS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1089 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1090
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1091 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1092 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1093
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1094 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
1095 #define KERBEROS5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1096 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
1097
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1098 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
1099
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1100 # Check whether --with-hesiod or --without-hesiod was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1101 if test "${with_hesiod+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1102 withval="$with_hesiod"
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
1103
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1104 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1105 #define HESIOD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1106 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1107
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1108 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1109
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1110 # Check whether --with-sound or --without-sound was given.
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1111 if test "${with_sound+set}" = set; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1112 withval="$with_sound"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1113
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1114 fi;
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
1115
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1116 # Check whether --with-x-toolkit or --without-x-toolkit was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1117 if test "${with_x_toolkit+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1118 withval="$with_x_toolkit"
Dave Love <fx@gnu.org>
parents:
diff changeset
1119 case "${withval}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1120 y | ye | yes ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1121 n | no ) val=no ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1122 l | lu | luc | luci | lucid ) val=lucid ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1123 a | at | ath | athe | athen | athena ) val=athena ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1124 m | mo | mot | moti | motif ) val=motif ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1125 * )
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1126 { { echo "$as_me:1126: error: \`--with-x-toolkit=$withval' is invalid\;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1127 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1128 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1129 echo "$as_me: error: \`--with-x-toolkit=$withval' is invalid\;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1130 this option's value should be \`yes', \`no', \`lucid', \`athena', or \`motif'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1131 Currently, \`yes', \`athena' and \`lucid' are synonyms." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1132 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1133 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1134 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1135 with_x_toolkit=$val
Dave Love <fx@gnu.org>
parents:
diff changeset
1136
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1137 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1138
Dave Love <fx@gnu.org>
parents:
diff changeset
1139 # Check whether --with-xpm or --without-xpm was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1140 if test "${with_xpm+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1141 withval="$with_xpm"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1142
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1143 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1144
Dave Love <fx@gnu.org>
parents:
diff changeset
1145 # Check whether --with-jpeg or --without-jpeg was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1146 if test "${with_jpeg+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1147 withval="$with_jpeg"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1148
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1149 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1150
Dave Love <fx@gnu.org>
parents:
diff changeset
1151 # Check whether --with-tiff or --without-tiff was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1152 if test "${with_tiff+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1153 withval="$with_tiff"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1154
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1155 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1156
Dave Love <fx@gnu.org>
parents:
diff changeset
1157 # Check whether --with-gif or --without-gif was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1158 if test "${with_gif+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1159 withval="$with_gif"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1160
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1161 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1162
Dave Love <fx@gnu.org>
parents:
diff changeset
1163 # Check whether --with-png or --without-png was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1164 if test "${with_png+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1165 withval="$with_png"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1166
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1167 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1168
Dave Love <fx@gnu.org>
parents:
diff changeset
1169 # Check whether --with-toolkit-scroll-bars or --without-toolkit-scroll-bars was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
1170 if test "${with_toolkit_scroll_bars+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1171 withval="$with_toolkit_scroll_bars"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1172
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1173 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1174
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1175 # Check whether --with-xim or --without-xim was given.
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1176 if test "${with_xim+set}" = set; then
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
1177 withval="$with_xim"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1178
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1179 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1180
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1181 # 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
1182 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
1183 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
1184
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1185 fi;
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
1186
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1187 #### 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
1188 #### avoid running the path through pwd unnecessarily, since pwd can
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1189 #### give you automounter prefixes, which can go away. We do all this
Dave Love <fx@gnu.org>
parents:
diff changeset
1190 #### so Emacs can find its files when run uninstalled.
31153
49294d7cfd5b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30576
diff changeset
1191 ## 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
1192 unset CDPATH
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1193 case "${srcdir}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1194 /* ) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1195 . )
Dave Love <fx@gnu.org>
parents:
diff changeset
1196 ## We may be able to use the $PWD environment variable to make this
Dave Love <fx@gnu.org>
parents:
diff changeset
1197 ## absolute. But sometimes PWD is inaccurate.
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1198 ## Note: we used to use ${PWD} at the end instead of `pwd`,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1199 ## but that tested only for a well-formed and valid PWD,
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1200 ## 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
1201 if test ".${PWD}" != "." && test ".`(cd ${PWD} ; sh -c pwd)`" = ".`pwd`" ;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1202 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1203 srcdir="$PWD"
Dave Love <fx@gnu.org>
parents:
diff changeset
1204 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1205 srcdir="`(cd ${srcdir}; pwd)`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1206 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1207 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1208 * ) srcdir="`(cd ${srcdir}; pwd)`" ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1209 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1210
Dave Love <fx@gnu.org>
parents:
diff changeset
1211 #### Check if the source directory already has a configured system in it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1212 if test `pwd` != `(cd ${srcdir} && pwd)` \
Dave Love <fx@gnu.org>
parents:
diff changeset
1213 && test -f "${srcdir}/src/config.h" ; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1214 { echo "$as_me:1214: WARNING: The directory tree \`${srcdir}' is being used
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1215 as a build directory right now; it has been configured in its own
Dave Love <fx@gnu.org>
parents:
diff changeset
1216 right. To configure in another directory as well, you MUST
Dave Love <fx@gnu.org>
parents:
diff changeset
1217 use GNU make. If you do not have GNU make, then you must
Dave Love <fx@gnu.org>
parents:
diff changeset
1218 now do \`make distclean' in ${srcdir},
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1219 and then run $0 again." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1220 echo "$as_me: WARNING: The directory tree \`${srcdir}' is being used
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1221 as a build directory right now; it has been configured in its own
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1222 right. To configure in another directory as well, you MUST
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1223 use GNU make. If you do not have GNU make, then you must
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1224 now do \`make distclean' in ${srcdir},
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1225 and then run $0 again." >&2;}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1226
Dave Love <fx@gnu.org>
parents:
diff changeset
1227 extrasub='/^VPATH[ ]*=/c\
Dave Love <fx@gnu.org>
parents:
diff changeset
1228 vpath %.c $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1229 vpath %.h $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1230 vpath %.y $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1231 vpath %.l $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1232 vpath %.s $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1233 vpath %.in $(srcdir)\
Dave Love <fx@gnu.org>
parents:
diff changeset
1234 vpath %.texi $(srcdir)'
Dave Love <fx@gnu.org>
parents:
diff changeset
1235 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1236
Dave Love <fx@gnu.org>
parents:
diff changeset
1237 #### Given the configuration name, set machfile and opsysfile to the
Dave Love <fx@gnu.org>
parents:
diff changeset
1238 #### names of the m/*.h and s/*.h files we should use.
Dave Love <fx@gnu.org>
parents:
diff changeset
1239
Dave Love <fx@gnu.org>
parents:
diff changeset
1240 ### Canonicalize the configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1241
Dave Love <fx@gnu.org>
parents:
diff changeset
1242 ac_aux_dir=
Dave Love <fx@gnu.org>
parents:
diff changeset
1243 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
Dave Love <fx@gnu.org>
parents:
diff changeset
1244 if test -f $ac_dir/install-sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1245 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1246 ac_install_sh="$ac_aux_dir/install-sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1247 break
Dave Love <fx@gnu.org>
parents:
diff changeset
1248 elif test -f $ac_dir/install.sh; then
Dave Love <fx@gnu.org>
parents:
diff changeset
1249 ac_aux_dir=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
1250 ac_install_sh="$ac_aux_dir/install.sh -c"
Dave Love <fx@gnu.org>
parents:
diff changeset
1251 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1252 elif test -f $ac_dir/shtool; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1253 ac_aux_dir=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1254 ac_install_sh="$ac_aux_dir/shtool install -c"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1255 break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1256 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1257 done
Dave Love <fx@gnu.org>
parents:
diff changeset
1258 if test -z "$ac_aux_dir"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1259 { { echo "$as_me:1259: 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
1260 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
1261 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1262 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1263 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1264 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1265 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1266
Dave Love <fx@gnu.org>
parents:
diff changeset
1267 # Make sure we can run config.sub.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1268 $ac_config_sub sun4 >/dev/null 2>&1 ||
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1269 { { echo "$as_me:1269: error: cannot run $ac_config_sub" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1270 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1271 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1272
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1273 echo "$as_me:1273: checking build system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1274 echo $ECHO_N "checking build system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1275 if test "${ac_cv_build+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1276 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1277 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1278 ac_cv_build_alias=$build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1279 test -z "$ac_cv_build_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1280 ac_cv_build_alias=`$ac_config_guess`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1281 test -z "$ac_cv_build_alias" &&
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1282 { { echo "$as_me:1282: error: cannot guess build type; you must specify one" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1283 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1284 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1285 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1286 { { echo "$as_me:1286: error: $ac_config_sub $ac_cv_build_alias failed." >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1287 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
1288 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1289
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1290 fi
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1291 echo "$as_me:1291: result: $ac_cv_build" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1292 echo "${ECHO_T}$ac_cv_build" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1293 build=$ac_cv_build
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1294 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1295 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1296 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1297
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1298 echo "$as_me:1298: checking host system type" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1299 echo $ECHO_N "checking host system type... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1300 if test "${ac_cv_host+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1301 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1302 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1303 ac_cv_host_alias=$host_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1304 test -z "$ac_cv_host_alias" &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1305 ac_cv_host_alias=$ac_cv_build_alias
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1306 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1307 { { echo "$as_me:1307: error: $ac_config_sub $ac_cv_host_alias failed" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1308 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1309 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1310
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1311 fi
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
1312 echo "$as_me:1312: result: $ac_cv_host" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1313 echo "${ECHO_T}$ac_cv_host" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1314 host=$ac_cv_host
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1315 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1316 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
1317 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1318
Dave Love <fx@gnu.org>
parents:
diff changeset
1319 canonical=$host
40060
c1083f9349f0 *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40056
diff changeset
1320 configuration=${host_alias-$host}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1321
Dave Love <fx@gnu.org>
parents:
diff changeset
1322 ### If you add support for a new configuration, add code to this
Dave Love <fx@gnu.org>
parents:
diff changeset
1323 ### switch statement to recognize your configuration name and select
Dave Love <fx@gnu.org>
parents:
diff changeset
1324 ### the appropriate operating system and machine description files.
Dave Love <fx@gnu.org>
parents:
diff changeset
1325
Dave Love <fx@gnu.org>
parents:
diff changeset
1326 ### You would hope that you could choose an m/*.h file pretty much
Dave Love <fx@gnu.org>
parents:
diff changeset
1327 ### based on the machine portion of the configuration name, and an s-
Dave Love <fx@gnu.org>
parents:
diff changeset
1328 ### file based on the operating system portion. However, it turns out
Dave Love <fx@gnu.org>
parents:
diff changeset
1329 ### that each m/*.h file is pretty manufacturer-specific - for
Dave Love <fx@gnu.org>
parents:
diff changeset
1330 ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are
Dave Love <fx@gnu.org>
parents:
diff changeset
1331 ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
1332 ### machines. So we basically have to have a special case for each
Dave Love <fx@gnu.org>
parents:
diff changeset
1333 ### configuration name.
Dave Love <fx@gnu.org>
parents:
diff changeset
1334 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1335 ### As far as handling version numbers on operating systems is
Dave Love <fx@gnu.org>
parents:
diff changeset
1336 ### concerned, make sure things will fail in a fixable way. If
Dave Love <fx@gnu.org>
parents:
diff changeset
1337 ### /etc/MACHINES doesn't say anything about version numbers, be
Dave Love <fx@gnu.org>
parents:
diff changeset
1338 ### prepared to handle anything reasonably. If version numbers
Dave Love <fx@gnu.org>
parents:
diff changeset
1339 ### matter, be sure /etc/MACHINES says something about it.
Dave Love <fx@gnu.org>
parents:
diff changeset
1340 ###
Dave Love <fx@gnu.org>
parents:
diff changeset
1341 ### Eric Raymond says we should accept strings like "sysvr4" to mean
Dave Love <fx@gnu.org>
parents:
diff changeset
1342 ### "System V Release 4"; he writes, "The old convention encouraged
Dave Love <fx@gnu.org>
parents:
diff changeset
1343 ### confusion between `system' and `release' levels'."
Dave Love <fx@gnu.org>
parents:
diff changeset
1344
Dave Love <fx@gnu.org>
parents:
diff changeset
1345 machine='' opsys='' unported=no
Dave Love <fx@gnu.org>
parents:
diff changeset
1346 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1347
41675
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1348 ## FreeBSD ports
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1349 *-*-freebsd* )
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1350 opsys=freebsd
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1351 case "${canonical}" in
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1352 alpha*-*-freebsd*) machine=alpha ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1353 i[3456]86-*-freebsd*) machine=intel386 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1354 esac
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1355 ;;
30f353761d6c *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41431
diff changeset
1356
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1357 ## NetBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1358 *-*-netbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1359 opsys=netbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1360 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1361 alpha*-*-netbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1362 i[3456]86-*-netbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1363 m68k-*-netbsd*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1364 # This is somewhat bogus.
Dave Love <fx@gnu.org>
parents:
diff changeset
1365 machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1366 powerpc-apple-netbsd*) machine=macppc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1367 mips-*-netbsd*) machine=pmax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1368 mipsel-*-netbsd*) machine=pmax ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1369 ns32k-*-netbsd*) machine=ns32000 ;;
28674
33b9dd030d3b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28643
diff changeset
1370 powerpc-*-netbsd*) machine=macppc ;;
32034
259c9935f2db *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31994
diff changeset
1371 sparc*-*-netbsd*) machine=sparc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1372 vax-*-netbsd*) machine=vax ;;
27927
82d519ae67da *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27910
diff changeset
1373 arm-*-netbsd*) machine=arm ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1374 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1375 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1376
Dave Love <fx@gnu.org>
parents:
diff changeset
1377 ## OpenBSD ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1378 *-*-openbsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1379 opsys=openbsd
Dave Love <fx@gnu.org>
parents:
diff changeset
1380 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1381 alpha*-*-openbsd*) machine=alpha ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1382 i386-*-openbsd*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1383 m68k-*-openbsd*) machine=hp9000s300 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1384 mipsel-*-openbsd*) machine=pmax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1385 ns32k-*-openbsd*) machine=ns32000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1386 sparc-*-openbsd*) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1387 vax-*-openbsd*) machine=vax ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1388 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1389 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1390
Dave Love <fx@gnu.org>
parents:
diff changeset
1391 ## Acorn RISCiX:
Dave Love <fx@gnu.org>
parents:
diff changeset
1392 arm-acorn-riscix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1393 machine=acorn opsys=riscix1-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1394 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1395 arm-acorn-riscix1.2* | arm-acorn-riscix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1396 ## This name is riscix12 instead of riscix1.2
Dave Love <fx@gnu.org>
parents:
diff changeset
1397 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1398 machine=acorn opsys=riscix12
Dave Love <fx@gnu.org>
parents:
diff changeset
1399 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1400
Dave Love <fx@gnu.org>
parents:
diff changeset
1401 ## BSDI ports
Dave Love <fx@gnu.org>
parents:
diff changeset
1402 *-*-bsdi* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1403 opsys=bsdi
Dave Love <fx@gnu.org>
parents:
diff changeset
1404 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1405 i[345]86-*-bsdi*) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1406 sparc-*-bsdi*) machine=sparc ;;
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1407 powerpc-*-bsdi*) machine=macppc ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1408 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1409 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1410 *-*-bsd386* | *-*-bsdi1* ) opsys=bsd386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1411 *-*-bsdi2.0* ) opsys=bsdos2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1412 *-*-bsdi2* ) opsys=bsdos2-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1413 *-*-bsdi3* ) opsys=bsdos3 ;;
42988
5fcba75d6dd8 Recognize BSD/OS 5.0.
Eli Zaretskii <eliz@gnu.org>
parents: 42401
diff changeset
1414 *-*-bsdi[45]* ) opsys=bsdos4 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1415 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1416 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1417
Dave Love <fx@gnu.org>
parents:
diff changeset
1418 ## Alliant machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1419 ## Strictly speaking, we need the version of the alliant operating
Dave Love <fx@gnu.org>
parents:
diff changeset
1420 ## system to choose the right machine file, but currently the
Dave Love <fx@gnu.org>
parents:
diff changeset
1421 ## configuration name doesn't tell us enough to choose the right
Dave Love <fx@gnu.org>
parents:
diff changeset
1422 ## one; we need to give alliants their own operating system name to
Dave Love <fx@gnu.org>
parents:
diff changeset
1423 ## do this right. When someone cares, they can help us.
Dave Love <fx@gnu.org>
parents:
diff changeset
1424 fx80-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1425 machine=alliant4 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1426 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1427 i860-alliant-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1428 machine=alliant-2800 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1429 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1430
Dave Love <fx@gnu.org>
parents:
diff changeset
1431 ## Alpha (DEC) machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1432 alpha*-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1433 machine=alpha opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1434 # This is needed to find X11R6.1 libraries for certain tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
1435 NON_GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
Dave Love <fx@gnu.org>
parents:
diff changeset
1436 GCC_LINK_TEST_OPTIONS=-Wl,-rpath,/usr/X11R6/lib
34446
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1437 # 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
1438 # due to non-traditional preprocessing with the current compiler
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1439 # defaults. OSF 4 can also have that compiler version, and there
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1440 # seems always to have been a usable /usr/bin/cpp.
d39dd1c5b93f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 34431
diff changeset
1441 NON_GNU_CPP=/usr/bin/cpp
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1442 case "${canonical}" in
31994
baf314674954 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31607
diff changeset
1443 alpha*-dec-osf[5-9]*)
31229
0c280e986946 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31153
diff changeset
1444 opsys=osf5-0 ;;
27883
7c90c9f169f4 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27752
diff changeset
1445 esac
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1446 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1447
Dave Love <fx@gnu.org>
parents:
diff changeset
1448 alpha*-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1449 machine=alpha opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
1450 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1451
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1452 arm*-*-linux-gnu* )
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1453 machine=arm opsys=gnu-linux
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1454 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1455
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1456 ppc-*-linux | \
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1457 powerpc-*-linux* )
33740
fd29993d1f00 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33677
diff changeset
1458 machine=macppc opsys=gnu-linux
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1459 ;;
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1460
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1461 ## Altos 3068
Dave Love <fx@gnu.org>
parents:
diff changeset
1462 m68*-altos-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1463 machine=altos opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1464 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1465
Dave Love <fx@gnu.org>
parents:
diff changeset
1466 ## Amdahl UTS
Dave Love <fx@gnu.org>
parents:
diff changeset
1467 580-amdahl-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1468 machine=amdahl opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1469 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1470
Dave Love <fx@gnu.org>
parents:
diff changeset
1471 ## Apollo, Domain/OS
Dave Love <fx@gnu.org>
parents:
diff changeset
1472 m68*-apollo-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1473 machine=apollo opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1474 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1475
Dave Love <fx@gnu.org>
parents:
diff changeset
1476 ## AT&T 3b2, 3b5, 3b15, 3b20
Dave Love <fx@gnu.org>
parents:
diff changeset
1477 we32k-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1478 machine=att3b opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1479 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1480
Dave Love <fx@gnu.org>
parents:
diff changeset
1481 ## AT&T 3b1 - The Mighty Unix PC!
Dave Love <fx@gnu.org>
parents:
diff changeset
1482 m68*-att-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1483 machine=7300 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1484 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1485
Dave Love <fx@gnu.org>
parents:
diff changeset
1486 ## Bull dpx20
Dave Love <fx@gnu.org>
parents:
diff changeset
1487 rs6000-bull-bosx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1488 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1489 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1490
Dave Love <fx@gnu.org>
parents:
diff changeset
1491 ## Bull dpx2
Dave Love <fx@gnu.org>
parents:
diff changeset
1492 m68*-bull-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1493 machine=dpx2 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1494 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1495
Dave Love <fx@gnu.org>
parents:
diff changeset
1496 ## Bull sps7
Dave Love <fx@gnu.org>
parents:
diff changeset
1497 m68*-bull-sysv2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1498 machine=sps7 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1499 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1500
Dave Love <fx@gnu.org>
parents:
diff changeset
1501 ## CCI 5/32, 6/32 -- see "Tahoe".
Dave Love <fx@gnu.org>
parents:
diff changeset
1502
Dave Love <fx@gnu.org>
parents:
diff changeset
1503 ## Celerity
Dave Love <fx@gnu.org>
parents:
diff changeset
1504 ## I don't know what configuration name to use for this; config.sub
Dave Love <fx@gnu.org>
parents:
diff changeset
1505 ## doesn't seem to know anything about it. Hey, Celerity users, get
Dave Love <fx@gnu.org>
parents:
diff changeset
1506 ## in touch with us!
Dave Love <fx@gnu.org>
parents:
diff changeset
1507 celerity-celerity-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1508 machine=celerity opsys=bsd4-2
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 ## Clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1512 ## What operating systems does this chip run that Emacs has been
Dave Love <fx@gnu.org>
parents:
diff changeset
1513 ## tested on?
Dave Love <fx@gnu.org>
parents:
diff changeset
1514 clipper-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1515 machine=clipper
Dave Love <fx@gnu.org>
parents:
diff changeset
1516 ## We'll use the catch-all code at the bottom to guess the
Dave Love <fx@gnu.org>
parents:
diff changeset
1517 ## operating system.
Dave Love <fx@gnu.org>
parents:
diff changeset
1518 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1519
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1520 ## Compaq Nonstop
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1521 mips-compaq-nonstopux* )
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1522 machine=nonstopux opsys=nonstopux
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1523 ;;
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
1524
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1525 ## Convex
Dave Love <fx@gnu.org>
parents:
diff changeset
1526 *-convex-bsd* | *-convex-convexos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1527 machine=convex opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1528 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov
Dave Love <fx@gnu.org>
parents:
diff changeset
1529 NON_GNU_CPP="cc -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1530 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1531
Dave Love <fx@gnu.org>
parents:
diff changeset
1532 ## Cubix QBx/386
Dave Love <fx@gnu.org>
parents:
diff changeset
1533 i[3456]86-cubix-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1534 machine=intel386 opsys=usg5-3
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 ## Cydra 5
Dave Love <fx@gnu.org>
parents:
diff changeset
1538 cydra*-cydrome-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1539 machine=cydra5 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1540 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1541
Dave Love <fx@gnu.org>
parents:
diff changeset
1542 ## Data General AViiON Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1543 ## DG changed naming conventions with the release of 5.4.4.10, they
Dave Love <fx@gnu.org>
parents:
diff changeset
1544 ## dropped the initial 5.4 but left the intervening R. Because of the
Dave Love <fx@gnu.org>
parents:
diff changeset
1545 ## R this shouldn't conflict with older versions of the OS (which I
Dave Love <fx@gnu.org>
parents:
diff changeset
1546 ## think were named like dgux4.*). In addition, DG new AViiONs series
Dave Love <fx@gnu.org>
parents:
diff changeset
1547 ## uses either Motorola M88k or Intel Pentium CPUs.
Dave Love <fx@gnu.org>
parents:
diff changeset
1548 m88k-dg-dguxR4.* | m88k-dg-dgux4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1549 machine=aviion opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1550 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1551 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1552 ## This name is dgux5-4-3 instead of dgux5-4r3
Dave Love <fx@gnu.org>
parents:
diff changeset
1553 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1554 machine=aviion opsys=dgux5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1555 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1556 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1557 machine=aviion opsys=dgux5-4r2
Dave Love <fx@gnu.org>
parents:
diff changeset
1558 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1559 m88k-dg-dgux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1560 machine=aviion opsys=dgux
Dave Love <fx@gnu.org>
parents:
diff changeset
1561 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1562
Dave Love <fx@gnu.org>
parents:
diff changeset
1563 ## Data General AViiON Intel (x86) Machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1564 ## Exists from 5.4.3 (current i586-dg-dguxR4.11)
Dave Love <fx@gnu.org>
parents:
diff changeset
1565 ## Ehud Karni, 1998-may-30, ehud@unix.simonwiesel.co.il
Dave Love <fx@gnu.org>
parents:
diff changeset
1566 i[345]86-dg-dguxR4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1567 machine=aviion-intel opsys=dgux4
Dave Love <fx@gnu.org>
parents:
diff changeset
1568 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1569
Dave Love <fx@gnu.org>
parents:
diff changeset
1570 ## DECstations
Dave Love <fx@gnu.org>
parents:
diff changeset
1571 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1572 machine=pmax opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1573 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1574 mips-dec-ultrix4.[12]* | mips-dec-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1575 machine=pmax opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1576 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1577 mips-dec-ultrix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1578 machine=pmax opsys=ultrix4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1579 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1580 mips-dec-osf* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1581 machine=pmax opsys=osf1
Dave Love <fx@gnu.org>
parents:
diff changeset
1582 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1583 mips-dec-mach_bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1584 machine=pmax opsys=mach-bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1585 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1586
Dave Love <fx@gnu.org>
parents:
diff changeset
1587 ## Motorola Delta machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1588 m68k-motorola-sysv* | m68000-motorola-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1589 machine=delta opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1590 if test -z "`type gnucc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1591 then
Dave Love <fx@gnu.org>
parents:
diff changeset
1592 if test -s /etc/167config
Dave Love <fx@gnu.org>
parents:
diff changeset
1593 then CC="gnucc -m68040"
Dave Love <fx@gnu.org>
parents:
diff changeset
1594 else CC="gnucc -m68881"
Dave Love <fx@gnu.org>
parents:
diff changeset
1595 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1596 else
Dave Love <fx@gnu.org>
parents:
diff changeset
1597 if test -z "`type gcc | grep 'not found'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
1598 then CC=gcc
Dave Love <fx@gnu.org>
parents:
diff changeset
1599 else CC=cc
Dave Love <fx@gnu.org>
parents:
diff changeset
1600 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1601 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
1602 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1603 m88k-motorola-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1604 # jbotte@bnr.ca says that UNIX_System_V <hostName> 4.0 R40V4.3 m88k mc88110
Dave Love <fx@gnu.org>
parents:
diff changeset
1605 # needs POSIX_SIGNALS and therefore needs usg5-4-2.
Dave Love <fx@gnu.org>
parents:
diff changeset
1606 # I hope there are not other 4.0 versions for this machine
Dave Love <fx@gnu.org>
parents:
diff changeset
1607 # which really need usg5-4 instead.
Dave Love <fx@gnu.org>
parents:
diff changeset
1608 machine=delta88k opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1609 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1610 m88k-motorola-sysv* | m88k-motorola-m88kbcs* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1611 machine=delta88k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1612 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1613
Dave Love <fx@gnu.org>
parents:
diff changeset
1614 ## Dual machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1615 m68*-dual-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1616 machine=dual opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1617 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1618 m68*-dual-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1619 machine=dual opsys=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1620 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1621
Dave Love <fx@gnu.org>
parents:
diff changeset
1622 ## Elxsi 6400
Dave Love <fx@gnu.org>
parents:
diff changeset
1623 elxsi-elxsi-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1624 machine=elxsi opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1625 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1626
Dave Love <fx@gnu.org>
parents:
diff changeset
1627 ## Encore machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1628 ns16k-encore-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1629 machine=ns16000 opsys=umax
Dave Love <fx@gnu.org>
parents:
diff changeset
1630 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1631
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1632 ## The GEC 63 - apparently, this port isn't really finished yet.
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
1633 # I'm sure we finished off the last of the machines, though. -- fx
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1634
Dave Love <fx@gnu.org>
parents:
diff changeset
1635 ## Gould Power Node and NP1
Dave Love <fx@gnu.org>
parents:
diff changeset
1636 pn-gould-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1637 machine=gould opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1638 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1639 pn-gould-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1640 machine=gould opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1641 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1642 np1-gould-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1643 machine=gould-np1 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1644 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1645
Dave Love <fx@gnu.org>
parents:
diff changeset
1646 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000
Dave Love <fx@gnu.org>
parents:
diff changeset
1647 ## as far as Emacs is concerned).
Dave Love <fx@gnu.org>
parents:
diff changeset
1648 m88k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1649 # Build needs to be different on 7.0 and later releases
Dave Love <fx@gnu.org>
parents:
diff changeset
1650 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1651 [56].[0-9] ) machine=nh4000 opsys=cxux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1652 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1653 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1654 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
1655 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1656 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1657 m68k-harris-cxux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1658 machine=nh3000 opsys=cxux
Dave Love <fx@gnu.org>
parents:
diff changeset
1659 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1660 ## Harris power pc NightHawk running Power UNIX (Series 6000)
Dave Love <fx@gnu.org>
parents:
diff changeset
1661 powerpc-harris-powerunix )
Dave Love <fx@gnu.org>
parents:
diff changeset
1662 machine=nh6000 opsys=powerunix
Dave Love <fx@gnu.org>
parents:
diff changeset
1663 NON_GNU_CPP="cc -Xo -E -P"
Dave Love <fx@gnu.org>
parents:
diff changeset
1664 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1665 ## SR2001/SR2201 running HI-UX/MPP
Dave Love <fx@gnu.org>
parents:
diff changeset
1666 hppa1.1-hitachi-hiuxmpp* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1667 machine=sr2k opsys=hiuxmpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1668 ;;
38811
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1669 hppa1.1-hitachi-hiuxwe2* )
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1670 machine=sr2k opsys=hiuxwe2
ee23b9f37f80 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36903
diff changeset
1671 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1672 ## Honeywell XPS100
Dave Love <fx@gnu.org>
parents:
diff changeset
1673 xps*-honeywell-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1674 machine=xps100 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1675 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1676
Dave Love <fx@gnu.org>
parents:
diff changeset
1677 ## HP 9000 series 200 or 300
Dave Love <fx@gnu.org>
parents:
diff changeset
1678 m68*-hp-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1679 machine=hp9000s300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1680 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1681 ## HP/UX 7, 8, 9, and 10 are supported on these machines.
Dave Love <fx@gnu.org>
parents:
diff changeset
1682 m68*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1683 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1684 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1685 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1686 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1687 *.08.* ) machine=hp9000s300 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1688 *.09.* ) machine=hp9000s300 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1689 *.1[0-9].* ) machine=hp9000s300 opsys=hpux9shr ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1690 *) machine=hp9000s300 opsys=hpux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1691 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1692 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1693
Dave Love <fx@gnu.org>
parents:
diff changeset
1694 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1695 hppa*-hp-hpux7* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1696 machine=hp800 opsys=hpux
Dave Love <fx@gnu.org>
parents:
diff changeset
1697 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1698 hppa*-hp-hpux8* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1699 machine=hp800 opsys=hpux8
Dave Love <fx@gnu.org>
parents:
diff changeset
1700 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1701 hppa*-hp-hpux9shr* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1702 machine=hp800 opsys=hpux9shr
Dave Love <fx@gnu.org>
parents:
diff changeset
1703 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1704 hppa*-hp-hpux9* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1705 machine=hp800 opsys=hpux9
Dave Love <fx@gnu.org>
parents:
diff changeset
1706 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1707 hppa*-hp-hpux10* )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1708 machine=hp800 opsys=hpux10
Dave Love <fx@gnu.org>
parents:
diff changeset
1709 ;;
40632
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1710 hppa*-hp-hpux1[1-9]* )
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1711 machine=hp800 opsys=hpux11
39fc5111667c *** empty log message ***
Miles Bader <miles@gnu.org>
parents: 40426
diff changeset
1712 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1713
41960
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1714 hppa*-*-linux-gnu* )
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1715 machine=hp800 opsys=gnu-linux
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1716 ;;
835df8cf4ef5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 41897
diff changeset
1717
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1718 ## HP 9000 series 700 and 800, running HP/UX
Dave Love <fx@gnu.org>
parents:
diff changeset
1719 hppa*-hp-hpux* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1720 ## Cross-compilation? Nah!
Dave Love <fx@gnu.org>
parents:
diff changeset
1721 case "`uname -r`" in
Dave Love <fx@gnu.org>
parents:
diff changeset
1722 ## Someone's system reports A.B8.05 for this.
Dave Love <fx@gnu.org>
parents:
diff changeset
1723 ## I wonder what other possibilities there are.
Dave Love <fx@gnu.org>
parents:
diff changeset
1724 *.B8.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1725 *.08.* ) machine=hp800 opsys=hpux8 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1726 *.09.* ) machine=hp800 opsys=hpux9 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1727 *) machine=hp800 opsys=hpux10 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1728 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
1729 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1730 hppa*-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1731 machine=hp800 opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
1732 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1733
Dave Love <fx@gnu.org>
parents:
diff changeset
1734 ## Orion machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1735 orion-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1736 machine=orion opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1737 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1738 clipper-orion-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1739 machine=orion105 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1740 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1741
Dave Love <fx@gnu.org>
parents:
diff changeset
1742 ## IBM machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1743 i[3456]86-ibm-aix1.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1744 machine=ibmps2-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1745 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1746 i[3456]86-ibm-aix1.[23]* | i[3456]86-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1747 machine=ibmps2-aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1748 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1749 i370-ibm-aix*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1750 machine=ibm370aix opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1751 ;;
40426
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1752 s390-*-linux-gnu)
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1753 machine=ibms390 opsys=gnu-linux
bb16255e7f21 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40276
diff changeset
1754 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1755 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1756 machine=ibmrs6000 opsys=aix3-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1757 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1758 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1759 machine=ibmrs6000 opsys=aix3-2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1760 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1761 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1762 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1763 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1764 rs6000-ibm-aix4.2* | powerpc-ibm-aix4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1765 machine=ibmrs6000 opsys=aix4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1766 ;;
43924
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1767 rs6000-ibm-aix5.1* | powerpc-ibm-aix5.1* )
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1768 machine=ibmrs6000 opsys=aix4-2
ed9873c5c040 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 43824
diff changeset
1769 ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1770 rs6000-ibm-aix4.0* | powerpc-ibm-aix4.0* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1771 machine=ibmrs6000 opsys=aix4
Dave Love <fx@gnu.org>
parents:
diff changeset
1772 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1773 rs6000-ibm-aix4* | powerpc-ibm-aix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1774 machine=ibmrs6000 opsys=aix4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
1775 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1776 rs6000-ibm-aix* | powerpc-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1777 machine=ibmrs6000 opsys=aix3-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1778 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1779 romp-ibm-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1780 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1781 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1782 romp-ibm-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1783 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1784 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1785 romp-ibm-aos4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1786 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1787 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1788 romp-ibm-aos4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1789 machine=ibmrt opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1790 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1791 romp-ibm-aos* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1792 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1793 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1794 romp-ibm-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1795 machine=ibmrt opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1796 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1797 romp-ibm-aix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1798 machine=ibmrt-aix opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1799 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1800
Dave Love <fx@gnu.org>
parents:
diff changeset
1801 ## Integrated Solutions `Optimum V'
Dave Love <fx@gnu.org>
parents:
diff changeset
1802 m68*-isi-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1803 machine=isi-ov opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1804 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1805 m68*-isi-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1806 machine=isi-ov opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1807 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1808
Dave Love <fx@gnu.org>
parents:
diff changeset
1809 ## Intel 386 machines where we do care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
1810 i[3456]86-intsys-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1811 machine=is386 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1812 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1813
Dave Love <fx@gnu.org>
parents:
diff changeset
1814 ## Prime EXL
Dave Love <fx@gnu.org>
parents:
diff changeset
1815 i[3456]86-prime-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1816 machine=i386 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1817 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1818
Dave Love <fx@gnu.org>
parents:
diff changeset
1819 ## Sequent Symmetry running Dynix
Dave Love <fx@gnu.org>
parents:
diff changeset
1820 i[3456]86-sequent-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1821 machine=symmetry opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1822 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1823
Dave Love <fx@gnu.org>
parents:
diff changeset
1824 ## Sequent Symmetry running ptx 4, which is a modified SVR4.
Dave Love <fx@gnu.org>
parents:
diff changeset
1825 i[3456]86-sequent-ptx4* | i[3456]86-sequent-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1826 machine=sequent-ptx opsys=ptx4
Dave Love <fx@gnu.org>
parents:
diff changeset
1827 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1828 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1829
Dave Love <fx@gnu.org>
parents:
diff changeset
1830 ## Sequent Symmetry running DYNIX/ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
1831 ## Use the old cpp rather than the newer ANSI one.
Dave Love <fx@gnu.org>
parents:
diff changeset
1832 i[3456]86-sequent-ptx* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1833 machine=sequent-ptx opsys=ptx
Dave Love <fx@gnu.org>
parents:
diff changeset
1834 NON_GNU_CPP="/lib/cpp"
Dave Love <fx@gnu.org>
parents:
diff changeset
1835 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1836
Dave Love <fx@gnu.org>
parents:
diff changeset
1837 ## ncr machine running svr4.3.
Dave Love <fx@gnu.org>
parents:
diff changeset
1838 i[3456]86-ncr-sysv4.3 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1839 machine=ncr386 opsys=usg5-4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1840 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1841
Dave Love <fx@gnu.org>
parents:
diff changeset
1842 ## Unspecified sysv on an ncr machine defaults to svr4.2.
Dave Love <fx@gnu.org>
parents:
diff changeset
1843 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.)
Dave Love <fx@gnu.org>
parents:
diff changeset
1844 i[3456]86-ncr-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1845 machine=ncr386 opsys=usg5-4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1846 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1847
Dave Love <fx@gnu.org>
parents:
diff changeset
1848 ## Intel Paragon OSF/1
Dave Love <fx@gnu.org>
parents:
diff changeset
1849 i860-intel-osf1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1850 machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1851 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1852
Dave Love <fx@gnu.org>
parents:
diff changeset
1853 ## Intel 860
Dave Love <fx@gnu.org>
parents:
diff changeset
1854 i860-*-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1855 machine=i860 opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
1856 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc.
Dave Love <fx@gnu.org>
parents:
diff changeset
1857 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion.
Dave Love <fx@gnu.org>
parents:
diff changeset
1858 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1859
28748
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1860 ## Macintosh PowerPC
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1861 powerpc*-*-linux-gnu* )
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1862 machine=macppc opsys=gnu-linux
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1863 ;;
6d96f2643b05 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28674
diff changeset
1864
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1865 ## Masscomp machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1866 m68*-masscomp-rtu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1867 machine=masscomp opsys=rtu
Dave Love <fx@gnu.org>
parents:
diff changeset
1868 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1869
Dave Love <fx@gnu.org>
parents:
diff changeset
1870 ## Megatest machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1871 m68*-megatest-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1872 machine=mega68 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1873 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1874
Dave Love <fx@gnu.org>
parents:
diff changeset
1875 ## Workstations sold by MIPS
Dave Love <fx@gnu.org>
parents:
diff changeset
1876 ## This is not necessarily all workstations using the MIPS processor -
Dave Love <fx@gnu.org>
parents:
diff changeset
1877 ## Irises are produced by SGI, and DECstations by DEC.
Dave Love <fx@gnu.org>
parents:
diff changeset
1878
Dave Love <fx@gnu.org>
parents:
diff changeset
1879 ## etc/MACHINES lists mips.h and mips4.h as possible machine files,
Dave Love <fx@gnu.org>
parents:
diff changeset
1880 ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance
Dave Love <fx@gnu.org>
parents:
diff changeset
1881 ## it gives for choosing between the alternatives seems to be "Use
Dave Love <fx@gnu.org>
parents:
diff changeset
1882 ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with
Dave Love <fx@gnu.org>
parents:
diff changeset
1883 ## the BSD world." I'll assume that these are instructions for
Dave Love <fx@gnu.org>
parents:
diff changeset
1884 ## handling two odd situations, and that every other situation
Dave Love <fx@gnu.org>
parents:
diff changeset
1885 ## should use mips.h and usg5-2-2, they being listed first.
Dave Love <fx@gnu.org>
parents:
diff changeset
1886 mips-mips-usg* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1887 machine=mips4
Dave Love <fx@gnu.org>
parents:
diff changeset
1888 ## Fall through to the general code at the bottom to decide on the OS.
Dave Love <fx@gnu.org>
parents:
diff changeset
1889 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1890 mips-mips-riscos4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1891 machine=mips4 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1892 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
1893 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
1894 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1895 mips-mips-riscos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1896 machine=mips4 opsys=riscos5
Dave Love <fx@gnu.org>
parents:
diff changeset
1897 NON_GNU_CC="cc -systype bsd43"
Dave Love <fx@gnu.org>
parents:
diff changeset
1898 NON_GNU_CPP="cc -systype bsd43 -E"
Dave Love <fx@gnu.org>
parents:
diff changeset
1899 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1900 mips-mips-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1901 machine=mips opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1902 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1903 mips-mips-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1904 machine=mips opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1905 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1906
Dave Love <fx@gnu.org>
parents:
diff changeset
1907 ## NeXT
Dave Love <fx@gnu.org>
parents:
diff changeset
1908 m68*-next-* | m68k-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1909 machine=m68k opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
1910 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1911
Dave Love <fx@gnu.org>
parents:
diff changeset
1912 ## The complete machine from National Semiconductor
Dave Love <fx@gnu.org>
parents:
diff changeset
1913 ns32k-ns-genix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1914 machine=ns32000 opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1915 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1916
Dave Love <fx@gnu.org>
parents:
diff changeset
1917 ## NCR machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1918 m68*-ncr-sysv2* | m68*-ncr-sysvr2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1919 machine=tower32 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1920 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1921 m68*-ncr-sysv3* | m68*-ncr-sysvr3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1922 machine=tower32v3 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1923 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1924
Dave Love <fx@gnu.org>
parents:
diff changeset
1925 ## NEC EWS4800
Dave Love <fx@gnu.org>
parents:
diff changeset
1926 mips-nec-sysv4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1927 machine=ews4800 opsys=ux4800
Dave Love <fx@gnu.org>
parents:
diff changeset
1928 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1929
Dave Love <fx@gnu.org>
parents:
diff changeset
1930 ## Nixdorf Targon 31
Dave Love <fx@gnu.org>
parents:
diff changeset
1931 m68*-nixdorf-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1932 machine=targon31 opsys=usg5-2-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1933 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1934
Dave Love <fx@gnu.org>
parents:
diff changeset
1935 ## Nu (TI or LMI)
Dave Love <fx@gnu.org>
parents:
diff changeset
1936 m68*-nu-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1937 machine=nu opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1938 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1939
Dave Love <fx@gnu.org>
parents:
diff changeset
1940 ## Plexus
Dave Love <fx@gnu.org>
parents:
diff changeset
1941 m68*-plexus-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1942 machine=plexus opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1943 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1944
Dave Love <fx@gnu.org>
parents:
diff changeset
1945 ## PowerPC reference platform
Dave Love <fx@gnu.org>
parents:
diff changeset
1946 powerpcle-*-solaris2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1947 machine=prep
Dave Love <fx@gnu.org>
parents:
diff changeset
1948 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1949 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1950
Dave Love <fx@gnu.org>
parents:
diff changeset
1951 ## Pyramid machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1952 ## I don't really have any idea what sort of processor the Pyramid has,
Dave Love <fx@gnu.org>
parents:
diff changeset
1953 ## so I'm assuming it is its own architecture.
Dave Love <fx@gnu.org>
parents:
diff changeset
1954 pyramid-pyramid-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1955 machine=pyramid opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1956 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1957
Dave Love <fx@gnu.org>
parents:
diff changeset
1958 ## Sequent Balance
Dave Love <fx@gnu.org>
parents:
diff changeset
1959 ns32k-sequent-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1960 machine=sequent opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
1961 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1962 ns32k-sequent-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1963 machine=sequent opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1964 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1965
Dave Love <fx@gnu.org>
parents:
diff changeset
1966 ## Siemens Nixdorf
Dave Love <fx@gnu.org>
parents:
diff changeset
1967 mips-siemens-sysv* | mips-sni-sysv*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1968 machine=mips-siemens opsys=usg5-4
Dave Love <fx@gnu.org>
parents:
diff changeset
1969 NON_GNU_CC=/usr/ccs/bin/cc
Dave Love <fx@gnu.org>
parents:
diff changeset
1970 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
1971 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1972
Dave Love <fx@gnu.org>
parents:
diff changeset
1973 ## Silicon Graphics machines
Dave Love <fx@gnu.org>
parents:
diff changeset
1974 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030)
Dave Love <fx@gnu.org>
parents:
diff changeset
1975 m68*-sgi-iris3.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1976 machine=irist opsys=iris3-5
Dave Love <fx@gnu.org>
parents:
diff changeset
1977 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1978 m68*-sgi-iris3.6* | m68*-sgi-iris*)
Dave Love <fx@gnu.org>
parents:
diff changeset
1979 machine=irist opsys=iris3-6
Dave Love <fx@gnu.org>
parents:
diff changeset
1980 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1981 ## Iris 4D
Dave Love <fx@gnu.org>
parents:
diff changeset
1982 mips-sgi-irix3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1983 machine=iris4d opsys=irix3-3
Dave Love <fx@gnu.org>
parents:
diff changeset
1984 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1985 mips-sgi-irix4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1986 machine=iris4d opsys=irix4-0
Dave Love <fx@gnu.org>
parents:
diff changeset
1987 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1988 mips-sgi-irix6.5 )
Dave Love <fx@gnu.org>
parents:
diff changeset
1989 machine=iris4d opsys=irix6-5
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1990 # Without defining _LANGUAGE_C, things get masked out in the headers
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
1991 # 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
1992 # 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
1993 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
1994 NON_GCC_TEST_OPTIONS="-D_LANGUAGE_C"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
1995 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
1996 mips-sgi-irix6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
1997 machine=iris4d opsys=irix6-0
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
1998 # 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
1999 # but presumably it does no harm.
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
2000 NON_GNU_CPP="/lib/cpp -D_LANGUAGE_C"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
2001 # -32 probably isn't necessary in later v.6s -- anyone know which?
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2002 NON_GCC_TEST_OPTIONS=-32
Dave Love <fx@gnu.org>
parents:
diff changeset
2003 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2004 mips-sgi-irix5.[01]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2005 machine=iris4d opsys=irix5-0
Dave Love <fx@gnu.org>
parents:
diff changeset
2006 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2007 mips-sgi-irix5* | mips-sgi-irix* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2008 machine=iris4d opsys=irix5-2
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 ## SONY machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2012 m68*-sony-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2013 machine=news opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2014 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2015 m68*-sony-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2016 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2017 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2018 m68*-sony-newsos3* | m68*-sony-news3*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2019 machine=news opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2020 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2021 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2022 machine=news-risc opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2023 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2024 mips-sony-newsos6* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2025 machine=news-r6 opsys=newsos6
Dave Love <fx@gnu.org>
parents:
diff changeset
2026 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2027 mips-sony-news* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2028 machine=news-risc opsys=newsos5
Dave Love <fx@gnu.org>
parents:
diff changeset
2029 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2030
Dave Love <fx@gnu.org>
parents:
diff changeset
2031 ## Stride
Dave Love <fx@gnu.org>
parents:
diff changeset
2032 m68*-stride-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2033 machine=stride opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2034 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2035
Dave Love <fx@gnu.org>
parents:
diff changeset
2036 ## Suns
Dave Love <fx@gnu.org>
parents:
diff changeset
2037 sparc-*-linux-gnu* | sparc64-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2038 machine=sparc opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2039 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2040
27949
e06c6af9d981 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27927
diff changeset
2041 *-auspex-sunos* | *-sun-sunos* | *-sun-bsd* | *-sun-solaris* \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2042 | i[3456]86-*-solaris2* | i[3456]86-*-sunos5* | powerpc*-*-solaris2* \
Dave Love <fx@gnu.org>
parents:
diff changeset
2043 | rs6000-*-solaris2*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2044 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2045 m68*-sunos1* ) machine=sun1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2046 m68*-sunos2* ) machine=sun2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2047 m68* ) machine=sun3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2048 i[3456]86-sun-sunos[34]* ) machine=sun386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2049 i[3456]86-*-* ) machine=intel386 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2050 powerpcle* ) machine=powerpcle ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2051 powerpc* | rs6000* ) machine=ibmrs6000 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2052 sparc* ) machine=sparc ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2053 * ) unported=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2054 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2055 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2056 ## The Sun386 didn't get past 4.0.
Dave Love <fx@gnu.org>
parents:
diff changeset
2057 i[3456]86-*-sunos4 ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2058 *-sunos4.0* ) opsys=sunos4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2059 *-sunos4.1.[3-9]*noshare )
Dave Love <fx@gnu.org>
parents:
diff changeset
2060 ## This name is sunos413 instead of sunos4-1-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2061 ## to avoid a file name conflict on MSDOS.
Dave Love <fx@gnu.org>
parents:
diff changeset
2062 opsys=sunos413
Dave Love <fx@gnu.org>
parents:
diff changeset
2063 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2064 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2065 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2066 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2067 *-sunos4.1.[3-9]* | *-sunos4shr*)
Dave Love <fx@gnu.org>
parents:
diff changeset
2068 opsys=sunos4shr
Dave Love <fx@gnu.org>
parents:
diff changeset
2069 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2070 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2071 *-sunos4* | *-sunos )
Dave Love <fx@gnu.org>
parents:
diff changeset
2072 opsys=sunos4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2073 NON_GCC_TEST_OPTIONS=-Bstatic
Dave Love <fx@gnu.org>
parents:
diff changeset
2074 GCC_TEST_OPTIONS=-static
Dave Love <fx@gnu.org>
parents:
diff changeset
2075 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2076 *-sunos5.3* | *-solaris2.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2077 opsys=sol2-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2078 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2079 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2080 *-sunos5.4* | *-solaris2.4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2081 opsys=sol2-4
Dave Love <fx@gnu.org>
parents:
diff changeset
2082 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2083 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2084 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2085 *-sunos5.5* | *-solaris2.5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2086 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2087 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2088 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2089 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2090 *-sunos5* | *-solaris* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2091 opsys=sol2-5
Dave Love <fx@gnu.org>
parents:
diff changeset
2092 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2093 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2094 * ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2095 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2096 ## Watch out for a compiler that we know will not work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2097 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2098 *-solaris* | *-sunos5* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2099 if [ "x$CC" = x/usr/ucb/cc ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2100 ## /usr/ucb/cc doesn't work;
Dave Love <fx@gnu.org>
parents:
diff changeset
2101 ## we should find some other compiler that does work.
Dave Love <fx@gnu.org>
parents:
diff changeset
2102 unset CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2103 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2104 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2105 *) ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2106 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2107 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2108 sparc-*-nextstep* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2109 machine=sparc opsys=nextstep
Dave Love <fx@gnu.org>
parents:
diff changeset
2110 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2111
Dave Love <fx@gnu.org>
parents:
diff changeset
2112 ## Tadpole 68k
Dave Love <fx@gnu.org>
parents:
diff changeset
2113 m68*-tadpole-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2114 machine=tad68k opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2115 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2116
Dave Love <fx@gnu.org>
parents:
diff changeset
2117 ## Tahoe machines
Dave Love <fx@gnu.org>
parents:
diff changeset
2118 tahoe-tahoe-bsd4.2* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2119 machine=tahoe opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2120 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2121 tahoe-tahoe-bsd4.3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2122 machine=tahoe opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2123 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2124
Dave Love <fx@gnu.org>
parents:
diff changeset
2125 ## Tandem Integrity S2
Dave Love <fx@gnu.org>
parents:
diff changeset
2126 mips-tandem-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2127 machine=tandem-s2 opsys=usg5-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 ## Tektronix XD88
Dave Love <fx@gnu.org>
parents:
diff changeset
2131 m88k-tektronix-sysv3* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2132 machine=tekxd88 opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2133 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2134
Dave Love <fx@gnu.org>
parents:
diff changeset
2135 ## Tektronix 16000 box (6130?)
Dave Love <fx@gnu.org>
parents:
diff changeset
2136 ns16k-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2137 machine=ns16000 opsys=bsd4-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2138 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2139 ## Tektronix 4300
Dave Love <fx@gnu.org>
parents:
diff changeset
2140 ## src/m/tek4300.h hints that this is a m68k machine.
Dave Love <fx@gnu.org>
parents:
diff changeset
2141 m68*-tektronix-bsd* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2142 machine=tek4300 opsys=bsd4-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2143 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2144
Dave Love <fx@gnu.org>
parents:
diff changeset
2145 ## Titan P2 or P3
Dave Love <fx@gnu.org>
parents:
diff changeset
2146 ## We seem to have lost the machine-description file titan.h!
Dave Love <fx@gnu.org>
parents:
diff changeset
2147 titan-titan-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2148 machine=titan opsys=usg5-3
Dave Love <fx@gnu.org>
parents:
diff changeset
2149 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2150
Dave Love <fx@gnu.org>
parents:
diff changeset
2151 ## Ustation E30 (SS5E)
Dave Love <fx@gnu.org>
parents:
diff changeset
2152 m68*-unisys-uniplus* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2153 machine=ustation opsystem=unipl5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2154 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2155
Dave Love <fx@gnu.org>
parents:
diff changeset
2156 ## Vaxen.
Dave Love <fx@gnu.org>
parents:
diff changeset
2157 vax-dec-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2158 machine=vax
Dave Love <fx@gnu.org>
parents:
diff changeset
2159 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2160 *-bsd4.1* ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2161 *-bsd4.2* | *-ultrix[0-3].* | *-ultrix4.0* ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2162 *-bsd4.3* | *-ultrix* ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2163 *-sysv[01]* | *-sysvr[01]* ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2164 *-sysv2* | *-sysvr2* ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2165 *-vms* ) opsys=vms ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2166 * ) unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2167 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2168 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2169
Dave Love <fx@gnu.org>
parents:
diff changeset
2170 ## Whitechapel MG1
Dave Love <fx@gnu.org>
parents:
diff changeset
2171 ns16k-whitechapel-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2172 machine=mg1
Dave Love <fx@gnu.org>
parents:
diff changeset
2173 ## We don't know what sort of OS runs on these; we'll let the
Dave Love <fx@gnu.org>
parents:
diff changeset
2174 ## operating system guessing code below try.
Dave Love <fx@gnu.org>
parents:
diff changeset
2175 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2176
Dave Love <fx@gnu.org>
parents:
diff changeset
2177 ## Wicat
Dave Love <fx@gnu.org>
parents:
diff changeset
2178 m68*-wicat-sysv* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2179 machine=wicat opsys=usg5-2
Dave Love <fx@gnu.org>
parents:
diff changeset
2180 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2181
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2182 ## IA-64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2183 ia64*-*-linux* )
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2184 machine=ia64 opsys=gnu-linux
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2185 ;;
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
2186
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2187 ## Intel 386 machines where we don't care about the manufacturer
Dave Love <fx@gnu.org>
parents:
diff changeset
2188 i[3456]86-*-* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2189 machine=intel386
Dave Love <fx@gnu.org>
parents:
diff changeset
2190 case "${canonical}" in
29654
16fbddb97bd4 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29388
diff changeset
2191 *-lynxos* ) opsys=lynxos ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2192 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2193 *-isc2.2* ) opsys=isc2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2194 *-isc4.0* ) opsys=isc4-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2195 *-isc4.* ) opsys=isc4-1
Dave Love <fx@gnu.org>
parents:
diff changeset
2196 GCC_TEST_OPTIONS=-posix
Dave Love <fx@gnu.org>
parents:
diff changeset
2197 NON_GCC_TEST_OPTIONS=-Xp
Dave Love <fx@gnu.org>
parents:
diff changeset
2198 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2199 *-isc* ) opsys=isc3-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2200 *-esix5* ) opsys=esix5r4; NON_GNU_CPP=/usr/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2201 *-esix* ) opsys=esix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2202 *-xenix* ) opsys=xenix ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2203 *-linux-gnu* ) opsys=gnu-linux ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2204 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2205 *-sco3.2v5* ) opsys=sco5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2206 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2207 # Prevent -belf from being passed to $CPP.
Dave Love <fx@gnu.org>
parents:
diff changeset
2208 # /lib/cpp does not accept it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2209 OVERRIDE_CPPFLAGS=" "
Dave Love <fx@gnu.org>
parents:
diff changeset
2210 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2211 *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2212 *-386bsd* ) opsys=386bsd ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2213 *-nextstep* ) opsys=nextstep ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2214 ## Otherwise, we'll fall through to the generic opsys code at the bottom.
Dave Love <fx@gnu.org>
parents:
diff changeset
2215 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2216 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2217
Dave Love <fx@gnu.org>
parents:
diff changeset
2218 ## m68k Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2219 m68k-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2220 machine=m68k opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2221 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2222
Dave Love <fx@gnu.org>
parents:
diff changeset
2223 ## Mips Linux-based GNU system
Dave Love <fx@gnu.org>
parents:
diff changeset
2224 mips-*-linux-gnu* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2225 machine=mips opsys=gnu-linux
Dave Love <fx@gnu.org>
parents:
diff changeset
2226 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2227
Dave Love <fx@gnu.org>
parents:
diff changeset
2228 ## UXP/DS
Dave Love <fx@gnu.org>
parents:
diff changeset
2229 sparc-fujitsu-sysv4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2230 machine=sparc opsys=uxpds
Dave Love <fx@gnu.org>
parents:
diff changeset
2231 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2232 RANLIB="ar -ts"
Dave Love <fx@gnu.org>
parents:
diff changeset
2233 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2234
Dave Love <fx@gnu.org>
parents:
diff changeset
2235 ## UXP/V
Dave Love <fx@gnu.org>
parents:
diff changeset
2236 f301-fujitsu-uxpv4.1)
Dave Love <fx@gnu.org>
parents:
diff changeset
2237 machine=f301 opsys=uxpv
Dave Love <fx@gnu.org>
parents:
diff changeset
2238 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2239
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2240 ## 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
2241 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
2242 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
2243 # 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
2244 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
2245 ;;
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
2246
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2247 ## AMD x86-64 Linux-based GNU system
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2248 x86_64-*-linux-gnu* )
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2249 machine=amdx86-64 opsys=gnu-linux
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2250 ;;
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2251
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2252 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2253 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2254 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2255 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2256
Dave Love <fx@gnu.org>
parents:
diff changeset
2257 ### If the code above didn't choose an operating system, just choose
Dave Love <fx@gnu.org>
parents:
diff changeset
2258 ### an operating system based on the configuration name. You really
Dave Love <fx@gnu.org>
parents:
diff changeset
2259 ### only want to use this when you have no idea what the right
Dave Love <fx@gnu.org>
parents:
diff changeset
2260 ### operating system is; if you know what operating systems a machine
Dave Love <fx@gnu.org>
parents:
diff changeset
2261 ### runs, it's cleaner to make it explicit in the case statement
Dave Love <fx@gnu.org>
parents:
diff changeset
2262 ### above.
Dave Love <fx@gnu.org>
parents:
diff changeset
2263 if test x"${opsys}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2264 case "${canonical}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
2265 *-gnu* ) opsys=gnu ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2266 *-bsd4.[01] ) opsys=bsd4-1 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2267 *-bsd4.2 ) opsys=bsd4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2268 *-bsd4.3 ) opsys=bsd4-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2269 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2270 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2271 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2272 *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2273 *-sysv4.2uw* ) opsys=unixware ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2274 *-sysv4.1* | *-sysvr4.1* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2275 NON_GNU_CPP=/usr/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2276 opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2277 *-sysv4.[2-9]* | *-sysvr4.[2-9]* )
Dave Love <fx@gnu.org>
parents:
diff changeset
2278 if [ x$NON_GNU_CPP = x ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2279 if [ -f /usr/ccs/lib/cpp ]; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2280 NON_GNU_CPP=/usr/ccs/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2281 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2282 NON_GNU_CPP=/lib/cpp
Dave Love <fx@gnu.org>
parents:
diff changeset
2283 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2284 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2285 opsys=usg5-4-2 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2286 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2287 * )
Dave Love <fx@gnu.org>
parents:
diff changeset
2288 unported=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2289 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2290 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
2291 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2292
Dave Love <fx@gnu.org>
parents:
diff changeset
2293 if test $unported = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2294 { { echo "$as_me:2294: error: Emacs hasn't been ported to \`${canonical}' systems.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2295 Check \`etc/MACHINES' for recognized configuration names." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2296 echo "$as_me: error: Emacs hasn't been ported to \`${canonical}' systems.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2297 Check \`etc/MACHINES' for recognized configuration names." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2298 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2299 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2300
Dave Love <fx@gnu.org>
parents:
diff changeset
2301 machfile="m/${machine}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2302 opsysfile="s/${opsys}.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
2303
Dave Love <fx@gnu.org>
parents:
diff changeset
2304 #### Choose a compiler.
Dave Love <fx@gnu.org>
parents:
diff changeset
2305 test -n "$CC" && cc_specified=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2306
Dave Love <fx@gnu.org>
parents:
diff changeset
2307 # Save the value of CFLAGS that the user specified.
Dave Love <fx@gnu.org>
parents:
diff changeset
2308 SPECIFIED_CFLAGS="$CFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
2309
Dave Love <fx@gnu.org>
parents:
diff changeset
2310 case ${with_gcc} in
Dave Love <fx@gnu.org>
parents:
diff changeset
2311 "yes" ) CC="gcc" GCC=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
2312 "no" ) : ${CC=cc} ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2313 * )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2314 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2315 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2316 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2318 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
2319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2320 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2321 # 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
2322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2323 echo "$as_me:2323: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2325 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2327 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2328 if test -n "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2329 ac_cv_prog_CC="$CC" # Let the user override the test.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2330 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2331 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2332 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2333 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2334 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2335 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2336 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2337 ac_cv_prog_CC="${ac_tool_prefix}gcc"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2338 echo "$as_me:2338: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2339 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2340 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2341
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2342 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2343 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2344 CC=$ac_cv_prog_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2345 if test -n "$CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2346 echo "$as_me:2346: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2347 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2348 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2349 echo "$as_me:2349: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2350 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2351 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2352
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2353 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2354 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2355 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2356 # Extract the first word of "gcc", so it can be a program name with args.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2357 set dummy gcc; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2358 echo "$as_me:2358: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2362 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2363 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2364 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
2365 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2366 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2367 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2368 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2369 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2370 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2371 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2372 ac_cv_prog_ac_ct_CC="gcc"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2373 echo "$as_me:2373: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2374 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2375 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2376
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2377 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2378 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2380 if test -n "$ac_ct_CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2381 echo "$as_me:2381: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2382 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2383 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2384 echo "$as_me:2384: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2385 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2386 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2387
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2388 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2389 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2390 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2391 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2392
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2393 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2394 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2395 # 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
2396 set dummy ${ac_tool_prefix}cc; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2397 echo "$as_me:2397: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2399 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2400 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2401 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2402 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2403 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2404 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2405 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2406 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2407 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2408 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2409 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2410 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2411 ac_cv_prog_CC="${ac_tool_prefix}cc"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2412 echo "$as_me:2412: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2413 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2414 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2415
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2416 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2417 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2418 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2419 if test -n "$CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2420 echo "$as_me:2420: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2421 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2422 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2423 echo "$as_me:2423: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2424 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2425 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2426
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2427 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2428 if test -z "$ac_cv_prog_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2429 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2430 # 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
2431 set dummy cc; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2432 echo "$as_me:2432: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2434 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2436 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2437 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2438 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
2439 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2440 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2441 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2442 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2443 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2444 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2445 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2446 ac_cv_prog_ac_ct_CC="cc"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2447 echo "$as_me:2447: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2448 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2449 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2450
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2451 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2452 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2453 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2454 if test -n "$ac_ct_CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2455 echo "$as_me:2455: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2456 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2457 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2458 echo "$as_me:2458: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2459 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2460 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2461
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2462 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2463 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2464 CC="$ac_cv_prog_CC"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2465 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2466
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2467 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2468 if test -z "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2469 # Extract the first word of "cc", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
2470 set dummy cc; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2471 echo "$as_me:2471: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2473 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2474 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2475 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2476 if test -n "$CC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2477 ac_cv_prog_CC="$CC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
2478 else
Dave Love <fx@gnu.org>
parents:
diff changeset
2479 ac_prog_rejected=no
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2480 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2481 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2482 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2483 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2484 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2485 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2486 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2487 ac_prog_rejected=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2488 continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2489 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2490 ac_cv_prog_CC="cc"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2491 echo "$as_me:2491: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2492 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2493 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2494
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2495 if test $ac_prog_rejected = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
2496 # We found a bogon in the path, so make sure we never use it.
Dave Love <fx@gnu.org>
parents:
diff changeset
2497 set dummy $ac_cv_prog_CC
Dave Love <fx@gnu.org>
parents:
diff changeset
2498 shift
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2499 if test $# != 0; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2500 # We chose a different compiler from the bogus one.
Dave Love <fx@gnu.org>
parents:
diff changeset
2501 # However, it has the same basename, so the bogon will be chosen
Dave Love <fx@gnu.org>
parents:
diff changeset
2502 # first if we set CC to just the basename; use the full file name.
Dave Love <fx@gnu.org>
parents:
diff changeset
2503 shift
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2504 set dummy "$ac_dir/$ac_word" ${1+"$@"}
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2505 shift
Dave Love <fx@gnu.org>
parents:
diff changeset
2506 ac_cv_prog_CC="$@"
Dave Love <fx@gnu.org>
parents:
diff changeset
2507 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2508 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2509 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2510 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2511 CC=$ac_cv_prog_CC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2512 if test -n "$CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2513 echo "$as_me:2513: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2514 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2515 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2516 echo "$as_me:2516: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2517 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2518 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2519
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2520 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2521 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2522 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2523 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2524 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2525 # 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
2526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2527 echo "$as_me:2527: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2529 if test "${ac_cv_prog_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2531 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2532 if test -n "$CC"; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2533 ac_cv_prog_CC="$CC" # Let the user override the test.
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2534 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2535 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2536 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2537 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2538 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2539 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2540 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2542 echo "$as_me:2542: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2543 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2544 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2545
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2546 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2547 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2548 CC=$ac_cv_prog_CC
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2549 if test -n "$CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2550 echo "$as_me:2550: result: $CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2551 echo "${ECHO_T}$CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2552 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2553 echo "$as_me:2553: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2554 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2555 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2556
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2557 test -n "$CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2558 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2559 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2560 if test -z "$CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2561 ac_ct_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2562 for ac_prog in cl
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2563 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2564 # 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
2565 set dummy $ac_prog; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2566 echo "$as_me:2566: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2568 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2570 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2571 if test -n "$ac_ct_CC"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2572 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
2573 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2574 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2575 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2576 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2577 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2578 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2579 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2580 ac_cv_prog_ac_ct_CC="$ac_prog"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2581 echo "$as_me:2581: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2582 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2583 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2584
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 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2587 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2588 if test -n "$ac_ct_CC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2589 echo "$as_me:2589: result: $ac_ct_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2590 echo "${ECHO_T}$ac_ct_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2591 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2592 echo "$as_me:2592: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2593 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2594 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2595
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2596 test -n "$ac_ct_CC" && break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2597 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2598
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2599 CC=$ac_ct_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2600 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2601
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2602 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2603
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2604 test -z "$CC" && { { echo "$as_me:2604: error: no acceptable cc found in \$PATH" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2605 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2606 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2607
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2608 # Provide some information about the compiler.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2609 echo "$as_me:2609:" \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2610 "checking for C compiler version" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2611 ac_compiler=`set X $ac_compile; echo $2`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2612 { (eval echo "$as_me:2612: \"$ac_compiler --version </dev/null >&5\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2613 (eval $ac_compiler --version </dev/null >&5) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2614 ac_status=$?
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2615 echo "$as_me:2615: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2616 (exit $ac_status); }
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2617 { (eval echo "$as_me:2617: \"$ac_compiler -v </dev/null >&5\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2618 (eval $ac_compiler -v </dev/null >&5) 2>&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2619 ac_status=$?
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2620 echo "$as_me:2620: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2621 (exit $ac_status); }
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2622 { (eval echo "$as_me:2622: \"$ac_compiler -V </dev/null >&5\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2623 (eval $ac_compiler -V </dev/null >&5) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2624 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2625 echo "$as_me:2625: \$? = $ac_status" >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2626 (exit $ac_status); }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2627
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2628 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2629 #line 2624 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2630 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2631
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2632 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2633 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2634 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2635
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2636 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2637 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2638 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2639 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2640 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2641 ac_clean_files="$ac_clean_files a.out a.exe"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2642 # Try to create an executable without -o first, disregard a.out.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2643 # It will help us diagnose broken compilers, and finding out an intuition
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2644 # of exeext.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2645 echo "$as_me:2645: checking for C compiler default output" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2646 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2648 if { (eval echo "$as_me:2648: \"$ac_link_default\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2649 (eval $ac_link_default) 2>&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2650 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2651 echo "$as_me:2651: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2652 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2653 # Find the output, starting from the most likely. This scheme is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2654 # 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
2655 # resort.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2656 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2657 ls a.out conftest 2>/dev/null;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2658 ls a.* conftest.* 2>/dev/null`; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2659 case $ac_file in
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2660 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2661 a.out ) # We found the default executable, but exeext='' is most
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2662 # certainly right.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2663 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2664 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2665 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2666 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2667 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2668 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2669 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2670 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2671 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2672 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2673 cat conftest.$ac_ext >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2674 { { echo "$as_me:2674: error: C compiler cannot create executables" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2675 echo "$as_me: error: C compiler cannot create executables" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2676 { (exit 77); exit 77; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2677 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2678
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2679 ac_exeext=$ac_cv_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2680 echo "$as_me:2680: result: $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2681 echo "${ECHO_T}$ac_file" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2682
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2683 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2684 # the compiler is broken, or we cross compile.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2685 echo "$as_me:2685: checking whether the C compiler works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2686 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2687 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2688 # If not cross compiling, check that we can run a simple program.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2689 if test "$cross_compiling" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2690 if { ac_try='./$ac_file'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2691 { (eval echo "$as_me:2691: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2692 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2693 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2694 echo "$as_me:2694: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2695 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2696 cross_compiling=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2697 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2698 if test "$cross_compiling" = maybe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2699 cross_compiling=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2700 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2701 { { echo "$as_me:2701: error: cannot run C compiled programs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2702 If you meant to cross compile, use \`--host'." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2703 echo "$as_me: error: cannot run C compiled programs.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2704 If you meant to cross compile, use \`--host'." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2705 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2706 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2707 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2708 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2709 echo "$as_me:2709: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2710 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2711
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2712 rm -f a.out a.exe conftest$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2713 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2714 # Check the compiler produces executables we can run. If not, either
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2715 # the compiler is broken, or we cross compile.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2716 echo "$as_me:2716: checking whether we are cross compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2717 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2718 echo "$as_me:2718: result: $cross_compiling" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2719 echo "${ECHO_T}$cross_compiling" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2720
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2721 echo "$as_me:2721: checking for executable suffix" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2722 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2723 if { (eval echo "$as_me:2723: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2724 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2725 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2726 echo "$as_me:2726: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2727 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2728 # If both `conftest.exe' and `conftest' are `present' (well, observable)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2729 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2730 # work properly (i.e., refer to `conftest.exe'), while it won't with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2731 # `rm'.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2732 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
2733 case $ac_file in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
2734 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2735 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2736 export ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2737 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2738 * ) break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2739 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2740 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2741 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2742 { { echo "$as_me:2742: error: cannot compute EXEEXT: cannot compile and link" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2743 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2744 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2745 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2746
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2747 rm -f conftest$ac_cv_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2748 echo "$as_me:2748: result: $ac_cv_exeext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2749 echo "${ECHO_T}$ac_cv_exeext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2750
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2751 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2752 EXEEXT=$ac_cv_exeext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2753 ac_exeext=$EXEEXT
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2754 echo "$as_me:2754: checking for object suffix" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2755 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2756 if test "${ac_cv_objext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2758 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2759 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2760 #line 2755 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2761 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2762
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2763 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2764 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2765 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2766
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2767 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2768 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2769 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2770 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2771 rm -f conftest.o conftest.obj
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2772 if { (eval echo "$as_me:2772: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2773 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2774 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2775 echo "$as_me:2775: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2776 (exit $ac_status); }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2777 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
2778 case $ac_file in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
2779 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2780 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2781 break;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2782 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2783 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2784 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2785 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2786 cat conftest.$ac_ext >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2787 { { echo "$as_me:2787: error: cannot compute OBJEXT: cannot compile" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2788 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2789 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2790 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2791
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2792 rm -f conftest.$ac_cv_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2793 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2794 echo "$as_me:2794: result: $ac_cv_objext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2795 echo "${ECHO_T}$ac_cv_objext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2796 OBJEXT=$ac_cv_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2797 ac_objext=$OBJEXT
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2798 echo "$as_me:2798: checking whether we are using the GNU C compiler" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2799 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
2800 if test "${ac_cv_c_compiler_gnu+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2802 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2803 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2804 #line 2799 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2805 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2806
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2807 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2808 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2809 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2810 #ifndef __GNUC__
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2811 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2812 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2813
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2814 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2815 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2816 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2817 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2818 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2819 if { (eval echo "$as_me:2819: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2820 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2821 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2822 echo "$as_me:2822: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2823 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2824 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2825 { (eval echo "$as_me:2825: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2826 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2827 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2828 echo "$as_me:2828: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2829 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2830 ac_compiler_gnu=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2831 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2832 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2833 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2834 ac_compiler_gnu=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2835 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2836 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2837 ac_cv_c_compiler_gnu=$ac_compiler_gnu
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2838
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2839 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2840 echo "$as_me:2840: result: $ac_cv_c_compiler_gnu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2841 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2842 GCC=`test $ac_compiler_gnu = yes && echo yes`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2843 ac_test_CFLAGS=${CFLAGS+set}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2844 ac_save_CFLAGS=$CFLAGS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2845 CFLAGS="-g"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2846 echo "$as_me:2846: checking whether $CC accepts -g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2847 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2848 if test "${ac_cv_prog_cc_g+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2849 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2850 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2851 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2852 #line 2847 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2853 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2854
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2855 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2856 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2857 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2858
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2859 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2860 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2861 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2862 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2863 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2864 if { (eval echo "$as_me:2864: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2865 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2866 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2867 echo "$as_me:2867: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2868 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2869 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2870 { (eval echo "$as_me:2870: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2871 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2872 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2873 echo "$as_me:2873: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2874 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2875 ac_cv_prog_cc_g=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
2876 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2877 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2878 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2879 ac_cv_prog_cc_g=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2880 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2881 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2882 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2883 echo "$as_me:2883: result: $ac_cv_prog_cc_g" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2884 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2885 if test "$ac_test_CFLAGS" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2886 CFLAGS=$ac_save_CFLAGS
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2887 elif test $ac_cv_prog_cc_g = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2888 if test "$GCC" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2889 CFLAGS="-g -O2"
Dave Love <fx@gnu.org>
parents:
diff changeset
2890 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2891 CFLAGS="-g"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2892 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
2893 else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2894 if test "$GCC" = yes; then
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2895 CFLAGS="-O2"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2896 else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2897 CFLAGS=
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
2898 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
2899 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2900 # Some people use a C++ compiler to compile C. Since we use `exit',
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2901 # 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
2902 # 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
2903 # the declaration of exit, since it's the most demanding environment.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2904 cat >conftest.$ac_ext <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2905 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2906 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2907 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2908 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2909 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2910 if { (eval echo "$as_me:2910: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2911 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2912 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2913 echo "$as_me:2913: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2914 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2915 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2916 { (eval echo "$as_me:2916: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2917 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2918 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2919 echo "$as_me:2919: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2920 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2921 for ac_declaration in \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2922 ''\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2923 '#include <stdlib.h>' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2924 'extern "C" void std::exit (int) throw (); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2925 'extern "C" void std::exit (int); using std::exit;' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2926 'extern "C" void exit (int) throw ();' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2927 'extern "C" void exit (int);' \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2928 'void exit (int);'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2929 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2930 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2931 #line 2926 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2932 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2933 #include <stdlib.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2934 $ac_declaration
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2935 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2936 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2937 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2938 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2939 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2940 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2941 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2942 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2943 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2944 if { (eval echo "$as_me:2944: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2945 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2946 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2947 echo "$as_me:2947: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2948 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2949 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2950 { (eval echo "$as_me:2950: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2951 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2952 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2953 echo "$as_me:2953: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2954 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2955 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2956 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2957 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2958 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2959 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2960 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2961 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2962 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
2963 #line 2958 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2964 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2965 $ac_declaration
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2966 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2967 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2968 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2969 exit (42);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2970 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2971 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2972 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2973 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2974 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2975 if { (eval echo "$as_me:2975: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2976 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2977 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2978 echo "$as_me:2978: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2979 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
2980 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2981 { (eval echo "$as_me:2981: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2982 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2983 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
2984 echo "$as_me:2984: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2985 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2986 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2987 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2988 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2989 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2990 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2991 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2992 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2993 rm -f conftest*
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2994 if test -n "$ac_declaration"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2995 echo '#ifdef __cplusplus' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2996 echo $ac_declaration >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2997 echo '#endif' >>confdefs.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2998 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
2999
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3000 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3001 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3002 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3003 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3004 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3005 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3006 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3008 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
3009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3010
Dave Love <fx@gnu.org>
parents:
diff changeset
3011 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
3012 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3013 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
3014 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3015
Dave Love <fx@gnu.org>
parents:
diff changeset
3016 #### Some systems specify a CPP to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3017 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3018 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3019 if test "x$NON_GNU_CPP" != x && test x$GCC != xyes && test "x$CPP" = x
Dave Love <fx@gnu.org>
parents:
diff changeset
3020 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3021 CPP="$NON_GNU_CPP"
Dave Love <fx@gnu.org>
parents:
diff changeset
3022 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3023
Dave Love <fx@gnu.org>
parents:
diff changeset
3024 #### Some systems specify a CC to use unless we are using GCC.
Dave Love <fx@gnu.org>
parents:
diff changeset
3025 #### Now that we know whether we are using GCC, we can decide whether
Dave Love <fx@gnu.org>
parents:
diff changeset
3026 #### to use that one.
Dave Love <fx@gnu.org>
parents:
diff changeset
3027 if test "x$NON_GNU_CC" != x && test x$GCC != xyes &&
Dave Love <fx@gnu.org>
parents:
diff changeset
3028 test x$cc_specified != xyes
Dave Love <fx@gnu.org>
parents:
diff changeset
3029 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3030 CC="$NON_GNU_CC"
Dave Love <fx@gnu.org>
parents:
diff changeset
3031 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3032
Dave Love <fx@gnu.org>
parents:
diff changeset
3033 if test x$GCC = xyes && test "x$GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3034 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3035 CC="$CC $GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3036 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3037
Dave Love <fx@gnu.org>
parents:
diff changeset
3038 if test x$GCC = x && test "x$NON_GCC_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3039 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3040 CC="$CC $NON_GCC_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3041 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3042
Dave Love <fx@gnu.org>
parents:
diff changeset
3043 if test x$GCC = xyes && test "x$GCC_LINK_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3044 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3045 ac_link="$ac_link $GCC_LINK_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3046 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3047
Dave Love <fx@gnu.org>
parents:
diff changeset
3048 if test x$GCC = x && test "x$NON_GCC_LINK_TEST_OPTIONS" != x
Dave Love <fx@gnu.org>
parents:
diff changeset
3049 then
Dave Love <fx@gnu.org>
parents:
diff changeset
3050 ac_link="$ac_link $NON_GCC_LINK_TEST_OPTIONS"
Dave Love <fx@gnu.org>
parents:
diff changeset
3051 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3052
Dave Love <fx@gnu.org>
parents:
diff changeset
3053 #### Some other nice autoconf tests. If you add a test here which
Dave Love <fx@gnu.org>
parents:
diff changeset
3054 #### should make an entry in src/config.h, don't forget to add an
Dave Love <fx@gnu.org>
parents:
diff changeset
3055 #### #undef clause to src/config.h.in for autoconf to modify.
Dave Love <fx@gnu.org>
parents:
diff changeset
3056
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3057 echo "$as_me:3057: checking whether ln -s works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3058 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3059 LN_S=$as_ln_s
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3060 if test "$LN_S" = "ln -s"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3061 echo "$as_me:3061: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3062 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3063 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3064 echo "$as_me:3064: result: no, using $LN_S" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3065 echo "${ECHO_T}no, using $LN_S" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3066 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3067
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3068 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3069 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3071 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
3072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3073 echo "$as_me:3073: checking how to run the C preprocessor" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3075 # On Suns, sometimes $CPP names a directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
3076 if test -n "$CPP" && test -d "$CPP"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3077 CPP=
Dave Love <fx@gnu.org>
parents:
diff changeset
3078 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3079 if test -z "$CPP"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3080 if test "${ac_cv_prog_CPP+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3082 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3083 # Double quotes because CPP needs to be expanded
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3085 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3086 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3087 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3088 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3089 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3090 # with a fresh cross-compiler works.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3091 # 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
3092 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3093 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3094 #line 3089 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3095 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3096 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3097 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3098 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3099 if { (eval echo "$as_me:3099: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3101 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3102 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3103 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3104 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3105 echo "$as_me:3105: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3106 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3107 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3108 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3109 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3110 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3111 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3112 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3113 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3114 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3115 if test -z "$ac_cpp_err"; then
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3116 :
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3117 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3118 echo "$as_me: failed program was:" >&5
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3119 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3120 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3121 continue
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 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3124
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3125 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3126 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3127 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3128 #line 3123 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3129 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3130 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3131 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3132 if { (eval echo "$as_me:3132: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3133 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3134 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3135 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3136 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3137 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3138 echo "$as_me:3138: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3139 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3140 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3141 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3142 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3143 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3144 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3145 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3146 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3147 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3148 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3149 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3150 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3151 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3152 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3153 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3154 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3155 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3156 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3157 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3158 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3159
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3160 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3161 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3162 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3163 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3164 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3165 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3166
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3167 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3168 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3169
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3170 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3171 CPP=$ac_cv_prog_CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3172 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3173 ac_cv_prog_CPP=$CPP
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3174 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3175 echo "$as_me:3175: result: $CPP" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3176 echo "${ECHO_T}$CPP" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3177 ac_preproc_ok=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3178 for ac_c_preproc_warn_flag in '' yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3179 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3180 # Use a header file that comes with gcc, so configuring glibc
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3181 # with a fresh cross-compiler works.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3182 # On the NeXT, cc -E runs the code through the compiler's parser,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3183 # not just through cpp. "Syntax error" is here to catch this case.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3184 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3185 #line 3180 "configure"
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3186 #include "confdefs.h"
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3187 #include <assert.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3188 Syntax error
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3189 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3190 if { (eval echo "$as_me:3190: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3192 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3193 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3194 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3195 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3196 echo "$as_me:3196: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3197 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3198 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3199 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3200 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3201 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3202 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3203 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3204 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3205 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3206 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3207 :
Dave Love <fx@gnu.org>
parents:
diff changeset
3208 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3209 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3210 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3211 # Broken: fails on valid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3212 continue
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 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3215
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3216 # OK, works on sane cases. Now check whether non-existent headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3217 # can be detected and how.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3218 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3219 #line 3214 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3220 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3221 #include <ac_nonexistent.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3222 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3223 if { (eval echo "$as_me:3223: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3225 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3226 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3227 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3228 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3229 echo "$as_me:3229: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3230 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3231 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3232 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3233 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3234 ac_cpp_err=
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 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3237 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3238 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3239 if test -z "$ac_cpp_err"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3240 # Broken: success on invalid input.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3241 continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3242 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3243 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3244 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3245 # Passes both tests.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3246 ac_preproc_ok=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3247 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3248 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3249 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3250
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3251 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3253 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3254 if $ac_preproc_ok; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3255 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3256 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3257 { { echo "$as_me:3257: error: C preprocessor \"$CPP\" fails sanity check" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3258 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3259 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3260 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3261
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3262 ac_ext=c
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3263 ac_cpp='$CPP $CPPFLAGS'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3265 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
3266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3267
Dave Love <fx@gnu.org>
parents:
diff changeset
3268 # Find a good install program. We prefer a C program (faster),
Dave Love <fx@gnu.org>
parents:
diff changeset
3269 # so one script is as good as another. But avoid the broken or
Dave Love <fx@gnu.org>
parents:
diff changeset
3270 # incompatible versions:
Dave Love <fx@gnu.org>
parents:
diff changeset
3271 # SysV /etc/install, /usr/sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3272 # SunOS /usr/etc/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3273 # IRIX /sbin/install
Dave Love <fx@gnu.org>
parents:
diff changeset
3274 # AIX /bin/install
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3275 # AmigaOS /C/install, which installs bootblocks on floppy discs
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
Dave Love <fx@gnu.org>
parents:
diff changeset
3278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
Dave Love <fx@gnu.org>
parents:
diff changeset
3279 # ./install, which can be erroneously created by make from ./install.sh.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3280 echo "$as_me:3280: checking for a BSD compatible install" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3281 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3282 if test -z "$INSTALL"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3283 if test "${ac_cv_path_install+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3285 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3286 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3287 for ac_dir in $PATH; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3288 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3289 # Account for people who put trailing slashes in PATH elements.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3290 case $ac_dir/ in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3291 / | ./ | .// | /cC/* \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3292 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3293 | /usr/ucb/* ) ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3294 *)
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3295 # OSF1 and SCO ODT 3.0 have their own names for install.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3296 # Don't use installbsd from OSF since it installs stuff as root
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3297 # by default.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3298 for ac_prog in ginstall scoinst install; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3299 if $as_executable_p "$ac_dir/$ac_prog"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3300 if test $ac_prog = install &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3301 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3302 # AIX install. It has an incompatible calling convention.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3303 :
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3304 elif test $ac_prog = install &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3305 grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3306 # program-specific install script used by HP pwplus--don't use.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3307 :
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3308 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3309 ac_cv_path_install="$ac_dir/$ac_prog -c"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3310 break 2
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3311 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3312 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3313 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3314 ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3315 esac
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3316 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3317
Dave Love <fx@gnu.org>
parents:
diff changeset
3318 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3319 if test "${ac_cv_path_install+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3320 INSTALL=$ac_cv_path_install
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3321 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3322 # As a last resort, use the slow shell script. We don't cache a
Dave Love <fx@gnu.org>
parents:
diff changeset
3323 # path for INSTALL within a source directory, because that will
Dave Love <fx@gnu.org>
parents:
diff changeset
3324 # break other packages using the cache if that directory is
Dave Love <fx@gnu.org>
parents:
diff changeset
3325 # removed, or if the path is relative.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3326 INSTALL=$ac_install_sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3327 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3328 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3329 echo "$as_me:3329: result: $INSTALL" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3330 echo "${ECHO_T}$INSTALL" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3331
Dave Love <fx@gnu.org>
parents:
diff changeset
3332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
Dave Love <fx@gnu.org>
parents:
diff changeset
3333 # It thinks the first close brace ends the variable substitution.
Dave Love <fx@gnu.org>
parents:
diff changeset
3334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
Dave Love <fx@gnu.org>
parents:
diff changeset
3335
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
3337
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3338 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
Dave Love <fx@gnu.org>
parents:
diff changeset
3339
Dave Love <fx@gnu.org>
parents:
diff changeset
3340 for ac_prog in 'bison -y' byacc
Dave Love <fx@gnu.org>
parents:
diff changeset
3341 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3342 # 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
3343 set dummy $ac_prog; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3344 echo "$as_me:3344: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3346 if test "${ac_cv_prog_YACC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3348 else
Dave Love <fx@gnu.org>
parents:
diff changeset
3349 if test -n "$YACC"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
3350 ac_cv_prog_YACC="$YACC" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
3351 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3352 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3353 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3354 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3355 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3356 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3357 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3358 ac_cv_prog_YACC="$ac_prog"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3359 echo "$as_me:3359: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3360 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3361 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3362
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3363 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3364 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3365 YACC=$ac_cv_prog_YACC
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3366 if test -n "$YACC"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3367 echo "$as_me:3367: result: $YACC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3368 echo "${ECHO_T}$YACC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3369 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3370 echo "$as_me:3370: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3371 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3372 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3373
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3374 test -n "$YACC" && break
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3375 done
Dave Love <fx@gnu.org>
parents:
diff changeset
3376 test -n "$YACC" || YACC="yacc"
Dave Love <fx@gnu.org>
parents:
diff changeset
3377
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3378 if test "x$RANLIB" = x; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3379 if test -n "$ac_tool_prefix"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3380 # 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
3381 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3382 echo "$as_me:3382: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3384 if test "${ac_cv_prog_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3386 else
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3387 if test -n "$RANLIB"; then
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3388 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3389 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3390 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3391 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3392 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3393 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3394 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3395 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3396 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3397 echo "$as_me:3397: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3398 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3399 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3400
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3401 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3402 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3403 RANLIB=$ac_cv_prog_RANLIB
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
3404 if test -n "$RANLIB"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3405 echo "$as_me:3405: result: $RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3406 echo "${ECHO_T}$RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3407 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3408 echo "$as_me:3408: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3409 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3410 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3411
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 if test -z "$ac_cv_prog_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3414 ac_ct_RANLIB=$RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3415 # 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
3416 set dummy ranlib; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3417 echo "$as_me:3417: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3419 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3421 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3422 if test -n "$ac_ct_RANLIB"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3423 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
3424 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3425 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3426 ac_dummy="$PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3427 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3428 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3429 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3430 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3431 ac_cv_prog_ac_ct_RANLIB="ranlib"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3432 echo "$as_me:3432: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3433 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3434 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3435
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3436 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
3437 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3438 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3439 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3440 if test -n "$ac_ct_RANLIB"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3441 echo "$as_me:3441: result: $ac_ct_RANLIB" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3442 echo "${ECHO_T}$ac_ct_RANLIB" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3443 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3444 echo "$as_me:3444: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3445 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3446 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3447
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3448 RANLIB=$ac_ct_RANLIB
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3449 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3450 RANLIB="$ac_cv_prog_RANLIB"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3451 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3452
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3454
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3455 echo "$as_me:3455: checking for AIX" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3456 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3457 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3458 #line 3453 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3459 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
3460 #ifdef _AIX
Dave Love <fx@gnu.org>
parents:
diff changeset
3461 yes
Dave Love <fx@gnu.org>
parents:
diff changeset
3462 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
3463
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3464 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
3466 egrep "yes" >/dev/null 2>&1; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3467 echo "$as_me:3467: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3468 echo "${ECHO_T}yes" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3469 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3470 #define _ALL_SOURCE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3471 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3472
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3473 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3474 echo "$as_me:3474: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3475 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
3476 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
3477 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
3478
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3479 #### Extract some information from the operating system and machine files.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3480
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3481 { echo "$as_me:3481: checking the machine- and system-dependent files to find out
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3482 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3483 - whether the GNU malloc routines are usable..." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3484 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
3485 - which libraries the lib-src programs will want, and
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3486 - whether the GNU malloc routines are usable..." >&6;}
30311
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 ### 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
3489 ### and REAL_CFLAGS (which we use for real compilation).
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3490 ### 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
3491 ### different to work around various lossages. For example,
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3492 ### 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
3493 ### as implying static linking.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3494
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3495 ### If the CFLAGS env var is specified, we use that value
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3496 ### instead of the default.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3497
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3498 ### 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
3499 ### two configures in the same directory and have anything work
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3500 ### anyway.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3501 tempcname="conftest.c"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3502
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3503 echo '
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3504 #include "'${srcdir}'/src/'${opsysfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3505 #include "'${srcdir}'/src/'${machfile}'"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3506 #ifndef LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3507 #define LIBS_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3508 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3509 #ifndef LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3510 #define LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3511 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3512 #ifndef C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3513 #define C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3514 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3515 #ifndef C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3516 #define C_SWITCH_MACHINE
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___ libsrc_libs=LIBS_MACHINE LIBS_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3519 configure___ c_switch_system=C_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3520 configure___ c_switch_machine=C_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3521
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3522 #ifndef LIB_X11_LIB
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3523 #define LIB_X11_LIB -lX11
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 #ifndef LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3527 #define LIBX11_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3528 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3529
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3530 #ifndef LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3531 #define LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3532 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3533 configure___ LIBX=LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3534
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3535 #ifdef UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3536 configure___ unexec=UNEXEC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3537 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3538 configure___ unexec=unexec.o
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3539 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3540
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3541 #ifdef SYSTEM_MALLOC
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3542 configure___ system_malloc=yes
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3543 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3544 configure___ system_malloc=no
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3545 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3546
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3547 #ifdef USE_MMAP_FOR_BUFFERS
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3548 configure___ use_mmap_for_buffers=yes
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3549 #else
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
3550 configure___ use_mmap_for_buffers=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3551 #endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
3552
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3553 #ifndef C_DEBUG_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3554 #define C_DEBUG_SWITCH -g
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3555 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3556
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3557 #ifndef C_OPTIMIZE_SWITCH
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3558 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3559 #define C_OPTIMIZE_SWITCH -O2
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3560 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3561 #define C_OPTIMIZE_SWITCH -O
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3562 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3563 #endif
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 #ifndef LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3566 #define LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3567 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3568
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3569 #ifndef LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3570 #define LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3571 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3572
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3573 #ifndef LD_SWITCH_X_SITE_AUX
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3574 #define LD_SWITCH_X_SITE_AUX
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3575 #endif
30311
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3576
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3577 configure___ ld_switch_system=LD_SWITCH_SYSTEM
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3578 configure___ ld_switch_machine=LD_SWITCH_MACHINE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3579
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3580 #ifdef THIS_IS_CONFIGURE
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3581
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3582 /* Get the CFLAGS for tests in configure. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3583 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3584 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3585 #else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3586 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3587 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3588
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3589 #else /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3590
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3591 /* Get the CFLAGS for real compilation. */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3592 #ifdef __GNUC__
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3593 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
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 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}'
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3596 #endif
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3597
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3598 #endif /* not THIS_IS_CONFIGURE */
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3599 ' > ${tempcname}
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 # 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
3602 # to get its actual value...
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3603 CPP=`eval "echo $CPP"`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3604 eval `${CPP} -Isrc ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3605 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3606 if test "x$SPECIFIED_CFLAGS" = x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3607 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3608 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'`
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3609 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3610 REAL_CFLAGS="$CFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3611 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3612 rm ${tempcname}
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3613
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3614 ac_link="$ac_link $ld_switch_machine $ld_switch_system"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3615
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3616 ### Make sure subsequent tests use flags consistent with the build flags.
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3617
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3618 if test x"${OVERRIDE_CPPFLAGS}" != x; then
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3619 CPPFLAGS="${OVERRIDE_CPPFLAGS}"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3620 else
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3621 CPPFLAGS="$c_switch_system $c_switch_machine $CPPFLAGS"
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3622 fi
65d8fb2ca198 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30140
diff changeset
3623
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3624 # Check whether --enable-largefile or --disable-largefile was given.
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3625 if test "${enable_largefile+set}" = set; then
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3626 enableval="$enable_largefile"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3627
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3628 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3629 if test "$enable_largefile" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3630
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3631 echo "$as_me:3631: checking for special C compiler options needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3632 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
3633 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3635 else
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3636 ac_cv_sys_largefile_CC=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3637 if test "$GCC" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3638 ac_save_CC=$CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3639 while :; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3640 # IRIX 6.2 and later do not support large files by default,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3641 # so use the C compiler's -n32 option if that helps.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3642 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3643 #line 3638 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3644 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3645 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3646 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3647 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3648 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3649 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3650 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3651 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3652 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3653 ? 1 : -1];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3654 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3655 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3656 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3657
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3658 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3659 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3660 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3661 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3662 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3663 if { (eval echo "$as_me:3663: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3664 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3665 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3666 echo "$as_me:3666: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3667 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3668 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3669 { (eval echo "$as_me:3669: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3670 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3671 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3672 echo "$as_me:3672: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3673 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3674 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3675 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3676 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3677 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3678 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3679 rm -f conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3680 CC="$CC -n32"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3681 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3682 if { (eval echo "$as_me:3682: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3683 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3684 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3685 echo "$as_me:3685: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3686 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3687 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3688 { (eval echo "$as_me:3688: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3689 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3690 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3691 echo "$as_me:3691: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3692 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3693 ac_cv_sys_largefile_CC=' -n32'; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3694 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3695 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3696 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3697 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3698 rm -f conftest.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3699 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3700 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3701 CC=$ac_save_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3702 rm -f conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3703 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3704 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3705 echo "$as_me:3705: result: $ac_cv_sys_largefile_CC" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3706 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3707 if test "$ac_cv_sys_largefile_CC" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3708 CC=$CC$ac_cv_sys_largefile_CC
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3709 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3710
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3711 echo "$as_me:3711: checking for _FILE_OFFSET_BITS value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3712 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
3713 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3715 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3716 while :; do
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3717 ac_cv_sys_file_offset_bits=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3718 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3719 #line 3714 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3720 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3721 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3722 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3723 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3724 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3725 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3726 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3727 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3728 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3729 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3730 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3731 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3732 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3733
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3734 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3735 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3736 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3737 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3738 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3739 if { (eval echo "$as_me:3739: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3740 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3741 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3742 echo "$as_me:3742: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3743 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3744 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3745 { (eval echo "$as_me:3745: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3746 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3747 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3748 echo "$as_me:3748: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3749 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3750 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3751 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3752 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3753 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3754 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3755 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3756 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3757 #line 3752 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3758 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3759 #define _FILE_OFFSET_BITS 64
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3760 #include <sys/types.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3761 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3762 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3763 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3764 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3765 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3766 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3767 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3768 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3769 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3770 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3771 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3772
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3773 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3774 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3775 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3776 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3777 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3778 if { (eval echo "$as_me:3778: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3779 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3780 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3781 echo "$as_me:3781: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3782 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3783 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3784 { (eval echo "$as_me:3784: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3785 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3786 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3787 echo "$as_me:3787: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3788 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3789 ac_cv_sys_file_offset_bits=64; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3790 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3791 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3792 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3793 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3794 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3795 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3796 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3797 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3798 echo "$as_me:3798: result: $ac_cv_sys_file_offset_bits" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3799 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3800 if test "$ac_cv_sys_file_offset_bits" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3801
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3802 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3803 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3804 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3805
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3806 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3807 rm -f conftest*
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3808 echo "$as_me:3808: checking for _LARGE_FILES value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3809 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
3810 if test "${ac_cv_sys_large_files+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3812 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3813 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
3814 ac_cv_sys_large_files=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3815 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3816 #line 3811 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3817 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3818 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3819 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3820 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3821 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3822 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3823 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3824 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3825 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3826 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3827 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3828 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3829 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3830
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3831 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3832 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3833 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3834 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3835 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3836 if { (eval echo "$as_me:3836: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3837 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3838 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3839 echo "$as_me:3839: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3840 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3841 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3842 { (eval echo "$as_me:3842: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3843 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3844 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3845 echo "$as_me:3845: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3846 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3847 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3848 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3849 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3850 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3851 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3852 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3853 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3854 #line 3849 "configure"
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3855 #include "confdefs.h"
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3856 #define _LARGE_FILES 1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3857 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3858 /* Check that off_t can represent 2**63 - 1 correctly.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3859 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3860 since some C++ compilers masquerading as C compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3861 incorrectly reject 9223372036854775807. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3862 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3863 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3864 && LARGE_OFF_T % 2147483647 == 1)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3865 ? 1 : -1];
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3866 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3867 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3868 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3869
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3870 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3871 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3872 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3873 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3874 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3875 if { (eval echo "$as_me:3875: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3876 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3877 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3878 echo "$as_me:3878: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3879 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
3880 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3881 { (eval echo "$as_me:3881: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3882 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3883 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3884 echo "$as_me:3884: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3885 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3886 ac_cv_sys_large_files=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3887 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3888 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3889 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3890 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3891 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3892 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3893 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3894 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3895 echo "$as_me:3895: result: $ac_cv_sys_large_files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3896 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3897 if test "$ac_cv_sys_large_files" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3898
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3899 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3900 #define _LARGE_FILES $ac_cv_sys_large_files
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3901 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
3902
30576
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3903 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3904 rm -f conftest*
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3905 fi
e53905a0a16b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30395
diff changeset
3906
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
3907 if test "${with_sound}" != "no"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
3908 # Sound support for GNU/Linux and the free BSDs.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3909
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3910 for ac_header in machine/soundcard.h sys/soundcard.h soundcard.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3911 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3913 echo "$as_me:3913: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3916 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3917 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3918 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3919 #line 3914 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3920 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3921 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3922 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3923 if { (eval echo "$as_me:3923: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3925 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3926 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3927 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3928 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3929 echo "$as_me:3929: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3930 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3931 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3932 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3933 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3934 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3935 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3936 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3937 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3938 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3939 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3940 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3941 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3942 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3943 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3944 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3945 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3946 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3947 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3948 echo "$as_me:3948: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3951 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3953 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3954
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3955 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3956 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3957
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3958 # Emulation library used on NetBSD.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3959 echo "$as_me:3959: checking for _oss_ioctl in -lossaudio" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3960 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3961 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3963 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3964 ac_check_lib_save_LIBS=$LIBS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3965 LIBS="-lossaudio $LIBS"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3966 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3967 #line 3962 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3968 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3969
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3970 /* Override any gcc2 internal prototype to avoid an error. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3971 #ifdef __cplusplus
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3972 extern "C"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3973 #endif
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3974 /* We use char because int might match the return type of a gcc2
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3975 builtin and then its argument prototype would still apply. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3976 char _oss_ioctl ();
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3977 int
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3978 main ()
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3979 {
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3980 _oss_ioctl ();
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3981 ;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3982 return 0;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3983 }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3984 _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3985 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3986 if { (eval echo "$as_me:3986: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3987 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3988 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3989 echo "$as_me:3989: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3990 (exit $ac_status); } &&
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3991 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3992 { (eval echo "$as_me:3992: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3993 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3994 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
3995 echo "$as_me:3995: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3996 (exit $ac_status); }; }; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3997 ac_cv_lib_ossaudio__oss_ioctl=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3998 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
3999 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4000 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4001 ac_cv_lib_ossaudio__oss_ioctl=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4002 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4004 LIBS=$ac_check_lib_save_LIBS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4005 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4006 echo "$as_me:4006: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4007 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4008 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4009 LIBSOUND=-lossaudio
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 LIBSOUND=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4012 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4013
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4014 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4015
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4016 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
4017 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
4018 termcap.h stdio_ext.h fcntl.h term.h strings.h coff.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4019 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4021 echo "$as_me:4021: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4022 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4023 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4025 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4026 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4027 #line 4022 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4028 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4029 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4030 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4031 if { (eval echo "$as_me:4031: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4033 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4034 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4035 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4036 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4037 echo "$as_me:4037: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4038 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4039 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4040 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4041 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4042 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4043 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4044 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4045 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4046 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4047 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4048 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4049 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4050 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4051 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4052 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4053 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4054 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4055 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4056 echo "$as_me:4056: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4059 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4061 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4062
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4063 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4064 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4065
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4066 echo "$as_me:4066: checking for ANSI C header files" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4067 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4068 if test "${ac_cv_header_stdc+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4069 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4070 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4071 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4072 #line 4067 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4073 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4074 #include <stdlib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4075 #include <stdarg.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4076 #include <string.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4077 #include <float.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4078
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4079 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4080 if { (eval echo "$as_me:4080: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4082 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4083 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4084 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4085 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4086 echo "$as_me:4086: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4087 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4088 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4089 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4090 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4091 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4092 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4093 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4094 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4095 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4096 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4097 ac_cv_header_stdc=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4098 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4099 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4100 cat conftest.$ac_ext >&5
Dave Love <fx@gnu.org>
parents:
diff changeset
4101 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4102 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4103 rm -f conftest.err conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4104
Dave Love <fx@gnu.org>
parents:
diff changeset
4105 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4106 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4107 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4108 #line 4103 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4109 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4110 #include <string.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4111
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4112 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4114 egrep "memchr" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4115 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4116 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4117 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4118 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4119 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4120
Dave Love <fx@gnu.org>
parents:
diff changeset
4121 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4122
Dave Love <fx@gnu.org>
parents:
diff changeset
4123 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4124 # 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
4125 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4126 #line 4121 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4127 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4128 #include <stdlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4129
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4130 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
4132 egrep "free" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4133 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4134 else
Dave Love <fx@gnu.org>
parents:
diff changeset
4135 ac_cv_header_stdc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
4136 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4137 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
4138
Dave Love <fx@gnu.org>
parents:
diff changeset
4139 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
4140
Dave Love <fx@gnu.org>
parents:
diff changeset
4141 if test $ac_cv_header_stdc = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
4142 # /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
4143 if test "$cross_compiling" = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4144 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4145 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4146 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4147 #line 4142 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4148 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4149 #include <ctype.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4150 #if ((' ' & 0x0FF) == 0x020)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4151 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4152 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4153 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4154 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4155 || ('j' <= (c) && (c) <= 'r') \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4156 || ('s' <= (c) && (c) <= 'z'))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4157 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4158 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4159
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4160 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4161 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4162 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4163 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4164 int i;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4165 for (i = 0; i < 256; i++)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4166 if (XOR (islower (i), ISLOWER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4167 || toupper (i) != TOUPPER (i))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4168 exit(2);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4169 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4170 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4171 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4172 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4173 if { (eval echo "$as_me:4173: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4174 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4175 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4176 echo "$as_me:4176: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4177 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4178 { (eval echo "$as_me:4178: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4179 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4180 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4181 echo "$as_me:4181: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4182 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4183 :
Dave Love <fx@gnu.org>
parents:
diff changeset
4184 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4185 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4186 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4187 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4188 ac_cv_header_stdc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4189 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4190 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
4191 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4192 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4193 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4194 echo "$as_me:4194: result: $ac_cv_header_stdc" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4195 echo "${ECHO_T}$ac_cv_header_stdc" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4196 if test $ac_cv_header_stdc = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4197
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4198 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4199 #define STDC_HEADERS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4200 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4201
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4202 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4203
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4204 echo "$as_me:4204: 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
4205 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
4206 if test "${ac_cv_header_time+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4208 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4209 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4210 #line 4205 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4211 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4212 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4213 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4214 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4215
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4216 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4217 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4218 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4219 if ((struct tm *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4220 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4221 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4222 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4223 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4224 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4225 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4226 if { (eval echo "$as_me:4226: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4227 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4228 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4229 echo "$as_me:4229: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4230 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4231 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4232 { (eval echo "$as_me:4232: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4233 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4234 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4235 echo "$as_me:4235: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4236 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4237 ac_cv_header_time=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4238 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4239 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4240 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4241 ac_cv_header_time=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4242 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4243 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4244 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4245 echo "$as_me:4245: result: $ac_cv_header_time" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4246 echo "${ECHO_T}$ac_cv_header_time" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4247 if test $ac_cv_header_time = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4248
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4249 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4250 #define TIME_WITH_SYS_TIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4251 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4252
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4253 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4254
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4255 echo "$as_me:4255: checking for sys_siglist declaration in signal.h or unistd.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4256 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
4257 if test "${ac_cv_decl_sys_siglist+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4259 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4260 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4261 #line 4256 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4262 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4263 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4264 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4265 /* NetBSD declares sys_siglist in unistd.h. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4266 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4267 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4268 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4269
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4270 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4271 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4272 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4273 char *msg = *(sys_siglist + 1);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4274 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4275 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4276 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4277 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4278 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4279 if { (eval echo "$as_me:4279: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4280 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4281 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4282 echo "$as_me:4282: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4283 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4284 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4285 { (eval echo "$as_me:4285: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4286 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4287 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4288 echo "$as_me:4288: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4289 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4290 ac_cv_decl_sys_siglist=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4291 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4292 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4293 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4294 ac_cv_decl_sys_siglist=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4295 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4296 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4297 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4298 echo "$as_me:4298: result: $ac_cv_decl_sys_siglist" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4299 echo "${ECHO_T}$ac_cv_decl_sys_siglist" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4300 if test $ac_cv_decl_sys_siglist = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4301
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4302 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4303 #define SYS_SIGLIST_DECLARED 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4304 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4305
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4306 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4307
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4308 echo "$as_me:4308: checking for sys/wait.h that is POSIX.1 compatible" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4309 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
4310 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4312 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4313 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4314 #line 4309 "configure"
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4315 #include "confdefs.h"
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4316 #include <sys/types.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4317 #include <sys/wait.h>
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4318 #ifndef WEXITSTATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4319 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4320 #endif
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4321 #ifndef WIFEXITED
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4322 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4323 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4324
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4325 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4326 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4327 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4328 int s;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4329 wait (&s);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4330 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4331 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4332 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4333 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4334 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4335 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4336 if { (eval echo "$as_me:4336: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4337 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4338 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4339 echo "$as_me:4339: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4340 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4341 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4342 { (eval echo "$as_me:4342: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4343 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4344 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4345 echo "$as_me:4345: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4346 (exit $ac_status); }; }; then
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4347 ac_cv_header_sys_wait_h=yes
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4348 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4349 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4350 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4351 ac_cv_header_sys_wait_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4352 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4353 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4354 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4355 echo "$as_me:4355: result: $ac_cv_header_sys_wait_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4356 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4357 if test $ac_cv_header_sys_wait_h = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4358
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4359 cat >>confdefs.h <<\EOF
30069
7c51ac7c415f *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29990
diff changeset
4360 #define HAVE_SYS_WAIT_H 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4361 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4362
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4363 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4364
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4365 echo "$as_me:4365: checking for struct utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4366 echo $ECHO_N "checking for struct utimbuf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4367 if test "${emacs_cv_struct_utimbuf+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4369 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4370 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4371 #line 4366 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4372 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4373 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
4374 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4375 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4376 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4377 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4378 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4379 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4380 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4381 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4382 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4383 #ifdef HAVE_UTIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4384 #include <utime.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4385 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4386 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4387 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4388 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4389 static struct utimbuf x; x.actime = x.modtime;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4390 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4391 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4392 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4393 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4394 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4395 if { (eval echo "$as_me:4395: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4396 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4397 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4398 echo "$as_me:4398: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4399 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4400 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4401 { (eval echo "$as_me:4401: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4402 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4403 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4404 echo "$as_me:4404: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4405 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4406 emacs_cv_struct_utimbuf=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4407 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4408 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4409 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4410 emacs_cv_struct_utimbuf=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4411 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4412 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4413 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4414 echo "$as_me:4414: result: $emacs_cv_struct_utimbuf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4415 echo "${ECHO_T}$emacs_cv_struct_utimbuf" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4416 if test $emacs_cv_struct_utimbuf = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4417
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4418 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4419 #define HAVE_STRUCT_UTIMBUF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4420 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4421
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4422 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4423
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4424 echo "$as_me:4424: checking return type of signal handlers" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4425 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4426 if test "${ac_cv_type_signal+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4427 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4428 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4429 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4430 #line 4425 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4431 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4432 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4433 #include <signal.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4434 #ifdef signal
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4435 # undef signal
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4436 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4437 #ifdef __cplusplus
Dave Love <fx@gnu.org>
parents:
diff changeset
4438 extern "C" void (*signal (int, void (*)(int)))(int);
Dave Love <fx@gnu.org>
parents:
diff changeset
4439 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4440 void (*signal ()) ();
Dave Love <fx@gnu.org>
parents:
diff changeset
4441 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4442
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4443 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4444 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4445 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4446 int i;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4447 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4448 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4449 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4450 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4451 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4452 if { (eval echo "$as_me:4452: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4453 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4454 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4455 echo "$as_me:4455: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4456 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4457 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4458 { (eval echo "$as_me:4458: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4459 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4460 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4461 echo "$as_me:4461: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4462 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4463 ac_cv_type_signal=void
Dave Love <fx@gnu.org>
parents:
diff changeset
4464 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4465 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4466 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4467 ac_cv_type_signal=int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4468 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4469 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4470 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4471 echo "$as_me:4471: result: $ac_cv_type_signal" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4472 echo "${ECHO_T}$ac_cv_type_signal" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4473
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4474 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4475 #define RETSIGTYPE $ac_cv_type_signal
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4476 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4477
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4478 echo "$as_me:4478: checking for speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4479 echo $ECHO_N "checking for speed_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4480 if test "${emacs_cv_speed_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4482 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4483 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4484 #line 4479 "configure"
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4485 #include "confdefs.h"
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4486 #include <termios.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4487 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4488 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4489 {
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4490 speed_t x = 1;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4491 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4492 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4493 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4494 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4495 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4496 if { (eval echo "$as_me:4496: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4497 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4498 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4499 echo "$as_me:4499: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4500 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4501 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4502 { (eval echo "$as_me:4502: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4503 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4504 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4505 echo "$as_me:4505: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4506 (exit $ac_status); }; }; then
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4507 emacs_cv_speed_t=yes
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4508 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4509 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4510 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4511 emacs_cv_speed_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4512 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4513 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4514 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4515 echo "$as_me:4515: result: $emacs_cv_speed_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4516 echo "${ECHO_T}$emacs_cv_speed_t" >&6
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4517 if test $emacs_cv_speed_t = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4518
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4519 cat >>confdefs.h <<\EOF
29254
d700ca6acc99 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29036
diff changeset
4520 #define HAVE_SPEED_T 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4521 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4522
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4523 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4524
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4525 echo "$as_me:4525: checking for struct timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4526 echo $ECHO_N "checking for struct timeval... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4527 if test "${emacs_cv_struct_timeval+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4529 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4530 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4531 #line 4526 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4532 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4533 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
4534 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4535 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4536 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4537 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
4538 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4539 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
4540 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4541 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
4542 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4543 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4544 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4545 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4546 static struct timeval x; x.tv_sec = x.tv_usec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4547 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4548 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4549 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4550 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4551 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4552 if { (eval echo "$as_me:4552: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4553 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4554 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4555 echo "$as_me:4555: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4556 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4557 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4558 { (eval echo "$as_me:4558: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4559 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4560 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4561 echo "$as_me:4561: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4562 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4563 emacs_cv_struct_timeval=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4564 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4565 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4566 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4567 emacs_cv_struct_timeval=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4568 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4569 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4570 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4571 echo "$as_me:4571: result: $emacs_cv_struct_timeval" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4572 echo "${ECHO_T}$emacs_cv_struct_timeval" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4573 HAVE_TIMEVAL=$emacs_cv_struct_timeval
Dave Love <fx@gnu.org>
parents:
diff changeset
4574 if test $emacs_cv_struct_timeval = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4575
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4576 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4577 #define HAVE_TIMEVAL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4578 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4579
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4580 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4581
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4582 echo "$as_me:4582: checking for struct exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4583 echo $ECHO_N "checking for struct exception... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4584 if test "${emacs_cv_struct_exception+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4586 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4587 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4588 #line 4583 "configure"
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4589 #include "confdefs.h"
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4590 #include <math.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4591 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4592 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4593 {
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4594 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
4595 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4596 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4597 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4598 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4599 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4600 if { (eval echo "$as_me:4600: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4601 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4602 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4603 echo "$as_me:4603: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4604 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4605 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4606 { (eval echo "$as_me:4606: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4607 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4608 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4609 echo "$as_me:4609: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4610 (exit $ac_status); }; }; then
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4611 emacs_cv_struct_exception=yes
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4612 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4613 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4614 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4615 emacs_cv_struct_exception=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4616 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4617 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4618 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4619 echo "$as_me:4619: result: $emacs_cv_struct_exception" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4620 echo "${ECHO_T}$emacs_cv_struct_exception" >&6
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4621 HAVE_EXCEPTION=$emacs_cv_struct_exception
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4622 if test $emacs_cv_struct_exception != yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4623
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4624 cat >>confdefs.h <<\EOF
29388
315367ef0316 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29254
diff changeset
4625 #define NO_MATHERR 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4626 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4627
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4628 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4629
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4630 echo "$as_me:4630: 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
4631 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
4632 if test "${ac_cv_struct_tm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4634 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4635 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4636 #line 4631 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4637 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4638 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4639 #include <time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4640
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4641 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4642 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4643 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4644 struct tm *tp; tp->tm_sec;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4645 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4646 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4647 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4648 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4649 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4650 if { (eval echo "$as_me:4650: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4651 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4652 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4653 echo "$as_me:4653: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4654 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4655 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4656 { (eval echo "$as_me:4656: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4657 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4658 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4659 echo "$as_me:4659: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4660 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4661 ac_cv_struct_tm=time.h
Dave Love <fx@gnu.org>
parents:
diff changeset
4662 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4663 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4664 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4665 ac_cv_struct_tm=sys/time.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4666 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4667 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4668 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4669 echo "$as_me:4669: result: $ac_cv_struct_tm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4670 echo "${ECHO_T}$ac_cv_struct_tm" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4671 if test $ac_cv_struct_tm = sys/time.h; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4672
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4673 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4674 #define TM_IN_SYS_TIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4675 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4676
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4677 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4678
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4679 echo "$as_me:4679: checking for struct tm.tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4680 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4681 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4682 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4683 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4684 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4685 #line 4680 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4686 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4687 #include <sys/types.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4688 #include <$ac_cv_struct_tm>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4689
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4690 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4691 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4692 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4693 static struct tm ac_aggr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4694 if (ac_aggr.tm_zone)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4695 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4696 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4697 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4698 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4699 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4700 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4701 if { (eval echo "$as_me:4701: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4702 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4703 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4704 echo "$as_me:4704: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4705 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4706 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4707 { (eval echo "$as_me:4707: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4708 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4709 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4710 echo "$as_me:4710: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4711 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4712 ac_cv_member_struct_tm_tm_zone=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4713 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4714 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4715 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4716 ac_cv_member_struct_tm_tm_zone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4717 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4718 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4719 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4720 echo "$as_me:4720: result: $ac_cv_member_struct_tm_tm_zone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4721 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4722 if test $ac_cv_member_struct_tm_tm_zone = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4723
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4724 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4725 #define HAVE_STRUCT_TM_TM_ZONE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4726 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4727
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4728 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4729
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4730 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4731
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4732 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4733 #define HAVE_TM_ZONE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4734 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4735
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4736 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4737 echo "$as_me:4737: checking for tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4738 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4739 if test "${ac_cv_var_tzname+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4740 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4741 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4742 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4743 #line 4738 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4744 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
4745 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
4746 #ifndef tzname /* For SGI. */
Dave Love <fx@gnu.org>
parents:
diff changeset
4747 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
Dave Love <fx@gnu.org>
parents:
diff changeset
4748 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4749
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4750 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4751 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4752 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4753 atoi(*tzname);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4754 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4755 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4756 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4757 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4758 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4759 if { (eval echo "$as_me:4759: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4760 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4761 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4762 echo "$as_me:4762: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4763 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4764 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4765 { (eval echo "$as_me:4765: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4766 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4767 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4768 echo "$as_me:4768: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4769 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4770 ac_cv_var_tzname=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
4771 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4772 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4773 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4774 ac_cv_var_tzname=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4775 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4776 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4777 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4778 echo "$as_me:4778: result: $ac_cv_var_tzname" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4779 echo "${ECHO_T}$ac_cv_var_tzname" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4780 if test $ac_cv_var_tzname = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4781
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4782 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
4783 #define HAVE_TZNAME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4784 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4785
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4786 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4787 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4788
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4789 echo "$as_me:4789: checking for struct tm.tm_gmtoff" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4790 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4791 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4793 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4794 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4795 #line 4790 "configure"
26081
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
4796 #include "confdefs.h"
bfa8d94330b6 Add support for large files. Merge glibc 2.1.2.
Paul Eggert <eggert@twinsun.com>
parents: 25994
diff changeset
4797 #include <time.h>
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4798
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4799 int
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4800 main ()
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4801 {
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4802 static struct tm ac_aggr;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4803 if (ac_aggr.tm_gmtoff)
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4804 return 0;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4805 ;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4806 return 0;
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4807 }
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4808 _ACEOF
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4809 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4810 if { (eval echo "$as_me:4810: \"$ac_compile\"") >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4811 (eval $ac_compile) 2>&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4812 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4813 echo "$as_me:4813: \$? = $ac_status" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4814 (exit $ac_status); } &&
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4815 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4816 { (eval echo "$as_me:4816: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4817 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4818 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4819 echo "$as_me:4819: \$? = $ac_status" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4820 (exit $ac_status); }; }; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4821 ac_cv_member_struct_tm_tm_gmtoff=yes
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4822 else
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4823 echo "$as_me: failed program was:" >&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4824 cat conftest.$ac_ext >&5
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4825 ac_cv_member_struct_tm_tm_gmtoff=no
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4826 fi
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4827 rm -f conftest.$ac_objext conftest.$ac_ext
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4828 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4829 echo "$as_me:4829: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4830 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4831 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
4832
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4833 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
4834 #define HAVE_TM_GMTOFF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4835 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4836
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4837 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4838
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4839 echo "$as_me:4839: checking for $CC option to accept ANSI C" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4840 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
4841 if test "${ac_cv_prog_cc_stdc+set}" = set; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4842 echo $ECHO_N "(cached) $ECHO_C" >&6
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4843 else
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4844 ac_cv_prog_cc_stdc=no
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4845 ac_save_CC=$CC
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4846 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4847 #line 4842 "configure"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4848 #include "confdefs.h"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4849 #include <stdarg.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4850 #include <stdio.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4851 #include <sys/types.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4852 #include <sys/stat.h>
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4853 /* 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
4854 struct buf { int x; };
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4856 static char *e (p, i)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4857 char **p;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4858 int i;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4859 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4860 return p[i];
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4861 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4862 static char *f (char * (*g) (char **, int), char **p, ...)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4863 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4864 char *s;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4865 va_list v;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4866 va_start (v,p);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4867 s = g (p, va_arg (v,int));
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4868 va_end (v);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4869 return s;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4870 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4871 int test (int i, double x);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4872 struct s1 {int (*f) (int a);};
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4873 struct s2 {int (*f) (double a);};
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4875 int argc;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4876 char **argv;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4877 int
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4878 main ()
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4879 {
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4881 ;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4882 return 0;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4883 }
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4884 _ACEOF
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4885 # Don't try gcc -ansi; that turns off useful extensions and
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4886 # breaks some systems' header files.
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4887 # AIX -qlanglvl=ansi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4888 # Ultrix and OSF/1 -std1
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4889 # HP-UX 10.20 and later -Ae
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4890 # HP-UX older versions -Aa -D_HPUX_SOURCE
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4891 # SVR4 -Xc -D__EXTENSIONS__
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4892 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
4893 do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4894 CC="$ac_save_CC $ac_arg"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4895 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4896 if { (eval echo "$as_me:4896: \"$ac_compile\"") >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4897 (eval $ac_compile) 2>&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4898 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4899 echo "$as_me:4899: \$? = $ac_status" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4900 (exit $ac_status); } &&
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4901 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4902 { (eval echo "$as_me:4902: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4903 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4904 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4905 echo "$as_me:4905: \$? = $ac_status" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4906 (exit $ac_status); }; }; then
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4907 ac_cv_prog_cc_stdc=$ac_arg
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4908 break
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4909 else
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4910 echo "$as_me: failed program was:" >&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4911 cat conftest.$ac_ext >&5
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4912 fi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4913 rm -f conftest.$ac_objext
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4914 done
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4915 rm -f conftest.$ac_ext conftest.$ac_objext
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4916 CC=$ac_save_CC
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4917
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4918 fi
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4919
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4920 case "x$ac_cv_prog_cc_stdc" in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4921 x|xno)
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4922 echo "$as_me:4922: result: none needed" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4923 echo "${ECHO_T}none needed" >&6 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4924 *)
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4925 echo "$as_me:4925: result: $ac_cv_prog_cc_stdc" >&5
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4926 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4927 CC="$CC $ac_cv_prog_cc_stdc" ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4928 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
4929
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4930 echo "$as_me:4930: checking for function prototypes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4931 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4932 if test "$ac_cv_prog_cc_stdc" != no; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4933 echo "$as_me:4933: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4934 echo "${ECHO_T}yes" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4935
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4936 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4937 #define PROTOTYPES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4938 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4939
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4940 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4941 echo "$as_me:4941: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4942 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4943 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4944
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4945 echo "$as_me:4945: checking for working volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4946 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4947 if test "${ac_cv_c_volatile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4949 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4950 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4951 #line 4946 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4952 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4953
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4954 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4955 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4956 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4957
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4958 volatile int x;
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4959 int * volatile y;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4960 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4961 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4962 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4963 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4964 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4965 if { (eval echo "$as_me:4965: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4966 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4967 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4968 echo "$as_me:4968: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4969 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
4970 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4971 { (eval echo "$as_me:4971: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4972 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4973 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4974 echo "$as_me:4974: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4975 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4976 ac_cv_c_volatile=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4977 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4978 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4979 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4980 ac_cv_c_volatile=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4981 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4982 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4983 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4984 echo "$as_me:4984: result: $ac_cv_c_volatile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4985 echo "${ECHO_T}$ac_cv_c_volatile" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
4986 if test $ac_cv_c_volatile = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4987
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4988 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4989 #define volatile
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4990 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4991
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4992 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
4993
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
4994 echo "$as_me:4994: checking for an ANSI C-conforming const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4995 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4996 if test "${ac_cv_c_const+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4998 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
4999 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5000 #line 4995 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5001 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5002
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5003 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5004 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5005 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5006 /* FIXME: Include the comments suggested by Paul. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5007 #ifndef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5008 /* Ultrix mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5009 typedef int charset[2];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5010 const charset x;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5011 /* SunOS 4.1.1 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5012 char const *const *ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5013 char **p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5014 /* NEC SVR4.0.2 mips cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5015 struct point {int x, y;};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5016 static struct point const zero = {0,0};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5017 /* AIX XL C 1.02.0.0 rejects this.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5018 It does not let you subtract one const X* pointer from another in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5019 an arm of an if-expression whose if-part is not a constant
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5020 expression */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5021 const char *g = "string";
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5022 ccp = &g + (g ? g-g : 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5023 /* HPUX 7.0 cc rejects these. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5024 ++ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5025 p = (char**) ccp;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5026 ccp = (char const *const *) p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5027 { /* SCO 3.2v4 cc rejects this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5028 char *t;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5029 char const *s = 0 ? (char *) 0 : (char const *) 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5030
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5031 *t++ = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5032 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5033 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5034 int x[] = {25, 17};
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5035 const int *foo = &x[0];
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5036 ++foo;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5037 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5038 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5039 typedef const int *iptr;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5040 iptr p = 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5041 ++p;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5042 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5043 { /* AIX XL C 1.02.0.0 rejects this saying
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5044 "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
5045 struct s { int j; const int *ap[3]; };
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5046 struct s *b; b->j = 5;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5047 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5048 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5049 const int foo = 10;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5050 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5051 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5052
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5053 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5054 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5055 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5056 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5057 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5058 if { (eval echo "$as_me:5058: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5059 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5060 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5061 echo "$as_me:5061: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5062 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5063 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5064 { (eval echo "$as_me:5064: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5065 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5066 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5067 echo "$as_me:5067: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5068 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5069 ac_cv_c_const=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5070 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5071 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5072 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5073 ac_cv_c_const=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5074 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5075 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5076 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5077 echo "$as_me:5077: result: $ac_cv_c_const" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5078 echo "${ECHO_T}$ac_cv_c_const" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5079 if test $ac_cv_c_const = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5080
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5081 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5082 #define const
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5083 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5084
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5085 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5086
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5087 echo "$as_me:5087: checking for void * support" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5088 echo $ECHO_N "checking for void * support... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5089 if test "${emacs_cv_void_star+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5091 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5092 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5093 #line 5088 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5094 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5095
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5096 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5097 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5098 {
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5099 void * foo;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5100 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5101 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5102 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5103 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5104 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5105 if { (eval echo "$as_me:5105: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5106 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5107 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5108 echo "$as_me:5108: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5109 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5110 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5111 { (eval echo "$as_me:5111: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5112 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5113 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5114 echo "$as_me:5114: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5115 (exit $ac_status); }; }; then
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5116 emacs_cv_void_star=yes
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5117 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5118 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5119 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5120 emacs_cv_void_star=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5121 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5122 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5123 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5124 echo "$as_me:5124: result: $emacs_cv_void_star" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5125 echo "${ECHO_T}$emacs_cv_void_star" >&6
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5126 if test $emacs_cv_void_star = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5127 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5128 #define POINTER_TYPE void
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5129 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5130
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5131 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5132 cat >>confdefs.h <<\EOF
28060
ee660e36891c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27949
diff changeset
5133 #define POINTER_TYPE char
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5134 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5135
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5136 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5137
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5138 echo "$as_me:5138: checking whether ${MAKE-make} sets \${MAKE}" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5139 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5140 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5141 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5142 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5143 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5144 cat >conftest.make <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5145 all:
Dave Love <fx@gnu.org>
parents:
diff changeset
5146 @echo 'ac_maketemp="${MAKE}"'
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5147 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5148 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5149 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5150 if test -n "$ac_maketemp"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5151 eval ac_cv_prog_make_${ac_make}_set=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5152 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5153 eval ac_cv_prog_make_${ac_make}_set=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5154 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5155 rm -f conftest.make
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5156 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5157 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5158 echo "$as_me:5158: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5159 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5160 SET_MAKE=
Dave Love <fx@gnu.org>
parents:
diff changeset
5161 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5162 echo "$as_me:5162: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5163 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5164 SET_MAKE="MAKE=${MAKE-make}"
Dave Love <fx@gnu.org>
parents:
diff changeset
5165 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5166
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5167 echo "$as_me:5167: checking for long file names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5168 echo $ECHO_N "checking for long file names... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5169 if test "${ac_cv_sys_long_file_names+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5171 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5172 ac_cv_sys_long_file_names=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5173 # Test for long file names in all the places we know might matter:
Dave Love <fx@gnu.org>
parents:
diff changeset
5174 # . the current directory, where building will happen
Dave Love <fx@gnu.org>
parents:
diff changeset
5175 # $prefix/lib where we will be installing things
Dave Love <fx@gnu.org>
parents:
diff changeset
5176 # $exec_prefix/lib likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5177 # eval it to expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
5178 # $TMPDIR if set, where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5179 # if $TMPDIR is not set:
Dave Love <fx@gnu.org>
parents:
diff changeset
5180 # /tmp where it might want to write temporary files
Dave Love <fx@gnu.org>
parents:
diff changeset
5181 # /var/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5182 # /usr/tmp likewise
Dave Love <fx@gnu.org>
parents:
diff changeset
5183 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5184 ac_tmpdirs=$TMPDIR
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5185 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5186 ac_tmpdirs='/tmp /var/tmp /usr/tmp'
Dave Love <fx@gnu.org>
parents:
diff changeset
5187 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5188 for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5189 test -d $ac_dir || continue
Dave Love <fx@gnu.org>
parents:
diff changeset
5190 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
5191 ac_xdir=$ac_dir/cf$$
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5192 (umask 077 && mkdir $ac_xdir 2>/dev/null) || continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5193 ac_tf1=$ac_xdir/conftest9012345
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5194 ac_tf2=$ac_xdir/conftest9012346
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5195 (echo 1 >$ac_tf1) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5196 (echo 2 >$ac_tf2) 2>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5197 ac_val=`cat $ac_tf1 2>/dev/null`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5198 if test ! -f $ac_tf1 || test "$ac_val" != 1; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5199 ac_cv_sys_long_file_names=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5200 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5201 break
Dave Love <fx@gnu.org>
parents:
diff changeset
5202 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5203 rm -rf $ac_xdir 2>/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5204 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5205 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5206 echo "$as_me:5206: result: $ac_cv_sys_long_file_names" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5207 echo "${ECHO_T}$ac_cv_sys_long_file_names" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5208 if test $ac_cv_sys_long_file_names = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5209
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5210 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5211 #define HAVE_LONG_FILE_NAMES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5212 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5213
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5214 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5215
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5216 #### Choose a window system.
Dave Love <fx@gnu.org>
parents:
diff changeset
5217
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5218 echo "$as_me:5218: checking for X" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5219 echo $ECHO_N "checking for X... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5220
Dave Love <fx@gnu.org>
parents:
diff changeset
5221 # Check whether --with-x or --without-x was given.
Dave Love <fx@gnu.org>
parents:
diff changeset
5222 if test "${with_x+set}" = set; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5223 withval="$with_x"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5224
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5225 fi;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5226 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
Dave Love <fx@gnu.org>
parents:
diff changeset
5227 if test "x$with_x" = xno; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5228 # The user explicitly disabled X.
Dave Love <fx@gnu.org>
parents:
diff changeset
5229 have_x=disabled
Dave Love <fx@gnu.org>
parents:
diff changeset
5230 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5231 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5232 # Both variables are already set.
Dave Love <fx@gnu.org>
parents:
diff changeset
5233 have_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5234 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5235 if test "${ac_cv_have_x+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5237 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5238 # 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
5239 ac_x_includes=no ac_x_libraries=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5240 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5241 if mkdir conftest.dir; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5242 cd conftest.dir
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5243 # 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
5244 cat >Imakefile <<'EOF'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5245 acfindx:
Dave Love <fx@gnu.org>
parents:
diff changeset
5246 @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
5247 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5248 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5249 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Dave Love <fx@gnu.org>
parents:
diff changeset
5250 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
Dave Love <fx@gnu.org>
parents:
diff changeset
5251 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
Dave Love <fx@gnu.org>
parents:
diff changeset
5252 for ac_extension in a so sl; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5253 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5254 test -f $ac_im_libdir/libX11.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5255 ac_im_usrlibdir=$ac_im_libdir; break
Dave Love <fx@gnu.org>
parents:
diff changeset
5256 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5257 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5258 # Screen out bogus values from the imake configuration. They are
Dave Love <fx@gnu.org>
parents:
diff changeset
5259 # bogus both because they are the default anyway, and because
Dave Love <fx@gnu.org>
parents:
diff changeset
5260 # using them would break gcc on systems where it needs fixed includes.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5261 case $ac_im_incroot in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5262 /usr/include) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5263 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5264 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5265 case $ac_im_usrlibdir in
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5266 /usr/lib | /lib) ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5267 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5268 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5269 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5270 cd ..
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5271 rm -fr conftest.dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5272 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5273
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5274 # Standard set of common directories for X headers.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5275 # 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
5276 ac_x_header_dirs='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5277 /usr/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5278 /usr/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5279 /usr/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5280 /usr/X11R4/include
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/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5283 /usr/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5284 /usr/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5285 /usr/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5286
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5287 /usr/local/X11/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5288 /usr/local/X11R6/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5289 /usr/local/X11R5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5290 /usr/local/X11R4/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5291
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5292 /usr/local/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5293 /usr/local/include/X11R6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5294 /usr/local/include/X11R5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5295 /usr/local/include/X11R4
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5296
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5297 /usr/X386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5298 /usr/x386/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5299 /usr/XFree86/include/X11
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5300
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5301 /usr/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5302 /usr/local/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5303 /usr/unsupported/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5304 /usr/athena/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5305 /usr/local/x11r5/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5306 /usr/lpp/Xamples/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5307
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5308 /usr/openwin/include
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5309 /usr/openwin/share/include'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5310
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5311 if test "$ac_x_includes" = no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5312 # Guess where to find include files, by looking for Intrinsic.h.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5313 # First, try using that file with no special directory specified.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5314 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5315 #line 5310 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5316 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5317 #include <X11/Intrinsic.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5318 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5319 if { (eval echo "$as_me:5319: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5321 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5322 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5323 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5324 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5325 echo "$as_me:5325: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5326 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5327 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5328 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5329 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5330 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5331 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5332 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5333 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5334 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5335 if test -z "$ac_cpp_err"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5336 # We can compile using X headers with no special include directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
5337 ac_x_includes=
Dave Love <fx@gnu.org>
parents:
diff changeset
5338 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5339 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5340 cat conftest.$ac_ext >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5341 for ac_dir in $ac_x_header_dirs; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5342 if test -r "$ac_dir/X11/Intrinsic.h"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5343 ac_x_includes=$ac_dir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5344 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5345 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5346 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5347 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5348 rm -f conftest.err conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5349 fi # $ac_x_includes = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5350
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5351 if test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5352 # Check for the libraries.
Dave Love <fx@gnu.org>
parents:
diff changeset
5353 # See if we find them without any special options.
Dave Love <fx@gnu.org>
parents:
diff changeset
5354 # Don't add to $LIBS permanently.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5355 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5356 LIBS="-lXt $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5357 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5358 #line 5353 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5359 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5360 #include <X11/Intrinsic.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5361 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5362 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5363 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5364 XtMalloc (0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5365 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5366 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5367 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5368 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5369 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5370 if { (eval echo "$as_me:5370: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5371 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5372 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5373 echo "$as_me:5373: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5374 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5375 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5376 { (eval echo "$as_me:5376: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5377 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5378 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5379 echo "$as_me:5379: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5380 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5381 LIBS=$ac_save_LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5382 # We can link X programs with no special library path.
Dave Love <fx@gnu.org>
parents:
diff changeset
5383 ac_x_libraries=
Dave Love <fx@gnu.org>
parents:
diff changeset
5384 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5385 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5386 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5387 LIBS=$ac_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5388 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
5389 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5390 # Don't even attempt the hair of trying to link an X program!
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5391 for ac_extension in a so sl; do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5392 if test -r $ac_dir/libXt.$ac_extension; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5393 ac_x_libraries=$ac_dir
Dave Love <fx@gnu.org>
parents:
diff changeset
5394 break 2
Dave Love <fx@gnu.org>
parents:
diff changeset
5395 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5396 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5397 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5398 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5399 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5400 fi # $ac_x_libraries = no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5401
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5402 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5403 # Didn't find X anywhere. Cache the known absence of X.
Dave Love <fx@gnu.org>
parents:
diff changeset
5404 ac_cv_have_x="have_x=no"
Dave Love <fx@gnu.org>
parents:
diff changeset
5405 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5406 # Record where we found X for the cache.
Dave Love <fx@gnu.org>
parents:
diff changeset
5407 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
5408 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
Dave Love <fx@gnu.org>
parents:
diff changeset
5409 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5410 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5411
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5412 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5413 eval "$ac_cv_have_x"
Dave Love <fx@gnu.org>
parents:
diff changeset
5414 fi # $with_x != no
Dave Love <fx@gnu.org>
parents:
diff changeset
5415
Dave Love <fx@gnu.org>
parents:
diff changeset
5416 if test "$have_x" != yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5417 echo "$as_me:5417: result: $have_x" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5418 echo "${ECHO_T}$have_x" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5419 no_x=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5420 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5421 # If each of the values was on the command line, it overrides each guess.
Dave Love <fx@gnu.org>
parents:
diff changeset
5422 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
Dave Love <fx@gnu.org>
parents:
diff changeset
5423 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
Dave Love <fx@gnu.org>
parents:
diff changeset
5424 # Update the cache value to reflect the command line values.
Dave Love <fx@gnu.org>
parents:
diff changeset
5425 ac_cv_have_x="have_x=yes \
Dave Love <fx@gnu.org>
parents:
diff changeset
5426 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5427 echo "$as_me:5427: result: libraries $x_libraries, headers $x_includes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5428 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5429 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5430
Dave Love <fx@gnu.org>
parents:
diff changeset
5431 if test "$no_x" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5432 window_system=none
Dave Love <fx@gnu.org>
parents:
diff changeset
5433 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5434 window_system=x11
Dave Love <fx@gnu.org>
parents:
diff changeset
5435 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5436
Dave Love <fx@gnu.org>
parents:
diff changeset
5437 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5438 LD_SWITCH_X_SITE=-L`echo ${x_libraries} | sed -e "s/:/ -L/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5439 LD_SWITCH_X_SITE_AUX=-R`echo ${x_libraries} | sed -e "s/:/ -R/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5440 x_default_search_path=""
Dave Love <fx@gnu.org>
parents:
diff changeset
5441 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
5442 x_search_path="\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5443 ${x_library}/X11/%L/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5444 ${x_library}/X11/%l/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5445 ${x_library}/X11/%T/%N%C%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5446 ${x_library}/X11/%L/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5447 ${x_library}/X11/%l/%T/%N%S:\
b85d466802a5 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35206
diff changeset
5448 ${x_library}/X11/%T/%N%S"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5449 if test x"${x_default_search_path}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5450 x_default_search_path=${x_search_path}
Dave Love <fx@gnu.org>
parents:
diff changeset
5451 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5452 x_default_search_path="${x_search_path}:${x_default_search_path}"
Dave Love <fx@gnu.org>
parents:
diff changeset
5453 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5454 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5455 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5456 if test "${x_includes}" != NONE && test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5457 C_SWITCH_X_SITE=-I`echo ${x_includes} | sed -e "s/:/ -I/g"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5458 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5459
Dave Love <fx@gnu.org>
parents:
diff changeset
5460 if test x"${x_includes}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5461 bitmapdir=/usr/include/X11/bitmaps
Dave Love <fx@gnu.org>
parents:
diff changeset
5462 else
Dave Love <fx@gnu.org>
parents:
diff changeset
5463 # accumulate include directories that have X11 bitmap subdirectories
Dave Love <fx@gnu.org>
parents:
diff changeset
5464 bmd_acc="dummyval"
Dave Love <fx@gnu.org>
parents:
diff changeset
5465 for bmd in `echo ${x_includes} | sed -e "s/:/ /g"`; do
Dave Love <fx@gnu.org>
parents:
diff changeset
5466 if test -d "${bmd}/X11/bitmaps"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5467 bmd_acc="${bmd_acc}:${bmd}/X11/bitmaps"
26502
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
5468 fi
9a80d274ce46 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26382
diff changeset
5469 if test -d "${bmd}/bitmaps"; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5470 bmd_acc="${bmd_acc}:${bmd}/bitmaps"
Dave Love <fx@gnu.org>
parents:
diff changeset
5471 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5472 done
Dave Love <fx@gnu.org>
parents:
diff changeset
5473 if test ${bmd_acc} != "dummyval"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5474 bitmapdir=`echo ${bmd_acc} | sed -e "s/^dummyval://"`
Dave Love <fx@gnu.org>
parents:
diff changeset
5475 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5476 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5477
Dave Love <fx@gnu.org>
parents:
diff changeset
5478 case "${window_system}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5479 x11 )
Dave Love <fx@gnu.org>
parents:
diff changeset
5480 HAVE_X_WINDOWS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5481 HAVE_X11=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5482 case "${with_x_toolkit}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5483 athena | lucid ) USE_X_TOOLKIT=LUCID ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5484 motif ) USE_X_TOOLKIT=MOTIF ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5485 no ) USE_X_TOOLKIT=none ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5486 * ) USE_X_TOOLKIT=maybe ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5487 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5488 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5489 none )
Dave Love <fx@gnu.org>
parents:
diff changeset
5490 HAVE_X_WINDOWS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5491 HAVE_X11=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5492 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
5493 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5494 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5495
Dave Love <fx@gnu.org>
parents:
diff changeset
5496 ### If we're using X11, we should use the X menu package.
Dave Love <fx@gnu.org>
parents:
diff changeset
5497 HAVE_MENUS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5498 case ${HAVE_X11} in
Dave Love <fx@gnu.org>
parents:
diff changeset
5499 yes ) HAVE_MENUS=yes ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5500 esac
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5501
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5502 if test "${opsys}" = "hpux9"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5503 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5504 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
5505 opsysfile="s/hpux9-x11r4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5506 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5507 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5508 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5509
Dave Love <fx@gnu.org>
parents:
diff changeset
5510 if test "${opsys}" = "hpux9shr"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5511 case "${x_libraries}" in
Dave Love <fx@gnu.org>
parents:
diff changeset
5512 *X11R4* )
Dave Love <fx@gnu.org>
parents:
diff changeset
5513 opsysfile="s/hpux9shxr4.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5514 ;;
Dave Love <fx@gnu.org>
parents:
diff changeset
5515 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
5516 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5517
Dave Love <fx@gnu.org>
parents:
diff changeset
5518 ### Compute the unexec source name from the object name.
Dave Love <fx@gnu.org>
parents:
diff changeset
5519 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`"
Dave Love <fx@gnu.org>
parents:
diff changeset
5520
Dave Love <fx@gnu.org>
parents:
diff changeset
5521 # Do the opsystem or machine files prohibit the use of the GNU malloc?
Dave Love <fx@gnu.org>
parents:
diff changeset
5522 # Assume not, until told otherwise.
Dave Love <fx@gnu.org>
parents:
diff changeset
5523 GNU_MALLOC=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5524 doug_lea_malloc=yes
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5525 echo "$as_me:5525: checking for malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5526 echo $ECHO_N "checking for malloc_get_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5527 if test "${ac_cv_func_malloc_get_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5528 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5529 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5530 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5531 #line 5526 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5532 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5533 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5534 which can conflict with char malloc_get_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5535 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5536 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5537 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5538 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5539 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5540 /* 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
5541 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5542 char malloc_get_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5543 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5544
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5545 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5546 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5547 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5548 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
5549 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
5550 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5551 #if defined (__stub_malloc_get_state) || defined (__stub___malloc_get_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
5552 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
5553 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5554 f = malloc_get_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5555 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5556
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5557 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5558 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5559 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5560 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5561 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5562 if { (eval echo "$as_me:5562: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5563 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5564 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5565 echo "$as_me:5565: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5566 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5567 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5568 { (eval echo "$as_me:5568: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5569 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5570 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5571 echo "$as_me:5571: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5572 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5573 ac_cv_func_malloc_get_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5574 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5575 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5576 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5577 ac_cv_func_malloc_get_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5578 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5580 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5581 echo "$as_me:5581: result: $ac_cv_func_malloc_get_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5582 echo "${ECHO_T}$ac_cv_func_malloc_get_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5583 if test $ac_cv_func_malloc_get_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5584 :
Dave Love <fx@gnu.org>
parents:
diff changeset
5585 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5586 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5587 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5588
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5589 echo "$as_me:5589: checking for malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5590 echo $ECHO_N "checking for malloc_set_state... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5591 if test "${ac_cv_func_malloc_set_state+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5593 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5594 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5595 #line 5590 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5596 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5597 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5598 which can conflict with char malloc_set_state (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5599 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
5600 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5601 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5602 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5603 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5604 /* 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
5605 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5606 char malloc_set_state ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5607 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5608
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5609 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5610 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5611 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5612 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
5613 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
5614 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
5615 #if defined (__stub_malloc_set_state) || defined (__stub___malloc_set_state)
Dave Love <fx@gnu.org>
parents:
diff changeset
5616 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
5617 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5618 f = malloc_set_state;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5619 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5620
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5621 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5622 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5623 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5624 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5625 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5626 if { (eval echo "$as_me:5626: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5627 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5628 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5629 echo "$as_me:5629: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5630 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5631 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5632 { (eval echo "$as_me:5632: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5633 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5634 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5635 echo "$as_me:5635: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5636 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5637 ac_cv_func_malloc_set_state=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5638 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5639 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5640 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5641 ac_cv_func_malloc_set_state=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5642 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5644 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5645 echo "$as_me:5645: result: $ac_cv_func_malloc_set_state" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5646 echo "${ECHO_T}$ac_cv_func_malloc_set_state" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5647 if test $ac_cv_func_malloc_set_state = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5648 :
Dave Love <fx@gnu.org>
parents:
diff changeset
5649 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5650 doug_lea_malloc=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5651 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5652
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5653 echo "$as_me:5653: checking whether __after_morecore_hook exists" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5654 echo $ECHO_N "checking whether __after_morecore_hook exists... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5655 if test "${emacs_cv_var___after_morecore_hook+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5656 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5657 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5658 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5659 #line 5654 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5660 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
5661 extern void (* __after_morecore_hook)();
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5662 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5663 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5664 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5665 __after_morecore_hook = 0
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5666 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5667 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5668 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5669 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5670 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5671 if { (eval echo "$as_me:5671: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5672 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5673 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5674 echo "$as_me:5674: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5675 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5676 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5677 { (eval echo "$as_me:5677: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5678 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5679 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5680 echo "$as_me:5680: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5681 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5682 emacs_cv_var___after_morecore_hook=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
5683 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5684 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5685 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5686 emacs_cv_var___after_morecore_hook=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5687 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5689 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5690 echo "$as_me:5690: result: $emacs_cv_var___after_morecore_hook" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5691 echo "${ECHO_T}$emacs_cv_var___after_morecore_hook" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5692 if test $emacs_cv_var___after_morecore_hook = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5693 doug_lea_malloc=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5694 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5695 if test "${system_malloc}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5696 GNU_MALLOC=no
Dave Love <fx@gnu.org>
parents:
diff changeset
5697 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
5698 (The GNU allocators don't work with this system configuration.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
5699 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5700 if test "$doug_lea_malloc" = "yes" ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5701 if test "$GNU_MALLOC" = yes ; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5702 GNU_MALLOC_reason="
Dave Love <fx@gnu.org>
parents:
diff changeset
5703 (Using Doug Lea's new malloc from the GNU C Library.)"
Dave Love <fx@gnu.org>
parents:
diff changeset
5704 fi
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
5705
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5706 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5707 #define DOUG_LEA_MALLOC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5708 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
5709
Dave Love <fx@gnu.org>
parents:
diff changeset
5710 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5711
Dave Love <fx@gnu.org>
parents:
diff changeset
5712 if test x"${REL_ALLOC}" = x; then
Dave Love <fx@gnu.org>
parents:
diff changeset
5713 REL_ALLOC=${GNU_MALLOC}
Dave Love <fx@gnu.org>
parents:
diff changeset
5714 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
5715
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5716 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5717
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5718 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
5719 inttypes.h stdint.h unistd.h
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5720 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5721 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5722 echo "$as_me:5722: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5726 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5727 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5728 #line 5723 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5729 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5730 $ac_includes_default
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5731 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5732 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5733 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5734 if { (eval echo "$as_me:5734: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5735 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5736 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5737 echo "$as_me:5737: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5738 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5739 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5740 { (eval echo "$as_me:5740: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5741 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5742 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5743 echo "$as_me:5743: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5744 (exit $ac_status); }; }; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5745 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5746 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5747 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5748 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5749 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5750 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5751 rm -f conftest.$ac_objext conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5752 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5753 echo "$as_me:5753: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5756 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5758 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5759
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5760 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5761 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5762
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5763 for ac_header in stdlib.h unistd.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5764 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5765 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5766 echo "$as_me:5766: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5769 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5770 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5771 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5772 #line 5767 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5773 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5774 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5775 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5776 if { (eval echo "$as_me:5776: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5777 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5778 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5779 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5780 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5781 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5782 echo "$as_me:5782: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5783 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5784 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5785 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5786 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5787 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5788 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5789 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5790 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5791 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5792 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5793 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5794 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5795 echo "$as_me: failed program was:" >&5
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5796 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5797 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5798 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5799 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5800 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5801 echo "$as_me:5801: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5804 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5806 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5807
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5808 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5809 done
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5810
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5811 for ac_func in getpagesize
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5812 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5814 echo "$as_me:5814: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5816 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5818 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5819 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5820 #line 5815 "configure"
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5821 #include "confdefs.h"
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5822 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5823 which can conflict with char $ac_func (); below. */
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5824 #include <assert.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5825 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5826 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5827 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5828 #endif
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5829 /* 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
5830 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5831 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5832 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5833
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5834 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5835 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5836 {
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5837 /* The GNU C library defines this for functions which it implements
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5838 to always fail with ENOSYS. Some functions are actually named
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5839 something starting with __ and the normal name is an alias. */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5841 choke me
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5842 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5843 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5844 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5845
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5846 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5847 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5848 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5849 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5850 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5851 if { (eval echo "$as_me:5851: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5852 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5853 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5854 echo "$as_me:5854: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5855 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
5856 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5857 { (eval echo "$as_me:5857: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5858 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5859 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5860 echo "$as_me:5860: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5861 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5862 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5863 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5864 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5865 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5866 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5867 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5869 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5870 echo "$as_me:5870: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5872 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5873 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5875 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5876
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5877 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5878 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5879
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
5880 echo "$as_me:5880: checking for working mmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5881 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5882 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5883 echo $ECHO_N "(cached) $ECHO_C" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5884 else
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5885 if test "$cross_compiling" = yes; then
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5886 ac_cv_func_mmap_fixed_mapped=no
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5887 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5888 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5889 #line 5884 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5890 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5891 $ac_includes_default
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5892 /* Thanks to Mike Haertel and Jim Avera for this test.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5893 Here is a matrix of mmap possibilities:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5894 mmap private not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5895 mmap private fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5896 mmap private fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5897 mmap shared not fixed
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5898 mmap shared fixed at somewhere currently unmapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5899 mmap shared fixed at somewhere already mapped
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5900 For private mappings, we should verify that changes cannot be read()
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5901 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
5902 address. (There have been systems where private was not correctly
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5903 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
5904 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
5905 like early versions of FreeBSD and possibly contemporary NetBSD.)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5906 For shared mappings, we should conversely verify that changes get
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
5907 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
5908
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5909 Grep wants private fixed already mapped.
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5910 The main things grep needs to know about mmap are:
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5911 * 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
5912 * how to use it (BSD variants) */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5913
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5914 #include <fcntl.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5915 #include <sys/mman.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5916
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5917 #if !STDC_HEADERS && !HAVE_STDLIB_H
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5918 char *malloc ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5919 #endif
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5920
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5921 /* This mess was copied from the GNU getpagesize.h. */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5922 #if !HAVE_GETPAGESIZE
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5923 /* 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
5924 # if !HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5925 # define HAVE_SYS_PARAM_H 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5926 # endif
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5927
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5928 # ifdef _SC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5929 # define getpagesize() sysconf(_SC_PAGESIZE)
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5930 # else /* no _SC_PAGESIZE */
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5931 # if HAVE_SYS_PARAM_H
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5932 # include <sys/param.h>
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5933 # ifdef EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5934 # define getpagesize() EXEC_PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5935 # else /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5936 # ifdef NBPG
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5937 # define getpagesize() NBPG * CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5938 # ifndef CLSIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5939 # define CLSIZE 1
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5940 # endif /* no CLSIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5941 # else /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5942 # ifdef NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5943 # define getpagesize() NBPC
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5944 # else /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5945 # ifdef PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5946 # define getpagesize() PAGESIZE
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5947 # endif /* PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5948 # endif /* no NBPC */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5949 # endif /* no NBPG */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5950 # endif /* no EXEC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5951 # else /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5952 # define getpagesize() 8192 /* punt totally */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5953 # endif /* no HAVE_SYS_PARAM_H */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5954 # endif /* no _SC_PAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5955
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5956 #endif /* no HAVE_GETPAGESIZE */
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5957
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5958 int
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5959 main ()
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
5960 {
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5961 char *data, *data2, *data3;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5962 int i, pagesize;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5963 int fd;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5964
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5965 pagesize = getpagesize ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5966
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5967 /* First, make a file with some known garbage in it. */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5968 data = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5969 if (!data)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5970 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5971 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5972 *(data + i) = rand ();
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5973 umask (0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5974 fd = creat ("conftest.mmap", 0600);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5975 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5976 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5977 if (write (fd, data, pagesize) != pagesize)
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 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5980
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5981 /* 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
5982 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
5983 we see the same garbage. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
5984 fd = open ("conftest.mmap", O_RDWR);
31512
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5985 if (fd < 0)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5986 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5987 data2 = (char *) malloc (2 * pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5988 if (!data2)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5989 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5990 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5991 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5992 MAP_PRIVATE | MAP_FIXED, fd, 0L))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5993 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5994 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5995 if (*(data + i) != *(data2 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5996 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5997
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5998 /* Finally, make sure that changes to the mapped area do not
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
5999 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
6000 some variants of i386 svr4.0.) */
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6001 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6002 *(data2 + i) = *(data2 + i) + 1;
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6003 data3 = (char *) malloc (pagesize);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6004 if (!data3)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6005 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6006 if (read (fd, data3, pagesize) != pagesize)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6007 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6008 for (i = 0; i < pagesize; ++i)
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6009 if (*(data + i) != *(data3 + i))
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6010 exit (1);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6011 close (fd);
83b2a14bea5b *** empty log message ***
Dave Love <fx@gnu.org>
parents: 31417
diff changeset
6012 exit (0);
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6013 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6014 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6015 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6016 if { (eval echo "$as_me:6016: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6017 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6018 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6019 echo "$as_me:6019: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6020 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6021 { (eval echo "$as_me:6021: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6022 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6023 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6024 echo "$as_me:6024: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6025 (exit $ac_status); }; }; then
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6026 ac_cv_func_mmap_fixed_mapped=yes
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6027 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6028 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6029 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6030 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6031 ac_cv_func_mmap_fixed_mapped=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6032 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6033 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
6034 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6035 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6036 echo "$as_me:6036: result: $ac_cv_func_mmap_fixed_mapped" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6037 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6038 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6039
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6040 cat >>confdefs.h <<\EOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6041 #define HAVE_MMAP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6042 EOF
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6043
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6044 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6045 rm -f conftest.mmap
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6046
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6047 if test $use_mmap_for_buffers = yes; then
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
6048 REL_ALLOC=no
31417
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6049 fi
a902ad11827b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31409
diff changeset
6050
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6051 LIBS="$libsrc_libs $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6052
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6053 echo "$as_me:6053: checking for dnet_ntoa in -ldnet" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6054 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6055 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6057 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6058 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6059 LIBS="-ldnet $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6060 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6061 #line 6056 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6062 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6063
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6064 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6065 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6066 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6067 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6068 /* 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
6069 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6070 char dnet_ntoa ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6071 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6072 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6073 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6074 dnet_ntoa ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6075 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6076 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6077 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6078 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6079 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6080 if { (eval echo "$as_me:6080: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6081 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6082 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6083 echo "$as_me:6083: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6084 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6085 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6086 { (eval echo "$as_me:6086: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6087 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6088 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6089 echo "$as_me:6089: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6090 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6091 ac_cv_lib_dnet_dnet_ntoa=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6092 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6093 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6094 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6095 ac_cv_lib_dnet_dnet_ntoa=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6096 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6097 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6098 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6099 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6100 echo "$as_me:6100: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6101 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6102 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6103 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6104 #define HAVE_LIBDNET 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6105 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6106
Dave Love <fx@gnu.org>
parents:
diff changeset
6107 LIBS="-ldnet $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6108
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6109 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6110
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6111 echo "$as_me:6111: checking for main in -lXbsd" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6112 echo $ECHO_N "checking for main in -lXbsd... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6113 if test "${ac_cv_lib_Xbsd_main+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6115 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6116 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6117 LIBS="-lXbsd $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6118 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6119 #line 6114 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6120 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6121
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6122 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6123 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6124 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6125 main ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6126 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6127 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6128 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6129 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6130 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6131 if { (eval echo "$as_me:6131: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6132 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6133 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6134 echo "$as_me:6134: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6135 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6136 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6137 { (eval echo "$as_me:6137: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6138 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6139 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6140 echo "$as_me:6140: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6141 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6142 ac_cv_lib_Xbsd_main=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6143 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6144 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6145 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6146 ac_cv_lib_Xbsd_main=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6147 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6149 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6150 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6151 echo "$as_me:6151: result: $ac_cv_lib_Xbsd_main" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6152 echo "${ECHO_T}$ac_cv_lib_Xbsd_main" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6153 if test $ac_cv_lib_Xbsd_main = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6154 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -lXbsd"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6155 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6156
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6157 echo "$as_me:6157: checking for cma_open in -lpthreads" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6158 echo $ECHO_N "checking for cma_open in -lpthreads... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6159 if test "${ac_cv_lib_pthreads_cma_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6160 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6161 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6162 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6163 LIBS="-lpthreads $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6164 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6165 #line 6160 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6166 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6167
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6168 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6169 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6170 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6171 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6172 /* 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
6173 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6174 char cma_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6175 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6176 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6177 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6178 cma_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6179 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6180 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6181 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6182 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6183 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6184 if { (eval echo "$as_me:6184: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6185 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6186 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6187 echo "$as_me:6187: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6188 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6189 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6190 { (eval echo "$as_me:6190: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6191 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6192 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6193 echo "$as_me:6193: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6194 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6195 ac_cv_lib_pthreads_cma_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6196 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6197 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6198 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6199 ac_cv_lib_pthreads_cma_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6200 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6202 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6203 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6204 echo "$as_me:6204: result: $ac_cv_lib_pthreads_cma_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6205 echo "${ECHO_T}$ac_cv_lib_pthreads_cma_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6206 if test $ac_cv_lib_pthreads_cma_open = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6207 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6208 #define HAVE_LIBPTHREADS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6209 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6210
Dave Love <fx@gnu.org>
parents:
diff changeset
6211 LIBS="-lpthreads $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6212
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6213 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6214
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6215 echo "$as_me:6215: checking for XFree86 in /usr/X386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6216 echo $ECHO_N "checking for XFree86 in /usr/X386... $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6217 if test -d /usr/X386/include; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6218 HAVE_XFREE386=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6219 : ${C_SWITCH_X_SITE="-I/usr/X386/include"}
Dave Love <fx@gnu.org>
parents:
diff changeset
6220 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6221 HAVE_XFREE386=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6222 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6223 echo "$as_me:6223: result: $HAVE_XFREE386" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6224 echo "${ECHO_T}$HAVE_XFREE386" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6225
Dave Love <fx@gnu.org>
parents:
diff changeset
6226 # Change CFLAGS temporarily so that C_SWITCH_X_SITE gets used
Dave Love <fx@gnu.org>
parents:
diff changeset
6227 # for the tests that follow. We set it back to REAL_CFLAGS later on.
Dave Love <fx@gnu.org>
parents:
diff changeset
6228
29990
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
6229 REAL_CPPFLAGS="$CPPFLAGS"
98af0f021739 * configure.in: Add ${C_SWITCH_X_SITE} temporarily to CPPFLAGS, while
Ken Raeburn <raeburn@raeburn.org>
parents: 29949
diff changeset
6230
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6231 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6232 DEFS="$C_SWITCH_X_SITE $DEFS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6233 LDFLAGS="$LDFLAGS $LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6234 LIBS="$LIBX $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6235 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
6236 CPPFLAGS="$C_SWITCH_X_SITE $CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6237
Dave Love <fx@gnu.org>
parents:
diff changeset
6238 # On Solaris, arrange for LD_RUN_PATH to point to the X libraries for tests.
Dave Love <fx@gnu.org>
parents:
diff changeset
6239 # This is handled by LD_SWITCH_X_SITE_AUX during the real build,
Dave Love <fx@gnu.org>
parents:
diff changeset
6240 # but it's more convenient here to set LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6241 # since this also works on hosts that don't understand LD_SWITCH_X_SITE_AUX.
Dave Love <fx@gnu.org>
parents:
diff changeset
6242 if test "${x_libraries}" != NONE && test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6243 LD_RUN_PATH=$x_libraries${LD_RUN_PATH+:}$LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6244 export LD_RUN_PATH
Dave Love <fx@gnu.org>
parents:
diff changeset
6245 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6246
Dave Love <fx@gnu.org>
parents:
diff changeset
6247 if test "${opsys}" = "gnu-linux"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6248 echo "$as_me:6248: checking whether X on GNU/Linux needs -b to link" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6249 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
6250 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6251 #line 6246 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6252 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6253
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6254 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6255 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6256 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6257 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6258 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6259 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6260 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6261 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6262 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6263 if { (eval echo "$as_me:6263: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6264 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6265 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6266 echo "$as_me:6266: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6267 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6268 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6269 { (eval echo "$as_me:6269: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6270 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6271 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6272 echo "$as_me:6272: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6273 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6274 xlinux_first_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6275 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6276 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6277 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6278 xlinux_first_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6279 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6281 if test "${xlinux_first_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6282 OLD_LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6283 OLD_C_SWITCH_X_SITE="$C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6284 OLD_CPPFLAGS="$CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6285 OLD_LIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6286 LD_SWITCH_X_SITE="$LD_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6287 C_SWITCH_X_SITE="$C_SWITCH_X_SITE -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6288 CPPFLAGS="$CPPFLAGS -b i486-linuxaout"
Dave Love <fx@gnu.org>
parents:
diff changeset
6289 LIBS="$LIBS -b i486-linuxaout"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6290 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6291 #line 6286 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6292 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6293
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6294 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6295 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6296 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6297 XOpenDisplay ("foo");
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6298 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6299 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6300 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6301 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6302 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6303 if { (eval echo "$as_me:6303: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6304 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6305 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6306 echo "$as_me:6306: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6307 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6308 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6309 { (eval echo "$as_me:6309: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6310 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6311 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6312 echo "$as_me:6312: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6313 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6314 xlinux_second_failure=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6315 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6316 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6317 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6318 xlinux_second_failure=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6319 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6321 if test "${xlinux_second_failure}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6322 # If we get the same failure with -b, there is no use adding -b.
Dave Love <fx@gnu.org>
parents:
diff changeset
6323 # So take it out. This plays safe.
Dave Love <fx@gnu.org>
parents:
diff changeset
6324 LD_SWITCH_X_SITE="$OLD_LD_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6325 C_SWITCH_X_SITE="$OLD_C_SWITCH_X_SITE"
Dave Love <fx@gnu.org>
parents:
diff changeset
6326 CPPFLAGS="$OLD_CPPFLAGS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6327 LIBS="$OLD_LIBS"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6328 echo "$as_me:6328: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6329 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6330 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6331 echo "$as_me:6331: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6332 echo "${ECHO_T}yes" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6333 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6334 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6335 echo "$as_me:6335: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6336 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6337 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6338 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6339
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6340 # Reportedly, some broken Solaris systems have XKBlib.h but are missing
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6341 # header files included from there.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6342 echo "$as_me:6342: checking for Xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6343 echo $ECHO_N "checking for Xkb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6344 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6345 #line 6340 "configure"
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6346 #include "confdefs.h"
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6347 #include <X11/Xlib.h>
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6348 #include <X11/XKBlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6349 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6350 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6351 {
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6352 XkbDescPtr kb = XkbGetKeyboard (0, XkbAllComponentsMask, XkbUseCoreKbd);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6353 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6354 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6355 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6356 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6357 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6358 if { (eval echo "$as_me:6358: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6359 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6360 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6361 echo "$as_me:6361: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6362 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6363 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6364 { (eval echo "$as_me:6364: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6365 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6366 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6367 echo "$as_me:6367: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6368 (exit $ac_status); }; }; then
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6369 emacs_xkb=yes
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6370 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6371 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6372 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6373 emacs_xkb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6374 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6376 echo "$as_me:6376: result: $emacs_xkb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6377 echo "${ECHO_T}$emacs_xkb" >&6
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6378 if test $emacs_xkb = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6379
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6380 cat >>confdefs.h <<\EOF
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6381 #define HAVE_XKBGETKEYBOARD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6382 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6383
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6384 fi
35196
eb8cfdc5cabf *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 34446
diff changeset
6385
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6386 for ac_func in XrmSetDatabase XScreenResourceString \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6387 XScreenNumberOfScreen XSetWMProtocols
Dave Love <fx@gnu.org>
parents:
diff changeset
6388 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6390 echo "$as_me:6390: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6392 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6394 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6395 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6396 #line 6391 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6397 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6398 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6399 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6400 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6401 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6402 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6403 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6404 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6405 /* 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
6406 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6407 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6408 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6409
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6410 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6411 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6412 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6413 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
6414 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
6415 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
6416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
6417 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
6418 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6419 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6420 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6421
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6422 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6423 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6424 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6425 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6426 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6427 if { (eval echo "$as_me:6427: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6428 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6429 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6430 echo "$as_me:6430: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6431 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6432 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6433 { (eval echo "$as_me:6433: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6434 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6435 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6436 echo "$as_me:6436: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6437 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6438 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6439 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6440 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6441 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6442 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6443 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6445 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6446 echo "$as_me:6446: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6448 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6449 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6451 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6452
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6453 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6454 done
Dave Love <fx@gnu.org>
parents:
diff changeset
6455
Dave Love <fx@gnu.org>
parents:
diff changeset
6456 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6457
Dave Love <fx@gnu.org>
parents:
diff changeset
6458 if test "${window_system}" = "x11"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6459 echo "$as_me:6459: checking X11 version 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6460 echo $ECHO_N "checking X11 version 6... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6461 if test "${emacs_cv_x11_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6463 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6464 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6465 #line 6460 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6466 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6467 #include <X11/Xlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6468 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6469 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6470 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6471 #if XlibSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
6472 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6473 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6474
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6475 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6476 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6477 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6478 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6479 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6480 if { (eval echo "$as_me:6480: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6481 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6482 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6483 echo "$as_me:6483: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6484 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6485 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6486 { (eval echo "$as_me:6486: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6487 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6488 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6489 echo "$as_me:6489: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6490 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6491 emacs_cv_x11_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6492 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6493 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6494 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6495 emacs_cv_x11_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6496 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6498 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6499
Dave Love <fx@gnu.org>
parents:
diff changeset
6500 if test $emacs_cv_x11_version_6 = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6501 echo "$as_me:6501: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6502 echo "${ECHO_T}6 or newer" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6503
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6504 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6505 #define HAVE_X11R6 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6506 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6507
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6508 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6509 echo "$as_me:6509: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6510 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6511 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6512 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6513
Dave Love <fx@gnu.org>
parents:
diff changeset
6514 if test "${window_system}" = "x11"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6515 echo "$as_me:6515: checking X11 version 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6516 echo $ECHO_N "checking X11 version 5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6517 if test "${emacs_cv_x11_version_5+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6519 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6520 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6521 #line 6516 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6522 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6523 #include <X11/Xlib.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6524 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6525 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6526 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6527 #if XlibSpecificationRelease < 5
Dave Love <fx@gnu.org>
parents:
diff changeset
6528 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6529 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6530
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6531 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6532 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6533 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6534 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6535 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6536 if { (eval echo "$as_me:6536: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6537 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6538 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6539 echo "$as_me:6539: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6540 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6541 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6542 { (eval echo "$as_me:6542: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6543 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6544 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6545 echo "$as_me:6545: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6546 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6547 emacs_cv_x11_version_5=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6548 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6549 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6550 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6551 emacs_cv_x11_version_5=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6552 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6554 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6555
Dave Love <fx@gnu.org>
parents:
diff changeset
6556 if test $emacs_cv_x11_version_5 = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6557 echo "$as_me:6557: result: 5 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6558 echo "${ECHO_T}5 or newer" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6559 HAVE_X11R5=yes
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6560
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6561 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6562 #define HAVE_X11R5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6563 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6564
Dave Love <fx@gnu.org>
parents:
diff changeset
6565 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6566 HAVE_X11R5=no
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6567 echo "$as_me:6567: result: before 5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6568 echo "${ECHO_T}before 5" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6569 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6570 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6571
Dave Love <fx@gnu.org>
parents:
diff changeset
6572 if test x"${USE_X_TOOLKIT}" = xmaybe; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6573 if test x"${HAVE_X11R5}" = xyes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6574 echo "$as_me:6574: checking X11 version 5 with Xaw" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6575 echo $ECHO_N "checking X11 version 5 with Xaw... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6576 if test "${emacs_cv_x11_version_5_with_xaw+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6578 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6579 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6580 #line 6575 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6581 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6582
Dave Love <fx@gnu.org>
parents:
diff changeset
6583 #include <X11/Intrinsic.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
6584 #include <X11/Xaw/Simple.h>
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6585 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6586 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6587 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6588
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6589 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6590 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6591 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6592 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6593 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6594 if { (eval echo "$as_me:6594: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6595 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6596 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6597 echo "$as_me:6597: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6598 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6599 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6600 { (eval echo "$as_me:6600: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6601 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6602 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6603 echo "$as_me:6603: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6604 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6605 emacs_cv_x11_version_5_with_xaw=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6606 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6607 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6608 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6609 emacs_cv_x11_version_5_with_xaw=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6610 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6612 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6613
Dave Love <fx@gnu.org>
parents:
diff changeset
6614 if test $emacs_cv_x11_version_5_with_xaw = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6615 echo "$as_me:6615: result: 5 or newer, with Xaw; use toolkit by default" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6616 echo "${ECHO_T}5 or newer, with Xaw; use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6617 USE_X_TOOLKIT=LUCID
Dave Love <fx@gnu.org>
parents:
diff changeset
6618 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6619 echo "$as_me:6619: 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
6620 echo "${ECHO_T}before 5 or no Xaw; do not use toolkit by default" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6621 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6622 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6623 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6624 USE_X_TOOLKIT=none
Dave Love <fx@gnu.org>
parents:
diff changeset
6625 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6626 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6627
Dave Love <fx@gnu.org>
parents:
diff changeset
6628 X_TOOLKIT_TYPE=$USE_X_TOOLKIT
Dave Love <fx@gnu.org>
parents:
diff changeset
6629
Dave Love <fx@gnu.org>
parents:
diff changeset
6630 if test "${USE_X_TOOLKIT}" != "none"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6631 echo "$as_me:6631: checking X11 toolkit version" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6632 echo $ECHO_N "checking X11 toolkit version... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6633 if test "${emacs_cv_x11_toolkit_version_6+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6635 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6636 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6637 #line 6632 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6638 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6639 #include <X11/Intrinsic.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6640 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6641 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6642 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6643 #if XtSpecificationRelease < 6
Dave Love <fx@gnu.org>
parents:
diff changeset
6644 fail;
Dave Love <fx@gnu.org>
parents:
diff changeset
6645 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
6646
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6647 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6648 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6649 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6650 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6651 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6652 if { (eval echo "$as_me:6652: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6653 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6654 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6655 echo "$as_me:6655: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6656 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6657 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6658 { (eval echo "$as_me:6658: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6659 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6660 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6661 echo "$as_me:6661: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6662 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6663 emacs_cv_x11_toolkit_version_6=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6664 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6665 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6666 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6667 emacs_cv_x11_toolkit_version_6=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6668 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6670 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6671
Dave Love <fx@gnu.org>
parents:
diff changeset
6672 HAVE_X11XTR6=$emacs_cv_x11_toolkit_version_6
Dave Love <fx@gnu.org>
parents:
diff changeset
6673 if test $emacs_cv_x11_toolkit_version_6 = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6674 echo "$as_me:6674: result: 6 or newer" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6675 echo "${ECHO_T}6 or newer" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6676
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6677 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6678 #define HAVE_X11XTR6 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6679 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6680
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6681 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6682 echo "$as_me:6682: result: before 6" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6683 echo "${ECHO_T}before 6" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6684 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6685
Dave Love <fx@gnu.org>
parents:
diff changeset
6686 OLDLIBS="$LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6687 if test x$HAVE_X11XTR6 = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6688 LIBS="-lXt -lSM -lICE $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6689 else
Dave Love <fx@gnu.org>
parents:
diff changeset
6690 LIBS="-lXt $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6691 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6692
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6693 echo "$as_me:6693: checking for XmuConvertStandardSelection in -lXmu" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6694 echo $ECHO_N "checking for XmuConvertStandardSelection in -lXmu... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6695 if test "${ac_cv_lib_Xmu_XmuConvertStandardSelection+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6696 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6697 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6698 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6699 LIBS="-lXmu $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6700 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6701 #line 6696 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6702 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6703
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6704 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6705 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6706 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6707 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6708 /* 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
6709 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6710 char XmuConvertStandardSelection ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6711 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6712 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6713 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6714 XmuConvertStandardSelection ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6715 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6716 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6717 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6718 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6719 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6720 if { (eval echo "$as_me:6720: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6721 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6722 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6723 echo "$as_me:6723: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6724 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6725 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6726 { (eval echo "$as_me:6726: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6727 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6728 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6729 echo "$as_me:6729: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6730 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6731 ac_cv_lib_Xmu_XmuConvertStandardSelection=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6732 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6733 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6734 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6735 ac_cv_lib_Xmu_XmuConvertStandardSelection=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6736 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6738 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6739 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6740 echo "$as_me:6740: result: $ac_cv_lib_Xmu_XmuConvertStandardSelection" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6741 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuConvertStandardSelection" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6742 if test $ac_cv_lib_Xmu_XmuConvertStandardSelection = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6743 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6744 #define HAVE_LIBXMU 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6745 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6746
Dave Love <fx@gnu.org>
parents:
diff changeset
6747 LIBS="-lXmu $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
6748
Dave Love <fx@gnu.org>
parents:
diff changeset
6749 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6750
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6751 test $ac_cv_lib_Xmu_XmuConvertStandardSelection = no && LIBS="$OLDLIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6752 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6753
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6754 # 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
6755 if test "${HAVE_X11}" = "yes"; then
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6756 if test "${USE_X_TOOLKIT}" != "none"; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6757
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6758 echo "$as_me:6758: checking for XShapeQueryExtension in -lXext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6759 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6760 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6761 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6762 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6763 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6764 LIBS="-lXext $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6765 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6766 #line 6761 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6767 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6768
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6769 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6770 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6771 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6772 #endif
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6773 /* 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
6774 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6775 char XShapeQueryExtension ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6776 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6777 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6778 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6779 XShapeQueryExtension ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6780 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6781 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6782 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6783 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6784 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6785 if { (eval echo "$as_me:6785: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6786 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6787 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6788 echo "$as_me:6788: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6789 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6790 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6791 { (eval echo "$as_me:6791: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6792 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6793 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6794 echo "$as_me:6794: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6795 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6796 ac_cv_lib_Xext_XShapeQueryExtension=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6797 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6798 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6799 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6800 ac_cv_lib_Xext_XShapeQueryExtension=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6801 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6803 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6804 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6805 echo "$as_me:6805: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6806 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6807 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6808 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6809 #define HAVE_LIBXEXT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6810 EOF
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6811
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6812 LIBS="-lXext $LIBS"
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6813
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6814 fi
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6815
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6816 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6817 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6818
Dave Love <fx@gnu.org>
parents:
diff changeset
6819 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6820 echo "$as_me:6820: checking for Motif version 2.1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6821 echo $ECHO_N "checking for Motif version 2.1... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6822 if test "${emacs_cv_motif_version_2_1+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6824 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6825 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6826 #line 6821 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6827 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6828 #include <Xm/Xm.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6829 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6830 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6831 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6832 #if XmVERSION > 2 || (XmVERSION == 2 && XmREVISION >= 1)
Dave Love <fx@gnu.org>
parents:
diff changeset
6833 int x = 5;
Dave Love <fx@gnu.org>
parents:
diff changeset
6834 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
6835 Motif version prior to 2.1.
Dave Love <fx@gnu.org>
parents:
diff changeset
6836 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6837 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6838 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6839 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6840 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6841 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6842 if { (eval echo "$as_me:6842: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6843 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6844 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6845 echo "$as_me:6845: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6846 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6847 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6848 { (eval echo "$as_me:6848: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6849 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6850 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6851 echo "$as_me:6851: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6852 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6853 emacs_cv_motif_version_2_1=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
6854 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6855 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6856 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6857 emacs_cv_motif_version_2_1=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6858 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6859 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6860 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6861 echo "$as_me:6861: result: $emacs_cv_motif_version_2_1" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6862 echo "${ECHO_T}$emacs_cv_motif_version_2_1" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6863 HAVE_MOTIF_2_1=$emacs_cv_motif_version_2_1
Dave Love <fx@gnu.org>
parents:
diff changeset
6864 if test $emacs_cv_motif_version_2_1 = yes; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
6865 HAVE_LIBXP=no
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6866
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6867 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6868 #define HAVE_MOTIF_2_1 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6869 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6870
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6871 echo "$as_me:6871: checking for XpCreateContext in -lXp" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6872 echo $ECHO_N "checking for XpCreateContext in -lXp... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6873 if test "${ac_cv_lib_Xp_XpCreateContext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6874 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6875 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6876 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6877 LIBS="-lXp $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6878 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6879 #line 6874 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6880 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6881
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6882 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6883 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6884 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6885 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6886 /* 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
6887 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6888 char XpCreateContext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6889 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6890 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6891 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6892 XpCreateContext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6893 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6894 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6895 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6896 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6897 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6898 if { (eval echo "$as_me:6898: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6899 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6900 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6901 echo "$as_me:6901: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6902 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
6903 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6904 { (eval echo "$as_me:6904: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6905 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6906 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6907 echo "$as_me:6907: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6908 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6909 ac_cv_lib_Xp_XpCreateContext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6910 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6911 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6912 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6913 ac_cv_lib_Xp_XpCreateContext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6914 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6916 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6917 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6918 echo "$as_me:6918: result: $ac_cv_lib_Xp_XpCreateContext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6919 echo "${ECHO_T}$ac_cv_lib_Xp_XpCreateContext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6920 if test $ac_cv_lib_Xp_XpCreateContext = yes; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6921 HAVE_LIBXP=yes
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6922 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6923
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6924 if test ${HAVE_LIBXP} = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
6925
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6926 cat >>confdefs.h <<\EOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6927 #define HAVE_LIBXP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6928 EOF
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
6929
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6930 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6931 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6932 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
6933
Dave Love <fx@gnu.org>
parents:
diff changeset
6934 ### Is -lXaw3d available?
Dave Love <fx@gnu.org>
parents:
diff changeset
6935 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
6936 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
6937 if test "${USE_X_TOOLKIT}" != "none"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6938 echo "$as_me:6938: checking for X11/Xaw3d/Scrollbar.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6939 echo $ECHO_N "checking for X11/Xaw3d/Scrollbar.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6940 if test "${ac_cv_header_X11_Xaw3d_Scrollbar_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6942 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6943 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6944 #line 6939 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6945 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
6946 #include <X11/Xaw3d/Scrollbar.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6947 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6948 if { (eval echo "$as_me:6948: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6950 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6951 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6952 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6953 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6954 echo "$as_me:6954: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6955 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6956 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6957 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6958 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6959 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6960 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6961 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6962 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6963 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6964 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6965 ac_cv_header_X11_Xaw3d_Scrollbar_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6966 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6967 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6968 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6969 ac_cv_header_X11_Xaw3d_Scrollbar_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6970 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6971 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6972 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6973 echo "$as_me:6973: result: $ac_cv_header_X11_Xaw3d_Scrollbar_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6974 echo "${ECHO_T}$ac_cv_header_X11_Xaw3d_Scrollbar_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6975 if test $ac_cv_header_X11_Xaw3d_Scrollbar_h = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
6976 echo "$as_me:6976: checking for XawScrollbarSetThumb in -lXaw3d" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6977 echo $ECHO_N "checking for XawScrollbarSetThumb in -lXaw3d... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6978 if test "${ac_cv_lib_Xaw3d_XawScrollbarSetThumb+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6979 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6980 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6981 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
6982 LIBS="-lXaw3d $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6983 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
6984 #line 6979 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6985 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6986
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6987 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6988 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6989 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6990 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
6991 /* 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
6992 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6993 char XawScrollbarSetThumb ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6994 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6995 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6996 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6997 XawScrollbarSetThumb ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6998 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
6999 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7000 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7001 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7002 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7003 if { (eval echo "$as_me:7003: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7004 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7005 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7006 echo "$as_me:7006: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7007 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7008 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7009 { (eval echo "$as_me:7009: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7010 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7011 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7012 echo "$as_me:7012: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7013 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7014 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7015 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7016 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7017 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7018 ac_cv_lib_Xaw3d_XawScrollbarSetThumb=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7019 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7021 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7022 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7023 echo "$as_me:7023: result: $ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7024 echo "${ECHO_T}$ac_cv_lib_Xaw3d_XawScrollbarSetThumb" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7025 if test $ac_cv_lib_Xaw3d_XawScrollbarSetThumb = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7026 HAVE_XAW3D=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7027 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7028
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7029 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7030
Dave Love <fx@gnu.org>
parents:
diff changeset
7031 if test "${HAVE_XAW3D}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7032
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7033 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7034 #define HAVE_XAW3D 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7035 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7036
Dave Love <fx@gnu.org>
parents:
diff changeset
7037 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7038 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7039 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7040
Dave Love <fx@gnu.org>
parents:
diff changeset
7041 USE_TOOLKIT_SCROLL_BARS=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7042 if test "${with_toolkit_scroll_bars}" != "no"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7043 if test "${USE_X_TOOLKIT}" != "none"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7044 if test "${USE_X_TOOLKIT}" = "MOTIF"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7045 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7046 #define USE_TOOLKIT_SCROLL_BARS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7047 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7048
Dave Love <fx@gnu.org>
parents:
diff changeset
7049 HAVE_XAW3D=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7050 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7051 elif test "${HAVE_XAW3D}" = "yes"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7052 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7053 #define USE_TOOLKIT_SCROLL_BARS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7054 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7055
Dave Love <fx@gnu.org>
parents:
diff changeset
7056 USE_TOOLKIT_SCROLL_BARS=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7057 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7058 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7059 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7060
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7061 if test "${with_xim}" != "no"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7062
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7063 cat >>confdefs.h <<\EOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7064 #define USE_XIM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7065 EOF
29949
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7066
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7067 fi
abd4c37731d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 29906
diff changeset
7068
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7069 ### Use -lXpm if available, unless `--with-xpm=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7070 HAVE_XPM=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7071 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7072 if test "${with_xpm}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7073 echo "$as_me:7073: checking for X11/xpm.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7074 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7075 if test "${ac_cv_header_X11_xpm_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7077 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7078 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7079 #line 7074 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7080 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7081 #include <X11/xpm.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7082 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7083 if { (eval echo "$as_me:7083: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7085 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7086 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7087 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7088 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7089 echo "$as_me:7089: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7090 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7091 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7092 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7093 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7094 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7095 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7096 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7097 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7098 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7099 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7100 ac_cv_header_X11_xpm_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7101 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7102 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7103 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7104 ac_cv_header_X11_xpm_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7105 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7106 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7107 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7108 echo "$as_me:7108: result: $ac_cv_header_X11_xpm_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7109 echo "${ECHO_T}$ac_cv_header_X11_xpm_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7110 if test $ac_cv_header_X11_xpm_h = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7111 echo "$as_me:7111: checking for XpmReadFileToPixmap in -lXpm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7112 echo $ECHO_N "checking for XpmReadFileToPixmap in -lXpm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7113 if test "${ac_cv_lib_Xpm_XpmReadFileToPixmap+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7114 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7115 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7116 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7117 LIBS="-lXpm -lX11 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7118 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7119 #line 7114 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7120 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7121
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7122 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7123 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7124 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7125 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7126 /* 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
7127 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7128 char XpmReadFileToPixmap ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7129 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7130 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7131 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7132 XpmReadFileToPixmap ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7133 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7134 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7135 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7136 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7137 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7138 if { (eval echo "$as_me:7138: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7139 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7140 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7141 echo "$as_me:7141: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7142 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7143 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7144 { (eval echo "$as_me:7144: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7145 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7146 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7147 echo "$as_me:7147: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7148 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7149 ac_cv_lib_Xpm_XpmReadFileToPixmap=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7150 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7151 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7152 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7153 ac_cv_lib_Xpm_XpmReadFileToPixmap=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7154 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7156 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7157 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7158 echo "$as_me:7158: result: $ac_cv_lib_Xpm_XpmReadFileToPixmap" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7159 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToPixmap" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7160 if test $ac_cv_lib_Xpm_XpmReadFileToPixmap = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7161 HAVE_XPM=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7162 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7163
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7164 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7165
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7166 if test "${HAVE_XPM}" = "yes"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7167 echo "$as_me:7167: checking for XpmReturnAllocPixels preprocessor define" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7168 echo $ECHO_N "checking for XpmReturnAllocPixels preprocessor define... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7169 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7170 #line 7165 "configure"
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7171 #include "confdefs.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7172 #include "X11/xpm.h"
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7173 #ifndef XpmReturnAllocPixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7174 no_return_alloc_pixels
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7175 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7176
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7177 _ACEOF
30140
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7179 egrep "no_return_alloc_pixels" >/dev/null 2>&1; then
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7180 HAVE_XPM=no
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7181 else
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7182 HAVE_XPM=yes
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7183 fi
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7184 rm -f conftest*
a567b99dd7d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 30099
diff changeset
7185
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7186 if test "${HAVE_XPM}" = "yes"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7187 echo "$as_me:7187: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7188 echo "${ECHO_T}yes" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7189 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7190 echo "$as_me:7190: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7191 echo "${ECHO_T}no" >&6
36903
d12b4a1326c1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 36354
diff changeset
7192 fi
31320
298f3aff1431 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31229
diff changeset
7193 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7194 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7195
Dave Love <fx@gnu.org>
parents:
diff changeset
7196 if test "${HAVE_XPM}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7197
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7198 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7199 #define HAVE_XPM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7200 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7201
Dave Love <fx@gnu.org>
parents:
diff changeset
7202 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7203 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7204
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7205 ### Use -ljpeg if available, unless `--with-jpeg=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7206 HAVE_JPEG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7207 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7208 if test "${with_jpeg}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7209 echo "$as_me:7209: checking for jerror.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7210 echo $ECHO_N "checking for jerror.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7211 if test "${ac_cv_header_jerror_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7212 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7213 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7214 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7215 #line 7210 "configure"
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7216 #include "confdefs.h"
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7217 #include <jerror.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7218 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7219 if { (eval echo "$as_me:7219: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7221 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7222 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7223 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7224 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7225 echo "$as_me:7225: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7226 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7227 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7228 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7229 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7230 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7231 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7232 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7233 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7234 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7235 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7236 ac_cv_header_jerror_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7237 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7238 echo "$as_me: failed program was:" >&5
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7239 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7240 ac_cv_header_jerror_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7241 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7242 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7243 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7244 echo "$as_me:7244: result: $ac_cv_header_jerror_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7245 echo "${ECHO_T}$ac_cv_header_jerror_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7246 if test $ac_cv_header_jerror_h = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7247 echo "$as_me:7247: checking for jpeg_destroy_compress in -ljpeg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7248 echo $ECHO_N "checking for jpeg_destroy_compress in -ljpeg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7249 if test "${ac_cv_lib_jpeg_jpeg_destroy_compress+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7251 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7252 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7253 LIBS="-ljpeg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7254 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7255 #line 7250 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7256 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7257
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7258 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7259 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7260 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7261 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7262 /* 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
7263 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7264 char jpeg_destroy_compress ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7265 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7266 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7267 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7268 jpeg_destroy_compress ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7269 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7270 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7271 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7272 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7273 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7274 if { (eval echo "$as_me:7274: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7275 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7276 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7277 echo "$as_me:7277: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7278 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7279 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7280 { (eval echo "$as_me:7280: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7281 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7282 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7283 echo "$as_me:7283: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7284 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7285 ac_cv_lib_jpeg_jpeg_destroy_compress=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7286 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7287 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7288 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7289 ac_cv_lib_jpeg_jpeg_destroy_compress=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7290 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7292 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7293 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7294 echo "$as_me:7294: result: $ac_cv_lib_jpeg_jpeg_destroy_compress" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7295 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_destroy_compress" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7296 if test $ac_cv_lib_jpeg_jpeg_destroy_compress = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7297 HAVE_JPEG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7298 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7299
27356
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7300 fi
6a78e514e6d3 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 27205
diff changeset
7301
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7302 fi
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7303
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7304 if test "${HAVE_JPEG}" = "yes"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7305 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7306 #define HAVE_JPEG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7307 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7308
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7309 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7310 #line 7305 "configure"
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7311 #include "confdefs.h"
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7312 #include <jpeglib.h>
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7313 version=JPEG_LIB_VERSION
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7314
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7315 _ACEOF
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7317 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
7318 cat >>confdefs.h <<\EOF
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7319 #define HAVE_JPEG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7320 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7321
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7322 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7323 { echo "$as_me:7323: WARNING: libjpeg found, but not version 6b or later" >&5
43721
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7324 echo "$as_me: WARNING: libjpeg found, but not version 6b or later" >&2;}
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7325 HAVE_JPEG=no
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7326 fi
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7327 rm -f conftest*
7973bc952a02 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 43640
diff changeset
7328
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7329 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7330 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7331
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7332 ### Use -lpng if available, unless `--with-png=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7333 HAVE_PNG=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7334 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7335 if test "${with_png}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7336 echo "$as_me:7336: checking for png.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7337 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7338 if test "${ac_cv_header_png_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7339 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7340 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7341 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7342 #line 7337 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7343 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7344 #include <png.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7345 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7346 if { (eval echo "$as_me:7346: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7348 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7349 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7350 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7351 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7352 echo "$as_me:7352: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7353 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7354 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7355 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7356 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7357 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7358 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7359 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7360 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7361 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7362 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7363 ac_cv_header_png_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7364 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7365 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7366 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7367 ac_cv_header_png_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7368 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7369 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7370 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7371 echo "$as_me:7371: result: $ac_cv_header_png_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7372 echo "${ECHO_T}$ac_cv_header_png_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7373 if test $ac_cv_header_png_h = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7374 echo "$as_me:7374: checking for png_get_channels in -lpng" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7375 echo $ECHO_N "checking for png_get_channels in -lpng... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7376 if test "${ac_cv_lib_png_png_get_channels+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7378 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7379 ac_check_lib_save_LIBS=$LIBS
35206
054acbd5e9f7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35196
diff changeset
7380 LIBS="-lpng -lz -lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7381 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7382 #line 7377 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7383 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7384
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7385 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7386 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7387 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7388 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7389 /* 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
7390 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7391 char png_get_channels ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7392 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7393 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7394 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7395 png_get_channels ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7396 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7397 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7398 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7399 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7400 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7401 if { (eval echo "$as_me:7401: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7402 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7403 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7404 echo "$as_me:7404: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7405 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7406 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7407 { (eval echo "$as_me:7407: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7408 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7409 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7410 echo "$as_me:7410: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7411 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7412 ac_cv_lib_png_png_get_channels=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7413 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7414 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7415 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7416 ac_cv_lib_png_png_get_channels=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7417 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7419 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7420 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7421 echo "$as_me:7421: result: $ac_cv_lib_png_png_get_channels" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7422 echo "${ECHO_T}$ac_cv_lib_png_png_get_channels" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7423 if test $ac_cv_lib_png_png_get_channels = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7424 HAVE_PNG=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7425 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7426
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7427 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7428
Dave Love <fx@gnu.org>
parents:
diff changeset
7429 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7430
Dave Love <fx@gnu.org>
parents:
diff changeset
7431 if test "${HAVE_PNG}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7432
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7433 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7434 #define HAVE_PNG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7435 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7436
Dave Love <fx@gnu.org>
parents:
diff changeset
7437 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7438 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7439
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7440 ### Use -ltiff if available, unless `--with-tiff=no'.
Dave Love <fx@gnu.org>
parents:
diff changeset
7441 HAVE_TIFF=no
Dave Love <fx@gnu.org>
parents:
diff changeset
7442 if test "${HAVE_X11}" = "yes"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
7443 if test "${with_tiff}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7444 echo "$as_me:7444: checking for tiffio.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7445 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7446 if test "${ac_cv_header_tiffio_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7447 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7448 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7449 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7450 #line 7445 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7451 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7452 #include <tiffio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7453 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7454 if { (eval echo "$as_me:7454: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7455 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7456 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7457 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7458 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7459 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7460 echo "$as_me:7460: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7461 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7462 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7463 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7464 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7465 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7466 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7467 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7468 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7469 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7470 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7471 ac_cv_header_tiffio_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7472 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7473 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7474 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7475 ac_cv_header_tiffio_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7476 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7477 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7478 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7479 echo "$as_me:7479: result: $ac_cv_header_tiffio_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7480 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7481 if test $ac_cv_header_tiffio_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7482 tifflibs="-lz -lm"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7483 # At least one tiff package requires the jpeg library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7484 if test "${HAVE_JPEG}" = yes; then tifflibs="-ljpeg $tifflibs"; fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7485 echo "$as_me:7485: checking for TIFFGetVersion in -ltiff" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7486 echo $ECHO_N "checking for TIFFGetVersion in -ltiff... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7487 if test "${ac_cv_lib_tiff_TIFFGetVersion+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7488 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7489 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7490 ac_check_lib_save_LIBS=$LIBS
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7491 LIBS="-ltiff $tifflibs $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7492 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7493 #line 7488 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7494 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7495
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7496 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7497 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7498 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7499 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7500 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7501 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7502 char TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7503 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7504 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7505 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7506 TIFFGetVersion ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7507 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7508 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7509 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7510 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7511 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7512 if { (eval echo "$as_me:7512: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7513 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7514 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7515 echo "$as_me:7515: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7516 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7517 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7518 { (eval echo "$as_me:7518: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7519 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7520 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7521 echo "$as_me:7521: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7522 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7523 ac_cv_lib_tiff_TIFFGetVersion=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7524 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7525 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7526 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7527 ac_cv_lib_tiff_TIFFGetVersion=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7528 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7530 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7531 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7532 echo "$as_me:7532: result: $ac_cv_lib_tiff_TIFFGetVersion" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7533 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFGetVersion" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7534 if test $ac_cv_lib_tiff_TIFFGetVersion = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7535 HAVE_TIFF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7536 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7537
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7538 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7539
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7540 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7541
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7542 if test "${HAVE_TIFF}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7543
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7544 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7545 #define HAVE_TIFF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7546 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7547
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7548 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7549 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7550
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7551 ### Use -lgif if available, unless `--with-gif=no'.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7552 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
7553 if test "${HAVE_X11}" = "yes"; then
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7554 if test "${with_gif}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7555 echo "$as_me:7555: checking for gif_lib.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7556 echo $ECHO_N "checking for gif_lib.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7557 if test "${ac_cv_header_gif_lib_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7558 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7559 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7560 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7561 #line 7556 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7562 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7563 #include <gif_lib.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7564 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7565 if { (eval echo "$as_me:7565: \"$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
7566 (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
7567 ac_status=$?
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7568 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
7569 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
7570 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7571 echo "$as_me:7571: \$? = $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
7572 (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
7573 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
7574 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
7575 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7576 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
7577 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7578 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7579 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
7580 fi
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 -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7582 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
7583 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7584 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
7585 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7586 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
7587 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7588 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7589 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7590 echo "$as_me:7590: result: $ac_cv_header_gif_lib_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7591 echo "${ECHO_T}$ac_cv_header_gif_lib_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7592 if test $ac_cv_header_gif_lib_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7593 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7594 # Earlier versions can crash Emacs.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7595 echo "$as_me:7595: checking for EGifPutExtensionLast in -lungif" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7596 echo $ECHO_N "checking for EGifPutExtensionLast in -lungif... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7597 if test "${ac_cv_lib_ungif_EGifPutExtensionLast+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7599 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7600 ac_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7601 LIBS="-lungif $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7602 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7603 #line 7598 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7604 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7605
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7606 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7607 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7608 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7609 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7610 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7611 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7612 char EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7613 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7614 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7615 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7616 EGifPutExtensionLast ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7617 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7618 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7619 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7620 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7621 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7622 if { (eval echo "$as_me:7622: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7623 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7624 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7625 echo "$as_me:7625: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7626 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7627 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7628 { (eval echo "$as_me:7628: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7629 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7630 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7631 echo "$as_me:7631: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7632 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7633 ac_cv_lib_ungif_EGifPutExtensionLast=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7634 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7635 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7636 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7637 ac_cv_lib_ungif_EGifPutExtensionLast=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7638 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7639 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7640 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7641 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7642 echo "$as_me:7642: result: $ac_cv_lib_ungif_EGifPutExtensionLast" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7643 echo "${ECHO_T}$ac_cv_lib_ungif_EGifPutExtensionLast" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7644 if test $ac_cv_lib_ungif_EGifPutExtensionLast = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7645 HAVE_GIF=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7646 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7647
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7648 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7649
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7650 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7651
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7652 if test "${HAVE_GIF}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7653
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7654 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7655 #define HAVE_GIF 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7656 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7657
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7658 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7659 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7660
44890
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7661 ### 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
7662 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
7663 if test "${with_carbon}" != "no"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7664 echo "$as_me:7664: 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
7665 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
7666 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
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7668 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7669 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7670 #line 7665 "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
7671 #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
7672 #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
7673 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7674 if { (eval echo "$as_me:7674: \"$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
7675 (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
7676 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
7677 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
7678 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
7679 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7680 echo "$as_me:7680: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7681 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7682 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7683 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7684 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7685 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7686 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7687 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7688 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7689 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7690 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7691 ac_cv_header_Carbon_Carbon_h=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7692 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7693 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7694 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7695 ac_cv_header_Carbon_Carbon_h=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7696 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7697 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7698 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7699 echo "$as_me:7699: result: $ac_cv_header_Carbon_Carbon_h" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7700 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7701 if test $ac_cv_header_Carbon_Carbon_h = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7702 HAVE_CARBON=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7703 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7704
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7705 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7706
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7707 if test "${HAVE_CARBON}" = "yes"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7708
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7709 cat >>confdefs.h <<\EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7710 #define HAVE_CARBON 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7711 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7712
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7713 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7714
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7715 ### Use session management (-lSM -lICE) if available
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7716 HAVE_X_SM=no
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7717 if test "${HAVE_X11}" = "yes"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7718 echo "$as_me:7718: checking for X11/SM/SMlib.h" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7719 echo $ECHO_N "checking for X11/SM/SMlib.h... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7720 if test "${ac_cv_header_X11_SM_SMlib_h+set}" = set; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7721 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7722 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7723 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7724 #line 7719 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7725 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7726 #include <X11/SM/SMlib.h>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7727 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7728 if { (eval echo "$as_me:7728: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7730 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7731 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7732 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7733 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7734 echo "$as_me:7734: \$? = $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
7735 (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
7736 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
7737 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
7738 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7739 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
7740 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7741 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7742 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
7743 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7744 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7745 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
7746 else
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7747 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
7748 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7749 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
7750 fi
01b93e5e53a7 Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,
Andrew Choi <akochoi@shaw.ca>
parents: 44809
diff changeset
7751 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7752 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7753 echo "$as_me:7753: 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
7754 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
7755 if test $ac_cv_header_X11_SM_SMlib_h = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7756 echo "$as_me:7756: 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
7757 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
7758 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
7759 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
7760 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7761 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
7762 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
7763 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7764 #line 7759 "configure"
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7765 #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
7766
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7767 /* 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
7768 #ifdef __cplusplus
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7769 extern "C"
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7770 #endif
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7771 /* 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
7772 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
7773 char SmcOpenConnection ();
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7774 int
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7775 main ()
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7776 {
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7777 SmcOpenConnection ();
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7778 ;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7779 return 0;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7780 }
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7781 _ACEOF
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7782 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7783 if { (eval echo "$as_me:7783: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7784 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7785 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7786 echo "$as_me:7786: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7787 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7788 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7789 { (eval echo "$as_me:7789: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7790 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7791 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7792 echo "$as_me:7792: \$? = $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
7793 (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
7794 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
7795 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7796 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
7797 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
7798 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
7799 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7800 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
7801 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
7802 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7803 echo "$as_me:7803: 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
7804 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
7805 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
7806 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
7807 else
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7808 -lICE
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7809 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7810
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7811 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7812
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7813 if test "${HAVE_X_SM}" = "yes"; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7814
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7815 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
7816 #define HAVE_X_SM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7817 EOF
43824
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7818
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7819 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
7820 *-lSM*) ;;
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7821 *) 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
7822 esac
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7823 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7824 fi
0f0939983d10 Added test for X Session Management (HAVE_X_SM).
Jan Djärv <jan.h.d@swipnet.se>
parents: 43721
diff changeset
7825
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7826 # If netdb.h doesn't declare h_errno, we must declare it by hand.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7827 echo "$as_me:7827: checking whether netdb declares h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7828 echo $ECHO_N "checking whether netdb declares h_errno... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7829 if test "${emacs_cv_netdb_declares_h_errno+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7830 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7831 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7832 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7833 #line 7828 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7834 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7835 #include <netdb.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7836 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7837 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7838 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7839 return h_errno;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7840 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7841 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7842 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7843 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7844 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7845 if { (eval echo "$as_me:7845: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7846 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7847 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7848 echo "$as_me:7848: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7849 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7850 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7851 { (eval echo "$as_me:7851: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7852 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7853 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7854 echo "$as_me:7854: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7855 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7856 emacs_cv_netdb_declares_h_errno=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7857 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7858 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7859 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7860 emacs_cv_netdb_declares_h_errno=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7861 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7863 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7864 echo "$as_me:7864: result: $emacs_cv_netdb_declares_h_errno" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7865 echo "${ECHO_T}$emacs_cv_netdb_declares_h_errno" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7866 if test $emacs_cv_netdb_declares_h_errno = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
7867
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7868 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7869 #define HAVE_H_ERRNO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7870 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7871
Dave Love <fx@gnu.org>
parents:
diff changeset
7872 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
7873
Dave Love <fx@gnu.org>
parents:
diff changeset
7874 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
Dave Love <fx@gnu.org>
parents:
diff changeset
7875 # for constant arguments. Useless!
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7876 echo "$as_me:7876: checking for working alloca.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7877 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7878 if test "${ac_cv_working_alloca_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7879 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7880 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7881 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7882 #line 7877 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7883 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
7884 #include <alloca.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7885 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7886 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7887 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7888 char *p = (char *) alloca (2 * sizeof (int));
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7889 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7890 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7891 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7892 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7893 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7894 if { (eval echo "$as_me:7894: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7895 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7896 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7897 echo "$as_me:7897: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7898 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7899 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7900 { (eval echo "$as_me:7900: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7901 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7902 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7903 echo "$as_me:7903: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7904 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7905 ac_cv_working_alloca_h=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7906 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7907 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7908 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7909 ac_cv_working_alloca_h=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7910 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7912 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7913 echo "$as_me:7913: result: $ac_cv_working_alloca_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7914 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7915 if test $ac_cv_working_alloca_h = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7916
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7917 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7918 #define HAVE_ALLOCA_H 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7919 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7920
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7921 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7922
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7923 echo "$as_me:7923: checking for alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7924 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7925 if test "${ac_cv_func_alloca_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7926 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7927 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7928 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7929 #line 7924 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7930 #include "confdefs.h"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7931 #ifdef __GNUC__
Dave Love <fx@gnu.org>
parents:
diff changeset
7932 # define alloca __builtin_alloca
Dave Love <fx@gnu.org>
parents:
diff changeset
7933 #else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7934 # ifdef _MSC_VER
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7935 # include <malloc.h>
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7936 # define alloca _alloca
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7937 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7938 # if HAVE_ALLOCA_H
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7939 # include <alloca.h>
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7940 # else
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7941 # ifdef _AIX
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7942 #pragma alloca
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7943 # else
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7944 # ifndef alloca /* predefined by HP cc +Olibcalls */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7945 char *alloca ();
27205
5b9c236a581d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 26708
diff changeset
7946 # endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7947 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7948 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7949 # endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7950 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
7951
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7952 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7953 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7954 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7955 char *p = (char *) alloca (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7956 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7957 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7958 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7959 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7960 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7961 if { (eval echo "$as_me:7961: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7962 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7963 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7964 echo "$as_me:7964: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7965 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
7966 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7967 { (eval echo "$as_me:7967: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7968 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7969 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7970 echo "$as_me:7970: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7971 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7972 ac_cv_func_alloca_works=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
7973 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7974 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7975 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7976 ac_cv_func_alloca_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7977 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7979 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
7980 echo "$as_me:7980: result: $ac_cv_func_alloca_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7981 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7982
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7983 if test $ac_cv_func_alloca_works = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7984
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7985 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7986 #define HAVE_ALLOCA 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7987 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7988
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7989 else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7990 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7991 # that cause trouble. Some versions do not even contain alloca or
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7992 # contain a buggy version. If you still want to use their alloca,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7993 # use ar to extract alloca.o from them instead of compiling alloca.c.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7994
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7995 ALLOCA=alloca.$ac_objext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
7996
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7997 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
7998 #define C_ALLOCA 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
7999 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8000
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8001 echo "$as_me:8001: checking whether \`alloca.c' needs Cray hooks" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8002 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8003 if test "${ac_cv_os_cray+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8004 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8005 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8006 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8007 #line 8002 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8008 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8009 #if defined(CRAY) && ! defined(CRAY2)
Dave Love <fx@gnu.org>
parents:
diff changeset
8010 webecray
Dave Love <fx@gnu.org>
parents:
diff changeset
8011 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
8012 wenotbecray
Dave Love <fx@gnu.org>
parents:
diff changeset
8013 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
8014
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8015 _ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Dave Love <fx@gnu.org>
parents:
diff changeset
8017 egrep "webecray" >/dev/null 2>&1; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8018 ac_cv_os_cray=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
8019 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8020 ac_cv_os_cray=no
Dave Love <fx@gnu.org>
parents:
diff changeset
8021 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8022 rm -f conftest*
Dave Love <fx@gnu.org>
parents:
diff changeset
8023
Dave Love <fx@gnu.org>
parents:
diff changeset
8024 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8025 echo "$as_me:8025: result: $ac_cv_os_cray" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8026 echo "${ECHO_T}$ac_cv_os_cray" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8027 if test $ac_cv_os_cray = yes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8028 for ac_func in _getb67 GETB67 getb67; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8030 echo "$as_me:8030: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8032 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8034 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8035 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8036 #line 8031 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8037 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8038 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8039 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8040 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8041 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8042 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8043 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8044 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8045 /* 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
8046 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8047 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8048 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8049
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8050 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8051 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8052 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8053 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8054 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8055 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8057 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8058 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8059 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8060 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8061
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8062 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8063 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8064 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8065 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8066 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8067 if { (eval echo "$as_me:8067: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8068 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8069 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8070 echo "$as_me:8070: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8071 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8072 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8073 { (eval echo "$as_me:8073: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8074 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8075 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8076 echo "$as_me:8076: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8077 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8078 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8079 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8080 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8081 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8082 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8083 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8085 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8086 echo "$as_me:8086: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8088 if test `eval echo '${'$as_ac_var'}'` = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8089
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8090 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8091 #define CRAY_STACKSEG_END $ac_func
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8092 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8093
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8094 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8095 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8096
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8097 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8098 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8099
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8100 echo "$as_me:8100: checking stack direction for C alloca" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8101 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8102 if test "${ac_cv_c_stack_direction+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8104 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8105 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8106 ac_cv_c_stack_direction=0
Dave Love <fx@gnu.org>
parents:
diff changeset
8107 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8108 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8109 #line 8104 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8110 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8111 int
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8112 find_stack_direction ()
Dave Love <fx@gnu.org>
parents:
diff changeset
8113 {
Dave Love <fx@gnu.org>
parents:
diff changeset
8114 static char *addr = 0;
Dave Love <fx@gnu.org>
parents:
diff changeset
8115 auto char dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
8116 if (addr == 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
8117 {
Dave Love <fx@gnu.org>
parents:
diff changeset
8118 addr = &dummy;
Dave Love <fx@gnu.org>
parents:
diff changeset
8119 return find_stack_direction ();
Dave Love <fx@gnu.org>
parents:
diff changeset
8120 }
Dave Love <fx@gnu.org>
parents:
diff changeset
8121 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8122 return (&dummy > addr) ? 1 : -1;
Dave Love <fx@gnu.org>
parents:
diff changeset
8123 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8124
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8125 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8126 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8127 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8128 exit (find_stack_direction () < 0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8129 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8130 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8131 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8132 if { (eval echo "$as_me:8132: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8133 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8134 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8135 echo "$as_me:8135: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8137 { (eval echo "$as_me:8137: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8138 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8139 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8140 echo "$as_me:8140: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8141 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8142 ac_cv_c_stack_direction=1
Dave Love <fx@gnu.org>
parents:
diff changeset
8143 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8144 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8145 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8146 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8147 ac_cv_c_stack_direction=-1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8148 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8149 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
8150 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8151 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8152 echo "$as_me:8152: result: $ac_cv_c_stack_direction" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8153 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8154
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8155 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8156 #define STACK_DIRECTION $ac_cv_c_stack_direction
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8157 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8158
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8159 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8160
Dave Love <fx@gnu.org>
parents:
diff changeset
8161 # fmod, logb, and frexp are found in -lm on most systems.
Dave Love <fx@gnu.org>
parents:
diff changeset
8162 # 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
8163
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8164 echo "$as_me:8164: checking for sqrt in -lm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8165 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8166 if test "${ac_cv_lib_m_sqrt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8167 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8168 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8169 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8170 LIBS="-lm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8171 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8172 #line 8167 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8173 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8174
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8175 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8176 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8177 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8178 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8179 /* 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
8180 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8181 char sqrt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8182 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8183 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8184 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8185 sqrt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8186 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8187 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8188 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8189 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8190 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8191 if { (eval echo "$as_me:8191: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8192 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8193 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8194 echo "$as_me:8194: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8195 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8196 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8197 { (eval echo "$as_me:8197: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8198 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8199 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8200 echo "$as_me:8200: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8201 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8202 ac_cv_lib_m_sqrt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8203 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8204 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8205 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8206 ac_cv_lib_m_sqrt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8207 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8209 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8210 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8211 echo "$as_me:8211: result: $ac_cv_lib_m_sqrt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8212 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8213 if test $ac_cv_lib_m_sqrt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8214 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8215 #define HAVE_LIBM 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8216 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8217
Dave Love <fx@gnu.org>
parents:
diff changeset
8218 LIBS="-lm $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8219
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8220 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8221
Dave Love <fx@gnu.org>
parents:
diff changeset
8222 # Check for mail-locking functions in a "mail" library
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8223
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8224 echo "$as_me:8224: checking for maillock in -lmail" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8225 echo $ECHO_N "checking for maillock in -lmail... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8226 if test "${ac_cv_lib_mail_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8228 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8229 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8230 LIBS="-lmail $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8231 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8232 #line 8227 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8233 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8234
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8235 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8236 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8237 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8238 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8239 /* 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
8240 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8241 char maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8242 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8243 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8244 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8245 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8246 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8247 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8248 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8249 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8250 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8251 if { (eval echo "$as_me:8251: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8252 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8253 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8254 echo "$as_me:8254: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8255 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8256 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8257 { (eval echo "$as_me:8257: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8258 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8259 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8260 echo "$as_me:8260: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8261 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8262 ac_cv_lib_mail_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8263 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8264 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8265 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8266 ac_cv_lib_mail_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8267 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8269 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8270 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8271 echo "$as_me:8271: result: $ac_cv_lib_mail_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8272 echo "${ECHO_T}$ac_cv_lib_mail_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8273 if test $ac_cv_lib_mail_maillock = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8274 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8275 #define HAVE_LIBMAIL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8276 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8277
Dave Love <fx@gnu.org>
parents:
diff changeset
8278 LIBS="-lmail $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8279
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8280 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8281
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8282 echo "$as_me:8282: checking for maillock in -llockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8283 echo $ECHO_N "checking for maillock in -llockfile... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8284 if test "${ac_cv_lib_lockfile_maillock+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8286 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8287 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8288 LIBS="-llockfile $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8289 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8290 #line 8285 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8291 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8292
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8293 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8294 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8295 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8296 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8297 /* 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
8298 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8299 char maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8300 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8301 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8302 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8303 maillock ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8304 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8305 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8306 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8307 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8308 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8309 if { (eval echo "$as_me:8309: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8310 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8311 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8312 echo "$as_me:8312: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8313 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8314 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8315 { (eval echo "$as_me:8315: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8316 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8317 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8318 echo "$as_me:8318: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8319 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8320 ac_cv_lib_lockfile_maillock=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8321 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8322 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8323 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8324 ac_cv_lib_lockfile_maillock=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8325 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8326 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8327 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8328 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8329 echo "$as_me:8329: result: $ac_cv_lib_lockfile_maillock" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8330 echo "${ECHO_T}$ac_cv_lib_lockfile_maillock" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8331 if test $ac_cv_lib_lockfile_maillock = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8332 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8333 #define HAVE_LIBLOCKFILE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8334 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8335
Dave Love <fx@gnu.org>
parents:
diff changeset
8336 LIBS="-llockfile $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
8337
Dave Love <fx@gnu.org>
parents:
diff changeset
8338 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8339
Dave Love <fx@gnu.org>
parents:
diff changeset
8340 # If we have the shared liblockfile, assume we must use it for mail
Dave Love <fx@gnu.org>
parents:
diff changeset
8341 # locking (e.g. Debian). If we couldn't link against liblockfile
Dave Love <fx@gnu.org>
parents:
diff changeset
8342 # (no liblockfile.a installed), ensure that we don't need to.
Dave Love <fx@gnu.org>
parents:
diff changeset
8343 if test "$ac_cv_lib_lockfile_maillock" = no; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8344 # Extract the first word of "liblockfile.so", so it can be a program name with args.
Dave Love <fx@gnu.org>
parents:
diff changeset
8345 set dummy liblockfile.so; ac_word=$2
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8346 echo "$as_me:8346: checking for $ac_word" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8348 if test "${ac_cv_prog_liblockfile+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8349 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8350 else
Dave Love <fx@gnu.org>
parents:
diff changeset
8351 if test -n "$liblockfile"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
8352 ac_cv_prog_liblockfile="$liblockfile" # Let the user override the test.
Dave Love <fx@gnu.org>
parents:
diff changeset
8353 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8354 ac_save_IFS=$IFS; IFS=$ac_path_separator
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8355 ac_dummy="/usr/lib:/lib:/usr/local/lib:$LD_LIBRARY_PATH"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8356 for ac_dir in $ac_dummy; do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8357 IFS=$ac_save_IFS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8358 test -z "$ac_dir" && ac_dir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8359 $as_executable_p "$ac_dir/$ac_word" || continue
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8360 ac_cv_prog_liblockfile="yes"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8361 echo "$as_me:8361: found $ac_dir/$ac_word" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8362 break
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8363 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8364
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8365 test -z "$ac_cv_prog_liblockfile" && ac_cv_prog_liblockfile="no"
Dave Love <fx@gnu.org>
parents:
diff changeset
8366 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8367 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8368 liblockfile=$ac_cv_prog_liblockfile
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8369 if test -n "$liblockfile"; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8370 echo "$as_me:8370: result: $liblockfile" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8371 echo "${ECHO_T}$liblockfile" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8372 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8373 echo "$as_me:8373: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8374 echo "${ECHO_T}no" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8375 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8376
Dave Love <fx@gnu.org>
parents:
diff changeset
8377 if test $ac_cv_prog_liblockfile = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8378 { { echo "$as_me:8378: error: Shared liblockfile found but can't link against it.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8379 This probably means that movemail could lose mail.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8380 There may be a \`development' package to install containing liblockfile." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8381 echo "$as_me: error: Shared liblockfile found but can't link against it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8382 This probably means that movemail could lose mail.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8383 There may be a \`development' package to install containing liblockfile." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8384 { (exit 1); exit 1; }; }
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
8385 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8386 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8387 #define LIBMAIL -llockfile
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8388 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8389
Dave Love <fx@gnu.org>
parents:
diff changeset
8390 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
8391 else :
Dave Love <fx@gnu.org>
parents:
diff changeset
8392 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8393
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8394 for ac_func in touchlock
Dave Love <fx@gnu.org>
parents:
diff changeset
8395 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8397 echo "$as_me:8397: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8399 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8401 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8402 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8403 #line 8398 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8404 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8405 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8406 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8407 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8408 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8409 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8410 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8411 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8412 /* 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
8413 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8414 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8415 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8416
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8417 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8418 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8419 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8420 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8421 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8422 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8424 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8425 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8426 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8427 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8428
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8429 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8430 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8431 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8432 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8433 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8434 if { (eval echo "$as_me:8434: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8435 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8436 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8437 echo "$as_me:8437: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8438 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8439 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8440 { (eval echo "$as_me:8440: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8441 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8442 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8443 echo "$as_me:8443: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8444 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8445 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8446 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8447 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8448 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8449 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8450 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8452 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8453 echo "$as_me:8453: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8455 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8456 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8458 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8459
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8460 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8461 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8462
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8463 for ac_header in maillock.h
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8464 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8465 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8466 echo "$as_me:8466: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8469 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8470 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8471 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8472 #line 8467 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8473 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8474 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8475 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8476 if { (eval echo "$as_me:8476: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8478 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8479 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8480 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8481 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8482 echo "$as_me:8482: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8483 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8484 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8485 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8486 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8487 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8488 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8489 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8490 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8491 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8492 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8493 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8494 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8495 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8496 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8497 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8498 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8499 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8500 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8501 echo "$as_me:8501: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8503 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8504 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8505 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8506 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8507
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8508 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8509 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8510
44001
54ecf0606394 Manually edited to add checks for sendto, recvfrom, getsockopt, setsockopt,
Kim F. Storm <storm@cua.dk>
parents: 43924
diff changeset
8511 for ac_func in gethostname getdomainname dup2 \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8512 rename closedir mkdir rmdir sysinfo \
Dave Love <fx@gnu.org>
parents:
diff changeset
8513 random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
Dave Love <fx@gnu.org>
parents:
diff changeset
8514 strerror fpathconf select mktime euidaccess getpagesize tzset setlocale \
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
8515 utimes setrlimit setpgid getcwd getwd shutdown strftime getaddrinfo \
42401
b04a7400fcb8 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41960
diff changeset
8516 __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
8517 sendto recvfrom getsockopt setsockopt getsockname getpeername \
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8518 gai_strerror mkstemp getline getdelim
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8519 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8521 echo "$as_me:8521: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8523 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8525 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8526 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8527 #line 8522 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8528 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
8529 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8530 which can conflict with char $ac_func (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8531 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
8532 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8533 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8534 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8535 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8536 /* 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
8537 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8538 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8539 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8540
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8541 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8542 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8543 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8544 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
8545 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
8546 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
8547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
Dave Love <fx@gnu.org>
parents:
diff changeset
8548 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
8549 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8550 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8551 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8552
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8553 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8554 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8555 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8556 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8557 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8558 if { (eval echo "$as_me:8558: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8559 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8560 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8561 echo "$as_me:8561: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8562 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8563 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8564 { (eval echo "$as_me:8564: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8565 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8566 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8567 echo "$as_me:8567: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8568 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8569 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8570 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8571 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8572 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8573 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8574 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8576 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8577 echo "$as_me:8577: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8579 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8580 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8582 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8583
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8584 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8585 done
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
8586
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8587 for ac_header in sys/un.h
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8588 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8590 echo "$as_me:8590: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8593 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8594 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8595 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8596 #line 8591 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8597 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8598 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8599 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8600 if { (eval echo "$as_me:8600: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8601 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8602 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8603 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8604 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8605 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8606 echo "$as_me:8606: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8607 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8608 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8609 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8610 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8611 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8612 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8613 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8614 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8615 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8616 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8617 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8618 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8619 echo "$as_me: failed program was:" >&5
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8620 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8621 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8622 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8623 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8624 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8625 echo "$as_me:8625: result: `eval echo '${'$as_ac_Header'}'`" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8628 cat >>confdefs.h <<EOF
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8630 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8631
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8632 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8633 done
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8634
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8635 for ac_header in sys/time.h unistd.h
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8636 do
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8638 echo "$as_me:8638: checking for $ac_header" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8642 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8643 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8644 #line 8639 "configure"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8645 #include "confdefs.h"
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8646 #include <$ac_header>
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8647 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8648 if { (eval echo "$as_me:8648: \"$ac_cpp conftest.$ac_ext\"") >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8650 ac_status=$?
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8651 egrep -v '^ *\+' conftest.er1 >conftest.err
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8652 rm -f conftest.er1
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8653 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8654 echo "$as_me:8654: \$? = $ac_status" >&5
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8655 (exit $ac_status); } >/dev/null; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8656 if test -s conftest.err; then
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8657 ac_cpp_err=$ac_c_preproc_warn_flag
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8658 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8659 ac_cpp_err=
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8660 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8661 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8662 ac_cpp_err=yes
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8663 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8664 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8665 eval "$as_ac_Header=yes"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8666 else
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8667 echo "$as_me: failed program was:" >&5
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8668 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8669 eval "$as_ac_Header=no"
44435
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8670 fi
343a3a52107d Regenerated.
Pavel Janík <Pavel@Janik.cz>
parents: 44001
diff changeset
8671 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8672 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8673 echo "$as_me:8673: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8676 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8678 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8679
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8680 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8681 done
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8682
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8683 for ac_func in alarm
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8684 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8686 echo "$as_me:8686: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8688 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8690 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8691 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8692 #line 8687 "configure"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8693 #include "confdefs.h"
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8694 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8695 which can conflict with char $ac_func (); below. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8696 #include <assert.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8697 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8698 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8699 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8700 #endif
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8701 /* 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
8702 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8703 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8704 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8705
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8706 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8707 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8708 {
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8709 /* The GNU C library defines this for functions which it implements
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8710 to always fail with ENOSYS. Some functions are actually named
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8711 something starting with __ and the normal name is an alias. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8713 choke me
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8714 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8715 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8716 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8717
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8718 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8719 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8720 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8721 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8722 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8723 if { (eval echo "$as_me:8723: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8724 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8725 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8726 echo "$as_me:8726: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8727 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8728 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8729 { (eval echo "$as_me:8729: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8730 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8731 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8732 echo "$as_me:8732: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8733 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8734 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8735 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8736 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8737 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8738 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8739 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8741 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8742 echo "$as_me:8742: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8744 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8745 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8747 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8748
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8749 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8750 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8751
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8752 echo "$as_me:8752: checking for working mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8753 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8754 if test "${ac_cv_func_working_mktime+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8756 else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8757 if test "$cross_compiling" = yes; then
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8758 ac_cv_func_working_mktime=no
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8759 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8760 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8761 #line 8756 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8762 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8763 /* Test program from Paul Eggert and Tony Leneis. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8764 #if TIME_WITH_SYS_TIME
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8765 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8766 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8767 #else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8768 # if HAVE_SYS_TIME_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8769 # include <sys/time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8770 # else
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8771 # include <time.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8772 # endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8773 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8774
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8775 #if HAVE_UNISTD_H
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8776 # include <unistd.h>
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8777 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8778
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8779 #if !HAVE_ALARM
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8780 # define alarm(X) /* empty */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8781 #endif
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8782
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8783 /* Work around redefinition to rpl_putenv by other config tests. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8784 #undef putenv
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8785
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8786 static time_t time_t_max;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8787
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8788 /* Values we'll use to set the TZ environment variable. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8789 static const char *const tz_strings[] = {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8790 (const char *) 0, "TZ=GMT0", "TZ=JST-9",
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8791 "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
8792 };
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8793 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8794
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8795 /* 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
8796 Based on a problem report from Andreas Jaeger. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8797 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8798 spring_forward_gap ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8799 {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8800 /* glibc (up to about 1998-10-07) failed this test. */
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8801 struct tm tm;
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 /* 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
8804 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
8805 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
8806 full zoneinfo tables installed. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8807 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8808
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8809 tm.tm_year = 98;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8810 tm.tm_mon = 3;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8811 tm.tm_mday = 5;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8812 tm.tm_hour = 2;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8813 tm.tm_min = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8814 tm.tm_sec = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8815 tm.tm_isdst = -1;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8816 if (mktime (&tm) == (time_t)-1)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8817 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8818 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8819
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8820 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8821 mktime_test (now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8822 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8823 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8824 struct tm *lt;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8825 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8826 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8827 now = time_t_max - now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8828 if ((lt = localtime (&now)) && mktime (lt) != now)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8829 exit (1);
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
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8832 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8833 irix_6_4_bug ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8834 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8835 /* Based on code from Ariel Faigon. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8836 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8837 tm.tm_year = 96;
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 = 0;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8840 tm.tm_hour = 0;
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 mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8845 if (tm.tm_mon != 2 || tm.tm_mday != 31)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8846 exit (1);
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
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8849 static void
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8850 bigtime_test (j)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8851 int j;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8852 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8853 struct tm tm;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8854 time_t now;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8855 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
8856 now = mktime (&tm);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8857 if (now != (time_t) -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 struct tm *lt = localtime (&now);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8860 if (! (lt
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8861 && lt->tm_year == tm.tm_year
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8862 && lt->tm_mon == tm.tm_mon
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8863 && lt->tm_mday == tm.tm_mday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8864 && lt->tm_hour == tm.tm_hour
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8865 && lt->tm_min == tm.tm_min
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8866 && lt->tm_sec == tm.tm_sec
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8867 && lt->tm_yday == tm.tm_yday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8868 && lt->tm_wday == tm.tm_wday
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8869 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8870 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8871 exit (1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8872 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8873 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8874
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8875 int
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8876 main ()
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8877 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8878 time_t t, delta;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8879 int i, 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 /* This test makes some buggy mktime implementations loop.
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8882 Give up after 60 seconds; a mktime slower than that
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8883 isn't worth using anyway. */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8884 alarm (60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8885
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8886 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
8887 continue;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8888 time_t_max--;
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8889 delta = time_t_max / 997; /* a suitable prime number */
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8890 for (i = 0; i < N_STRINGS; i++)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8891 {
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8892 if (tz_strings[i])
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8893 putenv (tz_strings[i]);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8894
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8895 for (t = 0; t <= time_t_max - delta; t += delta)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8896 mktime_test (t);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8897 mktime_test ((time_t) 60 * 60);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8898 mktime_test ((time_t) 60 * 60 * 24);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8899
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8900 for (j = 1; 0 < j; j *= 2)
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8901 bigtime_test (j);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8902 bigtime_test (j - 1);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8903 }
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8904 irix_6_4_bug ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8905 spring_forward_gap ();
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8906 exit (0);
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8907 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8908 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8909 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8910 if { (eval echo "$as_me:8910: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8911 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8912 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8913 echo "$as_me:8913: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8915 { (eval echo "$as_me:8915: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8916 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8917 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8918 echo "$as_me:8918: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8919 (exit $ac_status); }; }; then
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8920 ac_cv_func_working_mktime=yes
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8921 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8922 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8923 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8924 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8925 ac_cv_func_working_mktime=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8926 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8927 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
8928 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8929 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8930 echo "$as_me:8930: result: $ac_cv_func_working_mktime" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8931 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8932 if test $ac_cv_func_working_mktime = no; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8933 LIBOBJS="$LIBOBJS mktime.$ac_objext"
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8934 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8935
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8936 if test "$ac_cv_func_working_mktime" = no; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
8937
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8938 cat >>confdefs.h <<\EOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8939 #define BROKEN_MKTIME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8940 EOF
28607
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8941
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8942 fi
7d75f0ff6c50 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 28418
diff changeset
8943
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
8944 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
8945
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8946 ac_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8947
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8948 # Check for getloadavg, but be sure not to touch the cache variable.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8949 (echo "$as_me:8949: checking for getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8950 echo $ECHO_N "checking for getloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8951 if test "${ac_cv_func_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8953 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8954 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
8955 #line 8950 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8956 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8957 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8958 which can conflict with char getloadavg (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8959 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8960 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8961 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8962 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8963 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8964 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8965 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8966 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8967 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8968
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8969 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8970 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8971 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8972 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8973 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8974 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8975 #if defined (__stub_getloadavg) || defined (__stub___getloadavg)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8976 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8977 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8978 f = getloadavg;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8979 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8980
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8981 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8982 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8983 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8984 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8985 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8986 if { (eval echo "$as_me:8986: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8987 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8988 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8989 echo "$as_me:8989: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8990 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
8991 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8992 { (eval echo "$as_me:8992: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8993 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8994 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
8995 echo "$as_me:8995: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8996 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8997 ac_cv_func_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8998 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
8999 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9000 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9001 ac_cv_func_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9002 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9004 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9005 echo "$as_me:9005: result: $ac_cv_func_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9006 echo "${ECHO_T}$ac_cv_func_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9007 if test $ac_cv_func_getloadavg = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9008 exit 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9009 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9010 exit 1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9011 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9012 ) && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9013
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9014 # On HPUX9, an unprivileged user can get load averages through this function.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9015
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9016 for ac_func in pstat_getdynamic
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9017 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9019 echo "$as_me:9019: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9021 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9023 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9024 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9025 #line 9020 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9026 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9027 /* System header to define __stub macros and hopefully few prototypes,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9028 which can conflict with char $ac_func (); below. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9029 #include <assert.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9030 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9031 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9032 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9033 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9034 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9035 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9036 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9037 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9038
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9039 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9040 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9041 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9042 /* The GNU C library defines this for functions which it implements
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9043 to always fail with ENOSYS. Some functions are actually named
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9044 something starting with __ and the normal name is an alias. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9046 choke me
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9047 #else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9048 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9049 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9050
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9051 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9052 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9053 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9054 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9055 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9056 if { (eval echo "$as_me:9056: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9057 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9058 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9059 echo "$as_me:9059: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9060 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9061 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9062 { (eval echo "$as_me:9062: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9063 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9064 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9065 echo "$as_me:9065: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9066 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9067 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9068 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9069 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9070 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9071 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9072 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9074 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9075 echo "$as_me:9075: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9077 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9078 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9080 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9081
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9082 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9083 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9084
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9085 # Solaris has libkstat which does not require root.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9086
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9087 echo "$as_me:9087: checking for kstat_open in -lkstat" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9088 echo $ECHO_N "checking for kstat_open in -lkstat... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9089 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9090 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9091 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9092 ac_check_lib_save_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9093 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9094 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9095 #line 9090 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9096 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9097
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9098 /* Override any gcc2 internal prototype to avoid an error. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9099 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9100 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9101 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9102 /* We use char because int might match the return type of a gcc2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9103 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9104 char kstat_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9105 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9106 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9107 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9108 kstat_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9109 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9110 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9111 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9112 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9113 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9114 if { (eval echo "$as_me:9114: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9115 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9116 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9117 echo "$as_me:9117: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9118 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9119 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9120 { (eval echo "$as_me:9120: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9121 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9122 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9123 echo "$as_me:9123: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9124 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9125 ac_cv_lib_kstat_kstat_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9126 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9127 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9128 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9129 ac_cv_lib_kstat_kstat_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9130 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9132 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9133 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9134 echo "$as_me:9134: result: $ac_cv_lib_kstat_kstat_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9135 echo "${ECHO_T}$ac_cv_lib_kstat_kstat_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9136 if test $ac_cv_lib_kstat_kstat_open = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9137 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9138 #define HAVE_LIBKSTAT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9139 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9140
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9141 LIBS="-lkstat $LIBS"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9142
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9143 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9144
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9145 test $ac_cv_lib_kstat_kstat_open = yes && ac_have_func=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9146
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9147 # 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
9148 # On Solaris, -lkvm requires nlist from -lelf, so check that first
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9149 # to get the right answer into the cache.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9150 # 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
9151 if test $ac_have_func = no; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9152 echo "$as_me:9152: checking for elf_begin in -lelf" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9153 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9154 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9155 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9156 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9157 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9158 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9159 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9160 #line 9155 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9161 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9162
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9163 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9164 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9165 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9166 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9167 /* 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
9168 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9169 char elf_begin ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9170 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9171 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9172 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9173 elf_begin ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9174 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9175 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9176 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9177 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9178 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9179 if { (eval echo "$as_me:9179: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9180 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9181 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9182 echo "$as_me:9182: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9183 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9184 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9185 { (eval echo "$as_me:9185: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9186 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9187 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9188 echo "$as_me:9188: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9189 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9190 ac_cv_lib_elf_elf_begin=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9191 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9192 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9193 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9194 ac_cv_lib_elf_elf_begin=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9195 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9197 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9198 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9199 echo "$as_me:9199: result: $ac_cv_lib_elf_elf_begin" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9200 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9201 if test $ac_cv_lib_elf_elf_begin = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9202 LIBS="-lelf $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9203 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9204
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9205 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9206 if test $ac_have_func = no; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9207 echo "$as_me:9207: checking for kvm_open in -lkvm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9208 echo $ECHO_N "checking for kvm_open in -lkvm... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9209 if test "${ac_cv_lib_kvm_kvm_open+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9211 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9212 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9213 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9214 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9215 #line 9210 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9216 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9217
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9218 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9219 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9220 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9221 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9222 /* 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
9223 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9224 char kvm_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9225 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9226 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9227 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9228 kvm_open ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9229 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9230 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9231 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9232 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9233 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9234 if { (eval echo "$as_me:9234: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9235 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9236 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9237 echo "$as_me:9237: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9238 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9239 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9240 { (eval echo "$as_me:9240: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9241 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9242 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9243 echo "$as_me:9243: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9244 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9245 ac_cv_lib_kvm_kvm_open=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9246 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9247 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9248 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9249 ac_cv_lib_kvm_kvm_open=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9250 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9252 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9253 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9254 echo "$as_me:9254: result: $ac_cv_lib_kvm_kvm_open" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9255 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_open" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9256 if test $ac_cv_lib_kvm_kvm_open = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9257 LIBS="-lkvm $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9258 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9259
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9260 # Check for the 4.4BSD definition of getloadavg.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9261 echo "$as_me:9261: checking for getloadavg in -lutil" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9262 echo $ECHO_N "checking for getloadavg in -lutil... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9263 if test "${ac_cv_lib_util_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9265 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9266 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9267 LIBS="-lutil $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9268 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9269 #line 9264 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9270 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9271
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9272 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9273 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9274 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9275 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9276 /* 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
9277 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9278 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9279 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9280 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9281 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9282 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9283 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9284 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9285 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9286 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9287 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9288 if { (eval echo "$as_me:9288: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9289 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9290 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9291 echo "$as_me:9291: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9292 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9293 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9294 { (eval echo "$as_me:9294: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9295 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9296 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9297 echo "$as_me:9297: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9298 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9299 ac_cv_lib_util_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9300 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9301 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9302 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9303 ac_cv_lib_util_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9304 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9306 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9307 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9308 echo "$as_me:9308: result: $ac_cv_lib_util_getloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9309 echo "${ECHO_T}$ac_cv_lib_util_getloadavg" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9310 if test $ac_cv_lib_util_getloadavg = yes; then
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9311 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
9312 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9313
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9314 fi
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9315
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9316 if test $ac_have_func = no; then
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9317 # There is a commonly available library for RS/6000 AIX.
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9318 # 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
9319 ac_getloadavg_LIBS=$LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9320 LIBS="-L/usr/local/lib $LIBS"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9321 echo "$as_me:9321: checking for getloadavg in -lgetloadavg" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9322 echo $ECHO_N "checking for getloadavg in -lgetloadavg... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9323 if test "${ac_cv_lib_getloadavg_getloadavg+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9325 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9326 ac_check_lib_save_LIBS=$LIBS
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9327 LIBS="-lgetloadavg $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9328 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9329 #line 9324 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9330 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9331
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9332 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9333 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9334 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9335 #endif
29834
fb20d35ffa9a *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29733
diff changeset
9336 /* 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
9337 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9338 char getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9339 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9340 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9341 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9342 getloadavg ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9343 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9344 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9345 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9346 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9347 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9348 if { (eval echo "$as_me:9348: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9349 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9350 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9351 echo "$as_me:9351: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9352 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9353 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9354 { (eval echo "$as_me:9354: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9355 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9356 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9357 echo "$as_me:9357: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9358 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9359 ac_cv_lib_getloadavg_getloadavg=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9360 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9361 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9362 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9363 ac_cv_lib_getloadavg_getloadavg=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9364 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9366 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9367 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9368 echo "$as_me:9368: result: $ac_cv_lib_getloadavg_getloadavg" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9369 echo "${ECHO_T}$ac_cv_lib_getloadavg_getloadavg" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9370 if test $ac_cv_lib_getloadavg_getloadavg = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9371 LIBS="-lgetloadavg $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9372 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9373 LIBS=$ac_getloadavg_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9374 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9375
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9376 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9377
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9378 # 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
9379 # otherwise set up the replacement function.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9380
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9381 for ac_func in getloadavg
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9382 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9384 echo "$as_me:9384: checking for $ac_func" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9386 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9387 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9388 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9389 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9390 #line 9385 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9391 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9392 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9393 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9394 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9395 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9396 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9397 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9398 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9399 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9400 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9401 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9402 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9403
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9404 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9405 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9406 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9407 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9408 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9409 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9411 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9412 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9413 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9414 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9415
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9416 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9417 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9418 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9419 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9420 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9421 if { (eval echo "$as_me:9421: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9422 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9423 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9424 echo "$as_me:9424: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9425 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9426 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9427 { (eval echo "$as_me:9427: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9428 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9429 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9430 echo "$as_me:9430: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9431 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9432 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9433 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9434 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9435 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9436 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9437 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9439 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9440 echo "$as_me:9440: result: `eval echo '${'$as_ac_var'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9442 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9443 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9445 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9446
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9447 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9448 LIBOBJS="$LIBOBJS getloadavg.$ac_objext"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9449
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9450 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9451 #define C_GETLOADAVG 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9452 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9453
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9454 # Figure out what our getloadavg.c needs.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9455 ac_have_func=no
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9456 echo "$as_me:9456: checking for sys/dg_sys_info.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9457 echo $ECHO_N "checking for sys/dg_sys_info.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9458 if test "${ac_cv_header_sys_dg_sys_info_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9459 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9460 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9461 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9462 #line 9457 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9463 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9464 #include <sys/dg_sys_info.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9465 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9466 if { (eval echo "$as_me:9466: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9468 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9469 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9470 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9471 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9472 echo "$as_me:9472: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9473 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9474 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9475 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9476 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9477 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9478 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9479 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9480 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9481 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9482 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9483 ac_cv_header_sys_dg_sys_info_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9484 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9485 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9486 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9487 ac_cv_header_sys_dg_sys_info_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9488 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9489 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9490 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9491 echo "$as_me:9491: result: $ac_cv_header_sys_dg_sys_info_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9492 echo "${ECHO_T}$ac_cv_header_sys_dg_sys_info_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9493 if test $ac_cv_header_sys_dg_sys_info_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9494 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9495
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9496 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9497 #define DGUX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9498 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9499
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9500 echo "$as_me:9500: checking for dg_sys_info in -ldgc" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9501 echo $ECHO_N "checking for dg_sys_info in -ldgc... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9502 if test "${ac_cv_lib_dgc_dg_sys_info+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9503 echo $ECHO_N "(cached) $ECHO_C" >&6
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_check_lib_save_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9506 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9507 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9508 #line 9503 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9509 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9510
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9511 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9512 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9513 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9514 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9515 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9516 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9517 char dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9518 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9519 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9520 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9521 dg_sys_info ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9522 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9523 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9524 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9525 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9526 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9527 if { (eval echo "$as_me:9527: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9528 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9529 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9530 echo "$as_me:9530: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9531 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9532 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9533 { (eval echo "$as_me:9533: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9534 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9535 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9536 echo "$as_me:9536: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9537 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9538 ac_cv_lib_dgc_dg_sys_info=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9539 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9540 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9541 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9542 ac_cv_lib_dgc_dg_sys_info=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9543 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9545 LIBS=$ac_check_lib_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9546 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9547 echo "$as_me:9547: result: $ac_cv_lib_dgc_dg_sys_info" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9548 echo "${ECHO_T}$ac_cv_lib_dgc_dg_sys_info" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9549 if test $ac_cv_lib_dgc_dg_sys_info = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9550 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9551 #define HAVE_LIBDGC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9552 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9553
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9554 LIBS="-ldgc $LIBS"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9555
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9556 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9557
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9558 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9559
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9560 echo "$as_me:9560: checking for locale.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9561 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9562 if test "${ac_cv_header_locale_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9564 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9565 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9566 #line 9561 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9567 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9568 #include <locale.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9569 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9570 if { (eval echo "$as_me:9570: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9572 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9573 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9574 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9575 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9576 echo "$as_me:9576: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9577 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9578 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9579 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9580 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9581 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9582 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9583 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9584 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9585 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9586 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9587 ac_cv_header_locale_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9588 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9589 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9590 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9591 ac_cv_header_locale_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9592 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9593 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9594 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9595 echo "$as_me:9595: result: $ac_cv_header_locale_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9596 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9597
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9598 for ac_func in setlocale
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9599 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9601 echo "$as_me:9601: checking for $ac_func" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9603 if eval "test \"\${$as_ac_var+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9605 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9606 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9607 #line 9602 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9608 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9609 /* System header to define __stub macros and hopefully few prototypes,
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9610 which can conflict with char $ac_func (); below. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9611 #include <assert.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9612 /* Override any gcc2 internal prototype to avoid an error. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9613 #ifdef __cplusplus
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9614 extern "C"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9615 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9616 /* We use char because int might match the return type of a gcc2
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9617 builtin and then its argument prototype would still apply. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9618 char $ac_func ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9619 char (*f) ();
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9620
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9621 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9622 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9623 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9624 /* The GNU C library defines this for functions which it implements
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9625 to always fail with ENOSYS. Some functions are actually named
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9626 something starting with __ and the normal name is an alias. */
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9628 choke me
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9629 #else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9630 f = $ac_func;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9631 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9632
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9633 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9634 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9635 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9636 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9637 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9638 if { (eval echo "$as_me:9638: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9639 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9640 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9641 echo "$as_me:9641: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9642 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9643 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9644 { (eval echo "$as_me:9644: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9645 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9646 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9647 echo "$as_me:9647: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9648 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9649 eval "$as_ac_var=yes"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9650 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9651 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9652 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9653 eval "$as_ac_var=no"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9654 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9656 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9657 echo "$as_me:9657: result: `eval echo '${'$as_ac_var'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9659 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9660 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9662 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9663
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9664 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9665 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9666
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9667 # 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
9668 # 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
9669 # Irix 4.0.5F has the header but not the library.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9670 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
9671 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9672
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9673 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9674 #define SVR4 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9675 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9676
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9677 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9678
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9679 if test $ac_have_func = no; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9680 echo "$as_me:9680: checking for inq_stats/cpustats.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9681 echo $ECHO_N "checking for inq_stats/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9682 if test "${ac_cv_header_inq_stats_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9684 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9685 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9686 #line 9681 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9687 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9688 #include <inq_stats/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9689 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9690 if { (eval echo "$as_me:9690: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9692 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9693 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9694 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9695 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9696 echo "$as_me:9696: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9697 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9698 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9699 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9700 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9701 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9702 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9703 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9704 ac_cpp_err=yes
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 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9707 ac_cv_header_inq_stats_cpustats_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9708 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9709 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9710 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9711 ac_cv_header_inq_stats_cpustats_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9712 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9713 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9714 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9715 echo "$as_me:9715: result: $ac_cv_header_inq_stats_cpustats_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9716 echo "${ECHO_T}$ac_cv_header_inq_stats_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9717 if test $ac_cv_header_inq_stats_cpustats_h = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9718 ac_have_func=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9719
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9720 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9721 #define UMAX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9722 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9723
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9724 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9725 #define UMAX4_3 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9726 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9727
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9728 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9729
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
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9732 if test $ac_have_func = no; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9733 echo "$as_me:9733: checking for sys/cpustats.h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9734 echo $ECHO_N "checking for sys/cpustats.h... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9735 if test "${ac_cv_header_sys_cpustats_h+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9736 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9737 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9738 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9739 #line 9734 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9740 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9741 #include <sys/cpustats.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9742 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9743 if { (eval echo "$as_me:9743: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9745 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9746 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9747 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9748 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9749 echo "$as_me:9749: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9750 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9751 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9752 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9753 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9754 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9755 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9756 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9757 ac_cpp_err=yes
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 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9760 ac_cv_header_sys_cpustats_h=yes
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9761 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9762 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9763 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9764 ac_cv_header_sys_cpustats_h=no
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9765 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9766 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9767 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9768 echo "$as_me:9768: result: $ac_cv_header_sys_cpustats_h" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9769 echo "${ECHO_T}$ac_cv_header_sys_cpustats_h" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9770 if test $ac_cv_header_sys_cpustats_h = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9771 ac_have_func=yes; cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9772 #define UMAX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9773 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9774
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9775 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9776
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9777 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9778
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9779 if test $ac_have_func = no; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9780
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9781 for ac_header in mach/mach.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9782 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9784 echo "$as_me:9784: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9788 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9789 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9790 #line 9785 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9791 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9792 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9793 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9794 if { (eval echo "$as_me:9794: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9796 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9797 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9798 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9799 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9800 echo "$as_me:9800: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9801 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9802 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9803 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9804 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9805 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9806 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9807 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9808 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9809 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9810 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9811 eval "$as_ac_Header=yes"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9812 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9813 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9814 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9815 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9816 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9817 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9818 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9819 echo "$as_me:9819: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9822 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9824 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9825
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9826 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9827 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9828
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9829 fi
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9830
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9831 for ac_header in nlist.h
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9832 do
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9834 echo "$as_me:9834: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9837 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9838 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9839 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9840 #line 9835 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9841 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9842 #include <$ac_header>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9843 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9844 if { (eval echo "$as_me:9844: \"$ac_cpp conftest.$ac_ext\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9846 ac_status=$?
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9847 egrep -v '^ *\+' conftest.er1 >conftest.err
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9848 rm -f conftest.er1
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9849 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9850 echo "$as_me:9850: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9851 (exit $ac_status); } >/dev/null; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9852 if test -s conftest.err; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9853 ac_cpp_err=$ac_c_preproc_warn_flag
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9854 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9855 ac_cpp_err=
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9856 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9857 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9858 ac_cpp_err=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9859 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9860 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9861 eval "$as_ac_Header=yes"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9862 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9863 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9864 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9865 eval "$as_ac_Header=no"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9866 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9867 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9868 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9869 echo "$as_me:9869: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9870 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9871 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9872 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9873 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9874 EOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9875 echo "$as_me:9875: checking for struct nlist.n_un.n_name" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9876 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
9877 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
9878 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9879 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9880 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9881 #line 9876 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9882 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9883 #include <nlist.h>
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9884
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9885 int
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9886 main ()
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9887 {
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9888 static struct nlist ac_aggr;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9889 if (ac_aggr.n_un.n_name)
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9890 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9891 ;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9892 return 0;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9893 }
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9894 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9895 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9896 if { (eval echo "$as_me:9896: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9897 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9898 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9899 echo "$as_me:9899: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9900 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9901 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9902 { (eval echo "$as_me:9902: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9903 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9904 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9905 echo "$as_me:9905: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9906 (exit $ac_status); }; }; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9907 ac_cv_member_struct_nlist_n_un_n_name=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9908 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9909 echo "$as_me: failed program was:" >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9910 cat conftest.$ac_ext >&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9911 ac_cv_member_struct_nlist_n_un_n_name=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9912 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9913 rm -f conftest.$ac_objext conftest.$ac_ext
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9914 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9915 echo "$as_me:9915: result: $ac_cv_member_struct_nlist_n_un_n_name" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9916 echo "${ECHO_T}$ac_cv_member_struct_nlist_n_un_n_name" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9917 if test $ac_cv_member_struct_nlist_n_un_n_name = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9918
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9919 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9920 #define HAVE_STRUCT_NLIST_N_UN_N_NAME 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9921 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9922
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9923 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9924 #define NLIST_NAME_UNION 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9925 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9926
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9927 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9928
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9929 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9930 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9931
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9932 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9933 done
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9934
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9935 # Some definitions of getloadavg require that the program be installed setgid.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9936 echo "$as_me:9936: checking whether getloadavg requires setgid" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9937 echo $ECHO_N "checking whether getloadavg requires setgid... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9938 if test "${ac_cv_func_getloadavg_setgid+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9940 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9941 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9942 #line 9937 "configure"
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9943 #include "confdefs.h"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9944 #include "$srcdir/getloadavg.c"
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9945 #ifdef LDAV_PRIVILEGED
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9946 Yowza Am I SETGID yet
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9947 #endif
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9948 _ACEOF
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9950 egrep "Yowza Am I SETGID yet" >/dev/null 2>&1; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9951 ac_cv_func_getloadavg_setgid=yes
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9952 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9953 ac_cv_func_getloadavg_setgid=no
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9954 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9955 rm -f conftest*
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9956
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9957 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9958 echo "$as_me:9958: result: $ac_cv_func_getloadavg_setgid" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9959 echo "${ECHO_T}$ac_cv_func_getloadavg_setgid" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9960 if test $ac_cv_func_getloadavg_setgid = yes; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9961 NEED_SETGID=true
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9962
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9963 cat >>confdefs.h <<\EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9964 #define GETLOADAVG_PRIVILEGED 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
9965 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9966
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9967 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9968 NEED_SETGID=false
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9969 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9970
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9971 if test $ac_cv_func_getloadavg_setgid = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9972 echo "$as_me:9972: checking group of /dev/kmem" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9973 echo $ECHO_N "checking group of /dev/kmem... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9974 if test "${ac_cv_group_kmem+set}" = set; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9975 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9976 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9977 # On Solaris, /dev/kmem is a symlink. Get info on the real file.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9978 ac_ls_output=`ls -lgL /dev/kmem 2>/dev/null`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9979 # If we got an error (system does not support symlinks), try without -L.
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9980 test -z "$ac_ls_output" && ac_ls_output=`ls -lg /dev/kmem`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9981 ac_cv_group_kmem=`echo $ac_ls_output \
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9982 | sed -ne 's/[ ][ ]*/ /g;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9983 s/^.[sSrwx-]* *[0-9]* *\([^0-9]*\) *.*/\1/;
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9984 / /s/.* //;p;'`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9985
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9986 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9987 echo "$as_me:9987: result: $ac_cv_group_kmem" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9988 echo "${ECHO_T}$ac_cv_group_kmem" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9989 KMEM_GROUP=$ac_cv_group_kmem
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9990 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9991 if test "x$ac_save_LIBS" = x; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9992 GETLOADAVG_LIBS=$LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9993 else
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9994 GETLOADAVG_LIBS=`echo "$LIBS" | sed "s!$ac_save_LIBS!!"`
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9995 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9996 LIBS=$ac_save_LIBS
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
9997
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
9998 echo "$as_me:9998: checking for _LARGEFILE_SOURCE value needed for large files" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
9999 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
10000 if test "${ac_cv_sys_largefile_source+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10002 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10003 while :; do
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10004 ac_cv_sys_largefile_source=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10005 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10006 #line 10001 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10007 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10008 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10009 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10010 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10011 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10012 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10013 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10014 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10015 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10016 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10017 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10018 if { (eval echo "$as_me:10018: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10019 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10020 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10021 echo "$as_me:10021: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10022 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10023 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10024 { (eval echo "$as_me:10024: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10025 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10026 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10027 echo "$as_me:10027: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10028 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10029 break
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 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10032 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10033 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10034 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10035 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10036 #line 10031 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10037 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10038 #define _LARGEFILE_SOURCE 1
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10039 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10040 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10041 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10042 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10043 return !fseeko;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10044 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10045 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10046 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10047 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10048 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10049 if { (eval echo "$as_me:10049: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10050 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10051 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10052 echo "$as_me:10052: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10053 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10054 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10055 { (eval echo "$as_me:10055: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10056 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10057 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10058 echo "$as_me:10058: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10059 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10060 ac_cv_sys_largefile_source=1; break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10061 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10062 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10063 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10064 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10065 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10066 break
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10067 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10068 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10069 echo "$as_me:10069: result: $ac_cv_sys_largefile_source" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10070 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10071 if test "$ac_cv_sys_largefile_source" != no; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10072
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10073 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10074 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10075 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10076
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10077 fi
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10078 rm -f conftest*
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10079
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10080 # 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
10081 # in glibc 2.1.3, but that breaks too many other things.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10082 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10083 echo "$as_me:10083: checking for fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10084 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10085 if test "${ac_cv_func_fseeko+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10087 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10088 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10089 #line 10084 "configure"
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10090 #include "confdefs.h"
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10091 #include <stdio.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10092 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10093 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10094 {
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10095 return fseeko && fseeko (stdin, 0, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10096 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10097 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10098 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10099 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10100 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10101 if { (eval echo "$as_me:10101: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10102 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10103 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10104 echo "$as_me:10104: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10105 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10106 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10107 { (eval echo "$as_me:10107: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10108 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10109 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10110 echo "$as_me:10110: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10111 (exit $ac_status); }; }; then
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10112 ac_cv_func_fseeko=yes
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10113 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10114 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10115 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10116 ac_cv_func_fseeko=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10117 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10118 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10119 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10120 echo "$as_me:10120: result: $ac_cv_func_fseeko" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10121 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10122 if test $ac_cv_func_fseeko = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10123
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10124 cat >>confdefs.h <<\EOF
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10125 #define HAVE_FSEEKO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10126 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10127
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10128 fi
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10129
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10130 # UNIX98 PTYs.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10131
34431
de5d85f5717b *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 33740
diff changeset
10132 for ac_func in grantpt
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10133 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10135 echo "$as_me:10135: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10137 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10138 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10139 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10140 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10141 #line 10136 "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10142 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10143 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10144 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10145 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10146 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10147 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10148 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10149 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10150 /* 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
10151 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10152 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10153 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10154
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10155 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10156 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10157 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10158 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10159 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10160 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10162 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10163 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10164 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10165 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10166
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10167 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10168 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10169 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10170 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10171 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10172 if { (eval echo "$as_me:10172: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10173 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10174 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10175 echo "$as_me:10175: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10176 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10177 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10178 { (eval echo "$as_me:10178: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10179 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10180 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10181 echo "$as_me:10181: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10182 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10183 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10184 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10185 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10186 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10187 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10188 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10190 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10191 echo "$as_me:10191: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10193 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10194 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10196 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10197
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10198 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10199 done
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10200
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10201 # PTY-related GNU extensions.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10202
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10203 for ac_func in getpt
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10204 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10206 echo "$as_me:10206: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10208 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10209 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10210 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10211 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10212 #line 10207 "configure"
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10213 #include "confdefs.h"
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10214 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10215 which can conflict with char $ac_func (); below. */
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10216 #include <assert.h>
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10217 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10218 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10219 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10220 #endif
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10221 /* 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
10222 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10223 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10224 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10225
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10226 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10227 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10228 {
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10229 /* The GNU C library defines this for functions which it implements
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10230 to always fail with ENOSYS. Some functions are actually named
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10231 something starting with __ and the normal name is an alias. */
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10233 choke me
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10234 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10235 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10236 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10237
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10238 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10239 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10240 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10241 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10242 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10243 if { (eval echo "$as_me:10243: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10244 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10245 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10246 echo "$as_me:10246: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10247 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10248 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10249 { (eval echo "$as_me:10249: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10250 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10251 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10252 echo "$as_me:10252: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10253 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10254 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10255 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10256 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10257 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10258 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10259 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10261 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10262 echo "$as_me:10262: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10264 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10265 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10267 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10268
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10269 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10270 done
29036
91115e6a0f53 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 28748
diff changeset
10271
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10272 # Check this now, so that we will NOT find the above functions in ncurses.
Dave Love <fx@gnu.org>
parents:
diff changeset
10273 # That is because we have not set up to link ncurses in lib-src.
Dave Love <fx@gnu.org>
parents:
diff changeset
10274 # It's better to believe a function is not available
Dave Love <fx@gnu.org>
parents:
diff changeset
10275 # than to expect to find it in ncurses.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10276
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10277 echo "$as_me:10277: checking for tparm in -lncurses" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10278 echo $ECHO_N "checking for tparm in -lncurses... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10279 if test "${ac_cv_lib_ncurses_tparm+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10280 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10281 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10282 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10283 LIBS="-lncurses $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10284 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10285 #line 10280 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10286 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10287
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10288 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10289 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10290 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10291 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10292 /* 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
10293 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10294 char tparm ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10295 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10296 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10297 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10298 tparm ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10299 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10300 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10301 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10302 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10303 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10304 if { (eval echo "$as_me:10304: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10305 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10306 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10307 echo "$as_me:10307: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10308 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10309 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10310 { (eval echo "$as_me:10310: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10311 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10312 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10313 echo "$as_me:10313: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10314 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10315 ac_cv_lib_ncurses_tparm=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10316 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10317 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10318 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10319 ac_cv_lib_ncurses_tparm=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10320 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10322 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10323 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10324 echo "$as_me:10324: result: $ac_cv_lib_ncurses_tparm" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10325 echo "${ECHO_T}$ac_cv_lib_ncurses_tparm" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10326 if test $ac_cv_lib_ncurses_tparm = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10327 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10328 #define HAVE_LIBNCURSES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10329 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10330
Dave Love <fx@gnu.org>
parents:
diff changeset
10331 LIBS="-lncurses $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
10332
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10333 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
10334
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10335 # 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
10336 if test "$with_hesiod" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10337 # 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
10338 resolv=no
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10339 echo "$as_me:10339: checking for res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10340 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
10341 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
10342 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
10343 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10344 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10345 #line 10340 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10346 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10347 /* 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
10348 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
10349 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10350 /* 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
10351 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10352 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10353 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10354 /* 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
10355 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
10356 char res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10357 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10358
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10359 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10360 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10361 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10362 /* 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
10363 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
10364 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
10365 #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
10366 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10367 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10368 f = res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10369 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10370
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10371 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10372 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10373 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10374 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10375 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10376 if { (eval echo "$as_me:10376: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10377 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10378 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10379 echo "$as_me:10379: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10380 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10381 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10382 { (eval echo "$as_me:10382: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10383 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10384 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10385 echo "$as_me:10385: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10386 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10387 ac_cv_func_res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10388 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10389 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
10390 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10391 ac_cv_func_res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10392 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10393 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
10394 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10395 echo "$as_me:10395: 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
10396 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
10397 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
10398 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10399 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10400 echo "$as_me:10400: checking for __res_send" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10401 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
10402 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
10403 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
10404 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10405 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10406 #line 10401 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10407 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10408 /* 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
10409 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
10410 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10411 /* 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
10412 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10413 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10414 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10415 /* 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
10416 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
10417 char __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10418 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10419
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10420 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10421 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10422 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10423 /* 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
10424 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
10425 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
10426 #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
10427 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10428 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10429 f = __res_send;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10430 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10431
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10432 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10433 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10434 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10435 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10436 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10437 if { (eval echo "$as_me:10437: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10438 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10439 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10440 echo "$as_me:10440: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10441 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10442 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10443 { (eval echo "$as_me:10443: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10444 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10445 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10446 echo "$as_me:10446: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10447 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10448 ac_cv_func___res_send=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10449 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10450 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
10451 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10452 ac_cv_func___res_send=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10453 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10454 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
10455 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10456 echo "$as_me:10456: 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
10457 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
10458 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
10459 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10460 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10461 echo "$as_me:10461: 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
10462 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
10463 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
10464 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
10465 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10466 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10467 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10468 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10469 #line 10464 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10470 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10471
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10472 /* 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
10473 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10474 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10475 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10476 /* 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
10477 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
10478 char res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10479 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10480 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10481 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10482 res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10483 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10484 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10485 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10486 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10487 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10488 if { (eval echo "$as_me:10488: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10489 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10490 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10491 echo "$as_me:10491: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10492 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10493 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10494 { (eval echo "$as_me:10494: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10495 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10496 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10497 echo "$as_me:10497: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10498 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10499 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
10500 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10501 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
10502 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10503 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
10504 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10505 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
10506 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10507 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10508 echo "$as_me:10508: 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
10509 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
10510 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
10511 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10512 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10513 echo "$as_me:10513: 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
10514 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
10515 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
10516 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
10517 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10518 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10519 LIBS="-lresolv $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10520 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10521 #line 10516 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10522 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10523
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10524 /* 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
10525 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10526 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10527 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10528 /* 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
10529 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
10530 char __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10531 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10532 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10533 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10534 __res_send ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10535 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10536 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10537 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10538 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10539 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10540 if { (eval echo "$as_me:10540: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10541 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10542 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10543 echo "$as_me:10543: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10544 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10545 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10546 { (eval echo "$as_me:10546: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10547 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10548 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10549 echo "$as_me:10549: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10550 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10551 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
10552 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10553 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
10554 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10555 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
10556 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10557 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
10558 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10559 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10560 echo "$as_me:10560: 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
10561 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
10562 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
10563 resolv=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10564 fi
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 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10567
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10568 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10569
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10570 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10571
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10572 if test "$resolv" = yes ; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10573 RESOLVLIB=-lresolv
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
10574
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10575 cat >>confdefs.h <<\EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10576 #define HAVE_LIBRESOLV 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10577 EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10578
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10579 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10580 RESOLVLIB=
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10581 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10582 echo "$as_me:10582: checking for hes_getmailhost" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10583 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
10584 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
10585 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
10586 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10587 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10588 #line 10583 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10589 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10590 /* 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
10591 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
10592 #include <assert.h>
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10593 /* 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
10594 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10595 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10596 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10597 /* 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
10598 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
10599 char hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10600 char (*f) ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10601
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10602 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10603 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10604 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10605 /* 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
10606 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
10607 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
10608 #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
10609 choke me
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10610 #else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10611 f = hes_getmailhost;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10612 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10613
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10614 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10615 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10616 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10617 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10618 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10619 if { (eval echo "$as_me:10619: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10620 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10621 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10622 echo "$as_me:10622: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10623 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10624 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10625 { (eval echo "$as_me:10625: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10626 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10627 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10628 echo "$as_me:10628: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10629 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10630 ac_cv_func_hes_getmailhost=yes
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10631 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10632 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
10633 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10634 ac_cv_func_hes_getmailhost=no
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10635 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10636 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
10637 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10638 echo "$as_me:10638: 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
10639 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
10640 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
10641 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10642 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10643 echo "$as_me:10643: 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
10644 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
10645 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
10646 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
10647 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10648 ac_check_lib_save_LIBS=$LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10649 LIBS="-lhesiod $RESOLVLIB $LIBS"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10650 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10651 #line 10646 "configure"
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10652 #include "confdefs.h"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10653
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10654 /* 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
10655 #ifdef __cplusplus
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10656 extern "C"
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10657 #endif
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10658 /* 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
10659 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
10660 char hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10661 int
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10662 main ()
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10663 {
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10664 hes_getmailhost ();
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10665 ;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10666 return 0;
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10667 }
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10668 _ACEOF
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10669 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10670 if { (eval echo "$as_me:10670: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10671 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10672 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10673 echo "$as_me:10673: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10674 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10675 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10676 { (eval echo "$as_me:10676: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10677 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10678 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10679 echo "$as_me:10679: \$? = $ac_status" >&5
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10680 (exit $ac_status); }; }; then
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10681 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
10682 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10683 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
10684 cat conftest.$ac_ext >&5
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10685 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
10686 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10687 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
10688 LIBS=$ac_check_lib_save_LIBS
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10689 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10690 echo "$as_me:10690: 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
10691 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
10692 if test $ac_cv_lib_hesiod_hes_getmailhost = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
10693
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10694 cat >>confdefs.h <<\EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10695 #define HAVE_LIBHESIOD 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10696 EOF
40276
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10697
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10698 else
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10699 :
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10700 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10701
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10702 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10703
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10704 fi
f53d3da02996 fix build problems with krb5 and hesiod support
Ken Raeburn <raeburn@raeburn.org>
parents: 40256
diff changeset
10705
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
10706 # 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
10707 if test "${with_kerberos+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10708
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10709 echo "$as_me:10709: checking for com_err in -lcom_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10710 echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10711 if test "${ac_cv_lib_com_err_com_err+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10712 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10713 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10714 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
10715 LIBS="-lcom_err $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10716 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10717 #line 10712 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10718 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10719
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
10720 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10721 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10722 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10723 #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
10724 /* 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
10725 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10726 char com_err ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10727 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10728 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10729 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10730 com_err ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10731 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10732 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10733 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10734 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10735 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10736 if { (eval echo "$as_me:10736: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10737 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10738 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10739 echo "$as_me:10739: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10740 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10741 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10742 { (eval echo "$as_me:10742: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10743 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10744 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10745 echo "$as_me:10745: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10746 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10747 ac_cv_lib_com_err_com_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10748 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10749 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10750 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10751 ac_cv_lib_com_err_com_err=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10752 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10754 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10755 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10756 echo "$as_me:10756: result: $ac_cv_lib_com_err_com_err" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10757 echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10758 if test $ac_cv_lib_com_err_com_err = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10759 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10760 #define HAVE_LIBCOM_ERR 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10761 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
10762
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
10763 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
10764
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10765 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10766
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10767 echo "$as_me:10767: checking for mit_des_cbc_encrypt in -lk5crypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10768 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
10769 if test "${ac_cv_lib_k5crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10770 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10771 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10772 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
10773 LIBS="-lk5crypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10774 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10775 #line 10770 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10776 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10777
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
10778 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10779 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10780 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10781 #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
10782 /* 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
10783 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10784 char mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10785 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10786 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10787 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10788 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10789 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10790 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10791 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10792 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10793 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10794 if { (eval echo "$as_me:10794: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10795 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10796 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10797 echo "$as_me:10797: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10798 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10799 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10800 { (eval echo "$as_me:10800: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10801 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10802 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10803 echo "$as_me:10803: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10804 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10805 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10806 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10807 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10808 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10809 ac_cv_lib_k5crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10810 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10812 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10813 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10814 echo "$as_me:10814: result: $ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10815 echo "${ECHO_T}$ac_cv_lib_k5crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10816 if test $ac_cv_lib_k5crypto_mit_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10817 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10818 #define HAVE_LIBK5CRYPTO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10819 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
10820
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
10821 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
10822
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10823 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10824
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10825 echo "$as_me:10825: checking for mit_des_cbc_encrypt in -lcrypto" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10826 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
10827 if test "${ac_cv_lib_crypto_mit_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10829 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10830 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
10831 LIBS="-lcrypto $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10832 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10833 #line 10828 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10834 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10835
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
10836 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10837 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10838 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10839 #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
10840 /* 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
10841 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10842 char mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10843 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10844 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10845 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10846 mit_des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10847 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10848 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10849 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10850 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10851 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10852 if { (eval echo "$as_me:10852: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10853 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10854 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10855 echo "$as_me:10855: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10856 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10857 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10858 { (eval echo "$as_me:10858: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10859 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10860 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10861 echo "$as_me:10861: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10862 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10863 ac_cv_lib_crypto_mit_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10864 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10865 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10866 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10867 ac_cv_lib_crypto_mit_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10868 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10870 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10871 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10872 echo "$as_me:10872: result: $ac_cv_lib_crypto_mit_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10873 echo "${ECHO_T}$ac_cv_lib_crypto_mit_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10874 if test $ac_cv_lib_crypto_mit_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10875 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10876 #define HAVE_LIBCRYPTO 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10877 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
10878
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
10879 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
10880
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10881 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10882
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10883 echo "$as_me:10883: checking for krb5_init_context in -lkrb5" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10884 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10885 if test "${ac_cv_lib_krb5_krb5_init_context+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10886 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10887 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10888 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
10889 LIBS="-lkrb5 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10890 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10891 #line 10886 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10892 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10893
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
10894 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10895 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10896 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10897 #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
10898 /* 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
10899 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10900 char krb5_init_context ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10901 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10902 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10903 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10904 krb5_init_context ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10905 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10906 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10907 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10908 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10909 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10910 if { (eval echo "$as_me:10910: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10911 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10912 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10913 echo "$as_me:10913: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10914 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10915 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10916 { (eval echo "$as_me:10916: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10917 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10918 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10919 echo "$as_me:10919: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10920 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10921 ac_cv_lib_krb5_krb5_init_context=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10922 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10923 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10924 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10925 ac_cv_lib_krb5_krb5_init_context=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10926 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10928 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10929 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10930 echo "$as_me:10930: result: $ac_cv_lib_krb5_krb5_init_context" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10931 echo "${ECHO_T}$ac_cv_lib_krb5_krb5_init_context" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10932 if test $ac_cv_lib_krb5_krb5_init_context = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10933 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10934 #define HAVE_LIBKRB5 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10935 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
10936
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
10937 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
10938
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
10939 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
10940
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
10941 if test "${with_kerberos5+set}" != set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10942
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10943 echo "$as_me:10943: checking for des_cbc_encrypt in -ldes425" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10944 echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10945 if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10947 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10948 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
10949 LIBS="-ldes425 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10950 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10951 #line 10946 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10952 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10953
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
10954 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10955 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10956 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10957 #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
10958 /* 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
10959 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10960 char des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10961 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10962 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10963 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10964 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10965 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10966 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10967 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10968 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10969 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10970 if { (eval echo "$as_me:10970: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10971 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10972 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10973 echo "$as_me:10973: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10974 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
10975 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10976 { (eval echo "$as_me:10976: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10977 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10978 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10979 echo "$as_me:10979: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10980 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10981 ac_cv_lib_des425_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10982 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10983 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10984 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10985 ac_cv_lib_des425_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10986 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10988 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10989 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
10990 echo "$as_me:10990: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10991 echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10992 if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10993 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
10994 #define HAVE_LIBDES425 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
10995 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
10996
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
10997 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
10998
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
10999 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11000
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11001 echo "$as_me:11001: checking for des_cbc_encrypt in -ldes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11002 echo $ECHO_N "checking for des_cbc_encrypt in -ldes... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11003 if test "${ac_cv_lib_des_des_cbc_encrypt+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11004 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11005 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11006 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
11007 LIBS="-ldes $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11008 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11009 #line 11004 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11010 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11011
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
11012 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11013 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11014 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11015 #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
11016 /* 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
11017 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11018 char des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11019 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11020 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11021 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11022 des_cbc_encrypt ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11023 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11024 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11025 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11026 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11027 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11028 if { (eval echo "$as_me:11028: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11029 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11030 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11031 echo "$as_me:11031: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11032 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11033 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11034 { (eval echo "$as_me:11034: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11035 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11036 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11037 echo "$as_me:11037: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11038 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11039 ac_cv_lib_des_des_cbc_encrypt=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11040 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11041 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11042 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11043 ac_cv_lib_des_des_cbc_encrypt=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11044 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11046 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11047 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11048 echo "$as_me:11048: result: $ac_cv_lib_des_des_cbc_encrypt" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11049 echo "${ECHO_T}$ac_cv_lib_des_des_cbc_encrypt" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11050 if test $ac_cv_lib_des_des_cbc_encrypt = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11051 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11052 #define HAVE_LIBDES 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11053 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
11054
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
11055 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
11056
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11057 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11058
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11059 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11060
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11061 echo "$as_me:11061: checking for krb_get_cred in -lkrb4" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11062 echo $ECHO_N "checking for krb_get_cred in -lkrb4... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11063 if test "${ac_cv_lib_krb4_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11064 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11065 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11066 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
11067 LIBS="-lkrb4 $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11068 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11069 #line 11064 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11070 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11071
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
11072 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11073 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11074 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11075 #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
11076 /* 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
11077 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11078 char krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11079 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11080 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11081 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11082 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11083 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11084 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11085 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11086 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11087 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11088 if { (eval echo "$as_me:11088: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11089 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11090 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11091 echo "$as_me:11091: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11092 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11093 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11094 { (eval echo "$as_me:11094: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11095 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11096 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11097 echo "$as_me:11097: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11098 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11099 ac_cv_lib_krb4_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11100 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11101 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11102 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11103 ac_cv_lib_krb4_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11104 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11105 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11106 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11107 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11108 echo "$as_me:11108: result: $ac_cv_lib_krb4_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11109 echo "${ECHO_T}$ac_cv_lib_krb4_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11110 if test $ac_cv_lib_krb4_krb_get_cred = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11111 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11112 #define HAVE_LIBKRB4 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11113 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
11114
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
11115 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
11116
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
11117 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11118
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11119 echo "$as_me:11119: checking for krb_get_cred in -lkrb" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11120 echo $ECHO_N "checking for krb_get_cred in -lkrb... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11121 if test "${ac_cv_lib_krb_krb_get_cred+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11123 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11124 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
11125 LIBS="-lkrb $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11126 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11127 #line 11122 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11128 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11129
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
11130 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11131 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11132 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11133 #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
11134 /* 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
11135 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11136 char krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11137 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11138 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11139 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11140 krb_get_cred ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11141 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11142 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11143 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11144 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11145 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11146 if { (eval echo "$as_me:11146: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11147 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11148 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11149 echo "$as_me:11149: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11150 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11151 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11152 { (eval echo "$as_me:11152: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11153 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11154 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11155 echo "$as_me:11155: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11156 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11157 ac_cv_lib_krb_krb_get_cred=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11158 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11159 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11160 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11161 ac_cv_lib_krb_krb_get_cred=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11162 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11164 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11165 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11166 echo "$as_me:11166: result: $ac_cv_lib_krb_krb_get_cred" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11167 echo "${ECHO_T}$ac_cv_lib_krb_krb_get_cred" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11168 if test $ac_cv_lib_krb_krb_get_cred = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11169 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11170 #define HAVE_LIBKRB 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11171 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
11172
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
11173 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
11174
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
11175 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
11176
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
11177 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
11178
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
11179 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
11180
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
11181 if test "${with_kerberos5+set}" = set; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11182
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11183 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
11184 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11186 echo "$as_me:11186: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11190 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11191 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11192 #line 11187 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11193 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11194 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11195 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11196 if { (eval echo "$as_me:11196: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11198 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11199 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11200 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11201 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11202 echo "$as_me:11202: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11203 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11204 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11205 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11206 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11207 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11208 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11209 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11210 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11211 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11212 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11213 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11214 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11215 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
11216 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11217 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11218 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11219 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11220 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11221 echo "$as_me:11221: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11224 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11226 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11227
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11228 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
11229 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
11230
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
11231 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11232
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11233 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
11234 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11236 echo "$as_me:11236: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11237 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11240 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11241 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11242 #line 11237 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11243 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11244 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11245 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11246 if { (eval echo "$as_me:11246: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11248 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11249 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11250 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11251 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11252 echo "$as_me:11252: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11253 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11254 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11255 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11256 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11257 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11258 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11259 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11260 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11261 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11262 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11263 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11264 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11265 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
11266 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11267 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11268 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11269 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11270 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11271 echo "$as_me:11271: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11274 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11276 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11277
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11278 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11279
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11280 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
11281 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11283 echo "$as_me:11283: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11286 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11287 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11288 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11289 #line 11284 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11290 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11291 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11292 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11293 if { (eval echo "$as_me:11293: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11295 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11296 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11297 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11298 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11299 echo "$as_me:11299: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11300 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11301 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11302 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11303 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11304 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11305 fi
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 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11308 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11309 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11310 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11311 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11312 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
11313 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11314 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11315 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11316 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11317 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11318 echo "$as_me:11318: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11321 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11323 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11324
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11325 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11326
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11327 for ac_header in kerberos/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
11328 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11330 echo "$as_me:11330: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
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 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11336 #line 11331 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11337 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11338 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11339 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11340 if { (eval echo "$as_me:11340: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11342 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11343 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11344 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11345 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11346 echo "$as_me:11346: \$? = $ac_status" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11347 (exit $ac_status); } >/dev/null; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11348 if test -s conftest.err; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11349 ac_cpp_err=$ac_c_preproc_warn_flag
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11350 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11351 ac_cpp_err=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11352 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11353 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11354 ac_cpp_err=yes
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11355 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11356 if test -z "$ac_cpp_err"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11357 eval "$as_ac_Header=yes"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11358 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11359 echo "$as_me: failed program was:" >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11360 cat conftest.$ac_ext >&5
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11361 eval "$as_ac_Header=no"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11362 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11363 rm -f conftest.err conftest.$ac_ext
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11364 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11365 echo "$as_me:11365: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11368 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11370 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11371
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11372 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11373 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11374
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11375 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11376 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11377
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11378 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11379 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11380
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11381 for ac_header in krb.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11382 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11383 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11384 echo "$as_me:11384: checking for $ac_header" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11388 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11389 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11390 #line 11385 "configure"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11391 #include "confdefs.h"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11392 #include <$ac_header>
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11393 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11394 if { (eval echo "$as_me:11394: \"$ac_cpp conftest.$ac_ext\"") >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11396 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11397 egrep -v '^ *\+' conftest.er1 >conftest.err
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11398 rm -f conftest.er1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11399 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11400 echo "$as_me:11400: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11401 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11402 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11403 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11404 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11405 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11406 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11407 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11408 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11409 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11410 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11411 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11412 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11413 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
11414 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11415 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11416 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11417 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11418 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11419 echo "$as_me:11419: result: `eval echo '${'$as_ac_Header'}'`" >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11422 cat >>confdefs.h <<EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11424 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11425
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11426 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11427
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11428 for ac_header in kerberosIV/krb.h
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11429 do
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11431 echo "$as_me:11431: checking for $ac_header" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11434 echo $ECHO_N "(cached) $ECHO_C" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11435 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11436 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11437 #line 11432 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11438 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11439 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11440 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11441 if { (eval echo "$as_me:11441: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11442 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11443 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11444 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11445 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11446 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11447 echo "$as_me:11447: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11448 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11449 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11450 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11451 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11452 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11453 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11454 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11455 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11456 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11457 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11458 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11459 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11460 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
11461 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11462 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11463 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11464 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11465 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11466 echo "$as_me:11466: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11469 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11471 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11472
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11473 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11474
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11475 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
11476 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11478 echo "$as_me:11478: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11482 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11483 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11484 #line 11479 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11485 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11486 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11487 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11488 if { (eval echo "$as_me:11488: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11489 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11490 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11491 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11492 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11493 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11494 echo "$as_me:11494: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11495 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11496 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11497 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11498 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11499 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11500 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11501 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11502 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11503 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11504 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11505 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11506 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11507 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
11508 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11509 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11510 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11511 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11512 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11513 echo "$as_me:11513: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11516 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11518 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11519
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11520 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11521 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11522
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11523 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11524 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11525
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11526 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11527 done
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11528
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11529 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11530
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11531 for ac_header in com_err.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
11532 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11534 echo "$as_me:11534: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11538 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11539 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11540 #line 11535 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11541 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11542 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11543 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11544 if { (eval echo "$as_me:11544: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11546 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11547 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11548 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11549 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11550 echo "$as_me:11550: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11551 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11552 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11553 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11554 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11555 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11556 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11557 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11558 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11559 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11560 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11561 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11562 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11563 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
11564 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11565 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11566 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11567 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11568 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11569 echo "$as_me:11569: result: `eval echo '${'$as_ac_Header'}'`" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11570 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11572 cat >>confdefs.h <<EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11574 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11575
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11576 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
11577 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
11578
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
11579 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
11580
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11581 # Solaris requires -lintl if you want strerror (which calls dgettext)
Dave Love <fx@gnu.org>
parents:
diff changeset
11582 # to return localized messages.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11583
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11584 echo "$as_me:11584: checking for dgettext in -lintl" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11585 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11586 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11587 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11588 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11589 ac_check_lib_save_LIBS=$LIBS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11590 LIBS="-lintl $LIBS"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11591 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11592 #line 11587 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11593 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11594
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11595 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11596 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11597 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11598 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11599 /* 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
11600 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11601 char dgettext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11602 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11603 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11604 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11605 dgettext ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11606 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11607 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11608 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11609 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11610 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11611 if { (eval echo "$as_me:11611: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11612 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11613 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11614 echo "$as_me:11614: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11615 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11616 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11617 { (eval echo "$as_me:11617: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11618 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11619 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11620 echo "$as_me:11620: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11621 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11622 ac_cv_lib_intl_dgettext=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11623 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11624 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11625 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11626 ac_cv_lib_intl_dgettext=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11627 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11628 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11629 LIBS=$ac_check_lib_save_LIBS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11630 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11631 echo "$as_me:11631: result: $ac_cv_lib_intl_dgettext" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11632 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11633 if test $ac_cv_lib_intl_dgettext = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11634 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11635 #define HAVE_LIBINTL 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11636 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11637
Dave Love <fx@gnu.org>
parents:
diff changeset
11638 LIBS="-lintl $LIBS"
Dave Love <fx@gnu.org>
parents:
diff changeset
11639
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11640 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11641
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11642 echo "$as_me:11642: checking whether localtime caches TZ" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11643 echo $ECHO_N "checking whether localtime caches TZ... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11644 if test "${emacs_cv_localtime_cache+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11645 echo $ECHO_N "(cached) $ECHO_C" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11646 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11647 if test x$ac_cv_func_tzset = xyes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
11648 if test "$cross_compiling" = yes; then
Dave Love <fx@gnu.org>
parents:
diff changeset
11649 # If we have tzset, assume the worst when cross-compiling.
Dave Love <fx@gnu.org>
parents:
diff changeset
11650 emacs_cv_localtime_cache=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
11651 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11652 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11653 #line 11648 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11654 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11655 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11656 extern char **environ;
Dave Love <fx@gnu.org>
parents:
diff changeset
11657 unset_TZ ()
Dave Love <fx@gnu.org>
parents:
diff changeset
11658 {
Dave Love <fx@gnu.org>
parents:
diff changeset
11659 char **from, **to;
Dave Love <fx@gnu.org>
parents:
diff changeset
11660 for (to = from = environ; (*to = *from); from++)
Dave Love <fx@gnu.org>
parents:
diff changeset
11661 if (! (to[0][0] == 'T' && to[0][1] == 'Z' && to[0][2] == '='))
Dave Love <fx@gnu.org>
parents:
diff changeset
11662 to++;
Dave Love <fx@gnu.org>
parents:
diff changeset
11663 }
Dave Love <fx@gnu.org>
parents:
diff changeset
11664 char TZ_GMT0[] = "TZ=GMT0";
Dave Love <fx@gnu.org>
parents:
diff changeset
11665 char TZ_PST8[] = "TZ=PST8";
Dave Love <fx@gnu.org>
parents:
diff changeset
11666 main()
Dave Love <fx@gnu.org>
parents:
diff changeset
11667 {
Dave Love <fx@gnu.org>
parents:
diff changeset
11668 time_t now = time ((time_t *) 0);
Dave Love <fx@gnu.org>
parents:
diff changeset
11669 int hour_GMT0, hour_unset;
Dave Love <fx@gnu.org>
parents:
diff changeset
11670 if (putenv (TZ_GMT0) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11671 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11672 hour_GMT0 = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
11673 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
11674 hour_unset = localtime (&now)->tm_hour;
Dave Love <fx@gnu.org>
parents:
diff changeset
11675 if (putenv (TZ_PST8) != 0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11676 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11677 if (localtime (&now)->tm_hour == hour_GMT0)
Dave Love <fx@gnu.org>
parents:
diff changeset
11678 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11679 unset_TZ ();
Dave Love <fx@gnu.org>
parents:
diff changeset
11680 if (localtime (&now)->tm_hour != hour_unset)
Dave Love <fx@gnu.org>
parents:
diff changeset
11681 exit (1);
Dave Love <fx@gnu.org>
parents:
diff changeset
11682 exit (0);
Dave Love <fx@gnu.org>
parents:
diff changeset
11683 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11684 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11685 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11686 if { (eval echo "$as_me:11686: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11687 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11688 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11689 echo "$as_me:11689: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11690 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11691 { (eval echo "$as_me:11691: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11692 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11693 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11694 echo "$as_me:11694: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11695 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11696 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
11697 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11698 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11699 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11700 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11701 emacs_cv_localtime_cache=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11702 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11703 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
11704 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11705 else
Dave Love <fx@gnu.org>
parents:
diff changeset
11706 # If we lack tzset, report that localtime does not cache TZ,
Dave Love <fx@gnu.org>
parents:
diff changeset
11707 # since we can't invalidate the cache if we don't have tzset.
Dave Love <fx@gnu.org>
parents:
diff changeset
11708 emacs_cv_localtime_cache=no
Dave Love <fx@gnu.org>
parents:
diff changeset
11709 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11710 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11711 echo "$as_me:11711: result: $emacs_cv_localtime_cache" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11712 echo "${ECHO_T}$emacs_cv_localtime_cache" >&6
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11713 if test $emacs_cv_localtime_cache = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11714
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11715 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11716 #define LOCALTIME_CACHE 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11717 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11718
Dave Love <fx@gnu.org>
parents:
diff changeset
11719 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11720
Dave Love <fx@gnu.org>
parents:
diff changeset
11721 if test "x$HAVE_TIMEVAL" = xyes; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11722
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11723 for ac_func in gettimeofday
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11724 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11726 echo "$as_me:11726: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11728 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11730 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11731 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11732 #line 11727 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11733 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11734 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11735 which can conflict with char $ac_func (); below. */
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11736 #include <assert.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11737 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11738 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11739 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11740 #endif
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11741 /* 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
11742 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11743 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11744 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11745
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11746 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11747 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11748 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11749 /* The GNU C library defines this for functions which it implements
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11750 to always fail with ENOSYS. Some functions are actually named
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11751 something starting with __ and the normal name is an alias. */
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11753 choke me
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11754 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11755 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11756 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11757
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11758 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11759 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11760 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11761 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11762 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11763 if { (eval echo "$as_me:11763: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11764 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11765 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11766 echo "$as_me:11766: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11767 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11768 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11769 { (eval echo "$as_me:11769: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11770 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11771 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11772 echo "$as_me:11772: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11773 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11774 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11775 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11776 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11777 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11778 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11779 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11781 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11782 echo "$as_me:11782: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11784 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11785 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11787 EOF
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11788
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11789 fi
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11790 done
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11791
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11792 if test $ac_cv_func_gettimeofday = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11793 echo "$as_me:11793: checking whether gettimeofday can accept two arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11794 echo $ECHO_N "checking whether gettimeofday can accept two arguments... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11795 if test "${emacs_cv_gettimeofday_two_arguments+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11796 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11797 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11798 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11799 #line 11794 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11800 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11801
Dave Love <fx@gnu.org>
parents:
diff changeset
11802 #ifdef TIME_WITH_SYS_TIME
Dave Love <fx@gnu.org>
parents:
diff changeset
11803 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11804 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11805 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
11806 #ifdef HAVE_SYS_TIME_H
Dave Love <fx@gnu.org>
parents:
diff changeset
11807 #include <sys/time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11808 #else
Dave Love <fx@gnu.org>
parents:
diff changeset
11809 #include <time.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11810 #endif
Dave Love <fx@gnu.org>
parents:
diff changeset
11811 #endif
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11812 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11813 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11814 {
29733
6a91d938851d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29657
diff changeset
11815 struct timeval time;
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11816 gettimeofday (&time, 0);
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11817 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11818 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11819 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11820 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11821 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11822 if { (eval echo "$as_me:11822: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11823 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11824 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11825 echo "$as_me:11825: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11826 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11827 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11828 { (eval echo "$as_me:11828: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11829 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11830 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11831 echo "$as_me:11831: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11832 (exit $ac_status); }; }; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11833 emacs_cv_gettimeofday_two_arguments=yes
Dave Love <fx@gnu.org>
parents:
diff changeset
11834 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11835 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11836 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11837 emacs_cv_gettimeofday_two_arguments=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11838 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11839 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11840 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11841 echo "$as_me:11841: result: $emacs_cv_gettimeofday_two_arguments" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11842 echo "${ECHO_T}$emacs_cv_gettimeofday_two_arguments" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11843 if test $emacs_cv_gettimeofday_two_arguments = no; then
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11844
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11845 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11846 #define GETTIMEOFDAY_ONE_ARGUMENT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11847 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11848
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
11849 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11850 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11851 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
11852
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11853 if test "$ac_cv_func_gettimeofday" = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11854 echo "$as_me:11854: checking for struct timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11855 echo $ECHO_N "checking for struct timezone... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11856 if test "${emacs_cv_struct_timezone+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11858 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11859 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11860 #line 11855 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11861 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11862 #include <sys/time.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11863 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11864 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11865 {
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11866 struct timezone tz;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11867 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11868 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11869 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11870 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11871 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11872 if { (eval echo "$as_me:11872: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11873 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11874 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11875 echo "$as_me:11875: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11876 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11877 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11878 { (eval echo "$as_me:11878: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11879 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11880 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11881 echo "$as_me:11881: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11882 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11883 if test "$cross_compiling" = yes; then
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11884 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11885 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11886 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11887 #line 11882 "configure"
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11888 #include "confdefs.h"
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11889
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11890 #ifdef TIME_WITH_SYS_TIME
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11891 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11892 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11893 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11894 #ifdef HAVE_SYS_TIME_H
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11895 #include <sys/time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11896 #else
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11897 #include <time.h>
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11898 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11899 #endif
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11900 main () {
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11901 struct timeval time;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11902 struct timezone dummy;
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11903 exit (gettimeofday (&time, &dummy));
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11904 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11905 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11906 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11907 if { (eval echo "$as_me:11907: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11908 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11909 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11910 echo "$as_me:11910: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11911 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11912 { (eval echo "$as_me:11912: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11913 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11914 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11915 echo "$as_me:11915: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11916 (exit $ac_status); }; }; then
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11917 emacs_cv_struct_timezone=yes
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11918 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11919 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11920 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11921 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11922 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11923 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11924 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
11925 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11926 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11927 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11928 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11929 emacs_cv_struct_timezone=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11930 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11931 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11932 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11933 echo "$as_me:11933: result: $emacs_cv_struct_timezone" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11934 echo "${ECHO_T}$emacs_cv_struct_timezone" >&6
29906
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11935 fi
b37a06f2fbf2 *** empty log message ***
Dave Love <fx@gnu.org>
parents: 29834
diff changeset
11936
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11937 ok_so_far=yes
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11938 echo "$as_me:11938: checking for socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11939 echo $ECHO_N "checking for socket... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11940 if test "${ac_cv_func_socket+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11942 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11943 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
11944 #line 11939 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11945 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
11946 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11947 which can conflict with char socket (); below. */
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11948 #include <assert.h>
Dave Love <fx@gnu.org>
parents:
diff changeset
11949 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11950 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11951 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11952 #endif
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11953 /* 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
11954 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11955 char socket ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11956 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11957
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11958 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11959 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11960 {
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11961 /* The GNU C library defines this for functions which it implements
Dave Love <fx@gnu.org>
parents:
diff changeset
11962 to always fail with ENOSYS. Some functions are actually named
Dave Love <fx@gnu.org>
parents:
diff changeset
11963 something starting with __ and the normal name is an alias. */
Dave Love <fx@gnu.org>
parents:
diff changeset
11964 #if defined (__stub_socket) || defined (__stub___socket)
Dave Love <fx@gnu.org>
parents:
diff changeset
11965 choke me
Dave Love <fx@gnu.org>
parents:
diff changeset
11966 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11967 f = socket;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11968 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11969
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11970 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11971 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11972 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11973 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11974 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11975 if { (eval echo "$as_me:11975: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11976 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11977 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11978 echo "$as_me:11978: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11979 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
11980 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11981 { (eval echo "$as_me:11981: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11982 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11983 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11984 echo "$as_me:11984: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11985 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11986 ac_cv_func_socket=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11987 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11988 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11989 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11990 ac_cv_func_socket=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11991 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11993 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
11994 echo "$as_me:11994: result: $ac_cv_func_socket" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11995 echo "${ECHO_T}$ac_cv_func_socket" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11996 if test $ac_cv_func_socket = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
11997 :
Dave Love <fx@gnu.org>
parents:
diff changeset
11998 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
11999 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12000 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12001
Dave Love <fx@gnu.org>
parents:
diff changeset
12002 if test $ok_so_far = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12003 echo "$as_me:12003: checking for netinet/in.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12004 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12005 if test "${ac_cv_header_netinet_in_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12007 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12008 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12009 #line 12004 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12010 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
12011 #include <netinet/in.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12012 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12013 if { (eval echo "$as_me:12013: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12015 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12016 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12017 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12018 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12019 echo "$as_me:12019: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12020 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12021 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12022 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12023 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12024 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12025 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12026 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12027 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12028 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12029 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12030 ac_cv_header_netinet_in_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12031 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12032 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12033 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12034 ac_cv_header_netinet_in_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12035 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12036 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12037 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12038 echo "$as_me:12038: result: $ac_cv_header_netinet_in_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12039 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12040 if test $ac_cv_header_netinet_in_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12041 :
Dave Love <fx@gnu.org>
parents:
diff changeset
12042 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12043 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12044 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12045
Dave Love <fx@gnu.org>
parents:
diff changeset
12046 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12047 if test $ok_so_far = yes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12048 echo "$as_me:12048: checking for arpa/inet.h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12049 echo $ECHO_N "checking for arpa/inet.h... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12050 if test "${ac_cv_header_arpa_inet_h+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12052 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12053 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12054 #line 12049 "configure"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12055 #include "confdefs.h"
Dave Love <fx@gnu.org>
parents:
diff changeset
12056 #include <arpa/inet.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12057 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12058 if { (eval echo "$as_me:12058: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12060 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12061 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12062 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12063 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12064 echo "$as_me:12064: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12065 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12066 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12067 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12068 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12069 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12070 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12071 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12072 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12073 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12074 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12075 ac_cv_header_arpa_inet_h=yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12076 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12077 echo "$as_me: failed program was:" >&5
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12078 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12079 ac_cv_header_arpa_inet_h=no
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12080 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12081 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12082 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12083 echo "$as_me:12083: result: $ac_cv_header_arpa_inet_h" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12084 echo "${ECHO_T}$ac_cv_header_arpa_inet_h" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12085 if test $ac_cv_header_arpa_inet_h = yes; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12086 :
Dave Love <fx@gnu.org>
parents:
diff changeset
12087 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12088 ok_so_far=no
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12089 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12090
Dave Love <fx@gnu.org>
parents:
diff changeset
12091 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12092 if test $ok_so_far = yes; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12093
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12094 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12095 #define HAVE_INET_SOCKETS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12096 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12097
Dave Love <fx@gnu.org>
parents:
diff changeset
12098 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12099
Dave Love <fx@gnu.org>
parents:
diff changeset
12100 if test -f /usr/lpp/X11/bin/smt.exp; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12101
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12102 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12103 #define HAVE_AIX_SMT_EXP 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12104 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12105
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12106 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12107
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12108 echo "$as_me:12108: checking whether system supports dynamic ptys" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12109 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
12110 if test -d /dev/pts && ls -d /dev/ptmx > /dev/null 2>&1 ; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12111 echo "$as_me:12111: result: yes" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12112 echo "${ECHO_T}yes" >&6
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12113
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12114 cat >>confdefs.h <<\EOF
26382
78660eeae4b2 Fix change for --with-pop default.
Dave Love <fx@gnu.org>
parents: 26081
diff changeset
12115 #define HAVE_DEV_PTMX 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12116 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12117
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12118 else
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12119 echo "$as_me:12119: result: no" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12120 echo "${ECHO_T}no" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12121 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12122
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12123 echo "$as_me:12123: checking for pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12124 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12125 if test "${ac_cv_type_pid_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12126 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12127 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12128 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12129 #line 12124 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12130 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12131 $ac_includes_default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12132 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12133 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12134 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12135 if ((pid_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12136 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12137 if (sizeof (pid_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12138 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12139 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12140 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12141 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12142 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12143 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12144 if { (eval echo "$as_me:12144: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12145 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12146 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12147 echo "$as_me:12147: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12148 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12149 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12150 { (eval echo "$as_me:12150: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12151 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12152 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12153 echo "$as_me:12153: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12154 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12155 ac_cv_type_pid_t=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12156 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12157 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12158 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12159 ac_cv_type_pid_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12160 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12161 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12162 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12163 echo "$as_me:12163: result: $ac_cv_type_pid_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12164 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12165 if test $ac_cv_type_pid_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12166 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12167 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12168
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12169 cat >>confdefs.h <<EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12170 #define pid_t int
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12171 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12172
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12173 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12174
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12175 for ac_header in unistd.h vfork.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12176 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12178 echo "$as_me:12178: checking for $ac_header" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12181 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12182 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12183 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12184 #line 12179 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12185 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12186 #include <$ac_header>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12187 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12188 if { (eval echo "$as_me:12188: \"$ac_cpp conftest.$ac_ext\"") >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12189 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12190 ac_status=$?
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12191 egrep -v '^ *\+' conftest.er1 >conftest.err
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12192 rm -f conftest.er1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12193 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12194 echo "$as_me:12194: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12195 (exit $ac_status); } >/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12196 if test -s conftest.err; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12197 ac_cpp_err=$ac_c_preproc_warn_flag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12198 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12199 ac_cpp_err=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12200 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12201 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12202 ac_cpp_err=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12203 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12204 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12205 eval "$as_ac_Header=yes"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12206 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12207 echo "$as_me: failed program was:" >&5
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12208 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12209 eval "$as_ac_Header=no"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12210 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12211 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12212 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12213 echo "$as_me:12213: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12216 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12218 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12219
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12220 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12221 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12222
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12223 for ac_func in fork vfork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12224 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12226 echo "$as_me:12226: checking for $ac_func" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12228 if eval "test \"\${$as_ac_var+set}\" = set"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12229 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12230 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12231 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12232 #line 12227 "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12233 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12234 /* System header to define __stub macros and hopefully few prototypes,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12235 which can conflict with char $ac_func (); below. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12236 #include <assert.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12237 /* Override any gcc2 internal prototype to avoid an error. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12238 #ifdef __cplusplus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12239 extern "C"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12240 #endif
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12241 /* 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
12242 builtin and then its argument prototype would still apply. */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12243 char $ac_func ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12244 char (*f) ();
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12245
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12246 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12247 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12248 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12249 /* The GNU C library defines this for functions which it implements
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12250 to always fail with ENOSYS. Some functions are actually named
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12251 something starting with __ and the normal name is an alias. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12253 choke me
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12254 #else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12255 f = $ac_func;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12256 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12257
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12258 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12259 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12260 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12261 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12262 rm -f conftest.$ac_objext conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12263 if { (eval echo "$as_me:12263: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12264 (eval $ac_link) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12265 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12266 echo "$as_me:12266: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12267 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12268 { ac_try='test -s conftest$ac_exeext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12269 { (eval echo "$as_me:12269: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12270 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12271 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12272 echo "$as_me:12272: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12273 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12274 eval "$as_ac_var=yes"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12275 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12276 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12277 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12278 eval "$as_ac_var=no"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12279 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12281 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12282 echo "$as_me:12282: result: `eval echo '${'$as_ac_var'}'`" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12284 if test `eval echo '${'$as_ac_var'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12285 cat >>confdefs.h <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12287 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12288
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12289 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12290 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12291
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12292 ac_cv_func_fork_works=$ac_cv_func_fork
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12293 if test "x$ac_cv_func_fork" = xyes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12294 echo "$as_me:12294: checking for working fork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12295 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12296 if test "${ac_cv_func_fork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12297 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12298 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12299 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12300 ac_cv_func_fork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12301 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12302 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12303 /* By Rüdiger Kuhlmann. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12304 #include <sys/types.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12305 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12306 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12307 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12308 /* Some systems only have a dummy stub for fork() */
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12309 int main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12310 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12311 if (fork() < 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12312 exit (1);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12313 exit (0);
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12314 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12315 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12316 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12317 if { (eval echo "$as_me:12317: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12318 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12319 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12320 echo "$as_me:12320: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12322 { (eval echo "$as_me:12322: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12323 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12324 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12325 echo "$as_me:12325: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12326 (exit $ac_status); }; }; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12327 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12328 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12329 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12330 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12331 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12332 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12333 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12334 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
12335 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12336 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12337 echo "$as_me:12337: result: $ac_cv_func_fork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12338 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12339
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12340 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12341 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12342 case $host in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12343 *-*-amigaos* | *-*-msdosdjgpp*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12344 # Override, as these systems have only a dummy fork() stub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12345 ac_cv_func_fork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12346 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12347 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12348 ac_cv_func_fork_works=yes
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12349 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12350 esac
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12351 { echo "$as_me:12351: 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
12352 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
12353 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12354 ac_cv_func_vfork_works=$ac_cv_func_vfork
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12355 if test "x$ac_cv_func_vfork" = xyes; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12356 echo "$as_me:12356: checking for working vfork" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12357 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12358 if test "${ac_cv_func_vfork_works+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12359 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12360 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12361 if test "$cross_compiling" = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12362 ac_cv_func_vfork_works=cross
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12363 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12364 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12365 #line 12360 "configure"
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12366 #include "confdefs.h"
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12367 /* Thanks to Paul Eggert for this test. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12368 #include <stdio.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12369 #include <sys/types.h>
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12370 #include <sys/stat.h>
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12371 #if HAVE_UNISTD_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12372 # include <unistd.h>
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12373 #endif
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12374 #if HAVE_VFORK_H
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12375 # include <vfork.h>
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12376 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12377 /* On some sparc systems, changes by the child to local and incoming
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12378 argument registers are propagated back to the parent. The compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12379 is told about this with #include <vfork.h>, but some compilers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12380 (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
12381 static variable whose address is put into a register that is
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12382 clobbered by the vfork. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12383 static
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12384 #ifdef __cplusplus
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12385 sparc_address_test (int arg)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12386 # else
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12387 sparc_address_test (arg) int arg;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12388 #endif
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12389 {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12390 static pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12391 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12392 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12393 if (child < 0) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12394 perror ("vfork");
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12395 _exit(2);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12396 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12397 if (!child) {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12398 arg = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12399 write(-1, "", 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12400 _exit (arg);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12401 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12402 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12403 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12404
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12405 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12406 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12407 {
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12408 pid_t parent = getpid ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12409 pid_t child;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12410
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12411 sparc_address_test ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12412
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12413 child = vfork ();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12414
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12415 if (child == 0) {
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12416 /* Here is another test for sparc vfork register problems. This
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12417 test uses lots of local variables, at least as many local
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12418 variables as main has allocated so far including compiler
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12419 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12420 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
12421 reuse the register of parent for one of the local variables,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12422 since it will think that parent can't possibly be used any more
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12423 in this routine. Assigning to the local variable will thus
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12424 munge parent in the parent process. */
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12425 pid_t
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12426 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12427 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12428 /* Convince the compiler that p..p7 are live; otherwise, it might
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12429 use the same hardware register for all 8 local variables. */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12430 if (p != p1 || p != p2 || p != p3 || p != p4
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12431 || p != p5 || p != p6 || p != p7)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12432 _exit(1);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12433
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12434 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12435 from child file descriptors. If the child closes a descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12436 before it execs or exits, this munges the parent's descriptor
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12437 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
12438 _exit(close(fileno(stdout)) != 0);
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12439 } else {
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12440 int status;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12441 struct stat st;
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 while (wait(&status) != child)
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12444 ;
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12445 exit(
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12446 /* Was there some problem with vforking? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12447 child < 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12448
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12449 /* Did the child fail? (This shouldn't happen.) */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12450 || status
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12451
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12452 /* Did the vfork/compiler bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12453 || parent != getpid()
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12454
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12455 /* Did the file descriptor bug occur? */
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12456 || fstat(fileno(stdout), &st) != 0
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12457 );
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12458 }
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12459 }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12460 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12461 rm -f conftest$ac_exeext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12462 if { (eval echo "$as_me:12462: \"$ac_link\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12463 (eval $ac_link) 2>&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12464 ac_status=$?
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12465 echo "$as_me:12465: \$? = $ac_status" >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12466 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12467 { (eval echo "$as_me:12467: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12468 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12469 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12470 echo "$as_me:12470: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12471 (exit $ac_status); }; }; then
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12472 ac_cv_func_vfork_works=yes
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12473 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12474 echo "$as_me: program exited with status $ac_status" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12475 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12476 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12477 ac_cv_func_vfork_works=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12478 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12479 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
12480 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12481 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12482 echo "$as_me:12482: result: $ac_cv_func_vfork_works" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12483 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12484
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12485 fi;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12486 if test "x$ac_cv_func_fork_works" = xcross; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12487 ac_cv_func_vfork_works=ac_cv_func_vfork
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12488 { echo "$as_me:12488: 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
12489 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
12490 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12491
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12492 if test "x$ac_cv_func_vfork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12493
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12494 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12495 #define HAVE_WORKING_VFORK 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12496 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12497
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12498 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12499
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12500 cat >>confdefs.h <<\EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12501 #define vfork fork
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12502 EOF
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12503
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12504 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12505 if test "x$ac_cv_func_fork_works" = xyes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12506
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12507 cat >>confdefs.h <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12508 #define HAVE_WORKING_FORK 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12509 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12510
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12511 fi
27675
e655a2d4ecca *** empty log message ***
Dave Love <fx@gnu.org>
parents: 27356
diff changeset
12512
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12513 # Fixme: This should be replaced when we have autoconf 2.14.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12514 echo "$as_me:12514: checking for size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12515 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12516 if test "${ac_cv_type_size_t+set}" = set; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12518 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12519 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12520 #line 12515 "configure"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12521 #include "confdefs.h"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12522 $ac_includes_default
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12523 int
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12524 main ()
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12525 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12526 if ((size_t *) 0)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12527 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12528 if (sizeof (size_t))
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12529 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12530 ;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12531 return 0;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12532 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12533 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12534 rm -f conftest.$ac_objext
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12535 if { (eval echo "$as_me:12535: \"$ac_compile\"") >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12536 (eval $ac_compile) 2>&5
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12537 ac_status=$?
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12538 echo "$as_me:12538: \$? = $ac_status" >&5
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12539 (exit $ac_status); } &&
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12540 { ac_try='test -s conftest.$ac_objext'
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12541 { (eval echo "$as_me:12541: \"$ac_try\"") >&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12542 (eval $ac_try) 2>&5
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12543 ac_status=$?
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12544 echo "$as_me:12544: \$? = $ac_status" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12545 (exit $ac_status); }; }; then
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12546 ac_cv_type_size_t=yes
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12547 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12548 echo "$as_me: failed program was:" >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12549 cat conftest.$ac_ext >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12550 ac_cv_type_size_t=no
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12551 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12552 rm -f conftest.$ac_objext conftest.$ac_ext
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12553 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12554 echo "$as_me:12554: result: $ac_cv_type_size_t" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12555 echo "${ECHO_T}$ac_cv_type_size_t" >&6
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12556 if test $ac_cv_type_size_t = yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12557 :
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12558 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12559
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12560 cat >>confdefs.h <<EOF
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12561 #define size_t unsigned
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12562 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12563
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12564 fi
30395
3d8d0e78d92c *** empty log message ***
Dave Love <fx@gnu.org>
parents: 30311
diff changeset
12565
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12566 # Set up the CFLAGS for real compilation, so we can substitute it.
Dave Love <fx@gnu.org>
parents:
diff changeset
12567 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
12568 CPPFLAGS="$REAL_CPPFLAGS"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12569
Dave Love <fx@gnu.org>
parents:
diff changeset
12570 #### Find out which version of Emacs this is.
Dave Love <fx@gnu.org>
parents:
diff changeset
12571 version=`grep 'defconst[ ]*emacs-version' ${srcdir}/lisp/version.el \
Dave Love <fx@gnu.org>
parents:
diff changeset
12572 | sed -e 's/^[^"]*"\([^"]*\)".*$/\1/'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12573 if test x"${version}" = x; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12574 { { echo "$as_me:12574: 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
12575 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
12576 { (exit 1); exit 1; }; }
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12577 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12578
Dave Love <fx@gnu.org>
parents:
diff changeset
12579 ### Specify what sort of things we'll be editing into Makefile and config.h.
Dave Love <fx@gnu.org>
parents:
diff changeset
12580 ### Use configuration here uncanonicalized to avoid exceeding size limits.
Dave Love <fx@gnu.org>
parents:
diff changeset
12581
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12582 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12583 #define EMACS_CONFIGURATION "${canonical}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12584 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12585
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12586 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12587 #define EMACS_CONFIG_OPTIONS "${ac_configure_args}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12588 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12589
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12590 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12591 #define config_machfile "${machfile}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12592 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12593
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12594 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12595 #define config_opsysfile "${opsysfile}"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12596 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12597
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12598 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12599 #define LD_SWITCH_X_SITE ${LD_SWITCH_X_SITE}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12600 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12601
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12602 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12603 #define LD_SWITCH_X_SITE_AUX ${LD_SWITCH_X_SITE_AUX}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12604 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12605
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12606 cat >>confdefs.h <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12607 #define C_SWITCH_X_SITE ${C_SWITCH_X_SITE}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12608 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12609
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 UNEXEC_SRC ${UNEXEC_SRC}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12612 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12613
Dave Love <fx@gnu.org>
parents:
diff changeset
12614 if test "${HAVE_X_WINDOWS}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12615
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12616 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12617 #define HAVE_X_WINDOWS 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12618 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12619
Dave Love <fx@gnu.org>
parents:
diff changeset
12620 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12621 if test "${USE_X_TOOLKIT}" != "none" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12622
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12623 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12624 #define USE_X_TOOLKIT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12625 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12626
Dave Love <fx@gnu.org>
parents:
diff changeset
12627 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12628 if test "${HAVE_X11}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12629
45226
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 HAVE_X11 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12632 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12633
Dave Love <fx@gnu.org>
parents:
diff changeset
12634 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12635 if test "${HAVE_XFREE386}" = "yes" ; then
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12636
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12637 cat >>confdefs.h <<\EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12638 #define HAVE_XFREE386 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12639 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12640
Dave Love <fx@gnu.org>
parents:
diff changeset
12641 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12642 if test "${HAVE_MENUS}" = "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_MENUS 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 "${GNU_MALLOC}" = "yes" ; 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 GNU_MALLOC 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 "${REL_ALLOC}" = "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 REL_ALLOC 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12660 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12661
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12662 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12663
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12664 for ac_header in nlist.h
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12665 do
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12667 echo "$as_me:12667: checking for $ac_header" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12668 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
12669 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
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12671 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12672 cat >conftest.$ac_ext <<_ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12673 #line 12668 "configure"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12674 #include "confdefs.h"
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12675 #include <$ac_header>
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12676 _ACEOF
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12677 if { (eval echo "$as_me:12677: \"$ac_cpp conftest.$ac_ext\"") >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12678 (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
12679 ac_status=$?
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12680 egrep -v '^ *\+' conftest.er1 >conftest.err
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12681 rm -f conftest.er1
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12682 cat conftest.err >&5
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12683 echo "$as_me:12683: \$? = $ac_status" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12684 (exit $ac_status); } >/dev/null; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12685 if test -s conftest.err; then
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12686 ac_cpp_err=$ac_c_preproc_warn_flag
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12687 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12688 ac_cpp_err=
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12689 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12690 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12691 ac_cpp_err=yes
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12692 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12693 if test -z "$ac_cpp_err"; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12694 eval "$as_ac_Header=yes"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12695 else
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12696 echo "$as_me: failed program was:" >&5
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12697 cat conftest.$ac_ext >&5
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12698 eval "$as_ac_Header=no"
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12699 fi
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12700 rm -f conftest.err conftest.$ac_ext
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12701 fi
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12702 echo "$as_me:12702: result: `eval echo '${'$as_ac_Header'}'`" >&5
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12703 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
12704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12705 cat >>confdefs.h <<EOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12707 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12708
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12709 cat >>confdefs.h <<\EOF
40777
b7e331012730 added a check for nlist.h
Sam Steingold <sds@gnu.org>
parents: 40632
diff changeset
12710 #define NLIST_STRUCT 1
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12711 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12712
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12713 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12714 done
44569
01399b2a0c1e Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 44493
diff changeset
12715
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12716 #### Report on what we decided to do.
Dave Love <fx@gnu.org>
parents:
diff changeset
12717 echo "
Dave Love <fx@gnu.org>
parents:
diff changeset
12718 Configured for \`${canonical}'.
Dave Love <fx@gnu.org>
parents:
diff changeset
12719
Dave Love <fx@gnu.org>
parents:
diff changeset
12720 Where should the build process find the source code? ${srcdir}
Dave Love <fx@gnu.org>
parents:
diff changeset
12721 What operating system and machine description files should Emacs use?
Dave Love <fx@gnu.org>
parents:
diff changeset
12722 \`${opsysfile}' and \`${machfile}'
Dave Love <fx@gnu.org>
parents:
diff changeset
12723 What compiler should emacs be built with? ${CC} ${CFLAGS}
Dave Love <fx@gnu.org>
parents:
diff changeset
12724 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
12725 Should Emacs use a relocating allocator for buffers? ${REL_ALLOC}
31607
3e0642938fc8 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 31512
diff changeset
12726 Should Emacs use mmap(2) for buffer allocation? $use_mmap_for_buffers
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12727 What window system should Emacs use? ${window_system}
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12728 What toolkit should Emacs use? ${USE_X_TOOLKIT}
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
12729 Should Emacs use a shared game state directory? ${gamedir}"
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12730
Dave Love <fx@gnu.org>
parents:
diff changeset
12731 if test -n "${x_includes}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
12732 echo " Where do we find X Windows header files? ${x_includes}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12733 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12734 echo " Where do we find X Windows header files? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
12735 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12736 if test -n "${x_libraries}"; then
Dave Love <fx@gnu.org>
parents:
diff changeset
12737 echo " Where do we find X Windows libraries? ${x_libraries}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12738 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12739 echo " Where do we find X Windows libraries? Standard dirs"
Dave Love <fx@gnu.org>
parents:
diff changeset
12740 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12741
Dave Love <fx@gnu.org>
parents:
diff changeset
12742 echo " Does Emacs use -lXaw3d? ${HAVE_XAW3D}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12743 echo " Does Emacs use -lXpm? ${HAVE_XPM}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12744 echo " Does Emacs use -ljpeg? ${HAVE_JPEG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12745 echo " Does Emacs use -ltiff? ${HAVE_TIFF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12746 echo " Does Emacs use -lungif? ${HAVE_GIF}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12747 echo " Does Emacs use -lpng? ${HAVE_PNG}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12748 echo " Does Emacs use X toolkit scroll bars? ${USE_TOOLKIT_SCROLL_BARS}"
Dave Love <fx@gnu.org>
parents:
diff changeset
12749 echo
Dave Love <fx@gnu.org>
parents:
diff changeset
12750
Dave Love <fx@gnu.org>
parents:
diff changeset
12751 # Remove any trailing slashes in these variables.
Dave Love <fx@gnu.org>
parents:
diff changeset
12752 test "${prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
12753 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12754 test "${exec_prefix}" != NONE &&
Dave Love <fx@gnu.org>
parents:
diff changeset
12755 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'`
Dave Love <fx@gnu.org>
parents:
diff changeset
12756
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12757 ## Check if the C preprocessor will convert `..' to `. .'. If so, set
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12758 ## 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
12759 ## from Makefile.c can correctly provide the arg `-traditional' to the
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12760 ## C preprocessor.
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12761
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12762 cat >conftest.$ac_ext <<_ACEOF
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12763 #line 12758 "configure"
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12764 #include "confdefs.h"
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12765 yes..yes
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12766 _ACEOF
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12767 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12768 egrep "yes..yes" >/dev/null 2>&1; then
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12769 CPP_NEED_TRADITIONAL=no
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12770 else
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12771 CPP_NEED_TRADITIONAL=yes
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12772 fi
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12773 rm -f conftest*
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
12774
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
12775 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
12776 ac_config_commands="$ac_config_commands default"
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12777 cat >confcache <<\_ACEOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12778 # This file is a shell script that caches the results of configure
Dave Love <fx@gnu.org>
parents:
diff changeset
12779 # tests run on this system so they can be shared between configure
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12780 # scripts and configure runs, see configure's option --config-cache.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12781 # 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
12782 # want to keep, you may remove or edit it.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12783 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12784 # config.status only pays attention to the cache file if you give it
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12785 # the --recheck option to rerun configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12786 #
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12787 # `ac_cv_env_foo' variables (set or unset) will be overriden when
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12788 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12789 # following values.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12790
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12791 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12792
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12793 # The following way of writing the cache mishandles newlines in values,
Dave Love <fx@gnu.org>
parents:
diff changeset
12794 # but we know of no workaround that is simple, portable, and efficient.
Dave Love <fx@gnu.org>
parents:
diff changeset
12795 # So, don't put newlines in cache variables' values.
Dave Love <fx@gnu.org>
parents:
diff changeset
12796 # Ultrix sh set writes to stderr and can't be redirected directly,
Dave Love <fx@gnu.org>
parents:
diff changeset
12797 # 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
12798 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12799 (set) 2>&1 |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12800 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12801 *ac_space=\ *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12802 # `set' does not quote correctly, so add quotes (double-quote
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12803 # substitution turns \\\\ into \\, and sed turns \\ into \).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12804 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12805 "s/'/'\\\\''/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12807 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12808 *)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12809 # `set' quotes correctly as required by POSIX, so do not add quotes.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12810 sed -n \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12811 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12812 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12813 esac;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12814 } |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12815 sed '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12816 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12817 : clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12819 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12820 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12821 : end' >>confcache
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12822 if cmp -s $cache_file confcache; then :; else
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12823 if test -w $cache_file; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12824 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12825 cat confcache >$cache_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12826 else
Dave Love <fx@gnu.org>
parents:
diff changeset
12827 echo "not updating unwritable cache $cache_file"
Dave Love <fx@gnu.org>
parents:
diff changeset
12828 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12829 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
12830 rm -f confcache
Dave Love <fx@gnu.org>
parents:
diff changeset
12831
Dave Love <fx@gnu.org>
parents:
diff changeset
12832 test "x$prefix" = xNONE && prefix=$ac_default_prefix
Dave Love <fx@gnu.org>
parents:
diff changeset
12833 # Let make expand exec_prefix.
Dave Love <fx@gnu.org>
parents:
diff changeset
12834 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
Dave Love <fx@gnu.org>
parents:
diff changeset
12835
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12836 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12837 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12838 # trailing colons and then remove the whole line if VPATH becomes empty
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12839 # (actually we leave an empty line to preserve line numbers).
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12840 if test "x$srcdir" = x.; then
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12841 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12842 s/:*\$(srcdir):*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12843 s/:*\${srcdir}:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12844 s/:*@srcdir@:*/:/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12845 s/^\([^=]*=[ ]*\):*/\1/;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12846 s/:*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12847 s/^[^=]*=[ ]*$//;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12848 }'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12849 fi
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12850
Dave Love <fx@gnu.org>
parents:
diff changeset
12851 DEFS=-DHAVE_CONFIG_H
Dave Love <fx@gnu.org>
parents:
diff changeset
12852
Dave Love <fx@gnu.org>
parents:
diff changeset
12853 : ${CONFIG_STATUS=./config.status}
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12854 ac_clean_files_save=$ac_clean_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
12856 { echo "$as_me:12856: creating $CONFIG_STATUS" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12857 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12858 cat >$CONFIG_STATUS <<_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12859 #! $SHELL
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12860 # Generated automatically by configure.
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
12861 # Run this file to recreate the current configuration.
Dave Love <fx@gnu.org>
parents:
diff changeset
12862 # Compiler output produced by configure, useful for debugging
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12863 # configure, is in config.log if it exists.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12864
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12865 debug=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12866 SHELL=\${CONFIG_SHELL-$SHELL}
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12867 ac_cs_invocation="\$0 \$@"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12868
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12869 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12870
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12871 cat >>$CONFIG_STATUS <<\_ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12872 # Be Bourne compatible
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12873 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12874 emulate sh
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12875 NULLCMD=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12876 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
12877 set -o posix
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12878 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12879
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12880 # Name of the executable.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12881 as_me=`echo "$0" |sed 's,.*[\\/],,'`
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12882
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12883 if expr a : '\(a\)' >/dev/null 2>&1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12884 as_expr=expr
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12885 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12886 as_expr=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12887 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12888
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12889 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12890 echo >conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12891 if ln -s conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12892 # 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
12893 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12894 if test -f conf$$.exe; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12895 # Don't use ln at all; we don't have any links
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12896 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12897 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12898 as_ln_s='ln -s'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12899 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12900 elif ln conf$$.file conf$$ 2>/dev/null; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12901 as_ln_s=ln
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12902 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12903 as_ln_s='cp -p'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12904 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12905 rm -f conf$$ conf$$.exe conf$$.file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12906
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12907 as_executable_p="test -f"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12908
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12909 # Support unset when possible.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12910 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12911 as_unset=unset
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12912 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12913 as_unset=false
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12914 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12915
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12916 # NLS nuisances.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12917 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12918 $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
12919 $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
12920 $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
12921 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12922 $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
12923 $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
12924 $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
12925
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12926 # IFS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12927 # We need space, tab and new line, in precisely that order.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12928 as_nl='
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12929 '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12930 IFS=" $as_nl"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12931
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12932 # CDPATH.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12933 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12934
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12935 exec 6>&1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12936
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12937 _ACEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12938
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12939 # Files that config.status was made for.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12940 if test -n "$ac_config_files"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12941 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12942 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12943
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12944 if test -n "$ac_config_headers"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12945 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12946 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12947
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12948 if test -n "$ac_config_links"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12949 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12950 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12951
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12952 if test -n "$ac_config_commands"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12953 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12954 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12955
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12956 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12957
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12958 ac_cs_usage="\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12959 \`$as_me' instantiates files from templates according to the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12960 current configuration.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12961
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12962 Usage: $0 [OPTIONS] [FILE]...
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12963
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12964 -h, --help print this help, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12965 -V, --version print version number, then exit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12966 -d, --debug don't remove temporary files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12967 --recheck update $as_me by reconfiguring in the same conditions
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12968 --file=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12969 instantiate the configuration file FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12970 --header=FILE[:TEMPLATE]
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12971 instantiate the configuration header FILE
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12972
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12973 Configuration files:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12974 $config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12975
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12976 Configuration headers:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12977 $config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12978
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12979 Configuration commands:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12980 $config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12981
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12982 Report bugs to <bug-autoconf@gnu.org>."
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12983 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12984
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12985 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12986 ac_cs_version="\\
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12987 config.status
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12988 configured by $0, generated by GNU Autoconf 2.52,
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12989 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12990
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12991 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12992 Free Software Foundation, Inc.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12993 This config.status script is free software; the Free Software Foundation
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12994 gives unlimited permission to copy, distribute and modify it."
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12995 srcdir=$srcdir
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
12996 INSTALL="$INSTALL"
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12997 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12998
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
12999 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13000 # 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
13001 # value. By we need to know if files were specified by the user.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13002 ac_need_defaults=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13003 while test $# != 0
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13004 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13005 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13006 --*=*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13007 ac_option=`expr "x$1" : 'x\([^=]*\)='`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13008 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13009 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13010 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13011 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13012 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13013 -*);;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13014 *) # This is not an option, so the user has probably given explicit
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13015 # arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13016 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13017 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13018
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13019 case $1 in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13020 # Handling of the options.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13021 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13022 cat >>$CONFIG_STATUS <<EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13023 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13024 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13025 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13026 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13027 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13028 --version | --vers* | -V )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13029 echo "$ac_cs_version"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13030 --he | --h)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13031 # Conflict between --help and --header
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13032 { { echo "$as_me:13032: error: ambiguous option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13033 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13034 echo "$as_me: error: ambiguous option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13035 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13036 { (exit 1); exit 1; }; };;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13037 --help | --hel | -h )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13038 echo "$ac_cs_usage"; exit 0 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13039 --debug | --d* | -d )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13040 debug=: ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13041 --file | --fil | --fi | --f )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13042 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13043 CONFIG_FILES="$CONFIG_FILES $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13044 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13045 --header | --heade | --head | --hea )
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13046 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13047 CONFIG_HEADERS="$CONFIG_HEADERS $1"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13048 ac_need_defaults=false;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13049
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13050 # This is an error.
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13051 -*) { { echo "$as_me:13051: error: unrecognized option: $1
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13052 Try \`$0 --help' for more information." >&5
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13053 echo "$as_me: error: unrecognized option: $1
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13054 Try \`$0 --help' for more information." >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13055 { (exit 1); exit 1; }; } ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13057 *) ac_config_targets="$ac_config_targets $1" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13058
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13059 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13060 shift
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13061 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13062
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13063 exec 5>>config.log
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13064 cat >&5 << _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13065
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13066 ## ----------------------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13067 ## Running config.status. ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13068 ## ----------------------- ##
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13069
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13070 This file was extended by $as_me 2.52, executed with
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13071 CONFIG_FILES = $CONFIG_FILES
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13072 CONFIG_HEADERS = $CONFIG_HEADERS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13073 CONFIG_LINKS = $CONFIG_LINKS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13074 CONFIG_COMMANDS = $CONFIG_COMMANDS
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13075 > $ac_cs_invocation
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13077
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13078 _ACEOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13079 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13080
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13081 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13082 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13083 # INIT-COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13084 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13085
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13086 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
13087
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13088 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13089
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13090 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13091 for ac_config_target in $ac_config_targets
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13092 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13093 case "$ac_config_target" in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13094 # Handling of arguments.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13095 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13096 "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
13097 "oldXMenu/Makefile" ) CONFIG_FILES="$CONFIG_FILES oldXMenu/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13098 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13099 "lwlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lwlib/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13100 "src/Makefile.c" ) CONFIG_FILES="$CONFIG_FILES src/Makefile.c:src/Makefile.in" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13101 "lisp/Makefile" ) CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
40893
2778a25ac830 Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 40777
diff changeset
13102 "lispref/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispref/Makefile" ;;
41431
33fd5b0cc93e Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 41148
diff changeset
13103 "lispintro/Makefile" ) CONFIG_FILES="$CONFIG_FILES lispintro/Makefile" ;;
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13104 "leim/Makefile" ) CONFIG_FILES="$CONFIG_FILES leim/Makefile" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13105 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13106 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:src/config.in" ;;
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13107 *) { { echo "$as_me:13107: error: invalid argument: $ac_config_target" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13108 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13109 { (exit 1); exit 1; }; };;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13110 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13111 done
Dave Love <fx@gnu.org>
parents:
diff changeset
13112
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13113 # 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
13114 # then the envvar interface is used. Set only those that are not.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13115 # We use the long form for the default assignment because of an extremely
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13116 # bizarre bug on SunOS 4.1.3.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13117 if $ac_need_defaults; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13118 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13119 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13120 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13121 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13122
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13123 # Create a temporary directory, and hook for its removal unless debugging.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13124 $debug ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13125 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13126 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13127 trap '{ (exit 1); exit 1; }' 1 2 13 15
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13128 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13129
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13130 # Create a (secure) tmp directory for tmp files.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13131 : ${TMPDIR=/tmp}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13132 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13133 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13134 test -n "$tmp" && test -d "$tmp"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13135 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13136 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13137 tmp=$TMPDIR/cs$$-$RANDOM
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13138 (umask 077 && mkdir $tmp)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13139 } ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13140 {
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13141 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13142 { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13143 }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13144
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13145 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13146
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13147 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13148
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13149 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13150 # CONFIG_FILES section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13151 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13152
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13153 # No need to generate the scripts if there are no CONFIG_FILES.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13154 # This happens for instance when ./config.status config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13155 if test -n "\$CONFIG_FILES"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13156 # 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
13157 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13158 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13159 s,@SHELL@,$SHELL,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13160 s,@exec_prefix@,$exec_prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13161 s,@prefix@,$prefix,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13162 s,@program_transform_name@,$program_transform_name,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13163 s,@bindir@,$bindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13164 s,@sbindir@,$sbindir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13165 s,@libexecdir@,$libexecdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13166 s,@datadir@,$datadir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13167 s,@sysconfdir@,$sysconfdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13168 s,@sharedstatedir@,$sharedstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13169 s,@localstatedir@,$localstatedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13170 s,@libdir@,$libdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13171 s,@includedir@,$includedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13172 s,@oldincludedir@,$oldincludedir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13173 s,@infodir@,$infodir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13174 s,@mandir@,$mandir,;t t
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13175 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13176 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13177 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13178 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13179 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13180 s,@build_alias@,$build_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13181 s,@host_alias@,$host_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13182 s,@target_alias@,$target_alias,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13183 s,@ECHO_C@,$ECHO_C,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13184 s,@ECHO_N@,$ECHO_N,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13185 s,@ECHO_T@,$ECHO_T,;t t
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13186 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13187 s,@DEFS@,$DEFS,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13188 s,@LIBS@,$LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13189 s,@build@,$build,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13190 s,@build_cpu@,$build_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13191 s,@build_vendor@,$build_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13192 s,@build_os@,$build_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13193 s,@host@,$host,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13194 s,@host_cpu@,$host_cpu,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13195 s,@host_vendor@,$host_vendor,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13196 s,@host_os@,$host_os,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13197 s,@CC@,$CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13198 s,@CFLAGS@,$CFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13199 s,@LDFLAGS@,$LDFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13200 s,@CPPFLAGS@,$CPPFLAGS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13201 s,@ac_ct_CC@,$ac_ct_CC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13202 s,@EXEEXT@,$EXEEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13203 s,@OBJEXT@,$OBJEXT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13204 s,@LN_S@,$LN_S,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13205 s,@CPP@,$CPP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13206 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13207 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13208 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13209 s,@YACC@,$YACC,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13210 s,@RANLIB@,$RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13211 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13212 s,@LIBSOUND@,$LIBSOUND,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13213 s,@SET_MAKE@,$SET_MAKE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13214 s,@ALLOCA@,$ALLOCA,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13215 s,@liblockfile@,$liblockfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13216 s,@LIBOBJS@,$LIBOBJS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13217 s,@NEED_SETGID@,$NEED_SETGID,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13218 s,@KMEM_GROUP@,$KMEM_GROUP,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13219 s,@GETLOADAVG_LIBS@,$GETLOADAVG_LIBS,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13220 s,@version@,$version,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13221 s,@configuration@,$configuration,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13222 s,@canonical@,$canonical,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13223 s,@srcdir@,$srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13224 s,@lispdir@,$lispdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13225 s,@locallisppath@,$locallisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13226 s,@lisppath@,$lisppath,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13227 s,@x_default_search_path@,$x_default_search_path,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13228 s,@etcdir@,$etcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13229 s,@archlibdir@,$archlibdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13230 s,@docdir@,$docdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13231 s,@bitmapdir@,$bitmapdir,;t t
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13232 s,@gamedir@,$gamedir,;t t
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13233 s,@gameuser@,$gameuser,;t t
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13234 s,@c_switch_system@,$c_switch_system,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13235 s,@c_switch_machine@,$c_switch_machine,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13236 s,@LD_SWITCH_X_SITE@,$LD_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13237 s,@LD_SWITCH_X_SITE_AUX@,$LD_SWITCH_X_SITE_AUX,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13238 s,@C_SWITCH_X_SITE@,$C_SWITCH_X_SITE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13239 s,@X_TOOLKIT_TYPE@,$X_TOOLKIT_TYPE,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13240 s,@machfile@,$machfile,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13241 s,@opsysfile@,$opsysfile,;t t
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13242 CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13243
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13244 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13245
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13246 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13247 # Split the substitutions into bite-sized pieces for seds with
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13248 # small command number limits, like on Digital OSF/1 and HP-UX.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13249 ac_max_sed_lines=48
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13250 ac_sed_frag=1 # Number of current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13251 ac_beg=1 # First line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13252 ac_end=$ac_max_sed_lines # Line after last line for current file.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13253 ac_more_lines=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13254 ac_sed_cmds=
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13255 while $ac_more_lines; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13256 if test $ac_beg -gt 1; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13257 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13258 else
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13259 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13260 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13261 if test ! -s $tmp/subs.frag; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13262 ac_more_lines=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13263 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13264 # The purpose of the label and of the branching condition is to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13265 # speed up the sed processing (if there are no `@' at all, there
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13266 # is no need to browse any of the substitutions).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13267 # These are the two extra sed commands mentioned above.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13268 (echo ':t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13269 /@[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
13270 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13271 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13272 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13273 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
13274 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13275 ac_sed_frag=`expr $ac_sed_frag + 1`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13276 ac_beg=$ac_end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13277 ac_end=`expr $ac_end + $ac_max_sed_lines`
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13278 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13279 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13280 if test -z "$ac_sed_cmds"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13281 ac_sed_cmds=cat
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13282 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13283 fi # test -n "$CONFIG_FILES"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13284
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13285 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13286 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13287 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13288 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13289 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13290 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13291 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13292 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13294 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13295 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13296 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13297 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13298
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13299 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13300 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13301 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13302 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13303 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13304 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13305 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13308 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13309 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13310 s/.*/./; q'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13311 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13312 { case "$ac_dir" in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13313 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13314 *) as_incr_dir=.;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13315 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13316 as_dummy="$ac_dir"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13317 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13318 case $as_mkdir_dir in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13319 # Skip DOS drivespec
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13320 ?:) as_incr_dir=$as_mkdir_dir ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13321 *)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13322 as_incr_dir=$as_incr_dir/$as_mkdir_dir
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13323 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13324 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13325 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13326 done; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13327
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13328 ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13329 # A "../" for each directory in $ac_dir_suffix.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13330 ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13331 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13332 ac_dir_suffix= ac_dots=
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13333 fi
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13334
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13335 case $srcdir in
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13336 .) ac_srcdir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13337 if test -z "$ac_dots"; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13338 ac_top_srcdir=.
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13339 else
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13340 ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13341 fi ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13342 [\\/]* | ?:[\\/]* )
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13343 ac_srcdir=$srcdir$ac_dir_suffix;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13344 ac_top_srcdir=$srcdir ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13345 *) # Relative path.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13346 ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13347 ac_top_srcdir=$ac_dots$srcdir ;;
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13348 esac
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13349
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13350 case $INSTALL in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13351 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13352 *) ac_INSTALL=$ac_dots$INSTALL ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13353 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13354
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13355 if test x"$ac_file" != x-; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13356 { echo "$as_me:13356: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13357 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13358 rm -f "$ac_file"
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13359 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13360 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13361 # use $as_me), people would be surprised to read:
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13362 # /* config.h. Generated automatically by config.status. */
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13363 configure_input="Generated automatically from `echo $ac_file_in |
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13364 sed 's,.*/,,'` by configure."
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13365
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13366 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13367 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13368 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13369 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13370 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13371 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13372 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13373 # Absolute (can't be DOS-style, as IFS=:)
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13374 test -f "$f" || { { echo "$as_me:13374: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13375 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13376 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13377 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13378 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13379 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13380 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13381 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13382 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13383 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13384 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13385 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13386 # /dev/null tree
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13387 { { echo "$as_me:13387: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13388 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13389 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13390 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13391 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13392 done` || { (exit 1); exit 1; }
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13393 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13394 cat >>$CONFIG_STATUS <<EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13395 sed "$ac_vpsub
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13396 $extrasub
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13397 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13398 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13399 :t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13400 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13401 s,@configure_input@,$configure_input,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13402 s,@srcdir@,$ac_srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13403 s,@top_srcdir@,$ac_top_srcdir,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13404 s,@INSTALL@,$ac_INSTALL,;t t
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13405 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13406 rm -f $tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13407 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13408 mv $tmp/out $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13409 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13410 cat $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13411 rm -f $tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13412 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13413
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13414 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13415 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13416 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13417
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13418 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13419 # CONFIG_HEADER section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13420 #
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13421
Dave Love <fx@gnu.org>
parents:
diff changeset
13422 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
Dave Love <fx@gnu.org>
parents:
diff changeset
13423 # NAME is the cpp macro being defined and VALUE is the value it is being given.
Dave Love <fx@gnu.org>
parents:
diff changeset
13424 #
Dave Love <fx@gnu.org>
parents:
diff changeset
13425 # ac_d sets the value in "#define NAME VALUE" lines.
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13426 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13427 ac_dB='[ ].*$,\1#\2'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13428 ac_dC=' '
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13429 ac_dD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13430 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13431 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13432 ac_uB='$,\1#\2define\3'
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13433 ac_uC=' '
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13434 ac_uD=',;t'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13435
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13436 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13437 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13438 case $ac_file in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13439 - | *:- | *:-:* ) # input from stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13440 cat >$tmp/stdin
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13441 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13443 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13444 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13445 * ) ac_file_in=$ac_file.in ;;
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13446 esac
Dave Love <fx@gnu.org>
parents:
diff changeset
13447
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13448 test x"$ac_file" != x- && { echo "$as_me:13448: creating $ac_file" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13449 echo "$as_me: creating $ac_file" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13450
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13451 # First look for the input files in the build tree, otherwise in the
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13452 # src tree.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13453 ac_file_inputs=`IFS=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13454 for f in $ac_file_in; do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13455 case $f in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13456 -) echo $tmp/stdin ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13457 [\\/$]*)
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13458 # Absolute (can't be DOS-style, as IFS=:)
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13459 test -f "$f" || { { echo "$as_me:13459: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13460 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13461 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13462 echo $f;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13463 *) # Relative
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13464 if test -f "$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13465 # Build tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13466 echo $f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13467 elif test -f "$srcdir/$f"; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13468 # Source tree
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13469 echo $srcdir/$f
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13470 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13471 # /dev/null tree
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13472 { { echo "$as_me:13472: error: cannot find input file: $f" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13473 echo "$as_me: error: cannot find input file: $f" >&2;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13474 { (exit 1); exit 1; }; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13475 fi;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13476 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13477 done` || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13478 # Remove the trailing spaces.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13479 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13480
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13481 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13482
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13483 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13484 # `conftest.undefs', that substitutes the proper values into
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13485 # config.h.in to produce config.h. The first handles `#define'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13486 # templates, and the second `#undef' templates.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13487 # 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
13488 # config.status. Protect against being in an unquoted here document
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13489 # in config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13490 rm -f conftest.defines conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13491 # Using a here document instead of a string reduces the quoting nightmare.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13492 # Putting comments in sed scripts is not portable.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13493 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13494 # `end' is used to avoid that the second main sed command (meant for
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13495 # 0-ary CPP macros) applies to n-ary macro definitions.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13496 # See the Autoconf documentation for `clear'.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13497 cat >confdef2sed.sed <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13498 s/[\\&,]/\\&/g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13499 s,[\\$`],\\&,g
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13500 t clear
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13501 : clear
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13502 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
13503 t end
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13504 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
13505 : end
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13506 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13507 # If some macros were called several times there might be several times
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13508 # the same #defines, which is useless. Nevertheless, we may not want to
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13509 # sort them, since we want the *last* AC-DEFINE to be honored.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13510 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13511 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13512 rm -f confdef2sed.sed
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13513
Dave Love <fx@gnu.org>
parents:
diff changeset
13514 # This sed command replaces #undef with comments. This is necessary, for
Dave Love <fx@gnu.org>
parents:
diff changeset
13515 # example, in the case of _POSIX_SOURCE, which is predefined and required
Dave Love <fx@gnu.org>
parents:
diff changeset
13516 # on some systems where configure will not decide to define it.
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13517 cat >>conftest.undefs <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13518 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13519 EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13520
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13521 # Break up conftest.defines because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13522 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13523 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13524 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13525 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
13526 echo ' :' >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13527 rm -f conftest.tail
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13528 while grep . conftest.defines >/dev/null
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13529 do
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13530 # Write a limited-size here document to $tmp/defines.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13531 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13532 # Speed up: don't consider the non `#define' lines.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13533 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13534 # Work around the forget-to-reset-the-flag bug.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13535 echo 't clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13536 echo ': clr' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13537 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13538 echo 'CEOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13539 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13540 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13541 mv $tmp/out $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13542 ' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13543 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13544 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13545 mv conftest.tail conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13546 done
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13547 rm -f conftest.defines
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13548 echo ' fi # egrep' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13549 echo >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13550
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13551 # Break up conftest.undefs because some shells have a limit on the size
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13552 # of here documents, and old seds have small limits too (100 cmds).
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13553 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13554 rm -f conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13555 while grep . conftest.undefs >/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13556 do
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13557 # Write a limited-size here document to $tmp/undefs.sed.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13558 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13559 # Speed up: don't consider the non `#undef'
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13560 echo '/^[ ]*#[ ]*undef/!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.undefs >>$CONFIG_STATUS
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13565 echo 'CEOF
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13566 sed -f $tmp/undefs.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.undefs >conftest.tail
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13571 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13572 mv conftest.tail conftest.undefs
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13573 done
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13574 rm -f conftest.undefs
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13575
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13576 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13577 # Let's still pretend it is `configure' which instantiates (i.e., don't
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13578 # use $as_me), people would be surprised to read:
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13579 # /* config.h. Generated automatically by config.status. */
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13580 if test x"$ac_file" = x-; then
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13581 echo "/* Generated automatically by configure. */" >$tmp/config.h
44493
dc864bb90c6c Regenerate.
Colin Walters <walters@gnu.org>
parents: 44435
diff changeset
13582 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13583 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13584 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13585 cat $tmp/in >>$tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13586 rm -f $tmp/in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13587 if test x"$ac_file" != x-; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13588 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
45668
f4dd56228521 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 45226
diff changeset
13589 { echo "$as_me:13589: $ac_file is unchanged" >&5
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13590 echo "$as_me: $ac_file is unchanged" >&6;}
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13591 else
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13592 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13593 X"$ac_file" : 'X\(//\)[^/]' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13594 X"$ac_file" : 'X\(//\)$' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13595 X"$ac_file" : 'X\(/\)' \| \
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13596 . : '\(.\)' 2>/dev/null ||
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13597 echo X"$ac_file" |
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13600 /^X\(\/\/\)$/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13601 /^X\(\/\).*/{ s//\1/; q; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13602 s/.*/./; q'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13603 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13604 { case "$ac_dir" in
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13605 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13606 *) as_incr_dir=.;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13607 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13608 as_dummy="$ac_dir"
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13609 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13610 case $as_mkdir_dir in
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13611 # Skip DOS drivespec
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13612 ?:) as_incr_dir=$as_mkdir_dir ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13613 *)
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13614 as_incr_dir=$as_incr_dir/$as_mkdir_dir
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13615 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
44994
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13616 ;;
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13617 esac
27ae12d5d8e5 Regenerated.
Colin Walters <walters@gnu.org>
parents: 44890
diff changeset
13618 done; }
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13619
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13620 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13621 rm -f $ac_file
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13622 mv $tmp/config.h $ac_file
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13623 fi
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13624 else
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13625 cat $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13626 rm -f $tmp/config.h
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13627 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13628 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13629 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13630 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13631
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13632 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13633 # CONFIG_COMMANDS section.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13634 #
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13635 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13636 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13637 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13638
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13639 case $ac_dest in
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13640 default )
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13641
Dave Love <fx@gnu.org>
parents:
diff changeset
13642 ### Make the necessary directories, if they don't exist.
Dave Love <fx@gnu.org>
parents:
diff changeset
13643 for dir in etc lisp ; do
Dave Love <fx@gnu.org>
parents:
diff changeset
13644 test -d ${dir} || mkdir ${dir}
Dave Love <fx@gnu.org>
parents:
diff changeset
13645 done
Dave Love <fx@gnu.org>
parents:
diff changeset
13646
Dave Love <fx@gnu.org>
parents:
diff changeset
13647 # Build src/Makefile from ${srcdir}/src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13648 # and lib-src/Makefile from ${srcdir}/lib-src/Makefile.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13649 # This must be done after src/config.h is built, since we rely on that file.
Dave Love <fx@gnu.org>
parents:
diff changeset
13650
Dave Love <fx@gnu.org>
parents:
diff changeset
13651 # Now get this: Some word that is part of the ${srcdir} directory name
Dave Love <fx@gnu.org>
parents:
diff changeset
13652 # or the ${configuration} value might, just might, happen to be an
Dave Love <fx@gnu.org>
parents:
diff changeset
13653 # identifier like `sun4' or `i386' or something, and be predefined by
Dave Love <fx@gnu.org>
parents:
diff changeset
13654 # the C preprocessor to some helpful value like 1, or maybe the empty
Dave Love <fx@gnu.org>
parents:
diff changeset
13655 # string. Needless to say consequent macro substitutions are less
Dave Love <fx@gnu.org>
parents:
diff changeset
13656 # than conducive to the makefile finding the correct directory.
Dave Love <fx@gnu.org>
parents:
diff changeset
13657 undefs="`echo $top_srcdir $configuration $canonical |
Dave Love <fx@gnu.org>
parents:
diff changeset
13658 sed -e 's/[^a-zA-Z0-9_]/ /g' -e 's/^/ /' -e 's/ *$//' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13659 -e 's/ */ -U/g' -e 's/-U[0-9][^ ]*//g' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13660 `"
Dave Love <fx@gnu.org>
parents:
diff changeset
13661
Dave Love <fx@gnu.org>
parents:
diff changeset
13662 echo creating src/epaths.h
40256
561bc8b0392f *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 40060
diff changeset
13663 ${MAKE-make} epaths-force
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13664
33652
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13665 # 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
13666 # `..' to `. .' unless invoked with -traditional
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13667
36354
4a730977cad1 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 35666
diff changeset
13668 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
13669 CPPFLAGS="$CPPFLAGS -traditional"
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13670 fi
ce8363e1347d *** empty log message ***
Dave Love <fx@gnu.org>
parents: 33286
diff changeset
13671
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13672 echo creating lib-src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13673 ( cd lib-src
Dave Love <fx@gnu.org>
parents:
diff changeset
13674 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13675 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13676 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13677 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
13678 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13679 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13680 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13681 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13682 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13683 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13684 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13685 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13686 )
Dave Love <fx@gnu.org>
parents:
diff changeset
13687
Dave Love <fx@gnu.org>
parents:
diff changeset
13688 echo creating src/Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13689 ( cd src
Dave Love <fx@gnu.org>
parents:
diff changeset
13690 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13691 sed -e '/start of cpp stuff/q' \
Dave Love <fx@gnu.org>
parents:
diff changeset
13692 < Makefile.c > junk1.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13693 sed -e '1,/start of cpp stuff/d'\
39239
246f0728f1d7 *** empty log message ***
Gerd Moellmann <gerd@gnu.org>
parents: 38811
diff changeset
13694 -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13695 < Makefile.c > junk.c
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13696 $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13697 sed -e 's/^ / /' -e '/^#/d' -e '/^[ ]*$/d' > junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13698 cat junk1.c junk2.c > Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13699 rm -f junk.c junk1.c junk2.c
Dave Love <fx@gnu.org>
parents:
diff changeset
13700 chmod 444 Makefile.new
Dave Love <fx@gnu.org>
parents:
diff changeset
13701 mv -f Makefile.new Makefile
Dave Love <fx@gnu.org>
parents:
diff changeset
13702 )
Dave Love <fx@gnu.org>
parents:
diff changeset
13703
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13704 if test ! -f src/.gdbinit && test -f $srcdir/src/.gdbinit; then
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13705 echo creating src/.gdbinit
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13706 echo source $srcdir/src/.gdbinit > src/.gdbinit
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13707 fi
Dave Love <fx@gnu.org>
parents:
diff changeset
13708
Dave Love <fx@gnu.org>
parents:
diff changeset
13709 # This is how we know whether to re-run configure in certain cases.
Dave Love <fx@gnu.org>
parents:
diff changeset
13710 touch src/config.stamp
Dave Love <fx@gnu.org>
parents:
diff changeset
13711
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13712 ;;
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13713 esac
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13714 done
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13715 EOF
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13716
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13717 cat >>$CONFIG_STATUS <<\EOF
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13718
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13719 { (exit 0); exit 0; }
45226
77e67c428a9f Regenerated.
Eli Zaretskii <eliz@gnu.org>
parents: 45053
diff changeset
13720 EOF
25897
Dave Love <fx@gnu.org>
parents:
diff changeset
13721 chmod +x $CONFIG_STATUS
40056
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13722 ac_clean_files=$ac_clean_files_save
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13723
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13724 # configure is writing to config.log, and then calls config.status.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13725 # config.status does its own redirection, appending to config.log.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13726 # Unfortunately, on DOS this fails, as config.log is still kept open
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13727 # 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
13728 # output is simply discarded. So we exec the FD to /dev/null,
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13729 # effectively closing config.log, so it can be properly (re)opened and
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13730 # appended to by config.status. When coming back to configure, we
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13731 # need to make the FD available again.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13732 if test "$no_create" != yes; then
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13733 ac_cs_success=:
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13734 exec 5>/dev/null
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13735 $SHELL $CONFIG_STATUS || ac_cs_success=false
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13736 exec 5>>config.log
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13737 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13738 # would make configure fail if this is the last instruction.
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13739 $ac_cs_success || { (exit 1); exit 1; }
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13740 fi
9b67c2187518 Regenerated.
Andreas Schwab <schwab@suse.de>
parents: 39239
diff changeset
13741