Lines 1-80
Link Here
|
1 |
#! /bin/sh |
1 |
#! /bin/sh |
2 |
|
|
|
3 |
# Guess values for system-dependent variables and create Makefiles. |
2 |
# Guess values for system-dependent variables and create Makefiles. |
4 |
# Generated automatically using autoconf version 2.13 |
3 |
# Generated by GNU Autoconf 2.53a. |
5 |
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
|
|
6 |
# |
4 |
# |
|
|
5 |
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
6 |
# Free Software Foundation, Inc. |
7 |
# This configure script is free software; the Free Software Foundation |
7 |
# This configure script is free software; the Free Software Foundation |
8 |
# gives unlimited permission to copy, distribute and modify it. |
8 |
# gives unlimited permission to copy, distribute and modify it. |
|
|
9 |
## --------------------- ## |
10 |
## M4sh Initialization. ## |
11 |
## --------------------- ## |
12 |
|
13 |
# Be Bourne compatible |
14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
15 |
emulate sh |
16 |
NULLCMD=: |
17 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
18 |
# is contrary to our usage. Disable this feature. |
19 |
alias -g '${1+"$@"}'='"$@"' |
20 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
21 |
set -o posix |
22 |
fi |
23 |
|
24 |
# NLS nuisances. |
25 |
# Support unset when possible. |
26 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
27 |
as_unset=unset |
28 |
else |
29 |
as_unset=false |
30 |
fi |
31 |
|
32 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
33 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
34 |
{ LANG=C; export LANG; } |
35 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
36 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
37 |
{ LC_ALL=C; export LC_ALL; } |
38 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
39 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
40 |
{ LC_TIME=C; export LC_TIME; } |
41 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
42 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
43 |
{ LC_CTYPE=C; export LC_CTYPE; } |
44 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
45 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
46 |
{ LANGUAGE=C; export LANGUAGE; } |
47 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
48 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
49 |
{ LC_COLLATE=C; export LC_COLLATE; } |
50 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
51 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
52 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
53 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
54 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
55 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
56 |
|
57 |
|
58 |
# Required to use basename. |
59 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
60 |
as_expr=expr |
61 |
else |
62 |
as_expr=false |
63 |
fi |
64 |
|
65 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
66 |
as_basename=basename |
67 |
else |
68 |
as_basename=false |
69 |
fi |
70 |
|
71 |
|
72 |
# Name of the executable. |
73 |
as_me=`$as_basename "$0" || |
74 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
75 |
X"$0" : 'X\(//\)$' \| \ |
76 |
X"$0" : 'X\(/\)$' \| \ |
77 |
. : '\(.\)' 2>/dev/null || |
78 |
echo X/"$0" | |
79 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
80 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
81 |
/^X\/\(\/\).*/{ s//\1/; q; } |
82 |
s/.*/./; q'` |
83 |
|
84 |
|
85 |
# PATH needs CR, and LINENO needs CR and PATH. |
86 |
# Avoid depending upon Character Ranges. |
87 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
88 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
89 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
90 |
as_cr_digits='0123456789' |
91 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
92 |
|
93 |
# The user is always right. |
94 |
if test "${PATH_SEPARATOR+set}" != set; then |
95 |
echo "#! /bin/sh" >conftest.sh |
96 |
echo "exit 0" >>conftest.sh |
97 |
chmod +x conftest.sh |
98 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
99 |
PATH_SEPARATOR=';' |
100 |
else |
101 |
PATH_SEPARATOR=: |
102 |
fi |
103 |
rm -f conftest.sh |
104 |
fi |
105 |
|
106 |
|
107 |
as_lineno_1=$LINENO |
108 |
as_lineno_2=$LINENO |
109 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
110 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
111 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
112 |
# Find who we are. Look in the path if we contain no path at all |
113 |
# relative or not. |
114 |
case $0 in |
115 |
*[\\/]* ) as_myself=$0 ;; |
116 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
117 |
for as_dir in $PATH |
118 |
do |
119 |
IFS=$as_save_IFS |
120 |
test -z "$as_dir" && as_dir=. |
121 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
122 |
done |
123 |
|
124 |
;; |
125 |
esac |
126 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
127 |
# in which case we are not to be found in the path. |
128 |
if test "x$as_myself" = x; then |
129 |
as_myself=$0 |
130 |
fi |
131 |
if test ! -f "$as_myself"; then |
132 |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 |
133 |
{ (exit 1); exit 1; }; } |
134 |
fi |
135 |
case $CONFIG_SHELL in |
136 |
'') |
137 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
138 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
139 |
do |
140 |
IFS=$as_save_IFS |
141 |
test -z "$as_dir" && as_dir=. |
142 |
for as_base in sh bash ksh sh5; do |
143 |
case $as_dir in |
144 |
/*) |
145 |
if ("$as_dir/$as_base" -c ' |
146 |
as_lineno_1=$LINENO |
147 |
as_lineno_2=$LINENO |
148 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
149 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
150 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
151 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
152 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
153 |
CONFIG_SHELL=$as_dir/$as_base |
154 |
export CONFIG_SHELL |
155 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
156 |
fi;; |
157 |
esac |
158 |
done |
159 |
done |
160 |
;; |
161 |
esac |
162 |
|
163 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
164 |
# uniformly replaced by the line number. The first 'sed' inserts a |
165 |
# line-number line before each line; the second 'sed' does the real |
166 |
# work. The second script uses 'N' to pair each line-number line |
167 |
# with the numbered line, and appends trailing '-' during |
168 |
# substitution so that $LINENO is not a special case at line end. |
169 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
170 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
171 |
sed '=' <$as_myself | |
172 |
sed ' |
173 |
N |
174 |
s,$,-, |
175 |
: loop |
176 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
177 |
t loop |
178 |
s,-$,, |
179 |
s,^['$as_cr_digits']*\n,, |
180 |
' >$as_me.lineno && |
181 |
chmod +x $as_me.lineno || |
182 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 |
183 |
{ (exit 1); exit 1; }; } |
184 |
|
185 |
# Don't try to exec as it changes $[0], causing all sort of problems |
186 |
# (the dirname of $[0] is not the place where we might find the |
187 |
# original and so on. Autoconf is especially sensible to this). |
188 |
. ./$as_me.lineno |
189 |
# Exit status is that of the last command. |
190 |
exit |
191 |
} |
192 |
|
193 |
|
194 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
195 |
*c*,-n*) ECHO_N= ECHO_C=' |
196 |
' ECHO_T=' ' ;; |
197 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
198 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
199 |
esac |
200 |
|
201 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
202 |
as_expr=expr |
203 |
else |
204 |
as_expr=false |
205 |
fi |
206 |
|
207 |
rm -f conf$$ conf$$.exe conf$$.file |
208 |
echo >conf$$.file |
209 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
210 |
# We could just check for DJGPP; but this test a) works b) is more generic |
211 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
212 |
if test -f conf$$.exe; then |
213 |
# Don't use ln at all; we don't have any links |
214 |
as_ln_s='cp -p' |
215 |
else |
216 |
as_ln_s='ln -s' |
217 |
fi |
218 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
219 |
as_ln_s=ln |
220 |
else |
221 |
as_ln_s='cp -p' |
222 |
fi |
223 |
rm -f conf$$ conf$$.exe conf$$.file |
9 |
|
224 |
|
10 |
# Defaults: |
225 |
if mkdir -p . 2>/dev/null; then |
11 |
ac_help= |
226 |
as_mkdir_p=: |
|
|
227 |
else |
228 |
as_mkdir_p=false |
229 |
fi |
230 |
|
231 |
as_executable_p="test -f" |
232 |
|
233 |
# Sed expression to map a string onto a valid CPP name. |
234 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
235 |
|
236 |
# Sed expression to map a string onto a valid variable name. |
237 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
238 |
|
239 |
|
240 |
# IFS |
241 |
# We need space, tab and new line, in precisely that order. |
242 |
as_nl=' |
243 |
' |
244 |
IFS=" $as_nl" |
245 |
|
246 |
# CDPATH. |
247 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
248 |
|
249 |
|
250 |
# Name of the host. |
251 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
252 |
# so uname gets run too. |
253 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
254 |
|
255 |
exec 6>&1 |
256 |
|
257 |
# |
258 |
# Initializations. |
259 |
# |
12 |
ac_default_prefix=/usr/local |
260 |
ac_default_prefix=/usr/local |
13 |
# Any additions from configure.in: |
261 |
cross_compiling=no |
14 |
ac_help="$ac_help |
262 |
subdirs= |
15 |
--with-ghc=<haskell compiler> |
263 |
MFLAGS= |
16 |
Use a command different from 'ghc' to compile GHC-specific Haskell code |
264 |
MAKEFLAGS= |
17 |
(including GHC itself). |
265 |
SHELL=${CONFIG_SHELL-/bin/sh} |
18 |
" |
266 |
|
19 |
ac_help="$ac_help |
267 |
# Maximum number of lines to put in a shell here document. |
20 |
--with-hc=<haskell compiler> |
268 |
# This variable seems obsolete. It should probably be removed, and |
21 |
Use a command different from 'ghc' to compile generic Haskell code. |
269 |
# only ac_max_sed_lines should be used. |
22 |
" |
270 |
: ${ac_max_here_lines=38} |
23 |
ac_help="$ac_help |
271 |
|
24 |
--with-gcc=<gcc command> |
272 |
# Identity of this package. |
25 |
Use a different command instead of 'gcc' for the GNU C compiler. |
273 |
PACKAGE_NAME= |
26 |
" |
274 |
PACKAGE_TARNAME= |
27 |
ac_help="$ac_help |
275 |
PACKAGE_VERSION= |
28 |
--enable-hc-boot |
276 |
PACKAGE_STRING= |
29 |
Boot the Glasgow Haskell Compiler from intermediate .hc files. |
277 |
PACKAGE_BUGREPORT= |
30 |
(This option is mostly of interest to porters.) |
278 |
|
31 |
" |
279 |
ac_unique_file="mk/config.mk.in" |
32 |
ac_help="$ac_help |
280 |
ac_subdirs_all="$ac_subdirs_all ghc" |
33 |
--enable-hc-boot-unregisterised |
281 |
# Factoring default headers for most tests. |
34 |
With --enable-hc-boot, treat the intermediate .hc files as |
282 |
ac_includes_default="\ |
35 |
unregisterised rather than registerised code. |
283 |
#include <stdio.h> |
36 |
(This option is mostly of interest to porters.) |
284 |
#if HAVE_SYS_TYPES_H |
37 |
" |
285 |
# include <sys/types.h> |
38 |
ac_help="$ac_help |
286 |
#endif |
39 |
--enable-threaded-rts |
287 |
#if HAVE_SYS_STAT_H |
40 |
Support better interop with OS threads. |
288 |
# include <sys/stat.h> |
41 |
" |
289 |
#endif |
42 |
ac_help="$ac_help |
290 |
#if STDC_HEADERS |
43 |
--enable-win32-dlls |
291 |
# include <stdlib.h> |
44 |
If on a Win32 platform running mingw32/cygwin, enable the |
292 |
# include <stddef.h> |
45 |
construction of DLLs containing ghc-compiled code. |
293 |
#else |
46 |
" |
294 |
# if HAVE_STDLIB_H |
47 |
ac_help="$ac_help |
295 |
# include <stdlib.h> |
48 |
--enable-hopengl |
296 |
# endif |
49 |
Build HOpenGL, a Haskell binding for OpenGL/GLUT, too. |
297 |
#endif |
50 |
(This option is only relevant when hslibs are built.) |
298 |
#if HAVE_STRING_H |
51 |
" |
299 |
# if !STDC_HEADERS && HAVE_MEMORY_H |
52 |
ac_help="$ac_help |
300 |
# include <memory.h> |
53 |
--with-glut-api=<version> |
301 |
# endif |
54 |
Use a specific version of the GLUT API when building HOpenGL. |
302 |
# include <string.h> |
55 |
" |
303 |
#endif |
56 |
ac_help="$ac_help |
304 |
#if HAVE_STRINGS_H |
57 |
--with-glut-xlib=<version> |
305 |
# include <strings.h> |
58 |
Use a specific version of the GLUT Xlib implementation when building HOpenGL. |
306 |
#endif |
59 |
" |
307 |
#if HAVE_INTTYPES_H |
60 |
ac_help="$ac_help |
308 |
# include <inttypes.h> |
61 |
--enable-src-tree-happy |
309 |
#else |
62 |
Build and use source tree (fptools/happy) version of happy. |
310 |
# if HAVE_STDINT_H |
63 |
" |
311 |
# include <stdint.h> |
64 |
ac_help="$ac_help |
312 |
# endif |
65 |
--with-x use the X Window System" |
313 |
#endif |
66 |
ac_help="$ac_help |
314 |
#if HAVE_UNISTD_H |
67 |
--with-Mesa Prefer the Mesa library over a vendors native OpenGL library (default=no)" |
315 |
# include <unistd.h> |
|
|
316 |
#endif" |
317 |
|
68 |
|
318 |
|
69 |
# Initialize some variables set by options. |
319 |
# Initialize some variables set by options. |
|
|
320 |
ac_init_help= |
321 |
ac_init_version=false |
70 |
# The variables have the same names as the options, with |
322 |
# The variables have the same names as the options, with |
71 |
# dashes changed to underlines. |
323 |
# dashes changed to underlines. |
72 |
build=NONE |
324 |
cache_file=/dev/null |
73 |
cache_file=./config.cache |
|
|
74 |
exec_prefix=NONE |
325 |
exec_prefix=NONE |
75 |
host=NONE |
|
|
76 |
no_create= |
326 |
no_create= |
77 |
nonopt=NONE |
|
|
78 |
no_recursion= |
327 |
no_recursion= |
79 |
prefix=NONE |
328 |
prefix=NONE |
80 |
program_prefix=NONE |
329 |
program_prefix=NONE |
Lines 83-92
Link Here
|
83 |
silent= |
332 |
silent= |
84 |
site= |
333 |
site= |
85 |
srcdir= |
334 |
srcdir= |
86 |
target=NONE |
|
|
87 |
verbose= |
335 |
verbose= |
88 |
x_includes=NONE |
336 |
x_includes=NONE |
89 |
x_libraries=NONE |
337 |
x_libraries=NONE |
|
|
338 |
|
339 |
# Installation directory options. |
340 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
341 |
# and all the variables that are supposed to be based on exec_prefix |
342 |
# by default will actually change. |
343 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
90 |
bindir='${exec_prefix}/bin' |
344 |
bindir='${exec_prefix}/bin' |
91 |
sbindir='${exec_prefix}/sbin' |
345 |
sbindir='${exec_prefix}/sbin' |
92 |
libexecdir='${exec_prefix}/libexec' |
346 |
libexecdir='${exec_prefix}/libexec' |
Lines 100-116
Link Here
|
100 |
infodir='${prefix}/info' |
354 |
infodir='${prefix}/info' |
101 |
mandir='${prefix}/man' |
355 |
mandir='${prefix}/man' |
102 |
|
356 |
|
103 |
# Initialize some other variables. |
|
|
104 |
subdirs= |
105 |
MFLAGS= MAKEFLAGS= |
106 |
SHELL=${CONFIG_SHELL-/bin/sh} |
107 |
# Maximum number of lines to put in a shell here document. |
108 |
ac_max_here_lines=12 |
109 |
|
110 |
ac_prev= |
357 |
ac_prev= |
111 |
for ac_option |
358 |
for ac_option |
112 |
do |
359 |
do |
113 |
|
|
|
114 |
# If the previous option needs an argument, assign it. |
360 |
# If the previous option needs an argument, assign it. |
115 |
if test -n "$ac_prev"; then |
361 |
if test -n "$ac_prev"; then |
116 |
eval "$ac_prev=\$ac_option" |
362 |
eval "$ac_prev=\$ac_option" |
Lines 118-176
Link Here
|
118 |
continue |
364 |
continue |
119 |
fi |
365 |
fi |
120 |
|
366 |
|
121 |
case "$ac_option" in |
367 |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
122 |
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
|
|
123 |
*) ac_optarg= ;; |
124 |
esac |
125 |
|
368 |
|
126 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
369 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
127 |
|
370 |
|
128 |
case "$ac_option" in |
371 |
case $ac_option in |
129 |
|
372 |
|
130 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
373 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
131 |
ac_prev=bindir ;; |
374 |
ac_prev=bindir ;; |
132 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
375 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
133 |
bindir="$ac_optarg" ;; |
376 |
bindir=$ac_optarg ;; |
134 |
|
377 |
|
135 |
-build | --build | --buil | --bui | --bu) |
378 |
-build | --build | --buil | --bui | --bu) |
136 |
ac_prev=build ;; |
379 |
ac_prev=build_alias ;; |
137 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
380 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
138 |
build="$ac_optarg" ;; |
381 |
build_alias=$ac_optarg ;; |
139 |
|
382 |
|
140 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
383 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
141 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
384 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
142 |
ac_prev=cache_file ;; |
385 |
ac_prev=cache_file ;; |
143 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
386 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
144 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
387 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
145 |
cache_file="$ac_optarg" ;; |
388 |
cache_file=$ac_optarg ;; |
|
|
389 |
|
390 |
--config-cache | -C) |
391 |
cache_file=config.cache ;; |
146 |
|
392 |
|
147 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
393 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
148 |
ac_prev=datadir ;; |
394 |
ac_prev=datadir ;; |
149 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
395 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
150 |
| --da=*) |
396 |
| --da=*) |
151 |
datadir="$ac_optarg" ;; |
397 |
datadir=$ac_optarg ;; |
152 |
|
398 |
|
153 |
-disable-* | --disable-*) |
399 |
-disable-* | --disable-*) |
154 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
400 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
155 |
# Reject names that are not valid shell variable names. |
401 |
# Reject names that are not valid shell variable names. |
156 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
402 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
157 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
403 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
158 |
fi |
404 |
{ (exit 1); exit 1; }; } |
159 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
405 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
160 |
eval "enable_${ac_feature}=no" ;; |
406 |
eval "enable_$ac_feature=no" ;; |
161 |
|
407 |
|
162 |
-enable-* | --enable-*) |
408 |
-enable-* | --enable-*) |
163 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
409 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
164 |
# Reject names that are not valid shell variable names. |
410 |
# Reject names that are not valid shell variable names. |
165 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
411 |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
166 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
412 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2 |
167 |
fi |
413 |
{ (exit 1); exit 1; }; } |
168 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
414 |
ac_feature=`echo $ac_feature | sed 's/-/_/g'` |
169 |
case "$ac_option" in |
415 |
case $ac_option in |
170 |
*=*) ;; |
416 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
171 |
*) ac_optarg=yes ;; |
417 |
*) ac_optarg=yes ;; |
172 |
esac |
418 |
esac |
173 |
eval "enable_${ac_feature}='$ac_optarg'" ;; |
419 |
eval "enable_$ac_feature='$ac_optarg'" ;; |
174 |
|
420 |
|
175 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
421 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
176 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
422 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
Lines 179-273
Link Here
|
179 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
425 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
180 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
426 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
181 |
| --exec=* | --exe=* | --ex=*) |
427 |
| --exec=* | --exe=* | --ex=*) |
182 |
exec_prefix="$ac_optarg" ;; |
428 |
exec_prefix=$ac_optarg ;; |
183 |
|
429 |
|
184 |
-gas | --gas | --ga | --g) |
430 |
-gas | --gas | --ga | --g) |
185 |
# Obsolete; use --with-gas. |
431 |
# Obsolete; use --with-gas. |
186 |
with_gas=yes ;; |
432 |
with_gas=yes ;; |
187 |
|
433 |
|
188 |
-help | --help | --hel | --he) |
434 |
-help | --help | --hel | --he | -h) |
189 |
# Omit some internal or obsolete options to make the list less imposing. |
435 |
ac_init_help=long ;; |
190 |
# This message is too long to be a string in the A/UX 3.1 sh. |
436 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
191 |
cat << EOF |
437 |
ac_init_help=recursive ;; |
192 |
Usage: configure [options] [host] |
438 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
193 |
Options: [defaults in brackets after descriptions] |
439 |
ac_init_help=short ;; |
194 |
Configuration: |
|
|
195 |
--cache-file=FILE cache test results in FILE |
196 |
--help print this message |
197 |
--no-create do not create output files |
198 |
--quiet, --silent do not print \`checking...' messages |
199 |
--version print the version of autoconf that created configure |
200 |
Directory and file names: |
201 |
--prefix=PREFIX install architecture-independent files in PREFIX |
202 |
[$ac_default_prefix] |
203 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
204 |
[same as prefix] |
205 |
--bindir=DIR user executables in DIR [EPREFIX/bin] |
206 |
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
207 |
--libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
208 |
--datadir=DIR read-only architecture-independent data in DIR |
209 |
[PREFIX/share] |
210 |
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
211 |
--sharedstatedir=DIR modifiable architecture-independent data in DIR |
212 |
[PREFIX/com] |
213 |
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
214 |
--libdir=DIR object code libraries in DIR [EPREFIX/lib] |
215 |
--includedir=DIR C header files in DIR [PREFIX/include] |
216 |
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
217 |
--infodir=DIR info documentation in DIR [PREFIX/info] |
218 |
--mandir=DIR man documentation in DIR [PREFIX/man] |
219 |
--srcdir=DIR find the sources in DIR [configure dir or ..] |
220 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
221 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
222 |
--program-transform-name=PROGRAM |
223 |
run sed PROGRAM on installed program names |
224 |
EOF |
225 |
cat << EOF |
226 |
Host type: |
227 |
--build=BUILD configure for building on BUILD [BUILD=HOST] |
228 |
--host=HOST configure for HOST [guessed] |
229 |
--target=TARGET configure for TARGET [TARGET=HOST] |
230 |
Features and packages: |
231 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
232 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
233 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
234 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
235 |
--x-includes=DIR X include files are in DIR |
236 |
--x-libraries=DIR X library files are in DIR |
237 |
EOF |
238 |
if test -n "$ac_help"; then |
239 |
echo "--enable and --with options recognized:$ac_help" |
240 |
fi |
241 |
exit 0 ;; |
242 |
|
440 |
|
243 |
-host | --host | --hos | --ho) |
441 |
-host | --host | --hos | --ho) |
244 |
ac_prev=host ;; |
442 |
ac_prev=host_alias ;; |
245 |
-host=* | --host=* | --hos=* | --ho=*) |
443 |
-host=* | --host=* | --hos=* | --ho=*) |
246 |
host="$ac_optarg" ;; |
444 |
host_alias=$ac_optarg ;; |
247 |
|
445 |
|
248 |
-includedir | --includedir | --includedi | --included | --include \ |
446 |
-includedir | --includedir | --includedi | --included | --include \ |
249 |
| --includ | --inclu | --incl | --inc) |
447 |
| --includ | --inclu | --incl | --inc) |
250 |
ac_prev=includedir ;; |
448 |
ac_prev=includedir ;; |
251 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
449 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
252 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
450 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
253 |
includedir="$ac_optarg" ;; |
451 |
includedir=$ac_optarg ;; |
254 |
|
452 |
|
255 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
453 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
256 |
ac_prev=infodir ;; |
454 |
ac_prev=infodir ;; |
257 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
455 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
258 |
infodir="$ac_optarg" ;; |
456 |
infodir=$ac_optarg ;; |
259 |
|
457 |
|
260 |
-libdir | --libdir | --libdi | --libd) |
458 |
-libdir | --libdir | --libdi | --libd) |
261 |
ac_prev=libdir ;; |
459 |
ac_prev=libdir ;; |
262 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
460 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
263 |
libdir="$ac_optarg" ;; |
461 |
libdir=$ac_optarg ;; |
264 |
|
462 |
|
265 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
463 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
266 |
| --libexe | --libex | --libe) |
464 |
| --libexe | --libex | --libe) |
267 |
ac_prev=libexecdir ;; |
465 |
ac_prev=libexecdir ;; |
268 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
466 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
269 |
| --libexe=* | --libex=* | --libe=*) |
467 |
| --libexe=* | --libex=* | --libe=*) |
270 |
libexecdir="$ac_optarg" ;; |
468 |
libexecdir=$ac_optarg ;; |
271 |
|
469 |
|
272 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
470 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
273 |
| --localstate | --localstat | --localsta | --localst \ |
471 |
| --localstate | --localstat | --localsta | --localst \ |
Lines 276-294
Link Here
|
276 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
474 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
277 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
475 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
278 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
476 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
279 |
localstatedir="$ac_optarg" ;; |
477 |
localstatedir=$ac_optarg ;; |
280 |
|
478 |
|
281 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
479 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
282 |
ac_prev=mandir ;; |
480 |
ac_prev=mandir ;; |
283 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
481 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
284 |
mandir="$ac_optarg" ;; |
482 |
mandir=$ac_optarg ;; |
285 |
|
483 |
|
286 |
-nfp | --nfp | --nf) |
484 |
-nfp | --nfp | --nf) |
287 |
# Obsolete; use --without-fp. |
485 |
# Obsolete; use --without-fp. |
288 |
with_fp=no ;; |
486 |
with_fp=no ;; |
289 |
|
487 |
|
290 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
488 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
291 |
| --no-cr | --no-c) |
489 |
| --no-cr | --no-c | -n) |
292 |
no_create=yes ;; |
490 |
no_create=yes ;; |
293 |
|
491 |
|
294 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
492 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
Lines 302-327
Link Here
|
302 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
500 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
303 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
501 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
304 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
502 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
305 |
oldincludedir="$ac_optarg" ;; |
503 |
oldincludedir=$ac_optarg ;; |
306 |
|
504 |
|
307 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
505 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
308 |
ac_prev=prefix ;; |
506 |
ac_prev=prefix ;; |
309 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
507 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
310 |
prefix="$ac_optarg" ;; |
508 |
prefix=$ac_optarg ;; |
311 |
|
509 |
|
312 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
510 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
313 |
| --program-pre | --program-pr | --program-p) |
511 |
| --program-pre | --program-pr | --program-p) |
314 |
ac_prev=program_prefix ;; |
512 |
ac_prev=program_prefix ;; |
315 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
513 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
316 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
514 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
317 |
program_prefix="$ac_optarg" ;; |
515 |
program_prefix=$ac_optarg ;; |
318 |
|
516 |
|
319 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
517 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
320 |
| --program-suf | --program-su | --program-s) |
518 |
| --program-suf | --program-su | --program-s) |
321 |
ac_prev=program_suffix ;; |
519 |
ac_prev=program_suffix ;; |
322 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
520 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
323 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
521 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
324 |
program_suffix="$ac_optarg" ;; |
522 |
program_suffix=$ac_optarg ;; |
325 |
|
523 |
|
326 |
-program-transform-name | --program-transform-name \ |
524 |
-program-transform-name | --program-transform-name \ |
327 |
| --program-transform-nam | --program-transform-na \ |
525 |
| --program-transform-nam | --program-transform-na \ |
Lines 338-344
Link Here
|
338 |
| --program-transfo=* | --program-transf=* \ |
536 |
| --program-transfo=* | --program-transf=* \ |
339 |
| --program-trans=* | --program-tran=* \ |
537 |
| --program-trans=* | --program-tran=* \ |
340 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
538 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
341 |
program_transform_name="$ac_optarg" ;; |
539 |
program_transform_name=$ac_optarg ;; |
342 |
|
540 |
|
343 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
541 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
344 |
| -silent | --silent | --silen | --sile | --sil) |
542 |
| -silent | --silent | --silen | --sile | --sil) |
Lines 348-354
Link Here
|
348 |
ac_prev=sbindir ;; |
546 |
ac_prev=sbindir ;; |
349 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
547 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
350 |
| --sbi=* | --sb=*) |
548 |
| --sbi=* | --sb=*) |
351 |
sbindir="$ac_optarg" ;; |
549 |
sbindir=$ac_optarg ;; |
352 |
|
550 |
|
353 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
551 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
354 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
552 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
Lines 359-416
Link Here
|
359 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
557 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
360 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
558 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
361 |
| --sha=* | --sh=*) |
559 |
| --sha=* | --sh=*) |
362 |
sharedstatedir="$ac_optarg" ;; |
560 |
sharedstatedir=$ac_optarg ;; |
363 |
|
561 |
|
364 |
-site | --site | --sit) |
562 |
-site | --site | --sit) |
365 |
ac_prev=site ;; |
563 |
ac_prev=site ;; |
366 |
-site=* | --site=* | --sit=*) |
564 |
-site=* | --site=* | --sit=*) |
367 |
site="$ac_optarg" ;; |
565 |
site=$ac_optarg ;; |
368 |
|
566 |
|
369 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
567 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
370 |
ac_prev=srcdir ;; |
568 |
ac_prev=srcdir ;; |
371 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
569 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
372 |
srcdir="$ac_optarg" ;; |
570 |
srcdir=$ac_optarg ;; |
373 |
|
571 |
|
374 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
572 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
375 |
| --syscon | --sysco | --sysc | --sys | --sy) |
573 |
| --syscon | --sysco | --sysc | --sys | --sy) |
376 |
ac_prev=sysconfdir ;; |
574 |
ac_prev=sysconfdir ;; |
377 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
575 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
378 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
576 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
379 |
sysconfdir="$ac_optarg" ;; |
577 |
sysconfdir=$ac_optarg ;; |
380 |
|
578 |
|
381 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
579 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
382 |
ac_prev=target ;; |
580 |
ac_prev=target_alias ;; |
383 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
581 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
384 |
target="$ac_optarg" ;; |
582 |
target_alias=$ac_optarg ;; |
385 |
|
583 |
|
386 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
584 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
387 |
verbose=yes ;; |
585 |
verbose=yes ;; |
388 |
|
586 |
|
389 |
-version | --version | --versio | --versi | --vers) |
587 |
-version | --version | --versio | --versi | --vers | -V) |
390 |
echo "configure generated by autoconf version 2.13" |
588 |
ac_init_version=: ;; |
391 |
exit 0 ;; |
|
|
392 |
|
589 |
|
393 |
-with-* | --with-*) |
590 |
-with-* | --with-*) |
394 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
591 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
395 |
# Reject names that are not valid shell variable names. |
592 |
# Reject names that are not valid shell variable names. |
396 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
593 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
397 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
594 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
398 |
fi |
595 |
{ (exit 1); exit 1; }; } |
399 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
596 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
400 |
case "$ac_option" in |
597 |
case $ac_option in |
401 |
*=*) ;; |
598 |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; |
402 |
*) ac_optarg=yes ;; |
599 |
*) ac_optarg=yes ;; |
403 |
esac |
600 |
esac |
404 |
eval "with_${ac_package}='$ac_optarg'" ;; |
601 |
eval "with_$ac_package='$ac_optarg'" ;; |
405 |
|
602 |
|
406 |
-without-* | --without-*) |
603 |
-without-* | --without-*) |
407 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
604 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
408 |
# Reject names that are not valid shell variable names. |
605 |
# Reject names that are not valid shell variable names. |
409 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
606 |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
410 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
607 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2 |
411 |
fi |
608 |
{ (exit 1); exit 1; }; } |
412 |
ac_package=`echo $ac_package| sed 's/-/_/g'` |
609 |
ac_package=`echo $ac_package | sed 's/-/_/g'` |
413 |
eval "with_${ac_package}=no" ;; |
610 |
eval "with_$ac_package=no" ;; |
414 |
|
611 |
|
415 |
--x) |
612 |
--x) |
416 |
# Obsolete; use --with-x. |
613 |
# Obsolete; use --with-x. |
Lines 421-519
Link Here
|
421 |
ac_prev=x_includes ;; |
618 |
ac_prev=x_includes ;; |
422 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
619 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
423 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
620 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
424 |
x_includes="$ac_optarg" ;; |
621 |
x_includes=$ac_optarg ;; |
425 |
|
622 |
|
426 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
623 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
427 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
624 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
428 |
ac_prev=x_libraries ;; |
625 |
ac_prev=x_libraries ;; |
429 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
626 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
430 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
627 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
431 |
x_libraries="$ac_optarg" ;; |
628 |
x_libraries=$ac_optarg ;; |
432 |
|
629 |
|
433 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
630 |
-*) { echo "$as_me: error: unrecognized option: $ac_option |
|
|
631 |
Try \`$0 --help' for more information." >&2 |
632 |
{ (exit 1); exit 1; }; } |
434 |
;; |
633 |
;; |
435 |
|
634 |
|
|
|
635 |
*=*) |
636 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
637 |
# Reject names that are not valid shell variable names. |
638 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && |
639 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2 |
640 |
{ (exit 1); exit 1; }; } |
641 |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` |
642 |
eval "$ac_envvar='$ac_optarg'" |
643 |
export $ac_envvar ;; |
644 |
|
436 |
*) |
645 |
*) |
437 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
646 |
# FIXME: should be removed in autoconf 3.0. |
438 |
echo "configure: warning: $ac_option: invalid host type" 1>&2 |
647 |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
439 |
fi |
648 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
440 |
if test "x$nonopt" != xNONE; then |
649 |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
441 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
650 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} |
442 |
fi |
|
|
443 |
nonopt="$ac_option" |
444 |
;; |
651 |
;; |
445 |
|
652 |
|
446 |
esac |
653 |
esac |
447 |
done |
654 |
done |
448 |
|
655 |
|
449 |
if test -n "$ac_prev"; then |
656 |
if test -n "$ac_prev"; then |
450 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
657 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
451 |
fi |
658 |
{ echo "$as_me: error: missing argument to $ac_option" >&2 |
452 |
|
659 |
{ (exit 1); exit 1; }; } |
453 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
454 |
|
455 |
# File descriptor usage: |
456 |
# 0 standard input |
457 |
# 1 file creation |
458 |
# 2 errors and warnings |
459 |
# 3 some systems may open it to /dev/tty |
460 |
# 4 used on the Kubota Titan |
461 |
# 6 checking for... messages and results |
462 |
# 5 compiler messages saved in config.log |
463 |
if test "$silent" = yes; then |
464 |
exec 6>/dev/null |
465 |
else |
466 |
exec 6>&1 |
467 |
fi |
660 |
fi |
468 |
exec 5>./config.log |
|
|
469 |
|
661 |
|
470 |
echo "\ |
662 |
# Be sure to have absolute paths. |
471 |
This file contains any messages produced by compilers while |
663 |
for ac_var in exec_prefix prefix |
472 |
running configure, to aid debugging if configure makes a mistake. |
664 |
do |
473 |
" 1>&5 |
665 |
eval ac_val=$`echo $ac_var` |
|
|
666 |
case $ac_val in |
667 |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;; |
668 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
669 |
{ (exit 1); exit 1; }; };; |
670 |
esac |
671 |
done |
474 |
|
672 |
|
475 |
# Strip out --no-create and --no-recursion so they do not pile up. |
673 |
# Be sure to have absolute paths. |
476 |
# Also quote any args containing shell metacharacters. |
674 |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ |
477 |
ac_configure_args= |
675 |
localstatedir libdir includedir oldincludedir infodir mandir |
478 |
for ac_arg |
|
|
479 |
do |
676 |
do |
480 |
case "$ac_arg" in |
677 |
eval ac_val=$`echo $ac_var` |
481 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
678 |
case $ac_val in |
482 |
| --no-cr | --no-c) ;; |
679 |
[\\/$]* | ?:[\\/]* ) ;; |
483 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
680 |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 |
484 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
681 |
{ (exit 1); exit 1; }; };; |
485 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
|
|
486 |
ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
487 |
*) ac_configure_args="$ac_configure_args $ac_arg" ;; |
488 |
esac |
682 |
esac |
489 |
done |
683 |
done |
490 |
|
684 |
|
491 |
# NLS nuisances. |
685 |
# There might be people who depend on the old broken behavior: `$host' |
492 |
# Only set these to C if already set. These must not be set unconditionally |
686 |
# used to hold the argument of --host etc. |
493 |
# because not all systems understand e.g. LANG=C (notably SCO). |
687 |
# FIXME: To remove some day. |
494 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
688 |
build=$build_alias |
495 |
# Non-C LC_CTYPE values break the ctype check. |
689 |
host=$host_alias |
496 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
690 |
target=$target_alias |
497 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
691 |
|
498 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
692 |
# FIXME: To remove some day. |
499 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
693 |
if test "x$host_alias" != x; then |
|
|
694 |
if test "x$build_alias" = x; then |
695 |
cross_compiling=maybe |
696 |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. |
697 |
If a cross compiler is detected then cross compile mode will be used." >&2 |
698 |
elif test "x$build_alias" != "x$host_alias"; then |
699 |
cross_compiling=yes |
700 |
fi |
701 |
fi |
500 |
|
702 |
|
501 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
703 |
ac_tool_prefix= |
502 |
rm -rf conftest* confdefs.h |
704 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
503 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
705 |
|
504 |
echo > confdefs.h |
706 |
test "$silent" = yes && exec 6>/dev/null |
505 |
|
707 |
|
506 |
# A filename unique to this package, relative to the directory that |
|
|
507 |
# configure is in, which we can look for to find out if srcdir is correct. |
508 |
ac_unique_file=mk/config.mk.in |
509 |
|
708 |
|
510 |
# Find the source files, if location was not specified. |
709 |
# Find the source files, if location was not specified. |
511 |
if test -z "$srcdir"; then |
710 |
if test -z "$srcdir"; then |
512 |
ac_srcdir_defaulted=yes |
711 |
ac_srcdir_defaulted=yes |
513 |
# Try the directory containing this script, then its parent. |
712 |
# Try the directory containing this script, then its parent. |
514 |
ac_prog=$0 |
713 |
ac_confdir=`(dirname "$0") 2>/dev/null || |
515 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
714 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
516 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
715 |
X"$0" : 'X\(//\)[^/]' \| \ |
|
|
716 |
X"$0" : 'X\(//\)$' \| \ |
717 |
X"$0" : 'X\(/\)' \| \ |
718 |
. : '\(.\)' 2>/dev/null || |
719 |
echo X"$0" | |
720 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
721 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
722 |
/^X\(\/\/\)$/{ s//\1/; q; } |
723 |
/^X\(\/\).*/{ s//\1/; q; } |
724 |
s/.*/./; q'` |
517 |
srcdir=$ac_confdir |
725 |
srcdir=$ac_confdir |
518 |
if test ! -r $srcdir/$ac_unique_file; then |
726 |
if test ! -r $srcdir/$ac_unique_file; then |
519 |
srcdir=.. |
727 |
srcdir=.. |
Lines 523-716
Link Here
|
523 |
fi |
731 |
fi |
524 |
if test ! -r $srcdir/$ac_unique_file; then |
732 |
if test ! -r $srcdir/$ac_unique_file; then |
525 |
if test "$ac_srcdir_defaulted" = yes; then |
733 |
if test "$ac_srcdir_defaulted" = yes; then |
526 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
734 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 |
|
|
735 |
{ (exit 1); exit 1; }; } |
527 |
else |
736 |
else |
528 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
737 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 |
|
|
738 |
{ (exit 1); exit 1; }; } |
529 |
fi |
739 |
fi |
530 |
fi |
740 |
fi |
531 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
741 |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
|
|
742 |
ac_env_build_alias_set=${build_alias+set} |
743 |
ac_env_build_alias_value=$build_alias |
744 |
ac_cv_env_build_alias_set=${build_alias+set} |
745 |
ac_cv_env_build_alias_value=$build_alias |
746 |
ac_env_host_alias_set=${host_alias+set} |
747 |
ac_env_host_alias_value=$host_alias |
748 |
ac_cv_env_host_alias_set=${host_alias+set} |
749 |
ac_cv_env_host_alias_value=$host_alias |
750 |
ac_env_target_alias_set=${target_alias+set} |
751 |
ac_env_target_alias_value=$target_alias |
752 |
ac_cv_env_target_alias_set=${target_alias+set} |
753 |
ac_cv_env_target_alias_value=$target_alias |
754 |
ac_env_CC_set=${CC+set} |
755 |
ac_env_CC_value=$CC |
756 |
ac_cv_env_CC_set=${CC+set} |
757 |
ac_cv_env_CC_value=$CC |
758 |
ac_env_CFLAGS_set=${CFLAGS+set} |
759 |
ac_env_CFLAGS_value=$CFLAGS |
760 |
ac_cv_env_CFLAGS_set=${CFLAGS+set} |
761 |
ac_cv_env_CFLAGS_value=$CFLAGS |
762 |
ac_env_LDFLAGS_set=${LDFLAGS+set} |
763 |
ac_env_LDFLAGS_value=$LDFLAGS |
764 |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set} |
765 |
ac_cv_env_LDFLAGS_value=$LDFLAGS |
766 |
ac_env_CPPFLAGS_set=${CPPFLAGS+set} |
767 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
768 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
769 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
770 |
ac_env_CPP_set=${CPP+set} |
771 |
ac_env_CPP_value=$CPP |
772 |
ac_cv_env_CPP_set=${CPP+set} |
773 |
ac_cv_env_CPP_value=$CPP |
532 |
|
774 |
|
533 |
# Prefer explicitly selected file to automatically selected ones. |
775 |
# |
534 |
if test -z "$CONFIG_SITE"; then |
776 |
# Report the --help message. |
535 |
if test "x$prefix" != xNONE; then |
777 |
# |
536 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
778 |
if test "$ac_init_help" = "long"; then |
537 |
else |
779 |
# Omit some internal or obsolete options to make the list less imposing. |
538 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
780 |
# This message is too long to be a string in the A/UX 3.1 sh. |
539 |
fi |
781 |
cat <<_ACEOF |
540 |
fi |
782 |
\`configure' configures this package to adapt to many kinds of systems. |
541 |
for ac_site_file in $CONFIG_SITE; do |
|
|
542 |
if test -r "$ac_site_file"; then |
543 |
echo "loading site script $ac_site_file" |
544 |
. "$ac_site_file" |
545 |
fi |
546 |
done |
547 |
|
783 |
|
548 |
if test -r "$cache_file"; then |
784 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
549 |
echo "loading cache $cache_file" |
|
|
550 |
. $cache_file |
551 |
else |
552 |
echo "creating cache $cache_file" |
553 |
> $cache_file |
554 |
fi |
555 |
|
785 |
|
556 |
ac_ext=c |
786 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
557 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
787 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
558 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
559 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
560 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
561 |
cross_compiling=$ac_cv_prog_cc_cross |
562 |
|
563 |
ac_exeext= |
564 |
ac_objext=o |
565 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
566 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
567 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
568 |
ac_n= ac_c=' |
569 |
' ac_t=' ' |
570 |
else |
571 |
ac_n=-n ac_c= ac_t= |
572 |
fi |
573 |
else |
574 |
ac_n= ac_c='\c' ac_t= |
575 |
fi |
576 |
|
788 |
|
|
|
789 |
Defaults for the options are specified in brackets. |
577 |
|
790 |
|
|
|
791 |
Configuration: |
792 |
-h, --help display this help and exit |
793 |
--help=short display options specific to this package |
794 |
--help=recursive display the short help of all the included packages |
795 |
-V, --version display version information and exit |
796 |
-q, --quiet, --silent do not print \`checking...' messages |
797 |
--cache-file=FILE cache test results in FILE [disabled] |
798 |
-C, --config-cache alias for \`--cache-file=config.cache' |
799 |
-n, --no-create do not create output files |
800 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
578 |
|
801 |
|
579 |
ac_aux_dir= |
802 |
_ACEOF |
580 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
803 |
|
581 |
if test -f $ac_dir/install-sh; then |
804 |
cat <<_ACEOF |
582 |
ac_aux_dir=$ac_dir |
805 |
Installation directories: |
583 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
806 |
--prefix=PREFIX install architecture-independent files in PREFIX |
584 |
break |
807 |
[$ac_default_prefix] |
585 |
elif test -f $ac_dir/install.sh; then |
808 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
586 |
ac_aux_dir=$ac_dir |
809 |
[PREFIX] |
587 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
810 |
|
588 |
break |
811 |
By default, \`make install' will install all the files in |
589 |
fi |
812 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
590 |
done |
813 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
591 |
if test -z "$ac_aux_dir"; then |
814 |
for instance \`--prefix=\$HOME'. |
592 |
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
815 |
|
|
|
816 |
For better control, use the options below. |
817 |
|
818 |
Fine tuning of the installation directories: |
819 |
--bindir=DIR user executables [EPREFIX/bin] |
820 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
821 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
822 |
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
823 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
824 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
825 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
826 |
--libdir=DIR object code libraries [EPREFIX/lib] |
827 |
--includedir=DIR C header files [PREFIX/include] |
828 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
829 |
--infodir=DIR info documentation [PREFIX/info] |
830 |
--mandir=DIR man documentation [PREFIX/man] |
831 |
_ACEOF |
832 |
|
833 |
cat <<\_ACEOF |
834 |
|
835 |
X features: |
836 |
--x-includes=DIR X include files are in DIR |
837 |
--x-libraries=DIR X library files are in DIR |
838 |
|
839 |
System types: |
840 |
--build=BUILD configure for building on BUILD [guessed] |
841 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
842 |
--target=TARGET configure for building compilers for TARGET [HOST] |
843 |
_ACEOF |
593 |
fi |
844 |
fi |
594 |
ac_config_guess=$ac_aux_dir/config.guess |
|
|
595 |
ac_config_sub=$ac_aux_dir/config.sub |
596 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
597 |
|
845 |
|
598 |
subdirs="ghc" |
846 |
if test -n "$ac_init_help"; then |
599 |
|
847 |
|
|
|
848 |
cat <<\_ACEOF |
600 |
|
849 |
|
601 |
# ------------------------------------------------------------------------- |
850 |
Optional Features: |
602 |
# Prepare to generate the following header files |
851 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
603 |
# |
852 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
604 |
# |
853 |
--enable-hc-boot |
|
|
854 |
Boot the Glasgow Haskell Compiler from intermediate .hc files. |
855 |
(This option is mostly of interest to porters.) |
605 |
|
856 |
|
|
|
857 |
--enable-hc-boot-unregisterised |
858 |
With --enable-hc-boot, treat the intermediate .hc files as |
859 |
unregisterised rather than registerised code. |
860 |
(This option is mostly of interest to porters.) |
606 |
|
861 |
|
607 |
# No, semi-sadly, we don't do `--srcdir'... |
862 |
--enable-threaded-rts |
608 |
if test x"$srcdir" != 'x.' ; then |
863 |
Support better interop with OS threads. |
609 |
echo "This configuration does not support the \`--srcdir' option.." |
|
|
610 |
exit 1 |
611 |
fi |
612 |
|
864 |
|
613 |
# |
865 |
--enable-win32-dlls |
614 |
# Remove common automounter nonsense + convert from UNC to DOS style paths |
866 |
If on a Win32 platform running mingw32/cygwin, enable the |
615 |
# (UNC awareness isn't quite there yet for cygwin32-beta18 and consituent tools.) |
867 |
construction of DLLs containing ghc-compiled code. |
616 |
# |
|
|
617 |
hardtop=`pwd` |
618 |
hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|' | sed 's|^//\(.\)/|\1:/|' ` |
619 |
|
868 |
|
620 |
echo '' |
869 |
--enable-hopengl |
621 |
echo "*** The top of your build tree is: $hardtop" |
870 |
Build HOpenGL, a Haskell binding for OpenGL/GLUT, too. |
622 |
# subst of hardtop is done below after we've computed hardtop_plat. |
871 |
(This option is only relevant when hslibs are built.) |
623 |
|
872 |
|
|
|
873 |
--enable-src-tree-happy |
874 |
Build and use source tree (fptools/happy) version of happy. |
624 |
|
875 |
|
|
|
876 |
--with-Mesa Prefer the Mesa library over a vendors native OpenGL library (default=no) |
625 |
|
877 |
|
626 |
# Do some error checking and defaulting for the host and target type. |
878 |
Optional Packages: |
627 |
# The inputs are: |
879 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
628 |
# configure --host=HOST --target=TARGET --build=BUILD NONOPT |
880 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
629 |
# |
881 |
--with-ghc=<haskell compiler> |
630 |
# The rules are: |
882 |
Use a command different from 'ghc' to compile GHC-specific Haskell code |
631 |
# 1. You are not allowed to specify --host, --target, and nonopt at the |
883 |
(including GHC itself). |
632 |
# same time. |
|
|
633 |
# 2. Host defaults to nonopt. |
634 |
# 3. If nonopt is not specified, then host defaults to the current host, |
635 |
# as determined by config.guess. |
636 |
# 4. Target and build default to nonopt. |
637 |
# 5. If nonopt is not specified, then target and build default to host. |
638 |
|
884 |
|
639 |
# The aliases save the names the user supplied, while $host etc. |
885 |
--with-hc=<haskell compiler> |
640 |
# will get canonicalized. |
886 |
Use a command different from 'ghc' to compile generic Haskell code. |
641 |
case $host---$target---$nonopt in |
|
|
642 |
NONE---*---* | *---NONE---* | *---*---NONE) ;; |
643 |
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
644 |
esac |
645 |
|
887 |
|
|
|
888 |
--with-gcc=<gcc command> |
889 |
Use a different command instead of 'gcc' for the GNU C compiler. |
646 |
|
890 |
|
647 |
# Make sure we can run config.sub. |
891 |
--with-glut-api=<version> |
648 |
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
892 |
Use a specific version of the GLUT API when building HOpenGL. |
649 |
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
|
|
650 |
fi |
651 |
|
893 |
|
652 |
echo $ac_n "checking host system type""... $ac_c" 1>&6 |
894 |
--with-glut-xlib=<version> |
653 |
echo "configure:654: checking host system type" >&5 |
895 |
Use a specific version of the GLUT Xlib implementation when building HOpenGL. |
654 |
|
896 |
|
655 |
host_alias=$host |
897 |
--without-happy |
656 |
case "$host_alias" in |
898 |
Don't check for the Happy parser generator, assuming the |
657 |
NONE) |
899 |
parsers are already built. |
658 |
case $nonopt in |
900 |
If you don't have Happy, use this for building from a source |
659 |
NONE) |
901 |
distribution (it contains the parsers pre-built). |
660 |
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : |
902 |
|
661 |
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
903 |
--with-x use the X Window System |
|
|
904 |
|
905 |
Some influential environment variables: |
906 |
CC C compiler command |
907 |
CFLAGS C compiler flags |
908 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
909 |
nonstandard directory <lib dir> |
910 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
911 |
headers in a nonstandard directory <include dir> |
912 |
CPP C preprocessor |
913 |
|
914 |
Use these variables to override the choices made by `configure' or to help |
915 |
it to find libraries and programs with nonstandard names/locations. |
916 |
|
917 |
_ACEOF |
918 |
fi |
919 |
|
920 |
if test "$ac_init_help" = "recursive"; then |
921 |
# If there are subdirs, report their specific --help. |
922 |
ac_popdir=`pwd` |
923 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
924 |
test -d $ac_dir || continue |
925 |
ac_builddir=. |
926 |
|
927 |
if test "$ac_dir" != .; then |
928 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
929 |
# A "../" for each directory in $ac_dir_suffix. |
930 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
931 |
else |
932 |
ac_dir_suffix= ac_top_builddir= |
933 |
fi |
934 |
|
935 |
case $srcdir in |
936 |
.) # No --srcdir option. We are building in place. |
937 |
ac_srcdir=. |
938 |
if test -z "$ac_top_builddir"; then |
939 |
ac_top_srcdir=. |
940 |
else |
941 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
662 |
fi ;; |
942 |
fi ;; |
663 |
*) host_alias=$nonopt ;; |
943 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
664 |
esac ;; |
944 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
|
945 |
ac_top_srcdir=$srcdir ;; |
946 |
*) # Relative path. |
947 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
948 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
665 |
esac |
949 |
esac |
|
|
950 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
951 |
# absolute. |
952 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
953 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
954 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
955 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
666 |
|
956 |
|
667 |
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
957 |
cd $ac_dir |
668 |
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
958 |
# Check for guested configure; otherwise get Cygnus style configure. |
669 |
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
959 |
if test -f $ac_srcdir/configure.gnu; then |
670 |
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
960 |
echo |
671 |
echo "$ac_t""$host" 1>&6 |
961 |
$SHELL $ac_srcdir/configure.gnu --help=recursive |
672 |
|
962 |
elif test -f $ac_srcdir/configure; then |
673 |
echo $ac_n "checking target system type""... $ac_c" 1>&6 |
963 |
echo |
674 |
echo "configure:675: checking target system type" >&5 |
964 |
$SHELL $ac_srcdir/configure --help=recursive |
675 |
|
965 |
elif test -f $ac_srcdir/configure.ac || |
676 |
target_alias=$target |
966 |
test -f $ac_srcdir/configure.in; then |
677 |
case "$target_alias" in |
967 |
echo |
678 |
NONE) |
968 |
$ac_configure --help |
679 |
case $nonopt in |
969 |
else |
680 |
NONE) target_alias=$host_alias ;; |
970 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
681 |
*) target_alias=$nonopt ;; |
971 |
fi |
682 |
esac ;; |
972 |
cd $ac_popdir |
683 |
esac |
973 |
done |
684 |
|
974 |
fi |
685 |
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` |
|
|
686 |
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
687 |
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
688 |
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
689 |
echo "$ac_t""$target" 1>&6 |
690 |
|
691 |
echo $ac_n "checking build system type""... $ac_c" 1>&6 |
692 |
echo "configure:693: checking build system type" >&5 |
693 |
|
694 |
build_alias=$build |
695 |
case "$build_alias" in |
696 |
NONE) |
697 |
case $nonopt in |
698 |
NONE) build_alias=$host_alias ;; |
699 |
*) build_alias=$nonopt ;; |
700 |
esac ;; |
701 |
esac |
702 |
|
703 |
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` |
704 |
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
705 |
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
706 |
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
707 |
echo "$ac_t""$build" 1>&6 |
708 |
|
709 |
test "$host_alias" != "$target_alias" && |
710 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
711 |
NONENONEs,x,x, && |
712 |
program_prefix=${target_alias}- |
713 |
|
975 |
|
|
|
976 |
test -n "$ac_init_help" && exit 0 |
977 |
if $ac_init_version; then |
978 |
cat <<\_ACEOF |
979 |
|
980 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 |
981 |
Free Software Foundation, Inc. |
982 |
This configure script is free software; the Free Software Foundation |
983 |
gives unlimited permission to copy, distribute and modify it. |
984 |
_ACEOF |
985 |
exit 0 |
986 |
fi |
987 |
exec 5>config.log |
988 |
cat >&5 <<_ACEOF |
989 |
This file contains any messages produced by compilers while |
990 |
running configure, to aid debugging if configure makes a mistake. |
991 |
|
992 |
It was created by $as_me, which was |
993 |
generated by GNU Autoconf 2.53a. Invocation command line was |
994 |
|
995 |
$ $0 $@ |
996 |
|
997 |
_ACEOF |
998 |
{ |
999 |
cat <<_ASUNAME |
1000 |
## --------- ## |
1001 |
## Platform. ## |
1002 |
## --------- ## |
1003 |
|
1004 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1005 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1006 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1007 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1008 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1009 |
|
1010 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1011 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1012 |
|
1013 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1014 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1015 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1016 |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown` |
1017 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1018 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1019 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1020 |
|
1021 |
_ASUNAME |
1022 |
|
1023 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1024 |
for as_dir in $PATH |
1025 |
do |
1026 |
IFS=$as_save_IFS |
1027 |
test -z "$as_dir" && as_dir=. |
1028 |
echo "PATH: $as_dir" |
1029 |
done |
1030 |
|
1031 |
} >&5 |
1032 |
|
1033 |
cat >&5 <<_ACEOF |
1034 |
|
1035 |
|
1036 |
## ----------- ## |
1037 |
## Core tests. ## |
1038 |
## ----------- ## |
1039 |
|
1040 |
_ACEOF |
1041 |
|
1042 |
|
1043 |
# Keep a trace of the command line. |
1044 |
# Strip out --no-create and --no-recursion so they do not pile up. |
1045 |
# Also quote any args containing shell meta-characters. |
1046 |
ac_configure_args= |
1047 |
ac_sep= |
1048 |
for ac_arg |
1049 |
do |
1050 |
case $ac_arg in |
1051 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
1052 |
| --no-cr | --no-c | -n ) continue ;; |
1053 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
1054 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
1055 |
continue ;; |
1056 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1057 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1058 |
esac |
1059 |
case " $ac_configure_args " in |
1060 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1061 |
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" |
1062 |
ac_sep=" " ;; |
1063 |
esac |
1064 |
# Get rid of the leading space. |
1065 |
done |
1066 |
|
1067 |
# When interrupted or exit'd, cleanup temporary files, and complete |
1068 |
# config.log. We remove comments because anyway the quotes in there |
1069 |
# would cause problems or look ugly. |
1070 |
# WARNING: Be sure not to use single quotes in there, as some shells, |
1071 |
# such as our DU 5.0 friend, will then `close' the trap. |
1072 |
trap 'exit_status=$? |
1073 |
# Save into config.log some information that might help in debugging. |
1074 |
{ |
1075 |
echo |
1076 |
cat <<\_ASBOX |
1077 |
## ---------------- ## |
1078 |
## Cache variables. ## |
1079 |
## ---------------- ## |
1080 |
_ASBOX |
1081 |
echo |
1082 |
# The following way of writing the cache mishandles newlines in values, |
1083 |
{ |
1084 |
(set) 2>&1 | |
1085 |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in |
1086 |
*ac_space=\ *) |
1087 |
sed -n \ |
1088 |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g; |
1089 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" |
1090 |
;; |
1091 |
*) |
1092 |
sed -n \ |
1093 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
1094 |
;; |
1095 |
esac; |
1096 |
} |
1097 |
echo |
1098 |
if test -s confdefs.h; then |
1099 |
cat <<\_ASBOX |
1100 |
## ----------- ## |
1101 |
## confdefs.h. ## |
1102 |
## ----------- ## |
1103 |
_ASBOX |
1104 |
echo |
1105 |
sed "/^$/d" confdefs.h |
1106 |
echo |
1107 |
fi |
1108 |
test "$ac_signal" != 0 && |
1109 |
echo "$as_me: caught signal $ac_signal" |
1110 |
echo "$as_me: exit $exit_status" |
1111 |
} >&5 |
1112 |
rm -f core core.* *.core && |
1113 |
rm -rf conftest* confdefs* conf$$* $ac_clean_files && |
1114 |
exit $exit_status |
1115 |
' 0 |
1116 |
for ac_signal in 1 2 13 15; do |
1117 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal |
1118 |
done |
1119 |
ac_signal=0 |
1120 |
|
1121 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
1122 |
rm -rf conftest* confdefs.h |
1123 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline. |
1124 |
echo >confdefs.h |
1125 |
|
1126 |
# Predefined preprocessor variables. |
1127 |
|
1128 |
cat >>confdefs.h <<_ACEOF |
1129 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
1130 |
_ACEOF |
1131 |
|
1132 |
|
1133 |
cat >>confdefs.h <<_ACEOF |
1134 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
1135 |
_ACEOF |
1136 |
|
1137 |
|
1138 |
cat >>confdefs.h <<_ACEOF |
1139 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
1140 |
_ACEOF |
1141 |
|
1142 |
|
1143 |
cat >>confdefs.h <<_ACEOF |
1144 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
1145 |
_ACEOF |
1146 |
|
1147 |
|
1148 |
cat >>confdefs.h <<_ACEOF |
1149 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
1150 |
_ACEOF |
1151 |
|
1152 |
|
1153 |
# Let the site file select an alternate cache file if it wants to. |
1154 |
# Prefer explicitly selected file to automatically selected ones. |
1155 |
if test -z "$CONFIG_SITE"; then |
1156 |
if test "x$prefix" != xNONE; then |
1157 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
1158 |
else |
1159 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
1160 |
fi |
1161 |
fi |
1162 |
for ac_site_file in $CONFIG_SITE; do |
1163 |
if test -r "$ac_site_file"; then |
1164 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 |
1165 |
echo "$as_me: loading site script $ac_site_file" >&6;} |
1166 |
sed 's/^/| /' "$ac_site_file" >&5 |
1167 |
. "$ac_site_file" |
1168 |
fi |
1169 |
done |
1170 |
|
1171 |
if test -r "$cache_file"; then |
1172 |
# Some versions of bash will fail to source /dev/null (special |
1173 |
# files actually), so we avoid doing that. |
1174 |
if test -f "$cache_file"; then |
1175 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5 |
1176 |
echo "$as_me: loading cache $cache_file" >&6;} |
1177 |
case $cache_file in |
1178 |
[\\/]* | ?:[\\/]* ) . $cache_file;; |
1179 |
*) . ./$cache_file;; |
1180 |
esac |
1181 |
fi |
1182 |
else |
1183 |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5 |
1184 |
echo "$as_me: creating cache $cache_file" >&6;} |
1185 |
>$cache_file |
1186 |
fi |
1187 |
|
1188 |
# Check that the precious variables saved in the cache have kept the same |
1189 |
# value. |
1190 |
ac_cache_corrupted=false |
1191 |
for ac_var in `(set) 2>&1 | |
1192 |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do |
1193 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
1194 |
eval ac_new_set=\$ac_env_${ac_var}_set |
1195 |
eval ac_old_val="\$ac_cv_env_${ac_var}_value" |
1196 |
eval ac_new_val="\$ac_env_${ac_var}_value" |
1197 |
case $ac_old_set,$ac_new_set in |
1198 |
set,) |
1199 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
1200 |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
1201 |
ac_cache_corrupted=: ;; |
1202 |
,set) |
1203 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 |
1204 |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
1205 |
ac_cache_corrupted=: ;; |
1206 |
,);; |
1207 |
*) |
1208 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
1209 |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 |
1210 |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
1211 |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5 |
1212 |
echo "$as_me: former value: $ac_old_val" >&2;} |
1213 |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5 |
1214 |
echo "$as_me: current value: $ac_new_val" >&2;} |
1215 |
ac_cache_corrupted=: |
1216 |
fi;; |
1217 |
esac |
1218 |
# Pass precious variables to config.status. |
1219 |
if test "$ac_new_set" = set; then |
1220 |
case $ac_new_val in |
1221 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) |
1222 |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
1223 |
*) ac_arg=$ac_var=$ac_new_val ;; |
1224 |
esac |
1225 |
case " $ac_configure_args " in |
1226 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
1227 |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
1228 |
esac |
1229 |
fi |
1230 |
done |
1231 |
if $ac_cache_corrupted; then |
1232 |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 |
1233 |
echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
1234 |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
1235 |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
1236 |
{ (exit 1); exit 1; }; } |
1237 |
fi |
1238 |
|
1239 |
ac_ext=c |
1240 |
ac_cpp='$CPP $CPPFLAGS' |
1241 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1242 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1243 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1244 |
|
1245 |
|
1246 |
|
1247 |
|
1248 |
|
1249 |
|
1250 |
|
1251 |
|
1252 |
|
1253 |
|
1254 |
|
1255 |
|
1256 |
|
1257 |
|
1258 |
|
1259 |
|
1260 |
|
1261 |
|
1262 |
|
1263 |
|
1264 |
ac_aux_dir= |
1265 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
1266 |
if test -f $ac_dir/install-sh; then |
1267 |
ac_aux_dir=$ac_dir |
1268 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
1269 |
break |
1270 |
elif test -f $ac_dir/install.sh; then |
1271 |
ac_aux_dir=$ac_dir |
1272 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
1273 |
break |
1274 |
elif test -f $ac_dir/shtool; then |
1275 |
ac_aux_dir=$ac_dir |
1276 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
1277 |
break |
1278 |
fi |
1279 |
done |
1280 |
if test -z "$ac_aux_dir"; then |
1281 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
1282 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
1283 |
{ (exit 1); exit 1; }; } |
1284 |
fi |
1285 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
1286 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
1287 |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
1288 |
|
1289 |
|
1290 |
|
1291 |
subdirs="$subdirs ghc" |
1292 |
|
1293 |
|
1294 |
# ------------------------------------------------------------------------- |
1295 |
# Prepare to generate the following header files |
1296 |
# |
1297 |
# |
1298 |
ac_config_headers="$ac_config_headers mk/config.h" |
1299 |
|
1300 |
|
1301 |
# No, semi-sadly, we don't do `--srcdir'... |
1302 |
if test x"$srcdir" != 'x.' ; then |
1303 |
echo "This configuration does not support the \`--srcdir' option.." |
1304 |
exit 1 |
1305 |
fi |
1306 |
|
1307 |
# |
1308 |
# Remove common automounter nonsense + convert from UNC to DOS style paths |
1309 |
# (UNC awareness isn't quite there yet for cygwin32-beta18 and consituent tools.) |
1310 |
# |
1311 |
hardtop=`pwd` |
1312 |
hardtop=`echo $hardtop | sed 's|^/tmp_mnt.*\(/local/.*\)$|\1|' | sed 's|^/tmp_mnt/|/|' | sed 's|^/grasp_tmp|/local/grasp_tmp|' | sed 's|^//\(.\)/|\1:/|' ` |
1313 |
|
1314 |
echo '' |
1315 |
echo "*** The top of your build tree is: $hardtop" |
1316 |
# subst of hardtop is done below after we've computed hardtop_plat. |
1317 |
|
1318 |
|
1319 |
# Make sure we can run config.sub. |
1320 |
$ac_config_sub sun4 >/dev/null 2>&1 || |
1321 |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 |
1322 |
echo "$as_me: error: cannot run $ac_config_sub" >&2;} |
1323 |
{ (exit 1); exit 1; }; } |
1324 |
|
1325 |
echo "$as_me:$LINENO: checking build system type" >&5 |
1326 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6 |
1327 |
if test "${ac_cv_build+set}" = set; then |
1328 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1329 |
else |
1330 |
ac_cv_build_alias=$build_alias |
1331 |
test -z "$ac_cv_build_alias" && |
1332 |
ac_cv_build_alias=`$ac_config_guess` |
1333 |
test -z "$ac_cv_build_alias" && |
1334 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 |
1335 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;} |
1336 |
{ (exit 1); exit 1; }; } |
1337 |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || |
1338 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 |
1339 |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} |
1340 |
{ (exit 1); exit 1; }; } |
1341 |
|
1342 |
fi |
1343 |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5 |
1344 |
echo "${ECHO_T}$ac_cv_build" >&6 |
1345 |
build=$ac_cv_build |
1346 |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1347 |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1348 |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1349 |
|
1350 |
|
1351 |
echo "$as_me:$LINENO: checking host system type" >&5 |
1352 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6 |
1353 |
if test "${ac_cv_host+set}" = set; then |
1354 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1355 |
else |
1356 |
ac_cv_host_alias=$host_alias |
1357 |
test -z "$ac_cv_host_alias" && |
1358 |
ac_cv_host_alias=$ac_cv_build_alias |
1359 |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || |
1360 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 |
1361 |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} |
1362 |
{ (exit 1); exit 1; }; } |
1363 |
|
1364 |
fi |
1365 |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5 |
1366 |
echo "${ECHO_T}$ac_cv_host" >&6 |
1367 |
host=$ac_cv_host |
1368 |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1369 |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1370 |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1371 |
|
1372 |
|
1373 |
echo "$as_me:$LINENO: checking target system type" >&5 |
1374 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6 |
1375 |
if test "${ac_cv_target+set}" = set; then |
1376 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1377 |
else |
1378 |
ac_cv_target_alias=$target_alias |
1379 |
test "x$ac_cv_target_alias" = "x" && |
1380 |
ac_cv_target_alias=$ac_cv_host_alias |
1381 |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || |
1382 |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 |
1383 |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} |
1384 |
{ (exit 1); exit 1; }; } |
1385 |
|
1386 |
fi |
1387 |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5 |
1388 |
echo "${ECHO_T}$ac_cv_target" >&6 |
1389 |
target=$ac_cv_target |
1390 |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
1391 |
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
1392 |
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
1393 |
|
1394 |
|
1395 |
# The aliases save the names the user supplied, while $host etc. |
1396 |
# will get canonicalized. |
1397 |
test -n "$target_alias" && |
1398 |
test "$program_prefix$program_suffix$program_transform_name" = \ |
1399 |
NONENONEs,x,x, && |
1400 |
program_prefix=${target_alias}- |
714 |
|
1401 |
|
715 |
# "$host" defaults to "$target" |
1402 |
# "$host" defaults to "$target" |
716 |
if test "x$host" = xNONE ; then |
1403 |
if test "x$host" = xNONE ; then |
Lines 1011-1063
Link Here
|
1011 |
|
1698 |
|
1012 |
|
1699 |
|
1013 |
|
1700 |
|
|
|
1701 |
|
1014 |
# Check whether --with-ghc or --without-ghc was given. |
1702 |
# Check whether --with-ghc or --without-ghc was given. |
1015 |
if test "${with_ghc+set}" = set; then |
1703 |
if test "${with_ghc+set}" = set; then |
1016 |
withval="$with_ghc" |
1704 |
withval="$with_ghc" |
1017 |
WithGhc="$withval" |
1705 |
WithGhc="$withval" |
1018 |
else |
1706 |
else |
1019 |
|
1707 |
|
1020 |
if test "$GHC" = ""; then |
1708 |
if test "$GHC" = ""; then |
1021 |
# Extract the first word of "ghc", so it can be a program name with args. |
1709 |
# Extract the first word of "ghc", so it can be a program name with args. |
1022 |
set dummy ghc; ac_word=$2 |
1710 |
set dummy ghc; ac_word=$2 |
1023 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1711 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1024 |
echo "configure:1025: checking for $ac_word" >&5 |
1712 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1025 |
if eval "test \"`echo '$''{'ac_cv_path_GHC'+set}'`\" = set"; then |
1713 |
if test "${ac_cv_path_GHC+set}" = set; then |
1026 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1714 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1027 |
else |
1715 |
else |
1028 |
case "$GHC" in |
1716 |
case $GHC in |
1029 |
/*) |
1717 |
[\\/]* | ?:[\\/]*) |
1030 |
ac_cv_path_GHC="$GHC" # Let the user override the test with a path. |
1718 |
ac_cv_path_GHC="$GHC" # Let the user override the test with a path. |
1031 |
;; |
1719 |
;; |
1032 |
?:/*) |
|
|
1033 |
ac_cv_path_GHC="$GHC" # Let the user override the test with a dos path. |
1034 |
;; |
1035 |
*) |
1720 |
*) |
1036 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1721 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1037 |
ac_dummy="$PATH" |
1722 |
for as_dir in $PATH |
1038 |
for ac_dir in $ac_dummy; do |
1723 |
do |
1039 |
test -z "$ac_dir" && ac_dir=. |
1724 |
IFS=$as_save_IFS |
1040 |
if test -f $ac_dir/$ac_word; then |
1725 |
test -z "$as_dir" && as_dir=. |
1041 |
ac_cv_path_GHC="$ac_dir/$ac_word" |
1726 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1042 |
break |
1727 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1043 |
fi |
1728 |
ac_cv_path_GHC="$as_dir/$ac_word$ac_exec_ext" |
1044 |
done |
1729 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1045 |
IFS="$ac_save_ifs" |
1730 |
break 2 |
|
|
1731 |
fi |
1732 |
done |
1733 |
done |
1734 |
|
1046 |
;; |
1735 |
;; |
1047 |
esac |
1736 |
esac |
1048 |
fi |
1737 |
fi |
1049 |
GHC="$ac_cv_path_GHC" |
1738 |
GHC=$ac_cv_path_GHC |
|
|
1739 |
|
1050 |
if test -n "$GHC"; then |
1740 |
if test -n "$GHC"; then |
1051 |
echo "$ac_t""$GHC" 1>&6 |
1741 |
echo "$as_me:$LINENO: result: $GHC" >&5 |
|
|
1742 |
echo "${ECHO_T}$GHC" >&6 |
1052 |
else |
1743 |
else |
1053 |
echo "$ac_t""no" 1>&6 |
1744 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
1745 |
echo "${ECHO_T}no" >&6 |
1054 |
fi |
1746 |
fi |
1055 |
|
1747 |
|
1056 |
fi |
1748 |
fi |
1057 |
WithGhc=$GHC |
1749 |
WithGhc=$GHC |
1058 |
|
1750 |
|
1059 |
|
1751 |
|
1060 |
fi |
1752 |
fi; |
1061 |
|
1753 |
|
1062 |
|
1754 |
|
1063 |
|
1755 |
|
Lines 1068-1080
Link Here
|
1068 |
else |
1760 |
else |
1069 |
WithHc=$WithGhc |
1761 |
WithHc=$WithGhc |
1070 |
|
1762 |
|
1071 |
fi |
1763 |
fi; |
1072 |
|
|
|
1073 |
|
1764 |
|
1074 |
|
1765 |
|
1075 |
if test "$WithGhc" != ""; then |
1766 |
if test "$WithGhc" != ""; then |
1076 |
echo $ac_n "checking version of ghc""... $ac_c" 1>&6 |
1767 |
echo "$as_me:$LINENO: checking version of ghc" >&5 |
1077 |
echo "configure:1078: checking version of ghc" >&5 |
1768 |
echo $ECHO_N "checking version of ghc... $ECHO_C" >&6 |
1078 |
"${WithGhc-ghc}" --version > conftestghc 2>&1 |
1769 |
"${WithGhc-ghc}" --version > conftestghc 2>&1 |
1079 |
cat conftestghc >&5 |
1770 |
cat conftestghc >&5 |
1080 |
#Useless Use Of cat award... |
1771 |
#Useless Use Of cat award... |
Lines 1102-1187
Link Here
|
1102 |
GhcPatchLevel="$fptools_version_of_ghc_pl" |
1793 |
GhcPatchLevel="$fptools_version_of_ghc_pl" |
1103 |
|
1794 |
|
1104 |
|
1795 |
|
1105 |
echo "$ac_t""$fptools_version_of_ghc" 1>&6 |
1796 |
echo "$as_me:$LINENO: result: $fptools_version_of_ghc" >&5 |
|
|
1797 |
echo "${ECHO_T}$fptools_version_of_ghc" >&6 |
1106 |
|
1798 |
|
1107 |
fi |
1799 |
fi |
1108 |
|
1800 |
|
1109 |
for ac_prog in nhc nhc98 |
1801 |
for ac_prog in nhc nhc98 |
1110 |
do |
1802 |
do |
1111 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1803 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1112 |
set dummy $ac_prog; ac_word=$2 |
1804 |
set dummy $ac_prog; ac_word=$2 |
1113 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1805 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1114 |
echo "configure:1115: checking for $ac_word" >&5 |
1806 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1115 |
if eval "test \"`echo '$''{'ac_cv_path_NHC'+set}'`\" = set"; then |
1807 |
if test "${ac_cv_path_NHC+set}" = set; then |
1116 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1808 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1117 |
else |
1809 |
else |
1118 |
case "$NHC" in |
1810 |
case $NHC in |
1119 |
/*) |
1811 |
[\\/]* | ?:[\\/]*) |
1120 |
ac_cv_path_NHC="$NHC" # Let the user override the test with a path. |
1812 |
ac_cv_path_NHC="$NHC" # Let the user override the test with a path. |
1121 |
;; |
1813 |
;; |
1122 |
?:/*) |
|
|
1123 |
ac_cv_path_NHC="$NHC" # Let the user override the test with a dos path. |
1124 |
;; |
1125 |
*) |
1814 |
*) |
1126 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1815 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1127 |
ac_dummy="$PATH" |
1816 |
for as_dir in $PATH |
1128 |
for ac_dir in $ac_dummy; do |
1817 |
do |
1129 |
test -z "$ac_dir" && ac_dir=. |
1818 |
IFS=$as_save_IFS |
1130 |
if test -f $ac_dir/$ac_word; then |
1819 |
test -z "$as_dir" && as_dir=. |
1131 |
ac_cv_path_NHC="$ac_dir/$ac_word" |
1820 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1132 |
break |
1821 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1133 |
fi |
1822 |
ac_cv_path_NHC="$as_dir/$ac_word$ac_exec_ext" |
1134 |
done |
1823 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1135 |
IFS="$ac_save_ifs" |
1824 |
break 2 |
|
|
1825 |
fi |
1826 |
done |
1827 |
done |
1828 |
|
1136 |
;; |
1829 |
;; |
1137 |
esac |
1830 |
esac |
1138 |
fi |
1831 |
fi |
1139 |
NHC="$ac_cv_path_NHC" |
1832 |
NHC=$ac_cv_path_NHC |
|
|
1833 |
|
1140 |
if test -n "$NHC"; then |
1834 |
if test -n "$NHC"; then |
1141 |
echo "$ac_t""$NHC" 1>&6 |
1835 |
echo "$as_me:$LINENO: result: $NHC" >&5 |
|
|
1836 |
echo "${ECHO_T}$NHC" >&6 |
1142 |
else |
1837 |
else |
1143 |
echo "$ac_t""no" 1>&6 |
1838 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
1839 |
echo "${ECHO_T}no" >&6 |
1144 |
fi |
1840 |
fi |
1145 |
|
1841 |
|
1146 |
test -n "$NHC" && break |
1842 |
test -n "$NHC" && break |
1147 |
done |
1843 |
done |
1148 |
|
1844 |
|
1149 |
# Extract the first word of "hbc", so it can be a program name with args. |
1845 |
# Extract the first word of "hbc", so it can be a program name with args. |
1150 |
set dummy hbc; ac_word=$2 |
1846 |
set dummy hbc; ac_word=$2 |
1151 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1847 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1152 |
echo "configure:1153: checking for $ac_word" >&5 |
1848 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1153 |
if eval "test \"`echo '$''{'ac_cv_path_HBC'+set}'`\" = set"; then |
1849 |
if test "${ac_cv_path_HBC+set}" = set; then |
1154 |
echo $ac_n "(cached) $ac_c" 1>&6 |
1850 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1155 |
else |
1851 |
else |
1156 |
case "$HBC" in |
1852 |
case $HBC in |
1157 |
/*) |
1853 |
[\\/]* | ?:[\\/]*) |
1158 |
ac_cv_path_HBC="$HBC" # Let the user override the test with a path. |
1854 |
ac_cv_path_HBC="$HBC" # Let the user override the test with a path. |
1159 |
;; |
1855 |
;; |
1160 |
?:/*) |
|
|
1161 |
ac_cv_path_HBC="$HBC" # Let the user override the test with a dos path. |
1162 |
;; |
1163 |
*) |
1856 |
*) |
1164 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
1857 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1165 |
ac_dummy="$PATH" |
1858 |
for as_dir in $PATH |
1166 |
for ac_dir in $ac_dummy; do |
1859 |
do |
1167 |
test -z "$ac_dir" && ac_dir=. |
1860 |
IFS=$as_save_IFS |
1168 |
if test -f $ac_dir/$ac_word; then |
1861 |
test -z "$as_dir" && as_dir=. |
1169 |
ac_cv_path_HBC="$ac_dir/$ac_word" |
1862 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1170 |
break |
1863 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1171 |
fi |
1864 |
ac_cv_path_HBC="$as_dir/$ac_word$ac_exec_ext" |
1172 |
done |
1865 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1173 |
IFS="$ac_save_ifs" |
1866 |
break 2 |
|
|
1867 |
fi |
1868 |
done |
1869 |
done |
1870 |
|
1174 |
;; |
1871 |
;; |
1175 |
esac |
1872 |
esac |
1176 |
fi |
1873 |
fi |
1177 |
HBC="$ac_cv_path_HBC" |
1874 |
HBC=$ac_cv_path_HBC |
|
|
1875 |
|
1178 |
if test -n "$HBC"; then |
1876 |
if test -n "$HBC"; then |
1179 |
echo "$ac_t""$HBC" 1>&6 |
1877 |
echo "$as_me:$LINENO: result: $HBC" >&5 |
|
|
1878 |
echo "${ECHO_T}$HBC" >&6 |
1180 |
else |
1879 |
else |
1181 |
echo "$ac_t""no" 1>&6 |
1880 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
1881 |
echo "${ECHO_T}no" >&6 |
1182 |
fi |
1882 |
fi |
1183 |
|
1883 |
|
1184 |
|
1884 |
|
|
|
1885 |
|
1185 |
# Check whether --with-gcc or --without-gcc was given. |
1886 |
# Check whether --with-gcc or --without-gcc was given. |
1186 |
if test "${with_gcc+set}" = set; then |
1887 |
if test "${with_gcc+set}" = set; then |
1187 |
withval="$with_gcc" |
1888 |
withval="$with_gcc" |
Lines 1190-1197
Link Here
|
1190 |
else |
1891 |
else |
1191 |
WhatGccIsCalled="gcc" |
1892 |
WhatGccIsCalled="gcc" |
1192 |
|
1893 |
|
1193 |
fi |
1894 |
fi; |
1194 |
|
|
|
1195 |
|
1895 |
|
1196 |
|
1896 |
|
1197 |
# Check whether --enable-hc-boot or --disable-hc-boot was given. |
1897 |
# Check whether --enable-hc-boot or --disable-hc-boot was given. |
Lines 1201-1208
Link Here
|
1201 |
else |
1901 |
else |
1202 |
BootingFromHc=NO |
1902 |
BootingFromHc=NO |
1203 |
|
1903 |
|
1204 |
fi |
1904 |
fi; |
1205 |
|
|
|
1206 |
|
1905 |
|
1207 |
|
1906 |
|
1208 |
# Check whether --enable-hc-boot-unregisterised or --disable-hc-boot-unregisterised was given. |
1907 |
# Check whether --enable-hc-boot-unregisterised or --disable-hc-boot-unregisterised was given. |
Lines 1212-1224
Link Here
|
1212 |
else |
1911 |
else |
1213 |
BootingFromUnregisterisedHc=NO |
1912 |
BootingFromUnregisterisedHc=NO |
1214 |
|
1913 |
|
1215 |
fi |
1914 |
fi; |
1216 |
|
|
|
1217 |
|
1915 |
|
1218 |
|
1916 |
|
1219 |
if test "$BootingFromHc" = "NO"; then |
1917 |
if test "$BootingFromHc" = "NO"; then |
1220 |
if test "$BootingFromUnregisterisedHc" = "YES"; then |
1918 |
if test "$BootingFromUnregisterisedHc" = "YES"; then |
1221 |
{ echo "configure: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." 1>&2; exit 1; } |
1919 |
{ { echo "$as_me:$LINENO: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." >&5 |
|
|
1920 |
echo "$as_me: error: --enable-hc-boot-unregisterised requires --enable-hc-boot." >&2;} |
1921 |
{ (exit 1); exit 1; }; } |
1222 |
fi; |
1922 |
fi; |
1223 |
fi; |
1923 |
fi; |
1224 |
|
1924 |
|
Lines 1230-1243
Link Here
|
1230 |
else |
1930 |
else |
1231 |
ThreadedRts=NO |
1931 |
ThreadedRts=NO |
1232 |
|
1932 |
|
1233 |
fi |
1933 |
fi; |
1234 |
|
|
|
1235 |
|
1934 |
|
1236 |
|
1935 |
|
1237 |
# Check whether --enable-win32-dlls or --disable-win32-dlls was given. |
1936 |
# Check whether --enable-win32-dlls or --disable-win32-dlls was given. |
1238 |
if test "${enable_win32_dlls+set}" = set; then |
1937 |
if test "${enable_win32_dlls+set}" = set; then |
1239 |
enableval="$enable_win32_dlls" |
1938 |
enableval="$enable_win32_dlls" |
1240 |
|
1939 |
|
1241 |
case $HostOS_CPP in |
1940 |
case $HostOS_CPP in |
1242 |
cygwin32) ;; |
1941 |
cygwin32) ;; |
1243 |
mingw32) ;; |
1942 |
mingw32) ;; |
Lines 1250-1262
Link Here
|
1250 |
else |
1949 |
else |
1251 |
EnableWin32DLLs=NO |
1950 |
EnableWin32DLLs=NO |
1252 |
|
1951 |
|
1253 |
fi |
1952 |
fi; |
1254 |
|
|
|
1255 |
|
1953 |
|
1256 |
if test x"$EnableWin32DLLs" = "xYES" ; then |
1954 |
if test x"$EnableWin32DLLs" = "xYES" ; then |
1257 |
cat >> confdefs.h <<\EOF |
1955 |
cat >>confdefs.h <<\_ACEOF |
1258 |
#define HAVE_WIN32_DLL_SUPPORT 1 |
1956 |
#define HAVE_WIN32_DLL_SUPPORT 1 |
1259 |
EOF |
1957 |
_ACEOF |
1260 |
|
1958 |
|
1261 |
fi |
1959 |
fi |
1262 |
|
1960 |
|
Lines 1267-1309
Link Here
|
1267 |
else |
1965 |
else |
1268 |
GhcLibsWithHOpenGL=NO |
1966 |
GhcLibsWithHOpenGL=NO |
1269 |
|
1967 |
|
1270 |
fi |
1968 |
fi; |
1271 |
|
1969 |
|
1272 |
|
1970 |
|
1273 |
|
1971 |
|
1274 |
# Check whether --with-glut-api or --without-glut-api was given. |
1972 |
# Check whether --with-glut-api or --without-glut-api was given. |
1275 |
if test "${with_glut_api+set}" = set; then |
1973 |
if test "${with_glut_api+set}" = set; then |
1276 |
withval="$with_glut_api" |
1974 |
withval="$with_glut_api" |
1277 |
: |
|
|
1278 |
fi |
1279 |
|
1975 |
|
|
|
1976 |
fi; |
1280 |
test -n "$with_glut_api" && CPPFLAGS="$CPPFLAGS -DGLUT_API_VERSION=$with_glut_api" |
1977 |
test -n "$with_glut_api" && CPPFLAGS="$CPPFLAGS -DGLUT_API_VERSION=$with_glut_api" |
1281 |
|
1978 |
|
1282 |
|
1979 |
|
|
|
1980 |
|
1283 |
# Check whether --with-glut-xlib or --without-glut-xlib was given. |
1981 |
# Check whether --with-glut-xlib or --without-glut-xlib was given. |
1284 |
if test "${with_glut_xlib+set}" = set; then |
1982 |
if test "${with_glut_xlib+set}" = set; then |
1285 |
withval="$with_glut_xlib" |
1983 |
withval="$with_glut_xlib" |
1286 |
: |
|
|
1287 |
fi |
1288 |
|
1984 |
|
|
|
1985 |
fi; |
1289 |
test -n "$with_glut_xlib" && CPPFLAGS="$CPPFLAGS -DGLUT_XLIB_IMPLEMENTATION=$with_glut_xlib" |
1986 |
test -n "$with_glut_xlib" && CPPFLAGS="$CPPFLAGS -DGLUT_XLIB_IMPLEMENTATION=$with_glut_xlib" |
1290 |
|
1987 |
|
1291 |
|
1988 |
|
1292 |
|
1989 |
|
|
|
1990 |
# Check whether --with-happy or --without-happy was given. |
1991 |
if test "${with_happy+set}" = set; then |
1992 |
withval="$with_happy" |
1993 |
|
1994 |
fi; |
1995 |
|
1293 |
|
1996 |
|
1294 |
|
1997 |
|
1295 |
|
1998 |
|
1296 |
|
1999 |
|
1297 |
# Pull the hash mark out of the macro call to avoid m4 problems. |
2000 |
|
1298 |
ac_msg="whether #! works in shell scripts" |
2001 |
echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5 |
1299 |
echo $ac_n "checking $ac_msg""... $ac_c" 1>&6 |
2002 |
echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6 |
1300 |
echo "configure:1301: checking $ac_msg" >&5 |
2003 |
if test "${ac_cv_sys_interpreter+set}" = set; then |
1301 |
if eval "test \"`echo '$''{'ac_cv_sys_interpreter'+set}'`\" = set"; then |
2004 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1302 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
1303 |
else |
2005 |
else |
1304 |
echo '#! /bin/cat |
2006 |
echo '#! /bin/cat |
1305 |
exit 69 |
2007 |
exit 69 |
1306 |
' > conftest |
2008 |
' >conftest |
1307 |
chmod u+x conftest |
2009 |
chmod u+x conftest |
1308 |
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) |
2010 |
(SHELL=/bin/sh; export SHELL; ./conftest >/dev/null) |
1309 |
if test $? -ne 69; then |
2011 |
if test $? -ne 69; then |
Lines 1313-1352
Link Here
|
1313 |
fi |
2015 |
fi |
1314 |
rm -f conftest |
2016 |
rm -f conftest |
1315 |
fi |
2017 |
fi |
1316 |
|
2018 |
echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5 |
1317 |
echo "$ac_t""$ac_cv_sys_interpreter" 1>&6 |
2019 |
echo "${ECHO_T}$ac_cv_sys_interpreter" >&6 |
1318 |
interpval="$ac_cv_sys_interpreter" |
2020 |
interpval=$ac_cv_sys_interpreter |
1319 |
|
2021 |
|
1320 |
|
2022 |
|
1321 |
case $HostOS_CPP in |
2023 |
case $HostOS_CPP in |
1322 |
cygwin32|mingw32) |
2024 |
cygwin32|mingw32) |
1323 |
# Extract the first word of "perl", so it can be a program name with args. |
2025 |
# Extract the first word of "perl", so it can be a program name with args. |
1324 |
set dummy perl; ac_word=$2 |
2026 |
set dummy perl; ac_word=$2 |
1325 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2027 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1326 |
echo "configure:1327: checking for $ac_word" >&5 |
2028 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1327 |
if eval "test \"`echo '$''{'ac_cv_prog_PerlCmd'+set}'`\" = set"; then |
2029 |
if test "${ac_cv_prog_PerlCmd+set}" = set; then |
1328 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2030 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1329 |
else |
2031 |
else |
1330 |
if test -n "$PerlCmd"; then |
2032 |
if test -n "$PerlCmd"; then |
1331 |
ac_cv_prog_PerlCmd="$PerlCmd" # Let the user override the test. |
2033 |
ac_cv_prog_PerlCmd="$PerlCmd" # Let the user override the test. |
1332 |
else |
2034 |
else |
1333 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2035 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1334 |
ac_dummy="/bin" |
2036 |
for as_dir in /bin |
1335 |
for ac_dir in $ac_dummy; do |
2037 |
do |
1336 |
test -z "$ac_dir" && ac_dir=. |
2038 |
IFS=$as_save_IFS |
1337 |
if test -f $ac_dir/$ac_word; then |
2039 |
test -z "$as_dir" && as_dir=. |
1338 |
ac_cv_prog_PerlCmd="/bin/perl" |
2040 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1339 |
break |
2041 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1340 |
fi |
2042 |
ac_cv_prog_PerlCmd="/bin/perl" |
1341 |
done |
2043 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1342 |
IFS="$ac_save_ifs" |
2044 |
break 2 |
|
|
2045 |
fi |
2046 |
done |
2047 |
done |
2048 |
|
1343 |
fi |
2049 |
fi |
1344 |
fi |
2050 |
fi |
1345 |
PerlCmd="$ac_cv_prog_PerlCmd" |
2051 |
PerlCmd=$ac_cv_prog_PerlCmd |
1346 |
if test -n "$PerlCmd"; then |
2052 |
if test -n "$PerlCmd"; then |
1347 |
echo "$ac_t""$PerlCmd" 1>&6 |
2053 |
echo "$as_me:$LINENO: result: $PerlCmd" >&5 |
|
|
2054 |
echo "${ECHO_T}$PerlCmd" >&6 |
1348 |
else |
2055 |
else |
1349 |
echo "$ac_t""no" 1>&6 |
2056 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
2057 |
echo "${ECHO_T}no" >&6 |
1350 |
fi |
2058 |
fi |
1351 |
|
2059 |
|
1352 |
if test -z "$PerlCmd"; then |
2060 |
if test -z "$PerlCmd"; then |
Lines 1358-1394
Link Here
|
1358 |
*) |
2066 |
*) |
1359 |
# Extract the first word of "perl", so it can be a program name with args. |
2067 |
# Extract the first word of "perl", so it can be a program name with args. |
1360 |
set dummy perl; ac_word=$2 |
2068 |
set dummy perl; ac_word=$2 |
1361 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2069 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1362 |
echo "configure:1363: checking for $ac_word" >&5 |
2070 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1363 |
if eval "test \"`echo '$''{'ac_cv_path_PerlCmd'+set}'`\" = set"; then |
2071 |
if test "${ac_cv_path_PerlCmd+set}" = set; then |
1364 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2072 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1365 |
else |
2073 |
else |
1366 |
case "$PerlCmd" in |
2074 |
case $PerlCmd in |
1367 |
/*) |
2075 |
[\\/]* | ?:[\\/]*) |
1368 |
ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a path. |
2076 |
ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a path. |
1369 |
;; |
2077 |
;; |
1370 |
?:/*) |
|
|
1371 |
ac_cv_path_PerlCmd="$PerlCmd" # Let the user override the test with a dos path. |
1372 |
;; |
1373 |
*) |
2078 |
*) |
1374 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2079 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1375 |
ac_dummy="$PATH" |
2080 |
for as_dir in $PATH |
1376 |
for ac_dir in $ac_dummy; do |
2081 |
do |
1377 |
test -z "$ac_dir" && ac_dir=. |
2082 |
IFS=$as_save_IFS |
1378 |
if test -f $ac_dir/$ac_word; then |
2083 |
test -z "$as_dir" && as_dir=. |
1379 |
ac_cv_path_PerlCmd="$ac_dir/$ac_word" |
2084 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1380 |
break |
2085 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1381 |
fi |
2086 |
ac_cv_path_PerlCmd="$as_dir/$ac_word$ac_exec_ext" |
1382 |
done |
2087 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1383 |
IFS="$ac_save_ifs" |
2088 |
break 2 |
|
|
2089 |
fi |
2090 |
done |
2091 |
done |
2092 |
|
1384 |
;; |
2093 |
;; |
1385 |
esac |
2094 |
esac |
1386 |
fi |
2095 |
fi |
1387 |
PerlCmd="$ac_cv_path_PerlCmd" |
2096 |
PerlCmd=$ac_cv_path_PerlCmd |
|
|
2097 |
|
1388 |
if test -n "$PerlCmd"; then |
2098 |
if test -n "$PerlCmd"; then |
1389 |
echo "$ac_t""$PerlCmd" 1>&6 |
2099 |
echo "$as_me:$LINENO: result: $PerlCmd" >&5 |
|
|
2100 |
echo "${ECHO_T}$PerlCmd" >&6 |
1390 |
else |
2101 |
else |
1391 |
echo "$ac_t""no" 1>&6 |
2102 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
2103 |
echo "${ECHO_T}no" >&6 |
1392 |
fi |
2104 |
fi |
1393 |
|
2105 |
|
1394 |
if test -z "$PerlCmd"; then |
2106 |
if test -z "$PerlCmd"; then |
Lines 1416-1425
Link Here
|
1416 |
;; |
2128 |
;; |
1417 |
esac |
2129 |
esac |
1418 |
|
2130 |
|
1419 |
echo $ac_n "checking if your perl works in shell scripts""... $ac_c" 1>&6 |
2131 |
echo "$as_me:$LINENO: checking if your perl works in shell scripts" >&5 |
1420 |
echo "configure:1421: checking if your perl works in shell scripts" >&5 |
2132 |
echo $ECHO_N "checking if your perl works in shell scripts... $ECHO_C" >&6 |
1421 |
if eval "test \"`echo '$''{'fptools_cv_shebang_perl'+set}'`\" = set"; then |
2133 |
if test "${fptools_cv_shebang_perl+set}" = set; then |
1422 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2134 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1423 |
else |
2135 |
else |
1424 |
echo "#!$PerlCmd"' |
2136 |
echo "#!$PerlCmd"' |
1425 |
exit ; |
2137 |
exit ; |
Lines 1434-1650
Link Here
|
1434 |
rm -f conftest |
2146 |
rm -f conftest |
1435 |
|
2147 |
|
1436 |
fi |
2148 |
fi |
|
|
2149 |
echo "$as_me:$LINENO: result: $fptools_cv_shebang_perl" >&5 |
2150 |
echo "${ECHO_T}$fptools_cv_shebang_perl" >&6 |
1437 |
|
2151 |
|
1438 |
echo "$ac_t""$fptools_cv_shebang_perl" 1>&6 |
2152 |
ac_ext=c |
1439 |
|
2153 |
ac_cpp='$CPP $CPPFLAGS' |
1440 |
# Extract the first word of "gcc", so it can be a program name with args. |
2154 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1441 |
set dummy gcc; ac_word=$2 |
2155 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1442 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2156 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1443 |
echo "configure:1444: checking for $ac_word" >&5 |
2157 |
if test -n "$ac_tool_prefix"; then |
1444 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
2158 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
1445 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2159 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
|
2160 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2161 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2162 |
if test "${ac_cv_prog_CC+set}" = set; then |
2163 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1446 |
else |
2164 |
else |
1447 |
if test -n "$CC"; then |
2165 |
if test -n "$CC"; then |
1448 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2166 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1449 |
else |
2167 |
else |
1450 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2168 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1451 |
ac_dummy="$PATH" |
2169 |
for as_dir in $PATH |
1452 |
for ac_dir in $ac_dummy; do |
2170 |
do |
1453 |
test -z "$ac_dir" && ac_dir=. |
2171 |
IFS=$as_save_IFS |
1454 |
if test -f $ac_dir/$ac_word; then |
2172 |
test -z "$as_dir" && as_dir=. |
1455 |
ac_cv_prog_CC="gcc" |
2173 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1456 |
break |
2174 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1457 |
fi |
2175 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
1458 |
done |
2176 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1459 |
IFS="$ac_save_ifs" |
2177 |
break 2 |
|
|
2178 |
fi |
2179 |
done |
2180 |
done |
2181 |
|
1460 |
fi |
2182 |
fi |
1461 |
fi |
2183 |
fi |
1462 |
CC="$ac_cv_prog_CC" |
2184 |
CC=$ac_cv_prog_CC |
1463 |
if test -n "$CC"; then |
2185 |
if test -n "$CC"; then |
1464 |
echo "$ac_t""$CC" 1>&6 |
2186 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2187 |
echo "${ECHO_T}$CC" >&6 |
1465 |
else |
2188 |
else |
1466 |
echo "$ac_t""no" 1>&6 |
2189 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
2190 |
echo "${ECHO_T}no" >&6 |
1467 |
fi |
2191 |
fi |
1468 |
|
2192 |
|
1469 |
if test -z "$CC"; then |
2193 |
fi |
1470 |
# Extract the first word of "cc", so it can be a program name with args. |
2194 |
if test -z "$ac_cv_prog_CC"; then |
1471 |
set dummy cc; ac_word=$2 |
2195 |
ac_ct_CC=$CC |
1472 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2196 |
# Extract the first word of "gcc", so it can be a program name with args. |
1473 |
echo "configure:1474: checking for $ac_word" >&5 |
2197 |
set dummy gcc; ac_word=$2 |
1474 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
2198 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1475 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2199 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2200 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2201 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1476 |
else |
2202 |
else |
1477 |
if test -n "$CC"; then |
2203 |
if test -n "$ac_ct_CC"; then |
1478 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2204 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
1479 |
else |
2205 |
else |
1480 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2206 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1481 |
ac_prog_rejected=no |
2207 |
for as_dir in $PATH |
1482 |
ac_dummy="$PATH" |
2208 |
do |
1483 |
for ac_dir in $ac_dummy; do |
2209 |
IFS=$as_save_IFS |
1484 |
test -z "$ac_dir" && ac_dir=. |
2210 |
test -z "$as_dir" && as_dir=. |
1485 |
if test -f $ac_dir/$ac_word; then |
2211 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1486 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
2212 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1487 |
ac_prog_rejected=yes |
2213 |
ac_cv_prog_ac_ct_CC="gcc" |
1488 |
continue |
2214 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1489 |
fi |
2215 |
break 2 |
1490 |
ac_cv_prog_CC="cc" |
2216 |
fi |
1491 |
break |
2217 |
done |
1492 |
fi |
2218 |
done |
1493 |
done |
2219 |
|
1494 |
IFS="$ac_save_ifs" |
2220 |
fi |
|
|
2221 |
fi |
2222 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2223 |
if test -n "$ac_ct_CC"; then |
2224 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2225 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2226 |
else |
2227 |
echo "$as_me:$LINENO: result: no" >&5 |
2228 |
echo "${ECHO_T}no" >&6 |
2229 |
fi |
2230 |
|
2231 |
CC=$ac_ct_CC |
2232 |
else |
2233 |
CC="$ac_cv_prog_CC" |
2234 |
fi |
2235 |
|
2236 |
if test -z "$CC"; then |
2237 |
if test -n "$ac_tool_prefix"; then |
2238 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
2239 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
2240 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2241 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2242 |
if test "${ac_cv_prog_CC+set}" = set; then |
2243 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2244 |
else |
2245 |
if test -n "$CC"; then |
2246 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2247 |
else |
2248 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2249 |
for as_dir in $PATH |
2250 |
do |
2251 |
IFS=$as_save_IFS |
2252 |
test -z "$as_dir" && as_dir=. |
2253 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2254 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2255 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
2256 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2257 |
break 2 |
2258 |
fi |
2259 |
done |
2260 |
done |
2261 |
|
2262 |
fi |
2263 |
fi |
2264 |
CC=$ac_cv_prog_CC |
2265 |
if test -n "$CC"; then |
2266 |
echo "$as_me:$LINENO: result: $CC" >&5 |
2267 |
echo "${ECHO_T}$CC" >&6 |
2268 |
else |
2269 |
echo "$as_me:$LINENO: result: no" >&5 |
2270 |
echo "${ECHO_T}no" >&6 |
2271 |
fi |
2272 |
|
2273 |
fi |
2274 |
if test -z "$ac_cv_prog_CC"; then |
2275 |
ac_ct_CC=$CC |
2276 |
# Extract the first word of "cc", so it can be a program name with args. |
2277 |
set dummy cc; ac_word=$2 |
2278 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2279 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2280 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2281 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2282 |
else |
2283 |
if test -n "$ac_ct_CC"; then |
2284 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2285 |
else |
2286 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2287 |
for as_dir in $PATH |
2288 |
do |
2289 |
IFS=$as_save_IFS |
2290 |
test -z "$as_dir" && as_dir=. |
2291 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2292 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2293 |
ac_cv_prog_ac_ct_CC="cc" |
2294 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2295 |
break 2 |
2296 |
fi |
2297 |
done |
2298 |
done |
2299 |
|
2300 |
fi |
2301 |
fi |
2302 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2303 |
if test -n "$ac_ct_CC"; then |
2304 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2305 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2306 |
else |
2307 |
echo "$as_me:$LINENO: result: no" >&5 |
2308 |
echo "${ECHO_T}no" >&6 |
2309 |
fi |
2310 |
|
2311 |
CC=$ac_ct_CC |
2312 |
else |
2313 |
CC="$ac_cv_prog_CC" |
2314 |
fi |
2315 |
|
2316 |
fi |
2317 |
if test -z "$CC"; then |
2318 |
# Extract the first word of "cc", so it can be a program name with args. |
2319 |
set dummy cc; ac_word=$2 |
2320 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2321 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2322 |
if test "${ac_cv_prog_CC+set}" = set; then |
2323 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2324 |
else |
2325 |
if test -n "$CC"; then |
2326 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2327 |
else |
2328 |
ac_prog_rejected=no |
2329 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2330 |
for as_dir in $PATH |
2331 |
do |
2332 |
IFS=$as_save_IFS |
2333 |
test -z "$as_dir" && as_dir=. |
2334 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2335 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2336 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
2337 |
ac_prog_rejected=yes |
2338 |
continue |
2339 |
fi |
2340 |
ac_cv_prog_CC="cc" |
2341 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2342 |
break 2 |
2343 |
fi |
2344 |
done |
2345 |
done |
2346 |
|
1495 |
if test $ac_prog_rejected = yes; then |
2347 |
if test $ac_prog_rejected = yes; then |
1496 |
# We found a bogon in the path, so make sure we never use it. |
2348 |
# We found a bogon in the path, so make sure we never use it. |
1497 |
set dummy $ac_cv_prog_CC |
2349 |
set dummy $ac_cv_prog_CC |
1498 |
shift |
2350 |
shift |
1499 |
if test $# -gt 0; then |
2351 |
if test $# != 0; then |
1500 |
# We chose a different compiler from the bogus one. |
2352 |
# We chose a different compiler from the bogus one. |
1501 |
# However, it has the same basename, so the bogon will be chosen |
2353 |
# However, it has the same basename, so the bogon will be chosen |
1502 |
# first if we set CC to just the basename; use the full file name. |
2354 |
# first if we set CC to just the basename; use the full file name. |
1503 |
shift |
2355 |
shift |
1504 |
set dummy "$ac_dir/$ac_word" "$@" |
2356 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
1505 |
shift |
|
|
1506 |
ac_cv_prog_CC="$@" |
1507 |
fi |
2357 |
fi |
1508 |
fi |
2358 |
fi |
1509 |
fi |
2359 |
fi |
1510 |
fi |
2360 |
fi |
1511 |
CC="$ac_cv_prog_CC" |
2361 |
CC=$ac_cv_prog_CC |
1512 |
if test -n "$CC"; then |
2362 |
if test -n "$CC"; then |
1513 |
echo "$ac_t""$CC" 1>&6 |
2363 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2364 |
echo "${ECHO_T}$CC" >&6 |
1514 |
else |
2365 |
else |
1515 |
echo "$ac_t""no" 1>&6 |
2366 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
2367 |
echo "${ECHO_T}no" >&6 |
1516 |
fi |
2368 |
fi |
1517 |
|
2369 |
|
1518 |
if test -z "$CC"; then |
2370 |
fi |
1519 |
case "`uname -s`" in |
2371 |
if test -z "$CC"; then |
1520 |
*win32* | *WIN32*) |
2372 |
if test -n "$ac_tool_prefix"; then |
1521 |
# Extract the first word of "cl", so it can be a program name with args. |
2373 |
for ac_prog in cl |
1522 |
set dummy cl; ac_word=$2 |
2374 |
do |
1523 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2375 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
1524 |
echo "configure:1525: checking for $ac_word" >&5 |
2376 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
1525 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
2377 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1526 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2378 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
2379 |
if test "${ac_cv_prog_CC+set}" = set; then |
2380 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1527 |
else |
2381 |
else |
1528 |
if test -n "$CC"; then |
2382 |
if test -n "$CC"; then |
1529 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
2383 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
1530 |
else |
2384 |
else |
1531 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
2385 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1532 |
ac_dummy="$PATH" |
2386 |
for as_dir in $PATH |
1533 |
for ac_dir in $ac_dummy; do |
2387 |
do |
1534 |
test -z "$ac_dir" && ac_dir=. |
2388 |
IFS=$as_save_IFS |
1535 |
if test -f $ac_dir/$ac_word; then |
2389 |
test -z "$as_dir" && as_dir=. |
1536 |
ac_cv_prog_CC="cl" |
2390 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1537 |
break |
2391 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1538 |
fi |
2392 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
1539 |
done |
2393 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1540 |
IFS="$ac_save_ifs" |
2394 |
break 2 |
|
|
2395 |
fi |
2396 |
done |
2397 |
done |
2398 |
|
1541 |
fi |
2399 |
fi |
1542 |
fi |
2400 |
fi |
1543 |
CC="$ac_cv_prog_CC" |
2401 |
CC=$ac_cv_prog_CC |
1544 |
if test -n "$CC"; then |
2402 |
if test -n "$CC"; then |
1545 |
echo "$ac_t""$CC" 1>&6 |
2403 |
echo "$as_me:$LINENO: result: $CC" >&5 |
|
|
2404 |
echo "${ECHO_T}$CC" >&6 |
1546 |
else |
2405 |
else |
1547 |
echo "$ac_t""no" 1>&6 |
2406 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
2407 |
echo "${ECHO_T}no" >&6 |
1548 |
fi |
2408 |
fi |
1549 |
;; |
2409 |
|
1550 |
esac |
2410 |
test -n "$CC" && break |
|
|
2411 |
done |
2412 |
fi |
2413 |
if test -z "$CC"; then |
2414 |
ac_ct_CC=$CC |
2415 |
for ac_prog in cl |
2416 |
do |
2417 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2418 |
set dummy $ac_prog; ac_word=$2 |
2419 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2420 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2421 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then |
2422 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2423 |
else |
2424 |
if test -n "$ac_ct_CC"; then |
2425 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2426 |
else |
2427 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2428 |
for as_dir in $PATH |
2429 |
do |
2430 |
IFS=$as_save_IFS |
2431 |
test -z "$as_dir" && as_dir=. |
2432 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2433 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2434 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
2435 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2436 |
break 2 |
1551 |
fi |
2437 |
fi |
1552 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
2438 |
done |
|
|
2439 |
done |
2440 |
|
2441 |
fi |
2442 |
fi |
2443 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2444 |
if test -n "$ac_ct_CC"; then |
2445 |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 |
2446 |
echo "${ECHO_T}$ac_ct_CC" >&6 |
2447 |
else |
2448 |
echo "$as_me:$LINENO: result: no" >&5 |
2449 |
echo "${ECHO_T}no" >&6 |
1553 |
fi |
2450 |
fi |
1554 |
|
2451 |
|
1555 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
2452 |
test -n "$ac_ct_CC" && break |
1556 |
echo "configure:1557: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
2453 |
done |
1557 |
|
2454 |
|
1558 |
ac_ext=c |
2455 |
CC=$ac_ct_CC |
1559 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
2456 |
fi |
1560 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
1561 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
1562 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
1563 |
cross_compiling=$ac_cv_prog_cc_cross |
1564 |
|
2457 |
|
1565 |
cat > conftest.$ac_ext << EOF |
2458 |
fi |
1566 |
|
2459 |
|
1567 |
#line 1568 "configure" |
|
|
1568 |
#include "confdefs.h" |
1569 |
|
2460 |
|
1570 |
main(){return(0);} |
2461 |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 |
1571 |
EOF |
2462 |
echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} |
1572 |
if { (eval echo configure:1573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2463 |
{ (exit 1); exit 1; }; } |
1573 |
ac_cv_prog_cc_works=yes |
2464 |
|
1574 |
# If we can't run a trivial program, we are probably using a cross compiler. |
2465 |
# Provide some information about the compiler. |
1575 |
if (./conftest; exit) 2>/dev/null; then |
2466 |
echo "$as_me:$LINENO:" \ |
1576 |
ac_cv_prog_cc_cross=no |
2467 |
"checking for C compiler version" >&5 |
|
|
2468 |
ac_compiler=`set X $ac_compile; echo $2` |
2469 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2470 |
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2471 |
ac_status=$? |
2472 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2473 |
(exit $ac_status); } |
2474 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2475 |
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2476 |
ac_status=$? |
2477 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2478 |
(exit $ac_status); } |
2479 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2480 |
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2481 |
ac_status=$? |
2482 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2483 |
(exit $ac_status); } |
2484 |
|
2485 |
cat >conftest.$ac_ext <<_ACEOF |
2486 |
#line $LINENO "configure" |
2487 |
#include "confdefs.h" |
2488 |
|
2489 |
#ifdef F77_DUMMY_MAIN |
2490 |
# ifdef __cplusplus |
2491 |
extern "C" |
2492 |
# endif |
2493 |
int F77_DUMMY_MAIN() { return 1; } |
2494 |
#endif |
2495 |
int |
2496 |
main () |
2497 |
{ |
2498 |
|
2499 |
; |
2500 |
return 0; |
2501 |
} |
2502 |
_ACEOF |
2503 |
ac_clean_files_save=$ac_clean_files |
2504 |
ac_clean_files="$ac_clean_files a.out a.exe" |
2505 |
# Try to create an executable without -o first, disregard a.out. |
2506 |
# It will help us diagnose broken compilers, and finding out an intuition |
2507 |
# of exeext. |
2508 |
echo "$as_me:$LINENO: checking for C compiler default output" >&5 |
2509 |
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
2510 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
2511 |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 |
2512 |
(eval $ac_link_default) 2>&5 |
2513 |
ac_status=$? |
2514 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2515 |
(exit $ac_status); }; then |
2516 |
# Find the output, starting from the most likely. This scheme is |
2517 |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last |
2518 |
# resort. |
2519 |
|
2520 |
# Be careful to initialize this variable, since it used to be cached. |
2521 |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. |
2522 |
ac_cv_exeext= |
2523 |
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; |
2524 |
ls a.out conftest 2>/dev/null; |
2525 |
ls a.* conftest.* 2>/dev/null`; do |
2526 |
case $ac_file in |
2527 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2528 |
a.out ) # We found the default executable, but exeext='' is most |
2529 |
# certainly right. |
2530 |
break;; |
2531 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2532 |
# FIXME: I believe we export ac_cv_exeext for Libtool --akim. |
2533 |
export ac_cv_exeext |
2534 |
break;; |
2535 |
* ) break;; |
2536 |
esac |
2537 |
done |
2538 |
else |
2539 |
echo "$as_me: failed program was:" >&5 |
2540 |
cat conftest.$ac_ext >&5 |
2541 |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 |
2542 |
echo "$as_me: error: C compiler cannot create executables" >&2;} |
2543 |
{ (exit 77); exit 77; }; } |
2544 |
fi |
2545 |
|
2546 |
ac_exeext=$ac_cv_exeext |
2547 |
echo "$as_me:$LINENO: result: $ac_file" >&5 |
2548 |
echo "${ECHO_T}$ac_file" >&6 |
2549 |
|
2550 |
# Check the compiler produces executables we can run. If not, either |
2551 |
# the compiler is broken, or we cross compile. |
2552 |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5 |
2553 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
2554 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 |
2555 |
# If not cross compiling, check that we can run a simple program. |
2556 |
if test "$cross_compiling" != yes; then |
2557 |
if { ac_try='./$ac_file' |
2558 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2559 |
(eval $ac_try) 2>&5 |
2560 |
ac_status=$? |
2561 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2562 |
(exit $ac_status); }; }; then |
2563 |
cross_compiling=no |
1577 |
else |
2564 |
else |
1578 |
ac_cv_prog_cc_cross=yes |
2565 |
if test "$cross_compiling" = maybe; then |
|
|
2566 |
cross_compiling=yes |
2567 |
else |
2568 |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs. |
2569 |
If you meant to cross compile, use \`--host'." >&5 |
2570 |
echo "$as_me: error: cannot run C compiled programs. |
2571 |
If you meant to cross compile, use \`--host'." >&2;} |
2572 |
{ (exit 1); exit 1; }; } |
2573 |
fi |
1579 |
fi |
2574 |
fi |
1580 |
else |
|
|
1581 |
echo "configure: failed program was:" >&5 |
1582 |
cat conftest.$ac_ext >&5 |
1583 |
ac_cv_prog_cc_works=no |
1584 |
fi |
2575 |
fi |
1585 |
rm -fr conftest* |
2576 |
echo "$as_me:$LINENO: result: yes" >&5 |
1586 |
ac_ext=c |
2577 |
echo "${ECHO_T}yes" >&6 |
1587 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
2578 |
|
1588 |
ac_cpp='$CPP $CPPFLAGS' |
2579 |
rm -f a.out a.exe conftest$ac_cv_exeext |
1589 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
2580 |
ac_clean_files=$ac_clean_files_save |
1590 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
2581 |
# Check the compiler produces executables we can run. If not, either |
1591 |
cross_compiling=$ac_cv_prog_cc_cross |
2582 |
# the compiler is broken, or we cross compile. |
1592 |
|
2583 |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 |
1593 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
2584 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
1594 |
if test $ac_cv_prog_cc_works = no; then |
2585 |
echo "$as_me:$LINENO: result: $cross_compiling" >&5 |
1595 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
2586 |
echo "${ECHO_T}$cross_compiling" >&6 |
1596 |
fi |
2587 |
|
1597 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
2588 |
echo "$as_me:$LINENO: checking for suffix of executables" >&5 |
1598 |
echo "configure:1599: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
2589 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 |
1599 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
2590 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
1600 |
cross_compiling=$ac_cv_prog_cc_cross |
2591 |
(eval $ac_link) 2>&5 |
1601 |
|
2592 |
ac_status=$? |
1602 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
2593 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1603 |
echo "configure:1604: checking whether we are using GNU C" >&5 |
2594 |
(exit $ac_status); }; then |
1604 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
2595 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
1605 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2596 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
|
2597 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
2598 |
# `rm'. |
2599 |
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do |
2600 |
case $ac_file in |
2601 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; |
2602 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
2603 |
export ac_cv_exeext |
2604 |
break;; |
2605 |
* ) break;; |
2606 |
esac |
2607 |
done |
1606 |
else |
2608 |
else |
1607 |
cat > conftest.c <<EOF |
2609 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 |
1608 |
#ifdef __GNUC__ |
2610 |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} |
1609 |
yes; |
2611 |
{ (exit 1); exit 1; }; } |
|
|
2612 |
fi |
2613 |
|
2614 |
rm -f conftest$ac_cv_exeext |
2615 |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 |
2616 |
echo "${ECHO_T}$ac_cv_exeext" >&6 |
2617 |
|
2618 |
rm -f conftest.$ac_ext |
2619 |
EXEEXT=$ac_cv_exeext |
2620 |
ac_exeext=$EXEEXT |
2621 |
echo "$as_me:$LINENO: checking for suffix of object files" >&5 |
2622 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 |
2623 |
if test "${ac_cv_objext+set}" = set; then |
2624 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2625 |
else |
2626 |
cat >conftest.$ac_ext <<_ACEOF |
2627 |
#line $LINENO "configure" |
2628 |
#include "confdefs.h" |
2629 |
|
2630 |
#ifdef F77_DUMMY_MAIN |
2631 |
# ifdef __cplusplus |
2632 |
extern "C" |
2633 |
# endif |
2634 |
int F77_DUMMY_MAIN() { return 1; } |
1610 |
#endif |
2635 |
#endif |
1611 |
EOF |
2636 |
int |
1612 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
2637 |
main () |
1613 |
ac_cv_prog_gcc=yes |
2638 |
{ |
1614 |
else |
|
|
1615 |
ac_cv_prog_gcc=no |
1616 |
fi |
1617 |
fi |
1618 |
|
1619 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
1620 |
|
2639 |
|
1621 |
if test $ac_cv_prog_gcc = yes; then |
2640 |
; |
1622 |
GCC=yes |
2641 |
return 0; |
|
|
2642 |
} |
2643 |
_ACEOF |
2644 |
rm -f conftest.o conftest.obj |
2645 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2646 |
(eval $ac_compile) 2>&5 |
2647 |
ac_status=$? |
2648 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2649 |
(exit $ac_status); }; then |
2650 |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do |
2651 |
case $ac_file in |
2652 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; |
2653 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
2654 |
break;; |
2655 |
esac |
2656 |
done |
1623 |
else |
2657 |
else |
1624 |
GCC= |
2658 |
echo "$as_me: failed program was:" >&5 |
1625 |
fi |
2659 |
cat conftest.$ac_ext >&5 |
|
|
2660 |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 |
2661 |
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} |
2662 |
{ (exit 1); exit 1; }; } |
2663 |
fi |
2664 |
|
2665 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
2666 |
fi |
2667 |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 |
2668 |
echo "${ECHO_T}$ac_cv_objext" >&6 |
2669 |
OBJEXT=$ac_cv_objext |
2670 |
ac_objext=$OBJEXT |
2671 |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 |
2672 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
2673 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then |
2674 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2675 |
else |
2676 |
cat >conftest.$ac_ext <<_ACEOF |
2677 |
#line $LINENO "configure" |
2678 |
#include "confdefs.h" |
2679 |
|
2680 |
#ifdef F77_DUMMY_MAIN |
2681 |
# ifdef __cplusplus |
2682 |
extern "C" |
2683 |
# endif |
2684 |
int F77_DUMMY_MAIN() { return 1; } |
2685 |
#endif |
2686 |
int |
2687 |
main () |
2688 |
{ |
2689 |
#ifndef __GNUC__ |
2690 |
choke me |
2691 |
#endif |
1626 |
|
2692 |
|
1627 |
ac_test_CFLAGS="${CFLAGS+set}" |
2693 |
; |
1628 |
ac_save_CFLAGS="$CFLAGS" |
2694 |
return 0; |
1629 |
CFLAGS= |
2695 |
} |
1630 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
2696 |
_ACEOF |
1631 |
echo "configure:1632: checking whether ${CC-cc} accepts -g" >&5 |
2697 |
rm -f conftest.$ac_objext |
1632 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
2698 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
1633 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2699 |
(eval $ac_compile) 2>&5 |
1634 |
else |
2700 |
ac_status=$? |
1635 |
echo 'void f(){}' > conftest.c |
2701 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
1636 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
2702 |
(exit $ac_status); } && |
|
|
2703 |
{ ac_try='test -s conftest.$ac_objext' |
2704 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2705 |
(eval $ac_try) 2>&5 |
2706 |
ac_status=$? |
2707 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2708 |
(exit $ac_status); }; }; then |
2709 |
ac_compiler_gnu=yes |
2710 |
else |
2711 |
echo "$as_me: failed program was:" >&5 |
2712 |
cat conftest.$ac_ext >&5 |
2713 |
ac_compiler_gnu=no |
2714 |
fi |
2715 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2716 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
2717 |
|
2718 |
fi |
2719 |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 |
2720 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
2721 |
GCC=`test $ac_compiler_gnu = yes && echo yes` |
2722 |
ac_test_CFLAGS=${CFLAGS+set} |
2723 |
ac_save_CFLAGS=$CFLAGS |
2724 |
CFLAGS="-g" |
2725 |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 |
2726 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
2727 |
if test "${ac_cv_prog_cc_g+set}" = set; then |
2728 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2729 |
else |
2730 |
cat >conftest.$ac_ext <<_ACEOF |
2731 |
#line $LINENO "configure" |
2732 |
#include "confdefs.h" |
2733 |
|
2734 |
#ifdef F77_DUMMY_MAIN |
2735 |
# ifdef __cplusplus |
2736 |
extern "C" |
2737 |
# endif |
2738 |
int F77_DUMMY_MAIN() { return 1; } |
2739 |
#endif |
2740 |
int |
2741 |
main () |
2742 |
{ |
2743 |
|
2744 |
; |
2745 |
return 0; |
2746 |
} |
2747 |
_ACEOF |
2748 |
rm -f conftest.$ac_objext |
2749 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2750 |
(eval $ac_compile) 2>&5 |
2751 |
ac_status=$? |
2752 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2753 |
(exit $ac_status); } && |
2754 |
{ ac_try='test -s conftest.$ac_objext' |
2755 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2756 |
(eval $ac_try) 2>&5 |
2757 |
ac_status=$? |
2758 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2759 |
(exit $ac_status); }; }; then |
1637 |
ac_cv_prog_cc_g=yes |
2760 |
ac_cv_prog_cc_g=yes |
1638 |
else |
2761 |
else |
1639 |
ac_cv_prog_cc_g=no |
2762 |
echo "$as_me: failed program was:" >&5 |
|
|
2763 |
cat conftest.$ac_ext >&5 |
2764 |
ac_cv_prog_cc_g=no |
1640 |
fi |
2765 |
fi |
1641 |
rm -f conftest* |
2766 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1642 |
|
|
|
1643 |
fi |
2767 |
fi |
1644 |
|
2768 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 |
1645 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
2769 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
1646 |
if test "$ac_test_CFLAGS" = set; then |
2770 |
if test "$ac_test_CFLAGS" = set; then |
1647 |
CFLAGS="$ac_save_CFLAGS" |
2771 |
CFLAGS=$ac_save_CFLAGS |
1648 |
elif test $ac_cv_prog_cc_g = yes; then |
2772 |
elif test $ac_cv_prog_cc_g = yes; then |
1649 |
if test "$GCC" = yes; then |
2773 |
if test "$GCC" = yes; then |
1650 |
CFLAGS="-g -O2" |
2774 |
CFLAGS="-g -O2" |
Lines 1658-1668
Link Here
|
1658 |
CFLAGS= |
2782 |
CFLAGS= |
1659 |
fi |
2783 |
fi |
1660 |
fi |
2784 |
fi |
|
|
2785 |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 |
2786 |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2787 |
if test "${ac_cv_prog_cc_stdc+set}" = set; then |
2788 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2789 |
else |
2790 |
ac_cv_prog_cc_stdc=no |
2791 |
ac_save_CC=$CC |
2792 |
cat >conftest.$ac_ext <<_ACEOF |
2793 |
#line $LINENO "configure" |
2794 |
#include "confdefs.h" |
2795 |
#include <stdarg.h> |
2796 |
#include <stdio.h> |
2797 |
#include <sys/types.h> |
2798 |
#include <sys/stat.h> |
2799 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
2800 |
struct buf { int x; }; |
2801 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
2802 |
static char *e (p, i) |
2803 |
char **p; |
2804 |
int i; |
2805 |
{ |
2806 |
return p[i]; |
2807 |
} |
2808 |
static char *f (char * (*g) (char **, int), char **p, ...) |
2809 |
{ |
2810 |
char *s; |
2811 |
va_list v; |
2812 |
va_start (v,p); |
2813 |
s = g (p, va_arg (v,int)); |
2814 |
va_end (v); |
2815 |
return s; |
2816 |
} |
2817 |
int test (int i, double x); |
2818 |
struct s1 {int (*f) (int a);}; |
2819 |
struct s2 {int (*f) (double a);}; |
2820 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
2821 |
int argc; |
2822 |
char **argv; |
2823 |
#ifdef F77_DUMMY_MAIN |
2824 |
# ifdef __cplusplus |
2825 |
extern "C" |
2826 |
# endif |
2827 |
int F77_DUMMY_MAIN() { return 1; } |
2828 |
#endif |
2829 |
int |
2830 |
main () |
2831 |
{ |
2832 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
2833 |
; |
2834 |
return 0; |
2835 |
} |
2836 |
_ACEOF |
2837 |
# Don't try gcc -ansi; that turns off useful extensions and |
2838 |
# breaks some systems' header files. |
2839 |
# AIX -qlanglvl=ansi |
2840 |
# Ultrix and OSF/1 -std1 |
2841 |
# HP-UX 10.20 and later -Ae |
2842 |
# HP-UX older versions -Aa -D_HPUX_SOURCE |
2843 |
# SVR4 -Xc -D__EXTENSIONS__ |
2844 |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
2845 |
do |
2846 |
CC="$ac_save_CC $ac_arg" |
2847 |
rm -f conftest.$ac_objext |
2848 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2849 |
(eval $ac_compile) 2>&5 |
2850 |
ac_status=$? |
2851 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2852 |
(exit $ac_status); } && |
2853 |
{ ac_try='test -s conftest.$ac_objext' |
2854 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2855 |
(eval $ac_try) 2>&5 |
2856 |
ac_status=$? |
2857 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2858 |
(exit $ac_status); }; }; then |
2859 |
ac_cv_prog_cc_stdc=$ac_arg |
2860 |
break |
2861 |
else |
2862 |
echo "$as_me: failed program was:" >&5 |
2863 |
cat conftest.$ac_ext >&5 |
2864 |
fi |
2865 |
rm -f conftest.$ac_objext |
2866 |
done |
2867 |
rm -f conftest.$ac_ext conftest.$ac_objext |
2868 |
CC=$ac_save_CC |
2869 |
|
2870 |
fi |
2871 |
|
2872 |
case "x$ac_cv_prog_cc_stdc" in |
2873 |
x|xno) |
2874 |
echo "$as_me:$LINENO: result: none needed" >&5 |
2875 |
echo "${ECHO_T}none needed" >&6 ;; |
2876 |
*) |
2877 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 |
2878 |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2879 |
CC="$CC $ac_cv_prog_cc_stdc" ;; |
2880 |
esac |
2881 |
|
2882 |
# Some people use a C++ compiler to compile C. Since we use `exit', |
2883 |
# in C++ we need to declare it. In case someone uses the same compiler |
2884 |
# for both compiling C and C++ we need to have the C++ compiler decide |
2885 |
# the declaration of exit, since it's the most demanding environment. |
2886 |
cat >conftest.$ac_ext <<_ACEOF |
2887 |
#ifndef __cplusplus |
2888 |
choke me |
2889 |
#endif |
2890 |
_ACEOF |
2891 |
rm -f conftest.$ac_objext |
2892 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2893 |
(eval $ac_compile) 2>&5 |
2894 |
ac_status=$? |
2895 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2896 |
(exit $ac_status); } && |
2897 |
{ ac_try='test -s conftest.$ac_objext' |
2898 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2899 |
(eval $ac_try) 2>&5 |
2900 |
ac_status=$? |
2901 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2902 |
(exit $ac_status); }; }; then |
2903 |
for ac_declaration in \ |
2904 |
''\ |
2905 |
'#include <stdlib.h>' \ |
2906 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2907 |
'extern "C" void std::exit (int); using std::exit;' \ |
2908 |
'extern "C" void exit (int) throw ();' \ |
2909 |
'extern "C" void exit (int);' \ |
2910 |
'void exit (int);' |
2911 |
do |
2912 |
cat >conftest.$ac_ext <<_ACEOF |
2913 |
#line $LINENO "configure" |
2914 |
#include "confdefs.h" |
2915 |
#include <stdlib.h> |
2916 |
$ac_declaration |
2917 |
#ifdef F77_DUMMY_MAIN |
2918 |
# ifdef __cplusplus |
2919 |
extern "C" |
2920 |
# endif |
2921 |
int F77_DUMMY_MAIN() { return 1; } |
2922 |
#endif |
2923 |
int |
2924 |
main () |
2925 |
{ |
2926 |
exit (42); |
2927 |
; |
2928 |
return 0; |
2929 |
} |
2930 |
_ACEOF |
2931 |
rm -f conftest.$ac_objext |
2932 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2933 |
(eval $ac_compile) 2>&5 |
2934 |
ac_status=$? |
2935 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2936 |
(exit $ac_status); } && |
2937 |
{ ac_try='test -s conftest.$ac_objext' |
2938 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2939 |
(eval $ac_try) 2>&5 |
2940 |
ac_status=$? |
2941 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2942 |
(exit $ac_status); }; }; then |
2943 |
: |
2944 |
else |
2945 |
echo "$as_me: failed program was:" >&5 |
2946 |
cat conftest.$ac_ext >&5 |
2947 |
continue |
2948 |
fi |
2949 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2950 |
cat >conftest.$ac_ext <<_ACEOF |
2951 |
#line $LINENO "configure" |
2952 |
#include "confdefs.h" |
2953 |
$ac_declaration |
2954 |
#ifdef F77_DUMMY_MAIN |
2955 |
# ifdef __cplusplus |
2956 |
extern "C" |
2957 |
# endif |
2958 |
int F77_DUMMY_MAIN() { return 1; } |
2959 |
#endif |
2960 |
int |
2961 |
main () |
2962 |
{ |
2963 |
exit (42); |
2964 |
; |
2965 |
return 0; |
2966 |
} |
2967 |
_ACEOF |
2968 |
rm -f conftest.$ac_objext |
2969 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2970 |
(eval $ac_compile) 2>&5 |
2971 |
ac_status=$? |
2972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2973 |
(exit $ac_status); } && |
2974 |
{ ac_try='test -s conftest.$ac_objext' |
2975 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2976 |
(eval $ac_try) 2>&5 |
2977 |
ac_status=$? |
2978 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2979 |
(exit $ac_status); }; }; then |
2980 |
break |
2981 |
else |
2982 |
echo "$as_me: failed program was:" >&5 |
2983 |
cat conftest.$ac_ext >&5 |
2984 |
fi |
2985 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2986 |
done |
2987 |
rm -f conftest* |
2988 |
if test -n "$ac_declaration"; then |
2989 |
echo '#ifdef __cplusplus' >>confdefs.h |
2990 |
echo $ac_declaration >>confdefs.h |
2991 |
echo '#endif' >>confdefs.h |
2992 |
fi |
1661 |
|
2993 |
|
1662 |
echo $ac_n "checking whether you have an ok gcc""... $ac_c" 1>&6 |
2994 |
else |
1663 |
echo "configure:1664: checking whether you have an ok gcc" >&5 |
2995 |
echo "$as_me: failed program was:" >&5 |
1664 |
if eval "test \"`echo '$''{'fptools_cv_have_gcc'+set}'`\" = set"; then |
2996 |
cat conftest.$ac_ext >&5 |
1665 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2997 |
fi |
|
|
2998 |
rm -f conftest.$ac_objext conftest.$ac_ext |
2999 |
ac_ext=c |
3000 |
ac_cpp='$CPP $CPPFLAGS' |
3001 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3002 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3003 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3004 |
|
3005 |
echo "$as_me:$LINENO: checking whether you have an ok gcc" >&5 |
3006 |
echo $ECHO_N "checking whether you have an ok gcc... $ECHO_C" >&6 |
3007 |
if test "${fptools_cv_have_gcc+set}" = set; then |
3008 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1666 |
else |
3009 |
else |
1667 |
if test -z "$GCC"; then |
3010 |
if test -z "$GCC"; then |
1668 |
echo '' |
3011 |
echo '' |
Lines 1679-1817
Link Here
|
1679 |
$CC --version |
3022 |
$CC --version |
1680 |
echo "gcc prior to 2.0 and have never worked with ghc." |
3023 |
echo "gcc prior to 2.0 and have never worked with ghc." |
1681 |
echo "we recommend 2.95.3, although versions back to 2.7.2 should be ok." |
3024 |
echo "we recommend 2.95.3, although versions back to 2.7.2 should be ok." |
1682 |
{ echo "configure: error: gcc 1.X has never been supported" 1>&2; exit 1; } |
3025 |
{ { echo "$as_me:$LINENO: error: gcc 1.X has never been supported" >&5 |
|
|
3026 |
echo "$as_me: error: gcc 1.X has never been supported" >&2;} |
3027 |
{ (exit 1); exit 1; }; } |
1683 |
fi |
3028 |
fi |
1684 |
fi |
3029 |
fi |
1685 |
|
3030 |
|
1686 |
fi |
3031 |
fi |
1687 |
|
3032 |
echo "$as_me:$LINENO: result: $fptools_cv_have_gcc" >&5 |
1688 |
echo "$ac_t""$fptools_cv_have_gcc" 1>&6 |
3033 |
echo "${ECHO_T}$fptools_cv_have_gcc" >&6 |
1689 |
HaveGcc=`echo $fptools_cv_have_gcc | sed 'y/yesno/YESNO/'` |
3034 |
HaveGcc=`echo $fptools_cv_have_gcc | sed 'y/yesno/YESNO/'` |
1690 |
|
3035 |
|
1691 |
|
3036 |
|
1692 |
|
3037 |
|
1693 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
3038 |
ac_ext=c |
1694 |
echo "configure:1695: checking how to run the C preprocessor" >&5 |
3039 |
ac_cpp='$CPP $CPPFLAGS' |
|
|
3040 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3041 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3042 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3043 |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 |
3044 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
1695 |
# On Suns, sometimes $CPP names a directory. |
3045 |
# On Suns, sometimes $CPP names a directory. |
1696 |
if test -n "$CPP" && test -d "$CPP"; then |
3046 |
if test -n "$CPP" && test -d "$CPP"; then |
1697 |
CPP= |
3047 |
CPP= |
1698 |
fi |
3048 |
fi |
1699 |
if test -z "$CPP"; then |
3049 |
if test -z "$CPP"; then |
1700 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
3050 |
if test "${ac_cv_prog_CPP+set}" = set; then |
1701 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3051 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1702 |
else |
3052 |
else |
1703 |
# This must be in double quotes, not single quotes, because CPP may get |
3053 |
# Double quotes because CPP needs to be expanded |
1704 |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
3054 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
1705 |
CPP="${CC-cc} -E" |
3055 |
do |
|
|
3056 |
ac_preproc_ok=false |
3057 |
for ac_c_preproc_warn_flag in '' yes |
3058 |
do |
3059 |
# Use a header file that comes with gcc, so configuring glibc |
3060 |
# with a fresh cross-compiler works. |
1706 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3061 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
1707 |
# not just through cpp. |
3062 |
# not just through cpp. "Syntax error" is here to catch this case. |
1708 |
cat > conftest.$ac_ext <<EOF |
3063 |
cat >conftest.$ac_ext <<_ACEOF |
1709 |
#line 1710 "configure" |
3064 |
#line $LINENO "configure" |
1710 |
#include "confdefs.h" |
3065 |
#include "confdefs.h" |
1711 |
#include <assert.h> |
3066 |
#include <assert.h> |
1712 |
Syntax Error |
3067 |
Syntax error |
1713 |
EOF |
3068 |
_ACEOF |
1714 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3069 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1715 |
{ (eval echo configure:1716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3070 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1716 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3071 |
ac_status=$? |
1717 |
if test -z "$ac_err"; then |
3072 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
3073 |
rm -f conftest.er1 |
3074 |
cat conftest.err >&5 |
3075 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3076 |
(exit $ac_status); } >/dev/null; then |
3077 |
if test -s conftest.err; then |
3078 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3079 |
else |
3080 |
ac_cpp_err= |
3081 |
fi |
3082 |
else |
3083 |
ac_cpp_err=yes |
3084 |
fi |
3085 |
if test -z "$ac_cpp_err"; then |
1718 |
: |
3086 |
: |
1719 |
else |
3087 |
else |
1720 |
echo "$ac_err" >&5 |
3088 |
echo "$as_me: failed program was:" >&5 |
1721 |
echo "configure: failed program was:" >&5 |
|
|
1722 |
cat conftest.$ac_ext >&5 |
3089 |
cat conftest.$ac_ext >&5 |
1723 |
rm -rf conftest* |
3090 |
# Broken: fails on valid input. |
1724 |
CPP="${CC-cc} -E -traditional-cpp" |
3091 |
continue |
1725 |
cat > conftest.$ac_ext <<EOF |
3092 |
fi |
1726 |
#line 1727 "configure" |
3093 |
rm -f conftest.err conftest.$ac_ext |
1727 |
#include "confdefs.h" |
3094 |
|
1728 |
#include <assert.h> |
3095 |
# OK, works on sane cases. Now check whether non-existent headers |
1729 |
Syntax Error |
3096 |
# can be detected and how. |
1730 |
EOF |
3097 |
cat >conftest.$ac_ext <<_ACEOF |
1731 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3098 |
#line $LINENO "configure" |
1732 |
{ (eval echo configure:1733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3099 |
#include "confdefs.h" |
1733 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3100 |
#include <ac_nonexistent.h> |
1734 |
if test -z "$ac_err"; then |
3101 |
_ACEOF |
1735 |
: |
3102 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
|
|
3103 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3104 |
ac_status=$? |
3105 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3106 |
rm -f conftest.er1 |
3107 |
cat conftest.err >&5 |
3108 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3109 |
(exit $ac_status); } >/dev/null; then |
3110 |
if test -s conftest.err; then |
3111 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3112 |
else |
3113 |
ac_cpp_err= |
3114 |
fi |
1736 |
else |
3115 |
else |
1737 |
echo "$ac_err" >&5 |
3116 |
ac_cpp_err=yes |
1738 |
echo "configure: failed program was:" >&5 |
3117 |
fi |
|
|
3118 |
if test -z "$ac_cpp_err"; then |
3119 |
# Broken: success on invalid input. |
3120 |
continue |
3121 |
else |
3122 |
echo "$as_me: failed program was:" >&5 |
1739 |
cat conftest.$ac_ext >&5 |
3123 |
cat conftest.$ac_ext >&5 |
1740 |
rm -rf conftest* |
3124 |
# Passes both tests. |
1741 |
CPP="${CC-cc} -nologo -E" |
3125 |
ac_preproc_ok=: |
1742 |
cat > conftest.$ac_ext <<EOF |
3126 |
break |
1743 |
#line 1744 "configure" |
3127 |
fi |
|
|
3128 |
rm -f conftest.err conftest.$ac_ext |
3129 |
|
3130 |
done |
3131 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3132 |
rm -f conftest.err conftest.$ac_ext |
3133 |
if $ac_preproc_ok; then |
3134 |
break |
3135 |
fi |
3136 |
|
3137 |
done |
3138 |
ac_cv_prog_CPP=$CPP |
3139 |
|
3140 |
fi |
3141 |
CPP=$ac_cv_prog_CPP |
3142 |
else |
3143 |
ac_cv_prog_CPP=$CPP |
3144 |
fi |
3145 |
echo "$as_me:$LINENO: result: $CPP" >&5 |
3146 |
echo "${ECHO_T}$CPP" >&6 |
3147 |
ac_preproc_ok=false |
3148 |
for ac_c_preproc_warn_flag in '' yes |
3149 |
do |
3150 |
# Use a header file that comes with gcc, so configuring glibc |
3151 |
# with a fresh cross-compiler works. |
3152 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
3153 |
# not just through cpp. "Syntax error" is here to catch this case. |
3154 |
cat >conftest.$ac_ext <<_ACEOF |
3155 |
#line $LINENO "configure" |
1744 |
#include "confdefs.h" |
3156 |
#include "confdefs.h" |
1745 |
#include <assert.h> |
3157 |
#include <assert.h> |
1746 |
Syntax Error |
3158 |
Syntax error |
1747 |
EOF |
3159 |
_ACEOF |
1748 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3160 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
1749 |
{ (eval echo configure:1750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3161 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1750 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3162 |
ac_status=$? |
1751 |
if test -z "$ac_err"; then |
3163 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
3164 |
rm -f conftest.er1 |
3165 |
cat conftest.err >&5 |
3166 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3167 |
(exit $ac_status); } >/dev/null; then |
3168 |
if test -s conftest.err; then |
3169 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3170 |
else |
3171 |
ac_cpp_err= |
3172 |
fi |
3173 |
else |
3174 |
ac_cpp_err=yes |
3175 |
fi |
3176 |
if test -z "$ac_cpp_err"; then |
1752 |
: |
3177 |
: |
1753 |
else |
3178 |
else |
1754 |
echo "$ac_err" >&5 |
3179 |
echo "$as_me: failed program was:" >&5 |
1755 |
echo "configure: failed program was:" >&5 |
|
|
1756 |
cat conftest.$ac_ext >&5 |
3180 |
cat conftest.$ac_ext >&5 |
1757 |
rm -rf conftest* |
3181 |
# Broken: fails on valid input. |
1758 |
CPP=/lib/cpp |
3182 |
continue |
1759 |
fi |
|
|
1760 |
rm -f conftest* |
1761 |
fi |
1762 |
rm -f conftest* |
1763 |
fi |
3183 |
fi |
1764 |
rm -f conftest* |
3184 |
rm -f conftest.err conftest.$ac_ext |
1765 |
ac_cv_prog_CPP="$CPP" |
3185 |
|
|
|
3186 |
# OK, works on sane cases. Now check whether non-existent headers |
3187 |
# can be detected and how. |
3188 |
cat >conftest.$ac_ext <<_ACEOF |
3189 |
#line $LINENO "configure" |
3190 |
#include "confdefs.h" |
3191 |
#include <ac_nonexistent.h> |
3192 |
_ACEOF |
3193 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
3194 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
3195 |
ac_status=$? |
3196 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
3197 |
rm -f conftest.er1 |
3198 |
cat conftest.err >&5 |
3199 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3200 |
(exit $ac_status); } >/dev/null; then |
3201 |
if test -s conftest.err; then |
3202 |
ac_cpp_err=$ac_c_preproc_warn_flag |
3203 |
else |
3204 |
ac_cpp_err= |
3205 |
fi |
3206 |
else |
3207 |
ac_cpp_err=yes |
1766 |
fi |
3208 |
fi |
1767 |
CPP="$ac_cv_prog_CPP" |
3209 |
if test -z "$ac_cpp_err"; then |
|
|
3210 |
# Broken: success on invalid input. |
3211 |
continue |
1768 |
else |
3212 |
else |
1769 |
ac_cv_prog_CPP="$CPP" |
3213 |
echo "$as_me: failed program was:" >&5 |
|
|
3214 |
cat conftest.$ac_ext >&5 |
3215 |
# Passes both tests. |
3216 |
ac_preproc_ok=: |
3217 |
break |
1770 |
fi |
3218 |
fi |
1771 |
echo "$ac_t""$CPP" 1>&6 |
3219 |
rm -f conftest.err conftest.$ac_ext |
|
|
3220 |
|
3221 |
done |
3222 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3223 |
rm -f conftest.err conftest.$ac_ext |
3224 |
if $ac_preproc_ok; then |
3225 |
: |
3226 |
else |
3227 |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
3228 |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
3229 |
{ (exit 1); exit 1; }; } |
3230 |
fi |
3231 |
|
3232 |
ac_ext=c |
3233 |
ac_cpp='$CPP $CPPFLAGS' |
3234 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3235 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3236 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1772 |
|
3237 |
|
1773 |
|
3238 |
|
1774 |
SRC_CC_OPTS="-O" |
3239 |
SRC_CC_OPTS="-O" |
1775 |
|
3240 |
|
1776 |
if test x"$TargetOS_CPP" = x"mingw32"; then |
3241 |
if test x"$TargetOS_CPP" = x"mingw32"; then |
1777 |
|
3242 |
|
1778 |
echo $ac_n "checking whether $CC accepts -mno-cygwin""... $ac_c" 1>&6 |
3243 |
|
1779 |
echo "configure:1780: checking whether $CC accepts -mno-cygwin" >&5 |
3244 |
echo "$as_me:$LINENO: checking whether $CC accepts -mno-cygwin" >&5 |
1780 |
if eval "test \"`echo '$''{'ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN'+set}'`\" = set"; then |
3245 |
echo $ECHO_N "checking whether $CC accepts -mno-cygwin... $ECHO_C" >&6 |
1781 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3246 |
if test "${ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN+set}" = set; then |
|
|
3247 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1782 |
else |
3248 |
else |
1783 |
save_CFLAGS="$CFLAGS" |
3249 |
save_CFLAGS="$CFLAGS" |
1784 |
CFLAGS="$CFLAGS -mno-cygwin" |
3250 |
CFLAGS="$CFLAGS -mno-cygwin" |
1785 |
ac_ext=c |
3251 |
ac_ext=c |
1786 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
1787 |
ac_cpp='$CPP $CPPFLAGS' |
3252 |
ac_cpp='$CPP $CPPFLAGS' |
1788 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
3253 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1789 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
3254 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1790 |
cross_compiling=$ac_cv_prog_cc_cross |
3255 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1791 |
|
3256 |
|
1792 |
cat > conftest.$ac_ext <<EOF |
3257 |
cat >conftest.$ac_ext <<_ACEOF |
1793 |
#line 1794 "configure" |
3258 |
#line $LINENO "configure" |
1794 |
#include "confdefs.h" |
3259 |
#include "confdefs.h" |
1795 |
|
3260 |
|
1796 |
int main() { |
3261 |
#ifdef F77_DUMMY_MAIN |
|
|
3262 |
# ifdef __cplusplus |
3263 |
extern "C" |
3264 |
# endif |
3265 |
int F77_DUMMY_MAIN() { return 1; } |
3266 |
#endif |
3267 |
int |
3268 |
main () |
3269 |
{ |
1797 |
int main(){return(0);} |
3270 |
int main(){return(0);} |
1798 |
; return 0; } |
3271 |
; |
1799 |
EOF |
3272 |
return 0; |
1800 |
if { (eval echo configure:1801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3273 |
} |
1801 |
rm -rf conftest* |
3274 |
_ACEOF |
|
|
3275 |
rm -f conftest.$ac_objext |
3276 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3277 |
(eval $ac_compile) 2>&5 |
3278 |
ac_status=$? |
3279 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3280 |
(exit $ac_status); } && |
3281 |
{ ac_try='test -s conftest.$ac_objext' |
3282 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3283 |
(eval $ac_try) 2>&5 |
3284 |
ac_status=$? |
3285 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3286 |
(exit $ac_status); }; }; then |
1802 |
ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=yes |
3287 |
ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=yes |
1803 |
else |
3288 |
else |
1804 |
echo "configure: failed program was:" >&5 |
3289 |
echo "$as_me: failed program was:" >&5 |
1805 |
cat conftest.$ac_ext >&5 |
3290 |
cat conftest.$ac_ext >&5 |
1806 |
rm -rf conftest* |
3291 |
ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=no |
1807 |
ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN=no |
|
|
1808 |
fi |
3292 |
fi |
1809 |
rm -f conftest* |
3293 |
rm -f conftest.$ac_objext conftest.$ac_ext |
1810 |
CFLAGS="$save_CFLAGS" |
3294 |
CFLAGS="$save_CFLAGS" |
1811 |
|
3295 |
|
1812 |
fi |
3296 |
fi |
1813 |
|
3297 |
echo "$as_me:$LINENO: result: $ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" >&5 |
1814 |
echo "$ac_t""$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" 1>&6 |
3298 |
echo "${ECHO_T}$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN" >&6 |
1815 |
if test "$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN"x = "yesx"; then |
3299 |
if test "$ac_cv_cc_CC_SUPPORTS_MNO_CYGWIN"x = "yesx"; then |
1816 |
CC_SUPPORTS_MNO_CYGWIN=-mno-cygwin; |
3300 |
CC_SUPPORTS_MNO_CYGWIN=-mno-cygwin; |
1817 |
else |
3301 |
else |
Lines 1823-1832
Link Here
|
1823 |
fi |
3307 |
fi |
1824 |
|
3308 |
|
1825 |
|
3309 |
|
1826 |
echo $ac_n "checking for ok way to do context diffs""... $ac_c" 1>&6 |
3310 |
echo "$as_me:$LINENO: checking for ok way to do context diffs" >&5 |
1827 |
echo "configure:1828: checking for ok way to do context diffs" >&5 |
3311 |
echo $ECHO_N "checking for ok way to do context diffs... $ECHO_C" >&6 |
1828 |
if eval "test \"`echo '$''{'fptools_cv_context_diffs'+set}'`\" = set"; then |
3312 |
if test "${fptools_cv_context_diffs+set}" = set; then |
1829 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3313 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1830 |
else |
3314 |
else |
1831 |
echo foo > conftest1 |
3315 |
echo foo > conftest1 |
1832 |
echo foo > conftest2 |
3316 |
echo foo > conftest2 |
Lines 1844-1851
Link Here
|
1844 |
rm -f conftest1 conftest2 |
3328 |
rm -f conftest1 conftest2 |
1845 |
|
3329 |
|
1846 |
fi |
3330 |
fi |
1847 |
|
3331 |
echo "$as_me:$LINENO: result: $fptools_cv_context_diffs" >&5 |
1848 |
echo "$ac_t""$fptools_cv_context_diffs" 1>&6 |
3332 |
echo "${ECHO_T}$fptools_cv_context_diffs" >&6 |
1849 |
ContextDiffCmd=$fptools_cv_context_diffs |
3333 |
ContextDiffCmd=$fptools_cv_context_diffs |
1850 |
|
3334 |
|
1851 |
|
3335 |
|
Lines 1853-1950
Link Here
|
1853 |
|
3337 |
|
1854 |
# Extract the first word of "find", so it can be a program name with args. |
3338 |
# Extract the first word of "find", so it can be a program name with args. |
1855 |
set dummy find; ac_word=$2 |
3339 |
set dummy find; ac_word=$2 |
1856 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3340 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1857 |
echo "configure:1858: checking for $ac_word" >&5 |
3341 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1858 |
if eval "test \"`echo '$''{'ac_cv_path_Find2Cmd'+set}'`\" = set"; then |
3342 |
if test "${ac_cv_path_Find2Cmd+set}" = set; then |
1859 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3343 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1860 |
else |
3344 |
else |
1861 |
case "$Find2Cmd" in |
3345 |
case $Find2Cmd in |
1862 |
/*) |
3346 |
[\\/]* | ?:[\\/]*) |
1863 |
ac_cv_path_Find2Cmd="$Find2Cmd" # Let the user override the test with a path. |
3347 |
ac_cv_path_Find2Cmd="$Find2Cmd" # Let the user override the test with a path. |
1864 |
;; |
3348 |
;; |
1865 |
?:/*) |
|
|
1866 |
ac_cv_path_Find2Cmd="$Find2Cmd" # Let the user override the test with a dos path. |
1867 |
;; |
1868 |
*) |
3349 |
*) |
1869 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3350 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1870 |
ac_dummy="$PATH" |
3351 |
for as_dir in $PATH |
1871 |
for ac_dir in $ac_dummy; do |
3352 |
do |
1872 |
test -z "$ac_dir" && ac_dir=. |
3353 |
IFS=$as_save_IFS |
1873 |
if test -f $ac_dir/$ac_word; then |
3354 |
test -z "$as_dir" && as_dir=. |
1874 |
ac_cv_path_Find2Cmd="$ac_dir/$ac_word" |
3355 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1875 |
break |
3356 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1876 |
fi |
3357 |
ac_cv_path_Find2Cmd="$as_dir/$ac_word$ac_exec_ext" |
1877 |
done |
3358 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1878 |
IFS="$ac_save_ifs" |
3359 |
break 2 |
|
|
3360 |
fi |
3361 |
done |
3362 |
done |
3363 |
|
1879 |
;; |
3364 |
;; |
1880 |
esac |
3365 |
esac |
1881 |
fi |
3366 |
fi |
1882 |
Find2Cmd="$ac_cv_path_Find2Cmd" |
3367 |
Find2Cmd=$ac_cv_path_Find2Cmd |
|
|
3368 |
|
1883 |
if test -n "$Find2Cmd"; then |
3369 |
if test -n "$Find2Cmd"; then |
1884 |
echo "$ac_t""$Find2Cmd" 1>&6 |
3370 |
echo "$as_me:$LINENO: result: $Find2Cmd" >&5 |
|
|
3371 |
echo "${ECHO_T}$Find2Cmd" >&6 |
1885 |
else |
3372 |
else |
1886 |
echo "$ac_t""no" 1>&6 |
3373 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3374 |
echo "${ECHO_T}no" >&6 |
1887 |
fi |
3375 |
fi |
1888 |
|
3376 |
|
1889 |
$Find2Cmd --version > conftest.out 2>&1 |
3377 |
$Find2Cmd --version > conftest.out 2>&1 |
1890 |
if grep "FIND: Parameter format" conftest.out >/dev/null 2>&1 ; then |
3378 |
if grep "FIND: Parameter format" conftest.out >/dev/null 2>&1 ; then |
1891 |
# Encountered MS' find utility, which is not what we're after. |
3379 |
# Encountered MS' find utility, which is not what we're after. |
1892 |
# |
3380 |
# |
1893 |
# HACK - AC_CHECK_PROG is useful here in that does let you reject |
3381 |
# HACK - AC_CHECK_PROG is useful here in that does let you reject |
1894 |
# an (absolute) entry in the path (Find2Cmd). It is not so useful |
3382 |
# an (absolute) entry in the path (Find2Cmd). It is not so useful |
1895 |
# in that it doesn't let you (AFAIU) set VARIABLE equal to the |
3383 |
# in that it doesn't let you (AFAIU) set VARIABLE equal to the |
1896 |
# absolute path eventually found. So, hack around this by inspecting |
3384 |
# absolute path eventually found. So, hack around this by inspecting |
1897 |
# what variables hold the abs. path & use them directly. |
3385 |
# what variables hold the abs. path & use them directly. |
1898 |
# Extract the first word of "find", so it can be a program name with args. |
3386 |
# Extract the first word of "find", so it can be a program name with args. |
1899 |
set dummy find; ac_word=$2 |
3387 |
set dummy find; ac_word=$2 |
1900 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3388 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1901 |
echo "configure:1902: checking for $ac_word" >&5 |
3389 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1902 |
if eval "test \"`echo '$''{'ac_cv_prog_FindCmd'+set}'`\" = set"; then |
3390 |
if test "${ac_cv_prog_FindCmd+set}" = set; then |
1903 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3391 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1904 |
else |
3392 |
else |
1905 |
if test -n "$FindCmd"; then |
3393 |
if test -n "$FindCmd"; then |
1906 |
ac_cv_prog_FindCmd="$FindCmd" # Let the user override the test. |
3394 |
ac_cv_prog_FindCmd="$FindCmd" # Let the user override the test. |
1907 |
else |
3395 |
else |
1908 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
|
|
1909 |
ac_prog_rejected=no |
3396 |
ac_prog_rejected=no |
1910 |
ac_dummy="$PATH" |
3397 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1911 |
for ac_dir in $ac_dummy; do |
3398 |
for as_dir in $PATH |
1912 |
test -z "$ac_dir" && ac_dir=. |
3399 |
do |
1913 |
if test -f $ac_dir/$ac_word; then |
3400 |
IFS=$as_save_IFS |
1914 |
if test "$ac_dir/$ac_word" = "$Find2Cmd"; then |
3401 |
test -z "$as_dir" && as_dir=. |
1915 |
ac_prog_rejected=yes |
3402 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1916 |
continue |
3403 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1917 |
fi |
3404 |
if test "$as_dir/$ac_word$ac_exec_ext" = "$Find2Cmd"; then |
1918 |
ac_cv_prog_FindCmd="`echo $ac_dir/$ac_word`" |
3405 |
ac_prog_rejected=yes |
1919 |
break |
3406 |
continue |
1920 |
fi |
3407 |
fi |
1921 |
done |
3408 |
ac_cv_prog_FindCmd="`echo $ac_dir/$ac_word`" |
1922 |
IFS="$ac_save_ifs" |
3409 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
3410 |
break 2 |
3411 |
fi |
3412 |
done |
3413 |
done |
3414 |
|
1923 |
if test $ac_prog_rejected = yes; then |
3415 |
if test $ac_prog_rejected = yes; then |
1924 |
# We found a bogon in the path, so make sure we never use it. |
3416 |
# We found a bogon in the path, so make sure we never use it. |
1925 |
set dummy $ac_cv_prog_FindCmd |
3417 |
set dummy $ac_cv_prog_FindCmd |
1926 |
shift |
3418 |
shift |
1927 |
if test $# -gt 0; then |
3419 |
if test $# != 0; then |
1928 |
# We chose a different compiler from the bogus one. |
3420 |
# We chose a different compiler from the bogus one. |
1929 |
# However, it has the same basename, so the bogon will be chosen |
3421 |
# However, it has the same basename, so the bogon will be chosen |
1930 |
# first if we set FindCmd to just the basename; use the full file name. |
3422 |
# first if we set FindCmd to just the basename; use the full file name. |
1931 |
shift |
3423 |
shift |
1932 |
set dummy "$ac_dir/$ac_word" "$@" |
3424 |
ac_cv_prog_FindCmd="$as_dir/$ac_word${1+' '}$@" |
1933 |
shift |
|
|
1934 |
ac_cv_prog_FindCmd="$@" |
1935 |
else |
3425 |
else |
1936 |
# Default is a loser. |
3426 |
# Default is a loser. |
1937 |
{ echo "configure: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" 1>&2; exit 1; } |
3427 |
{ { echo "$as_me:$LINENO: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" >&5 |
|
|
3428 |
echo "$as_me: error: FindCmd=$Find2Cmd unacceptable, but no other find found in \$PATH" >&2;} |
3429 |
{ (exit 1); exit 1; }; } |
1938 |
fi |
3430 |
fi |
1939 |
fi |
3431 |
fi |
1940 |
test -z "$ac_cv_prog_FindCmd" && ac_cv_prog_FindCmd="find" |
3432 |
test -z "$ac_cv_prog_FindCmd" && ac_cv_prog_FindCmd="find" |
1941 |
fi |
3433 |
fi |
1942 |
fi |
3434 |
fi |
1943 |
FindCmd="$ac_cv_prog_FindCmd" |
3435 |
FindCmd=$ac_cv_prog_FindCmd |
1944 |
if test -n "$FindCmd"; then |
3436 |
if test -n "$FindCmd"; then |
1945 |
echo "$ac_t""$FindCmd" 1>&6 |
3437 |
echo "$as_me:$LINENO: result: $FindCmd" >&5 |
|
|
3438 |
echo "${ECHO_T}$FindCmd" >&6 |
1946 |
else |
3439 |
else |
1947 |
echo "$ac_t""no" 1>&6 |
3440 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3441 |
echo "${ECHO_T}no" >&6 |
1948 |
fi |
3442 |
fi |
1949 |
|
3443 |
|
1950 |
else |
3444 |
else |
Lines 1955-2027
Link Here
|
1955 |
|
3449 |
|
1956 |
for ac_prog in 'bison -y' byacc |
3450 |
for ac_prog in 'bison -y' byacc |
1957 |
do |
3451 |
do |
1958 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3452 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
1959 |
set dummy $ac_prog; ac_word=$2 |
3453 |
set dummy $ac_prog; ac_word=$2 |
1960 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3454 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
1961 |
echo "configure:1962: checking for $ac_word" >&5 |
3455 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1962 |
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then |
3456 |
if test "${ac_cv_prog_YACC+set}" = set; then |
1963 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3457 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1964 |
else |
3458 |
else |
1965 |
if test -n "$YACC"; then |
3459 |
if test -n "$YACC"; then |
1966 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
3460 |
ac_cv_prog_YACC="$YACC" # Let the user override the test. |
1967 |
else |
3461 |
else |
1968 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3462 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1969 |
ac_dummy="$PATH" |
3463 |
for as_dir in $PATH |
1970 |
for ac_dir in $ac_dummy; do |
3464 |
do |
1971 |
test -z "$ac_dir" && ac_dir=. |
3465 |
IFS=$as_save_IFS |
1972 |
if test -f $ac_dir/$ac_word; then |
3466 |
test -z "$as_dir" && as_dir=. |
1973 |
ac_cv_prog_YACC="$ac_prog" |
3467 |
for ac_exec_ext in '' $ac_executable_extensions; do |
1974 |
break |
3468 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
1975 |
fi |
3469 |
ac_cv_prog_YACC="$ac_prog" |
1976 |
done |
3470 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
1977 |
IFS="$ac_save_ifs" |
3471 |
break 2 |
|
|
3472 |
fi |
3473 |
done |
3474 |
done |
3475 |
|
1978 |
fi |
3476 |
fi |
1979 |
fi |
3477 |
fi |
1980 |
YACC="$ac_cv_prog_YACC" |
3478 |
YACC=$ac_cv_prog_YACC |
1981 |
if test -n "$YACC"; then |
3479 |
if test -n "$YACC"; then |
1982 |
echo "$ac_t""$YACC" 1>&6 |
3480 |
echo "$as_me:$LINENO: result: $YACC" >&5 |
|
|
3481 |
echo "${ECHO_T}$YACC" >&6 |
1983 |
else |
3482 |
else |
1984 |
echo "$ac_t""no" 1>&6 |
3483 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3484 |
echo "${ECHO_T}no" >&6 |
1985 |
fi |
3485 |
fi |
1986 |
|
3486 |
|
1987 |
test -n "$YACC" && break |
3487 |
test -n "$YACC" && break |
1988 |
done |
3488 |
done |
1989 |
test -n "$YACC" || YACC="yacc" |
3489 |
test -n "$YACC" || YACC="yacc" |
1990 |
|
3490 |
|
1991 |
if test "$YACC" = "yacc"; then |
3491 |
if test "$YACC" = "yacc"; then |
1992 |
echo $ac_n "checking if it is an OK yacc""... $ac_c" 1>&6 |
3492 |
echo "$as_me:$LINENO: checking if it is an OK yacc" >&5 |
1993 |
echo "configure:1994: checking if it is an OK yacc" >&5 |
3493 |
echo $ECHO_N "checking if it is an OK yacc... $ECHO_C" >&6 |
1994 |
if eval "test \"`echo '$''{'ac_cv_prog_yacc'+set}'`\" = set"; then |
3494 |
if test "${ac_cv_prog_yacc+set}" = set; then |
1995 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3495 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
1996 |
else |
3496 |
else |
1997 |
# Extract the first word of "what", so it can be a program name with args. |
3497 |
# Extract the first word of "what", so it can be a program name with args. |
1998 |
set dummy what; ac_word=$2 |
3498 |
set dummy what; ac_word=$2 |
1999 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3499 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2000 |
echo "configure:2001: checking for $ac_word" >&5 |
3500 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2001 |
if eval "test \"`echo '$''{'ac_cv_prog_WhatCmd'+set}'`\" = set"; then |
3501 |
if test "${ac_cv_prog_WhatCmd+set}" = set; then |
2002 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3502 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2003 |
else |
3503 |
else |
2004 |
if test -n "$WhatCmd"; then |
3504 |
if test -n "$WhatCmd"; then |
2005 |
ac_cv_prog_WhatCmd="$WhatCmd" # Let the user override the test. |
3505 |
ac_cv_prog_WhatCmd="$WhatCmd" # Let the user override the test. |
2006 |
else |
3506 |
else |
2007 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3507 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2008 |
ac_dummy="$PATH" |
3508 |
for as_dir in $PATH |
2009 |
for ac_dir in $ac_dummy; do |
3509 |
do |
2010 |
test -z "$ac_dir" && ac_dir=. |
3510 |
IFS=$as_save_IFS |
2011 |
if test -f $ac_dir/$ac_word; then |
3511 |
test -z "$as_dir" && as_dir=. |
2012 |
ac_cv_prog_WhatCmd="what" |
3512 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2013 |
break |
3513 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2014 |
fi |
3514 |
ac_cv_prog_WhatCmd="what" |
2015 |
done |
3515 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2016 |
IFS="$ac_save_ifs" |
3516 |
break 2 |
|
|
3517 |
fi |
3518 |
done |
3519 |
done |
3520 |
|
2017 |
test -z "$ac_cv_prog_WhatCmd" && ac_cv_prog_WhatCmd=":" |
3521 |
test -z "$ac_cv_prog_WhatCmd" && ac_cv_prog_WhatCmd=":" |
2018 |
fi |
3522 |
fi |
2019 |
fi |
3523 |
fi |
2020 |
WhatCmd="$ac_cv_prog_WhatCmd" |
3524 |
WhatCmd=$ac_cv_prog_WhatCmd |
2021 |
if test -n "$WhatCmd"; then |
3525 |
if test -n "$WhatCmd"; then |
2022 |
echo "$ac_t""$WhatCmd" 1>&6 |
3526 |
echo "$as_me:$LINENO: result: $WhatCmd" >&5 |
|
|
3527 |
echo "${ECHO_T}$WhatCmd" >&6 |
2023 |
else |
3528 |
else |
2024 |
echo "$ac_t""no" 1>&6 |
3529 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3530 |
echo "${ECHO_T}no" >&6 |
2025 |
fi |
3531 |
fi |
2026 |
|
3532 |
|
2027 |
$WhatCmd $YACC > conftest.out |
3533 |
$WhatCmd $YACC > conftest.out |
Lines 2044-2051
Link Here
|
2044 |
rm -fr conftest* |
3550 |
rm -fr conftest* |
2045 |
|
3551 |
|
2046 |
fi |
3552 |
fi |
2047 |
|
3553 |
echo "$as_me:$LINENO: result: $ac_cv_prog_yacc" >&5 |
2048 |
echo "$ac_t""$ac_cv_prog_yacc" 1>&6 |
3554 |
echo "${ECHO_T}$ac_cv_prog_yacc" >&6 |
2049 |
else |
3555 |
else |
2050 |
ac_cv_prog_yacc=$YACC |
3556 |
ac_cv_prog_yacc=$YACC |
2051 |
fi |
3557 |
fi |
Lines 2055-2119
Link Here
|
2055 |
|
3561 |
|
2056 |
# Extract the first word of "flex", so it can be a program name with args. |
3562 |
# Extract the first word of "flex", so it can be a program name with args. |
2057 |
set dummy flex; ac_word=$2 |
3563 |
set dummy flex; ac_word=$2 |
2058 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3564 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2059 |
echo "configure:2060: checking for $ac_word" >&5 |
3565 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2060 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
3566 |
if test "${ac_cv_prog_LEX+set}" = set; then |
2061 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3567 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2062 |
else |
3568 |
else |
2063 |
if test -n "$LEX"; then |
3569 |
if test -n "$LEX"; then |
2064 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3570 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
2065 |
else |
3571 |
else |
2066 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3572 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2067 |
ac_dummy="$PATH" |
3573 |
for as_dir in $PATH |
2068 |
for ac_dir in $ac_dummy; do |
3574 |
do |
2069 |
test -z "$ac_dir" && ac_dir=. |
3575 |
IFS=$as_save_IFS |
2070 |
if test -f $ac_dir/$ac_word; then |
3576 |
test -z "$as_dir" && as_dir=. |
2071 |
ac_cv_prog_LEX="flex" |
3577 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2072 |
break |
3578 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2073 |
fi |
3579 |
ac_cv_prog_LEX="flex" |
2074 |
done |
3580 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2075 |
IFS="$ac_save_ifs" |
3581 |
break 2 |
|
|
3582 |
fi |
3583 |
done |
3584 |
done |
3585 |
|
2076 |
fi |
3586 |
fi |
2077 |
fi |
3587 |
fi |
2078 |
LEX="$ac_cv_prog_LEX" |
3588 |
LEX=$ac_cv_prog_LEX |
2079 |
if test -n "$LEX"; then |
3589 |
if test -n "$LEX"; then |
2080 |
echo "$ac_t""$LEX" 1>&6 |
3590 |
echo "$as_me:$LINENO: result: $LEX" >&5 |
|
|
3591 |
echo "${ECHO_T}$LEX" >&6 |
2081 |
else |
3592 |
else |
2082 |
echo "$ac_t""no" 1>&6 |
3593 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3594 |
echo "${ECHO_T}no" >&6 |
2083 |
fi |
3595 |
fi |
2084 |
|
3596 |
|
2085 |
if test -z "$LEX" |
3597 |
if test -z "$LEX" |
2086 |
then |
3598 |
then |
2087 |
# Extract the first word of "lex", so it can be a program name with args. |
3599 |
# Extract the first word of "lex", so it can be a program name with args. |
2088 |
set dummy lex; ac_word=$2 |
3600 |
set dummy lex; ac_word=$2 |
2089 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3601 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2090 |
echo "configure:2091: checking for $ac_word" >&5 |
3602 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2091 |
if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then |
3603 |
if test "${ac_cv_prog_LEX+set}" = set; then |
2092 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3604 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2093 |
else |
3605 |
else |
2094 |
if test -n "$LEX"; then |
3606 |
if test -n "$LEX"; then |
2095 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
3607 |
ac_cv_prog_LEX="$LEX" # Let the user override the test. |
2096 |
else |
3608 |
else |
2097 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3609 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2098 |
ac_dummy="$PATH" |
3610 |
for as_dir in $PATH |
2099 |
for ac_dir in $ac_dummy; do |
3611 |
do |
2100 |
test -z "$ac_dir" && ac_dir=. |
3612 |
IFS=$as_save_IFS |
2101 |
if test -f $ac_dir/$ac_word; then |
3613 |
test -z "$as_dir" && as_dir=. |
2102 |
ac_cv_prog_LEX="lex" |
3614 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2103 |
break |
3615 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2104 |
fi |
3616 |
ac_cv_prog_LEX="lex" |
2105 |
done |
3617 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2106 |
IFS="$ac_save_ifs" |
3618 |
break 2 |
|
|
3619 |
fi |
3620 |
done |
3621 |
done |
3622 |
|
2107 |
fi |
3623 |
fi |
2108 |
fi |
3624 |
fi |
2109 |
LEX="$ac_cv_prog_LEX" |
3625 |
LEX=$ac_cv_prog_LEX |
2110 |
if test -n "$LEX"; then |
3626 |
if test -n "$LEX"; then |
2111 |
echo "$ac_t""$LEX" 1>&6 |
3627 |
echo "$as_me:$LINENO: result: $LEX" >&5 |
|
|
3628 |
echo "${ECHO_T}$LEX" >&6 |
2112 |
else |
3629 |
else |
2113 |
echo "$ac_t""no" 1>&6 |
3630 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3631 |
echo "${ECHO_T}no" >&6 |
2114 |
fi |
3632 |
fi |
2115 |
|
3633 |
|
2116 |
test -z "$LEX" && { echo "configure: error: 'lex' or 'flex' is required to compile GHC." 1>&2; exit 1; } |
3634 |
test -z "$LEX" && { { echo "$as_me:$LINENO: error: 'lex' or 'flex' is required to compile GHC." >&5 |
|
|
3635 |
echo "$as_me: error: 'lex' or 'flex' is required to compile GHC." >&2;} |
3636 |
{ (exit 1); exit 1; }; } |
2117 |
fi |
3637 |
fi |
2118 |
|
3638 |
|
2119 |
|
3639 |
|
Lines 2124-2225
Link Here
|
2124 |
# SunOS /usr/etc/install |
3644 |
# SunOS /usr/etc/install |
2125 |
# IRIX /sbin/install |
3645 |
# IRIX /sbin/install |
2126 |
# AIX /bin/install |
3646 |
# AIX /bin/install |
|
|
3647 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2127 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
3648 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2128 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
3649 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2129 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
3650 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2130 |
# ./install, which can be erroneously created by make from ./install.sh. |
3651 |
# ./install, which can be erroneously created by make from ./install.sh. |
2131 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
3652 |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2132 |
echo "configure:2133: checking for a BSD compatible install" >&5 |
3653 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2133 |
if test -z "$INSTALL"; then |
3654 |
if test -z "$INSTALL"; then |
2134 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
3655 |
if test "${ac_cv_path_install+set}" = set; then |
2135 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3656 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2136 |
else |
3657 |
else |
2137 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
3658 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2138 |
for ac_dir in $PATH; do |
3659 |
for as_dir in $PATH |
2139 |
# Account for people who put trailing slashes in PATH elements. |
3660 |
do |
2140 |
case "$ac_dir/" in |
3661 |
IFS=$as_save_IFS |
2141 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
3662 |
test -z "$as_dir" && as_dir=. |
2142 |
*) |
3663 |
# Account for people who put trailing slashes in PATH elements. |
2143 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
3664 |
case $as_dir/ in |
2144 |
# Don't use installbsd from OSF since it installs stuff as root |
3665 |
./ | .// | /cC/* | \ |
2145 |
# by default. |
3666 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2146 |
for ac_prog in ginstall scoinst install; do |
3667 |
/usr/ucb/* ) ;; |
2147 |
if test -f $ac_dir/$ac_prog; then |
3668 |
*) |
2148 |
if test $ac_prog = install && |
3669 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
2149 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
3670 |
# Don't use installbsd from OSF since it installs stuff as root |
2150 |
# AIX install. It has an incompatible calling convention. |
3671 |
# by default. |
2151 |
: |
3672 |
for ac_prog in ginstall scoinst install; do |
2152 |
else |
3673 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2153 |
ac_cv_path_install="$ac_dir/$ac_prog -c" |
3674 |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2154 |
break 2 |
3675 |
if test $ac_prog = install && |
2155 |
fi |
3676 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2156 |
fi |
3677 |
# AIX install. It has an incompatible calling convention. |
|
|
3678 |
: |
3679 |
elif test $ac_prog = install && |
3680 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
3681 |
# program-specific install script used by HP pwplus--don't use. |
3682 |
: |
3683 |
else |
3684 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
3685 |
break 3 |
3686 |
fi |
3687 |
fi |
2157 |
done |
3688 |
done |
2158 |
;; |
3689 |
done |
2159 |
esac |
3690 |
;; |
2160 |
done |
3691 |
esac |
2161 |
IFS="$ac_save_IFS" |
3692 |
done |
|
|
3693 |
|
2162 |
|
3694 |
|
2163 |
fi |
3695 |
fi |
2164 |
if test "${ac_cv_path_install+set}" = set; then |
3696 |
if test "${ac_cv_path_install+set}" = set; then |
2165 |
INSTALL="$ac_cv_path_install" |
3697 |
INSTALL=$ac_cv_path_install |
2166 |
else |
3698 |
else |
2167 |
# As a last resort, use the slow shell script. We don't cache a |
3699 |
# As a last resort, use the slow shell script. We don't cache a |
2168 |
# path for INSTALL within a source directory, because that will |
3700 |
# path for INSTALL within a source directory, because that will |
2169 |
# break other packages using the cache if that directory is |
3701 |
# break other packages using the cache if that directory is |
2170 |
# removed, or if the path is relative. |
3702 |
# removed, or if the path is relative. |
2171 |
INSTALL="$ac_install_sh" |
3703 |
INSTALL=$ac_install_sh |
2172 |
fi |
3704 |
fi |
2173 |
fi |
3705 |
fi |
2174 |
echo "$ac_t""$INSTALL" 1>&6 |
3706 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
|
|
3707 |
echo "${ECHO_T}$INSTALL" >&6 |
2175 |
|
3708 |
|
2176 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
3709 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2177 |
# It thinks the first close brace ends the variable substitution. |
3710 |
# It thinks the first close brace ends the variable substitution. |
2178 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
3711 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2179 |
|
3712 |
|
2180 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
3713 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2181 |
|
3714 |
|
2182 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
3715 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2183 |
|
3716 |
|
2184 |
|
3717 |
|
2185 |
cat >> confdefs.h <<\EOF |
3718 |
cat >>confdefs.h <<\_ACEOF |
2186 |
#define HAVE_BIN_SH 1 |
3719 |
#define HAVE_BIN_SH 1 |
2187 |
EOF |
3720 |
_ACEOF |
2188 |
|
3721 |
|
2189 |
|
3722 |
|
2190 |
# Extract the first word of "ar", so it can be a program name with args. |
3723 |
# Extract the first word of "ar", so it can be a program name with args. |
2191 |
set dummy ar; ac_word=$2 |
3724 |
set dummy ar; ac_word=$2 |
2192 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3725 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2193 |
echo "configure:2194: checking for $ac_word" >&5 |
3726 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2194 |
if eval "test \"`echo '$''{'ac_cv_path_ArCmdRaw'+set}'`\" = set"; then |
3727 |
if test "${ac_cv_path_ArCmdRaw+set}" = set; then |
2195 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3728 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2196 |
else |
3729 |
else |
2197 |
case "$ArCmdRaw" in |
3730 |
case $ArCmdRaw in |
2198 |
/*) |
3731 |
[\\/]* | ?:[\\/]*) |
2199 |
ac_cv_path_ArCmdRaw="$ArCmdRaw" # Let the user override the test with a path. |
3732 |
ac_cv_path_ArCmdRaw="$ArCmdRaw" # Let the user override the test with a path. |
2200 |
;; |
3733 |
;; |
2201 |
?:/*) |
|
|
2202 |
ac_cv_path_ArCmdRaw="$ArCmdRaw" # Let the user override the test with a dos path. |
2203 |
;; |
2204 |
*) |
3734 |
*) |
2205 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3735 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2206 |
ac_dummy="$PATH" |
3736 |
for as_dir in $PATH |
2207 |
for ac_dir in $ac_dummy; do |
3737 |
do |
2208 |
test -z "$ac_dir" && ac_dir=. |
3738 |
IFS=$as_save_IFS |
2209 |
if test -f $ac_dir/$ac_word; then |
3739 |
test -z "$as_dir" && as_dir=. |
2210 |
ac_cv_path_ArCmdRaw="$ac_dir/$ac_word" |
3740 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2211 |
break |
3741 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2212 |
fi |
3742 |
ac_cv_path_ArCmdRaw="$as_dir/$ac_word$ac_exec_ext" |
2213 |
done |
3743 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2214 |
IFS="$ac_save_ifs" |
3744 |
break 2 |
|
|
3745 |
fi |
3746 |
done |
3747 |
done |
3748 |
|
2215 |
;; |
3749 |
;; |
2216 |
esac |
3750 |
esac |
2217 |
fi |
3751 |
fi |
2218 |
ArCmdRaw="$ac_cv_path_ArCmdRaw" |
3752 |
ArCmdRaw=$ac_cv_path_ArCmdRaw |
|
|
3753 |
|
2219 |
if test -n "$ArCmdRaw"; then |
3754 |
if test -n "$ArCmdRaw"; then |
2220 |
echo "$ac_t""$ArCmdRaw" 1>&6 |
3755 |
echo "$as_me:$LINENO: result: $ArCmdRaw" >&5 |
|
|
3756 |
echo "${ECHO_T}$ArCmdRaw" >&6 |
2221 |
else |
3757 |
else |
2222 |
echo "$ac_t""no" 1>&6 |
3758 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3759 |
echo "${ECHO_T}no" >&6 |
2223 |
fi |
3760 |
fi |
2224 |
|
3761 |
|
2225 |
if test -z "$ArCmdRaw"; then |
3762 |
if test -z "$ArCmdRaw"; then |
Lines 2250-2256
Link Here
|
2250 |
fi |
3787 |
fi |
2251 |
rm -rf conftest* |
3788 |
rm -rf conftest* |
2252 |
case $HostPlatform in |
3789 |
case $HostPlatform in |
2253 |
*mingw32) |
3790 |
*mingw32) |
2254 |
ArCmd="`cygpath -w ${ArCmdRaw} | sed -e 's@\\\\@/@g' ` ${ArCmdArgs}" |
3791 |
ArCmd="`cygpath -w ${ArCmdRaw} | sed -e 's@\\\\@/@g' ` ${ArCmdArgs}" |
2255 |
;; |
3792 |
;; |
2256 |
*) ArCmd="${ArCmdRaw} ${ArCmdArgs}" |
3793 |
*) ArCmd="${ArCmdRaw} ${ArCmdArgs}" |
Lines 2269-2537
Link Here
|
2269 |
if test -z "$NeedRanLib"; then |
3806 |
if test -z "$NeedRanLib"; then |
2270 |
RANLIB=':' |
3807 |
RANLIB=':' |
2271 |
test -n "$verbose" && echo " setting RANLIB to $RANLIB" |
3808 |
test -n "$verbose" && echo " setting RANLIB to $RANLIB" |
2272 |
|
3809 |
|
2273 |
else |
3810 |
else |
2274 |
# Extract the first word of "ranlib", so it can be a program name with args. |
3811 |
if test -n "$ac_tool_prefix"; then |
2275 |
set dummy ranlib; ac_word=$2 |
3812 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
2276 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3813 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
2277 |
echo "configure:2278: checking for $ac_word" >&5 |
3814 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2278 |
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
3815 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2279 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3816 |
if test "${ac_cv_prog_RANLIB+set}" = set; then |
|
|
3817 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2280 |
else |
3818 |
else |
2281 |
if test -n "$RANLIB"; then |
3819 |
if test -n "$RANLIB"; then |
2282 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
3820 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
2283 |
else |
3821 |
else |
2284 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3822 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2285 |
ac_dummy="$PATH" |
3823 |
for as_dir in $PATH |
2286 |
for ac_dir in $ac_dummy; do |
3824 |
do |
2287 |
test -z "$ac_dir" && ac_dir=. |
3825 |
IFS=$as_save_IFS |
2288 |
if test -f $ac_dir/$ac_word; then |
3826 |
test -z "$as_dir" && as_dir=. |
2289 |
ac_cv_prog_RANLIB="ranlib" |
3827 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2290 |
break |
3828 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2291 |
fi |
3829 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
2292 |
done |
3830 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2293 |
IFS="$ac_save_ifs" |
3831 |
break 2 |
2294 |
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
3832 |
fi |
|
|
3833 |
done |
3834 |
done |
3835 |
|
2295 |
fi |
3836 |
fi |
2296 |
fi |
3837 |
fi |
2297 |
RANLIB="$ac_cv_prog_RANLIB" |
3838 |
RANLIB=$ac_cv_prog_RANLIB |
2298 |
if test -n "$RANLIB"; then |
3839 |
if test -n "$RANLIB"; then |
2299 |
echo "$ac_t""$RANLIB" 1>&6 |
3840 |
echo "$as_me:$LINENO: result: $RANLIB" >&5 |
|
|
3841 |
echo "${ECHO_T}$RANLIB" >&6 |
2300 |
else |
3842 |
else |
2301 |
echo "$ac_t""no" 1>&6 |
3843 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3844 |
echo "${ECHO_T}no" >&6 |
2302 |
fi |
3845 |
fi |
2303 |
|
3846 |
|
2304 |
fi |
3847 |
fi |
|
|
3848 |
if test -z "$ac_cv_prog_RANLIB"; then |
3849 |
ac_ct_RANLIB=$RANLIB |
3850 |
# Extract the first word of "ranlib", so it can be a program name with args. |
3851 |
set dummy ranlib; ac_word=$2 |
3852 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
3853 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
3854 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then |
3855 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3856 |
else |
3857 |
if test -n "$ac_ct_RANLIB"; then |
3858 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
3859 |
else |
3860 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3861 |
for as_dir in $PATH |
3862 |
do |
3863 |
IFS=$as_save_IFS |
3864 |
test -z "$as_dir" && as_dir=. |
3865 |
for ac_exec_ext in '' $ac_executable_extensions; do |
3866 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
3867 |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
3868 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3869 |
break 2 |
3870 |
fi |
3871 |
done |
3872 |
done |
2305 |
|
3873 |
|
2306 |
|
3874 |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" |
2307 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
3875 |
fi |
2308 |
echo "configure:2309: checking whether ln -s works" >&5 |
3876 |
fi |
2309 |
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
3877 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
2310 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3878 |
if test -n "$ac_ct_RANLIB"; then |
|
|
3879 |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 |
3880 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6 |
2311 |
else |
3881 |
else |
2312 |
rm -f conftestdata |
3882 |
echo "$as_me:$LINENO: result: no" >&5 |
2313 |
if ln -s X conftestdata 2>/dev/null |
3883 |
echo "${ECHO_T}no" >&6 |
2314 |
then |
3884 |
fi |
2315 |
rm -f conftestdata |
3885 |
|
2316 |
ac_cv_prog_LN_S="ln -s" |
3886 |
RANLIB=$ac_ct_RANLIB |
2317 |
else |
3887 |
else |
2318 |
ac_cv_prog_LN_S=ln |
3888 |
RANLIB="$ac_cv_prog_RANLIB" |
2319 |
fi |
3889 |
fi |
|
|
3890 |
|
2320 |
fi |
3891 |
fi |
2321 |
LN_S="$ac_cv_prog_LN_S" |
3892 |
|
2322 |
if test "$ac_cv_prog_LN_S" = "ln -s"; then |
3893 |
|
2323 |
echo "$ac_t""yes" 1>&6 |
3894 |
echo "$as_me:$LINENO: checking whether ln -s works" >&5 |
|
|
3895 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 |
3896 |
LN_S=$as_ln_s |
3897 |
if test "$LN_S" = "ln -s"; then |
3898 |
echo "$as_me:$LINENO: result: yes" >&5 |
3899 |
echo "${ECHO_T}yes" >&6 |
2324 |
else |
3900 |
else |
2325 |
echo "$ac_t""no" 1>&6 |
3901 |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5 |
|
|
3902 |
echo "${ECHO_T}no, using $LN_S" >&6 |
2326 |
fi |
3903 |
fi |
2327 |
|
3904 |
|
2328 |
|
3905 |
|
2329 |
|
3906 |
|
2330 |
# Extract the first word of "sed", so it can be a program name with args. |
3907 |
# Extract the first word of "sed", so it can be a program name with args. |
2331 |
set dummy sed; ac_word=$2 |
3908 |
set dummy sed; ac_word=$2 |
2332 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3909 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2333 |
echo "configure:2334: checking for $ac_word" >&5 |
3910 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2334 |
if eval "test \"`echo '$''{'ac_cv_path_SedCmd'+set}'`\" = set"; then |
3911 |
if test "${ac_cv_path_SedCmd+set}" = set; then |
2335 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3912 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2336 |
else |
3913 |
else |
2337 |
case "$SedCmd" in |
3914 |
case $SedCmd in |
2338 |
/*) |
3915 |
[\\/]* | ?:[\\/]*) |
2339 |
ac_cv_path_SedCmd="$SedCmd" # Let the user override the test with a path. |
3916 |
ac_cv_path_SedCmd="$SedCmd" # Let the user override the test with a path. |
2340 |
;; |
3917 |
;; |
2341 |
?:/*) |
|
|
2342 |
ac_cv_path_SedCmd="$SedCmd" # Let the user override the test with a dos path. |
2343 |
;; |
2344 |
*) |
3918 |
*) |
2345 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3919 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2346 |
ac_dummy="$PATH" |
3920 |
for as_dir in $PATH |
2347 |
for ac_dir in $ac_dummy; do |
3921 |
do |
2348 |
test -z "$ac_dir" && ac_dir=. |
3922 |
IFS=$as_save_IFS |
2349 |
if test -f $ac_dir/$ac_word; then |
3923 |
test -z "$as_dir" && as_dir=. |
2350 |
ac_cv_path_SedCmd="$ac_dir/$ac_word" |
3924 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2351 |
break |
3925 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2352 |
fi |
3926 |
ac_cv_path_SedCmd="$as_dir/$ac_word$ac_exec_ext" |
2353 |
done |
3927 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2354 |
IFS="$ac_save_ifs" |
3928 |
break 2 |
|
|
3929 |
fi |
3930 |
done |
3931 |
done |
3932 |
|
2355 |
;; |
3933 |
;; |
2356 |
esac |
3934 |
esac |
2357 |
fi |
3935 |
fi |
2358 |
SedCmd="$ac_cv_path_SedCmd" |
3936 |
SedCmd=$ac_cv_path_SedCmd |
|
|
3937 |
|
2359 |
if test -n "$SedCmd"; then |
3938 |
if test -n "$SedCmd"; then |
2360 |
echo "$ac_t""$SedCmd" 1>&6 |
3939 |
echo "$as_me:$LINENO: result: $SedCmd" >&5 |
|
|
3940 |
echo "${ECHO_T}$SedCmd" >&6 |
2361 |
else |
3941 |
else |
2362 |
echo "$ac_t""no" 1>&6 |
3942 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3943 |
echo "${ECHO_T}no" >&6 |
2363 |
fi |
3944 |
fi |
2364 |
|
3945 |
|
2365 |
|
3946 |
|
2366 |
|
3947 |
|
2367 |
# Extract the first word of "time", so it can be a program name with args. |
3948 |
# Extract the first word of "time", so it can be a program name with args. |
2368 |
set dummy time; ac_word=$2 |
3949 |
set dummy time; ac_word=$2 |
2369 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3950 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2370 |
echo "configure:2371: checking for $ac_word" >&5 |
3951 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2371 |
if eval "test \"`echo '$''{'ac_cv_path_TimeCmd'+set}'`\" = set"; then |
3952 |
if test "${ac_cv_path_TimeCmd+set}" = set; then |
2372 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3953 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2373 |
else |
3954 |
else |
2374 |
case "$TimeCmd" in |
3955 |
case $TimeCmd in |
2375 |
/*) |
3956 |
[\\/]* | ?:[\\/]*) |
2376 |
ac_cv_path_TimeCmd="$TimeCmd" # Let the user override the test with a path. |
3957 |
ac_cv_path_TimeCmd="$TimeCmd" # Let the user override the test with a path. |
2377 |
;; |
3958 |
;; |
2378 |
?:/*) |
|
|
2379 |
ac_cv_path_TimeCmd="$TimeCmd" # Let the user override the test with a dos path. |
2380 |
;; |
2381 |
*) |
3959 |
*) |
2382 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
3960 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2383 |
ac_dummy="$PATH" |
3961 |
for as_dir in $PATH |
2384 |
for ac_dir in $ac_dummy; do |
3962 |
do |
2385 |
test -z "$ac_dir" && ac_dir=. |
3963 |
IFS=$as_save_IFS |
2386 |
if test -f $ac_dir/$ac_word; then |
3964 |
test -z "$as_dir" && as_dir=. |
2387 |
ac_cv_path_TimeCmd="$ac_dir/$ac_word" |
3965 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2388 |
break |
3966 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2389 |
fi |
3967 |
ac_cv_path_TimeCmd="$as_dir/$ac_word$ac_exec_ext" |
2390 |
done |
3968 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2391 |
IFS="$ac_save_ifs" |
3969 |
break 2 |
|
|
3970 |
fi |
3971 |
done |
3972 |
done |
3973 |
|
2392 |
;; |
3974 |
;; |
2393 |
esac |
3975 |
esac |
2394 |
fi |
3976 |
fi |
2395 |
TimeCmd="$ac_cv_path_TimeCmd" |
3977 |
TimeCmd=$ac_cv_path_TimeCmd |
|
|
3978 |
|
2396 |
if test -n "$TimeCmd"; then |
3979 |
if test -n "$TimeCmd"; then |
2397 |
echo "$ac_t""$TimeCmd" 1>&6 |
3980 |
echo "$as_me:$LINENO: result: $TimeCmd" >&5 |
|
|
3981 |
echo "${ECHO_T}$TimeCmd" >&6 |
2398 |
else |
3982 |
else |
2399 |
echo "$ac_t""no" 1>&6 |
3983 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
3984 |
echo "${ECHO_T}no" >&6 |
2400 |
fi |
3985 |
fi |
2401 |
|
3986 |
|
2402 |
|
3987 |
|
2403 |
|
3988 |
|
2404 |
for ac_prog in gtar tar |
3989 |
for ac_prog in gtar tar |
2405 |
do |
3990 |
do |
2406 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
3991 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2407 |
set dummy $ac_prog; ac_word=$2 |
3992 |
set dummy $ac_prog; ac_word=$2 |
2408 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3993 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2409 |
echo "configure:2410: checking for $ac_word" >&5 |
3994 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2410 |
if eval "test \"`echo '$''{'ac_cv_path_TarCmd'+set}'`\" = set"; then |
3995 |
if test "${ac_cv_path_TarCmd+set}" = set; then |
2411 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3996 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2412 |
else |
3997 |
else |
2413 |
case "$TarCmd" in |
3998 |
case $TarCmd in |
2414 |
/*) |
3999 |
[\\/]* | ?:[\\/]*) |
2415 |
ac_cv_path_TarCmd="$TarCmd" # Let the user override the test with a path. |
4000 |
ac_cv_path_TarCmd="$TarCmd" # Let the user override the test with a path. |
2416 |
;; |
4001 |
;; |
2417 |
?:/*) |
|
|
2418 |
ac_cv_path_TarCmd="$TarCmd" # Let the user override the test with a dos path. |
2419 |
;; |
2420 |
*) |
4002 |
*) |
2421 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4003 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2422 |
ac_dummy="$PATH" |
4004 |
for as_dir in $PATH |
2423 |
for ac_dir in $ac_dummy; do |
4005 |
do |
2424 |
test -z "$ac_dir" && ac_dir=. |
4006 |
IFS=$as_save_IFS |
2425 |
if test -f $ac_dir/$ac_word; then |
4007 |
test -z "$as_dir" && as_dir=. |
2426 |
ac_cv_path_TarCmd="$ac_dir/$ac_word" |
4008 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2427 |
break |
4009 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2428 |
fi |
4010 |
ac_cv_path_TarCmd="$as_dir/$ac_word$ac_exec_ext" |
2429 |
done |
4011 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2430 |
IFS="$ac_save_ifs" |
4012 |
break 2 |
|
|
4013 |
fi |
4014 |
done |
4015 |
done |
4016 |
|
2431 |
;; |
4017 |
;; |
2432 |
esac |
4018 |
esac |
2433 |
fi |
4019 |
fi |
2434 |
TarCmd="$ac_cv_path_TarCmd" |
4020 |
TarCmd=$ac_cv_path_TarCmd |
|
|
4021 |
|
2435 |
if test -n "$TarCmd"; then |
4022 |
if test -n "$TarCmd"; then |
2436 |
echo "$ac_t""$TarCmd" 1>&6 |
4023 |
echo "$as_me:$LINENO: result: $TarCmd" >&5 |
|
|
4024 |
echo "${ECHO_T}$TarCmd" >&6 |
2437 |
else |
4025 |
else |
2438 |
echo "$ac_t""no" 1>&6 |
4026 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
4027 |
echo "${ECHO_T}no" >&6 |
2439 |
fi |
4028 |
fi |
2440 |
|
4029 |
|
2441 |
test -n "$TarCmd" && break |
4030 |
test -n "$TarCmd" && break |
2442 |
done |
4031 |
done |
2443 |
test -n "$TarCmd" || TarCmd="tar" |
4032 |
test -n "$TarCmd" || TarCmd="tar" |
2444 |
|
4033 |
|
2445 |
|
4034 |
|
2446 |
for ac_prog in gzip compress |
4035 |
for ac_prog in gzip compress |
2447 |
do |
4036 |
do |
2448 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4037 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2449 |
set dummy $ac_prog; ac_word=$2 |
4038 |
set dummy $ac_prog; ac_word=$2 |
2450 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4039 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2451 |
echo "configure:2452: checking for $ac_word" >&5 |
4040 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2452 |
if eval "test \"`echo '$''{'ac_cv_path_CompressCmd'+set}'`\" = set"; then |
4041 |
if test "${ac_cv_path_CompressCmd+set}" = set; then |
2453 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4042 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2454 |
else |
4043 |
else |
2455 |
case "$CompressCmd" in |
4044 |
case $CompressCmd in |
2456 |
/*) |
4045 |
[\\/]* | ?:[\\/]*) |
2457 |
ac_cv_path_CompressCmd="$CompressCmd" # Let the user override the test with a path. |
4046 |
ac_cv_path_CompressCmd="$CompressCmd" # Let the user override the test with a path. |
2458 |
;; |
4047 |
;; |
2459 |
?:/*) |
|
|
2460 |
ac_cv_path_CompressCmd="$CompressCmd" # Let the user override the test with a dos path. |
2461 |
;; |
2462 |
*) |
4048 |
*) |
2463 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4049 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2464 |
ac_dummy="$PATH" |
4050 |
for as_dir in $PATH |
2465 |
for ac_dir in $ac_dummy; do |
4051 |
do |
2466 |
test -z "$ac_dir" && ac_dir=. |
4052 |
IFS=$as_save_IFS |
2467 |
if test -f $ac_dir/$ac_word; then |
4053 |
test -z "$as_dir" && as_dir=. |
2468 |
ac_cv_path_CompressCmd="$ac_dir/$ac_word" |
4054 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2469 |
break |
4055 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2470 |
fi |
4056 |
ac_cv_path_CompressCmd="$as_dir/$ac_word$ac_exec_ext" |
2471 |
done |
4057 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2472 |
IFS="$ac_save_ifs" |
4058 |
break 2 |
|
|
4059 |
fi |
4060 |
done |
4061 |
done |
4062 |
|
2473 |
;; |
4063 |
;; |
2474 |
esac |
4064 |
esac |
2475 |
fi |
4065 |
fi |
2476 |
CompressCmd="$ac_cv_path_CompressCmd" |
4066 |
CompressCmd=$ac_cv_path_CompressCmd |
|
|
4067 |
|
2477 |
if test -n "$CompressCmd"; then |
4068 |
if test -n "$CompressCmd"; then |
2478 |
echo "$ac_t""$CompressCmd" 1>&6 |
4069 |
echo "$as_me:$LINENO: result: $CompressCmd" >&5 |
|
|
4070 |
echo "${ECHO_T}$CompressCmd" >&6 |
2479 |
else |
4071 |
else |
2480 |
echo "$ac_t""no" 1>&6 |
4072 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
4073 |
echo "${ECHO_T}no" >&6 |
2481 |
fi |
4074 |
fi |
2482 |
|
4075 |
|
2483 |
test -n "$CompressCmd" && break |
4076 |
test -n "$CompressCmd" && break |
2484 |
done |
4077 |
done |
2485 |
test -n "$CompressCmd" || CompressCmd="gzip" |
4078 |
test -n "$CompressCmd" || CompressCmd="gzip" |
2486 |
|
4079 |
|
2487 |
|
4080 |
|
2488 |
for ac_prog in openjade jade |
4081 |
for ac_prog in openjade jade |
2489 |
do |
4082 |
do |
2490 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
4083 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2491 |
set dummy $ac_prog; ac_word=$2 |
4084 |
set dummy $ac_prog; ac_word=$2 |
2492 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4085 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2493 |
echo "configure:2494: checking for $ac_word" >&5 |
4086 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2494 |
if eval "test \"`echo '$''{'ac_cv_path_JadeCmd'+set}'`\" = set"; then |
4087 |
if test "${ac_cv_path_JadeCmd+set}" = set; then |
2495 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4088 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2496 |
else |
4089 |
else |
2497 |
case "$JadeCmd" in |
4090 |
case $JadeCmd in |
2498 |
/*) |
4091 |
[\\/]* | ?:[\\/]*) |
2499 |
ac_cv_path_JadeCmd="$JadeCmd" # Let the user override the test with a path. |
4092 |
ac_cv_path_JadeCmd="$JadeCmd" # Let the user override the test with a path. |
2500 |
;; |
4093 |
;; |
2501 |
?:/*) |
|
|
2502 |
ac_cv_path_JadeCmd="$JadeCmd" # Let the user override the test with a dos path. |
2503 |
;; |
2504 |
*) |
4094 |
*) |
2505 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4095 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2506 |
ac_dummy="$PATH" |
4096 |
for as_dir in $PATH |
2507 |
for ac_dir in $ac_dummy; do |
4097 |
do |
2508 |
test -z "$ac_dir" && ac_dir=. |
4098 |
IFS=$as_save_IFS |
2509 |
if test -f $ac_dir/$ac_word; then |
4099 |
test -z "$as_dir" && as_dir=. |
2510 |
ac_cv_path_JadeCmd="$ac_dir/$ac_word" |
4100 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2511 |
break |
4101 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2512 |
fi |
4102 |
ac_cv_path_JadeCmd="$as_dir/$ac_word$ac_exec_ext" |
2513 |
done |
4103 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2514 |
IFS="$ac_save_ifs" |
4104 |
break 2 |
|
|
4105 |
fi |
4106 |
done |
4107 |
done |
4108 |
|
2515 |
;; |
4109 |
;; |
2516 |
esac |
4110 |
esac |
2517 |
fi |
4111 |
fi |
2518 |
JadeCmd="$ac_cv_path_JadeCmd" |
4112 |
JadeCmd=$ac_cv_path_JadeCmd |
|
|
4113 |
|
2519 |
if test -n "$JadeCmd"; then |
4114 |
if test -n "$JadeCmd"; then |
2520 |
echo "$ac_t""$JadeCmd" 1>&6 |
4115 |
echo "$as_me:$LINENO: result: $JadeCmd" >&5 |
|
|
4116 |
echo "${ECHO_T}$JadeCmd" >&6 |
2521 |
else |
4117 |
else |
2522 |
echo "$ac_t""no" 1>&6 |
4118 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
4119 |
echo "${ECHO_T}no" >&6 |
2523 |
fi |
4120 |
fi |
2524 |
|
4121 |
|
2525 |
test -n "$JadeCmd" && break |
4122 |
test -n "$JadeCmd" && break |
2526 |
done |
4123 |
done |
2527 |
test -n "$JadeCmd" || JadeCmd="jade" |
4124 |
test -n "$JadeCmd" || JadeCmd="jade" |
2528 |
|
4125 |
|
2529 |
echo $ac_n "checking for DocBook CATALOG""... $ac_c" 1>&6 |
4126 |
echo "$as_me:$LINENO: checking for DocBook CATALOG" >&5 |
2530 |
echo "configure:2531: checking for DocBook CATALOG" >&5 |
4127 |
echo $ECHO_N "checking for DocBook CATALOG... $ECHO_C" >&6 |
2531 |
if eval "test \"`echo '$''{'fptools_cv_sgml_catalog'+set}'`\" = set"; then |
4128 |
if test "${fptools_cv_sgml_catalog+set}" = set; then |
2532 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4129 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2533 |
else |
4130 |
else |
2534 |
|
4131 |
|
2535 |
cat > conftest.sgml << EOF |
4132 |
cat > conftest.sgml << EOF |
2536 |
<!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> |
4133 |
<!DOCTYPE Article PUBLIC "-//OASIS//DTD DocBook V3.1//EN"> |
2537 |
<Article> |
4134 |
<Article> |
Lines 2552-2558
Link Here
|
2552 |
if test -z "$SGML_CATALOG_FILES" ; then |
4149 |
if test -z "$SGML_CATALOG_FILES" ; then |
2553 |
for fptools_catalog in /etc/sgml/catalog /etc/sgml.catalog /usr/share/sgml/CATALOG.docbkdsl glafp-utils/docbook/CATALOG*; do |
4150 |
for fptools_catalog in /etc/sgml/catalog /etc/sgml.catalog /usr/share/sgml/CATALOG.docbkdsl glafp-utils/docbook/CATALOG*; do |
2554 |
ac_try="$JadeCmd -t rtf -d docs/fptools-both.dsl#print -c $fptools_catalog conftest.sgml" |
4151 |
ac_try="$JadeCmd -t rtf -d docs/fptools-both.dsl#print -c $fptools_catalog conftest.sgml" |
2555 |
if { (eval echo configure:2556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; then |
4152 |
if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
4153 |
(eval $ac_try) 2>&5 |
4154 |
ac_status=$? |
4155 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4156 |
(exit $ac_status); }; then |
2556 |
fptools_cv_sgml_catalog=$fptools_catalog |
4157 |
fptools_cv_sgml_catalog=$fptools_catalog |
2557 |
break |
4158 |
break |
2558 |
fi |
4159 |
fi |
Lines 2563-2583
Link Here
|
2563 |
fi |
4164 |
fi |
2564 |
|
4165 |
|
2565 |
fi |
4166 |
fi |
2566 |
|
4167 |
echo "$as_me:$LINENO: result: $fptools_cv_sgml_catalog" >&5 |
2567 |
echo "$ac_t""$fptools_cv_sgml_catalog" 1>&6 |
4168 |
echo "${ECHO_T}$fptools_cv_sgml_catalog" >&6 |
2568 |
rm -rf conftest* |
4169 |
rm -rf conftest* |
2569 |
if test $fptools_cv_sgml_catalog != "no"; then |
4170 |
if test $fptools_cv_sgml_catalog != "no"; then |
2570 |
Catalog=$fptools_cv_sgml_catalog |
4171 |
Catalog=$fptools_cv_sgml_catalog |
2571 |
fi |
4172 |
fi |
2572 |
|
4173 |
|
2573 |
if test -z "$Catalog"; then |
4174 |
if test -z "$Catalog"; then |
2574 |
echo "$ac_t""Warning: You will not be able to build the documentation." 1>&6 |
4175 |
echo "$as_me:$LINENO: result: Warning: You will not be able to build the documentation." >&5 |
|
|
4176 |
echo "${ECHO_T}Warning: You will not be able to build the documentation." >&6 |
2575 |
fi |
4177 |
fi |
2576 |
case $Catalog in |
4178 |
case $Catalog in |
2577 |
yes) # assume it is provided by other means (e.g., SGML_CATALOG_FILES env var). |
4179 |
yes) # assume it is provided by other means (e.g., SGML_CATALOG_FILES env var). |
2578 |
Catalog= |
4180 |
Catalog= |
2579 |
;; |
4181 |
;; |
2580 |
glafp*) |
4182 |
glafp*) |
2581 |
case $HostOS_CPP in |
4183 |
case $HostOS_CPP in |
2582 |
mingw32) |
4184 |
mingw32) |
2583 |
Catalog=`cygpath -w $hardtop/$Catalog` |
4185 |
Catalog=`cygpath -w $hardtop/$Catalog` |
Lines 2586-2592
Link Here
|
2586 |
;; |
4188 |
;; |
2587 |
esac |
4189 |
esac |
2588 |
;; |
4190 |
;; |
2589 |
esac |
4191 |
esac |
2590 |
|
4192 |
|
2591 |
|
4193 |
|
2592 |
compress_nm=`basename $CompressCmd` |
4194 |
compress_nm=`basename $CompressCmd` |
Lines 2606-2614
Link Here
|
2606 |
else |
4208 |
else |
2607 |
UseSrcTreeHappy=NO |
4209 |
UseSrcTreeHappy=NO |
2608 |
|
4210 |
|
2609 |
fi |
4211 |
fi; |
2610 |
|
4212 |
if test "$BootingFromHc" = "NO" && test x$with_happy != xno; then |
2611 |
if test "$BootingFromHc" = "NO"; then |
|
|
2612 |
|
4213 |
|
2613 |
if test -d $srcdir/happy; then |
4214 |
if test -d $srcdir/happy; then |
2614 |
SrcTreeHappyCmd=$hardtop/happy/src/happy-inplace |
4215 |
SrcTreeHappyCmd=$hardtop/happy/src/happy-inplace |
Lines 2618-2662
Link Here
|
2618 |
else |
4219 |
else |
2619 |
# Extract the first word of "happy", so it can be a program name with args. |
4220 |
# Extract the first word of "happy", so it can be a program name with args. |
2620 |
set dummy happy; ac_word=$2 |
4221 |
set dummy happy; ac_word=$2 |
2621 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4222 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2622 |
echo "configure:2623: checking for $ac_word" >&5 |
4223 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2623 |
if eval "test \"`echo '$''{'ac_cv_path_HappyCmd'+set}'`\" = set"; then |
4224 |
if test "${ac_cv_path_HappyCmd+set}" = set; then |
2624 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4225 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2625 |
else |
4226 |
else |
2626 |
case "$HappyCmd" in |
4227 |
case $HappyCmd in |
2627 |
/*) |
4228 |
[\\/]* | ?:[\\/]*) |
2628 |
ac_cv_path_HappyCmd="$HappyCmd" # Let the user override the test with a path. |
4229 |
ac_cv_path_HappyCmd="$HappyCmd" # Let the user override the test with a path. |
2629 |
;; |
4230 |
;; |
2630 |
?:/*) |
|
|
2631 |
ac_cv_path_HappyCmd="$HappyCmd" # Let the user override the test with a dos path. |
2632 |
;; |
2633 |
*) |
4231 |
*) |
2634 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
4232 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2635 |
ac_dummy="$PATH" |
4233 |
for as_dir in $PATH |
2636 |
for ac_dir in $ac_dummy; do |
4234 |
do |
2637 |
test -z "$ac_dir" && ac_dir=. |
4235 |
IFS=$as_save_IFS |
2638 |
if test -f $ac_dir/$ac_word; then |
4236 |
test -z "$as_dir" && as_dir=. |
2639 |
ac_cv_path_HappyCmd="$ac_dir/$ac_word" |
4237 |
for ac_exec_ext in '' $ac_executable_extensions; do |
2640 |
break |
4238 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2641 |
fi |
4239 |
ac_cv_path_HappyCmd="$as_dir/$ac_word$ac_exec_ext" |
2642 |
done |
4240 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2643 |
IFS="$ac_save_ifs" |
4241 |
break 2 |
|
|
4242 |
fi |
4243 |
done |
4244 |
done |
4245 |
|
2644 |
test -z "$ac_cv_path_HappyCmd" && ac_cv_path_HappyCmd="$SrcTreeHappyCmd" |
4246 |
test -z "$ac_cv_path_HappyCmd" && ac_cv_path_HappyCmd="$SrcTreeHappyCmd" |
2645 |
;; |
4247 |
;; |
2646 |
esac |
4248 |
esac |
2647 |
fi |
4249 |
fi |
2648 |
HappyCmd="$ac_cv_path_HappyCmd" |
4250 |
HappyCmd=$ac_cv_path_HappyCmd |
|
|
4251 |
|
2649 |
if test -n "$HappyCmd"; then |
4252 |
if test -n "$HappyCmd"; then |
2650 |
echo "$ac_t""$HappyCmd" 1>&6 |
4253 |
echo "$as_me:$LINENO: result: $HappyCmd" >&5 |
|
|
4254 |
echo "${ECHO_T}$HappyCmd" >&6 |
2651 |
else |
4255 |
else |
2652 |
echo "$ac_t""no" 1>&6 |
4256 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
4257 |
echo "${ECHO_T}no" >&6 |
2653 |
fi |
4258 |
fi |
2654 |
|
4259 |
|
2655 |
fi |
4260 |
fi |
2656 |
echo $ac_n "checking for version of happy""... $ac_c" 1>&6 |
4261 |
echo "$as_me:$LINENO: checking for version of happy" >&5 |
2657 |
echo "configure:2658: checking for version of happy" >&5 |
4262 |
echo $ECHO_N "checking for version of happy... $ECHO_C" >&6 |
2658 |
if eval "test \"`echo '$''{'fptools_cv_happy_version'+set}'`\" = set"; then |
4263 |
if test "${fptools_cv_happy_version+set}" = set; then |
2659 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4264 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2660 |
else |
4265 |
else |
2661 |
if test x"$HappyCmd" = x"$SrcTreeHappyCmd"; then |
4266 |
if test x"$HappyCmd" = x"$SrcTreeHappyCmd"; then |
2662 |
fptools_cv_happy_version=`grep '^ProjectVersion[ ]*=' $srcdir/happy/mk/version.mk | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`; |
4267 |
fptools_cv_happy_version=`grep '^ProjectVersion[ ]*=' $srcdir/happy/mk/version.mk | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`; |
Lines 2668-2675
Link Here
|
2668 |
fi; |
4273 |
fi; |
2669 |
|
4274 |
|
2670 |
fi |
4275 |
fi |
2671 |
|
4276 |
echo "$as_me:$LINENO: result: $fptools_cv_happy_version" >&5 |
2672 |
echo "$ac_t""$fptools_cv_happy_version" 1>&6 |
4277 |
echo "${ECHO_T}$fptools_cv_happy_version" >&6 |
2673 |
if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Parser.hs; then |
4278 |
if test -d $srcdir/ghc -a ! -f $srcdir/ghc/compiler/parser/Parser.hs; then |
2674 |
if ( IFS="."; |
4279 |
if ( IFS="."; |
2675 |
a="$fptools_cv_happy_version"; b="1.13"; |
4280 |
a="$fptools_cv_happy_version"; b="1.13"; |
Lines 2682-2689
Link Here
|
2682 |
done |
4287 |
done |
2683 |
test ${h1} -lt ${h2} |
4288 |
test ${h1} -lt ${h2} |
2684 |
) |
4289 |
) |
2685 |
then |
4290 |
then |
2686 |
{ echo "configure: error: Happy version 1.13 or later is required to compile GHC." 1>&2; exit 1; } |
4291 |
{ { echo "$as_me:$LINENO: error: Happy version 1.13 or later is required to compile GHC." >&5 |
|
|
4292 |
echo "$as_me: error: Happy version 1.13 or later is required to compile GHC." >&2;} |
4293 |
{ (exit 1); exit 1; }; } |
2687 |
|
4294 |
|
2688 |
fi |
4295 |
fi |
2689 |
fi |
4296 |
fi |
Lines 2694-2739
Link Here
|
2694 |
|
4301 |
|
2695 |
|
4302 |
|
2696 |
|
4303 |
|
2697 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
4304 |
|
2698 |
echo "configure:2699: checking for ANSI C header files" >&5 |
4305 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
2699 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
4306 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
2700 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4307 |
if test "${ac_cv_header_stdc+set}" = set; then |
|
|
4308 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2701 |
else |
4309 |
else |
2702 |
cat > conftest.$ac_ext <<EOF |
4310 |
cat >conftest.$ac_ext <<_ACEOF |
2703 |
#line 2704 "configure" |
4311 |
#line $LINENO "configure" |
2704 |
#include "confdefs.h" |
4312 |
#include "confdefs.h" |
2705 |
#include <stdlib.h> |
4313 |
#include <stdlib.h> |
2706 |
#include <stdarg.h> |
4314 |
#include <stdarg.h> |
2707 |
#include <string.h> |
4315 |
#include <string.h> |
2708 |
#include <float.h> |
4316 |
#include <float.h> |
2709 |
EOF |
4317 |
|
2710 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4318 |
_ACEOF |
2711 |
{ (eval echo configure:2712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4319 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
2712 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4320 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2713 |
if test -z "$ac_err"; then |
4321 |
ac_status=$? |
2714 |
rm -rf conftest* |
4322 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
|
|
4323 |
rm -f conftest.er1 |
4324 |
cat conftest.err >&5 |
4325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4326 |
(exit $ac_status); } >/dev/null; then |
4327 |
if test -s conftest.err; then |
4328 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4329 |
else |
4330 |
ac_cpp_err= |
4331 |
fi |
4332 |
else |
4333 |
ac_cpp_err=yes |
4334 |
fi |
4335 |
if test -z "$ac_cpp_err"; then |
2715 |
ac_cv_header_stdc=yes |
4336 |
ac_cv_header_stdc=yes |
2716 |
else |
4337 |
else |
2717 |
echo "$ac_err" >&5 |
4338 |
echo "$as_me: failed program was:" >&5 |
2718 |
echo "configure: failed program was:" >&5 |
|
|
2719 |
cat conftest.$ac_ext >&5 |
4339 |
cat conftest.$ac_ext >&5 |
2720 |
rm -rf conftest* |
|
|
2721 |
ac_cv_header_stdc=no |
4340 |
ac_cv_header_stdc=no |
2722 |
fi |
4341 |
fi |
2723 |
rm -f conftest* |
4342 |
rm -f conftest.err conftest.$ac_ext |
2724 |
|
4343 |
|
2725 |
if test $ac_cv_header_stdc = yes; then |
4344 |
if test $ac_cv_header_stdc = yes; then |
2726 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4345 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2727 |
cat > conftest.$ac_ext <<EOF |
4346 |
cat >conftest.$ac_ext <<_ACEOF |
2728 |
#line 2729 "configure" |
4347 |
#line $LINENO "configure" |
2729 |
#include "confdefs.h" |
4348 |
#include "confdefs.h" |
2730 |
#include <string.h> |
4349 |
#include <string.h> |
2731 |
EOF |
4350 |
|
|
|
4351 |
_ACEOF |
2732 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4352 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2733 |
egrep "memchr" >/dev/null 2>&1; then |
4353 |
egrep "memchr" >/dev/null 2>&1; then |
2734 |
: |
4354 |
: |
2735 |
else |
4355 |
else |
2736 |
rm -rf conftest* |
|
|
2737 |
ac_cv_header_stdc=no |
4356 |
ac_cv_header_stdc=no |
2738 |
fi |
4357 |
fi |
2739 |
rm -f conftest* |
4358 |
rm -f conftest* |
Lines 2742-2757
Link Here
|
2742 |
|
4361 |
|
2743 |
if test $ac_cv_header_stdc = yes; then |
4362 |
if test $ac_cv_header_stdc = yes; then |
2744 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4363 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2745 |
cat > conftest.$ac_ext <<EOF |
4364 |
cat >conftest.$ac_ext <<_ACEOF |
2746 |
#line 2747 "configure" |
4365 |
#line $LINENO "configure" |
2747 |
#include "confdefs.h" |
4366 |
#include "confdefs.h" |
2748 |
#include <stdlib.h> |
4367 |
#include <stdlib.h> |
2749 |
EOF |
4368 |
|
|
|
4369 |
_ACEOF |
2750 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4370 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
2751 |
egrep "free" >/dev/null 2>&1; then |
4371 |
egrep "free" >/dev/null 2>&1; then |
2752 |
: |
4372 |
: |
2753 |
else |
4373 |
else |
2754 |
rm -rf conftest* |
|
|
2755 |
ac_cv_header_stdc=no |
4374 |
ac_cv_header_stdc=no |
2756 |
fi |
4375 |
fi |
2757 |
rm -f conftest* |
4376 |
rm -f conftest* |
Lines 2760-3500
Link Here
|
2760 |
|
4379 |
|
2761 |
if test $ac_cv_header_stdc = yes; then |
4380 |
if test $ac_cv_header_stdc = yes; then |
2762 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4381 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
2763 |
if test "$cross_compiling" = yes; then |
4382 |
if test "$cross_compiling" = yes; then |
2764 |
: |
4383 |
: |
2765 |
else |
4384 |
else |
2766 |
cat > conftest.$ac_ext <<EOF |
4385 |
cat >conftest.$ac_ext <<_ACEOF |
2767 |
#line 2768 "configure" |
4386 |
#line $LINENO "configure" |
2768 |
#include "confdefs.h" |
4387 |
#include "confdefs.h" |
2769 |
#include <ctype.h> |
4388 |
#include <ctype.h> |
2770 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4389 |
#if ((' ' & 0x0FF) == 0x020) |
2771 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4390 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2772 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4391 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
2773 |
int main () { int i; for (i = 0; i < 256; i++) |
4392 |
#else |
2774 |
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
4393 |
# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ |
2775 |
exit (0); } |
4394 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
|
4395 |
|| ('s' <= (c) && (c) <= 'z')) |
4396 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4397 |
#endif |
2776 |
|
4398 |
|
2777 |
EOF |
4399 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
2778 |
if { (eval echo configure:2779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4400 |
int |
2779 |
then |
4401 |
main () |
|
|
4402 |
{ |
4403 |
int i; |
4404 |
for (i = 0; i < 256; i++) |
4405 |
if (XOR (islower (i), ISLOWER (i)) |
4406 |
|| toupper (i) != TOUPPER (i)) |
4407 |
exit(2); |
4408 |
exit (0); |
4409 |
} |
4410 |
_ACEOF |
4411 |
rm -f conftest$ac_exeext |
4412 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4413 |
(eval $ac_link) 2>&5 |
4414 |
ac_status=$? |
4415 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4416 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4417 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4418 |
(eval $ac_try) 2>&5 |
4419 |
ac_status=$? |
4420 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4421 |
(exit $ac_status); }; }; then |
2780 |
: |
4422 |
: |
2781 |
else |
4423 |
else |
2782 |
echo "configure: failed program was:" >&5 |
4424 |
echo "$as_me: program exited with status $ac_status" >&5 |
2783 |
cat conftest.$ac_ext >&5 |
4425 |
echo "$as_me: failed program was:" >&5 |
2784 |
rm -fr conftest* |
4426 |
cat conftest.$ac_ext >&5 |
2785 |
ac_cv_header_stdc=no |
4427 |
( exit $ac_status ) |
|
|
4428 |
ac_cv_header_stdc=no |
2786 |
fi |
4429 |
fi |
2787 |
rm -fr conftest* |
4430 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
2788 |
fi |
4431 |
fi |
2789 |
|
|
|
2790 |
fi |
4432 |
fi |
2791 |
fi |
4433 |
fi |
2792 |
|
4434 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
2793 |
echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
4435 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
2794 |
if test $ac_cv_header_stdc = yes; then |
4436 |
if test $ac_cv_header_stdc = yes; then |
2795 |
cat >> confdefs.h <<\EOF |
4437 |
|
|
|
4438 |
cat >>confdefs.h <<\_ACEOF |
2796 |
#define STDC_HEADERS 1 |
4439 |
#define STDC_HEADERS 1 |
2797 |
EOF |
4440 |
_ACEOF |
2798 |
|
4441 |
|
2799 |
fi |
4442 |
fi |
2800 |
|
4443 |
|
2801 |
|
4444 |
|
2802 |
for ac_hdr in Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h |
4445 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
2803 |
do |
|
|
2804 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2805 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2806 |
echo "configure:2807: checking for $ac_hdr" >&5 |
2807 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2808 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2809 |
else |
2810 |
cat > conftest.$ac_ext <<EOF |
2811 |
#line 2812 "configure" |
2812 |
#include "confdefs.h" |
2813 |
#include <$ac_hdr> |
2814 |
EOF |
2815 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2816 |
{ (eval echo configure:2817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2817 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2818 |
if test -z "$ac_err"; then |
2819 |
rm -rf conftest* |
2820 |
eval "ac_cv_header_$ac_safe=yes" |
2821 |
else |
2822 |
echo "$ac_err" >&5 |
2823 |
echo "configure: failed program was:" >&5 |
2824 |
cat conftest.$ac_ext >&5 |
2825 |
rm -rf conftest* |
2826 |
eval "ac_cv_header_$ac_safe=no" |
2827 |
fi |
2828 |
rm -f conftest* |
2829 |
fi |
2830 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2831 |
echo "$ac_t""yes" 1>&6 |
2832 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
2833 |
cat >> confdefs.h <<EOF |
2834 |
#define $ac_tr_hdr 1 |
2835 |
EOF |
2836 |
|
2837 |
else |
2838 |
echo "$ac_t""no" 1>&6 |
2839 |
fi |
2840 |
done |
2841 |
|
4446 |
|
2842 |
|
4447 |
|
2843 |
ac_safe=`echo "readline/readline.h" | sed 'y%./+-%__p_%'` |
|
|
2844 |
echo $ac_n "checking for readline/readline.h""... $ac_c" 1>&6 |
2845 |
echo "configure:2846: checking for readline/readline.h" >&5 |
2846 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2847 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2848 |
else |
2849 |
cat > conftest.$ac_ext <<EOF |
2850 |
#line 2851 "configure" |
2851 |
#include "confdefs.h" |
2852 |
#include <readline/readline.h> |
2853 |
EOF |
2854 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2855 |
{ (eval echo configure:2856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2856 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2857 |
if test -z "$ac_err"; then |
2858 |
rm -rf conftest* |
2859 |
eval "ac_cv_header_$ac_safe=yes" |
2860 |
else |
2861 |
echo "$ac_err" >&5 |
2862 |
echo "configure: failed program was:" >&5 |
2863 |
cat conftest.$ac_ext >&5 |
2864 |
rm -rf conftest* |
2865 |
eval "ac_cv_header_$ac_safe=no" |
2866 |
fi |
2867 |
rm -f conftest* |
2868 |
fi |
2869 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2870 |
echo "$ac_t""yes" 1>&6 |
2871 |
HaveReadlineReadlineH=YES |
2872 |
else |
2873 |
echo "$ac_t""no" 1>&6 |
2874 |
HaveReadlineReadlineH=NO |
2875 |
fi |
2876 |
|
4448 |
|
2877 |
ac_safe=`echo "readline/history.h" | sed 'y%./+-%__p_%'` |
|
|
2878 |
echo $ac_n "checking for readline/history.h""... $ac_c" 1>&6 |
2879 |
echo "configure:2880: checking for readline/history.h" >&5 |
2880 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2881 |
echo $ac_n "(cached) $ac_c" 1>&6 |
2882 |
else |
2883 |
cat > conftest.$ac_ext <<EOF |
2884 |
#line 2885 "configure" |
2885 |
#include "confdefs.h" |
2886 |
#include <readline/history.h> |
2887 |
EOF |
2888 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2889 |
{ (eval echo configure:2890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2890 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2891 |
if test -z "$ac_err"; then |
2892 |
rm -rf conftest* |
2893 |
eval "ac_cv_header_$ac_safe=yes" |
2894 |
else |
2895 |
echo "$ac_err" >&5 |
2896 |
echo "configure: failed program was:" >&5 |
2897 |
cat conftest.$ac_ext >&5 |
2898 |
rm -rf conftest* |
2899 |
eval "ac_cv_header_$ac_safe=no" |
2900 |
fi |
2901 |
rm -f conftest* |
2902 |
fi |
2903 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
2904 |
echo "$ac_t""yes" 1>&6 |
2905 |
HaveReadlineHistoryH=YES |
2906 |
else |
2907 |
echo "$ac_t""no" 1>&6 |
2908 |
HaveReadlineHistoryH=NO |
2909 |
fi |
2910 |
|
4449 |
|
2911 |
|
4450 |
|
2912 |
if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then |
|
|
2913 |
HaveReadlineHeaders=YES |
2914 |
cat >> confdefs.h <<\EOF |
2915 |
#define HAVE_READLINE_HEADERS 1 |
2916 |
EOF |
2917 |
|
4451 |
|
2918 |
else |
|
|
2919 |
HaveReadlineHeaders=NO |
2920 |
cat >> confdefs.h <<\EOF |
2921 |
#define HAVE_READLINE_HEADERS 0 |
2922 |
EOF |
2923 |
|
4452 |
|
2924 |
fi |
|
|
2925 |
|
4453 |
|
2926 |
|
4454 |
|
2927 |
for ac_hdr in dos.h conio.h io.h std.h |
4455 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
4456 |
inttypes.h stdint.h unistd.h |
2928 |
do |
4457 |
do |
2929 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4458 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
2930 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4459 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
2931 |
echo "configure:2932: checking for $ac_hdr" >&5 |
4460 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2932 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4461 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
2933 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4462 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2934 |
else |
4463 |
else |
2935 |
cat > conftest.$ac_ext <<EOF |
4464 |
cat >conftest.$ac_ext <<_ACEOF |
2936 |
#line 2937 "configure" |
4465 |
#line $LINENO "configure" |
|
|
4466 |
#include "confdefs.h" |
4467 |
$ac_includes_default |
4468 |
|
4469 |
#include <$ac_header> |
4470 |
_ACEOF |
4471 |
rm -f conftest.$ac_objext |
4472 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4473 |
(eval $ac_compile) 2>&5 |
4474 |
ac_status=$? |
4475 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4476 |
(exit $ac_status); } && |
4477 |
{ ac_try='test -s conftest.$ac_objext' |
4478 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4479 |
(eval $ac_try) 2>&5 |
4480 |
ac_status=$? |
4481 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4482 |
(exit $ac_status); }; }; then |
4483 |
eval "$as_ac_Header=yes" |
4484 |
else |
4485 |
echo "$as_me: failed program was:" >&5 |
4486 |
cat conftest.$ac_ext >&5 |
4487 |
eval "$as_ac_Header=no" |
4488 |
fi |
4489 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4490 |
fi |
4491 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4492 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4493 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4494 |
cat >>confdefs.h <<_ACEOF |
4495 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4496 |
_ACEOF |
4497 |
|
4498 |
fi |
4499 |
|
4500 |
done |
4501 |
|
4502 |
|
4503 |
|
4504 |
|
4505 |
|
4506 |
|
4507 |
|
4508 |
|
4509 |
|
4510 |
|
4511 |
|
4512 |
|
4513 |
|
4514 |
|
4515 |
|
4516 |
|
4517 |
|
4518 |
|
4519 |
|
4520 |
|
4521 |
|
4522 |
|
4523 |
|
4524 |
|
4525 |
|
4526 |
|
4527 |
|
4528 |
|
4529 |
|
4530 |
|
4531 |
|
4532 |
|
4533 |
|
4534 |
|
4535 |
|
4536 |
|
4537 |
|
4538 |
|
4539 |
|
4540 |
|
4541 |
|
4542 |
|
4543 |
|
4544 |
|
4545 |
|
4546 |
|
4547 |
|
4548 |
|
4549 |
|
4550 |
|
4551 |
|
4552 |
|
4553 |
|
4554 |
|
4555 |
|
4556 |
|
4557 |
|
4558 |
|
4559 |
|
4560 |
|
4561 |
|
4562 |
|
4563 |
|
4564 |
|
4565 |
|
4566 |
|
4567 |
for ac_header in Files.h arpa/inet.h assert.h console.h ctype.h dirent.h errno.h fcntl.h float.h ftw.h grp.h ieee754.h inttypes.h limits.h malloc.h memory.h nlist.h pascal.h pwd.h sgtty.h siginfo.h signal.h stat.h stdint.h stdlib.h stddef.h stdarg.h string.h sys/fault.h sys/file.h sys/ioctl.h sys/limits.h sys/mman.h sys/param.h sys/procfs.h sys/resource.h sys/signal.h sys/socket.h netdb.h netinet/in.h netinet/tcp.h sys/stat.h sys/syscall.h sys/time.h sys/timeb.h sys/timers.h sys/times.h sys/types.h sys/un.h sys/utsname.h sys/vadvise.h sys/wait.h termio.h termios.h time.h types.h unistd.h utime.h values.h vfork.h bfd.h winsock.h pthread.h sys/uio.h |
4568 |
do |
4569 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4570 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4571 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4572 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4573 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4574 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4575 |
fi |
4576 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4577 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4578 |
else |
4579 |
# Is the header compilable? |
4580 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4581 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4582 |
cat >conftest.$ac_ext <<_ACEOF |
4583 |
#line $LINENO "configure" |
4584 |
#include "confdefs.h" |
4585 |
$ac_includes_default |
4586 |
#include <$ac_header> |
4587 |
_ACEOF |
4588 |
rm -f conftest.$ac_objext |
4589 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4590 |
(eval $ac_compile) 2>&5 |
4591 |
ac_status=$? |
4592 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4593 |
(exit $ac_status); } && |
4594 |
{ ac_try='test -s conftest.$ac_objext' |
4595 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4596 |
(eval $ac_try) 2>&5 |
4597 |
ac_status=$? |
4598 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4599 |
(exit $ac_status); }; }; then |
4600 |
ac_header_compiler=yes |
4601 |
else |
4602 |
echo "$as_me: failed program was:" >&5 |
4603 |
cat conftest.$ac_ext >&5 |
4604 |
ac_header_compiler=no |
4605 |
fi |
4606 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4607 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4608 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4609 |
|
4610 |
# Is the header present? |
4611 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4612 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4613 |
cat >conftest.$ac_ext <<_ACEOF |
4614 |
#line $LINENO "configure" |
4615 |
#include "confdefs.h" |
4616 |
#include <$ac_header> |
4617 |
_ACEOF |
4618 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4619 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4620 |
ac_status=$? |
4621 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4622 |
rm -f conftest.er1 |
4623 |
cat conftest.err >&5 |
4624 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4625 |
(exit $ac_status); } >/dev/null; then |
4626 |
if test -s conftest.err; then |
4627 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4628 |
else |
4629 |
ac_cpp_err= |
4630 |
fi |
4631 |
else |
4632 |
ac_cpp_err=yes |
4633 |
fi |
4634 |
if test -z "$ac_cpp_err"; then |
4635 |
ac_header_preproc=yes |
4636 |
else |
4637 |
echo "$as_me: failed program was:" >&5 |
4638 |
cat conftest.$ac_ext >&5 |
4639 |
ac_header_preproc=no |
4640 |
fi |
4641 |
rm -f conftest.err conftest.$ac_ext |
4642 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4643 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4644 |
|
4645 |
# So? What about this header? |
4646 |
case $ac_header_compiler:$ac_header_preproc in |
4647 |
yes:no ) |
4648 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4649 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4650 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4651 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
4652 |
no:yes ) |
4653 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4654 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4655 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4656 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4657 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4658 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
4659 |
esac |
4660 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4661 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4662 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4663 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4664 |
else |
4665 |
eval "$as_ac_Header=$ac_header_preproc" |
4666 |
fi |
4667 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4668 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4669 |
|
4670 |
fi |
4671 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4672 |
cat >>confdefs.h <<_ACEOF |
4673 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4674 |
_ACEOF |
4675 |
|
4676 |
fi |
4677 |
|
4678 |
done |
4679 |
|
4680 |
|
4681 |
if test "${ac_cv_header_readline_readline_h+set}" = set; then |
4682 |
echo "$as_me:$LINENO: checking for readline/readline.h" >&5 |
4683 |
echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 |
4684 |
if test "${ac_cv_header_readline_readline_h+set}" = set; then |
4685 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4686 |
fi |
4687 |
echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 |
4688 |
echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 |
4689 |
else |
4690 |
# Is the header compilable? |
4691 |
echo "$as_me:$LINENO: checking readline/readline.h usability" >&5 |
4692 |
echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6 |
4693 |
cat >conftest.$ac_ext <<_ACEOF |
4694 |
#line $LINENO "configure" |
2937 |
#include "confdefs.h" |
4695 |
#include "confdefs.h" |
2938 |
#include <$ac_hdr> |
4696 |
$ac_includes_default |
2939 |
EOF |
4697 |
#include <readline/readline.h> |
2940 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4698 |
_ACEOF |
2941 |
{ (eval echo configure:2942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4699 |
rm -f conftest.$ac_objext |
2942 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4700 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2943 |
if test -z "$ac_err"; then |
4701 |
(eval $ac_compile) 2>&5 |
2944 |
rm -rf conftest* |
4702 |
ac_status=$? |
2945 |
eval "ac_cv_header_$ac_safe=yes" |
4703 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4704 |
(exit $ac_status); } && |
4705 |
{ ac_try='test -s conftest.$ac_objext' |
4706 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4707 |
(eval $ac_try) 2>&5 |
4708 |
ac_status=$? |
4709 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4710 |
(exit $ac_status); }; }; then |
4711 |
ac_header_compiler=yes |
4712 |
else |
4713 |
echo "$as_me: failed program was:" >&5 |
4714 |
cat conftest.$ac_ext >&5 |
4715 |
ac_header_compiler=no |
4716 |
fi |
4717 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4718 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4719 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4720 |
|
4721 |
# Is the header present? |
4722 |
echo "$as_me:$LINENO: checking readline/readline.h presence" >&5 |
4723 |
echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6 |
4724 |
cat >conftest.$ac_ext <<_ACEOF |
4725 |
#line $LINENO "configure" |
4726 |
#include "confdefs.h" |
4727 |
#include <readline/readline.h> |
4728 |
_ACEOF |
4729 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4730 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4731 |
ac_status=$? |
4732 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4733 |
rm -f conftest.er1 |
4734 |
cat conftest.err >&5 |
4735 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4736 |
(exit $ac_status); } >/dev/null; then |
4737 |
if test -s conftest.err; then |
4738 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4739 |
else |
4740 |
ac_cpp_err= |
4741 |
fi |
4742 |
else |
4743 |
ac_cpp_err=yes |
4744 |
fi |
4745 |
if test -z "$ac_cpp_err"; then |
4746 |
ac_header_preproc=yes |
2946 |
else |
4747 |
else |
2947 |
echo "$ac_err" >&5 |
4748 |
echo "$as_me: failed program was:" >&5 |
2948 |
echo "configure: failed program was:" >&5 |
|
|
2949 |
cat conftest.$ac_ext >&5 |
4749 |
cat conftest.$ac_ext >&5 |
2950 |
rm -rf conftest* |
4750 |
ac_header_preproc=no |
2951 |
eval "ac_cv_header_$ac_safe=no" |
|
|
2952 |
fi |
4751 |
fi |
2953 |
rm -f conftest* |
4752 |
rm -f conftest.err conftest.$ac_ext |
|
|
4753 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4754 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4755 |
|
4756 |
# So? What about this header? |
4757 |
case $ac_header_compiler:$ac_header_preproc in |
4758 |
yes:no ) |
4759 |
{ echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
4760 |
echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4761 |
{ echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 |
4762 |
echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;};; |
4763 |
no:yes ) |
4764 |
{ echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5 |
4765 |
echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;} |
4766 |
{ echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5 |
4767 |
echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;} |
4768 |
{ echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5 |
4769 |
echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;};; |
4770 |
esac |
4771 |
echo "$as_me:$LINENO: checking for readline/readline.h" >&5 |
4772 |
echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6 |
4773 |
if test "${ac_cv_header_readline_readline_h+set}" = set; then |
4774 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4775 |
else |
4776 |
ac_cv_header_readline_readline_h=$ac_header_preproc |
2954 |
fi |
4777 |
fi |
2955 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4778 |
echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5 |
2956 |
echo "$ac_t""yes" 1>&6 |
4779 |
echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6 |
2957 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
4780 |
|
2958 |
cat >> confdefs.h <<EOF |
4781 |
fi |
2959 |
#define $ac_tr_hdr 1 |
4782 |
if test $ac_cv_header_readline_readline_h = yes; then |
2960 |
EOF |
4783 |
HaveReadlineReadlineH=YES |
2961 |
|
|
|
2962 |
else |
4784 |
else |
2963 |
echo "$ac_t""no" 1>&6 |
4785 |
HaveReadlineReadlineH=NO |
2964 |
fi |
4786 |
fi |
2965 |
done |
|
|
2966 |
|
2967 |
|
4787 |
|
2968 |
for ac_hdr in windows.h |
4788 |
|
2969 |
do |
4789 |
if test "${ac_cv_header_readline_history_h+set}" = set; then |
2970 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4790 |
echo "$as_me:$LINENO: checking for readline/history.h" >&5 |
2971 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4791 |
echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6 |
2972 |
echo "configure:2973: checking for $ac_hdr" >&5 |
4792 |
if test "${ac_cv_header_readline_history_h+set}" = set; then |
2973 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4793 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2974 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4794 |
fi |
|
|
4795 |
echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 |
4796 |
echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6 |
2975 |
else |
4797 |
else |
2976 |
cat > conftest.$ac_ext <<EOF |
4798 |
# Is the header compilable? |
2977 |
#line 2978 "configure" |
4799 |
echo "$as_me:$LINENO: checking readline/history.h usability" >&5 |
|
|
4800 |
echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6 |
4801 |
cat >conftest.$ac_ext <<_ACEOF |
4802 |
#line $LINENO "configure" |
2978 |
#include "confdefs.h" |
4803 |
#include "confdefs.h" |
2979 |
#include <$ac_hdr> |
4804 |
$ac_includes_default |
2980 |
EOF |
4805 |
#include <readline/history.h> |
2981 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4806 |
_ACEOF |
2982 |
{ (eval echo configure:2983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4807 |
rm -f conftest.$ac_objext |
2983 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4808 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2984 |
if test -z "$ac_err"; then |
4809 |
(eval $ac_compile) 2>&5 |
2985 |
rm -rf conftest* |
4810 |
ac_status=$? |
2986 |
eval "ac_cv_header_$ac_safe=yes" |
4811 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4812 |
(exit $ac_status); } && |
4813 |
{ ac_try='test -s conftest.$ac_objext' |
4814 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4815 |
(eval $ac_try) 2>&5 |
4816 |
ac_status=$? |
4817 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4818 |
(exit $ac_status); }; }; then |
4819 |
ac_header_compiler=yes |
4820 |
else |
4821 |
echo "$as_me: failed program was:" >&5 |
4822 |
cat conftest.$ac_ext >&5 |
4823 |
ac_header_compiler=no |
4824 |
fi |
4825 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4826 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4827 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4828 |
|
4829 |
# Is the header present? |
4830 |
echo "$as_me:$LINENO: checking readline/history.h presence" >&5 |
4831 |
echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6 |
4832 |
cat >conftest.$ac_ext <<_ACEOF |
4833 |
#line $LINENO "configure" |
4834 |
#include "confdefs.h" |
4835 |
#include <readline/history.h> |
4836 |
_ACEOF |
4837 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4838 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4839 |
ac_status=$? |
4840 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4841 |
rm -f conftest.er1 |
4842 |
cat conftest.err >&5 |
4843 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4844 |
(exit $ac_status); } >/dev/null; then |
4845 |
if test -s conftest.err; then |
4846 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4847 |
else |
4848 |
ac_cpp_err= |
4849 |
fi |
4850 |
else |
4851 |
ac_cpp_err=yes |
4852 |
fi |
4853 |
if test -z "$ac_cpp_err"; then |
4854 |
ac_header_preproc=yes |
2987 |
else |
4855 |
else |
2988 |
echo "$ac_err" >&5 |
4856 |
echo "$as_me: failed program was:" >&5 |
2989 |
echo "configure: failed program was:" >&5 |
|
|
2990 |
cat conftest.$ac_ext >&5 |
4857 |
cat conftest.$ac_ext >&5 |
2991 |
rm -rf conftest* |
4858 |
ac_header_preproc=no |
2992 |
eval "ac_cv_header_$ac_safe=no" |
|
|
2993 |
fi |
4859 |
fi |
2994 |
rm -f conftest* |
4860 |
rm -f conftest.err conftest.$ac_ext |
|
|
4861 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4862 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4863 |
|
4864 |
# So? What about this header? |
4865 |
case $ac_header_compiler:$ac_header_preproc in |
4866 |
yes:no ) |
4867 |
{ echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
4868 |
echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4869 |
{ echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5 |
4870 |
echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};; |
4871 |
no:yes ) |
4872 |
{ echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5 |
4873 |
echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;} |
4874 |
{ echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5 |
4875 |
echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;} |
4876 |
{ echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5 |
4877 |
echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;};; |
4878 |
esac |
4879 |
echo "$as_me:$LINENO: checking for readline/history.h" >&5 |
4880 |
echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6 |
4881 |
if test "${ac_cv_header_readline_history_h+set}" = set; then |
4882 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4883 |
else |
4884 |
ac_cv_header_readline_history_h=$ac_header_preproc |
2995 |
fi |
4885 |
fi |
2996 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
4886 |
echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5 |
2997 |
echo "$ac_t""yes" 1>&6 |
4887 |
echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6 |
2998 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
4888 |
|
2999 |
cat >> confdefs.h <<EOF |
4889 |
fi |
3000 |
#define $ac_tr_hdr 1 |
4890 |
if test $ac_cv_header_readline_history_h = yes; then |
3001 |
EOF |
4891 |
HaveReadlineHistoryH=YES |
3002 |
|
4892 |
else |
|
|
4893 |
HaveReadlineHistoryH=NO |
4894 |
fi |
4895 |
|
4896 |
|
4897 |
|
4898 |
if test $HaveReadlineReadlineH = YES && test $HaveReadlineHistoryH = YES ; then |
4899 |
HaveReadlineHeaders=YES |
4900 |
cat >>confdefs.h <<\_ACEOF |
4901 |
#define HAVE_READLINE_HEADERS 1 |
4902 |
_ACEOF |
4903 |
|
4904 |
else |
4905 |
HaveReadlineHeaders=NO |
4906 |
cat >>confdefs.h <<\_ACEOF |
4907 |
#define HAVE_READLINE_HEADERS 0 |
4908 |
_ACEOF |
4909 |
|
4910 |
fi |
4911 |
|
4912 |
|
4913 |
|
4914 |
|
4915 |
|
4916 |
|
4917 |
for ac_header in dos.h conio.h io.h std.h |
4918 |
do |
4919 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4920 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4921 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4922 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4923 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4924 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4925 |
fi |
4926 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4927 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4928 |
else |
4929 |
# Is the header compilable? |
4930 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4931 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4932 |
cat >conftest.$ac_ext <<_ACEOF |
4933 |
#line $LINENO "configure" |
4934 |
#include "confdefs.h" |
4935 |
$ac_includes_default |
4936 |
#include <$ac_header> |
4937 |
_ACEOF |
4938 |
rm -f conftest.$ac_objext |
4939 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4940 |
(eval $ac_compile) 2>&5 |
4941 |
ac_status=$? |
4942 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4943 |
(exit $ac_status); } && |
4944 |
{ ac_try='test -s conftest.$ac_objext' |
4945 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4946 |
(eval $ac_try) 2>&5 |
4947 |
ac_status=$? |
4948 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4949 |
(exit $ac_status); }; }; then |
4950 |
ac_header_compiler=yes |
4951 |
else |
4952 |
echo "$as_me: failed program was:" >&5 |
4953 |
cat conftest.$ac_ext >&5 |
4954 |
ac_header_compiler=no |
4955 |
fi |
4956 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4957 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4958 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
4959 |
|
4960 |
# Is the header present? |
4961 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4962 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4963 |
cat >conftest.$ac_ext <<_ACEOF |
4964 |
#line $LINENO "configure" |
4965 |
#include "confdefs.h" |
4966 |
#include <$ac_header> |
4967 |
_ACEOF |
4968 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4969 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
4970 |
ac_status=$? |
4971 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
4972 |
rm -f conftest.er1 |
4973 |
cat conftest.err >&5 |
4974 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4975 |
(exit $ac_status); } >/dev/null; then |
4976 |
if test -s conftest.err; then |
4977 |
ac_cpp_err=$ac_c_preproc_warn_flag |
4978 |
else |
4979 |
ac_cpp_err= |
4980 |
fi |
4981 |
else |
4982 |
ac_cpp_err=yes |
4983 |
fi |
4984 |
if test -z "$ac_cpp_err"; then |
4985 |
ac_header_preproc=yes |
4986 |
else |
4987 |
echo "$as_me: failed program was:" >&5 |
4988 |
cat conftest.$ac_ext >&5 |
4989 |
ac_header_preproc=no |
4990 |
fi |
4991 |
rm -f conftest.err conftest.$ac_ext |
4992 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4993 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
4994 |
|
4995 |
# So? What about this header? |
4996 |
case $ac_header_compiler:$ac_header_preproc in |
4997 |
yes:no ) |
4998 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4999 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5000 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5001 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5002 |
no:yes ) |
5003 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5004 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5005 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5006 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5007 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5008 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5009 |
esac |
5010 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5011 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5012 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5013 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3003 |
else |
5014 |
else |
3004 |
echo "$ac_t""no" 1>&6 |
5015 |
eval "$as_ac_Header=$ac_header_preproc" |
3005 |
fi |
5016 |
fi |
|
|
5017 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5018 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5019 |
|
5020 |
fi |
5021 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5022 |
cat >>confdefs.h <<_ACEOF |
5023 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5024 |
_ACEOF |
5025 |
|
5026 |
fi |
5027 |
|
3006 |
done |
5028 |
done |
3007 |
|
5029 |
|
3008 |
|
5030 |
|
3009 |
for ac_hdr in GL/gl.h |
5031 |
|
|
|
5032 |
for ac_header in windows.h |
3010 |
do |
5033 |
do |
3011 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5034 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3012 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5035 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3013 |
echo "configure:3014: checking for $ac_hdr" >&5 |
5036 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3014 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5037 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3015 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5038 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
5039 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5040 |
fi |
5041 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5042 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5043 |
else |
5044 |
# Is the header compilable? |
5045 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5046 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5047 |
cat >conftest.$ac_ext <<_ACEOF |
5048 |
#line $LINENO "configure" |
5049 |
#include "confdefs.h" |
5050 |
$ac_includes_default |
5051 |
#include <$ac_header> |
5052 |
_ACEOF |
5053 |
rm -f conftest.$ac_objext |
5054 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5055 |
(eval $ac_compile) 2>&5 |
5056 |
ac_status=$? |
5057 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5058 |
(exit $ac_status); } && |
5059 |
{ ac_try='test -s conftest.$ac_objext' |
5060 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5061 |
(eval $ac_try) 2>&5 |
5062 |
ac_status=$? |
5063 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5064 |
(exit $ac_status); }; }; then |
5065 |
ac_header_compiler=yes |
5066 |
else |
5067 |
echo "$as_me: failed program was:" >&5 |
5068 |
cat conftest.$ac_ext >&5 |
5069 |
ac_header_compiler=no |
5070 |
fi |
5071 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5072 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5073 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5074 |
|
5075 |
# Is the header present? |
5076 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5077 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5078 |
cat >conftest.$ac_ext <<_ACEOF |
5079 |
#line $LINENO "configure" |
5080 |
#include "confdefs.h" |
5081 |
#include <$ac_header> |
5082 |
_ACEOF |
5083 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5084 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5085 |
ac_status=$? |
5086 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5087 |
rm -f conftest.er1 |
5088 |
cat conftest.err >&5 |
5089 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5090 |
(exit $ac_status); } >/dev/null; then |
5091 |
if test -s conftest.err; then |
5092 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5093 |
else |
5094 |
ac_cpp_err= |
5095 |
fi |
3016 |
else |
5096 |
else |
3017 |
cat > conftest.$ac_ext <<EOF |
5097 |
ac_cpp_err=yes |
3018 |
#line 3019 "configure" |
5098 |
fi |
3019 |
#include "confdefs.h" |
5099 |
if test -z "$ac_cpp_err"; then |
3020 |
#include <$ac_hdr> |
5100 |
ac_header_preproc=yes |
3021 |
EOF |
|
|
3022 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3023 |
{ (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3024 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3025 |
if test -z "$ac_err"; then |
3026 |
rm -rf conftest* |
3027 |
eval "ac_cv_header_$ac_safe=yes" |
3028 |
else |
5101 |
else |
3029 |
echo "$ac_err" >&5 |
5102 |
echo "$as_me: failed program was:" >&5 |
3030 |
echo "configure: failed program was:" >&5 |
|
|
3031 |
cat conftest.$ac_ext >&5 |
5103 |
cat conftest.$ac_ext >&5 |
3032 |
rm -rf conftest* |
5104 |
ac_header_preproc=no |
3033 |
eval "ac_cv_header_$ac_safe=no" |
|
|
3034 |
fi |
5105 |
fi |
3035 |
rm -f conftest* |
5106 |
rm -f conftest.err conftest.$ac_ext |
|
|
5107 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5108 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5109 |
|
5110 |
# So? What about this header? |
5111 |
case $ac_header_compiler:$ac_header_preproc in |
5112 |
yes:no ) |
5113 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5114 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5115 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5116 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5117 |
no:yes ) |
5118 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5119 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5120 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5121 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5122 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5123 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5124 |
esac |
5125 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5126 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5127 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5128 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5129 |
else |
5130 |
eval "$as_ac_Header=$ac_header_preproc" |
3036 |
fi |
5131 |
fi |
3037 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5132 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
3038 |
echo "$ac_t""yes" 1>&6 |
5133 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
3039 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
5134 |
|
3040 |
cat >> confdefs.h <<EOF |
5135 |
fi |
3041 |
#define $ac_tr_hdr 1 |
5136 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
3042 |
EOF |
5137 |
cat >>confdefs.h <<_ACEOF |
3043 |
|
5138 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5139 |
_ACEOF |
5140 |
|
5141 |
fi |
5142 |
|
5143 |
done |
5144 |
|
5145 |
|
5146 |
|
5147 |
for ac_header in GL/gl.h |
5148 |
do |
5149 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5150 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5151 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5152 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5153 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5154 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5155 |
fi |
5156 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5157 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5158 |
else |
5159 |
# Is the header compilable? |
5160 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5161 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5162 |
cat >conftest.$ac_ext <<_ACEOF |
5163 |
#line $LINENO "configure" |
5164 |
#include "confdefs.h" |
5165 |
$ac_includes_default |
5166 |
#include <$ac_header> |
5167 |
_ACEOF |
5168 |
rm -f conftest.$ac_objext |
5169 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5170 |
(eval $ac_compile) 2>&5 |
5171 |
ac_status=$? |
5172 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5173 |
(exit $ac_status); } && |
5174 |
{ ac_try='test -s conftest.$ac_objext' |
5175 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5176 |
(eval $ac_try) 2>&5 |
5177 |
ac_status=$? |
5178 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5179 |
(exit $ac_status); }; }; then |
5180 |
ac_header_compiler=yes |
5181 |
else |
5182 |
echo "$as_me: failed program was:" >&5 |
5183 |
cat conftest.$ac_ext >&5 |
5184 |
ac_header_compiler=no |
5185 |
fi |
5186 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5187 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5188 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5189 |
|
5190 |
# Is the header present? |
5191 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5192 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5193 |
cat >conftest.$ac_ext <<_ACEOF |
5194 |
#line $LINENO "configure" |
5195 |
#include "confdefs.h" |
5196 |
#include <$ac_header> |
5197 |
_ACEOF |
5198 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5199 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5200 |
ac_status=$? |
5201 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5202 |
rm -f conftest.er1 |
5203 |
cat conftest.err >&5 |
5204 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5205 |
(exit $ac_status); } >/dev/null; then |
5206 |
if test -s conftest.err; then |
5207 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5208 |
else |
5209 |
ac_cpp_err= |
5210 |
fi |
5211 |
else |
5212 |
ac_cpp_err=yes |
5213 |
fi |
5214 |
if test -z "$ac_cpp_err"; then |
5215 |
ac_header_preproc=yes |
5216 |
else |
5217 |
echo "$as_me: failed program was:" >&5 |
5218 |
cat conftest.$ac_ext >&5 |
5219 |
ac_header_preproc=no |
5220 |
fi |
5221 |
rm -f conftest.err conftest.$ac_ext |
5222 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5223 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5224 |
|
5225 |
# So? What about this header? |
5226 |
case $ac_header_compiler:$ac_header_preproc in |
5227 |
yes:no ) |
5228 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5229 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5230 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5231 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5232 |
no:yes ) |
5233 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5234 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5235 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5236 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5237 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5238 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5239 |
esac |
5240 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5241 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5242 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5243 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3044 |
else |
5244 |
else |
3045 |
echo "$ac_t""no" 1>&6 |
5245 |
eval "$as_ac_Header=$ac_header_preproc" |
|
|
5246 |
fi |
5247 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5248 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5249 |
|
5250 |
fi |
5251 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5252 |
cat >>confdefs.h <<_ACEOF |
5253 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5254 |
_ACEOF |
5255 |
|
3046 |
fi |
5256 |
fi |
|
|
5257 |
|
3047 |
done |
5258 |
done |
3048 |
|
5259 |
|
3049 |
|
5260 |
|
3050 |
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
5261 |
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
3051 |
echo "configure:3052: checking whether time.h and sys/time.h may both be included" >&5 |
5262 |
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
3052 |
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
5263 |
if test "${ac_cv_header_time+set}" = set; then |
3053 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5264 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3054 |
else |
5265 |
else |
3055 |
cat > conftest.$ac_ext <<EOF |
5266 |
cat >conftest.$ac_ext <<_ACEOF |
3056 |
#line 3057 "configure" |
5267 |
#line $LINENO "configure" |
3057 |
#include "confdefs.h" |
5268 |
#include "confdefs.h" |
3058 |
#include <sys/types.h> |
5269 |
#include <sys/types.h> |
3059 |
#include <sys/time.h> |
5270 |
#include <sys/time.h> |
3060 |
#include <time.h> |
5271 |
#include <time.h> |
3061 |
int main() { |
5272 |
|
3062 |
struct tm *tp; |
5273 |
#ifdef F77_DUMMY_MAIN |
3063 |
; return 0; } |
5274 |
# ifdef __cplusplus |
3064 |
EOF |
5275 |
extern "C" |
3065 |
if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5276 |
# endif |
3066 |
rm -rf conftest* |
5277 |
int F77_DUMMY_MAIN() { return 1; } |
|
|
5278 |
#endif |
5279 |
int |
5280 |
main () |
5281 |
{ |
5282 |
if ((struct tm *) 0) |
5283 |
return 0; |
5284 |
; |
5285 |
return 0; |
5286 |
} |
5287 |
_ACEOF |
5288 |
rm -f conftest.$ac_objext |
5289 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5290 |
(eval $ac_compile) 2>&5 |
5291 |
ac_status=$? |
5292 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5293 |
(exit $ac_status); } && |
5294 |
{ ac_try='test -s conftest.$ac_objext' |
5295 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5296 |
(eval $ac_try) 2>&5 |
5297 |
ac_status=$? |
5298 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5299 |
(exit $ac_status); }; }; then |
3067 |
ac_cv_header_time=yes |
5300 |
ac_cv_header_time=yes |
3068 |
else |
5301 |
else |
3069 |
echo "configure: failed program was:" >&5 |
5302 |
echo "$as_me: failed program was:" >&5 |
3070 |
cat conftest.$ac_ext >&5 |
5303 |
cat conftest.$ac_ext >&5 |
3071 |
rm -rf conftest* |
5304 |
ac_cv_header_time=no |
3072 |
ac_cv_header_time=no |
|
|
3073 |
fi |
5305 |
fi |
3074 |
rm -f conftest* |
5306 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3075 |
fi |
5307 |
fi |
3076 |
|
5308 |
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
3077 |
echo "$ac_t""$ac_cv_header_time" 1>&6 |
5309 |
echo "${ECHO_T}$ac_cv_header_time" >&6 |
3078 |
if test $ac_cv_header_time = yes; then |
5310 |
if test $ac_cv_header_time = yes; then |
3079 |
cat >> confdefs.h <<\EOF |
5311 |
|
|
|
5312 |
cat >>confdefs.h <<\_ACEOF |
3080 |
#define TIME_WITH_SYS_TIME 1 |
5313 |
#define TIME_WITH_SYS_TIME 1 |
3081 |
EOF |
5314 |
_ACEOF |
3082 |
|
5315 |
|
3083 |
fi |
5316 |
fi |
3084 |
|
5317 |
|
3085 |
|
5318 |
|
3086 |
for ac_hdr in dlfcn.h dl.h |
5319 |
|
|
|
5320 |
|
5321 |
for ac_header in dlfcn.h dl.h |
3087 |
do |
5322 |
do |
3088 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5323 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
3089 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5324 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
3090 |
echo "configure:3091: checking for $ac_hdr" >&5 |
5325 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
3091 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5326 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
3092 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5327 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
5328 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5329 |
fi |
5330 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5331 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5332 |
else |
5333 |
# Is the header compilable? |
5334 |
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
5335 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
5336 |
cat >conftest.$ac_ext <<_ACEOF |
5337 |
#line $LINENO "configure" |
5338 |
#include "confdefs.h" |
5339 |
$ac_includes_default |
5340 |
#include <$ac_header> |
5341 |
_ACEOF |
5342 |
rm -f conftest.$ac_objext |
5343 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
5344 |
(eval $ac_compile) 2>&5 |
5345 |
ac_status=$? |
5346 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5347 |
(exit $ac_status); } && |
5348 |
{ ac_try='test -s conftest.$ac_objext' |
5349 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5350 |
(eval $ac_try) 2>&5 |
5351 |
ac_status=$? |
5352 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5353 |
(exit $ac_status); }; }; then |
5354 |
ac_header_compiler=yes |
5355 |
else |
5356 |
echo "$as_me: failed program was:" >&5 |
5357 |
cat conftest.$ac_ext >&5 |
5358 |
ac_header_compiler=no |
5359 |
fi |
5360 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5361 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5362 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5363 |
|
5364 |
# Is the header present? |
5365 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
5366 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
5367 |
cat >conftest.$ac_ext <<_ACEOF |
5368 |
#line $LINENO "configure" |
5369 |
#include "confdefs.h" |
5370 |
#include <$ac_header> |
5371 |
_ACEOF |
5372 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5373 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5374 |
ac_status=$? |
5375 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5376 |
rm -f conftest.er1 |
5377 |
cat conftest.err >&5 |
5378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5379 |
(exit $ac_status); } >/dev/null; then |
5380 |
if test -s conftest.err; then |
5381 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5382 |
else |
5383 |
ac_cpp_err= |
5384 |
fi |
3093 |
else |
5385 |
else |
3094 |
cat > conftest.$ac_ext <<EOF |
5386 |
ac_cpp_err=yes |
3095 |
#line 3096 "configure" |
5387 |
fi |
3096 |
#include "confdefs.h" |
5388 |
if test -z "$ac_cpp_err"; then |
3097 |
#include <$ac_hdr> |
5389 |
ac_header_preproc=yes |
3098 |
EOF |
|
|
3099 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3100 |
{ (eval echo configure:3101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3101 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3102 |
if test -z "$ac_err"; then |
3103 |
rm -rf conftest* |
3104 |
eval "ac_cv_header_$ac_safe=yes" |
3105 |
else |
5390 |
else |
3106 |
echo "$ac_err" >&5 |
5391 |
echo "$as_me: failed program was:" >&5 |
3107 |
echo "configure: failed program was:" >&5 |
|
|
3108 |
cat conftest.$ac_ext >&5 |
5392 |
cat conftest.$ac_ext >&5 |
3109 |
rm -rf conftest* |
5393 |
ac_header_preproc=no |
3110 |
eval "ac_cv_header_$ac_safe=no" |
|
|
3111 |
fi |
3112 |
rm -f conftest* |
3113 |
fi |
5394 |
fi |
3114 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5395 |
rm -f conftest.err conftest.$ac_ext |
3115 |
echo "$ac_t""yes" 1>&6 |
5396 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
3116 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
5397 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
3117 |
cat >> confdefs.h <<EOF |
5398 |
|
3118 |
#define $ac_tr_hdr 1 |
5399 |
# So? What about this header? |
3119 |
EOF |
5400 |
case $ac_header_compiler:$ac_header_preproc in |
3120 |
|
5401 |
yes:no ) |
|
|
5402 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
5403 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5404 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5405 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5406 |
no:yes ) |
5407 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
5408 |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
5409 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
5410 |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
5411 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
5412 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; |
5413 |
esac |
5414 |
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5415 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
5416 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
5417 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3121 |
else |
5418 |
else |
3122 |
echo "$ac_t""no" 1>&6 |
5419 |
eval "$as_ac_Header=$ac_header_preproc" |
|
|
5420 |
fi |
5421 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
5422 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
5423 |
|
5424 |
fi |
5425 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
5426 |
cat >>confdefs.h <<_ACEOF |
5427 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5428 |
_ACEOF |
5429 |
|
3123 |
fi |
5430 |
fi |
|
|
5431 |
|
3124 |
done |
5432 |
done |
3125 |
|
|
|
3126 |
|
5433 |
|
3127 |
ac_safe=`echo "alloc.h" | sed 'y%./+-%__p_%'` |
5434 |
|
3128 |
echo $ac_n "checking for alloc.h""... $ac_c" 1>&6 |
5435 |
if test "${ac_cv_header_alloc_h+set}" = set; then |
3129 |
echo "configure:3130: checking for alloc.h" >&5 |
5436 |
echo "$as_me:$LINENO: checking for alloc.h" >&5 |
3130 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5437 |
echo $ECHO_N "checking for alloc.h... $ECHO_C" >&6 |
3131 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5438 |
if test "${ac_cv_header_alloc_h+set}" = set; then |
3132 |
else |
5439 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3133 |
cat > conftest.$ac_ext <<EOF |
5440 |
fi |
3134 |
#line 3135 "configure" |
5441 |
echo "$as_me:$LINENO: result: $ac_cv_header_alloc_h" >&5 |
|
|
5442 |
echo "${ECHO_T}$ac_cv_header_alloc_h" >&6 |
5443 |
else |
5444 |
# Is the header compilable? |
5445 |
echo "$as_me:$LINENO: checking alloc.h usability" >&5 |
5446 |
echo $ECHO_N "checking alloc.h usability... $ECHO_C" >&6 |
5447 |
cat >conftest.$ac_ext <<_ACEOF |
5448 |
#line $LINENO "configure" |
3135 |
#include "confdefs.h" |
5449 |
#include "confdefs.h" |
|
|
5450 |
$ac_includes_default |
3136 |
#include <alloc.h> |
5451 |
#include <alloc.h> |
3137 |
EOF |
5452 |
_ACEOF |
3138 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5453 |
rm -f conftest.$ac_objext |
3139 |
{ (eval echo configure:3140: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5454 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3140 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5455 |
(eval $ac_compile) 2>&5 |
3141 |
if test -z "$ac_err"; then |
5456 |
ac_status=$? |
3142 |
rm -rf conftest* |
5457 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3143 |
eval "ac_cv_header_$ac_safe=yes" |
5458 |
(exit $ac_status); } && |
|
|
5459 |
{ ac_try='test -s conftest.$ac_objext' |
5460 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5461 |
(eval $ac_try) 2>&5 |
5462 |
ac_status=$? |
5463 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5464 |
(exit $ac_status); }; }; then |
5465 |
ac_header_compiler=yes |
5466 |
else |
5467 |
echo "$as_me: failed program was:" >&5 |
5468 |
cat conftest.$ac_ext >&5 |
5469 |
ac_header_compiler=no |
5470 |
fi |
5471 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5472 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5473 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5474 |
|
5475 |
# Is the header present? |
5476 |
echo "$as_me:$LINENO: checking alloc.h presence" >&5 |
5477 |
echo $ECHO_N "checking alloc.h presence... $ECHO_C" >&6 |
5478 |
cat >conftest.$ac_ext <<_ACEOF |
5479 |
#line $LINENO "configure" |
5480 |
#include "confdefs.h" |
5481 |
#include <alloc.h> |
5482 |
_ACEOF |
5483 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5484 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5485 |
ac_status=$? |
5486 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5487 |
rm -f conftest.er1 |
5488 |
cat conftest.err >&5 |
5489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5490 |
(exit $ac_status); } >/dev/null; then |
5491 |
if test -s conftest.err; then |
5492 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5493 |
else |
5494 |
ac_cpp_err= |
5495 |
fi |
5496 |
else |
5497 |
ac_cpp_err=yes |
5498 |
fi |
5499 |
if test -z "$ac_cpp_err"; then |
5500 |
ac_header_preproc=yes |
3144 |
else |
5501 |
else |
3145 |
echo "$ac_err" >&5 |
5502 |
echo "$as_me: failed program was:" >&5 |
3146 |
echo "configure: failed program was:" >&5 |
|
|
3147 |
cat conftest.$ac_ext >&5 |
5503 |
cat conftest.$ac_ext >&5 |
3148 |
rm -rf conftest* |
5504 |
ac_header_preproc=no |
3149 |
eval "ac_cv_header_$ac_safe=no" |
|
|
3150 |
fi |
5505 |
fi |
3151 |
rm -f conftest* |
5506 |
rm -f conftest.err conftest.$ac_ext |
|
|
5507 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5508 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5509 |
|
5510 |
# So? What about this header? |
5511 |
case $ac_header_compiler:$ac_header_preproc in |
5512 |
yes:no ) |
5513 |
{ echo "$as_me:$LINENO: WARNING: alloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5514 |
echo "$as_me: WARNING: alloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5515 |
{ echo "$as_me:$LINENO: WARNING: alloc.h: proceeding with the preprocessor's result" >&5 |
5516 |
echo "$as_me: WARNING: alloc.h: proceeding with the preprocessor's result" >&2;};; |
5517 |
no:yes ) |
5518 |
{ echo "$as_me:$LINENO: WARNING: alloc.h: present but cannot be compiled" >&5 |
5519 |
echo "$as_me: WARNING: alloc.h: present but cannot be compiled" >&2;} |
5520 |
{ echo "$as_me:$LINENO: WARNING: alloc.h: check for missing prerequisite headers?" >&5 |
5521 |
echo "$as_me: WARNING: alloc.h: check for missing prerequisite headers?" >&2;} |
5522 |
{ echo "$as_me:$LINENO: WARNING: alloc.h: proceeding with the preprocessor's result" >&5 |
5523 |
echo "$as_me: WARNING: alloc.h: proceeding with the preprocessor's result" >&2;};; |
5524 |
esac |
5525 |
echo "$as_me:$LINENO: checking for alloc.h" >&5 |
5526 |
echo $ECHO_N "checking for alloc.h... $ECHO_C" >&6 |
5527 |
if test "${ac_cv_header_alloc_h+set}" = set; then |
5528 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5529 |
else |
5530 |
ac_cv_header_alloc_h=$ac_header_preproc |
5531 |
fi |
5532 |
echo "$as_me:$LINENO: result: $ac_cv_header_alloc_h" >&5 |
5533 |
echo "${ECHO_T}$ac_cv_header_alloc_h" >&6 |
5534 |
|
3152 |
fi |
5535 |
fi |
3153 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5536 |
if test $ac_cv_header_alloc_h = yes; then |
3154 |
echo "$ac_t""yes" 1>&6 |
5537 |
|
3155 |
for ac_func in farcalloc |
5538 |
for ac_func in farcalloc |
3156 |
do |
5539 |
do |
3157 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5540 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
3158 |
echo "configure:3159: checking for $ac_func" >&5 |
5541 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3159 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5542 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
3160 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5543 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
5544 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3161 |
else |
5545 |
else |
3162 |
cat > conftest.$ac_ext <<EOF |
5546 |
cat >conftest.$ac_ext <<_ACEOF |
3163 |
#line 3164 "configure" |
5547 |
#line $LINENO "configure" |
3164 |
#include "confdefs.h" |
5548 |
#include "confdefs.h" |
3165 |
/* System header to define __stub macros and hopefully few prototypes, |
5549 |
/* System header to define __stub macros and hopefully few prototypes |
3166 |
which can conflict with char $ac_func(); below. */ |
5550 |
else |
|
|
5551 |
which can conflict with char $ac_func (); below. */ |
3167 |
#include <assert.h> |
5552 |
#include <assert.h> |
3168 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5553 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
5554 |
#ifdef __cplusplus |
5555 |
extern "C" |
5556 |
#endif |
3169 |
/* We use char because int might match the return type of a gcc2 |
5557 |
/* We use char because int might match the return type of a gcc2 |
3170 |
builtin and then its argument prototype would still apply. */ |
5558 |
builtin and then its argument prototype would still apply. */ |
3171 |
char $ac_func(); |
5559 |
char $ac_func (); |
3172 |
|
5560 |
char (*f) (); |
3173 |
int main() { |
5561 |
|
3174 |
|
5562 |
#ifdef F77_DUMMY_MAIN |
|
|
5563 |
# ifdef __cplusplus |
5564 |
extern "C" |
5565 |
# endif |
5566 |
int F77_DUMMY_MAIN() { return 1; } |
5567 |
#endif |
5568 |
int |
5569 |
main () |
5570 |
{ |
3175 |
/* The GNU C library defines this for functions which it implements |
5571 |
/* The GNU C library defines this for functions which it implements |
3176 |
to always fail with ENOSYS. Some functions are actually named |
5572 |
to always fail with ENOSYS. Some functions are actually named |
3177 |
something starting with __ and the normal name is an alias. */ |
5573 |
something starting with __ and the normal name is an alias. */ |
3178 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5574 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
3179 |
choke me |
5575 |
choke me |
3180 |
#else |
5576 |
#else |
3181 |
$ac_func(); |
5577 |
f = $ac_func; |
3182 |
#endif |
5578 |
#endif |
3183 |
|
5579 |
|
3184 |
; return 0; } |
5580 |
; |
3185 |
EOF |
5581 |
return 0; |
3186 |
if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5582 |
} |
3187 |
rm -rf conftest* |
5583 |
_ACEOF |
3188 |
eval "ac_cv_func_$ac_func=yes" |
5584 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3189 |
else |
5585 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3190 |
echo "configure: failed program was:" >&5 |
5586 |
(eval $ac_link) 2>&5 |
3191 |
cat conftest.$ac_ext >&5 |
5587 |
ac_status=$? |
3192 |
rm -rf conftest* |
5588 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3193 |
eval "ac_cv_func_$ac_func=no" |
5589 |
(exit $ac_status); } && |
3194 |
fi |
5590 |
{ ac_try='test -s conftest$ac_exeext' |
3195 |
rm -f conftest* |
5591 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3196 |
fi |
5592 |
(eval $ac_try) 2>&5 |
|
|
5593 |
ac_status=$? |
5594 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5595 |
(exit $ac_status); }; }; then |
5596 |
eval "$as_ac_var=yes" |
5597 |
else |
5598 |
echo "$as_me: failed program was:" >&5 |
5599 |
cat conftest.$ac_ext >&5 |
5600 |
eval "$as_ac_var=no" |
5601 |
fi |
5602 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5603 |
fi |
5604 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5605 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5606 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5607 |
cat >>confdefs.h <<_ACEOF |
5608 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5609 |
_ACEOF |
3197 |
|
5610 |
|
3198 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
3199 |
echo "$ac_t""yes" 1>&6 |
3200 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
3201 |
cat >> confdefs.h <<EOF |
3202 |
#define $ac_tr_func 1 |
3203 |
EOF |
3204 |
|
3205 |
else |
3206 |
echo "$ac_t""no" 1>&6 |
3207 |
fi |
5611 |
fi |
3208 |
done |
5612 |
done |
3209 |
|
5613 |
|
3210 |
else |
|
|
3211 |
echo "$ac_t""no" 1>&6 |
3212 |
fi |
5614 |
fi |
3213 |
|
5615 |
|
3214 |
|
5616 |
|
3215 |
ac_safe=`echo "malloc.h" | sed 'y%./+-%__p_%'` |
5617 |
|
3216 |
echo $ac_n "checking for malloc.h""... $ac_c" 1>&6 |
5618 |
if test "${ac_cv_header_malloc_h+set}" = set; then |
3217 |
echo "configure:3218: checking for malloc.h" >&5 |
5619 |
echo "$as_me:$LINENO: checking for malloc.h" >&5 |
3218 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5620 |
echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 |
3219 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5621 |
if test "${ac_cv_header_malloc_h+set}" = set; then |
3220 |
else |
5622 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3221 |
cat > conftest.$ac_ext <<EOF |
5623 |
fi |
3222 |
#line 3223 "configure" |
5624 |
echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 |
|
|
5625 |
echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 |
5626 |
else |
5627 |
# Is the header compilable? |
5628 |
echo "$as_me:$LINENO: checking malloc.h usability" >&5 |
5629 |
echo $ECHO_N "checking malloc.h usability... $ECHO_C" >&6 |
5630 |
cat >conftest.$ac_ext <<_ACEOF |
5631 |
#line $LINENO "configure" |
3223 |
#include "confdefs.h" |
5632 |
#include "confdefs.h" |
|
|
5633 |
$ac_includes_default |
3224 |
#include <malloc.h> |
5634 |
#include <malloc.h> |
3225 |
EOF |
5635 |
_ACEOF |
3226 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5636 |
rm -f conftest.$ac_objext |
3227 |
{ (eval echo configure:3228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5637 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3228 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5638 |
(eval $ac_compile) 2>&5 |
3229 |
if test -z "$ac_err"; then |
5639 |
ac_status=$? |
3230 |
rm -rf conftest* |
5640 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3231 |
eval "ac_cv_header_$ac_safe=yes" |
5641 |
(exit $ac_status); } && |
|
|
5642 |
{ ac_try='test -s conftest.$ac_objext' |
5643 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5644 |
(eval $ac_try) 2>&5 |
5645 |
ac_status=$? |
5646 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5647 |
(exit $ac_status); }; }; then |
5648 |
ac_header_compiler=yes |
5649 |
else |
5650 |
echo "$as_me: failed program was:" >&5 |
5651 |
cat conftest.$ac_ext >&5 |
5652 |
ac_header_compiler=no |
5653 |
fi |
5654 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5655 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5656 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5657 |
|
5658 |
# Is the header present? |
5659 |
echo "$as_me:$LINENO: checking malloc.h presence" >&5 |
5660 |
echo $ECHO_N "checking malloc.h presence... $ECHO_C" >&6 |
5661 |
cat >conftest.$ac_ext <<_ACEOF |
5662 |
#line $LINENO "configure" |
5663 |
#include "confdefs.h" |
5664 |
#include <malloc.h> |
5665 |
_ACEOF |
5666 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5667 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5668 |
ac_status=$? |
5669 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5670 |
rm -f conftest.er1 |
5671 |
cat conftest.err >&5 |
5672 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5673 |
(exit $ac_status); } >/dev/null; then |
5674 |
if test -s conftest.err; then |
5675 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5676 |
else |
5677 |
ac_cpp_err= |
5678 |
fi |
5679 |
else |
5680 |
ac_cpp_err=yes |
5681 |
fi |
5682 |
if test -z "$ac_cpp_err"; then |
5683 |
ac_header_preproc=yes |
3232 |
else |
5684 |
else |
3233 |
echo "$ac_err" >&5 |
5685 |
echo "$as_me: failed program was:" >&5 |
3234 |
echo "configure: failed program was:" >&5 |
|
|
3235 |
cat conftest.$ac_ext >&5 |
5686 |
cat conftest.$ac_ext >&5 |
3236 |
rm -rf conftest* |
5687 |
ac_header_preproc=no |
3237 |
eval "ac_cv_header_$ac_safe=no" |
|
|
3238 |
fi |
5688 |
fi |
3239 |
rm -f conftest* |
5689 |
rm -f conftest.err conftest.$ac_ext |
|
|
5690 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5691 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5692 |
|
5693 |
# So? What about this header? |
5694 |
case $ac_header_compiler:$ac_header_preproc in |
5695 |
yes:no ) |
5696 |
{ echo "$as_me:$LINENO: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5697 |
echo "$as_me: WARNING: malloc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5698 |
{ echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 |
5699 |
echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};; |
5700 |
no:yes ) |
5701 |
{ echo "$as_me:$LINENO: WARNING: malloc.h: present but cannot be compiled" >&5 |
5702 |
echo "$as_me: WARNING: malloc.h: present but cannot be compiled" >&2;} |
5703 |
{ echo "$as_me:$LINENO: WARNING: malloc.h: check for missing prerequisite headers?" >&5 |
5704 |
echo "$as_me: WARNING: malloc.h: check for missing prerequisite headers?" >&2;} |
5705 |
{ echo "$as_me:$LINENO: WARNING: malloc.h: proceeding with the preprocessor's result" >&5 |
5706 |
echo "$as_me: WARNING: malloc.h: proceeding with the preprocessor's result" >&2;};; |
5707 |
esac |
5708 |
echo "$as_me:$LINENO: checking for malloc.h" >&5 |
5709 |
echo $ECHO_N "checking for malloc.h... $ECHO_C" >&6 |
5710 |
if test "${ac_cv_header_malloc_h+set}" = set; then |
5711 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5712 |
else |
5713 |
ac_cv_header_malloc_h=$ac_header_preproc |
5714 |
fi |
5715 |
echo "$as_me:$LINENO: result: $ac_cv_header_malloc_h" >&5 |
5716 |
echo "${ECHO_T}$ac_cv_header_malloc_h" >&6 |
5717 |
|
3240 |
fi |
5718 |
fi |
3241 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5719 |
if test $ac_cv_header_malloc_h = yes; then |
3242 |
echo "$ac_t""yes" 1>&6 |
5720 |
|
3243 |
for ac_func in valloc |
5721 |
for ac_func in valloc |
3244 |
do |
5722 |
do |
3245 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
5723 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
3246 |
echo "configure:3247: checking for $ac_func" >&5 |
5724 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
3247 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
5725 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
3248 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5726 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
5727 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3249 |
else |
5728 |
else |
3250 |
cat > conftest.$ac_ext <<EOF |
5729 |
cat >conftest.$ac_ext <<_ACEOF |
3251 |
#line 3252 "configure" |
5730 |
#line $LINENO "configure" |
3252 |
#include "confdefs.h" |
5731 |
#include "confdefs.h" |
3253 |
/* System header to define __stub macros and hopefully few prototypes, |
5732 |
/* System header to define __stub macros and hopefully few prototypes |
3254 |
which can conflict with char $ac_func(); below. */ |
5733 |
else |
|
|
5734 |
which can conflict with char $ac_func (); below. */ |
3255 |
#include <assert.h> |
5735 |
#include <assert.h> |
3256 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5736 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
5737 |
#ifdef __cplusplus |
5738 |
extern "C" |
5739 |
#endif |
3257 |
/* We use char because int might match the return type of a gcc2 |
5740 |
/* We use char because int might match the return type of a gcc2 |
3258 |
builtin and then its argument prototype would still apply. */ |
5741 |
builtin and then its argument prototype would still apply. */ |
3259 |
char $ac_func(); |
5742 |
char $ac_func (); |
3260 |
|
5743 |
char (*f) (); |
3261 |
int main() { |
5744 |
|
3262 |
|
5745 |
#ifdef F77_DUMMY_MAIN |
|
|
5746 |
# ifdef __cplusplus |
5747 |
extern "C" |
5748 |
# endif |
5749 |
int F77_DUMMY_MAIN() { return 1; } |
5750 |
#endif |
5751 |
int |
5752 |
main () |
5753 |
{ |
3263 |
/* The GNU C library defines this for functions which it implements |
5754 |
/* The GNU C library defines this for functions which it implements |
3264 |
to always fail with ENOSYS. Some functions are actually named |
5755 |
to always fail with ENOSYS. Some functions are actually named |
3265 |
something starting with __ and the normal name is an alias. */ |
5756 |
something starting with __ and the normal name is an alias. */ |
3266 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
5757 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
3267 |
choke me |
5758 |
choke me |
3268 |
#else |
5759 |
#else |
3269 |
$ac_func(); |
5760 |
f = $ac_func; |
3270 |
#endif |
5761 |
#endif |
3271 |
|
5762 |
|
3272 |
; return 0; } |
5763 |
; |
3273 |
EOF |
5764 |
return 0; |
3274 |
if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5765 |
} |
3275 |
rm -rf conftest* |
5766 |
_ACEOF |
3276 |
eval "ac_cv_func_$ac_func=yes" |
5767 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3277 |
else |
5768 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3278 |
echo "configure: failed program was:" >&5 |
5769 |
(eval $ac_link) 2>&5 |
3279 |
cat conftest.$ac_ext >&5 |
5770 |
ac_status=$? |
3280 |
rm -rf conftest* |
5771 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3281 |
eval "ac_cv_func_$ac_func=no" |
5772 |
(exit $ac_status); } && |
3282 |
fi |
5773 |
{ ac_try='test -s conftest$ac_exeext' |
3283 |
rm -f conftest* |
5774 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3284 |
fi |
5775 |
(eval $ac_try) 2>&5 |
|
|
5776 |
ac_status=$? |
5777 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5778 |
(exit $ac_status); }; }; then |
5779 |
eval "$as_ac_var=yes" |
5780 |
else |
5781 |
echo "$as_me: failed program was:" >&5 |
5782 |
cat conftest.$ac_ext >&5 |
5783 |
eval "$as_ac_var=no" |
5784 |
fi |
5785 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5786 |
fi |
5787 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
5788 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
5789 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
5790 |
cat >>confdefs.h <<_ACEOF |
5791 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
5792 |
_ACEOF |
3285 |
|
5793 |
|
3286 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
3287 |
echo "$ac_t""yes" 1>&6 |
3288 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
3289 |
cat >> confdefs.h <<EOF |
3290 |
#define $ac_tr_func 1 |
3291 |
EOF |
3292 |
|
3293 |
else |
3294 |
echo "$ac_t""no" 1>&6 |
3295 |
fi |
5794 |
fi |
3296 |
done |
5795 |
done |
3297 |
|
5796 |
|
3298 |
else |
|
|
3299 |
echo "$ac_t""no" 1>&6 |
3300 |
fi |
5797 |
fi |
3301 |
|
5798 |
|
3302 |
|
5799 |
|
|
|
5800 |
|
3303 |
HavePosixRegex=NO |
5801 |
HavePosixRegex=NO |
3304 |
ac_safe=`echo "regex.h" | sed 'y%./+-%__p_%'` |
5802 |
if test "${ac_cv_header_regex_h+set}" = set; then |
3305 |
echo $ac_n "checking for regex.h""... $ac_c" 1>&6 |
5803 |
echo "$as_me:$LINENO: checking for regex.h" >&5 |
3306 |
echo "configure:3307: checking for regex.h" >&5 |
5804 |
echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 |
3307 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5805 |
if test "${ac_cv_header_regex_h+set}" = set; then |
3308 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5806 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3309 |
else |
5807 |
fi |
3310 |
cat > conftest.$ac_ext <<EOF |
5808 |
echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 |
3311 |
#line 3312 "configure" |
5809 |
echo "${ECHO_T}$ac_cv_header_regex_h" >&6 |
|
|
5810 |
else |
5811 |
# Is the header compilable? |
5812 |
echo "$as_me:$LINENO: checking regex.h usability" >&5 |
5813 |
echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6 |
5814 |
cat >conftest.$ac_ext <<_ACEOF |
5815 |
#line $LINENO "configure" |
3312 |
#include "confdefs.h" |
5816 |
#include "confdefs.h" |
|
|
5817 |
$ac_includes_default |
3313 |
#include <regex.h> |
5818 |
#include <regex.h> |
3314 |
EOF |
5819 |
_ACEOF |
3315 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5820 |
rm -f conftest.$ac_objext |
3316 |
{ (eval echo configure:3317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5821 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3317 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5822 |
(eval $ac_compile) 2>&5 |
3318 |
if test -z "$ac_err"; then |
5823 |
ac_status=$? |
3319 |
rm -rf conftest* |
5824 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3320 |
eval "ac_cv_header_$ac_safe=yes" |
5825 |
(exit $ac_status); } && |
|
|
5826 |
{ ac_try='test -s conftest.$ac_objext' |
5827 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
5828 |
(eval $ac_try) 2>&5 |
5829 |
ac_status=$? |
5830 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5831 |
(exit $ac_status); }; }; then |
5832 |
ac_header_compiler=yes |
5833 |
else |
5834 |
echo "$as_me: failed program was:" >&5 |
5835 |
cat conftest.$ac_ext >&5 |
5836 |
ac_header_compiler=no |
5837 |
fi |
5838 |
rm -f conftest.$ac_objext conftest.$ac_ext |
5839 |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
5840 |
echo "${ECHO_T}$ac_header_compiler" >&6 |
5841 |
|
5842 |
# Is the header present? |
5843 |
echo "$as_me:$LINENO: checking regex.h presence" >&5 |
5844 |
echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6 |
5845 |
cat >conftest.$ac_ext <<_ACEOF |
5846 |
#line $LINENO "configure" |
5847 |
#include "confdefs.h" |
5848 |
#include <regex.h> |
5849 |
_ACEOF |
5850 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
5851 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
5852 |
ac_status=$? |
5853 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
5854 |
rm -f conftest.er1 |
5855 |
cat conftest.err >&5 |
5856 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
5857 |
(exit $ac_status); } >/dev/null; then |
5858 |
if test -s conftest.err; then |
5859 |
ac_cpp_err=$ac_c_preproc_warn_flag |
5860 |
else |
5861 |
ac_cpp_err= |
5862 |
fi |
5863 |
else |
5864 |
ac_cpp_err=yes |
5865 |
fi |
5866 |
if test -z "$ac_cpp_err"; then |
5867 |
ac_header_preproc=yes |
3321 |
else |
5868 |
else |
3322 |
echo "$ac_err" >&5 |
5869 |
echo "$as_me: failed program was:" >&5 |
3323 |
echo "configure: failed program was:" >&5 |
|
|
3324 |
cat conftest.$ac_ext >&5 |
5870 |
cat conftest.$ac_ext >&5 |
3325 |
rm -rf conftest* |
5871 |
ac_header_preproc=no |
3326 |
eval "ac_cv_header_$ac_safe=no" |
|
|
3327 |
fi |
5872 |
fi |
3328 |
rm -f conftest* |
5873 |
rm -f conftest.err conftest.$ac_ext |
|
|
5874 |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
5875 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
5876 |
|
5877 |
# So? What about this header? |
5878 |
case $ac_header_compiler:$ac_header_preproc in |
5879 |
yes:no ) |
5880 |
{ echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
5881 |
echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
5882 |
{ echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 |
5883 |
echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};; |
5884 |
no:yes ) |
5885 |
{ echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5 |
5886 |
echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;} |
5887 |
{ echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5 |
5888 |
echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;} |
5889 |
{ echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5 |
5890 |
echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;};; |
5891 |
esac |
5892 |
echo "$as_me:$LINENO: checking for regex.h" >&5 |
5893 |
echo $ECHO_N "checking for regex.h... $ECHO_C" >&6 |
5894 |
if test "${ac_cv_header_regex_h+set}" = set; then |
5895 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5896 |
else |
5897 |
ac_cv_header_regex_h=$ac_header_preproc |
3329 |
fi |
5898 |
fi |
3330 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
5899 |
echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5 |
3331 |
echo "$ac_t""yes" 1>&6 |
5900 |
echo "${ECHO_T}$ac_cv_header_regex_h" >&6 |
3332 |
echo $ac_n "checking for regcomp""... $ac_c" 1>&6 |
5901 |
|
3333 |
echo "configure:3334: checking for regcomp" >&5 |
5902 |
fi |
3334 |
if eval "test \"`echo '$''{'ac_cv_func_regcomp'+set}'`\" = set"; then |
5903 |
if test $ac_cv_header_regex_h = yes; then |
3335 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5904 |
echo "$as_me:$LINENO: checking for regcomp" >&5 |
|
|
5905 |
echo $ECHO_N "checking for regcomp... $ECHO_C" >&6 |
5906 |
if test "${ac_cv_func_regcomp+set}" = set; then |
5907 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3336 |
else |
5908 |
else |
3337 |
cat > conftest.$ac_ext <<EOF |
5909 |
cat >conftest.$ac_ext <<_ACEOF |
3338 |
#line 3339 "configure" |
5910 |
#line $LINENO "configure" |
3339 |
#include "confdefs.h" |
5911 |
#include "confdefs.h" |
3340 |
/* System header to define __stub macros and hopefully few prototypes, |
5912 |
/* System header to define __stub macros and hopefully few prototypes |
3341 |
which can conflict with char regcomp(); below. */ |
5913 |
else |
|
|
5914 |
which can conflict with char regcomp (); below. */ |
3342 |
#include <assert.h> |
5915 |
#include <assert.h> |
3343 |
/* Override any gcc2 internal prototype to avoid an error. */ |
5916 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
5917 |
#ifdef __cplusplus |
5918 |
extern "C" |
5919 |
#endif |
3344 |
/* We use char because int might match the return type of a gcc2 |
5920 |
/* We use char because int might match the return type of a gcc2 |
3345 |
builtin and then its argument prototype would still apply. */ |
5921 |
builtin and then its argument prototype would still apply. */ |
3346 |
char regcomp(); |
5922 |
char regcomp (); |
3347 |
|
5923 |
char (*f) (); |
3348 |
int main() { |
5924 |
|
3349 |
|
5925 |
#ifdef F77_DUMMY_MAIN |
|
|
5926 |
# ifdef __cplusplus |
5927 |
extern "C" |
5928 |
# endif |
5929 |
int F77_DUMMY_MAIN() { return 1; } |
5930 |
#endif |
5931 |
int |
5932 |
main () |
5933 |
{ |
3350 |
/* The GNU C library defines this for functions which it implements |
5934 |
/* The GNU C library defines this for functions which it implements |
3351 |
to always fail with ENOSYS. Some functions are actually named |
5935 |
to always fail with ENOSYS. Some functions are actually named |
3352 |
something starting with __ and the normal name is an alias. */ |
5936 |
something starting with __ and the normal name is an alias. */ |
3353 |
#if defined (__stub_regcomp) || defined (__stub___regcomp) |
5937 |
#if defined (__stub_regcomp) || defined (__stub___regcomp) |
3354 |
choke me |
5938 |
choke me |
3355 |
#else |
5939 |
#else |
3356 |
regcomp(); |
5940 |
f = regcomp; |
3357 |
#endif |
5941 |
#endif |
3358 |
|
5942 |
|
3359 |
; return 0; } |
5943 |
; |
3360 |
EOF |
5944 |
return 0; |
3361 |
if { (eval echo configure:3362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5945 |
} |
3362 |
rm -rf conftest* |
5946 |
_ACEOF |
3363 |
eval "ac_cv_func_regcomp=yes" |
5947 |
rm -f conftest.$ac_objext conftest$ac_exeext |
3364 |
else |
5948 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3365 |
echo "configure: failed program was:" >&5 |
5949 |
(eval $ac_link) 2>&5 |
3366 |
cat conftest.$ac_ext >&5 |
5950 |
ac_status=$? |
3367 |
rm -rf conftest* |
5951 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3368 |
eval "ac_cv_func_regcomp=no" |
5952 |
(exit $ac_status); } && |
3369 |
fi |
5953 |
{ ac_try='test -s conftest$ac_exeext' |
3370 |
rm -f conftest* |
5954 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3371 |
fi |
5955 |
(eval $ac_try) 2>&5 |
3372 |
|
5956 |
ac_status=$? |
3373 |
if eval "test \"`echo '$ac_cv_func_'regcomp`\" = yes"; then |
5957 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3374 |
echo "$ac_t""yes" 1>&6 |
5958 |
(exit $ac_status); }; }; then |
|
|
5959 |
ac_cv_func_regcomp=yes |
5960 |
else |
5961 |
echo "$as_me: failed program was:" >&5 |
5962 |
cat conftest.$ac_ext >&5 |
5963 |
ac_cv_func_regcomp=no |
5964 |
fi |
5965 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5966 |
fi |
5967 |
echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5 |
5968 |
echo "${ECHO_T}$ac_cv_func_regcomp" >&6 |
5969 |
if test $ac_cv_func_regcomp = yes; then |
3375 |
HavePosixRegex=YES |
5970 |
HavePosixRegex=YES |
3376 |
else |
|
|
3377 |
echo "$ac_t""no" 1>&6 |
3378 |
fi |
5971 |
fi |
3379 |
|
5972 |
|
3380 |
else |
|
|
3381 |
echo "$ac_t""no" 1>&6 |
3382 |
fi |
5973 |
fi |
3383 |
|
5974 |
|
3384 |
|
5975 |
|
3385 |
|
5976 |
|
3386 |
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
5977 |
|
3387 |
echo "configure:3388: checking whether struct tm is in sys/time.h or time.h" >&5 |
5978 |
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 |
3388 |
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
5979 |
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
3389 |
echo $ac_n "(cached) $ac_c" 1>&6 |
5980 |
if test "${ac_cv_struct_tm+set}" = set; then |
|
|
5981 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3390 |
else |
5982 |
else |
3391 |
cat > conftest.$ac_ext <<EOF |
5983 |
cat >conftest.$ac_ext <<_ACEOF |
3392 |
#line 3393 "configure" |
5984 |
#line $LINENO "configure" |
3393 |
#include "confdefs.h" |
5985 |
#include "confdefs.h" |
3394 |
#include <sys/types.h> |
5986 |
#include <sys/types.h> |
3395 |
#include <time.h> |
5987 |
#include <time.h> |
3396 |
int main() { |
5988 |
|
|
|
5989 |
#ifdef F77_DUMMY_MAIN |
5990 |
# ifdef __cplusplus |
5991 |
extern "C" |
5992 |
# endif |
5993 |
int F77_DUMMY_MAIN() { return 1; } |
5994 |
#endif |
5995 |
int |
5996 |
main () |
5997 |
{ |
3397 |
struct tm *tp; tp->tm_sec; |
5998 |
struct tm *tp; tp->tm_sec; |
3398 |
; return 0; } |
5999 |
; |
3399 |
EOF |
6000 |
return 0; |
3400 |
if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6001 |
} |
3401 |
rm -rf conftest* |
6002 |
_ACEOF |
|
|
6003 |
rm -f conftest.$ac_objext |
6004 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6005 |
(eval $ac_compile) 2>&5 |
6006 |
ac_status=$? |
6007 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6008 |
(exit $ac_status); } && |
6009 |
{ ac_try='test -s conftest.$ac_objext' |
6010 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6011 |
(eval $ac_try) 2>&5 |
6012 |
ac_status=$? |
6013 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6014 |
(exit $ac_status); }; }; then |
3402 |
ac_cv_struct_tm=time.h |
6015 |
ac_cv_struct_tm=time.h |
3403 |
else |
6016 |
else |
3404 |
echo "configure: failed program was:" >&5 |
6017 |
echo "$as_me: failed program was:" >&5 |
3405 |
cat conftest.$ac_ext >&5 |
6018 |
cat conftest.$ac_ext >&5 |
3406 |
rm -rf conftest* |
6019 |
ac_cv_struct_tm=sys/time.h |
3407 |
ac_cv_struct_tm=sys/time.h |
|
|
3408 |
fi |
6020 |
fi |
3409 |
rm -f conftest* |
6021 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3410 |
fi |
6022 |
fi |
3411 |
|
6023 |
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 |
3412 |
echo "$ac_t""$ac_cv_struct_tm" 1>&6 |
6024 |
echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
3413 |
if test $ac_cv_struct_tm = sys/time.h; then |
6025 |
if test $ac_cv_struct_tm = sys/time.h; then |
3414 |
cat >> confdefs.h <<\EOF |
6026 |
|
|
|
6027 |
cat >>confdefs.h <<\_ACEOF |
3415 |
#define TM_IN_SYS_TIME 1 |
6028 |
#define TM_IN_SYS_TIME 1 |
3416 |
EOF |
6029 |
_ACEOF |
3417 |
|
6030 |
|
3418 |
fi |
6031 |
fi |
3419 |
|
6032 |
|
3420 |
echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6 |
6033 |
echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 |
3421 |
echo "configure:3422: checking for tm_zone in struct tm" >&5 |
6034 |
echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6 |
3422 |
if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then |
6035 |
if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then |
3423 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6036 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3424 |
else |
6037 |
else |
3425 |
cat > conftest.$ac_ext <<EOF |
6038 |
cat >conftest.$ac_ext <<_ACEOF |
3426 |
#line 3427 "configure" |
6039 |
#line $LINENO "configure" |
3427 |
#include "confdefs.h" |
6040 |
#include "confdefs.h" |
3428 |
#include <sys/types.h> |
6041 |
#include <sys/types.h> |
3429 |
#include <$ac_cv_struct_tm> |
6042 |
#include <$ac_cv_struct_tm> |
3430 |
int main() { |
6043 |
|
3431 |
struct tm tm; tm.tm_zone; |
6044 |
|
3432 |
; return 0; } |
6045 |
#ifdef F77_DUMMY_MAIN |
3433 |
EOF |
6046 |
# ifdef __cplusplus |
3434 |
if { (eval echo configure:3435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6047 |
extern "C" |
3435 |
rm -rf conftest* |
6048 |
# endif |
3436 |
ac_cv_struct_tm_zone=yes |
6049 |
int F77_DUMMY_MAIN() { return 1; } |
3437 |
else |
6050 |
#endif |
3438 |
echo "configure: failed program was:" >&5 |
6051 |
int |
3439 |
cat conftest.$ac_ext >&5 |
6052 |
main () |
3440 |
rm -rf conftest* |
6053 |
{ |
3441 |
ac_cv_struct_tm_zone=no |
6054 |
static struct tm ac_aggr; |
3442 |
fi |
6055 |
if (ac_aggr.tm_zone) |
3443 |
rm -f conftest* |
6056 |
return 0; |
|
|
6057 |
; |
6058 |
return 0; |
6059 |
} |
6060 |
_ACEOF |
6061 |
rm -f conftest.$ac_objext |
6062 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6063 |
(eval $ac_compile) 2>&5 |
6064 |
ac_status=$? |
6065 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6066 |
(exit $ac_status); } && |
6067 |
{ ac_try='test -s conftest.$ac_objext' |
6068 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6069 |
(eval $ac_try) 2>&5 |
6070 |
ac_status=$? |
6071 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6072 |
(exit $ac_status); }; }; then |
6073 |
ac_cv_member_struct_tm_tm_zone=yes |
6074 |
else |
6075 |
echo "$as_me: failed program was:" >&5 |
6076 |
cat conftest.$ac_ext >&5 |
6077 |
ac_cv_member_struct_tm_tm_zone=no |
6078 |
fi |
6079 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6080 |
fi |
6081 |
echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 |
6082 |
echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6 |
6083 |
if test $ac_cv_member_struct_tm_tm_zone = yes; then |
6084 |
|
6085 |
cat >>confdefs.h <<_ACEOF |
6086 |
#define HAVE_STRUCT_TM_TM_ZONE 1 |
6087 |
_ACEOF |
6088 |
|
6089 |
|
3444 |
fi |
6090 |
fi |
3445 |
|
6091 |
|
3446 |
echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6 |
6092 |
if test "$ac_cv_member_struct_tm_tm_zone" = yes; then |
3447 |
if test "$ac_cv_struct_tm_zone" = yes; then |
6093 |
|
3448 |
cat >> confdefs.h <<\EOF |
6094 |
cat >>confdefs.h <<\_ACEOF |
3449 |
#define HAVE_TM_ZONE 1 |
6095 |
#define HAVE_TM_ZONE 1 |
3450 |
EOF |
6096 |
_ACEOF |
3451 |
|
6097 |
|
3452 |
else |
6098 |
else |
3453 |
echo $ac_n "checking for tzname""... $ac_c" 1>&6 |
6099 |
echo "$as_me:$LINENO: checking for tzname" >&5 |
3454 |
echo "configure:3455: checking for tzname" >&5 |
6100 |
echo $ECHO_N "checking for tzname... $ECHO_C" >&6 |
3455 |
if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then |
6101 |
if test "${ac_cv_var_tzname+set}" = set; then |
3456 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6102 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3457 |
else |
6103 |
else |
3458 |
cat > conftest.$ac_ext <<EOF |
6104 |
cat >conftest.$ac_ext <<_ACEOF |
3459 |
#line 3460 "configure" |
6105 |
#line $LINENO "configure" |
3460 |
#include "confdefs.h" |
6106 |
#include "confdefs.h" |
3461 |
#include <time.h> |
6107 |
#include <time.h> |
3462 |
#ifndef tzname /* For SGI. */ |
6108 |
#ifndef tzname /* For SGI. */ |
3463 |
extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
6109 |
extern char *tzname[]; /* RS6000 and others reject char **tzname. */ |
3464 |
#endif |
6110 |
#endif |
3465 |
int main() { |
6111 |
|
|
|
6112 |
#ifdef F77_DUMMY_MAIN |
6113 |
# ifdef __cplusplus |
6114 |
extern "C" |
6115 |
# endif |
6116 |
int F77_DUMMY_MAIN() { return 1; } |
6117 |
#endif |
6118 |
int |
6119 |
main () |
6120 |
{ |
3466 |
atoi(*tzname); |
6121 |
atoi(*tzname); |
3467 |
; return 0; } |
6122 |
; |
3468 |
EOF |
6123 |
return 0; |
3469 |
if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6124 |
} |
3470 |
rm -rf conftest* |
6125 |
_ACEOF |
|
|
6126 |
rm -f conftest.$ac_objext conftest$ac_exeext |
6127 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6128 |
(eval $ac_link) 2>&5 |
6129 |
ac_status=$? |
6130 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6131 |
(exit $ac_status); } && |
6132 |
{ ac_try='test -s conftest$ac_exeext' |
6133 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6134 |
(eval $ac_try) 2>&5 |
6135 |
ac_status=$? |
6136 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6137 |
(exit $ac_status); }; }; then |
3471 |
ac_cv_var_tzname=yes |
6138 |
ac_cv_var_tzname=yes |
3472 |
else |
6139 |
else |
3473 |
echo "configure: failed program was:" >&5 |
6140 |
echo "$as_me: failed program was:" >&5 |
3474 |
cat conftest.$ac_ext >&5 |
6141 |
cat conftest.$ac_ext >&5 |
3475 |
rm -rf conftest* |
6142 |
ac_cv_var_tzname=no |
3476 |
ac_cv_var_tzname=no |
|
|
3477 |
fi |
6143 |
fi |
3478 |
rm -f conftest* |
6144 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3479 |
fi |
6145 |
fi |
3480 |
|
6146 |
echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5 |
3481 |
echo "$ac_t""$ac_cv_var_tzname" 1>&6 |
6147 |
echo "${ECHO_T}$ac_cv_var_tzname" >&6 |
3482 |
if test $ac_cv_var_tzname = yes; then |
6148 |
if test $ac_cv_var_tzname = yes; then |
3483 |
cat >> confdefs.h <<\EOF |
6149 |
|
|
|
6150 |
cat >>confdefs.h <<\_ACEOF |
3484 |
#define HAVE_TZNAME 1 |
6151 |
#define HAVE_TZNAME 1 |
3485 |
EOF |
6152 |
_ACEOF |
3486 |
|
6153 |
|
3487 |
fi |
6154 |
fi |
3488 |
fi |
6155 |
fi |
3489 |
|
6156 |
|
3490 |
|
6157 |
|
3491 |
echo $ac_n "checking timezone""... $ac_c" 1>&6 |
6158 |
echo "$as_me:$LINENO: checking timezone" >&5 |
3492 |
echo "configure:3493: checking timezone" >&5 |
6159 |
echo $ECHO_N "checking timezone... $ECHO_C" >&6 |
3493 |
if eval "test \"`echo '$''{'fptools_cv_have_timezone'+set}'`\" = set"; then |
6160 |
if test "${fptools_cv_have_timezone+set}" = set; then |
3494 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6161 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3495 |
else |
6162 |
else |
3496 |
cat > conftest.$ac_ext <<EOF |
6163 |
cat >conftest.$ac_ext <<_ACEOF |
3497 |
#line 3498 "configure" |
6164 |
#line $LINENO "configure" |
3498 |
#include "confdefs.h" |
6165 |
#include "confdefs.h" |
3499 |
#if TIME_WITH_SYS_TIME |
6166 |
#if TIME_WITH_SYS_TIME |
3500 |
# include <sys/time.h> |
6167 |
# include <sys/time.h> |
Lines 3507-3543
Link Here
|
3507 |
# endif |
6174 |
# endif |
3508 |
#endif |
6175 |
#endif |
3509 |
|
6176 |
|
3510 |
int main() { |
6177 |
#ifdef F77_DUMMY_MAIN |
|
|
6178 |
# ifdef __cplusplus |
6179 |
extern "C" |
6180 |
# endif |
6181 |
int F77_DUMMY_MAIN() { return 1; } |
6182 |
#endif |
6183 |
int |
6184 |
main () |
6185 |
{ |
3511 |
return timezone; |
6186 |
return timezone; |
3512 |
; return 0; } |
6187 |
; |
3513 |
EOF |
6188 |
return 0; |
3514 |
if { (eval echo configure:3515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6189 |
} |
3515 |
rm -rf conftest* |
6190 |
_ACEOF |
|
|
6191 |
rm -f conftest.$ac_objext |
6192 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6193 |
(eval $ac_compile) 2>&5 |
6194 |
ac_status=$? |
6195 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6196 |
(exit $ac_status); } && |
6197 |
{ ac_try='test -s conftest.$ac_objext' |
6198 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6199 |
(eval $ac_try) 2>&5 |
6200 |
ac_status=$? |
6201 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6202 |
(exit $ac_status); }; }; then |
3516 |
fptools_cv_have_timezone=yes |
6203 |
fptools_cv_have_timezone=yes |
3517 |
else |
6204 |
else |
3518 |
echo "configure: failed program was:" >&5 |
6205 |
echo "$as_me: failed program was:" >&5 |
3519 |
cat conftest.$ac_ext >&5 |
6206 |
cat conftest.$ac_ext >&5 |
3520 |
rm -rf conftest* |
6207 |
fptools_cv_have_timezone=no |
3521 |
fptools_cv_have_timezone=no |
|
|
3522 |
fi |
6208 |
fi |
3523 |
rm -f conftest* |
6209 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3524 |
fi |
6210 |
fi |
3525 |
|
6211 |
echo "$as_me:$LINENO: result: $fptools_cv_have_timezone" >&5 |
3526 |
echo "$ac_t""$fptools_cv_have_timezone" 1>&6 |
6212 |
echo "${ECHO_T}$fptools_cv_have_timezone" >&6 |
3527 |
if test "$fptools_cv_have_timezone" = yes; then |
6213 |
if test "$fptools_cv_have_timezone" = yes; then |
3528 |
cat >> confdefs.h <<\EOF |
6214 |
cat >>confdefs.h <<\_ACEOF |
3529 |
#define HAVE_TIMEZONE 1 |
6215 |
#define HAVE_TIMEZONE 1 |
3530 |
EOF |
6216 |
_ACEOF |
3531 |
|
6217 |
|
3532 |
fi |
6218 |
fi |
3533 |
|
6219 |
|
3534 |
echo $ac_n "checking type of timezone""... $ac_c" 1>&6 |
6220 |
echo "$as_me:$LINENO: checking type of timezone" >&5 |
3535 |
echo "configure:3536: checking type of timezone" >&5 |
6221 |
echo $ECHO_N "checking type of timezone... $ECHO_C" >&6 |
3536 |
if eval "test \"`echo '$''{'fptools_cv_type_timezone'+set}'`\" = set"; then |
6222 |
if test "${fptools_cv_type_timezone+set}" = set; then |
3537 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6223 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3538 |
else |
6224 |
else |
3539 |
cat > conftest.$ac_ext <<EOF |
6225 |
cat >conftest.$ac_ext <<_ACEOF |
3540 |
#line 3541 "configure" |
6226 |
#line $LINENO "configure" |
3541 |
#include "confdefs.h" |
6227 |
#include "confdefs.h" |
3542 |
#if TIME_WITH_SYS_TIME |
6228 |
#if TIME_WITH_SYS_TIME |
3543 |
# include <sys/time.h> |
6229 |
# include <sys/time.h> |
Lines 3550-3587
Link Here
|
3550 |
# endif |
6236 |
# endif |
3551 |
#endif |
6237 |
#endif |
3552 |
|
6238 |
|
3553 |
extern time_t timezone; |
6239 |
extern time_t timezone; |
3554 |
|
6240 |
|
3555 |
int main() { |
6241 |
#ifdef F77_DUMMY_MAIN |
|
|
6242 |
# ifdef __cplusplus |
6243 |
extern "C" |
6244 |
# endif |
6245 |
int F77_DUMMY_MAIN() { return 1; } |
6246 |
#endif |
6247 |
int |
6248 |
main () |
6249 |
{ |
3556 |
int i; |
6250 |
int i; |
3557 |
; return 0; } |
6251 |
; |
3558 |
EOF |
6252 |
return 0; |
3559 |
if { (eval echo configure:3560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6253 |
} |
3560 |
rm -rf conftest* |
6254 |
_ACEOF |
|
|
6255 |
rm -f conftest.$ac_objext |
6256 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6257 |
(eval $ac_compile) 2>&5 |
6258 |
ac_status=$? |
6259 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6260 |
(exit $ac_status); } && |
6261 |
{ ac_try='test -s conftest.$ac_objext' |
6262 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6263 |
(eval $ac_try) 2>&5 |
6264 |
ac_status=$? |
6265 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6266 |
(exit $ac_status); }; }; then |
3561 |
fptools_cv_type_timezone=time_t |
6267 |
fptools_cv_type_timezone=time_t |
3562 |
else |
6268 |
else |
3563 |
echo "configure: failed program was:" >&5 |
6269 |
echo "$as_me: failed program was:" >&5 |
3564 |
cat conftest.$ac_ext >&5 |
6270 |
cat conftest.$ac_ext >&5 |
3565 |
rm -rf conftest* |
6271 |
fptools_cv_type_timezone=long |
3566 |
fptools_cv_type_timezone=long |
6272 |
fi |
3567 |
fi |
6273 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3568 |
rm -f conftest* |
6274 |
fi |
3569 |
fi |
6275 |
echo "$as_me:$LINENO: result: $fptools_cv_type_timezone" >&5 |
3570 |
|
6276 |
echo "${ECHO_T}$fptools_cv_type_timezone" >&6 |
3571 |
echo "$ac_t""$fptools_cv_type_timezone" 1>&6 |
6277 |
cat >>confdefs.h <<_ACEOF |
3572 |
cat >> confdefs.h <<EOF |
|
|
3573 |
#define TYPE_TIMEZONE $fptools_cv_type_timezone |
6278 |
#define TYPE_TIMEZONE $fptools_cv_type_timezone |
3574 |
EOF |
6279 |
_ACEOF |
3575 |
|
6280 |
|
3576 |
|
6281 |
|
3577 |
|
6282 |
|
3578 |
echo $ac_n "checking altzone""... $ac_c" 1>&6 |
6283 |
echo "$as_me:$LINENO: checking altzone" >&5 |
3579 |
echo "configure:3580: checking altzone" >&5 |
6284 |
echo $ECHO_N "checking altzone... $ECHO_C" >&6 |
3580 |
if eval "test \"`echo '$''{'fptools_cv_altzone'+set}'`\" = set"; then |
6285 |
if test "${fptools_cv_altzone+set}" = set; then |
3581 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6286 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3582 |
else |
6287 |
else |
3583 |
cat > conftest.$ac_ext <<EOF |
6288 |
cat >conftest.$ac_ext <<_ACEOF |
3584 |
#line 3585 "configure" |
6289 |
#line $LINENO "configure" |
3585 |
#include "confdefs.h" |
6290 |
#include "confdefs.h" |
3586 |
#if TIME_WITH_SYS_TIME |
6291 |
#if TIME_WITH_SYS_TIME |
3587 |
# include <sys/time.h> |
6292 |
# include <sys/time.h> |
Lines 3594-4303
Link Here
|
3594 |
# endif |
6299 |
# endif |
3595 |
#endif |
6300 |
#endif |
3596 |
|
6301 |
|
3597 |
int main() { |
6302 |
#ifdef F77_DUMMY_MAIN |
|
|
6303 |
# ifdef __cplusplus |
6304 |
extern "C" |
6305 |
# endif |
6306 |
int F77_DUMMY_MAIN() { return 1; } |
6307 |
#endif |
6308 |
int |
6309 |
main () |
6310 |
{ |
3598 |
return altzone; |
6311 |
return altzone; |
3599 |
; return 0; } |
6312 |
; |
3600 |
EOF |
6313 |
return 0; |
3601 |
if { (eval echo configure:3602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6314 |
} |
3602 |
rm -rf conftest* |
6315 |
_ACEOF |
|
|
6316 |
rm -f conftest.$ac_objext conftest$ac_exeext |
6317 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
6318 |
(eval $ac_link) 2>&5 |
6319 |
ac_status=$? |
6320 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6321 |
(exit $ac_status); } && |
6322 |
{ ac_try='test -s conftest$ac_exeext' |
6323 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6324 |
(eval $ac_try) 2>&5 |
6325 |
ac_status=$? |
6326 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6327 |
(exit $ac_status); }; }; then |
3603 |
fptools_cv_altzone=yes |
6328 |
fptools_cv_altzone=yes |
3604 |
else |
6329 |
else |
3605 |
echo "configure: failed program was:" >&5 |
6330 |
echo "$as_me: failed program was:" >&5 |
3606 |
cat conftest.$ac_ext >&5 |
6331 |
cat conftest.$ac_ext >&5 |
3607 |
rm -rf conftest* |
6332 |
fptools_cv_altzone=no |
3608 |
fptools_cv_altzone=no |
|
|
3609 |
fi |
6333 |
fi |
3610 |
rm -f conftest* |
6334 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
3611 |
fi |
6335 |
fi |
3612 |
|
6336 |
echo "$as_me:$LINENO: result: $fptools_cv_altzone" >&5 |
3613 |
echo "$ac_t""$fptools_cv_altzone" 1>&6 |
6337 |
echo "${ECHO_T}$fptools_cv_altzone" >&6 |
3614 |
if test "$fptools_cv_altzone" = yes; then |
6338 |
if test "$fptools_cv_altzone" = yes; then |
3615 |
cat >> confdefs.h <<\EOF |
6339 |
cat >>confdefs.h <<\_ACEOF |
3616 |
#define HAVE_ALTZONE 1 |
6340 |
#define HAVE_ALTZONE 1 |
3617 |
EOF |
6341 |
_ACEOF |
3618 |
|
6342 |
|
3619 |
fi |
6343 |
fi |
3620 |
|
6344 |
|
3621 |
|
6345 |
|
3622 |
echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6 |
6346 |
|
3623 |
echo "configure:3624: checking for st_blksize in struct stat" >&5 |
6347 |
echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5 |
3624 |
if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then |
6348 |
echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6 |
3625 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6349 |
if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then |
|
|
6350 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3626 |
else |
6351 |
else |
3627 |
cat > conftest.$ac_ext <<EOF |
6352 |
cat >conftest.$ac_ext <<_ACEOF |
3628 |
#line 3629 "configure" |
6353 |
#line $LINENO "configure" |
3629 |
#include "confdefs.h" |
6354 |
#include "confdefs.h" |
3630 |
#include <sys/types.h> |
6355 |
$ac_includes_default |
3631 |
#include <sys/stat.h> |
6356 |
#ifdef F77_DUMMY_MAIN |
3632 |
int main() { |
6357 |
# ifdef __cplusplus |
3633 |
struct stat s; s.st_blksize; |
6358 |
extern "C" |
3634 |
; return 0; } |
6359 |
# endif |
3635 |
EOF |
6360 |
int F77_DUMMY_MAIN() { return 1; } |
3636 |
if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6361 |
#endif |
3637 |
rm -rf conftest* |
6362 |
int |
3638 |
ac_cv_struct_st_blksize=yes |
6363 |
main () |
3639 |
else |
6364 |
{ |
3640 |
echo "configure: failed program was:" >&5 |
6365 |
static struct stat ac_aggr; |
3641 |
cat conftest.$ac_ext >&5 |
6366 |
if (ac_aggr.st_blksize) |
3642 |
rm -rf conftest* |
6367 |
return 0; |
3643 |
ac_cv_struct_st_blksize=no |
6368 |
; |
3644 |
fi |
6369 |
return 0; |
3645 |
rm -f conftest* |
6370 |
} |
3646 |
fi |
6371 |
_ACEOF |
|
|
6372 |
rm -f conftest.$ac_objext |
6373 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6374 |
(eval $ac_compile) 2>&5 |
6375 |
ac_status=$? |
6376 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6377 |
(exit $ac_status); } && |
6378 |
{ ac_try='test -s conftest.$ac_objext' |
6379 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6380 |
(eval $ac_try) 2>&5 |
6381 |
ac_status=$? |
6382 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6383 |
(exit $ac_status); }; }; then |
6384 |
ac_cv_member_struct_stat_st_blksize=yes |
6385 |
else |
6386 |
echo "$as_me: failed program was:" >&5 |
6387 |
cat conftest.$ac_ext >&5 |
6388 |
ac_cv_member_struct_stat_st_blksize=no |
6389 |
fi |
6390 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6391 |
fi |
6392 |
echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5 |
6393 |
echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6 |
6394 |
if test $ac_cv_member_struct_stat_st_blksize = yes; then |
6395 |
|
6396 |
cat >>confdefs.h <<_ACEOF |
6397 |
#define HAVE_STRUCT_STAT_ST_BLKSIZE 1 |
6398 |
_ACEOF |
6399 |
|
3647 |
|
6400 |
|
3648 |
echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6 |
6401 |
cat >>confdefs.h <<\_ACEOF |
3649 |
if test $ac_cv_struct_st_blksize = yes; then |
|
|
3650 |
cat >> confdefs.h <<\EOF |
3651 |
#define HAVE_ST_BLKSIZE 1 |
6402 |
#define HAVE_ST_BLKSIZE 1 |
3652 |
EOF |
6403 |
_ACEOF |
3653 |
|
6404 |
|
3654 |
fi |
6405 |
fi |
3655 |
|
6406 |
|
3656 |
|
6407 |
|
3657 |
|
6408 |
|
3658 |
|
6409 |
|
3659 |
echo $ac_n "checking whether ${CC} supports long long types""... $ac_c" 1>&6 |
6410 |
|
3660 |
echo "configure:3661: checking whether ${CC} supports long long types" >&5 |
6411 |
echo "$as_me:$LINENO: checking whether ${CC} supports long long types" >&5 |
3661 |
if eval "test \"`echo '$''{'fptools_cv_have_long_long'+set}'`\" = set"; then |
6412 |
echo $ECHO_N "checking whether ${CC} supports long long types... $ECHO_C" >&6 |
3662 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6413 |
if test "${fptools_cv_have_long_long+set}" = set; then |
|
|
6414 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3663 |
else |
6415 |
else |
3664 |
|
6416 |
|
|
|
6417 |
|
3665 |
|
6418 |
|
3666 |
ac_ext=c |
6419 |
ac_ext=c |
3667 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
3668 |
ac_cpp='$CPP $CPPFLAGS' |
6420 |
ac_cpp='$CPP $CPPFLAGS' |
3669 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
6421 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3670 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
6422 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3671 |
cross_compiling=$ac_cv_prog_cc_cross |
6423 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3672 |
|
6424 |
|
3673 |
cat > conftest.$ac_ext <<EOF |
6425 |
cat >conftest.$ac_ext <<_ACEOF |
3674 |
#line 3675 "configure" |
6426 |
#line $LINENO "configure" |
3675 |
#include "confdefs.h" |
6427 |
#include "confdefs.h" |
3676 |
|
6428 |
|
3677 |
int main() { |
6429 |
#ifdef F77_DUMMY_MAIN |
|
|
6430 |
# ifdef __cplusplus |
6431 |
extern "C" |
6432 |
# endif |
6433 |
int F77_DUMMY_MAIN() { return 1; } |
6434 |
#endif |
6435 |
int |
6436 |
main () |
6437 |
{ |
3678 |
long long a; |
6438 |
long long a; |
3679 |
; return 0; } |
6439 |
; |
3680 |
EOF |
6440 |
return 0; |
3681 |
if { (eval echo configure:3682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6441 |
} |
3682 |
rm -rf conftest* |
6442 |
_ACEOF |
|
|
6443 |
rm -f conftest.$ac_objext |
6444 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6445 |
(eval $ac_compile) 2>&5 |
6446 |
ac_status=$? |
6447 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6448 |
(exit $ac_status); } && |
6449 |
{ ac_try='test -s conftest.$ac_objext' |
6450 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6451 |
(eval $ac_try) 2>&5 |
6452 |
ac_status=$? |
6453 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6454 |
(exit $ac_status); }; }; then |
3683 |
fptools_cv_have_long_long=yes |
6455 |
fptools_cv_have_long_long=yes |
3684 |
else |
6456 |
else |
3685 |
echo "configure: failed program was:" >&5 |
6457 |
echo "$as_me: failed program was:" >&5 |
3686 |
cat conftest.$ac_ext >&5 |
6458 |
cat conftest.$ac_ext >&5 |
3687 |
rm -rf conftest* |
6459 |
fptools_cv_have_long_long=no |
3688 |
fptools_cv_have_long_long=no |
|
|
3689 |
fi |
6460 |
fi |
3690 |
rm -f conftest* |
6461 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3691 |
ac_ext=c |
6462 |
ac_ext=c |
3692 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
3693 |
ac_cpp='$CPP $CPPFLAGS' |
6463 |
ac_cpp='$CPP $CPPFLAGS' |
3694 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
6464 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3695 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
6465 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3696 |
cross_compiling=$ac_cv_prog_cc_cross |
6466 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3697 |
|
6467 |
|
3698 |
|
6468 |
|
3699 |
fi |
6469 |
fi |
3700 |
|
6470 |
|
3701 |
echo "$ac_t""$fptools_cv_have_long_long" 1>&6 |
6471 |
echo "$as_me:$LINENO: result: $fptools_cv_have_long_long" >&5 |
|
|
6472 |
echo "${ECHO_T}$fptools_cv_have_long_long" >&6 |
3702 |
if test "$fptools_cv_have_long_long" = yes; then |
6473 |
if test "$fptools_cv_have_long_long" = yes; then |
3703 |
cat >> confdefs.h <<\EOF |
6474 |
cat >>confdefs.h <<\_ACEOF |
3704 |
#define HAVE_LONG_LONG 1 |
6475 |
#define HAVE_LONG_LONG 1 |
3705 |
EOF |
6476 |
_ACEOF |
3706 |
|
6477 |
|
3707 |
fi |
6478 |
fi |
3708 |
|
6479 |
|
3709 |
|
6480 |
|
3710 |
echo $ac_n "checking for msg_accrights in struct msghdr""... $ac_c" 1>&6 |
6481 |
echo "$as_me:$LINENO: checking for msg_accrights in struct msghdr" >&5 |
3711 |
echo "configure:3712: checking for msg_accrights in struct msghdr" >&5 |
6482 |
echo $ECHO_N "checking for msg_accrights in struct msghdr... $ECHO_C" >&6 |
3712 |
if eval "test \"`echo '$''{'fptools_cv_struct_msghdr_msg_accrights'+set}'`\" = set"; then |
6483 |
if test "${fptools_cv_struct_msghdr_msg_accrights+set}" = set; then |
3713 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6484 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3714 |
else |
6485 |
else |
3715 |
cat > conftest.$ac_ext <<EOF |
6486 |
cat >conftest.$ac_ext <<_ACEOF |
3716 |
#line 3717 "configure" |
6487 |
#line $LINENO "configure" |
3717 |
#include "confdefs.h" |
6488 |
#include "confdefs.h" |
3718 |
#include <sys/uio.h> |
6489 |
#include <sys/uio.h> |
3719 |
#include <sys/socket.h> |
6490 |
#include <sys/socket.h> |
3720 |
int main() { |
6491 |
#ifdef F77_DUMMY_MAIN |
|
|
6492 |
# ifdef __cplusplus |
6493 |
extern "C" |
6494 |
# endif |
6495 |
int F77_DUMMY_MAIN() { return 1; } |
6496 |
#endif |
6497 |
int |
6498 |
main () |
6499 |
{ |
3721 |
struct msghdr m; m.msg_accrights; |
6500 |
struct msghdr m; m.msg_accrights; |
3722 |
; return 0; } |
6501 |
; |
3723 |
EOF |
6502 |
return 0; |
3724 |
if { (eval echo configure:3725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6503 |
} |
3725 |
rm -rf conftest* |
6504 |
_ACEOF |
|
|
6505 |
rm -f conftest.$ac_objext |
6506 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6507 |
(eval $ac_compile) 2>&5 |
6508 |
ac_status=$? |
6509 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6510 |
(exit $ac_status); } && |
6511 |
{ ac_try='test -s conftest.$ac_objext' |
6512 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6513 |
(eval $ac_try) 2>&5 |
6514 |
ac_status=$? |
6515 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6516 |
(exit $ac_status); }; }; then |
3726 |
fptools_cv_struct_msghdr_msg_accrights=yes |
6517 |
fptools_cv_struct_msghdr_msg_accrights=yes |
3727 |
else |
6518 |
else |
3728 |
echo "configure: failed program was:" >&5 |
6519 |
echo "$as_me: failed program was:" >&5 |
3729 |
cat conftest.$ac_ext >&5 |
6520 |
cat conftest.$ac_ext >&5 |
3730 |
rm -rf conftest* |
6521 |
fptools_cv_struct_msghdr_msg_accrights=no |
3731 |
fptools_cv_struct_msghdr_msg_accrights=no |
|
|
3732 |
fi |
6522 |
fi |
3733 |
rm -f conftest* |
6523 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3734 |
fi |
6524 |
fi |
3735 |
|
6525 |
echo "$as_me:$LINENO: result: $fptools_cv_struct_msghdr_msg_accrights" >&5 |
3736 |
echo "$ac_t""$fptools_cv_struct_msghdr_msg_accrights" 1>&6 |
6526 |
echo "${ECHO_T}$fptools_cv_struct_msghdr_msg_accrights" >&6 |
3737 |
if test $fptools_cv_struct_msghdr_msg_accrights = yes; then |
6527 |
if test $fptools_cv_struct_msghdr_msg_accrights = yes; then |
3738 |
cat >> confdefs.h <<\EOF |
6528 |
cat >>confdefs.h <<\_ACEOF |
3739 |
#define HAVE_MSGHDR_MSG_ACCRIGHTS 1 |
6529 |
#define HAVE_MSGHDR_MSG_ACCRIGHTS 1 |
3740 |
EOF |
6530 |
_ACEOF |
3741 |
|
6531 |
|
3742 |
fi |
6532 |
fi |
3743 |
|
6533 |
|
3744 |
echo $ac_n "checking for msg_control in struct msghdr""... $ac_c" 1>&6 |
6534 |
echo "$as_me:$LINENO: checking for msg_control in struct msghdr" >&5 |
3745 |
echo "configure:3746: checking for msg_control in struct msghdr" >&5 |
6535 |
echo $ECHO_N "checking for msg_control in struct msghdr... $ECHO_C" >&6 |
3746 |
if eval "test \"`echo '$''{'fptools_cv_struct_msghdr_msg_control'+set}'`\" = set"; then |
6536 |
if test "${fptools_cv_struct_msghdr_msg_control+set}" = set; then |
3747 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6537 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3748 |
else |
6538 |
else |
3749 |
cat > conftest.$ac_ext <<EOF |
6539 |
cat >conftest.$ac_ext <<_ACEOF |
3750 |
#line 3751 "configure" |
6540 |
#line $LINENO "configure" |
3751 |
#include "confdefs.h" |
6541 |
#include "confdefs.h" |
3752 |
#include <sys/uio.h> |
6542 |
#include <sys/uio.h> |
3753 |
#include <sys/socket.h> |
6543 |
#include <sys/socket.h> |
3754 |
int main() { |
6544 |
#ifdef F77_DUMMY_MAIN |
|
|
6545 |
# ifdef __cplusplus |
6546 |
extern "C" |
6547 |
# endif |
6548 |
int F77_DUMMY_MAIN() { return 1; } |
6549 |
#endif |
6550 |
int |
6551 |
main () |
6552 |
{ |
3755 |
struct msghdr m; m.msg_control; |
6553 |
struct msghdr m; m.msg_control; |
3756 |
; return 0; } |
6554 |
; |
3757 |
EOF |
6555 |
return 0; |
3758 |
if { (eval echo configure:3759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6556 |
} |
3759 |
rm -rf conftest* |
6557 |
_ACEOF |
|
|
6558 |
rm -f conftest.$ac_objext |
6559 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6560 |
(eval $ac_compile) 2>&5 |
6561 |
ac_status=$? |
6562 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6563 |
(exit $ac_status); } && |
6564 |
{ ac_try='test -s conftest.$ac_objext' |
6565 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6566 |
(eval $ac_try) 2>&5 |
6567 |
ac_status=$? |
6568 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6569 |
(exit $ac_status); }; }; then |
3760 |
fptools_cv_struct_msghdr_msg_control=yes |
6570 |
fptools_cv_struct_msghdr_msg_control=yes |
3761 |
else |
6571 |
else |
3762 |
echo "configure: failed program was:" >&5 |
6572 |
echo "$as_me: failed program was:" >&5 |
3763 |
cat conftest.$ac_ext >&5 |
6573 |
cat conftest.$ac_ext >&5 |
3764 |
rm -rf conftest* |
6574 |
fptools_cv_struct_msghdr_msg_control=no |
3765 |
fptools_cv_struct_msghdr_msg_control=no |
|
|
3766 |
fi |
6575 |
fi |
3767 |
rm -f conftest* |
6576 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3768 |
fi |
6577 |
fi |
3769 |
|
6578 |
echo "$as_me:$LINENO: result: $fptools_cv_struct_msghdr_msg_control" >&5 |
3770 |
echo "$ac_t""$fptools_cv_struct_msghdr_msg_control" 1>&6 |
6579 |
echo "${ECHO_T}$fptools_cv_struct_msghdr_msg_control" >&6 |
3771 |
if test $fptools_cv_struct_msghdr_msg_control = yes; then |
6580 |
if test $fptools_cv_struct_msghdr_msg_control = yes; then |
3772 |
cat >> confdefs.h <<\EOF |
6581 |
cat >>confdefs.h <<\_ACEOF |
3773 |
#define HAVE_MSGHDR_MSG_CONTROL 1 |
6582 |
#define HAVE_MSGHDR_MSG_CONTROL 1 |
3774 |
EOF |
6583 |
_ACEOF |
3775 |
|
6584 |
|
3776 |
fi |
6585 |
fi |
3777 |
|
6586 |
|
3778 |
|
6587 |
|
3779 |
echo $ac_n "checking size of char""... $ac_c" 1>&6 |
6588 |
echo "$as_me:$LINENO: checking for char" >&5 |
3780 |
echo "configure:3781: checking size of char" >&5 |
6589 |
echo $ECHO_N "checking for char... $ECHO_C" >&6 |
3781 |
if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then |
6590 |
if test "${ac_cv_type_char+set}" = set; then |
3782 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6591 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3783 |
else |
|
|
3784 |
if test "$cross_compiling" = yes; then |
3785 |
ac_cv_sizeof_char=1 |
3786 |
else |
6592 |
else |
3787 |
cat > conftest.$ac_ext <<EOF |
6593 |
cat >conftest.$ac_ext <<_ACEOF |
3788 |
#line 3789 "configure" |
6594 |
#line $LINENO "configure" |
3789 |
#include "confdefs.h" |
6595 |
#include "confdefs.h" |
3790 |
#include <stdio.h> |
6596 |
$ac_includes_default |
3791 |
int main() |
6597 |
#ifdef F77_DUMMY_MAIN |
|
|
6598 |
# ifdef __cplusplus |
6599 |
extern "C" |
6600 |
# endif |
6601 |
int F77_DUMMY_MAIN() { return 1; } |
6602 |
#endif |
6603 |
int |
6604 |
main () |
3792 |
{ |
6605 |
{ |
3793 |
FILE *f=fopen("conftestval", "w"); |
6606 |
if ((char *) 0) |
3794 |
if (!f) return(1); |
6607 |
return 0; |
3795 |
fprintf(f, "%d\n", sizeof(char)); |
6608 |
if (sizeof (char)) |
3796 |
return(0); |
6609 |
return 0; |
3797 |
} |
6610 |
; |
3798 |
EOF |
6611 |
return 0; |
3799 |
if { (eval echo configure:3800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6612 |
} |
3800 |
then |
6613 |
_ACEOF |
3801 |
ac_cv_sizeof_char=`cat conftestval` |
6614 |
rm -f conftest.$ac_objext |
3802 |
else |
6615 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3803 |
echo "configure: failed program was:" >&5 |
6616 |
(eval $ac_compile) 2>&5 |
3804 |
cat conftest.$ac_ext >&5 |
6617 |
ac_status=$? |
3805 |
rm -fr conftest* |
6618 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3806 |
ac_cv_sizeof_char=0 |
6619 |
(exit $ac_status); } && |
3807 |
fi |
6620 |
{ ac_try='test -s conftest.$ac_objext' |
3808 |
rm -fr conftest* |
6621 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3809 |
fi |
6622 |
(eval $ac_try) 2>&5 |
3810 |
|
6623 |
ac_status=$? |
3811 |
fi |
6624 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3812 |
echo "$ac_t""$ac_cv_sizeof_char" 1>&6 |
6625 |
(exit $ac_status); }; }; then |
3813 |
cat >> confdefs.h <<EOF |
6626 |
ac_cv_type_char=yes |
3814 |
#define SIZEOF_CHAR $ac_cv_sizeof_char |
6627 |
else |
3815 |
EOF |
6628 |
echo "$as_me: failed program was:" >&5 |
3816 |
|
6629 |
cat conftest.$ac_ext >&5 |
3817 |
|
6630 |
ac_cv_type_char=no |
3818 |
echo $ac_n "checking size of double""... $ac_c" 1>&6 |
6631 |
fi |
3819 |
echo "configure:3820: checking size of double" >&5 |
6632 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3820 |
if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then |
6633 |
fi |
3821 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6634 |
echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5 |
3822 |
else |
6635 |
echo "${ECHO_T}$ac_cv_type_char" >&6 |
|
|
6636 |
|
6637 |
echo "$as_me:$LINENO: checking size of char" >&5 |
6638 |
echo $ECHO_N "checking size of char... $ECHO_C" >&6 |
6639 |
if test "${ac_cv_sizeof_char+set}" = set; then |
6640 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6641 |
else |
6642 |
if test "$ac_cv_type_char" = yes; then |
6643 |
# The cast to unsigned long works around a bug in the HP C Compiler |
6644 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
6645 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
6646 |
# This bug is HP SR number 8606223364. |
3823 |
if test "$cross_compiling" = yes; then |
6647 |
if test "$cross_compiling" = yes; then |
3824 |
ac_cv_sizeof_double=8 |
6648 |
# Depending upon the size, compute the lo and hi bounds. |
3825 |
else |
6649 |
cat >conftest.$ac_ext <<_ACEOF |
3826 |
cat > conftest.$ac_ext <<EOF |
6650 |
#line $LINENO "configure" |
3827 |
#line 3828 "configure" |
6651 |
#include "confdefs.h" |
3828 |
#include "confdefs.h" |
6652 |
$ac_includes_default |
3829 |
#include <stdio.h> |
6653 |
#ifdef F77_DUMMY_MAIN |
3830 |
int main() |
6654 |
# ifdef __cplusplus |
|
|
6655 |
extern "C" |
6656 |
# endif |
6657 |
int F77_DUMMY_MAIN() { return 1; } |
6658 |
#endif |
6659 |
int |
6660 |
main () |
3831 |
{ |
6661 |
{ |
3832 |
FILE *f=fopen("conftestval", "w"); |
6662 |
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)]; |
3833 |
if (!f) return(1); |
6663 |
test_array [0] = 0 |
3834 |
fprintf(f, "%d\n", sizeof(double)); |
6664 |
|
3835 |
return(0); |
6665 |
; |
|
|
6666 |
return 0; |
3836 |
} |
6667 |
} |
3837 |
EOF |
6668 |
_ACEOF |
3838 |
if { (eval echo configure:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6669 |
rm -f conftest.$ac_objext |
3839 |
then |
6670 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3840 |
ac_cv_sizeof_double=`cat conftestval` |
6671 |
(eval $ac_compile) 2>&5 |
3841 |
else |
6672 |
ac_status=$? |
3842 |
echo "configure: failed program was:" >&5 |
6673 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3843 |
cat conftest.$ac_ext >&5 |
6674 |
(exit $ac_status); } && |
3844 |
rm -fr conftest* |
6675 |
{ ac_try='test -s conftest.$ac_objext' |
3845 |
ac_cv_sizeof_double=0 |
6676 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3846 |
fi |
6677 |
(eval $ac_try) 2>&5 |
3847 |
rm -fr conftest* |
6678 |
ac_status=$? |
3848 |
fi |
6679 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6680 |
(exit $ac_status); }; }; then |
6681 |
ac_lo=0 ac_mid=0 |
6682 |
while :; do |
6683 |
cat >conftest.$ac_ext <<_ACEOF |
6684 |
#line $LINENO "configure" |
6685 |
#include "confdefs.h" |
6686 |
$ac_includes_default |
6687 |
#ifdef F77_DUMMY_MAIN |
6688 |
# ifdef __cplusplus |
6689 |
extern "C" |
6690 |
# endif |
6691 |
int F77_DUMMY_MAIN() { return 1; } |
6692 |
#endif |
6693 |
int |
6694 |
main () |
6695 |
{ |
6696 |
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
6697 |
test_array [0] = 0 |
3849 |
|
6698 |
|
|
|
6699 |
; |
6700 |
return 0; |
6701 |
} |
6702 |
_ACEOF |
6703 |
rm -f conftest.$ac_objext |
6704 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6705 |
(eval $ac_compile) 2>&5 |
6706 |
ac_status=$? |
6707 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6708 |
(exit $ac_status); } && |
6709 |
{ ac_try='test -s conftest.$ac_objext' |
6710 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6711 |
(eval $ac_try) 2>&5 |
6712 |
ac_status=$? |
6713 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6714 |
(exit $ac_status); }; }; then |
6715 |
ac_hi=$ac_mid; break |
6716 |
else |
6717 |
echo "$as_me: failed program was:" >&5 |
6718 |
cat conftest.$ac_ext >&5 |
6719 |
ac_lo=`expr $ac_mid + 1` |
6720 |
if test $ac_lo -le $ac_mid; then |
6721 |
ac_lo= ac_hi= |
6722 |
break |
6723 |
fi |
6724 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
3850 |
fi |
6725 |
fi |
3851 |
echo "$ac_t""$ac_cv_sizeof_double" 1>&6 |
6726 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3852 |
cat >> confdefs.h <<EOF |
6727 |
done |
3853 |
#define SIZEOF_DOUBLE $ac_cv_sizeof_double |
|
|
3854 |
EOF |
3855 |
|
3856 |
|
3857 |
echo $ac_n "checking size of float""... $ac_c" 1>&6 |
3858 |
echo "configure:3859: checking size of float" >&5 |
3859 |
if eval "test \"`echo '$''{'ac_cv_sizeof_float'+set}'`\" = set"; then |
3860 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3861 |
else |
6728 |
else |
3862 |
if test "$cross_compiling" = yes; then |
6729 |
echo "$as_me: failed program was:" >&5 |
3863 |
ac_cv_sizeof_float=4 |
6730 |
cat conftest.$ac_ext >&5 |
3864 |
else |
6731 |
cat >conftest.$ac_ext <<_ACEOF |
3865 |
cat > conftest.$ac_ext <<EOF |
6732 |
#line $LINENO "configure" |
3866 |
#line 3867 "configure" |
6733 |
#include "confdefs.h" |
3867 |
#include "confdefs.h" |
6734 |
$ac_includes_default |
3868 |
#include <stdio.h> |
6735 |
#ifdef F77_DUMMY_MAIN |
3869 |
int main() |
6736 |
# ifdef __cplusplus |
|
|
6737 |
extern "C" |
6738 |
# endif |
6739 |
int F77_DUMMY_MAIN() { return 1; } |
6740 |
#endif |
6741 |
int |
6742 |
main () |
3870 |
{ |
6743 |
{ |
3871 |
FILE *f=fopen("conftestval", "w"); |
6744 |
static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)]; |
3872 |
if (!f) return(1); |
6745 |
test_array [0] = 0 |
3873 |
fprintf(f, "%d\n", sizeof(float)); |
6746 |
|
3874 |
return(0); |
6747 |
; |
|
|
6748 |
return 0; |
3875 |
} |
6749 |
} |
3876 |
EOF |
6750 |
_ACEOF |
3877 |
if { (eval echo configure:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6751 |
rm -f conftest.$ac_objext |
3878 |
then |
6752 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3879 |
ac_cv_sizeof_float=`cat conftestval` |
6753 |
(eval $ac_compile) 2>&5 |
3880 |
else |
6754 |
ac_status=$? |
3881 |
echo "configure: failed program was:" >&5 |
6755 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3882 |
cat conftest.$ac_ext >&5 |
6756 |
(exit $ac_status); } && |
3883 |
rm -fr conftest* |
6757 |
{ ac_try='test -s conftest.$ac_objext' |
3884 |
ac_cv_sizeof_float=0 |
6758 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3885 |
fi |
6759 |
(eval $ac_try) 2>&5 |
3886 |
rm -fr conftest* |
6760 |
ac_status=$? |
3887 |
fi |
6761 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6762 |
(exit $ac_status); }; }; then |
6763 |
ac_hi=-1 ac_mid=-1 |
6764 |
while :; do |
6765 |
cat >conftest.$ac_ext <<_ACEOF |
6766 |
#line $LINENO "configure" |
6767 |
#include "confdefs.h" |
6768 |
$ac_includes_default |
6769 |
#ifdef F77_DUMMY_MAIN |
6770 |
# ifdef __cplusplus |
6771 |
extern "C" |
6772 |
# endif |
6773 |
int F77_DUMMY_MAIN() { return 1; } |
6774 |
#endif |
6775 |
int |
6776 |
main () |
6777 |
{ |
6778 |
static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)]; |
6779 |
test_array [0] = 0 |
3888 |
|
6780 |
|
|
|
6781 |
; |
6782 |
return 0; |
6783 |
} |
6784 |
_ACEOF |
6785 |
rm -f conftest.$ac_objext |
6786 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6787 |
(eval $ac_compile) 2>&5 |
6788 |
ac_status=$? |
6789 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6790 |
(exit $ac_status); } && |
6791 |
{ ac_try='test -s conftest.$ac_objext' |
6792 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6793 |
(eval $ac_try) 2>&5 |
6794 |
ac_status=$? |
6795 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6796 |
(exit $ac_status); }; }; then |
6797 |
ac_lo=$ac_mid; break |
6798 |
else |
6799 |
echo "$as_me: failed program was:" >&5 |
6800 |
cat conftest.$ac_ext >&5 |
6801 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
6802 |
if test $ac_mid -le $ac_hi; then |
6803 |
ac_lo= ac_hi= |
6804 |
break |
6805 |
fi |
6806 |
ac_mid=`expr 2 '*' $ac_mid` |
3889 |
fi |
6807 |
fi |
3890 |
echo "$ac_t""$ac_cv_sizeof_float" 1>&6 |
6808 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3891 |
cat >> confdefs.h <<EOF |
6809 |
done |
3892 |
#define SIZEOF_FLOAT $ac_cv_sizeof_float |
6810 |
else |
3893 |
EOF |
6811 |
echo "$as_me: failed program was:" >&5 |
3894 |
|
6812 |
cat conftest.$ac_ext >&5 |
|
|
6813 |
ac_lo= ac_hi= |
6814 |
fi |
6815 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6816 |
fi |
6817 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6818 |
# Binary search between lo and hi bounds. |
6819 |
while test "x$ac_lo" != "x$ac_hi"; do |
6820 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
6821 |
cat >conftest.$ac_ext <<_ACEOF |
6822 |
#line $LINENO "configure" |
6823 |
#include "confdefs.h" |
6824 |
$ac_includes_default |
6825 |
#ifdef F77_DUMMY_MAIN |
6826 |
# ifdef __cplusplus |
6827 |
extern "C" |
6828 |
# endif |
6829 |
int F77_DUMMY_MAIN() { return 1; } |
6830 |
#endif |
6831 |
int |
6832 |
main () |
6833 |
{ |
6834 |
static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)]; |
6835 |
test_array [0] = 0 |
3895 |
|
6836 |
|
3896 |
echo $ac_n "checking size of int""... $ac_c" 1>&6 |
6837 |
; |
3897 |
echo "configure:3898: checking size of int" >&5 |
6838 |
return 0; |
3898 |
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
6839 |
} |
3899 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6840 |
_ACEOF |
|
|
6841 |
rm -f conftest.$ac_objext |
6842 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6843 |
(eval $ac_compile) 2>&5 |
6844 |
ac_status=$? |
6845 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6846 |
(exit $ac_status); } && |
6847 |
{ ac_try='test -s conftest.$ac_objext' |
6848 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6849 |
(eval $ac_try) 2>&5 |
6850 |
ac_status=$? |
6851 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6852 |
(exit $ac_status); }; }; then |
6853 |
ac_hi=$ac_mid |
6854 |
else |
6855 |
echo "$as_me: failed program was:" >&5 |
6856 |
cat conftest.$ac_ext >&5 |
6857 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
6858 |
fi |
6859 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6860 |
done |
6861 |
case $ac_lo in |
6862 |
?*) ac_cv_sizeof_char=$ac_lo;; |
6863 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 |
6864 |
echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} |
6865 |
{ (exit 1); exit 1; }; } ;; |
6866 |
esac |
3900 |
else |
6867 |
else |
3901 |
if test "$cross_compiling" = yes; then |
6868 |
if test "$cross_compiling" = yes; then |
3902 |
ac_cv_sizeof_int=4 |
6869 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
3903 |
else |
6870 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
3904 |
cat > conftest.$ac_ext <<EOF |
6871 |
{ (exit 1); exit 1; }; } |
3905 |
#line 3906 "configure" |
6872 |
else |
3906 |
#include "confdefs.h" |
6873 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
6874 |
#line $LINENO "configure" |
6875 |
#include "confdefs.h" |
6876 |
$ac_includes_default |
6877 |
long longval () { return (long) (sizeof (char)); } |
6878 |
unsigned long ulongval () { return (long) (sizeof (char)); } |
3907 |
#include <stdio.h> |
6879 |
#include <stdio.h> |
3908 |
int main() |
6880 |
#include <stdlib.h> |
|
|
6881 |
#ifdef F77_DUMMY_MAIN |
6882 |
# ifdef __cplusplus |
6883 |
extern "C" |
6884 |
# endif |
6885 |
int F77_DUMMY_MAIN() { return 1; } |
6886 |
#endif |
6887 |
int |
6888 |
main () |
3909 |
{ |
6889 |
{ |
3910 |
FILE *f=fopen("conftestval", "w"); |
6890 |
|
3911 |
if (!f) return(1); |
6891 |
FILE *f = fopen ("conftest.val", "w"); |
3912 |
fprintf(f, "%d\n", sizeof(int)); |
6892 |
if (! f) |
3913 |
return(0); |
6893 |
exit (1); |
|
|
6894 |
if (((long) (sizeof (char))) < 0) |
6895 |
{ |
6896 |
long i = longval (); |
6897 |
if (i != ((long) (sizeof (char)))) |
6898 |
exit (1); |
6899 |
fprintf (f, "%ld\n", i); |
6900 |
} |
6901 |
else |
6902 |
{ |
6903 |
unsigned long i = ulongval (); |
6904 |
if (i != ((long) (sizeof (char)))) |
6905 |
exit (1); |
6906 |
fprintf (f, "%lu\n", i); |
6907 |
} |
6908 |
exit (ferror (f) || fclose (f) != 0); |
6909 |
|
6910 |
; |
6911 |
return 0; |
3914 |
} |
6912 |
} |
3915 |
EOF |
6913 |
_ACEOF |
3916 |
if { (eval echo configure:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6914 |
rm -f conftest$ac_exeext |
3917 |
then |
6915 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
3918 |
ac_cv_sizeof_int=`cat conftestval` |
6916 |
(eval $ac_link) 2>&5 |
3919 |
else |
6917 |
ac_status=$? |
3920 |
echo "configure: failed program was:" >&5 |
6918 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3921 |
cat conftest.$ac_ext >&5 |
6919 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
3922 |
rm -fr conftest* |
6920 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3923 |
ac_cv_sizeof_int=0 |
6921 |
(eval $ac_try) 2>&5 |
|
|
6922 |
ac_status=$? |
6923 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6924 |
(exit $ac_status); }; }; then |
6925 |
ac_cv_sizeof_char=`cat conftest.val` |
6926 |
else |
6927 |
echo "$as_me: program exited with status $ac_status" >&5 |
6928 |
echo "$as_me: failed program was:" >&5 |
6929 |
cat conftest.$ac_ext >&5 |
6930 |
( exit $ac_status ) |
6931 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77" >&5 |
6932 |
echo "$as_me: error: cannot compute sizeof (char), 77" >&2;} |
6933 |
{ (exit 1); exit 1; }; } |
3924 |
fi |
6934 |
fi |
3925 |
rm -fr conftest* |
6935 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
3926 |
fi |
6936 |
fi |
3927 |
|
|
|
3928 |
fi |
6937 |
fi |
3929 |
echo "$ac_t""$ac_cv_sizeof_int" 1>&6 |
6938 |
rm -f conftest.val |
3930 |
cat >> confdefs.h <<EOF |
6939 |
else |
3931 |
#define SIZEOF_INT $ac_cv_sizeof_int |
6940 |
ac_cv_sizeof_char=0 |
3932 |
EOF |
6941 |
fi |
|
|
6942 |
fi |
6943 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 |
6944 |
echo "${ECHO_T}$ac_cv_sizeof_char" >&6 |
6945 |
cat >>confdefs.h <<_ACEOF |
6946 |
#define SIZEOF_CHAR $ac_cv_sizeof_char |
6947 |
_ACEOF |
3933 |
|
6948 |
|
3934 |
|
6949 |
|
3935 |
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
6950 |
echo "$as_me:$LINENO: checking for double" >&5 |
3936 |
echo "configure:3937: checking size of long" >&5 |
6951 |
echo $ECHO_N "checking for double... $ECHO_C" >&6 |
3937 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
6952 |
if test "${ac_cv_type_double+set}" = set; then |
3938 |
echo $ac_n "(cached) $ac_c" 1>&6 |
6953 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
3939 |
else |
6954 |
else |
3940 |
if test "$cross_compiling" = yes; then |
6955 |
cat >conftest.$ac_ext <<_ACEOF |
3941 |
ac_cv_sizeof_long=4 |
6956 |
#line $LINENO "configure" |
3942 |
else |
|
|
3943 |
cat > conftest.$ac_ext <<EOF |
3944 |
#line 3945 "configure" |
3945 |
#include "confdefs.h" |
6957 |
#include "confdefs.h" |
3946 |
#include <stdio.h> |
6958 |
$ac_includes_default |
3947 |
int main() |
6959 |
#ifdef F77_DUMMY_MAIN |
|
|
6960 |
# ifdef __cplusplus |
6961 |
extern "C" |
6962 |
# endif |
6963 |
int F77_DUMMY_MAIN() { return 1; } |
6964 |
#endif |
6965 |
int |
6966 |
main () |
3948 |
{ |
6967 |
{ |
3949 |
FILE *f=fopen("conftestval", "w"); |
6968 |
if ((double *) 0) |
3950 |
if (!f) return(1); |
6969 |
return 0; |
3951 |
fprintf(f, "%d\n", sizeof(long)); |
6970 |
if (sizeof (double)) |
3952 |
return(0); |
6971 |
return 0; |
|
|
6972 |
; |
6973 |
return 0; |
6974 |
} |
6975 |
_ACEOF |
6976 |
rm -f conftest.$ac_objext |
6977 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
6978 |
(eval $ac_compile) 2>&5 |
6979 |
ac_status=$? |
6980 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6981 |
(exit $ac_status); } && |
6982 |
{ ac_try='test -s conftest.$ac_objext' |
6983 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
6984 |
(eval $ac_try) 2>&5 |
6985 |
ac_status=$? |
6986 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
6987 |
(exit $ac_status); }; }; then |
6988 |
ac_cv_type_double=yes |
6989 |
else |
6990 |
echo "$as_me: failed program was:" >&5 |
6991 |
cat conftest.$ac_ext >&5 |
6992 |
ac_cv_type_double=no |
6993 |
fi |
6994 |
rm -f conftest.$ac_objext conftest.$ac_ext |
6995 |
fi |
6996 |
echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5 |
6997 |
echo "${ECHO_T}$ac_cv_type_double" >&6 |
6998 |
|
6999 |
echo "$as_me:$LINENO: checking size of double" >&5 |
7000 |
echo $ECHO_N "checking size of double... $ECHO_C" >&6 |
7001 |
if test "${ac_cv_sizeof_double+set}" = set; then |
7002 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7003 |
else |
7004 |
if test "$ac_cv_type_double" = yes; then |
7005 |
# The cast to unsigned long works around a bug in the HP C Compiler |
7006 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
7007 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
7008 |
# This bug is HP SR number 8606223364. |
7009 |
if test "$cross_compiling" = yes; then |
7010 |
# Depending upon the size, compute the lo and hi bounds. |
7011 |
cat >conftest.$ac_ext <<_ACEOF |
7012 |
#line $LINENO "configure" |
7013 |
#include "confdefs.h" |
7014 |
$ac_includes_default |
7015 |
#ifdef F77_DUMMY_MAIN |
7016 |
# ifdef __cplusplus |
7017 |
extern "C" |
7018 |
# endif |
7019 |
int F77_DUMMY_MAIN() { return 1; } |
7020 |
#endif |
7021 |
int |
7022 |
main () |
7023 |
{ |
7024 |
static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)]; |
7025 |
test_array [0] = 0 |
7026 |
|
7027 |
; |
7028 |
return 0; |
3953 |
} |
7029 |
} |
3954 |
EOF |
7030 |
_ACEOF |
3955 |
if { (eval echo configure:3956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7031 |
rm -f conftest.$ac_objext |
3956 |
then |
7032 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3957 |
ac_cv_sizeof_long=`cat conftestval` |
7033 |
(eval $ac_compile) 2>&5 |
3958 |
else |
7034 |
ac_status=$? |
3959 |
echo "configure: failed program was:" >&5 |
7035 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
3960 |
cat conftest.$ac_ext >&5 |
7036 |
(exit $ac_status); } && |
3961 |
rm -fr conftest* |
7037 |
{ ac_try='test -s conftest.$ac_objext' |
3962 |
ac_cv_sizeof_long=0 |
7038 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
3963 |
fi |
7039 |
(eval $ac_try) 2>&5 |
3964 |
rm -fr conftest* |
7040 |
ac_status=$? |
3965 |
fi |
7041 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7042 |
(exit $ac_status); }; }; then |
7043 |
ac_lo=0 ac_mid=0 |
7044 |
while :; do |
7045 |
cat >conftest.$ac_ext <<_ACEOF |
7046 |
#line $LINENO "configure" |
7047 |
#include "confdefs.h" |
7048 |
$ac_includes_default |
7049 |
#ifdef F77_DUMMY_MAIN |
7050 |
# ifdef __cplusplus |
7051 |
extern "C" |
7052 |
# endif |
7053 |
int F77_DUMMY_MAIN() { return 1; } |
7054 |
#endif |
7055 |
int |
7056 |
main () |
7057 |
{ |
7058 |
static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; |
7059 |
test_array [0] = 0 |
3966 |
|
7060 |
|
|
|
7061 |
; |
7062 |
return 0; |
7063 |
} |
7064 |
_ACEOF |
7065 |
rm -f conftest.$ac_objext |
7066 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7067 |
(eval $ac_compile) 2>&5 |
7068 |
ac_status=$? |
7069 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7070 |
(exit $ac_status); } && |
7071 |
{ ac_try='test -s conftest.$ac_objext' |
7072 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7073 |
(eval $ac_try) 2>&5 |
7074 |
ac_status=$? |
7075 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7076 |
(exit $ac_status); }; }; then |
7077 |
ac_hi=$ac_mid; break |
7078 |
else |
7079 |
echo "$as_me: failed program was:" >&5 |
7080 |
cat conftest.$ac_ext >&5 |
7081 |
ac_lo=`expr $ac_mid + 1` |
7082 |
if test $ac_lo -le $ac_mid; then |
7083 |
ac_lo= ac_hi= |
7084 |
break |
7085 |
fi |
7086 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
3967 |
fi |
7087 |
fi |
3968 |
echo "$ac_t""$ac_cv_sizeof_long" 1>&6 |
7088 |
rm -f conftest.$ac_objext conftest.$ac_ext |
3969 |
cat >> confdefs.h <<EOF |
7089 |
done |
3970 |
#define SIZEOF_LONG $ac_cv_sizeof_long |
|
|
3971 |
EOF |
3972 |
|
3973 |
|
3974 |
if test "$fptools_cv_have_long_long" = yes; then |
3975 |
echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
3976 |
echo "configure:3977: checking size of long long" >&5 |
3977 |
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
3978 |
echo $ac_n "(cached) $ac_c" 1>&6 |
3979 |
else |
3980 |
if test "$cross_compiling" = yes; then |
3981 |
ac_cv_sizeof_long_long=8 |
3982 |
else |
7090 |
else |
3983 |
cat > conftest.$ac_ext <<EOF |
7091 |
echo "$as_me: failed program was:" >&5 |
3984 |
#line 3985 "configure" |
7092 |
cat conftest.$ac_ext >&5 |
3985 |
#include "confdefs.h" |
7093 |
cat >conftest.$ac_ext <<_ACEOF |
3986 |
#include <stdio.h> |
7094 |
#line $LINENO "configure" |
3987 |
int main() |
7095 |
#include "confdefs.h" |
|
|
7096 |
$ac_includes_default |
7097 |
#ifdef F77_DUMMY_MAIN |
7098 |
# ifdef __cplusplus |
7099 |
extern "C" |
7100 |
# endif |
7101 |
int F77_DUMMY_MAIN() { return 1; } |
7102 |
#endif |
7103 |
int |
7104 |
main () |
3988 |
{ |
7105 |
{ |
3989 |
FILE *f=fopen("conftestval", "w"); |
7106 |
static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)]; |
3990 |
if (!f) return(1); |
7107 |
test_array [0] = 0 |
3991 |
fprintf(f, "%d\n", sizeof(long long)); |
7108 |
|
3992 |
return(0); |
7109 |
; |
|
|
7110 |
return 0; |
3993 |
} |
7111 |
} |
3994 |
EOF |
7112 |
_ACEOF |
3995 |
if { (eval echo configure:3996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7113 |
rm -f conftest.$ac_objext |
3996 |
then |
7114 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3997 |
ac_cv_sizeof_long_long=`cat conftestval` |
7115 |
(eval $ac_compile) 2>&5 |
3998 |
else |
7116 |
ac_status=$? |
3999 |
echo "configure: failed program was:" >&5 |
7117 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4000 |
cat conftest.$ac_ext >&5 |
7118 |
(exit $ac_status); } && |
4001 |
rm -fr conftest* |
7119 |
{ ac_try='test -s conftest.$ac_objext' |
4002 |
ac_cv_sizeof_long_long=0 |
7120 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4003 |
fi |
7121 |
(eval $ac_try) 2>&5 |
4004 |
rm -fr conftest* |
7122 |
ac_status=$? |
4005 |
fi |
7123 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7124 |
(exit $ac_status); }; }; then |
7125 |
ac_hi=-1 ac_mid=-1 |
7126 |
while :; do |
7127 |
cat >conftest.$ac_ext <<_ACEOF |
7128 |
#line $LINENO "configure" |
7129 |
#include "confdefs.h" |
7130 |
$ac_includes_default |
7131 |
#ifdef F77_DUMMY_MAIN |
7132 |
# ifdef __cplusplus |
7133 |
extern "C" |
7134 |
# endif |
7135 |
int F77_DUMMY_MAIN() { return 1; } |
7136 |
#endif |
7137 |
int |
7138 |
main () |
7139 |
{ |
7140 |
static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)]; |
7141 |
test_array [0] = 0 |
4006 |
|
7142 |
|
|
|
7143 |
; |
7144 |
return 0; |
7145 |
} |
7146 |
_ACEOF |
7147 |
rm -f conftest.$ac_objext |
7148 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7149 |
(eval $ac_compile) 2>&5 |
7150 |
ac_status=$? |
7151 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7152 |
(exit $ac_status); } && |
7153 |
{ ac_try='test -s conftest.$ac_objext' |
7154 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7155 |
(eval $ac_try) 2>&5 |
7156 |
ac_status=$? |
7157 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7158 |
(exit $ac_status); }; }; then |
7159 |
ac_lo=$ac_mid; break |
7160 |
else |
7161 |
echo "$as_me: failed program was:" >&5 |
7162 |
cat conftest.$ac_ext >&5 |
7163 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
7164 |
if test $ac_mid -le $ac_hi; then |
7165 |
ac_lo= ac_hi= |
7166 |
break |
7167 |
fi |
7168 |
ac_mid=`expr 2 '*' $ac_mid` |
4007 |
fi |
7169 |
fi |
4008 |
echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 |
7170 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4009 |
cat >> confdefs.h <<EOF |
7171 |
done |
4010 |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
7172 |
else |
4011 |
EOF |
7173 |
echo "$as_me: failed program was:" >&5 |
4012 |
|
7174 |
cat conftest.$ac_ext >&5 |
|
|
7175 |
ac_lo= ac_hi= |
7176 |
fi |
7177 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7178 |
fi |
7179 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7180 |
# Binary search between lo and hi bounds. |
7181 |
while test "x$ac_lo" != "x$ac_hi"; do |
7182 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7183 |
cat >conftest.$ac_ext <<_ACEOF |
7184 |
#line $LINENO "configure" |
7185 |
#include "confdefs.h" |
7186 |
$ac_includes_default |
7187 |
#ifdef F77_DUMMY_MAIN |
7188 |
# ifdef __cplusplus |
7189 |
extern "C" |
7190 |
# endif |
7191 |
int F77_DUMMY_MAIN() { return 1; } |
7192 |
#endif |
7193 |
int |
7194 |
main () |
7195 |
{ |
7196 |
static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)]; |
7197 |
test_array [0] = 0 |
4013 |
|
7198 |
|
|
|
7199 |
; |
7200 |
return 0; |
7201 |
} |
7202 |
_ACEOF |
7203 |
rm -f conftest.$ac_objext |
7204 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7205 |
(eval $ac_compile) 2>&5 |
7206 |
ac_status=$? |
7207 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7208 |
(exit $ac_status); } && |
7209 |
{ ac_try='test -s conftest.$ac_objext' |
7210 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7211 |
(eval $ac_try) 2>&5 |
7212 |
ac_status=$? |
7213 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7214 |
(exit $ac_status); }; }; then |
7215 |
ac_hi=$ac_mid |
7216 |
else |
7217 |
echo "$as_me: failed program was:" >&5 |
7218 |
cat conftest.$ac_ext >&5 |
7219 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
4014 |
fi |
7220 |
fi |
4015 |
echo $ac_n "checking size of short""... $ac_c" 1>&6 |
7221 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4016 |
echo "configure:4017: checking size of short" >&5 |
7222 |
done |
4017 |
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
7223 |
case $ac_lo in |
4018 |
echo $ac_n "(cached) $ac_c" 1>&6 |
7224 |
?*) ac_cv_sizeof_double=$ac_lo;; |
|
|
7225 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77" >&5 |
7226 |
echo "$as_me: error: cannot compute sizeof (double), 77" >&2;} |
7227 |
{ (exit 1); exit 1; }; } ;; |
7228 |
esac |
4019 |
else |
7229 |
else |
4020 |
if test "$cross_compiling" = yes; then |
7230 |
if test "$cross_compiling" = yes; then |
4021 |
ac_cv_sizeof_short=2 |
7231 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
4022 |
else |
7232 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
4023 |
cat > conftest.$ac_ext <<EOF |
7233 |
{ (exit 1); exit 1; }; } |
4024 |
#line 4025 "configure" |
7234 |
else |
4025 |
#include "confdefs.h" |
7235 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
7236 |
#line $LINENO "configure" |
7237 |
#include "confdefs.h" |
7238 |
$ac_includes_default |
7239 |
long longval () { return (long) (sizeof (double)); } |
7240 |
unsigned long ulongval () { return (long) (sizeof (double)); } |
4026 |
#include <stdio.h> |
7241 |
#include <stdio.h> |
4027 |
int main() |
7242 |
#include <stdlib.h> |
|
|
7243 |
#ifdef F77_DUMMY_MAIN |
7244 |
# ifdef __cplusplus |
7245 |
extern "C" |
7246 |
# endif |
7247 |
int F77_DUMMY_MAIN() { return 1; } |
7248 |
#endif |
7249 |
int |
7250 |
main () |
4028 |
{ |
7251 |
{ |
4029 |
FILE *f=fopen("conftestval", "w"); |
7252 |
|
4030 |
if (!f) return(1); |
7253 |
FILE *f = fopen ("conftest.val", "w"); |
4031 |
fprintf(f, "%d\n", sizeof(short)); |
7254 |
if (! f) |
4032 |
return(0); |
7255 |
exit (1); |
|
|
7256 |
if (((long) (sizeof (double))) < 0) |
7257 |
{ |
7258 |
long i = longval (); |
7259 |
if (i != ((long) (sizeof (double)))) |
7260 |
exit (1); |
7261 |
fprintf (f, "%ld\n", i); |
7262 |
} |
7263 |
else |
7264 |
{ |
7265 |
unsigned long i = ulongval (); |
7266 |
if (i != ((long) (sizeof (double)))) |
7267 |
exit (1); |
7268 |
fprintf (f, "%lu\n", i); |
7269 |
} |
7270 |
exit (ferror (f) || fclose (f) != 0); |
7271 |
|
7272 |
; |
7273 |
return 0; |
4033 |
} |
7274 |
} |
4034 |
EOF |
7275 |
_ACEOF |
4035 |
if { (eval echo configure:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7276 |
rm -f conftest$ac_exeext |
4036 |
then |
7277 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4037 |
ac_cv_sizeof_short=`cat conftestval` |
7278 |
(eval $ac_link) 2>&5 |
4038 |
else |
7279 |
ac_status=$? |
4039 |
echo "configure: failed program was:" >&5 |
7280 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4040 |
cat conftest.$ac_ext >&5 |
7281 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
4041 |
rm -fr conftest* |
7282 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4042 |
ac_cv_sizeof_short=0 |
7283 |
(eval $ac_try) 2>&5 |
|
|
7284 |
ac_status=$? |
7285 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7286 |
(exit $ac_status); }; }; then |
7287 |
ac_cv_sizeof_double=`cat conftest.val` |
7288 |
else |
7289 |
echo "$as_me: program exited with status $ac_status" >&5 |
7290 |
echo "$as_me: failed program was:" >&5 |
7291 |
cat conftest.$ac_ext >&5 |
7292 |
( exit $ac_status ) |
7293 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77" >&5 |
7294 |
echo "$as_me: error: cannot compute sizeof (double), 77" >&2;} |
7295 |
{ (exit 1); exit 1; }; } |
4043 |
fi |
7296 |
fi |
4044 |
rm -fr conftest* |
7297 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4045 |
fi |
7298 |
fi |
4046 |
|
|
|
4047 |
fi |
7299 |
fi |
4048 |
echo "$ac_t""$ac_cv_sizeof_short" 1>&6 |
7300 |
rm -f conftest.val |
4049 |
cat >> confdefs.h <<EOF |
7301 |
else |
4050 |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
7302 |
ac_cv_sizeof_double=0 |
4051 |
EOF |
7303 |
fi |
|
|
7304 |
fi |
7305 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5 |
7306 |
echo "${ECHO_T}$ac_cv_sizeof_double" >&6 |
7307 |
cat >>confdefs.h <<_ACEOF |
7308 |
#define SIZEOF_DOUBLE $ac_cv_sizeof_double |
7309 |
_ACEOF |
4052 |
|
7310 |
|
4053 |
|
7311 |
|
4054 |
echo $ac_n "checking size of unsigned char""... $ac_c" 1>&6 |
7312 |
echo "$as_me:$LINENO: checking for float" >&5 |
4055 |
echo "configure:4056: checking size of unsigned char" >&5 |
7313 |
echo $ECHO_N "checking for float... $ECHO_C" >&6 |
4056 |
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_char'+set}'`\" = set"; then |
7314 |
if test "${ac_cv_type_float+set}" = set; then |
4057 |
echo $ac_n "(cached) $ac_c" 1>&6 |
7315 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4058 |
else |
7316 |
else |
4059 |
if test "$cross_compiling" = yes; then |
7317 |
cat >conftest.$ac_ext <<_ACEOF |
4060 |
ac_cv_sizeof_unsigned_char=1 |
7318 |
#line $LINENO "configure" |
4061 |
else |
|
|
4062 |
cat > conftest.$ac_ext <<EOF |
4063 |
#line 4064 "configure" |
4064 |
#include "confdefs.h" |
7319 |
#include "confdefs.h" |
4065 |
#include <stdio.h> |
7320 |
$ac_includes_default |
4066 |
int main() |
7321 |
#ifdef F77_DUMMY_MAIN |
|
|
7322 |
# ifdef __cplusplus |
7323 |
extern "C" |
7324 |
# endif |
7325 |
int F77_DUMMY_MAIN() { return 1; } |
7326 |
#endif |
7327 |
int |
7328 |
main () |
4067 |
{ |
7329 |
{ |
4068 |
FILE *f=fopen("conftestval", "w"); |
7330 |
if ((float *) 0) |
4069 |
if (!f) return(1); |
7331 |
return 0; |
4070 |
fprintf(f, "%d\n", sizeof(unsigned char)); |
7332 |
if (sizeof (float)) |
4071 |
return(0); |
7333 |
return 0; |
|
|
7334 |
; |
7335 |
return 0; |
7336 |
} |
7337 |
_ACEOF |
7338 |
rm -f conftest.$ac_objext |
7339 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7340 |
(eval $ac_compile) 2>&5 |
7341 |
ac_status=$? |
7342 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7343 |
(exit $ac_status); } && |
7344 |
{ ac_try='test -s conftest.$ac_objext' |
7345 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7346 |
(eval $ac_try) 2>&5 |
7347 |
ac_status=$? |
7348 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7349 |
(exit $ac_status); }; }; then |
7350 |
ac_cv_type_float=yes |
7351 |
else |
7352 |
echo "$as_me: failed program was:" >&5 |
7353 |
cat conftest.$ac_ext >&5 |
7354 |
ac_cv_type_float=no |
7355 |
fi |
7356 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7357 |
fi |
7358 |
echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5 |
7359 |
echo "${ECHO_T}$ac_cv_type_float" >&6 |
7360 |
|
7361 |
echo "$as_me:$LINENO: checking size of float" >&5 |
7362 |
echo $ECHO_N "checking size of float... $ECHO_C" >&6 |
7363 |
if test "${ac_cv_sizeof_float+set}" = set; then |
7364 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7365 |
else |
7366 |
if test "$ac_cv_type_float" = yes; then |
7367 |
# The cast to unsigned long works around a bug in the HP C Compiler |
7368 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
7369 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
7370 |
# This bug is HP SR number 8606223364. |
7371 |
if test "$cross_compiling" = yes; then |
7372 |
# Depending upon the size, compute the lo and hi bounds. |
7373 |
cat >conftest.$ac_ext <<_ACEOF |
7374 |
#line $LINENO "configure" |
7375 |
#include "confdefs.h" |
7376 |
$ac_includes_default |
7377 |
#ifdef F77_DUMMY_MAIN |
7378 |
# ifdef __cplusplus |
7379 |
extern "C" |
7380 |
# endif |
7381 |
int F77_DUMMY_MAIN() { return 1; } |
7382 |
#endif |
7383 |
int |
7384 |
main () |
7385 |
{ |
7386 |
static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)]; |
7387 |
test_array [0] = 0 |
7388 |
|
7389 |
; |
7390 |
return 0; |
4072 |
} |
7391 |
} |
4073 |
EOF |
7392 |
_ACEOF |
4074 |
if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7393 |
rm -f conftest.$ac_objext |
4075 |
then |
7394 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4076 |
ac_cv_sizeof_unsigned_char=`cat conftestval` |
7395 |
(eval $ac_compile) 2>&5 |
4077 |
else |
7396 |
ac_status=$? |
4078 |
echo "configure: failed program was:" >&5 |
7397 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4079 |
cat conftest.$ac_ext >&5 |
7398 |
(exit $ac_status); } && |
4080 |
rm -fr conftest* |
7399 |
{ ac_try='test -s conftest.$ac_objext' |
4081 |
ac_cv_sizeof_unsigned_char=0 |
7400 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4082 |
fi |
7401 |
(eval $ac_try) 2>&5 |
4083 |
rm -fr conftest* |
7402 |
ac_status=$? |
4084 |
fi |
7403 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7404 |
(exit $ac_status); }; }; then |
7405 |
ac_lo=0 ac_mid=0 |
7406 |
while :; do |
7407 |
cat >conftest.$ac_ext <<_ACEOF |
7408 |
#line $LINENO "configure" |
7409 |
#include "confdefs.h" |
7410 |
$ac_includes_default |
7411 |
#ifdef F77_DUMMY_MAIN |
7412 |
# ifdef __cplusplus |
7413 |
extern "C" |
7414 |
# endif |
7415 |
int F77_DUMMY_MAIN() { return 1; } |
7416 |
#endif |
7417 |
int |
7418 |
main () |
7419 |
{ |
7420 |
static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; |
7421 |
test_array [0] = 0 |
4085 |
|
7422 |
|
|
|
7423 |
; |
7424 |
return 0; |
7425 |
} |
7426 |
_ACEOF |
7427 |
rm -f conftest.$ac_objext |
7428 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7429 |
(eval $ac_compile) 2>&5 |
7430 |
ac_status=$? |
7431 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7432 |
(exit $ac_status); } && |
7433 |
{ ac_try='test -s conftest.$ac_objext' |
7434 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7435 |
(eval $ac_try) 2>&5 |
7436 |
ac_status=$? |
7437 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7438 |
(exit $ac_status); }; }; then |
7439 |
ac_hi=$ac_mid; break |
7440 |
else |
7441 |
echo "$as_me: failed program was:" >&5 |
7442 |
cat conftest.$ac_ext >&5 |
7443 |
ac_lo=`expr $ac_mid + 1` |
7444 |
if test $ac_lo -le $ac_mid; then |
7445 |
ac_lo= ac_hi= |
7446 |
break |
7447 |
fi |
7448 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
4086 |
fi |
7449 |
fi |
4087 |
echo "$ac_t""$ac_cv_sizeof_unsigned_char" 1>&6 |
7450 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4088 |
cat >> confdefs.h <<EOF |
7451 |
done |
4089 |
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char |
|
|
4090 |
EOF |
4091 |
|
4092 |
|
4093 |
echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6 |
4094 |
echo "configure:4095: checking size of unsigned int" >&5 |
4095 |
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then |
4096 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4097 |
else |
4098 |
if test "$cross_compiling" = yes; then |
4099 |
ac_cv_sizeof_unsigned_int=4 |
4100 |
else |
7452 |
else |
4101 |
cat > conftest.$ac_ext <<EOF |
7453 |
echo "$as_me: failed program was:" >&5 |
4102 |
#line 4103 "configure" |
7454 |
cat conftest.$ac_ext >&5 |
4103 |
#include "confdefs.h" |
7455 |
cat >conftest.$ac_ext <<_ACEOF |
4104 |
#include <stdio.h> |
7456 |
#line $LINENO "configure" |
4105 |
int main() |
7457 |
#include "confdefs.h" |
|
|
7458 |
$ac_includes_default |
7459 |
#ifdef F77_DUMMY_MAIN |
7460 |
# ifdef __cplusplus |
7461 |
extern "C" |
7462 |
# endif |
7463 |
int F77_DUMMY_MAIN() { return 1; } |
7464 |
#endif |
7465 |
int |
7466 |
main () |
4106 |
{ |
7467 |
{ |
4107 |
FILE *f=fopen("conftestval", "w"); |
7468 |
static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)]; |
4108 |
if (!f) return(1); |
7469 |
test_array [0] = 0 |
4109 |
fprintf(f, "%d\n", sizeof(unsigned int)); |
7470 |
|
4110 |
return(0); |
7471 |
; |
|
|
7472 |
return 0; |
4111 |
} |
7473 |
} |
4112 |
EOF |
7474 |
_ACEOF |
4113 |
if { (eval echo configure:4114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7475 |
rm -f conftest.$ac_objext |
4114 |
then |
7476 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4115 |
ac_cv_sizeof_unsigned_int=`cat conftestval` |
7477 |
(eval $ac_compile) 2>&5 |
4116 |
else |
7478 |
ac_status=$? |
4117 |
echo "configure: failed program was:" >&5 |
7479 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4118 |
cat conftest.$ac_ext >&5 |
7480 |
(exit $ac_status); } && |
4119 |
rm -fr conftest* |
7481 |
{ ac_try='test -s conftest.$ac_objext' |
4120 |
ac_cv_sizeof_unsigned_int=0 |
7482 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4121 |
fi |
7483 |
(eval $ac_try) 2>&5 |
4122 |
rm -fr conftest* |
7484 |
ac_status=$? |
4123 |
fi |
7485 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7486 |
(exit $ac_status); }; }; then |
7487 |
ac_hi=-1 ac_mid=-1 |
7488 |
while :; do |
7489 |
cat >conftest.$ac_ext <<_ACEOF |
7490 |
#line $LINENO "configure" |
7491 |
#include "confdefs.h" |
7492 |
$ac_includes_default |
7493 |
#ifdef F77_DUMMY_MAIN |
7494 |
# ifdef __cplusplus |
7495 |
extern "C" |
7496 |
# endif |
7497 |
int F77_DUMMY_MAIN() { return 1; } |
7498 |
#endif |
7499 |
int |
7500 |
main () |
7501 |
{ |
7502 |
static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)]; |
7503 |
test_array [0] = 0 |
4124 |
|
7504 |
|
|
|
7505 |
; |
7506 |
return 0; |
7507 |
} |
7508 |
_ACEOF |
7509 |
rm -f conftest.$ac_objext |
7510 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7511 |
(eval $ac_compile) 2>&5 |
7512 |
ac_status=$? |
7513 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7514 |
(exit $ac_status); } && |
7515 |
{ ac_try='test -s conftest.$ac_objext' |
7516 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7517 |
(eval $ac_try) 2>&5 |
7518 |
ac_status=$? |
7519 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7520 |
(exit $ac_status); }; }; then |
7521 |
ac_lo=$ac_mid; break |
7522 |
else |
7523 |
echo "$as_me: failed program was:" >&5 |
7524 |
cat conftest.$ac_ext >&5 |
7525 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
7526 |
if test $ac_mid -le $ac_hi; then |
7527 |
ac_lo= ac_hi= |
7528 |
break |
7529 |
fi |
7530 |
ac_mid=`expr 2 '*' $ac_mid` |
4125 |
fi |
7531 |
fi |
4126 |
echo "$ac_t""$ac_cv_sizeof_unsigned_int" 1>&6 |
7532 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4127 |
cat >> confdefs.h <<EOF |
7533 |
done |
4128 |
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int |
7534 |
else |
4129 |
EOF |
7535 |
echo "$as_me: failed program was:" >&5 |
4130 |
|
7536 |
cat conftest.$ac_ext >&5 |
|
|
7537 |
ac_lo= ac_hi= |
7538 |
fi |
7539 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7540 |
fi |
7541 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7542 |
# Binary search between lo and hi bounds. |
7543 |
while test "x$ac_lo" != "x$ac_hi"; do |
7544 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7545 |
cat >conftest.$ac_ext <<_ACEOF |
7546 |
#line $LINENO "configure" |
7547 |
#include "confdefs.h" |
7548 |
$ac_includes_default |
7549 |
#ifdef F77_DUMMY_MAIN |
7550 |
# ifdef __cplusplus |
7551 |
extern "C" |
7552 |
# endif |
7553 |
int F77_DUMMY_MAIN() { return 1; } |
7554 |
#endif |
7555 |
int |
7556 |
main () |
7557 |
{ |
7558 |
static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)]; |
7559 |
test_array [0] = 0 |
4131 |
|
7560 |
|
4132 |
echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6 |
7561 |
; |
4133 |
echo "configure:4134: checking size of unsigned long" >&5 |
7562 |
return 0; |
4134 |
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then |
7563 |
} |
4135 |
echo $ac_n "(cached) $ac_c" 1>&6 |
7564 |
_ACEOF |
|
|
7565 |
rm -f conftest.$ac_objext |
7566 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7567 |
(eval $ac_compile) 2>&5 |
7568 |
ac_status=$? |
7569 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7570 |
(exit $ac_status); } && |
7571 |
{ ac_try='test -s conftest.$ac_objext' |
7572 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7573 |
(eval $ac_try) 2>&5 |
7574 |
ac_status=$? |
7575 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7576 |
(exit $ac_status); }; }; then |
7577 |
ac_hi=$ac_mid |
7578 |
else |
7579 |
echo "$as_me: failed program was:" >&5 |
7580 |
cat conftest.$ac_ext >&5 |
7581 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
7582 |
fi |
7583 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7584 |
done |
7585 |
case $ac_lo in |
7586 |
?*) ac_cv_sizeof_float=$ac_lo;; |
7587 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77" >&5 |
7588 |
echo "$as_me: error: cannot compute sizeof (float), 77" >&2;} |
7589 |
{ (exit 1); exit 1; }; } ;; |
7590 |
esac |
4136 |
else |
7591 |
else |
4137 |
if test "$cross_compiling" = yes; then |
7592 |
if test "$cross_compiling" = yes; then |
4138 |
ac_cv_sizeof_unsigned_long=4 |
7593 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
4139 |
else |
7594 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
4140 |
cat > conftest.$ac_ext <<EOF |
7595 |
{ (exit 1); exit 1; }; } |
4141 |
#line 4142 "configure" |
7596 |
else |
4142 |
#include "confdefs.h" |
7597 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
7598 |
#line $LINENO "configure" |
7599 |
#include "confdefs.h" |
7600 |
$ac_includes_default |
7601 |
long longval () { return (long) (sizeof (float)); } |
7602 |
unsigned long ulongval () { return (long) (sizeof (float)); } |
4143 |
#include <stdio.h> |
7603 |
#include <stdio.h> |
4144 |
int main() |
7604 |
#include <stdlib.h> |
|
|
7605 |
#ifdef F77_DUMMY_MAIN |
7606 |
# ifdef __cplusplus |
7607 |
extern "C" |
7608 |
# endif |
7609 |
int F77_DUMMY_MAIN() { return 1; } |
7610 |
#endif |
7611 |
int |
7612 |
main () |
4145 |
{ |
7613 |
{ |
4146 |
FILE *f=fopen("conftestval", "w"); |
7614 |
|
4147 |
if (!f) return(1); |
7615 |
FILE *f = fopen ("conftest.val", "w"); |
4148 |
fprintf(f, "%d\n", sizeof(unsigned long)); |
7616 |
if (! f) |
4149 |
return(0); |
7617 |
exit (1); |
4150 |
} |
7618 |
if (((long) (sizeof (float))) < 0) |
4151 |
EOF |
7619 |
{ |
4152 |
if { (eval echo configure:4153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7620 |
long i = longval (); |
4153 |
then |
7621 |
if (i != ((long) (sizeof (float)))) |
4154 |
ac_cv_sizeof_unsigned_long=`cat conftestval` |
7622 |
exit (1); |
|
|
7623 |
fprintf (f, "%ld\n", i); |
7624 |
} |
7625 |
else |
7626 |
{ |
7627 |
unsigned long i = ulongval (); |
7628 |
if (i != ((long) (sizeof (float)))) |
7629 |
exit (1); |
7630 |
fprintf (f, "%lu\n", i); |
7631 |
} |
7632 |
exit (ferror (f) || fclose (f) != 0); |
7633 |
|
7634 |
; |
7635 |
return 0; |
7636 |
} |
7637 |
_ACEOF |
7638 |
rm -f conftest$ac_exeext |
7639 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
7640 |
(eval $ac_link) 2>&5 |
7641 |
ac_status=$? |
7642 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7643 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
7644 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7645 |
(eval $ac_try) 2>&5 |
7646 |
ac_status=$? |
7647 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7648 |
(exit $ac_status); }; }; then |
7649 |
ac_cv_sizeof_float=`cat conftest.val` |
7650 |
else |
7651 |
echo "$as_me: program exited with status $ac_status" >&5 |
7652 |
echo "$as_me: failed program was:" >&5 |
7653 |
cat conftest.$ac_ext >&5 |
7654 |
( exit $ac_status ) |
7655 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77" >&5 |
7656 |
echo "$as_me: error: cannot compute sizeof (float), 77" >&2;} |
7657 |
{ (exit 1); exit 1; }; } |
7658 |
fi |
7659 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7660 |
fi |
7661 |
fi |
7662 |
rm -f conftest.val |
7663 |
else |
7664 |
ac_cv_sizeof_float=0 |
7665 |
fi |
7666 |
fi |
7667 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 |
7668 |
echo "${ECHO_T}$ac_cv_sizeof_float" >&6 |
7669 |
cat >>confdefs.h <<_ACEOF |
7670 |
#define SIZEOF_FLOAT $ac_cv_sizeof_float |
7671 |
_ACEOF |
7672 |
|
7673 |
|
7674 |
echo "$as_me:$LINENO: checking for int" >&5 |
7675 |
echo $ECHO_N "checking for int... $ECHO_C" >&6 |
7676 |
if test "${ac_cv_type_int+set}" = set; then |
7677 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7678 |
else |
7679 |
cat >conftest.$ac_ext <<_ACEOF |
7680 |
#line $LINENO "configure" |
7681 |
#include "confdefs.h" |
7682 |
$ac_includes_default |
7683 |
#ifdef F77_DUMMY_MAIN |
7684 |
# ifdef __cplusplus |
7685 |
extern "C" |
7686 |
# endif |
7687 |
int F77_DUMMY_MAIN() { return 1; } |
7688 |
#endif |
7689 |
int |
7690 |
main () |
7691 |
{ |
7692 |
if ((int *) 0) |
7693 |
return 0; |
7694 |
if (sizeof (int)) |
7695 |
return 0; |
7696 |
; |
7697 |
return 0; |
7698 |
} |
7699 |
_ACEOF |
7700 |
rm -f conftest.$ac_objext |
7701 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7702 |
(eval $ac_compile) 2>&5 |
7703 |
ac_status=$? |
7704 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7705 |
(exit $ac_status); } && |
7706 |
{ ac_try='test -s conftest.$ac_objext' |
7707 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7708 |
(eval $ac_try) 2>&5 |
7709 |
ac_status=$? |
7710 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7711 |
(exit $ac_status); }; }; then |
7712 |
ac_cv_type_int=yes |
7713 |
else |
7714 |
echo "$as_me: failed program was:" >&5 |
7715 |
cat conftest.$ac_ext >&5 |
7716 |
ac_cv_type_int=no |
7717 |
fi |
7718 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7719 |
fi |
7720 |
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
7721 |
echo "${ECHO_T}$ac_cv_type_int" >&6 |
7722 |
|
7723 |
echo "$as_me:$LINENO: checking size of int" >&5 |
7724 |
echo $ECHO_N "checking size of int... $ECHO_C" >&6 |
7725 |
if test "${ac_cv_sizeof_int+set}" = set; then |
7726 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7727 |
else |
7728 |
if test "$ac_cv_type_int" = yes; then |
7729 |
# The cast to unsigned long works around a bug in the HP C Compiler |
7730 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
7731 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
7732 |
# This bug is HP SR number 8606223364. |
7733 |
if test "$cross_compiling" = yes; then |
7734 |
# Depending upon the size, compute the lo and hi bounds. |
7735 |
cat >conftest.$ac_ext <<_ACEOF |
7736 |
#line $LINENO "configure" |
7737 |
#include "confdefs.h" |
7738 |
$ac_includes_default |
7739 |
#ifdef F77_DUMMY_MAIN |
7740 |
# ifdef __cplusplus |
7741 |
extern "C" |
7742 |
# endif |
7743 |
int F77_DUMMY_MAIN() { return 1; } |
7744 |
#endif |
7745 |
int |
7746 |
main () |
7747 |
{ |
7748 |
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; |
7749 |
test_array [0] = 0 |
7750 |
|
7751 |
; |
7752 |
return 0; |
7753 |
} |
7754 |
_ACEOF |
7755 |
rm -f conftest.$ac_objext |
7756 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7757 |
(eval $ac_compile) 2>&5 |
7758 |
ac_status=$? |
7759 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7760 |
(exit $ac_status); } && |
7761 |
{ ac_try='test -s conftest.$ac_objext' |
7762 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7763 |
(eval $ac_try) 2>&5 |
7764 |
ac_status=$? |
7765 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7766 |
(exit $ac_status); }; }; then |
7767 |
ac_lo=0 ac_mid=0 |
7768 |
while :; do |
7769 |
cat >conftest.$ac_ext <<_ACEOF |
7770 |
#line $LINENO "configure" |
7771 |
#include "confdefs.h" |
7772 |
$ac_includes_default |
7773 |
#ifdef F77_DUMMY_MAIN |
7774 |
# ifdef __cplusplus |
7775 |
extern "C" |
7776 |
# endif |
7777 |
int F77_DUMMY_MAIN() { return 1; } |
7778 |
#endif |
7779 |
int |
7780 |
main () |
7781 |
{ |
7782 |
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
7783 |
test_array [0] = 0 |
7784 |
|
7785 |
; |
7786 |
return 0; |
7787 |
} |
7788 |
_ACEOF |
7789 |
rm -f conftest.$ac_objext |
7790 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7791 |
(eval $ac_compile) 2>&5 |
7792 |
ac_status=$? |
7793 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7794 |
(exit $ac_status); } && |
7795 |
{ ac_try='test -s conftest.$ac_objext' |
7796 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7797 |
(eval $ac_try) 2>&5 |
7798 |
ac_status=$? |
7799 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7800 |
(exit $ac_status); }; }; then |
7801 |
ac_hi=$ac_mid; break |
7802 |
else |
7803 |
echo "$as_me: failed program was:" >&5 |
7804 |
cat conftest.$ac_ext >&5 |
7805 |
ac_lo=`expr $ac_mid + 1` |
7806 |
if test $ac_lo -le $ac_mid; then |
7807 |
ac_lo= ac_hi= |
7808 |
break |
7809 |
fi |
7810 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
7811 |
fi |
7812 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7813 |
done |
7814 |
else |
7815 |
echo "$as_me: failed program was:" >&5 |
7816 |
cat conftest.$ac_ext >&5 |
7817 |
cat >conftest.$ac_ext <<_ACEOF |
7818 |
#line $LINENO "configure" |
7819 |
#include "confdefs.h" |
7820 |
$ac_includes_default |
7821 |
#ifdef F77_DUMMY_MAIN |
7822 |
# ifdef __cplusplus |
7823 |
extern "C" |
7824 |
# endif |
7825 |
int F77_DUMMY_MAIN() { return 1; } |
7826 |
#endif |
7827 |
int |
7828 |
main () |
7829 |
{ |
7830 |
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; |
7831 |
test_array [0] = 0 |
7832 |
|
7833 |
; |
7834 |
return 0; |
7835 |
} |
7836 |
_ACEOF |
7837 |
rm -f conftest.$ac_objext |
7838 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7839 |
(eval $ac_compile) 2>&5 |
7840 |
ac_status=$? |
7841 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7842 |
(exit $ac_status); } && |
7843 |
{ ac_try='test -s conftest.$ac_objext' |
7844 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7845 |
(eval $ac_try) 2>&5 |
7846 |
ac_status=$? |
7847 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7848 |
(exit $ac_status); }; }; then |
7849 |
ac_hi=-1 ac_mid=-1 |
7850 |
while :; do |
7851 |
cat >conftest.$ac_ext <<_ACEOF |
7852 |
#line $LINENO "configure" |
7853 |
#include "confdefs.h" |
7854 |
$ac_includes_default |
7855 |
#ifdef F77_DUMMY_MAIN |
7856 |
# ifdef __cplusplus |
7857 |
extern "C" |
7858 |
# endif |
7859 |
int F77_DUMMY_MAIN() { return 1; } |
7860 |
#endif |
7861 |
int |
7862 |
main () |
7863 |
{ |
7864 |
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; |
7865 |
test_array [0] = 0 |
7866 |
|
7867 |
; |
7868 |
return 0; |
7869 |
} |
7870 |
_ACEOF |
7871 |
rm -f conftest.$ac_objext |
7872 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7873 |
(eval $ac_compile) 2>&5 |
7874 |
ac_status=$? |
7875 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7876 |
(exit $ac_status); } && |
7877 |
{ ac_try='test -s conftest.$ac_objext' |
7878 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7879 |
(eval $ac_try) 2>&5 |
7880 |
ac_status=$? |
7881 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7882 |
(exit $ac_status); }; }; then |
7883 |
ac_lo=$ac_mid; break |
7884 |
else |
7885 |
echo "$as_me: failed program was:" >&5 |
7886 |
cat conftest.$ac_ext >&5 |
7887 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
7888 |
if test $ac_mid -le $ac_hi; then |
7889 |
ac_lo= ac_hi= |
7890 |
break |
7891 |
fi |
7892 |
ac_mid=`expr 2 '*' $ac_mid` |
7893 |
fi |
7894 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7895 |
done |
7896 |
else |
7897 |
echo "$as_me: failed program was:" >&5 |
7898 |
cat conftest.$ac_ext >&5 |
7899 |
ac_lo= ac_hi= |
7900 |
fi |
7901 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7902 |
fi |
7903 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7904 |
# Binary search between lo and hi bounds. |
7905 |
while test "x$ac_lo" != "x$ac_hi"; do |
7906 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
7907 |
cat >conftest.$ac_ext <<_ACEOF |
7908 |
#line $LINENO "configure" |
7909 |
#include "confdefs.h" |
7910 |
$ac_includes_default |
7911 |
#ifdef F77_DUMMY_MAIN |
7912 |
# ifdef __cplusplus |
7913 |
extern "C" |
7914 |
# endif |
7915 |
int F77_DUMMY_MAIN() { return 1; } |
7916 |
#endif |
7917 |
int |
7918 |
main () |
7919 |
{ |
7920 |
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; |
7921 |
test_array [0] = 0 |
7922 |
|
7923 |
; |
7924 |
return 0; |
7925 |
} |
7926 |
_ACEOF |
7927 |
rm -f conftest.$ac_objext |
7928 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
7929 |
(eval $ac_compile) 2>&5 |
7930 |
ac_status=$? |
7931 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7932 |
(exit $ac_status); } && |
7933 |
{ ac_try='test -s conftest.$ac_objext' |
7934 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
7935 |
(eval $ac_try) 2>&5 |
7936 |
ac_status=$? |
7937 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7938 |
(exit $ac_status); }; }; then |
7939 |
ac_hi=$ac_mid |
7940 |
else |
7941 |
echo "$as_me: failed program was:" >&5 |
7942 |
cat conftest.$ac_ext >&5 |
7943 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
7944 |
fi |
7945 |
rm -f conftest.$ac_objext conftest.$ac_ext |
7946 |
done |
7947 |
case $ac_lo in |
7948 |
?*) ac_cv_sizeof_int=$ac_lo;; |
7949 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 |
7950 |
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} |
7951 |
{ (exit 1); exit 1; }; } ;; |
7952 |
esac |
7953 |
else |
7954 |
if test "$cross_compiling" = yes; then |
7955 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
7956 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
7957 |
{ (exit 1); exit 1; }; } |
7958 |
else |
7959 |
cat >conftest.$ac_ext <<_ACEOF |
7960 |
#line $LINENO "configure" |
7961 |
#include "confdefs.h" |
7962 |
$ac_includes_default |
7963 |
long longval () { return (long) (sizeof (int)); } |
7964 |
unsigned long ulongval () { return (long) (sizeof (int)); } |
7965 |
#include <stdio.h> |
7966 |
#include <stdlib.h> |
7967 |
#ifdef F77_DUMMY_MAIN |
7968 |
# ifdef __cplusplus |
7969 |
extern "C" |
7970 |
# endif |
7971 |
int F77_DUMMY_MAIN() { return 1; } |
7972 |
#endif |
7973 |
int |
7974 |
main () |
7975 |
{ |
7976 |
|
7977 |
FILE *f = fopen ("conftest.val", "w"); |
7978 |
if (! f) |
7979 |
exit (1); |
7980 |
if (((long) (sizeof (int))) < 0) |
7981 |
{ |
7982 |
long i = longval (); |
7983 |
if (i != ((long) (sizeof (int)))) |
7984 |
exit (1); |
7985 |
fprintf (f, "%ld\n", i); |
7986 |
} |
7987 |
else |
7988 |
{ |
7989 |
unsigned long i = ulongval (); |
7990 |
if (i != ((long) (sizeof (int)))) |
7991 |
exit (1); |
7992 |
fprintf (f, "%lu\n", i); |
7993 |
} |
7994 |
exit (ferror (f) || fclose (f) != 0); |
7995 |
|
7996 |
; |
7997 |
return 0; |
7998 |
} |
7999 |
_ACEOF |
8000 |
rm -f conftest$ac_exeext |
8001 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8002 |
(eval $ac_link) 2>&5 |
8003 |
ac_status=$? |
8004 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8005 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8006 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8007 |
(eval $ac_try) 2>&5 |
8008 |
ac_status=$? |
8009 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8010 |
(exit $ac_status); }; }; then |
8011 |
ac_cv_sizeof_int=`cat conftest.val` |
8012 |
else |
8013 |
echo "$as_me: program exited with status $ac_status" >&5 |
8014 |
echo "$as_me: failed program was:" >&5 |
8015 |
cat conftest.$ac_ext >&5 |
8016 |
( exit $ac_status ) |
8017 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5 |
8018 |
echo "$as_me: error: cannot compute sizeof (int), 77" >&2;} |
8019 |
{ (exit 1); exit 1; }; } |
8020 |
fi |
8021 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8022 |
fi |
8023 |
fi |
8024 |
rm -f conftest.val |
8025 |
else |
8026 |
ac_cv_sizeof_int=0 |
8027 |
fi |
8028 |
fi |
8029 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
8030 |
echo "${ECHO_T}$ac_cv_sizeof_int" >&6 |
8031 |
cat >>confdefs.h <<_ACEOF |
8032 |
#define SIZEOF_INT $ac_cv_sizeof_int |
8033 |
_ACEOF |
8034 |
|
8035 |
|
8036 |
echo "$as_me:$LINENO: checking for long" >&5 |
8037 |
echo $ECHO_N "checking for long... $ECHO_C" >&6 |
8038 |
if test "${ac_cv_type_long+set}" = set; then |
8039 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8040 |
else |
8041 |
cat >conftest.$ac_ext <<_ACEOF |
8042 |
#line $LINENO "configure" |
8043 |
#include "confdefs.h" |
8044 |
$ac_includes_default |
8045 |
#ifdef F77_DUMMY_MAIN |
8046 |
# ifdef __cplusplus |
8047 |
extern "C" |
8048 |
# endif |
8049 |
int F77_DUMMY_MAIN() { return 1; } |
8050 |
#endif |
8051 |
int |
8052 |
main () |
8053 |
{ |
8054 |
if ((long *) 0) |
8055 |
return 0; |
8056 |
if (sizeof (long)) |
8057 |
return 0; |
8058 |
; |
8059 |
return 0; |
8060 |
} |
8061 |
_ACEOF |
8062 |
rm -f conftest.$ac_objext |
8063 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8064 |
(eval $ac_compile) 2>&5 |
8065 |
ac_status=$? |
8066 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8067 |
(exit $ac_status); } && |
8068 |
{ ac_try='test -s conftest.$ac_objext' |
8069 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8070 |
(eval $ac_try) 2>&5 |
8071 |
ac_status=$? |
8072 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8073 |
(exit $ac_status); }; }; then |
8074 |
ac_cv_type_long=yes |
8075 |
else |
8076 |
echo "$as_me: failed program was:" >&5 |
8077 |
cat conftest.$ac_ext >&5 |
8078 |
ac_cv_type_long=no |
8079 |
fi |
8080 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8081 |
fi |
8082 |
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 |
8083 |
echo "${ECHO_T}$ac_cv_type_long" >&6 |
8084 |
|
8085 |
echo "$as_me:$LINENO: checking size of long" >&5 |
8086 |
echo $ECHO_N "checking size of long... $ECHO_C" >&6 |
8087 |
if test "${ac_cv_sizeof_long+set}" = set; then |
8088 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8089 |
else |
8090 |
if test "$ac_cv_type_long" = yes; then |
8091 |
# The cast to unsigned long works around a bug in the HP C Compiler |
8092 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
8093 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
8094 |
# This bug is HP SR number 8606223364. |
8095 |
if test "$cross_compiling" = yes; then |
8096 |
# Depending upon the size, compute the lo and hi bounds. |
8097 |
cat >conftest.$ac_ext <<_ACEOF |
8098 |
#line $LINENO "configure" |
8099 |
#include "confdefs.h" |
8100 |
$ac_includes_default |
8101 |
#ifdef F77_DUMMY_MAIN |
8102 |
# ifdef __cplusplus |
8103 |
extern "C" |
8104 |
# endif |
8105 |
int F77_DUMMY_MAIN() { return 1; } |
8106 |
#endif |
8107 |
int |
8108 |
main () |
8109 |
{ |
8110 |
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; |
8111 |
test_array [0] = 0 |
8112 |
|
8113 |
; |
8114 |
return 0; |
8115 |
} |
8116 |
_ACEOF |
8117 |
rm -f conftest.$ac_objext |
8118 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8119 |
(eval $ac_compile) 2>&5 |
8120 |
ac_status=$? |
8121 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8122 |
(exit $ac_status); } && |
8123 |
{ ac_try='test -s conftest.$ac_objext' |
8124 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8125 |
(eval $ac_try) 2>&5 |
8126 |
ac_status=$? |
8127 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8128 |
(exit $ac_status); }; }; then |
8129 |
ac_lo=0 ac_mid=0 |
8130 |
while :; do |
8131 |
cat >conftest.$ac_ext <<_ACEOF |
8132 |
#line $LINENO "configure" |
8133 |
#include "confdefs.h" |
8134 |
$ac_includes_default |
8135 |
#ifdef F77_DUMMY_MAIN |
8136 |
# ifdef __cplusplus |
8137 |
extern "C" |
8138 |
# endif |
8139 |
int F77_DUMMY_MAIN() { return 1; } |
8140 |
#endif |
8141 |
int |
8142 |
main () |
8143 |
{ |
8144 |
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
8145 |
test_array [0] = 0 |
8146 |
|
8147 |
; |
8148 |
return 0; |
8149 |
} |
8150 |
_ACEOF |
8151 |
rm -f conftest.$ac_objext |
8152 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8153 |
(eval $ac_compile) 2>&5 |
8154 |
ac_status=$? |
8155 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8156 |
(exit $ac_status); } && |
8157 |
{ ac_try='test -s conftest.$ac_objext' |
8158 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8159 |
(eval $ac_try) 2>&5 |
8160 |
ac_status=$? |
8161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8162 |
(exit $ac_status); }; }; then |
8163 |
ac_hi=$ac_mid; break |
8164 |
else |
8165 |
echo "$as_me: failed program was:" >&5 |
8166 |
cat conftest.$ac_ext >&5 |
8167 |
ac_lo=`expr $ac_mid + 1` |
8168 |
if test $ac_lo -le $ac_mid; then |
8169 |
ac_lo= ac_hi= |
8170 |
break |
8171 |
fi |
8172 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
8173 |
fi |
8174 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8175 |
done |
8176 |
else |
8177 |
echo "$as_me: failed program was:" >&5 |
8178 |
cat conftest.$ac_ext >&5 |
8179 |
cat >conftest.$ac_ext <<_ACEOF |
8180 |
#line $LINENO "configure" |
8181 |
#include "confdefs.h" |
8182 |
$ac_includes_default |
8183 |
#ifdef F77_DUMMY_MAIN |
8184 |
# ifdef __cplusplus |
8185 |
extern "C" |
8186 |
# endif |
8187 |
int F77_DUMMY_MAIN() { return 1; } |
8188 |
#endif |
8189 |
int |
8190 |
main () |
8191 |
{ |
8192 |
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; |
8193 |
test_array [0] = 0 |
8194 |
|
8195 |
; |
8196 |
return 0; |
8197 |
} |
8198 |
_ACEOF |
8199 |
rm -f conftest.$ac_objext |
8200 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8201 |
(eval $ac_compile) 2>&5 |
8202 |
ac_status=$? |
8203 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8204 |
(exit $ac_status); } && |
8205 |
{ ac_try='test -s conftest.$ac_objext' |
8206 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8207 |
(eval $ac_try) 2>&5 |
8208 |
ac_status=$? |
8209 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8210 |
(exit $ac_status); }; }; then |
8211 |
ac_hi=-1 ac_mid=-1 |
8212 |
while :; do |
8213 |
cat >conftest.$ac_ext <<_ACEOF |
8214 |
#line $LINENO "configure" |
8215 |
#include "confdefs.h" |
8216 |
$ac_includes_default |
8217 |
#ifdef F77_DUMMY_MAIN |
8218 |
# ifdef __cplusplus |
8219 |
extern "C" |
8220 |
# endif |
8221 |
int F77_DUMMY_MAIN() { return 1; } |
8222 |
#endif |
8223 |
int |
8224 |
main () |
8225 |
{ |
8226 |
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; |
8227 |
test_array [0] = 0 |
8228 |
|
8229 |
; |
8230 |
return 0; |
8231 |
} |
8232 |
_ACEOF |
8233 |
rm -f conftest.$ac_objext |
8234 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8235 |
(eval $ac_compile) 2>&5 |
8236 |
ac_status=$? |
8237 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8238 |
(exit $ac_status); } && |
8239 |
{ ac_try='test -s conftest.$ac_objext' |
8240 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8241 |
(eval $ac_try) 2>&5 |
8242 |
ac_status=$? |
8243 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8244 |
(exit $ac_status); }; }; then |
8245 |
ac_lo=$ac_mid; break |
8246 |
else |
8247 |
echo "$as_me: failed program was:" >&5 |
8248 |
cat conftest.$ac_ext >&5 |
8249 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
8250 |
if test $ac_mid -le $ac_hi; then |
8251 |
ac_lo= ac_hi= |
8252 |
break |
8253 |
fi |
8254 |
ac_mid=`expr 2 '*' $ac_mid` |
8255 |
fi |
8256 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8257 |
done |
8258 |
else |
8259 |
echo "$as_me: failed program was:" >&5 |
8260 |
cat conftest.$ac_ext >&5 |
8261 |
ac_lo= ac_hi= |
8262 |
fi |
8263 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8264 |
fi |
8265 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8266 |
# Binary search between lo and hi bounds. |
8267 |
while test "x$ac_lo" != "x$ac_hi"; do |
8268 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8269 |
cat >conftest.$ac_ext <<_ACEOF |
8270 |
#line $LINENO "configure" |
8271 |
#include "confdefs.h" |
8272 |
$ac_includes_default |
8273 |
#ifdef F77_DUMMY_MAIN |
8274 |
# ifdef __cplusplus |
8275 |
extern "C" |
8276 |
# endif |
8277 |
int F77_DUMMY_MAIN() { return 1; } |
8278 |
#endif |
8279 |
int |
8280 |
main () |
8281 |
{ |
8282 |
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; |
8283 |
test_array [0] = 0 |
8284 |
|
8285 |
; |
8286 |
return 0; |
8287 |
} |
8288 |
_ACEOF |
8289 |
rm -f conftest.$ac_objext |
8290 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8291 |
(eval $ac_compile) 2>&5 |
8292 |
ac_status=$? |
8293 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8294 |
(exit $ac_status); } && |
8295 |
{ ac_try='test -s conftest.$ac_objext' |
8296 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8297 |
(eval $ac_try) 2>&5 |
8298 |
ac_status=$? |
8299 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8300 |
(exit $ac_status); }; }; then |
8301 |
ac_hi=$ac_mid |
8302 |
else |
8303 |
echo "$as_me: failed program was:" >&5 |
8304 |
cat conftest.$ac_ext >&5 |
8305 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
8306 |
fi |
8307 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8308 |
done |
8309 |
case $ac_lo in |
8310 |
?*) ac_cv_sizeof_long=$ac_lo;; |
8311 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5 |
8312 |
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;} |
8313 |
{ (exit 1); exit 1; }; } ;; |
8314 |
esac |
8315 |
else |
8316 |
if test "$cross_compiling" = yes; then |
8317 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
8318 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
8319 |
{ (exit 1); exit 1; }; } |
8320 |
else |
8321 |
cat >conftest.$ac_ext <<_ACEOF |
8322 |
#line $LINENO "configure" |
8323 |
#include "confdefs.h" |
8324 |
$ac_includes_default |
8325 |
long longval () { return (long) (sizeof (long)); } |
8326 |
unsigned long ulongval () { return (long) (sizeof (long)); } |
8327 |
#include <stdio.h> |
8328 |
#include <stdlib.h> |
8329 |
#ifdef F77_DUMMY_MAIN |
8330 |
# ifdef __cplusplus |
8331 |
extern "C" |
8332 |
# endif |
8333 |
int F77_DUMMY_MAIN() { return 1; } |
8334 |
#endif |
8335 |
int |
8336 |
main () |
8337 |
{ |
8338 |
|
8339 |
FILE *f = fopen ("conftest.val", "w"); |
8340 |
if (! f) |
8341 |
exit (1); |
8342 |
if (((long) (sizeof (long))) < 0) |
8343 |
{ |
8344 |
long i = longval (); |
8345 |
if (i != ((long) (sizeof (long)))) |
8346 |
exit (1); |
8347 |
fprintf (f, "%ld\n", i); |
8348 |
} |
8349 |
else |
8350 |
{ |
8351 |
unsigned long i = ulongval (); |
8352 |
if (i != ((long) (sizeof (long)))) |
8353 |
exit (1); |
8354 |
fprintf (f, "%lu\n", i); |
8355 |
} |
8356 |
exit (ferror (f) || fclose (f) != 0); |
8357 |
|
8358 |
; |
8359 |
return 0; |
8360 |
} |
8361 |
_ACEOF |
8362 |
rm -f conftest$ac_exeext |
8363 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8364 |
(eval $ac_link) 2>&5 |
8365 |
ac_status=$? |
8366 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8367 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8368 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8369 |
(eval $ac_try) 2>&5 |
8370 |
ac_status=$? |
8371 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 |
(exit $ac_status); }; }; then |
8373 |
ac_cv_sizeof_long=`cat conftest.val` |
8374 |
else |
8375 |
echo "$as_me: program exited with status $ac_status" >&5 |
8376 |
echo "$as_me: failed program was:" >&5 |
8377 |
cat conftest.$ac_ext >&5 |
8378 |
( exit $ac_status ) |
8379 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77" >&5 |
8380 |
echo "$as_me: error: cannot compute sizeof (long), 77" >&2;} |
8381 |
{ (exit 1); exit 1; }; } |
8382 |
fi |
8383 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8384 |
fi |
8385 |
fi |
8386 |
rm -f conftest.val |
8387 |
else |
8388 |
ac_cv_sizeof_long=0 |
8389 |
fi |
8390 |
fi |
8391 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 |
8392 |
echo "${ECHO_T}$ac_cv_sizeof_long" >&6 |
8393 |
cat >>confdefs.h <<_ACEOF |
8394 |
#define SIZEOF_LONG $ac_cv_sizeof_long |
8395 |
_ACEOF |
8396 |
|
8397 |
|
8398 |
if test "$fptools_cv_have_long_long" = yes; then |
8399 |
echo "$as_me:$LINENO: checking for long long" >&5 |
8400 |
echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
8401 |
if test "${ac_cv_type_long_long+set}" = set; then |
8402 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8403 |
else |
8404 |
cat >conftest.$ac_ext <<_ACEOF |
8405 |
#line $LINENO "configure" |
8406 |
#include "confdefs.h" |
8407 |
$ac_includes_default |
8408 |
#ifdef F77_DUMMY_MAIN |
8409 |
# ifdef __cplusplus |
8410 |
extern "C" |
8411 |
# endif |
8412 |
int F77_DUMMY_MAIN() { return 1; } |
8413 |
#endif |
8414 |
int |
8415 |
main () |
8416 |
{ |
8417 |
if ((long long *) 0) |
8418 |
return 0; |
8419 |
if (sizeof (long long)) |
8420 |
return 0; |
8421 |
; |
8422 |
return 0; |
8423 |
} |
8424 |
_ACEOF |
8425 |
rm -f conftest.$ac_objext |
8426 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8427 |
(eval $ac_compile) 2>&5 |
8428 |
ac_status=$? |
8429 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8430 |
(exit $ac_status); } && |
8431 |
{ ac_try='test -s conftest.$ac_objext' |
8432 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8433 |
(eval $ac_try) 2>&5 |
8434 |
ac_status=$? |
8435 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8436 |
(exit $ac_status); }; }; then |
8437 |
ac_cv_type_long_long=yes |
8438 |
else |
8439 |
echo "$as_me: failed program was:" >&5 |
8440 |
cat conftest.$ac_ext >&5 |
8441 |
ac_cv_type_long_long=no |
8442 |
fi |
8443 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8444 |
fi |
8445 |
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
8446 |
echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
8447 |
|
8448 |
echo "$as_me:$LINENO: checking size of long long" >&5 |
8449 |
echo $ECHO_N "checking size of long long... $ECHO_C" >&6 |
8450 |
if test "${ac_cv_sizeof_long_long+set}" = set; then |
8451 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8452 |
else |
8453 |
if test "$ac_cv_type_long_long" = yes; then |
8454 |
# The cast to unsigned long works around a bug in the HP C Compiler |
8455 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
8456 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
8457 |
# This bug is HP SR number 8606223364. |
8458 |
if test "$cross_compiling" = yes; then |
8459 |
# Depending upon the size, compute the lo and hi bounds. |
8460 |
cat >conftest.$ac_ext <<_ACEOF |
8461 |
#line $LINENO "configure" |
8462 |
#include "confdefs.h" |
8463 |
$ac_includes_default |
8464 |
#ifdef F77_DUMMY_MAIN |
8465 |
# ifdef __cplusplus |
8466 |
extern "C" |
8467 |
# endif |
8468 |
int F77_DUMMY_MAIN() { return 1; } |
8469 |
#endif |
8470 |
int |
8471 |
main () |
8472 |
{ |
8473 |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)]; |
8474 |
test_array [0] = 0 |
8475 |
|
8476 |
; |
8477 |
return 0; |
8478 |
} |
8479 |
_ACEOF |
8480 |
rm -f conftest.$ac_objext |
8481 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8482 |
(eval $ac_compile) 2>&5 |
8483 |
ac_status=$? |
8484 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8485 |
(exit $ac_status); } && |
8486 |
{ ac_try='test -s conftest.$ac_objext' |
8487 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8488 |
(eval $ac_try) 2>&5 |
8489 |
ac_status=$? |
8490 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8491 |
(exit $ac_status); }; }; then |
8492 |
ac_lo=0 ac_mid=0 |
8493 |
while :; do |
8494 |
cat >conftest.$ac_ext <<_ACEOF |
8495 |
#line $LINENO "configure" |
8496 |
#include "confdefs.h" |
8497 |
$ac_includes_default |
8498 |
#ifdef F77_DUMMY_MAIN |
8499 |
# ifdef __cplusplus |
8500 |
extern "C" |
8501 |
# endif |
8502 |
int F77_DUMMY_MAIN() { return 1; } |
8503 |
#endif |
8504 |
int |
8505 |
main () |
8506 |
{ |
8507 |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
8508 |
test_array [0] = 0 |
8509 |
|
8510 |
; |
8511 |
return 0; |
8512 |
} |
8513 |
_ACEOF |
8514 |
rm -f conftest.$ac_objext |
8515 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8516 |
(eval $ac_compile) 2>&5 |
8517 |
ac_status=$? |
8518 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8519 |
(exit $ac_status); } && |
8520 |
{ ac_try='test -s conftest.$ac_objext' |
8521 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8522 |
(eval $ac_try) 2>&5 |
8523 |
ac_status=$? |
8524 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8525 |
(exit $ac_status); }; }; then |
8526 |
ac_hi=$ac_mid; break |
8527 |
else |
8528 |
echo "$as_me: failed program was:" >&5 |
8529 |
cat conftest.$ac_ext >&5 |
8530 |
ac_lo=`expr $ac_mid + 1` |
8531 |
if test $ac_lo -le $ac_mid; then |
8532 |
ac_lo= ac_hi= |
8533 |
break |
8534 |
fi |
8535 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
8536 |
fi |
8537 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8538 |
done |
8539 |
else |
8540 |
echo "$as_me: failed program was:" >&5 |
8541 |
cat conftest.$ac_ext >&5 |
8542 |
cat >conftest.$ac_ext <<_ACEOF |
8543 |
#line $LINENO "configure" |
8544 |
#include "confdefs.h" |
8545 |
$ac_includes_default |
8546 |
#ifdef F77_DUMMY_MAIN |
8547 |
# ifdef __cplusplus |
8548 |
extern "C" |
8549 |
# endif |
8550 |
int F77_DUMMY_MAIN() { return 1; } |
8551 |
#endif |
8552 |
int |
8553 |
main () |
8554 |
{ |
8555 |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)]; |
8556 |
test_array [0] = 0 |
8557 |
|
8558 |
; |
8559 |
return 0; |
8560 |
} |
8561 |
_ACEOF |
8562 |
rm -f conftest.$ac_objext |
8563 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8564 |
(eval $ac_compile) 2>&5 |
8565 |
ac_status=$? |
8566 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8567 |
(exit $ac_status); } && |
8568 |
{ ac_try='test -s conftest.$ac_objext' |
8569 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8570 |
(eval $ac_try) 2>&5 |
8571 |
ac_status=$? |
8572 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8573 |
(exit $ac_status); }; }; then |
8574 |
ac_hi=-1 ac_mid=-1 |
8575 |
while :; do |
8576 |
cat >conftest.$ac_ext <<_ACEOF |
8577 |
#line $LINENO "configure" |
8578 |
#include "confdefs.h" |
8579 |
$ac_includes_default |
8580 |
#ifdef F77_DUMMY_MAIN |
8581 |
# ifdef __cplusplus |
8582 |
extern "C" |
8583 |
# endif |
8584 |
int F77_DUMMY_MAIN() { return 1; } |
8585 |
#endif |
8586 |
int |
8587 |
main () |
8588 |
{ |
8589 |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)]; |
8590 |
test_array [0] = 0 |
8591 |
|
8592 |
; |
8593 |
return 0; |
8594 |
} |
8595 |
_ACEOF |
8596 |
rm -f conftest.$ac_objext |
8597 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8598 |
(eval $ac_compile) 2>&5 |
8599 |
ac_status=$? |
8600 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8601 |
(exit $ac_status); } && |
8602 |
{ ac_try='test -s conftest.$ac_objext' |
8603 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8604 |
(eval $ac_try) 2>&5 |
8605 |
ac_status=$? |
8606 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8607 |
(exit $ac_status); }; }; then |
8608 |
ac_lo=$ac_mid; break |
8609 |
else |
8610 |
echo "$as_me: failed program was:" >&5 |
8611 |
cat conftest.$ac_ext >&5 |
8612 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
8613 |
if test $ac_mid -le $ac_hi; then |
8614 |
ac_lo= ac_hi= |
8615 |
break |
8616 |
fi |
8617 |
ac_mid=`expr 2 '*' $ac_mid` |
8618 |
fi |
8619 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8620 |
done |
8621 |
else |
8622 |
echo "$as_me: failed program was:" >&5 |
8623 |
cat conftest.$ac_ext >&5 |
8624 |
ac_lo= ac_hi= |
8625 |
fi |
8626 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8627 |
fi |
8628 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8629 |
# Binary search between lo and hi bounds. |
8630 |
while test "x$ac_lo" != "x$ac_hi"; do |
8631 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8632 |
cat >conftest.$ac_ext <<_ACEOF |
8633 |
#line $LINENO "configure" |
8634 |
#include "confdefs.h" |
8635 |
$ac_includes_default |
8636 |
#ifdef F77_DUMMY_MAIN |
8637 |
# ifdef __cplusplus |
8638 |
extern "C" |
8639 |
# endif |
8640 |
int F77_DUMMY_MAIN() { return 1; } |
8641 |
#endif |
8642 |
int |
8643 |
main () |
8644 |
{ |
8645 |
static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)]; |
8646 |
test_array [0] = 0 |
8647 |
|
8648 |
; |
8649 |
return 0; |
8650 |
} |
8651 |
_ACEOF |
8652 |
rm -f conftest.$ac_objext |
8653 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8654 |
(eval $ac_compile) 2>&5 |
8655 |
ac_status=$? |
8656 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8657 |
(exit $ac_status); } && |
8658 |
{ ac_try='test -s conftest.$ac_objext' |
8659 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8660 |
(eval $ac_try) 2>&5 |
8661 |
ac_status=$? |
8662 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8663 |
(exit $ac_status); }; }; then |
8664 |
ac_hi=$ac_mid |
8665 |
else |
8666 |
echo "$as_me: failed program was:" >&5 |
8667 |
cat conftest.$ac_ext >&5 |
8668 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
8669 |
fi |
8670 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8671 |
done |
8672 |
case $ac_lo in |
8673 |
?*) ac_cv_sizeof_long_long=$ac_lo;; |
8674 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5 |
8675 |
echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;} |
8676 |
{ (exit 1); exit 1; }; } ;; |
8677 |
esac |
8678 |
else |
8679 |
if test "$cross_compiling" = yes; then |
8680 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
8681 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
8682 |
{ (exit 1); exit 1; }; } |
8683 |
else |
8684 |
cat >conftest.$ac_ext <<_ACEOF |
8685 |
#line $LINENO "configure" |
8686 |
#include "confdefs.h" |
8687 |
$ac_includes_default |
8688 |
long longval () { return (long) (sizeof (long long)); } |
8689 |
unsigned long ulongval () { return (long) (sizeof (long long)); } |
8690 |
#include <stdio.h> |
8691 |
#include <stdlib.h> |
8692 |
#ifdef F77_DUMMY_MAIN |
8693 |
# ifdef __cplusplus |
8694 |
extern "C" |
8695 |
# endif |
8696 |
int F77_DUMMY_MAIN() { return 1; } |
8697 |
#endif |
8698 |
int |
8699 |
main () |
8700 |
{ |
8701 |
|
8702 |
FILE *f = fopen ("conftest.val", "w"); |
8703 |
if (! f) |
8704 |
exit (1); |
8705 |
if (((long) (sizeof (long long))) < 0) |
8706 |
{ |
8707 |
long i = longval (); |
8708 |
if (i != ((long) (sizeof (long long)))) |
8709 |
exit (1); |
8710 |
fprintf (f, "%ld\n", i); |
8711 |
} |
8712 |
else |
8713 |
{ |
8714 |
unsigned long i = ulongval (); |
8715 |
if (i != ((long) (sizeof (long long)))) |
8716 |
exit (1); |
8717 |
fprintf (f, "%lu\n", i); |
8718 |
} |
8719 |
exit (ferror (f) || fclose (f) != 0); |
8720 |
|
8721 |
; |
8722 |
return 0; |
8723 |
} |
8724 |
_ACEOF |
8725 |
rm -f conftest$ac_exeext |
8726 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
8727 |
(eval $ac_link) 2>&5 |
8728 |
ac_status=$? |
8729 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8730 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
8731 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8732 |
(eval $ac_try) 2>&5 |
8733 |
ac_status=$? |
8734 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8735 |
(exit $ac_status); }; }; then |
8736 |
ac_cv_sizeof_long_long=`cat conftest.val` |
8737 |
else |
8738 |
echo "$as_me: program exited with status $ac_status" >&5 |
8739 |
echo "$as_me: failed program was:" >&5 |
8740 |
cat conftest.$ac_ext >&5 |
8741 |
( exit $ac_status ) |
8742 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77" >&5 |
8743 |
echo "$as_me: error: cannot compute sizeof (long long), 77" >&2;} |
8744 |
{ (exit 1); exit 1; }; } |
8745 |
fi |
8746 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8747 |
fi |
8748 |
fi |
8749 |
rm -f conftest.val |
8750 |
else |
8751 |
ac_cv_sizeof_long_long=0 |
8752 |
fi |
8753 |
fi |
8754 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
8755 |
echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6 |
8756 |
cat >>confdefs.h <<_ACEOF |
8757 |
#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
8758 |
_ACEOF |
8759 |
|
8760 |
|
8761 |
fi |
8762 |
echo "$as_me:$LINENO: checking for short" >&5 |
8763 |
echo $ECHO_N "checking for short... $ECHO_C" >&6 |
8764 |
if test "${ac_cv_type_short+set}" = set; then |
8765 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8766 |
else |
8767 |
cat >conftest.$ac_ext <<_ACEOF |
8768 |
#line $LINENO "configure" |
8769 |
#include "confdefs.h" |
8770 |
$ac_includes_default |
8771 |
#ifdef F77_DUMMY_MAIN |
8772 |
# ifdef __cplusplus |
8773 |
extern "C" |
8774 |
# endif |
8775 |
int F77_DUMMY_MAIN() { return 1; } |
8776 |
#endif |
8777 |
int |
8778 |
main () |
8779 |
{ |
8780 |
if ((short *) 0) |
8781 |
return 0; |
8782 |
if (sizeof (short)) |
8783 |
return 0; |
8784 |
; |
8785 |
return 0; |
8786 |
} |
8787 |
_ACEOF |
8788 |
rm -f conftest.$ac_objext |
8789 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8790 |
(eval $ac_compile) 2>&5 |
8791 |
ac_status=$? |
8792 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8793 |
(exit $ac_status); } && |
8794 |
{ ac_try='test -s conftest.$ac_objext' |
8795 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8796 |
(eval $ac_try) 2>&5 |
8797 |
ac_status=$? |
8798 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8799 |
(exit $ac_status); }; }; then |
8800 |
ac_cv_type_short=yes |
8801 |
else |
8802 |
echo "$as_me: failed program was:" >&5 |
8803 |
cat conftest.$ac_ext >&5 |
8804 |
ac_cv_type_short=no |
8805 |
fi |
8806 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8807 |
fi |
8808 |
echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
8809 |
echo "${ECHO_T}$ac_cv_type_short" >&6 |
8810 |
|
8811 |
echo "$as_me:$LINENO: checking size of short" >&5 |
8812 |
echo $ECHO_N "checking size of short... $ECHO_C" >&6 |
8813 |
if test "${ac_cv_sizeof_short+set}" = set; then |
8814 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8815 |
else |
8816 |
if test "$ac_cv_type_short" = yes; then |
8817 |
# The cast to unsigned long works around a bug in the HP C Compiler |
8818 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
8819 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
8820 |
# This bug is HP SR number 8606223364. |
8821 |
if test "$cross_compiling" = yes; then |
8822 |
# Depending upon the size, compute the lo and hi bounds. |
8823 |
cat >conftest.$ac_ext <<_ACEOF |
8824 |
#line $LINENO "configure" |
8825 |
#include "confdefs.h" |
8826 |
$ac_includes_default |
8827 |
#ifdef F77_DUMMY_MAIN |
8828 |
# ifdef __cplusplus |
8829 |
extern "C" |
8830 |
# endif |
8831 |
int F77_DUMMY_MAIN() { return 1; } |
8832 |
#endif |
8833 |
int |
8834 |
main () |
8835 |
{ |
8836 |
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)]; |
8837 |
test_array [0] = 0 |
8838 |
|
8839 |
; |
8840 |
return 0; |
8841 |
} |
8842 |
_ACEOF |
8843 |
rm -f conftest.$ac_objext |
8844 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8845 |
(eval $ac_compile) 2>&5 |
8846 |
ac_status=$? |
8847 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8848 |
(exit $ac_status); } && |
8849 |
{ ac_try='test -s conftest.$ac_objext' |
8850 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8851 |
(eval $ac_try) 2>&5 |
8852 |
ac_status=$? |
8853 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8854 |
(exit $ac_status); }; }; then |
8855 |
ac_lo=0 ac_mid=0 |
8856 |
while :; do |
8857 |
cat >conftest.$ac_ext <<_ACEOF |
8858 |
#line $LINENO "configure" |
8859 |
#include "confdefs.h" |
8860 |
$ac_includes_default |
8861 |
#ifdef F77_DUMMY_MAIN |
8862 |
# ifdef __cplusplus |
8863 |
extern "C" |
8864 |
# endif |
8865 |
int F77_DUMMY_MAIN() { return 1; } |
8866 |
#endif |
8867 |
int |
8868 |
main () |
8869 |
{ |
8870 |
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
8871 |
test_array [0] = 0 |
8872 |
|
8873 |
; |
8874 |
return 0; |
8875 |
} |
8876 |
_ACEOF |
8877 |
rm -f conftest.$ac_objext |
8878 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8879 |
(eval $ac_compile) 2>&5 |
8880 |
ac_status=$? |
8881 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8882 |
(exit $ac_status); } && |
8883 |
{ ac_try='test -s conftest.$ac_objext' |
8884 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8885 |
(eval $ac_try) 2>&5 |
8886 |
ac_status=$? |
8887 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8888 |
(exit $ac_status); }; }; then |
8889 |
ac_hi=$ac_mid; break |
8890 |
else |
8891 |
echo "$as_me: failed program was:" >&5 |
8892 |
cat conftest.$ac_ext >&5 |
8893 |
ac_lo=`expr $ac_mid + 1` |
8894 |
if test $ac_lo -le $ac_mid; then |
8895 |
ac_lo= ac_hi= |
8896 |
break |
8897 |
fi |
8898 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
8899 |
fi |
8900 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8901 |
done |
8902 |
else |
8903 |
echo "$as_me: failed program was:" >&5 |
8904 |
cat conftest.$ac_ext >&5 |
8905 |
cat >conftest.$ac_ext <<_ACEOF |
8906 |
#line $LINENO "configure" |
8907 |
#include "confdefs.h" |
8908 |
$ac_includes_default |
8909 |
#ifdef F77_DUMMY_MAIN |
8910 |
# ifdef __cplusplus |
8911 |
extern "C" |
8912 |
# endif |
8913 |
int F77_DUMMY_MAIN() { return 1; } |
8914 |
#endif |
8915 |
int |
8916 |
main () |
8917 |
{ |
8918 |
static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)]; |
8919 |
test_array [0] = 0 |
8920 |
|
8921 |
; |
8922 |
return 0; |
8923 |
} |
8924 |
_ACEOF |
8925 |
rm -f conftest.$ac_objext |
8926 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8927 |
(eval $ac_compile) 2>&5 |
8928 |
ac_status=$? |
8929 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8930 |
(exit $ac_status); } && |
8931 |
{ ac_try='test -s conftest.$ac_objext' |
8932 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8933 |
(eval $ac_try) 2>&5 |
8934 |
ac_status=$? |
8935 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8936 |
(exit $ac_status); }; }; then |
8937 |
ac_hi=-1 ac_mid=-1 |
8938 |
while :; do |
8939 |
cat >conftest.$ac_ext <<_ACEOF |
8940 |
#line $LINENO "configure" |
8941 |
#include "confdefs.h" |
8942 |
$ac_includes_default |
8943 |
#ifdef F77_DUMMY_MAIN |
8944 |
# ifdef __cplusplus |
8945 |
extern "C" |
8946 |
# endif |
8947 |
int F77_DUMMY_MAIN() { return 1; } |
8948 |
#endif |
8949 |
int |
8950 |
main () |
8951 |
{ |
8952 |
static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)]; |
8953 |
test_array [0] = 0 |
8954 |
|
8955 |
; |
8956 |
return 0; |
8957 |
} |
8958 |
_ACEOF |
8959 |
rm -f conftest.$ac_objext |
8960 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
8961 |
(eval $ac_compile) 2>&5 |
8962 |
ac_status=$? |
8963 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8964 |
(exit $ac_status); } && |
8965 |
{ ac_try='test -s conftest.$ac_objext' |
8966 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
8967 |
(eval $ac_try) 2>&5 |
8968 |
ac_status=$? |
8969 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8970 |
(exit $ac_status); }; }; then |
8971 |
ac_lo=$ac_mid; break |
8972 |
else |
8973 |
echo "$as_me: failed program was:" >&5 |
8974 |
cat conftest.$ac_ext >&5 |
8975 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
8976 |
if test $ac_mid -le $ac_hi; then |
8977 |
ac_lo= ac_hi= |
8978 |
break |
8979 |
fi |
8980 |
ac_mid=`expr 2 '*' $ac_mid` |
8981 |
fi |
8982 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8983 |
done |
8984 |
else |
8985 |
echo "$as_me: failed program was:" >&5 |
8986 |
cat conftest.$ac_ext >&5 |
8987 |
ac_lo= ac_hi= |
8988 |
fi |
8989 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8990 |
fi |
8991 |
rm -f conftest.$ac_objext conftest.$ac_ext |
8992 |
# Binary search between lo and hi bounds. |
8993 |
while test "x$ac_lo" != "x$ac_hi"; do |
8994 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8995 |
cat >conftest.$ac_ext <<_ACEOF |
8996 |
#line $LINENO "configure" |
8997 |
#include "confdefs.h" |
8998 |
$ac_includes_default |
8999 |
#ifdef F77_DUMMY_MAIN |
9000 |
# ifdef __cplusplus |
9001 |
extern "C" |
9002 |
# endif |
9003 |
int F77_DUMMY_MAIN() { return 1; } |
9004 |
#endif |
9005 |
int |
9006 |
main () |
9007 |
{ |
9008 |
static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)]; |
9009 |
test_array [0] = 0 |
9010 |
|
9011 |
; |
9012 |
return 0; |
9013 |
} |
9014 |
_ACEOF |
9015 |
rm -f conftest.$ac_objext |
9016 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9017 |
(eval $ac_compile) 2>&5 |
9018 |
ac_status=$? |
9019 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9020 |
(exit $ac_status); } && |
9021 |
{ ac_try='test -s conftest.$ac_objext' |
9022 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9023 |
(eval $ac_try) 2>&5 |
9024 |
ac_status=$? |
9025 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9026 |
(exit $ac_status); }; }; then |
9027 |
ac_hi=$ac_mid |
9028 |
else |
9029 |
echo "$as_me: failed program was:" >&5 |
9030 |
cat conftest.$ac_ext >&5 |
9031 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
9032 |
fi |
9033 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9034 |
done |
9035 |
case $ac_lo in |
9036 |
?*) ac_cv_sizeof_short=$ac_lo;; |
9037 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5 |
9038 |
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;} |
9039 |
{ (exit 1); exit 1; }; } ;; |
9040 |
esac |
9041 |
else |
9042 |
if test "$cross_compiling" = yes; then |
9043 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
9044 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9045 |
{ (exit 1); exit 1; }; } |
9046 |
else |
9047 |
cat >conftest.$ac_ext <<_ACEOF |
9048 |
#line $LINENO "configure" |
9049 |
#include "confdefs.h" |
9050 |
$ac_includes_default |
9051 |
long longval () { return (long) (sizeof (short)); } |
9052 |
unsigned long ulongval () { return (long) (sizeof (short)); } |
9053 |
#include <stdio.h> |
9054 |
#include <stdlib.h> |
9055 |
#ifdef F77_DUMMY_MAIN |
9056 |
# ifdef __cplusplus |
9057 |
extern "C" |
9058 |
# endif |
9059 |
int F77_DUMMY_MAIN() { return 1; } |
9060 |
#endif |
9061 |
int |
9062 |
main () |
9063 |
{ |
9064 |
|
9065 |
FILE *f = fopen ("conftest.val", "w"); |
9066 |
if (! f) |
9067 |
exit (1); |
9068 |
if (((long) (sizeof (short))) < 0) |
9069 |
{ |
9070 |
long i = longval (); |
9071 |
if (i != ((long) (sizeof (short)))) |
9072 |
exit (1); |
9073 |
fprintf (f, "%ld\n", i); |
9074 |
} |
9075 |
else |
9076 |
{ |
9077 |
unsigned long i = ulongval (); |
9078 |
if (i != ((long) (sizeof (short)))) |
9079 |
exit (1); |
9080 |
fprintf (f, "%lu\n", i); |
9081 |
} |
9082 |
exit (ferror (f) || fclose (f) != 0); |
9083 |
|
9084 |
; |
9085 |
return 0; |
9086 |
} |
9087 |
_ACEOF |
9088 |
rm -f conftest$ac_exeext |
9089 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9090 |
(eval $ac_link) 2>&5 |
9091 |
ac_status=$? |
9092 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9093 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9094 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9095 |
(eval $ac_try) 2>&5 |
9096 |
ac_status=$? |
9097 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9098 |
(exit $ac_status); }; }; then |
9099 |
ac_cv_sizeof_short=`cat conftest.val` |
9100 |
else |
9101 |
echo "$as_me: program exited with status $ac_status" >&5 |
9102 |
echo "$as_me: failed program was:" >&5 |
9103 |
cat conftest.$ac_ext >&5 |
9104 |
( exit $ac_status ) |
9105 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77" >&5 |
9106 |
echo "$as_me: error: cannot compute sizeof (short), 77" >&2;} |
9107 |
{ (exit 1); exit 1; }; } |
9108 |
fi |
9109 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9110 |
fi |
9111 |
fi |
9112 |
rm -f conftest.val |
9113 |
else |
9114 |
ac_cv_sizeof_short=0 |
9115 |
fi |
9116 |
fi |
9117 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
9118 |
echo "${ECHO_T}$ac_cv_sizeof_short" >&6 |
9119 |
cat >>confdefs.h <<_ACEOF |
9120 |
#define SIZEOF_SHORT $ac_cv_sizeof_short |
9121 |
_ACEOF |
9122 |
|
9123 |
|
9124 |
echo "$as_me:$LINENO: checking for unsigned char" >&5 |
9125 |
echo $ECHO_N "checking for unsigned char... $ECHO_C" >&6 |
9126 |
if test "${ac_cv_type_unsigned_char+set}" = set; then |
9127 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9128 |
else |
9129 |
cat >conftest.$ac_ext <<_ACEOF |
9130 |
#line $LINENO "configure" |
9131 |
#include "confdefs.h" |
9132 |
$ac_includes_default |
9133 |
#ifdef F77_DUMMY_MAIN |
9134 |
# ifdef __cplusplus |
9135 |
extern "C" |
9136 |
# endif |
9137 |
int F77_DUMMY_MAIN() { return 1; } |
9138 |
#endif |
9139 |
int |
9140 |
main () |
9141 |
{ |
9142 |
if ((unsigned char *) 0) |
9143 |
return 0; |
9144 |
if (sizeof (unsigned char)) |
9145 |
return 0; |
9146 |
; |
9147 |
return 0; |
9148 |
} |
9149 |
_ACEOF |
9150 |
rm -f conftest.$ac_objext |
9151 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9152 |
(eval $ac_compile) 2>&5 |
9153 |
ac_status=$? |
9154 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9155 |
(exit $ac_status); } && |
9156 |
{ ac_try='test -s conftest.$ac_objext' |
9157 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9158 |
(eval $ac_try) 2>&5 |
9159 |
ac_status=$? |
9160 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9161 |
(exit $ac_status); }; }; then |
9162 |
ac_cv_type_unsigned_char=yes |
9163 |
else |
9164 |
echo "$as_me: failed program was:" >&5 |
9165 |
cat conftest.$ac_ext >&5 |
9166 |
ac_cv_type_unsigned_char=no |
9167 |
fi |
9168 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9169 |
fi |
9170 |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_char" >&5 |
9171 |
echo "${ECHO_T}$ac_cv_type_unsigned_char" >&6 |
9172 |
|
9173 |
echo "$as_me:$LINENO: checking size of unsigned char" >&5 |
9174 |
echo $ECHO_N "checking size of unsigned char... $ECHO_C" >&6 |
9175 |
if test "${ac_cv_sizeof_unsigned_char+set}" = set; then |
9176 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9177 |
else |
9178 |
if test "$ac_cv_type_unsigned_char" = yes; then |
9179 |
# The cast to unsigned long works around a bug in the HP C Compiler |
9180 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9181 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9182 |
# This bug is HP SR number 8606223364. |
9183 |
if test "$cross_compiling" = yes; then |
9184 |
# Depending upon the size, compute the lo and hi bounds. |
9185 |
cat >conftest.$ac_ext <<_ACEOF |
9186 |
#line $LINENO "configure" |
9187 |
#include "confdefs.h" |
9188 |
$ac_includes_default |
9189 |
#ifdef F77_DUMMY_MAIN |
9190 |
# ifdef __cplusplus |
9191 |
extern "C" |
9192 |
# endif |
9193 |
int F77_DUMMY_MAIN() { return 1; } |
9194 |
#endif |
9195 |
int |
9196 |
main () |
9197 |
{ |
9198 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= 0)]; |
9199 |
test_array [0] = 0 |
9200 |
|
9201 |
; |
9202 |
return 0; |
9203 |
} |
9204 |
_ACEOF |
9205 |
rm -f conftest.$ac_objext |
9206 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9207 |
(eval $ac_compile) 2>&5 |
9208 |
ac_status=$? |
9209 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9210 |
(exit $ac_status); } && |
9211 |
{ ac_try='test -s conftest.$ac_objext' |
9212 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9213 |
(eval $ac_try) 2>&5 |
9214 |
ac_status=$? |
9215 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9216 |
(exit $ac_status); }; }; then |
9217 |
ac_lo=0 ac_mid=0 |
9218 |
while :; do |
9219 |
cat >conftest.$ac_ext <<_ACEOF |
9220 |
#line $LINENO "configure" |
9221 |
#include "confdefs.h" |
9222 |
$ac_includes_default |
9223 |
#ifdef F77_DUMMY_MAIN |
9224 |
# ifdef __cplusplus |
9225 |
extern "C" |
9226 |
# endif |
9227 |
int F77_DUMMY_MAIN() { return 1; } |
9228 |
#endif |
9229 |
int |
9230 |
main () |
9231 |
{ |
9232 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)]; |
9233 |
test_array [0] = 0 |
9234 |
|
9235 |
; |
9236 |
return 0; |
9237 |
} |
9238 |
_ACEOF |
9239 |
rm -f conftest.$ac_objext |
9240 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9241 |
(eval $ac_compile) 2>&5 |
9242 |
ac_status=$? |
9243 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9244 |
(exit $ac_status); } && |
9245 |
{ ac_try='test -s conftest.$ac_objext' |
9246 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9247 |
(eval $ac_try) 2>&5 |
9248 |
ac_status=$? |
9249 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9250 |
(exit $ac_status); }; }; then |
9251 |
ac_hi=$ac_mid; break |
9252 |
else |
9253 |
echo "$as_me: failed program was:" >&5 |
9254 |
cat conftest.$ac_ext >&5 |
9255 |
ac_lo=`expr $ac_mid + 1` |
9256 |
if test $ac_lo -le $ac_mid; then |
9257 |
ac_lo= ac_hi= |
9258 |
break |
9259 |
fi |
9260 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
9261 |
fi |
9262 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9263 |
done |
9264 |
else |
9265 |
echo "$as_me: failed program was:" >&5 |
9266 |
cat conftest.$ac_ext >&5 |
9267 |
cat >conftest.$ac_ext <<_ACEOF |
9268 |
#line $LINENO "configure" |
9269 |
#include "confdefs.h" |
9270 |
$ac_includes_default |
9271 |
#ifdef F77_DUMMY_MAIN |
9272 |
# ifdef __cplusplus |
9273 |
extern "C" |
9274 |
# endif |
9275 |
int F77_DUMMY_MAIN() { return 1; } |
9276 |
#endif |
9277 |
int |
9278 |
main () |
9279 |
{ |
9280 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) < 0)]; |
9281 |
test_array [0] = 0 |
9282 |
|
9283 |
; |
9284 |
return 0; |
9285 |
} |
9286 |
_ACEOF |
9287 |
rm -f conftest.$ac_objext |
9288 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9289 |
(eval $ac_compile) 2>&5 |
9290 |
ac_status=$? |
9291 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9292 |
(exit $ac_status); } && |
9293 |
{ ac_try='test -s conftest.$ac_objext' |
9294 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9295 |
(eval $ac_try) 2>&5 |
9296 |
ac_status=$? |
9297 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9298 |
(exit $ac_status); }; }; then |
9299 |
ac_hi=-1 ac_mid=-1 |
9300 |
while :; do |
9301 |
cat >conftest.$ac_ext <<_ACEOF |
9302 |
#line $LINENO "configure" |
9303 |
#include "confdefs.h" |
9304 |
$ac_includes_default |
9305 |
#ifdef F77_DUMMY_MAIN |
9306 |
# ifdef __cplusplus |
9307 |
extern "C" |
9308 |
# endif |
9309 |
int F77_DUMMY_MAIN() { return 1; } |
9310 |
#endif |
9311 |
int |
9312 |
main () |
9313 |
{ |
9314 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) >= $ac_mid)]; |
9315 |
test_array [0] = 0 |
9316 |
|
9317 |
; |
9318 |
return 0; |
9319 |
} |
9320 |
_ACEOF |
9321 |
rm -f conftest.$ac_objext |
9322 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9323 |
(eval $ac_compile) 2>&5 |
9324 |
ac_status=$? |
9325 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9326 |
(exit $ac_status); } && |
9327 |
{ ac_try='test -s conftest.$ac_objext' |
9328 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9329 |
(eval $ac_try) 2>&5 |
9330 |
ac_status=$? |
9331 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9332 |
(exit $ac_status); }; }; then |
9333 |
ac_lo=$ac_mid; break |
9334 |
else |
9335 |
echo "$as_me: failed program was:" >&5 |
9336 |
cat conftest.$ac_ext >&5 |
9337 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
9338 |
if test $ac_mid -le $ac_hi; then |
9339 |
ac_lo= ac_hi= |
9340 |
break |
9341 |
fi |
9342 |
ac_mid=`expr 2 '*' $ac_mid` |
9343 |
fi |
9344 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9345 |
done |
9346 |
else |
9347 |
echo "$as_me: failed program was:" >&5 |
9348 |
cat conftest.$ac_ext >&5 |
9349 |
ac_lo= ac_hi= |
9350 |
fi |
9351 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9352 |
fi |
9353 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9354 |
# Binary search between lo and hi bounds. |
9355 |
while test "x$ac_lo" != "x$ac_hi"; do |
9356 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9357 |
cat >conftest.$ac_ext <<_ACEOF |
9358 |
#line $LINENO "configure" |
9359 |
#include "confdefs.h" |
9360 |
$ac_includes_default |
9361 |
#ifdef F77_DUMMY_MAIN |
9362 |
# ifdef __cplusplus |
9363 |
extern "C" |
9364 |
# endif |
9365 |
int F77_DUMMY_MAIN() { return 1; } |
9366 |
#endif |
9367 |
int |
9368 |
main () |
9369 |
{ |
9370 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned char))) <= $ac_mid)]; |
9371 |
test_array [0] = 0 |
9372 |
|
9373 |
; |
9374 |
return 0; |
9375 |
} |
9376 |
_ACEOF |
9377 |
rm -f conftest.$ac_objext |
9378 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9379 |
(eval $ac_compile) 2>&5 |
9380 |
ac_status=$? |
9381 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9382 |
(exit $ac_status); } && |
9383 |
{ ac_try='test -s conftest.$ac_objext' |
9384 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9385 |
(eval $ac_try) 2>&5 |
9386 |
ac_status=$? |
9387 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9388 |
(exit $ac_status); }; }; then |
9389 |
ac_hi=$ac_mid |
9390 |
else |
9391 |
echo "$as_me: failed program was:" >&5 |
9392 |
cat conftest.$ac_ext >&5 |
9393 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
9394 |
fi |
9395 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9396 |
done |
9397 |
case $ac_lo in |
9398 |
?*) ac_cv_sizeof_unsigned_char=$ac_lo;; |
9399 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77" >&5 |
9400 |
echo "$as_me: error: cannot compute sizeof (unsigned char), 77" >&2;} |
9401 |
{ (exit 1); exit 1; }; } ;; |
9402 |
esac |
9403 |
else |
9404 |
if test "$cross_compiling" = yes; then |
9405 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
9406 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9407 |
{ (exit 1); exit 1; }; } |
9408 |
else |
9409 |
cat >conftest.$ac_ext <<_ACEOF |
9410 |
#line $LINENO "configure" |
9411 |
#include "confdefs.h" |
9412 |
$ac_includes_default |
9413 |
long longval () { return (long) (sizeof (unsigned char)); } |
9414 |
unsigned long ulongval () { return (long) (sizeof (unsigned char)); } |
9415 |
#include <stdio.h> |
9416 |
#include <stdlib.h> |
9417 |
#ifdef F77_DUMMY_MAIN |
9418 |
# ifdef __cplusplus |
9419 |
extern "C" |
9420 |
# endif |
9421 |
int F77_DUMMY_MAIN() { return 1; } |
9422 |
#endif |
9423 |
int |
9424 |
main () |
9425 |
{ |
9426 |
|
9427 |
FILE *f = fopen ("conftest.val", "w"); |
9428 |
if (! f) |
9429 |
exit (1); |
9430 |
if (((long) (sizeof (unsigned char))) < 0) |
9431 |
{ |
9432 |
long i = longval (); |
9433 |
if (i != ((long) (sizeof (unsigned char)))) |
9434 |
exit (1); |
9435 |
fprintf (f, "%ld\n", i); |
9436 |
} |
9437 |
else |
9438 |
{ |
9439 |
unsigned long i = ulongval (); |
9440 |
if (i != ((long) (sizeof (unsigned char)))) |
9441 |
exit (1); |
9442 |
fprintf (f, "%lu\n", i); |
9443 |
} |
9444 |
exit (ferror (f) || fclose (f) != 0); |
9445 |
|
9446 |
; |
9447 |
return 0; |
9448 |
} |
9449 |
_ACEOF |
9450 |
rm -f conftest$ac_exeext |
9451 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9452 |
(eval $ac_link) 2>&5 |
9453 |
ac_status=$? |
9454 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9455 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9456 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9457 |
(eval $ac_try) 2>&5 |
9458 |
ac_status=$? |
9459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9460 |
(exit $ac_status); }; }; then |
9461 |
ac_cv_sizeof_unsigned_char=`cat conftest.val` |
9462 |
else |
9463 |
echo "$as_me: program exited with status $ac_status" >&5 |
9464 |
echo "$as_me: failed program was:" >&5 |
9465 |
cat conftest.$ac_ext >&5 |
9466 |
( exit $ac_status ) |
9467 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned char), 77" >&5 |
9468 |
echo "$as_me: error: cannot compute sizeof (unsigned char), 77" >&2;} |
9469 |
{ (exit 1); exit 1; }; } |
9470 |
fi |
9471 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9472 |
fi |
9473 |
fi |
9474 |
rm -f conftest.val |
9475 |
else |
9476 |
ac_cv_sizeof_unsigned_char=0 |
9477 |
fi |
9478 |
fi |
9479 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_char" >&5 |
9480 |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_char" >&6 |
9481 |
cat >>confdefs.h <<_ACEOF |
9482 |
#define SIZEOF_UNSIGNED_CHAR $ac_cv_sizeof_unsigned_char |
9483 |
_ACEOF |
9484 |
|
9485 |
|
9486 |
echo "$as_me:$LINENO: checking for unsigned int" >&5 |
9487 |
echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6 |
9488 |
if test "${ac_cv_type_unsigned_int+set}" = set; then |
9489 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9490 |
else |
9491 |
cat >conftest.$ac_ext <<_ACEOF |
9492 |
#line $LINENO "configure" |
9493 |
#include "confdefs.h" |
9494 |
$ac_includes_default |
9495 |
#ifdef F77_DUMMY_MAIN |
9496 |
# ifdef __cplusplus |
9497 |
extern "C" |
9498 |
# endif |
9499 |
int F77_DUMMY_MAIN() { return 1; } |
9500 |
#endif |
9501 |
int |
9502 |
main () |
9503 |
{ |
9504 |
if ((unsigned int *) 0) |
9505 |
return 0; |
9506 |
if (sizeof (unsigned int)) |
9507 |
return 0; |
9508 |
; |
9509 |
return 0; |
9510 |
} |
9511 |
_ACEOF |
9512 |
rm -f conftest.$ac_objext |
9513 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9514 |
(eval $ac_compile) 2>&5 |
9515 |
ac_status=$? |
9516 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9517 |
(exit $ac_status); } && |
9518 |
{ ac_try='test -s conftest.$ac_objext' |
9519 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9520 |
(eval $ac_try) 2>&5 |
9521 |
ac_status=$? |
9522 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9523 |
(exit $ac_status); }; }; then |
9524 |
ac_cv_type_unsigned_int=yes |
9525 |
else |
9526 |
echo "$as_me: failed program was:" >&5 |
9527 |
cat conftest.$ac_ext >&5 |
9528 |
ac_cv_type_unsigned_int=no |
9529 |
fi |
9530 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9531 |
fi |
9532 |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5 |
9533 |
echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6 |
9534 |
|
9535 |
echo "$as_me:$LINENO: checking size of unsigned int" >&5 |
9536 |
echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6 |
9537 |
if test "${ac_cv_sizeof_unsigned_int+set}" = set; then |
9538 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9539 |
else |
9540 |
if test "$ac_cv_type_unsigned_int" = yes; then |
9541 |
# The cast to unsigned long works around a bug in the HP C Compiler |
9542 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9543 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9544 |
# This bug is HP SR number 8606223364. |
9545 |
if test "$cross_compiling" = yes; then |
9546 |
# Depending upon the size, compute the lo and hi bounds. |
9547 |
cat >conftest.$ac_ext <<_ACEOF |
9548 |
#line $LINENO "configure" |
9549 |
#include "confdefs.h" |
9550 |
$ac_includes_default |
9551 |
#ifdef F77_DUMMY_MAIN |
9552 |
# ifdef __cplusplus |
9553 |
extern "C" |
9554 |
# endif |
9555 |
int F77_DUMMY_MAIN() { return 1; } |
9556 |
#endif |
9557 |
int |
9558 |
main () |
9559 |
{ |
9560 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)]; |
9561 |
test_array [0] = 0 |
9562 |
|
9563 |
; |
9564 |
return 0; |
9565 |
} |
9566 |
_ACEOF |
9567 |
rm -f conftest.$ac_objext |
9568 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9569 |
(eval $ac_compile) 2>&5 |
9570 |
ac_status=$? |
9571 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9572 |
(exit $ac_status); } && |
9573 |
{ ac_try='test -s conftest.$ac_objext' |
9574 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9575 |
(eval $ac_try) 2>&5 |
9576 |
ac_status=$? |
9577 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9578 |
(exit $ac_status); }; }; then |
9579 |
ac_lo=0 ac_mid=0 |
9580 |
while :; do |
9581 |
cat >conftest.$ac_ext <<_ACEOF |
9582 |
#line $LINENO "configure" |
9583 |
#include "confdefs.h" |
9584 |
$ac_includes_default |
9585 |
#ifdef F77_DUMMY_MAIN |
9586 |
# ifdef __cplusplus |
9587 |
extern "C" |
9588 |
# endif |
9589 |
int F77_DUMMY_MAIN() { return 1; } |
9590 |
#endif |
9591 |
int |
9592 |
main () |
9593 |
{ |
9594 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)]; |
9595 |
test_array [0] = 0 |
9596 |
|
9597 |
; |
9598 |
return 0; |
9599 |
} |
9600 |
_ACEOF |
9601 |
rm -f conftest.$ac_objext |
9602 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9603 |
(eval $ac_compile) 2>&5 |
9604 |
ac_status=$? |
9605 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9606 |
(exit $ac_status); } && |
9607 |
{ ac_try='test -s conftest.$ac_objext' |
9608 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9609 |
(eval $ac_try) 2>&5 |
9610 |
ac_status=$? |
9611 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9612 |
(exit $ac_status); }; }; then |
9613 |
ac_hi=$ac_mid; break |
9614 |
else |
9615 |
echo "$as_me: failed program was:" >&5 |
9616 |
cat conftest.$ac_ext >&5 |
9617 |
ac_lo=`expr $ac_mid + 1` |
9618 |
if test $ac_lo -le $ac_mid; then |
9619 |
ac_lo= ac_hi= |
9620 |
break |
9621 |
fi |
9622 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
9623 |
fi |
9624 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9625 |
done |
9626 |
else |
9627 |
echo "$as_me: failed program was:" >&5 |
9628 |
cat conftest.$ac_ext >&5 |
9629 |
cat >conftest.$ac_ext <<_ACEOF |
9630 |
#line $LINENO "configure" |
9631 |
#include "confdefs.h" |
9632 |
$ac_includes_default |
9633 |
#ifdef F77_DUMMY_MAIN |
9634 |
# ifdef __cplusplus |
9635 |
extern "C" |
9636 |
# endif |
9637 |
int F77_DUMMY_MAIN() { return 1; } |
9638 |
#endif |
9639 |
int |
9640 |
main () |
9641 |
{ |
9642 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)]; |
9643 |
test_array [0] = 0 |
9644 |
|
9645 |
; |
9646 |
return 0; |
9647 |
} |
9648 |
_ACEOF |
9649 |
rm -f conftest.$ac_objext |
9650 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9651 |
(eval $ac_compile) 2>&5 |
9652 |
ac_status=$? |
9653 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9654 |
(exit $ac_status); } && |
9655 |
{ ac_try='test -s conftest.$ac_objext' |
9656 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9657 |
(eval $ac_try) 2>&5 |
9658 |
ac_status=$? |
9659 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9660 |
(exit $ac_status); }; }; then |
9661 |
ac_hi=-1 ac_mid=-1 |
9662 |
while :; do |
9663 |
cat >conftest.$ac_ext <<_ACEOF |
9664 |
#line $LINENO "configure" |
9665 |
#include "confdefs.h" |
9666 |
$ac_includes_default |
9667 |
#ifdef F77_DUMMY_MAIN |
9668 |
# ifdef __cplusplus |
9669 |
extern "C" |
9670 |
# endif |
9671 |
int F77_DUMMY_MAIN() { return 1; } |
9672 |
#endif |
9673 |
int |
9674 |
main () |
9675 |
{ |
9676 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)]; |
9677 |
test_array [0] = 0 |
9678 |
|
9679 |
; |
9680 |
return 0; |
9681 |
} |
9682 |
_ACEOF |
9683 |
rm -f conftest.$ac_objext |
9684 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9685 |
(eval $ac_compile) 2>&5 |
9686 |
ac_status=$? |
9687 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9688 |
(exit $ac_status); } && |
9689 |
{ ac_try='test -s conftest.$ac_objext' |
9690 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9691 |
(eval $ac_try) 2>&5 |
9692 |
ac_status=$? |
9693 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9694 |
(exit $ac_status); }; }; then |
9695 |
ac_lo=$ac_mid; break |
9696 |
else |
9697 |
echo "$as_me: failed program was:" >&5 |
9698 |
cat conftest.$ac_ext >&5 |
9699 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
9700 |
if test $ac_mid -le $ac_hi; then |
9701 |
ac_lo= ac_hi= |
9702 |
break |
9703 |
fi |
9704 |
ac_mid=`expr 2 '*' $ac_mid` |
9705 |
fi |
9706 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9707 |
done |
9708 |
else |
9709 |
echo "$as_me: failed program was:" >&5 |
9710 |
cat conftest.$ac_ext >&5 |
9711 |
ac_lo= ac_hi= |
9712 |
fi |
9713 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9714 |
fi |
9715 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9716 |
# Binary search between lo and hi bounds. |
9717 |
while test "x$ac_lo" != "x$ac_hi"; do |
9718 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
9719 |
cat >conftest.$ac_ext <<_ACEOF |
9720 |
#line $LINENO "configure" |
9721 |
#include "confdefs.h" |
9722 |
$ac_includes_default |
9723 |
#ifdef F77_DUMMY_MAIN |
9724 |
# ifdef __cplusplus |
9725 |
extern "C" |
9726 |
# endif |
9727 |
int F77_DUMMY_MAIN() { return 1; } |
9728 |
#endif |
9729 |
int |
9730 |
main () |
9731 |
{ |
9732 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)]; |
9733 |
test_array [0] = 0 |
9734 |
|
9735 |
; |
9736 |
return 0; |
9737 |
} |
9738 |
_ACEOF |
9739 |
rm -f conftest.$ac_objext |
9740 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9741 |
(eval $ac_compile) 2>&5 |
9742 |
ac_status=$? |
9743 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9744 |
(exit $ac_status); } && |
9745 |
{ ac_try='test -s conftest.$ac_objext' |
9746 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9747 |
(eval $ac_try) 2>&5 |
9748 |
ac_status=$? |
9749 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9750 |
(exit $ac_status); }; }; then |
9751 |
ac_hi=$ac_mid |
9752 |
else |
9753 |
echo "$as_me: failed program was:" >&5 |
9754 |
cat conftest.$ac_ext >&5 |
9755 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
9756 |
fi |
9757 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9758 |
done |
9759 |
case $ac_lo in |
9760 |
?*) ac_cv_sizeof_unsigned_int=$ac_lo;; |
9761 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5 |
9762 |
echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;} |
9763 |
{ (exit 1); exit 1; }; } ;; |
9764 |
esac |
9765 |
else |
9766 |
if test "$cross_compiling" = yes; then |
9767 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
9768 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
9769 |
{ (exit 1); exit 1; }; } |
9770 |
else |
9771 |
cat >conftest.$ac_ext <<_ACEOF |
9772 |
#line $LINENO "configure" |
9773 |
#include "confdefs.h" |
9774 |
$ac_includes_default |
9775 |
long longval () { return (long) (sizeof (unsigned int)); } |
9776 |
unsigned long ulongval () { return (long) (sizeof (unsigned int)); } |
9777 |
#include <stdio.h> |
9778 |
#include <stdlib.h> |
9779 |
#ifdef F77_DUMMY_MAIN |
9780 |
# ifdef __cplusplus |
9781 |
extern "C" |
9782 |
# endif |
9783 |
int F77_DUMMY_MAIN() { return 1; } |
9784 |
#endif |
9785 |
int |
9786 |
main () |
9787 |
{ |
9788 |
|
9789 |
FILE *f = fopen ("conftest.val", "w"); |
9790 |
if (! f) |
9791 |
exit (1); |
9792 |
if (((long) (sizeof (unsigned int))) < 0) |
9793 |
{ |
9794 |
long i = longval (); |
9795 |
if (i != ((long) (sizeof (unsigned int)))) |
9796 |
exit (1); |
9797 |
fprintf (f, "%ld\n", i); |
9798 |
} |
9799 |
else |
9800 |
{ |
9801 |
unsigned long i = ulongval (); |
9802 |
if (i != ((long) (sizeof (unsigned int)))) |
9803 |
exit (1); |
9804 |
fprintf (f, "%lu\n", i); |
9805 |
} |
9806 |
exit (ferror (f) || fclose (f) != 0); |
9807 |
|
9808 |
; |
9809 |
return 0; |
9810 |
} |
9811 |
_ACEOF |
9812 |
rm -f conftest$ac_exeext |
9813 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9814 |
(eval $ac_link) 2>&5 |
9815 |
ac_status=$? |
9816 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9817 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
9818 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9819 |
(eval $ac_try) 2>&5 |
9820 |
ac_status=$? |
9821 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9822 |
(exit $ac_status); }; }; then |
9823 |
ac_cv_sizeof_unsigned_int=`cat conftest.val` |
9824 |
else |
9825 |
echo "$as_me: program exited with status $ac_status" >&5 |
9826 |
echo "$as_me: failed program was:" >&5 |
9827 |
cat conftest.$ac_ext >&5 |
9828 |
( exit $ac_status ) |
9829 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77" >&5 |
9830 |
echo "$as_me: error: cannot compute sizeof (unsigned int), 77" >&2;} |
9831 |
{ (exit 1); exit 1; }; } |
9832 |
fi |
9833 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9834 |
fi |
9835 |
fi |
9836 |
rm -f conftest.val |
9837 |
else |
9838 |
ac_cv_sizeof_unsigned_int=0 |
9839 |
fi |
9840 |
fi |
9841 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5 |
9842 |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6 |
9843 |
cat >>confdefs.h <<_ACEOF |
9844 |
#define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int |
9845 |
_ACEOF |
9846 |
|
9847 |
|
9848 |
echo "$as_me:$LINENO: checking for unsigned long" >&5 |
9849 |
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6 |
9850 |
if test "${ac_cv_type_unsigned_long+set}" = set; then |
9851 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9852 |
else |
9853 |
cat >conftest.$ac_ext <<_ACEOF |
9854 |
#line $LINENO "configure" |
9855 |
#include "confdefs.h" |
9856 |
$ac_includes_default |
9857 |
#ifdef F77_DUMMY_MAIN |
9858 |
# ifdef __cplusplus |
9859 |
extern "C" |
9860 |
# endif |
9861 |
int F77_DUMMY_MAIN() { return 1; } |
9862 |
#endif |
9863 |
int |
9864 |
main () |
9865 |
{ |
9866 |
if ((unsigned long *) 0) |
9867 |
return 0; |
9868 |
if (sizeof (unsigned long)) |
9869 |
return 0; |
9870 |
; |
9871 |
return 0; |
9872 |
} |
9873 |
_ACEOF |
9874 |
rm -f conftest.$ac_objext |
9875 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9876 |
(eval $ac_compile) 2>&5 |
9877 |
ac_status=$? |
9878 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9879 |
(exit $ac_status); } && |
9880 |
{ ac_try='test -s conftest.$ac_objext' |
9881 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9882 |
(eval $ac_try) 2>&5 |
9883 |
ac_status=$? |
9884 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9885 |
(exit $ac_status); }; }; then |
9886 |
ac_cv_type_unsigned_long=yes |
9887 |
else |
9888 |
echo "$as_me: failed program was:" >&5 |
9889 |
cat conftest.$ac_ext >&5 |
9890 |
ac_cv_type_unsigned_long=no |
9891 |
fi |
9892 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9893 |
fi |
9894 |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5 |
9895 |
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6 |
9896 |
|
9897 |
echo "$as_me:$LINENO: checking size of unsigned long" >&5 |
9898 |
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6 |
9899 |
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then |
9900 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9901 |
else |
9902 |
if test "$ac_cv_type_unsigned_long" = yes; then |
9903 |
# The cast to unsigned long works around a bug in the HP C Compiler |
9904 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
9905 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
9906 |
# This bug is HP SR number 8606223364. |
9907 |
if test "$cross_compiling" = yes; then |
9908 |
# Depending upon the size, compute the lo and hi bounds. |
9909 |
cat >conftest.$ac_ext <<_ACEOF |
9910 |
#line $LINENO "configure" |
9911 |
#include "confdefs.h" |
9912 |
$ac_includes_default |
9913 |
#ifdef F77_DUMMY_MAIN |
9914 |
# ifdef __cplusplus |
9915 |
extern "C" |
9916 |
# endif |
9917 |
int F77_DUMMY_MAIN() { return 1; } |
9918 |
#endif |
9919 |
int |
9920 |
main () |
9921 |
{ |
9922 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)]; |
9923 |
test_array [0] = 0 |
9924 |
|
9925 |
; |
9926 |
return 0; |
9927 |
} |
9928 |
_ACEOF |
9929 |
rm -f conftest.$ac_objext |
9930 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9931 |
(eval $ac_compile) 2>&5 |
9932 |
ac_status=$? |
9933 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9934 |
(exit $ac_status); } && |
9935 |
{ ac_try='test -s conftest.$ac_objext' |
9936 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9937 |
(eval $ac_try) 2>&5 |
9938 |
ac_status=$? |
9939 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9940 |
(exit $ac_status); }; }; then |
9941 |
ac_lo=0 ac_mid=0 |
9942 |
while :; do |
9943 |
cat >conftest.$ac_ext <<_ACEOF |
9944 |
#line $LINENO "configure" |
9945 |
#include "confdefs.h" |
9946 |
$ac_includes_default |
9947 |
#ifdef F77_DUMMY_MAIN |
9948 |
# ifdef __cplusplus |
9949 |
extern "C" |
9950 |
# endif |
9951 |
int F77_DUMMY_MAIN() { return 1; } |
9952 |
#endif |
9953 |
int |
9954 |
main () |
9955 |
{ |
9956 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; |
9957 |
test_array [0] = 0 |
9958 |
|
9959 |
; |
9960 |
return 0; |
9961 |
} |
9962 |
_ACEOF |
9963 |
rm -f conftest.$ac_objext |
9964 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
9965 |
(eval $ac_compile) 2>&5 |
9966 |
ac_status=$? |
9967 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9968 |
(exit $ac_status); } && |
9969 |
{ ac_try='test -s conftest.$ac_objext' |
9970 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9971 |
(eval $ac_try) 2>&5 |
9972 |
ac_status=$? |
9973 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9974 |
(exit $ac_status); }; }; then |
9975 |
ac_hi=$ac_mid; break |
9976 |
else |
9977 |
echo "$as_me: failed program was:" >&5 |
9978 |
cat conftest.$ac_ext >&5 |
9979 |
ac_lo=`expr $ac_mid + 1` |
9980 |
if test $ac_lo -le $ac_mid; then |
9981 |
ac_lo= ac_hi= |
9982 |
break |
9983 |
fi |
9984 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
9985 |
fi |
9986 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9987 |
done |
9988 |
else |
9989 |
echo "$as_me: failed program was:" >&5 |
9990 |
cat conftest.$ac_ext >&5 |
9991 |
cat >conftest.$ac_ext <<_ACEOF |
9992 |
#line $LINENO "configure" |
9993 |
#include "confdefs.h" |
9994 |
$ac_includes_default |
9995 |
#ifdef F77_DUMMY_MAIN |
9996 |
# ifdef __cplusplus |
9997 |
extern "C" |
9998 |
# endif |
9999 |
int F77_DUMMY_MAIN() { return 1; } |
10000 |
#endif |
10001 |
int |
10002 |
main () |
10003 |
{ |
10004 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)]; |
10005 |
test_array [0] = 0 |
10006 |
|
10007 |
; |
10008 |
return 0; |
10009 |
} |
10010 |
_ACEOF |
10011 |
rm -f conftest.$ac_objext |
10012 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10013 |
(eval $ac_compile) 2>&5 |
10014 |
ac_status=$? |
10015 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10016 |
(exit $ac_status); } && |
10017 |
{ ac_try='test -s conftest.$ac_objext' |
10018 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10019 |
(eval $ac_try) 2>&5 |
10020 |
ac_status=$? |
10021 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10022 |
(exit $ac_status); }; }; then |
10023 |
ac_hi=-1 ac_mid=-1 |
10024 |
while :; do |
10025 |
cat >conftest.$ac_ext <<_ACEOF |
10026 |
#line $LINENO "configure" |
10027 |
#include "confdefs.h" |
10028 |
$ac_includes_default |
10029 |
#ifdef F77_DUMMY_MAIN |
10030 |
# ifdef __cplusplus |
10031 |
extern "C" |
10032 |
# endif |
10033 |
int F77_DUMMY_MAIN() { return 1; } |
10034 |
#endif |
10035 |
int |
10036 |
main () |
10037 |
{ |
10038 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)]; |
10039 |
test_array [0] = 0 |
10040 |
|
10041 |
; |
10042 |
return 0; |
10043 |
} |
10044 |
_ACEOF |
10045 |
rm -f conftest.$ac_objext |
10046 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10047 |
(eval $ac_compile) 2>&5 |
10048 |
ac_status=$? |
10049 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10050 |
(exit $ac_status); } && |
10051 |
{ ac_try='test -s conftest.$ac_objext' |
10052 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10053 |
(eval $ac_try) 2>&5 |
10054 |
ac_status=$? |
10055 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10056 |
(exit $ac_status); }; }; then |
10057 |
ac_lo=$ac_mid; break |
10058 |
else |
10059 |
echo "$as_me: failed program was:" >&5 |
10060 |
cat conftest.$ac_ext >&5 |
10061 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
10062 |
if test $ac_mid -le $ac_hi; then |
10063 |
ac_lo= ac_hi= |
10064 |
break |
10065 |
fi |
10066 |
ac_mid=`expr 2 '*' $ac_mid` |
10067 |
fi |
10068 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10069 |
done |
10070 |
else |
10071 |
echo "$as_me: failed program was:" >&5 |
10072 |
cat conftest.$ac_ext >&5 |
10073 |
ac_lo= ac_hi= |
10074 |
fi |
10075 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10076 |
fi |
10077 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10078 |
# Binary search between lo and hi bounds. |
10079 |
while test "x$ac_lo" != "x$ac_hi"; do |
10080 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10081 |
cat >conftest.$ac_ext <<_ACEOF |
10082 |
#line $LINENO "configure" |
10083 |
#include "confdefs.h" |
10084 |
$ac_includes_default |
10085 |
#ifdef F77_DUMMY_MAIN |
10086 |
# ifdef __cplusplus |
10087 |
extern "C" |
10088 |
# endif |
10089 |
int F77_DUMMY_MAIN() { return 1; } |
10090 |
#endif |
10091 |
int |
10092 |
main () |
10093 |
{ |
10094 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)]; |
10095 |
test_array [0] = 0 |
10096 |
|
10097 |
; |
10098 |
return 0; |
10099 |
} |
10100 |
_ACEOF |
10101 |
rm -f conftest.$ac_objext |
10102 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10103 |
(eval $ac_compile) 2>&5 |
10104 |
ac_status=$? |
10105 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10106 |
(exit $ac_status); } && |
10107 |
{ ac_try='test -s conftest.$ac_objext' |
10108 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10109 |
(eval $ac_try) 2>&5 |
10110 |
ac_status=$? |
10111 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10112 |
(exit $ac_status); }; }; then |
10113 |
ac_hi=$ac_mid |
10114 |
else |
10115 |
echo "$as_me: failed program was:" >&5 |
10116 |
cat conftest.$ac_ext >&5 |
10117 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
10118 |
fi |
10119 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10120 |
done |
10121 |
case $ac_lo in |
10122 |
?*) ac_cv_sizeof_unsigned_long=$ac_lo;; |
10123 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5 |
10124 |
echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;} |
10125 |
{ (exit 1); exit 1; }; } ;; |
10126 |
esac |
10127 |
else |
10128 |
if test "$cross_compiling" = yes; then |
10129 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
10130 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
10131 |
{ (exit 1); exit 1; }; } |
10132 |
else |
10133 |
cat >conftest.$ac_ext <<_ACEOF |
10134 |
#line $LINENO "configure" |
10135 |
#include "confdefs.h" |
10136 |
$ac_includes_default |
10137 |
long longval () { return (long) (sizeof (unsigned long)); } |
10138 |
unsigned long ulongval () { return (long) (sizeof (unsigned long)); } |
10139 |
#include <stdio.h> |
10140 |
#include <stdlib.h> |
10141 |
#ifdef F77_DUMMY_MAIN |
10142 |
# ifdef __cplusplus |
10143 |
extern "C" |
10144 |
# endif |
10145 |
int F77_DUMMY_MAIN() { return 1; } |
10146 |
#endif |
10147 |
int |
10148 |
main () |
10149 |
{ |
10150 |
|
10151 |
FILE *f = fopen ("conftest.val", "w"); |
10152 |
if (! f) |
10153 |
exit (1); |
10154 |
if (((long) (sizeof (unsigned long))) < 0) |
10155 |
{ |
10156 |
long i = longval (); |
10157 |
if (i != ((long) (sizeof (unsigned long)))) |
10158 |
exit (1); |
10159 |
fprintf (f, "%ld\n", i); |
10160 |
} |
10161 |
else |
10162 |
{ |
10163 |
unsigned long i = ulongval (); |
10164 |
if (i != ((long) (sizeof (unsigned long)))) |
10165 |
exit (1); |
10166 |
fprintf (f, "%lu\n", i); |
10167 |
} |
10168 |
exit (ferror (f) || fclose (f) != 0); |
10169 |
|
10170 |
; |
10171 |
return 0; |
10172 |
} |
10173 |
_ACEOF |
10174 |
rm -f conftest$ac_exeext |
10175 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10176 |
(eval $ac_link) 2>&5 |
10177 |
ac_status=$? |
10178 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10179 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10180 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10181 |
(eval $ac_try) 2>&5 |
10182 |
ac_status=$? |
10183 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10184 |
(exit $ac_status); }; }; then |
10185 |
ac_cv_sizeof_unsigned_long=`cat conftest.val` |
10186 |
else |
10187 |
echo "$as_me: program exited with status $ac_status" >&5 |
10188 |
echo "$as_me: failed program was:" >&5 |
10189 |
cat conftest.$ac_ext >&5 |
10190 |
( exit $ac_status ) |
10191 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77" >&5 |
10192 |
echo "$as_me: error: cannot compute sizeof (unsigned long), 77" >&2;} |
10193 |
{ (exit 1); exit 1; }; } |
10194 |
fi |
10195 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10196 |
fi |
10197 |
fi |
10198 |
rm -f conftest.val |
4155 |
else |
10199 |
else |
4156 |
echo "configure: failed program was:" >&5 |
|
|
4157 |
cat conftest.$ac_ext >&5 |
4158 |
rm -fr conftest* |
4159 |
ac_cv_sizeof_unsigned_long=0 |
10200 |
ac_cv_sizeof_unsigned_long=0 |
4160 |
fi |
10201 |
fi |
4161 |
rm -fr conftest* |
|
|
4162 |
fi |
10202 |
fi |
4163 |
|
10203 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5 |
|
|
10204 |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6 |
10205 |
cat >>confdefs.h <<_ACEOF |
10206 |
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long |
10207 |
_ACEOF |
10208 |
|
10209 |
|
10210 |
if test "$fptools_cv_have_long_long" = yes; then |
10211 |
echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
10212 |
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 |
10213 |
if test "${ac_cv_type_unsigned_long_long+set}" = set; then |
10214 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10215 |
else |
10216 |
cat >conftest.$ac_ext <<_ACEOF |
10217 |
#line $LINENO "configure" |
10218 |
#include "confdefs.h" |
10219 |
$ac_includes_default |
10220 |
#ifdef F77_DUMMY_MAIN |
10221 |
# ifdef __cplusplus |
10222 |
extern "C" |
10223 |
# endif |
10224 |
int F77_DUMMY_MAIN() { return 1; } |
10225 |
#endif |
10226 |
int |
10227 |
main () |
10228 |
{ |
10229 |
if ((unsigned long long *) 0) |
10230 |
return 0; |
10231 |
if (sizeof (unsigned long long)) |
10232 |
return 0; |
10233 |
; |
10234 |
return 0; |
10235 |
} |
10236 |
_ACEOF |
10237 |
rm -f conftest.$ac_objext |
10238 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10239 |
(eval $ac_compile) 2>&5 |
10240 |
ac_status=$? |
10241 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10242 |
(exit $ac_status); } && |
10243 |
{ ac_try='test -s conftest.$ac_objext' |
10244 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10245 |
(eval $ac_try) 2>&5 |
10246 |
ac_status=$? |
10247 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10248 |
(exit $ac_status); }; }; then |
10249 |
ac_cv_type_unsigned_long_long=yes |
10250 |
else |
10251 |
echo "$as_me: failed program was:" >&5 |
10252 |
cat conftest.$ac_ext >&5 |
10253 |
ac_cv_type_unsigned_long_long=no |
10254 |
fi |
10255 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10256 |
fi |
10257 |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 |
10258 |
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 |
10259 |
|
10260 |
echo "$as_me:$LINENO: checking size of unsigned long long" >&5 |
10261 |
echo $ECHO_N "checking size of unsigned long long... $ECHO_C" >&6 |
10262 |
if test "${ac_cv_sizeof_unsigned_long_long+set}" = set; then |
10263 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10264 |
else |
10265 |
if test "$ac_cv_type_unsigned_long_long" = yes; then |
10266 |
# The cast to unsigned long works around a bug in the HP C Compiler |
10267 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
10268 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
10269 |
# This bug is HP SR number 8606223364. |
10270 |
if test "$cross_compiling" = yes; then |
10271 |
# Depending upon the size, compute the lo and hi bounds. |
10272 |
cat >conftest.$ac_ext <<_ACEOF |
10273 |
#line $LINENO "configure" |
10274 |
#include "confdefs.h" |
10275 |
$ac_includes_default |
10276 |
#ifdef F77_DUMMY_MAIN |
10277 |
# ifdef __cplusplus |
10278 |
extern "C" |
10279 |
# endif |
10280 |
int F77_DUMMY_MAIN() { return 1; } |
10281 |
#endif |
10282 |
int |
10283 |
main () |
10284 |
{ |
10285 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= 0)]; |
10286 |
test_array [0] = 0 |
10287 |
|
10288 |
; |
10289 |
return 0; |
10290 |
} |
10291 |
_ACEOF |
10292 |
rm -f conftest.$ac_objext |
10293 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10294 |
(eval $ac_compile) 2>&5 |
10295 |
ac_status=$? |
10296 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10297 |
(exit $ac_status); } && |
10298 |
{ ac_try='test -s conftest.$ac_objext' |
10299 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10300 |
(eval $ac_try) 2>&5 |
10301 |
ac_status=$? |
10302 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10303 |
(exit $ac_status); }; }; then |
10304 |
ac_lo=0 ac_mid=0 |
10305 |
while :; do |
10306 |
cat >conftest.$ac_ext <<_ACEOF |
10307 |
#line $LINENO "configure" |
10308 |
#include "confdefs.h" |
10309 |
$ac_includes_default |
10310 |
#ifdef F77_DUMMY_MAIN |
10311 |
# ifdef __cplusplus |
10312 |
extern "C" |
10313 |
# endif |
10314 |
int F77_DUMMY_MAIN() { return 1; } |
10315 |
#endif |
10316 |
int |
10317 |
main () |
10318 |
{ |
10319 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; |
10320 |
test_array [0] = 0 |
10321 |
|
10322 |
; |
10323 |
return 0; |
10324 |
} |
10325 |
_ACEOF |
10326 |
rm -f conftest.$ac_objext |
10327 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10328 |
(eval $ac_compile) 2>&5 |
10329 |
ac_status=$? |
10330 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10331 |
(exit $ac_status); } && |
10332 |
{ ac_try='test -s conftest.$ac_objext' |
10333 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10334 |
(eval $ac_try) 2>&5 |
10335 |
ac_status=$? |
10336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10337 |
(exit $ac_status); }; }; then |
10338 |
ac_hi=$ac_mid; break |
10339 |
else |
10340 |
echo "$as_me: failed program was:" >&5 |
10341 |
cat conftest.$ac_ext >&5 |
10342 |
ac_lo=`expr $ac_mid + 1` |
10343 |
if test $ac_lo -le $ac_mid; then |
10344 |
ac_lo= ac_hi= |
10345 |
break |
10346 |
fi |
10347 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
10348 |
fi |
10349 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10350 |
done |
10351 |
else |
10352 |
echo "$as_me: failed program was:" >&5 |
10353 |
cat conftest.$ac_ext >&5 |
10354 |
cat >conftest.$ac_ext <<_ACEOF |
10355 |
#line $LINENO "configure" |
10356 |
#include "confdefs.h" |
10357 |
$ac_includes_default |
10358 |
#ifdef F77_DUMMY_MAIN |
10359 |
# ifdef __cplusplus |
10360 |
extern "C" |
10361 |
# endif |
10362 |
int F77_DUMMY_MAIN() { return 1; } |
10363 |
#endif |
10364 |
int |
10365 |
main () |
10366 |
{ |
10367 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) < 0)]; |
10368 |
test_array [0] = 0 |
10369 |
|
10370 |
; |
10371 |
return 0; |
10372 |
} |
10373 |
_ACEOF |
10374 |
rm -f conftest.$ac_objext |
10375 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10376 |
(eval $ac_compile) 2>&5 |
10377 |
ac_status=$? |
10378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10379 |
(exit $ac_status); } && |
10380 |
{ ac_try='test -s conftest.$ac_objext' |
10381 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10382 |
(eval $ac_try) 2>&5 |
10383 |
ac_status=$? |
10384 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10385 |
(exit $ac_status); }; }; then |
10386 |
ac_hi=-1 ac_mid=-1 |
10387 |
while :; do |
10388 |
cat >conftest.$ac_ext <<_ACEOF |
10389 |
#line $LINENO "configure" |
10390 |
#include "confdefs.h" |
10391 |
$ac_includes_default |
10392 |
#ifdef F77_DUMMY_MAIN |
10393 |
# ifdef __cplusplus |
10394 |
extern "C" |
10395 |
# endif |
10396 |
int F77_DUMMY_MAIN() { return 1; } |
10397 |
#endif |
10398 |
int |
10399 |
main () |
10400 |
{ |
10401 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) >= $ac_mid)]; |
10402 |
test_array [0] = 0 |
10403 |
|
10404 |
; |
10405 |
return 0; |
10406 |
} |
10407 |
_ACEOF |
10408 |
rm -f conftest.$ac_objext |
10409 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10410 |
(eval $ac_compile) 2>&5 |
10411 |
ac_status=$? |
10412 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10413 |
(exit $ac_status); } && |
10414 |
{ ac_try='test -s conftest.$ac_objext' |
10415 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10416 |
(eval $ac_try) 2>&5 |
10417 |
ac_status=$? |
10418 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10419 |
(exit $ac_status); }; }; then |
10420 |
ac_lo=$ac_mid; break |
10421 |
else |
10422 |
echo "$as_me: failed program was:" >&5 |
10423 |
cat conftest.$ac_ext >&5 |
10424 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
10425 |
if test $ac_mid -le $ac_hi; then |
10426 |
ac_lo= ac_hi= |
10427 |
break |
10428 |
fi |
10429 |
ac_mid=`expr 2 '*' $ac_mid` |
10430 |
fi |
10431 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10432 |
done |
10433 |
else |
10434 |
echo "$as_me: failed program was:" >&5 |
10435 |
cat conftest.$ac_ext >&5 |
10436 |
ac_lo= ac_hi= |
10437 |
fi |
10438 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10439 |
fi |
10440 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10441 |
# Binary search between lo and hi bounds. |
10442 |
while test "x$ac_lo" != "x$ac_hi"; do |
10443 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10444 |
cat >conftest.$ac_ext <<_ACEOF |
10445 |
#line $LINENO "configure" |
10446 |
#include "confdefs.h" |
10447 |
$ac_includes_default |
10448 |
#ifdef F77_DUMMY_MAIN |
10449 |
# ifdef __cplusplus |
10450 |
extern "C" |
10451 |
# endif |
10452 |
int F77_DUMMY_MAIN() { return 1; } |
10453 |
#endif |
10454 |
int |
10455 |
main () |
10456 |
{ |
10457 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long long))) <= $ac_mid)]; |
10458 |
test_array [0] = 0 |
10459 |
|
10460 |
; |
10461 |
return 0; |
10462 |
} |
10463 |
_ACEOF |
10464 |
rm -f conftest.$ac_objext |
10465 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10466 |
(eval $ac_compile) 2>&5 |
10467 |
ac_status=$? |
10468 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10469 |
(exit $ac_status); } && |
10470 |
{ ac_try='test -s conftest.$ac_objext' |
10471 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10472 |
(eval $ac_try) 2>&5 |
10473 |
ac_status=$? |
10474 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10475 |
(exit $ac_status); }; }; then |
10476 |
ac_hi=$ac_mid |
10477 |
else |
10478 |
echo "$as_me: failed program was:" >&5 |
10479 |
cat conftest.$ac_ext >&5 |
10480 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
10481 |
fi |
10482 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10483 |
done |
10484 |
case $ac_lo in |
10485 |
?*) ac_cv_sizeof_unsigned_long_long=$ac_lo;; |
10486 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77" >&5 |
10487 |
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77" >&2;} |
10488 |
{ (exit 1); exit 1; }; } ;; |
10489 |
esac |
10490 |
else |
10491 |
if test "$cross_compiling" = yes; then |
10492 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
10493 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
10494 |
{ (exit 1); exit 1; }; } |
10495 |
else |
10496 |
cat >conftest.$ac_ext <<_ACEOF |
10497 |
#line $LINENO "configure" |
10498 |
#include "confdefs.h" |
10499 |
$ac_includes_default |
10500 |
long longval () { return (long) (sizeof (unsigned long long)); } |
10501 |
unsigned long ulongval () { return (long) (sizeof (unsigned long long)); } |
10502 |
#include <stdio.h> |
10503 |
#include <stdlib.h> |
10504 |
#ifdef F77_DUMMY_MAIN |
10505 |
# ifdef __cplusplus |
10506 |
extern "C" |
10507 |
# endif |
10508 |
int F77_DUMMY_MAIN() { return 1; } |
10509 |
#endif |
10510 |
int |
10511 |
main () |
10512 |
{ |
10513 |
|
10514 |
FILE *f = fopen ("conftest.val", "w"); |
10515 |
if (! f) |
10516 |
exit (1); |
10517 |
if (((long) (sizeof (unsigned long long))) < 0) |
10518 |
{ |
10519 |
long i = longval (); |
10520 |
if (i != ((long) (sizeof (unsigned long long)))) |
10521 |
exit (1); |
10522 |
fprintf (f, "%ld\n", i); |
10523 |
} |
10524 |
else |
10525 |
{ |
10526 |
unsigned long i = ulongval (); |
10527 |
if (i != ((long) (sizeof (unsigned long long)))) |
10528 |
exit (1); |
10529 |
fprintf (f, "%lu\n", i); |
10530 |
} |
10531 |
exit (ferror (f) || fclose (f) != 0); |
10532 |
|
10533 |
; |
10534 |
return 0; |
10535 |
} |
10536 |
_ACEOF |
10537 |
rm -f conftest$ac_exeext |
10538 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10539 |
(eval $ac_link) 2>&5 |
10540 |
ac_status=$? |
10541 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10542 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10543 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10544 |
(eval $ac_try) 2>&5 |
10545 |
ac_status=$? |
10546 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10547 |
(exit $ac_status); }; }; then |
10548 |
ac_cv_sizeof_unsigned_long_long=`cat conftest.val` |
10549 |
else |
10550 |
echo "$as_me: program exited with status $ac_status" >&5 |
10551 |
echo "$as_me: failed program was:" >&5 |
10552 |
cat conftest.$ac_ext >&5 |
10553 |
( exit $ac_status ) |
10554 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long long), 77" >&5 |
10555 |
echo "$as_me: error: cannot compute sizeof (unsigned long long), 77" >&2;} |
10556 |
{ (exit 1); exit 1; }; } |
10557 |
fi |
10558 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10559 |
fi |
10560 |
fi |
10561 |
rm -f conftest.val |
10562 |
else |
10563 |
ac_cv_sizeof_unsigned_long_long=0 |
10564 |
fi |
10565 |
fi |
10566 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long_long" >&5 |
10567 |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long_long" >&6 |
10568 |
cat >>confdefs.h <<_ACEOF |
10569 |
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long |
10570 |
_ACEOF |
10571 |
|
10572 |
|
10573 |
fi |
10574 |
echo "$as_me:$LINENO: checking for unsigned short" >&5 |
10575 |
echo $ECHO_N "checking for unsigned short... $ECHO_C" >&6 |
10576 |
if test "${ac_cv_type_unsigned_short+set}" = set; then |
10577 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10578 |
else |
10579 |
cat >conftest.$ac_ext <<_ACEOF |
10580 |
#line $LINENO "configure" |
10581 |
#include "confdefs.h" |
10582 |
$ac_includes_default |
10583 |
#ifdef F77_DUMMY_MAIN |
10584 |
# ifdef __cplusplus |
10585 |
extern "C" |
10586 |
# endif |
10587 |
int F77_DUMMY_MAIN() { return 1; } |
10588 |
#endif |
10589 |
int |
10590 |
main () |
10591 |
{ |
10592 |
if ((unsigned short *) 0) |
10593 |
return 0; |
10594 |
if (sizeof (unsigned short)) |
10595 |
return 0; |
10596 |
; |
10597 |
return 0; |
10598 |
} |
10599 |
_ACEOF |
10600 |
rm -f conftest.$ac_objext |
10601 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10602 |
(eval $ac_compile) 2>&5 |
10603 |
ac_status=$? |
10604 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10605 |
(exit $ac_status); } && |
10606 |
{ ac_try='test -s conftest.$ac_objext' |
10607 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10608 |
(eval $ac_try) 2>&5 |
10609 |
ac_status=$? |
10610 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10611 |
(exit $ac_status); }; }; then |
10612 |
ac_cv_type_unsigned_short=yes |
10613 |
else |
10614 |
echo "$as_me: failed program was:" >&5 |
10615 |
cat conftest.$ac_ext >&5 |
10616 |
ac_cv_type_unsigned_short=no |
10617 |
fi |
10618 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10619 |
fi |
10620 |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_short" >&5 |
10621 |
echo "${ECHO_T}$ac_cv_type_unsigned_short" >&6 |
10622 |
|
10623 |
echo "$as_me:$LINENO: checking size of unsigned short" >&5 |
10624 |
echo $ECHO_N "checking size of unsigned short... $ECHO_C" >&6 |
10625 |
if test "${ac_cv_sizeof_unsigned_short+set}" = set; then |
10626 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10627 |
else |
10628 |
if test "$ac_cv_type_unsigned_short" = yes; then |
10629 |
# The cast to unsigned long works around a bug in the HP C Compiler |
10630 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
10631 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
10632 |
# This bug is HP SR number 8606223364. |
10633 |
if test "$cross_compiling" = yes; then |
10634 |
# Depending upon the size, compute the lo and hi bounds. |
10635 |
cat >conftest.$ac_ext <<_ACEOF |
10636 |
#line $LINENO "configure" |
10637 |
#include "confdefs.h" |
10638 |
$ac_includes_default |
10639 |
#ifdef F77_DUMMY_MAIN |
10640 |
# ifdef __cplusplus |
10641 |
extern "C" |
10642 |
# endif |
10643 |
int F77_DUMMY_MAIN() { return 1; } |
10644 |
#endif |
10645 |
int |
10646 |
main () |
10647 |
{ |
10648 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= 0)]; |
10649 |
test_array [0] = 0 |
10650 |
|
10651 |
; |
10652 |
return 0; |
10653 |
} |
10654 |
_ACEOF |
10655 |
rm -f conftest.$ac_objext |
10656 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10657 |
(eval $ac_compile) 2>&5 |
10658 |
ac_status=$? |
10659 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10660 |
(exit $ac_status); } && |
10661 |
{ ac_try='test -s conftest.$ac_objext' |
10662 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10663 |
(eval $ac_try) 2>&5 |
10664 |
ac_status=$? |
10665 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10666 |
(exit $ac_status); }; }; then |
10667 |
ac_lo=0 ac_mid=0 |
10668 |
while :; do |
10669 |
cat >conftest.$ac_ext <<_ACEOF |
10670 |
#line $LINENO "configure" |
10671 |
#include "confdefs.h" |
10672 |
$ac_includes_default |
10673 |
#ifdef F77_DUMMY_MAIN |
10674 |
# ifdef __cplusplus |
10675 |
extern "C" |
10676 |
# endif |
10677 |
int F77_DUMMY_MAIN() { return 1; } |
10678 |
#endif |
10679 |
int |
10680 |
main () |
10681 |
{ |
10682 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)]; |
10683 |
test_array [0] = 0 |
10684 |
|
10685 |
; |
10686 |
return 0; |
10687 |
} |
10688 |
_ACEOF |
10689 |
rm -f conftest.$ac_objext |
10690 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10691 |
(eval $ac_compile) 2>&5 |
10692 |
ac_status=$? |
10693 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10694 |
(exit $ac_status); } && |
10695 |
{ ac_try='test -s conftest.$ac_objext' |
10696 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10697 |
(eval $ac_try) 2>&5 |
10698 |
ac_status=$? |
10699 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10700 |
(exit $ac_status); }; }; then |
10701 |
ac_hi=$ac_mid; break |
10702 |
else |
10703 |
echo "$as_me: failed program was:" >&5 |
10704 |
cat conftest.$ac_ext >&5 |
10705 |
ac_lo=`expr $ac_mid + 1` |
10706 |
if test $ac_lo -le $ac_mid; then |
10707 |
ac_lo= ac_hi= |
10708 |
break |
10709 |
fi |
10710 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
10711 |
fi |
10712 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10713 |
done |
10714 |
else |
10715 |
echo "$as_me: failed program was:" >&5 |
10716 |
cat conftest.$ac_ext >&5 |
10717 |
cat >conftest.$ac_ext <<_ACEOF |
10718 |
#line $LINENO "configure" |
10719 |
#include "confdefs.h" |
10720 |
$ac_includes_default |
10721 |
#ifdef F77_DUMMY_MAIN |
10722 |
# ifdef __cplusplus |
10723 |
extern "C" |
10724 |
# endif |
10725 |
int F77_DUMMY_MAIN() { return 1; } |
10726 |
#endif |
10727 |
int |
10728 |
main () |
10729 |
{ |
10730 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) < 0)]; |
10731 |
test_array [0] = 0 |
10732 |
|
10733 |
; |
10734 |
return 0; |
10735 |
} |
10736 |
_ACEOF |
10737 |
rm -f conftest.$ac_objext |
10738 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10739 |
(eval $ac_compile) 2>&5 |
10740 |
ac_status=$? |
10741 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10742 |
(exit $ac_status); } && |
10743 |
{ ac_try='test -s conftest.$ac_objext' |
10744 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10745 |
(eval $ac_try) 2>&5 |
10746 |
ac_status=$? |
10747 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10748 |
(exit $ac_status); }; }; then |
10749 |
ac_hi=-1 ac_mid=-1 |
10750 |
while :; do |
10751 |
cat >conftest.$ac_ext <<_ACEOF |
10752 |
#line $LINENO "configure" |
10753 |
#include "confdefs.h" |
10754 |
$ac_includes_default |
10755 |
#ifdef F77_DUMMY_MAIN |
10756 |
# ifdef __cplusplus |
10757 |
extern "C" |
10758 |
# endif |
10759 |
int F77_DUMMY_MAIN() { return 1; } |
10760 |
#endif |
10761 |
int |
10762 |
main () |
10763 |
{ |
10764 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) >= $ac_mid)]; |
10765 |
test_array [0] = 0 |
10766 |
|
10767 |
; |
10768 |
return 0; |
10769 |
} |
10770 |
_ACEOF |
10771 |
rm -f conftest.$ac_objext |
10772 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10773 |
(eval $ac_compile) 2>&5 |
10774 |
ac_status=$? |
10775 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10776 |
(exit $ac_status); } && |
10777 |
{ ac_try='test -s conftest.$ac_objext' |
10778 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10779 |
(eval $ac_try) 2>&5 |
10780 |
ac_status=$? |
10781 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10782 |
(exit $ac_status); }; }; then |
10783 |
ac_lo=$ac_mid; break |
10784 |
else |
10785 |
echo "$as_me: failed program was:" >&5 |
10786 |
cat conftest.$ac_ext >&5 |
10787 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
10788 |
if test $ac_mid -le $ac_hi; then |
10789 |
ac_lo= ac_hi= |
10790 |
break |
10791 |
fi |
10792 |
ac_mid=`expr 2 '*' $ac_mid` |
10793 |
fi |
10794 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10795 |
done |
10796 |
else |
10797 |
echo "$as_me: failed program was:" >&5 |
10798 |
cat conftest.$ac_ext >&5 |
10799 |
ac_lo= ac_hi= |
10800 |
fi |
10801 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10802 |
fi |
10803 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10804 |
# Binary search between lo and hi bounds. |
10805 |
while test "x$ac_lo" != "x$ac_hi"; do |
10806 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
10807 |
cat >conftest.$ac_ext <<_ACEOF |
10808 |
#line $LINENO "configure" |
10809 |
#include "confdefs.h" |
10810 |
$ac_includes_default |
10811 |
#ifdef F77_DUMMY_MAIN |
10812 |
# ifdef __cplusplus |
10813 |
extern "C" |
10814 |
# endif |
10815 |
int F77_DUMMY_MAIN() { return 1; } |
10816 |
#endif |
10817 |
int |
10818 |
main () |
10819 |
{ |
10820 |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned short))) <= $ac_mid)]; |
10821 |
test_array [0] = 0 |
10822 |
|
10823 |
; |
10824 |
return 0; |
10825 |
} |
10826 |
_ACEOF |
10827 |
rm -f conftest.$ac_objext |
10828 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10829 |
(eval $ac_compile) 2>&5 |
10830 |
ac_status=$? |
10831 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10832 |
(exit $ac_status); } && |
10833 |
{ ac_try='test -s conftest.$ac_objext' |
10834 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10835 |
(eval $ac_try) 2>&5 |
10836 |
ac_status=$? |
10837 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10838 |
(exit $ac_status); }; }; then |
10839 |
ac_hi=$ac_mid |
10840 |
else |
10841 |
echo "$as_me: failed program was:" >&5 |
10842 |
cat conftest.$ac_ext >&5 |
10843 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
10844 |
fi |
10845 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10846 |
done |
10847 |
case $ac_lo in |
10848 |
?*) ac_cv_sizeof_unsigned_short=$ac_lo;; |
10849 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5 |
10850 |
echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;} |
10851 |
{ (exit 1); exit 1; }; } ;; |
10852 |
esac |
10853 |
else |
10854 |
if test "$cross_compiling" = yes; then |
10855 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
10856 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
10857 |
{ (exit 1); exit 1; }; } |
10858 |
else |
10859 |
cat >conftest.$ac_ext <<_ACEOF |
10860 |
#line $LINENO "configure" |
10861 |
#include "confdefs.h" |
10862 |
$ac_includes_default |
10863 |
long longval () { return (long) (sizeof (unsigned short)); } |
10864 |
unsigned long ulongval () { return (long) (sizeof (unsigned short)); } |
10865 |
#include <stdio.h> |
10866 |
#include <stdlib.h> |
10867 |
#ifdef F77_DUMMY_MAIN |
10868 |
# ifdef __cplusplus |
10869 |
extern "C" |
10870 |
# endif |
10871 |
int F77_DUMMY_MAIN() { return 1; } |
10872 |
#endif |
10873 |
int |
10874 |
main () |
10875 |
{ |
10876 |
|
10877 |
FILE *f = fopen ("conftest.val", "w"); |
10878 |
if (! f) |
10879 |
exit (1); |
10880 |
if (((long) (sizeof (unsigned short))) < 0) |
10881 |
{ |
10882 |
long i = longval (); |
10883 |
if (i != ((long) (sizeof (unsigned short)))) |
10884 |
exit (1); |
10885 |
fprintf (f, "%ld\n", i); |
10886 |
} |
10887 |
else |
10888 |
{ |
10889 |
unsigned long i = ulongval (); |
10890 |
if (i != ((long) (sizeof (unsigned short)))) |
10891 |
exit (1); |
10892 |
fprintf (f, "%lu\n", i); |
10893 |
} |
10894 |
exit (ferror (f) || fclose (f) != 0); |
10895 |
|
10896 |
; |
10897 |
return 0; |
10898 |
} |
10899 |
_ACEOF |
10900 |
rm -f conftest$ac_exeext |
10901 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10902 |
(eval $ac_link) 2>&5 |
10903 |
ac_status=$? |
10904 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10905 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
10906 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10907 |
(eval $ac_try) 2>&5 |
10908 |
ac_status=$? |
10909 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10910 |
(exit $ac_status); }; }; then |
10911 |
ac_cv_sizeof_unsigned_short=`cat conftest.val` |
10912 |
else |
10913 |
echo "$as_me: program exited with status $ac_status" >&5 |
10914 |
echo "$as_me: failed program was:" >&5 |
10915 |
cat conftest.$ac_ext >&5 |
10916 |
( exit $ac_status ) |
10917 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned short), 77" >&5 |
10918 |
echo "$as_me: error: cannot compute sizeof (unsigned short), 77" >&2;} |
10919 |
{ (exit 1); exit 1; }; } |
10920 |
fi |
10921 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
10922 |
fi |
4164 |
fi |
10923 |
fi |
4165 |
echo "$ac_t""$ac_cv_sizeof_unsigned_long" 1>&6 |
10924 |
rm -f conftest.val |
4166 |
cat >> confdefs.h <<EOF |
10925 |
else |
4167 |
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long |
10926 |
ac_cv_sizeof_unsigned_short=0 |
4168 |
EOF |
10927 |
fi |
|
|
10928 |
fi |
10929 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_short" >&5 |
10930 |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_short" >&6 |
10931 |
cat >>confdefs.h <<_ACEOF |
10932 |
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short |
10933 |
_ACEOF |
4169 |
|
10934 |
|
4170 |
|
10935 |
|
4171 |
if test "$fptools_cv_have_long_long" = yes; then |
10936 |
echo "$as_me:$LINENO: checking for void *" >&5 |
4172 |
echo $ac_n "checking size of unsigned long long""... $ac_c" 1>&6 |
10937 |
echo $ECHO_N "checking for void *... $ECHO_C" >&6 |
4173 |
echo "configure:4174: checking size of unsigned long long" >&5 |
10938 |
if test "${ac_cv_type_void_p+set}" = set; then |
4174 |
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then |
10939 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4175 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
4176 |
else |
4177 |
if test "$cross_compiling" = yes; then |
4178 |
ac_cv_sizeof_unsigned_long_long=8 |
4179 |
else |
10940 |
else |
4180 |
cat > conftest.$ac_ext <<EOF |
10941 |
cat >conftest.$ac_ext <<_ACEOF |
4181 |
#line 4182 "configure" |
10942 |
#line $LINENO "configure" |
4182 |
#include "confdefs.h" |
10943 |
#include "confdefs.h" |
4183 |
#include <stdio.h> |
10944 |
$ac_includes_default |
4184 |
int main() |
10945 |
#ifdef F77_DUMMY_MAIN |
|
|
10946 |
# ifdef __cplusplus |
10947 |
extern "C" |
10948 |
# endif |
10949 |
int F77_DUMMY_MAIN() { return 1; } |
10950 |
#endif |
10951 |
int |
10952 |
main () |
4185 |
{ |
10953 |
{ |
4186 |
FILE *f=fopen("conftestval", "w"); |
10954 |
if ((void * *) 0) |
4187 |
if (!f) return(1); |
10955 |
return 0; |
4188 |
fprintf(f, "%d\n", sizeof(unsigned long long)); |
10956 |
if (sizeof (void *)) |
4189 |
return(0); |
10957 |
return 0; |
|
|
10958 |
; |
10959 |
return 0; |
10960 |
} |
10961 |
_ACEOF |
10962 |
rm -f conftest.$ac_objext |
10963 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
10964 |
(eval $ac_compile) 2>&5 |
10965 |
ac_status=$? |
10966 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10967 |
(exit $ac_status); } && |
10968 |
{ ac_try='test -s conftest.$ac_objext' |
10969 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10970 |
(eval $ac_try) 2>&5 |
10971 |
ac_status=$? |
10972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10973 |
(exit $ac_status); }; }; then |
10974 |
ac_cv_type_void_p=yes |
10975 |
else |
10976 |
echo "$as_me: failed program was:" >&5 |
10977 |
cat conftest.$ac_ext >&5 |
10978 |
ac_cv_type_void_p=no |
10979 |
fi |
10980 |
rm -f conftest.$ac_objext conftest.$ac_ext |
10981 |
fi |
10982 |
echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 |
10983 |
echo "${ECHO_T}$ac_cv_type_void_p" >&6 |
10984 |
|
10985 |
echo "$as_me:$LINENO: checking size of void *" >&5 |
10986 |
echo $ECHO_N "checking size of void *... $ECHO_C" >&6 |
10987 |
if test "${ac_cv_sizeof_void_p+set}" = set; then |
10988 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10989 |
else |
10990 |
if test "$ac_cv_type_void_p" = yes; then |
10991 |
# The cast to unsigned long works around a bug in the HP C Compiler |
10992 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
10993 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
10994 |
# This bug is HP SR number 8606223364. |
10995 |
if test "$cross_compiling" = yes; then |
10996 |
# Depending upon the size, compute the lo and hi bounds. |
10997 |
cat >conftest.$ac_ext <<_ACEOF |
10998 |
#line $LINENO "configure" |
10999 |
#include "confdefs.h" |
11000 |
$ac_includes_default |
11001 |
#ifdef F77_DUMMY_MAIN |
11002 |
# ifdef __cplusplus |
11003 |
extern "C" |
11004 |
# endif |
11005 |
int F77_DUMMY_MAIN() { return 1; } |
11006 |
#endif |
11007 |
int |
11008 |
main () |
11009 |
{ |
11010 |
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)]; |
11011 |
test_array [0] = 0 |
11012 |
|
11013 |
; |
11014 |
return 0; |
4190 |
} |
11015 |
} |
4191 |
EOF |
11016 |
_ACEOF |
4192 |
if { (eval echo configure:4193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11017 |
rm -f conftest.$ac_objext |
4193 |
then |
11018 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4194 |
ac_cv_sizeof_unsigned_long_long=`cat conftestval` |
11019 |
(eval $ac_compile) 2>&5 |
4195 |
else |
11020 |
ac_status=$? |
4196 |
echo "configure: failed program was:" >&5 |
11021 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4197 |
cat conftest.$ac_ext >&5 |
11022 |
(exit $ac_status); } && |
4198 |
rm -fr conftest* |
11023 |
{ ac_try='test -s conftest.$ac_objext' |
4199 |
ac_cv_sizeof_unsigned_long_long=0 |
11024 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4200 |
fi |
11025 |
(eval $ac_try) 2>&5 |
4201 |
rm -fr conftest* |
11026 |
ac_status=$? |
4202 |
fi |
11027 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
11028 |
(exit $ac_status); }; }; then |
11029 |
ac_lo=0 ac_mid=0 |
11030 |
while :; do |
11031 |
cat >conftest.$ac_ext <<_ACEOF |
11032 |
#line $LINENO "configure" |
11033 |
#include "confdefs.h" |
11034 |
$ac_includes_default |
11035 |
#ifdef F77_DUMMY_MAIN |
11036 |
# ifdef __cplusplus |
11037 |
extern "C" |
11038 |
# endif |
11039 |
int F77_DUMMY_MAIN() { return 1; } |
11040 |
#endif |
11041 |
int |
11042 |
main () |
11043 |
{ |
11044 |
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; |
11045 |
test_array [0] = 0 |
4203 |
|
11046 |
|
|
|
11047 |
; |
11048 |
return 0; |
11049 |
} |
11050 |
_ACEOF |
11051 |
rm -f conftest.$ac_objext |
11052 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11053 |
(eval $ac_compile) 2>&5 |
11054 |
ac_status=$? |
11055 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11056 |
(exit $ac_status); } && |
11057 |
{ ac_try='test -s conftest.$ac_objext' |
11058 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11059 |
(eval $ac_try) 2>&5 |
11060 |
ac_status=$? |
11061 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11062 |
(exit $ac_status); }; }; then |
11063 |
ac_hi=$ac_mid; break |
11064 |
else |
11065 |
echo "$as_me: failed program was:" >&5 |
11066 |
cat conftest.$ac_ext >&5 |
11067 |
ac_lo=`expr $ac_mid + 1` |
11068 |
if test $ac_lo -le $ac_mid; then |
11069 |
ac_lo= ac_hi= |
11070 |
break |
11071 |
fi |
11072 |
ac_mid=`expr 2 '*' $ac_mid + 1` |
4204 |
fi |
11073 |
fi |
4205 |
echo "$ac_t""$ac_cv_sizeof_unsigned_long_long" 1>&6 |
11074 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4206 |
cat >> confdefs.h <<EOF |
11075 |
done |
4207 |
#define SIZEOF_UNSIGNED_LONG_LONG $ac_cv_sizeof_unsigned_long_long |
11076 |
else |
4208 |
EOF |
11077 |
echo "$as_me: failed program was:" >&5 |
|
|
11078 |
cat conftest.$ac_ext >&5 |
11079 |
cat >conftest.$ac_ext <<_ACEOF |
11080 |
#line $LINENO "configure" |
11081 |
#include "confdefs.h" |
11082 |
$ac_includes_default |
11083 |
#ifdef F77_DUMMY_MAIN |
11084 |
# ifdef __cplusplus |
11085 |
extern "C" |
11086 |
# endif |
11087 |
int F77_DUMMY_MAIN() { return 1; } |
11088 |
#endif |
11089 |
int |
11090 |
main () |
11091 |
{ |
11092 |
static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)]; |
11093 |
test_array [0] = 0 |
4209 |
|
11094 |
|
|
|
11095 |
; |
11096 |
return 0; |
11097 |
} |
11098 |
_ACEOF |
11099 |
rm -f conftest.$ac_objext |
11100 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11101 |
(eval $ac_compile) 2>&5 |
11102 |
ac_status=$? |
11103 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11104 |
(exit $ac_status); } && |
11105 |
{ ac_try='test -s conftest.$ac_objext' |
11106 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11107 |
(eval $ac_try) 2>&5 |
11108 |
ac_status=$? |
11109 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11110 |
(exit $ac_status); }; }; then |
11111 |
ac_hi=-1 ac_mid=-1 |
11112 |
while :; do |
11113 |
cat >conftest.$ac_ext <<_ACEOF |
11114 |
#line $LINENO "configure" |
11115 |
#include "confdefs.h" |
11116 |
$ac_includes_default |
11117 |
#ifdef F77_DUMMY_MAIN |
11118 |
# ifdef __cplusplus |
11119 |
extern "C" |
11120 |
# endif |
11121 |
int F77_DUMMY_MAIN() { return 1; } |
11122 |
#endif |
11123 |
int |
11124 |
main () |
11125 |
{ |
11126 |
static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)]; |
11127 |
test_array [0] = 0 |
4210 |
|
11128 |
|
|
|
11129 |
; |
11130 |
return 0; |
11131 |
} |
11132 |
_ACEOF |
11133 |
rm -f conftest.$ac_objext |
11134 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11135 |
(eval $ac_compile) 2>&5 |
11136 |
ac_status=$? |
11137 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11138 |
(exit $ac_status); } && |
11139 |
{ ac_try='test -s conftest.$ac_objext' |
11140 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11141 |
(eval $ac_try) 2>&5 |
11142 |
ac_status=$? |
11143 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11144 |
(exit $ac_status); }; }; then |
11145 |
ac_lo=$ac_mid; break |
11146 |
else |
11147 |
echo "$as_me: failed program was:" >&5 |
11148 |
cat conftest.$ac_ext >&5 |
11149 |
ac_hi=`expr '(' $ac_mid ')' - 1` |
11150 |
if test $ac_mid -le $ac_hi; then |
11151 |
ac_lo= ac_hi= |
11152 |
break |
11153 |
fi |
11154 |
ac_mid=`expr 2 '*' $ac_mid` |
4211 |
fi |
11155 |
fi |
4212 |
echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6 |
11156 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4213 |
echo "configure:4214: checking size of unsigned short" >&5 |
11157 |
done |
4214 |
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then |
|
|
4215 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4216 |
else |
4217 |
if test "$cross_compiling" = yes; then |
4218 |
ac_cv_sizeof_unsigned_short=2 |
4219 |
else |
11158 |
else |
4220 |
cat > conftest.$ac_ext <<EOF |
11159 |
echo "$as_me: failed program was:" >&5 |
4221 |
#line 4222 "configure" |
11160 |
cat conftest.$ac_ext >&5 |
4222 |
#include "confdefs.h" |
11161 |
ac_lo= ac_hi= |
4223 |
#include <stdio.h> |
11162 |
fi |
4224 |
int main() |
11163 |
rm -f conftest.$ac_objext conftest.$ac_ext |
|
|
11164 |
fi |
11165 |
rm -f conftest.$ac_objext conftest.$ac_ext |
11166 |
# Binary search between lo and hi bounds. |
11167 |
while test "x$ac_lo" != "x$ac_hi"; do |
11168 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
11169 |
cat >conftest.$ac_ext <<_ACEOF |
11170 |
#line $LINENO "configure" |
11171 |
#include "confdefs.h" |
11172 |
$ac_includes_default |
11173 |
#ifdef F77_DUMMY_MAIN |
11174 |
# ifdef __cplusplus |
11175 |
extern "C" |
11176 |
# endif |
11177 |
int F77_DUMMY_MAIN() { return 1; } |
11178 |
#endif |
11179 |
int |
11180 |
main () |
4225 |
{ |
11181 |
{ |
4226 |
FILE *f=fopen("conftestval", "w"); |
11182 |
static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)]; |
4227 |
if (!f) return(1); |
11183 |
test_array [0] = 0 |
4228 |
fprintf(f, "%d\n", sizeof(unsigned short)); |
|
|
4229 |
return(0); |
4230 |
} |
4231 |
EOF |
4232 |
if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4233 |
then |
4234 |
ac_cv_sizeof_unsigned_short=`cat conftestval` |
4235 |
else |
4236 |
echo "configure: failed program was:" >&5 |
4237 |
cat conftest.$ac_ext >&5 |
4238 |
rm -fr conftest* |
4239 |
ac_cv_sizeof_unsigned_short=0 |
4240 |
fi |
4241 |
rm -fr conftest* |
4242 |
fi |
4243 |
|
11184 |
|
|
|
11185 |
; |
11186 |
return 0; |
11187 |
} |
11188 |
_ACEOF |
11189 |
rm -f conftest.$ac_objext |
11190 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
11191 |
(eval $ac_compile) 2>&5 |
11192 |
ac_status=$? |
11193 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11194 |
(exit $ac_status); } && |
11195 |
{ ac_try='test -s conftest.$ac_objext' |
11196 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11197 |
(eval $ac_try) 2>&5 |
11198 |
ac_status=$? |
11199 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11200 |
(exit $ac_status); }; }; then |
11201 |
ac_hi=$ac_mid |
11202 |
else |
11203 |
echo "$as_me: failed program was:" >&5 |
11204 |
cat conftest.$ac_ext >&5 |
11205 |
ac_lo=`expr '(' $ac_mid ')' + 1` |
4244 |
fi |
11206 |
fi |
4245 |
echo "$ac_t""$ac_cv_sizeof_unsigned_short" 1>&6 |
11207 |
rm -f conftest.$ac_objext conftest.$ac_ext |
4246 |
cat >> confdefs.h <<EOF |
11208 |
done |
4247 |
#define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short |
11209 |
case $ac_lo in |
4248 |
EOF |
11210 |
?*) ac_cv_sizeof_void_p=$ac_lo;; |
4249 |
|
11211 |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5 |
4250 |
|
11212 |
echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;} |
4251 |
echo $ac_n "checking size of void *""... $ac_c" 1>&6 |
11213 |
{ (exit 1); exit 1; }; } ;; |
4252 |
echo "configure:4253: checking size of void *" >&5 |
11214 |
esac |
4253 |
if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then |
|
|
4254 |
echo $ac_n "(cached) $ac_c" 1>&6 |
4255 |
else |
11215 |
else |
4256 |
if test "$cross_compiling" = yes; then |
11216 |
if test "$cross_compiling" = yes; then |
4257 |
ac_cv_sizeof_void_p=4 |
11217 |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 |
4258 |
else |
11218 |
echo "$as_me: error: cannot run test program while cross compiling" >&2;} |
4259 |
cat > conftest.$ac_ext <<EOF |
11219 |
{ (exit 1); exit 1; }; } |
4260 |
#line 4261 "configure" |
11220 |
else |
4261 |
#include "confdefs.h" |
11221 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
11222 |
#line $LINENO "configure" |
11223 |
#include "confdefs.h" |
11224 |
$ac_includes_default |
11225 |
long longval () { return (long) (sizeof (void *)); } |
11226 |
unsigned long ulongval () { return (long) (sizeof (void *)); } |
4262 |
#include <stdio.h> |
11227 |
#include <stdio.h> |
4263 |
int main() |
11228 |
#include <stdlib.h> |
|
|
11229 |
#ifdef F77_DUMMY_MAIN |
11230 |
# ifdef __cplusplus |
11231 |
extern "C" |
11232 |
# endif |
11233 |
int F77_DUMMY_MAIN() { return 1; } |
11234 |
#endif |
11235 |
int |
11236 |
main () |
4264 |
{ |
11237 |
{ |
4265 |
FILE *f=fopen("conftestval", "w"); |
11238 |
|
4266 |
if (!f) return(1); |
11239 |
FILE *f = fopen ("conftest.val", "w"); |
4267 |
fprintf(f, "%d\n", sizeof(void *)); |
11240 |
if (! f) |
4268 |
return(0); |
11241 |
exit (1); |
|
|
11242 |
if (((long) (sizeof (void *))) < 0) |
11243 |
{ |
11244 |
long i = longval (); |
11245 |
if (i != ((long) (sizeof (void *)))) |
11246 |
exit (1); |
11247 |
fprintf (f, "%ld\n", i); |
11248 |
} |
11249 |
else |
11250 |
{ |
11251 |
unsigned long i = ulongval (); |
11252 |
if (i != ((long) (sizeof (void *)))) |
11253 |
exit (1); |
11254 |
fprintf (f, "%lu\n", i); |
11255 |
} |
11256 |
exit (ferror (f) || fclose (f) != 0); |
11257 |
|
11258 |
; |
11259 |
return 0; |
4269 |
} |
11260 |
} |
4270 |
EOF |
11261 |
_ACEOF |
4271 |
if { (eval echo configure:4272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11262 |
rm -f conftest$ac_exeext |
4272 |
then |
11263 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4273 |
ac_cv_sizeof_void_p=`cat conftestval` |
11264 |
(eval $ac_link) 2>&5 |
|
|
11265 |
ac_status=$? |
11266 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11267 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11268 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11269 |
(eval $ac_try) 2>&5 |
11270 |
ac_status=$? |
11271 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11272 |
(exit $ac_status); }; }; then |
11273 |
ac_cv_sizeof_void_p=`cat conftest.val` |
11274 |
else |
11275 |
echo "$as_me: program exited with status $ac_status" >&5 |
11276 |
echo "$as_me: failed program was:" >&5 |
11277 |
cat conftest.$ac_ext >&5 |
11278 |
( exit $ac_status ) |
11279 |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77" >&5 |
11280 |
echo "$as_me: error: cannot compute sizeof (void *), 77" >&2;} |
11281 |
{ (exit 1); exit 1; }; } |
11282 |
fi |
11283 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
11284 |
fi |
11285 |
fi |
11286 |
rm -f conftest.val |
4274 |
else |
11287 |
else |
4275 |
echo "configure: failed program was:" >&5 |
|
|
4276 |
cat conftest.$ac_ext >&5 |
4277 |
rm -fr conftest* |
4278 |
ac_cv_sizeof_void_p=0 |
11288 |
ac_cv_sizeof_void_p=0 |
4279 |
fi |
11289 |
fi |
4280 |
rm -fr conftest* |
|
|
4281 |
fi |
4282 |
|
4283 |
fi |
11290 |
fi |
4284 |
echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6 |
11291 |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 |
4285 |
cat >> confdefs.h <<EOF |
11292 |
echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6 |
|
|
11293 |
cat >>confdefs.h <<_ACEOF |
4286 |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
11294 |
#define SIZEOF_VOID_P $ac_cv_sizeof_void_p |
4287 |
EOF |
11295 |
_ACEOF |
4288 |
|
11296 |
|
4289 |
|
11297 |
|
4290 |
|
11298 |
|
4291 |
echo $ac_n "checking alignment of char""... $ac_c" 1>&6 |
11299 |
echo "$as_me:$LINENO: checking alignment of char" >&5 |
4292 |
echo "configure:4293: checking alignment of char" >&5 |
11300 |
echo $ECHO_N "checking alignment of char... $ECHO_C" >&6 |
4293 |
if eval "test \"`echo '$''{'ac_cv_alignment_char'+set}'`\" = set"; then |
11301 |
if test "${ac_cv_alignment_char+set}" = set; then |
4294 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11302 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4295 |
else |
11303 |
else |
4296 |
if test "$cross_compiling" = yes; then |
11304 |
if test "$cross_compiling" = yes; then |
4297 |
ac_cv_alignment_char=$ac_cv_sizeof_char |
11305 |
ac_cv_alignment_char=$ac_cv_sizeof_char |
4298 |
else |
11306 |
else |
4299 |
cat > conftest.$ac_ext <<EOF |
11307 |
cat >conftest.$ac_ext <<_ACEOF |
4300 |
#line 4301 "configure" |
11308 |
#line $LINENO "configure" |
4301 |
#include "confdefs.h" |
11309 |
#include "confdefs.h" |
4302 |
|
11310 |
|
4303 |
#include <stdio.h> |
11311 |
#include <stdio.h> |
Lines 4315-4352
Link Here
|
4315 |
fprintf(f, "%d", offsetof(struct { char c; char ty;},ty)); |
11323 |
fprintf(f, "%d", offsetof(struct { char c; char ty;},ty)); |
4316 |
exit(0); |
11324 |
exit(0); |
4317 |
} |
11325 |
} |
4318 |
EOF |
11326 |
_ACEOF |
4319 |
if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11327 |
rm -f conftest$ac_exeext |
4320 |
then |
11328 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11329 |
(eval $ac_link) 2>&5 |
11330 |
ac_status=$? |
11331 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11332 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11333 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11334 |
(eval $ac_try) 2>&5 |
11335 |
ac_status=$? |
11336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11337 |
(exit $ac_status); }; }; then |
4321 |
ac_cv_alignment_char=`cat conftestval` |
11338 |
ac_cv_alignment_char=`cat conftestval` |
4322 |
else |
11339 |
else |
4323 |
echo "configure: failed program was:" >&5 |
11340 |
echo "$as_me: program exited with status $ac_status" >&5 |
4324 |
cat conftest.$ac_ext >&5 |
11341 |
echo "$as_me: failed program was:" >&5 |
4325 |
rm -fr conftest* |
11342 |
cat conftest.$ac_ext >&5 |
4326 |
ac_cv_alignment_char=$ac_cv_sizeof_char |
11343 |
( exit $ac_status ) |
|
|
11344 |
ac_cv_alignment_char=$ac_cv_sizeof_char |
4327 |
fi |
11345 |
fi |
4328 |
rm -fr conftest* |
11346 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4329 |
fi |
11347 |
fi |
4330 |
|
|
|
4331 |
fi |
11348 |
fi |
4332 |
|
11349 |
|
4333 |
echo "$ac_t""$ac_cv_alignment_char" 1>&6 |
11350 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_char" >&5 |
4334 |
cat >> confdefs.h <<EOF |
11351 |
echo "${ECHO_T}$ac_cv_alignment_char" >&6 |
|
|
11352 |
cat >>confdefs.h <<_ACEOF |
4335 |
#define ALIGNMENT_CHAR $ac_cv_alignment_char |
11353 |
#define ALIGNMENT_CHAR $ac_cv_alignment_char |
4336 |
EOF |
11354 |
_ACEOF |
4337 |
|
11355 |
|
4338 |
|
11356 |
|
4339 |
|
11357 |
|
4340 |
echo $ac_n "checking alignment of double""... $ac_c" 1>&6 |
11358 |
echo "$as_me:$LINENO: checking alignment of double" >&5 |
4341 |
echo "configure:4342: checking alignment of double" >&5 |
11359 |
echo $ECHO_N "checking alignment of double... $ECHO_C" >&6 |
4342 |
if eval "test \"`echo '$''{'ac_cv_alignment_double'+set}'`\" = set"; then |
11360 |
if test "${ac_cv_alignment_double+set}" = set; then |
4343 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11361 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4344 |
else |
11362 |
else |
4345 |
if test "$cross_compiling" = yes; then |
11363 |
if test "$cross_compiling" = yes; then |
4346 |
ac_cv_alignment_double=$ac_cv_sizeof_double |
11364 |
ac_cv_alignment_double=$ac_cv_sizeof_double |
4347 |
else |
11365 |
else |
4348 |
cat > conftest.$ac_ext <<EOF |
11366 |
cat >conftest.$ac_ext <<_ACEOF |
4349 |
#line 4350 "configure" |
11367 |
#line $LINENO "configure" |
4350 |
#include "confdefs.h" |
11368 |
#include "confdefs.h" |
4351 |
|
11369 |
|
4352 |
#include <stdio.h> |
11370 |
#include <stdio.h> |
Lines 4364-4401
Link Here
|
4364 |
fprintf(f, "%d", offsetof(struct { char c; double ty;},ty)); |
11382 |
fprintf(f, "%d", offsetof(struct { char c; double ty;},ty)); |
4365 |
exit(0); |
11383 |
exit(0); |
4366 |
} |
11384 |
} |
4367 |
EOF |
11385 |
_ACEOF |
4368 |
if { (eval echo configure:4369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11386 |
rm -f conftest$ac_exeext |
4369 |
then |
11387 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11388 |
(eval $ac_link) 2>&5 |
11389 |
ac_status=$? |
11390 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11391 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11392 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11393 |
(eval $ac_try) 2>&5 |
11394 |
ac_status=$? |
11395 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11396 |
(exit $ac_status); }; }; then |
4370 |
ac_cv_alignment_double=`cat conftestval` |
11397 |
ac_cv_alignment_double=`cat conftestval` |
4371 |
else |
11398 |
else |
4372 |
echo "configure: failed program was:" >&5 |
11399 |
echo "$as_me: program exited with status $ac_status" >&5 |
4373 |
cat conftest.$ac_ext >&5 |
11400 |
echo "$as_me: failed program was:" >&5 |
4374 |
rm -fr conftest* |
11401 |
cat conftest.$ac_ext >&5 |
4375 |
ac_cv_alignment_double=$ac_cv_sizeof_double |
11402 |
( exit $ac_status ) |
|
|
11403 |
ac_cv_alignment_double=$ac_cv_sizeof_double |
4376 |
fi |
11404 |
fi |
4377 |
rm -fr conftest* |
11405 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4378 |
fi |
11406 |
fi |
4379 |
|
|
|
4380 |
fi |
11407 |
fi |
4381 |
|
11408 |
|
4382 |
echo "$ac_t""$ac_cv_alignment_double" 1>&6 |
11409 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_double" >&5 |
4383 |
cat >> confdefs.h <<EOF |
11410 |
echo "${ECHO_T}$ac_cv_alignment_double" >&6 |
|
|
11411 |
cat >>confdefs.h <<_ACEOF |
4384 |
#define ALIGNMENT_DOUBLE $ac_cv_alignment_double |
11412 |
#define ALIGNMENT_DOUBLE $ac_cv_alignment_double |
4385 |
EOF |
11413 |
_ACEOF |
4386 |
|
11414 |
|
4387 |
|
11415 |
|
4388 |
|
11416 |
|
4389 |
echo $ac_n "checking alignment of float""... $ac_c" 1>&6 |
11417 |
echo "$as_me:$LINENO: checking alignment of float" >&5 |
4390 |
echo "configure:4391: checking alignment of float" >&5 |
11418 |
echo $ECHO_N "checking alignment of float... $ECHO_C" >&6 |
4391 |
if eval "test \"`echo '$''{'ac_cv_alignment_float'+set}'`\" = set"; then |
11419 |
if test "${ac_cv_alignment_float+set}" = set; then |
4392 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11420 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4393 |
else |
11421 |
else |
4394 |
if test "$cross_compiling" = yes; then |
11422 |
if test "$cross_compiling" = yes; then |
4395 |
ac_cv_alignment_float=$ac_cv_sizeof_float |
11423 |
ac_cv_alignment_float=$ac_cv_sizeof_float |
4396 |
else |
11424 |
else |
4397 |
cat > conftest.$ac_ext <<EOF |
11425 |
cat >conftest.$ac_ext <<_ACEOF |
4398 |
#line 4399 "configure" |
11426 |
#line $LINENO "configure" |
4399 |
#include "confdefs.h" |
11427 |
#include "confdefs.h" |
4400 |
|
11428 |
|
4401 |
#include <stdio.h> |
11429 |
#include <stdio.h> |
Lines 4413-4450
Link Here
|
4413 |
fprintf(f, "%d", offsetof(struct { char c; float ty;},ty)); |
11441 |
fprintf(f, "%d", offsetof(struct { char c; float ty;},ty)); |
4414 |
exit(0); |
11442 |
exit(0); |
4415 |
} |
11443 |
} |
4416 |
EOF |
11444 |
_ACEOF |
4417 |
if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11445 |
rm -f conftest$ac_exeext |
4418 |
then |
11446 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11447 |
(eval $ac_link) 2>&5 |
11448 |
ac_status=$? |
11449 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11450 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11451 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11452 |
(eval $ac_try) 2>&5 |
11453 |
ac_status=$? |
11454 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11455 |
(exit $ac_status); }; }; then |
4419 |
ac_cv_alignment_float=`cat conftestval` |
11456 |
ac_cv_alignment_float=`cat conftestval` |
4420 |
else |
11457 |
else |
4421 |
echo "configure: failed program was:" >&5 |
11458 |
echo "$as_me: program exited with status $ac_status" >&5 |
4422 |
cat conftest.$ac_ext >&5 |
11459 |
echo "$as_me: failed program was:" >&5 |
4423 |
rm -fr conftest* |
11460 |
cat conftest.$ac_ext >&5 |
4424 |
ac_cv_alignment_float=$ac_cv_sizeof_float |
11461 |
( exit $ac_status ) |
|
|
11462 |
ac_cv_alignment_float=$ac_cv_sizeof_float |
4425 |
fi |
11463 |
fi |
4426 |
rm -fr conftest* |
11464 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4427 |
fi |
11465 |
fi |
4428 |
|
|
|
4429 |
fi |
11466 |
fi |
4430 |
|
11467 |
|
4431 |
echo "$ac_t""$ac_cv_alignment_float" 1>&6 |
11468 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_float" >&5 |
4432 |
cat >> confdefs.h <<EOF |
11469 |
echo "${ECHO_T}$ac_cv_alignment_float" >&6 |
|
|
11470 |
cat >>confdefs.h <<_ACEOF |
4433 |
#define ALIGNMENT_FLOAT $ac_cv_alignment_float |
11471 |
#define ALIGNMENT_FLOAT $ac_cv_alignment_float |
4434 |
EOF |
11472 |
_ACEOF |
4435 |
|
11473 |
|
4436 |
|
11474 |
|
4437 |
|
11475 |
|
4438 |
echo $ac_n "checking alignment of int""... $ac_c" 1>&6 |
11476 |
echo "$as_me:$LINENO: checking alignment of int" >&5 |
4439 |
echo "configure:4440: checking alignment of int" >&5 |
11477 |
echo $ECHO_N "checking alignment of int... $ECHO_C" >&6 |
4440 |
if eval "test \"`echo '$''{'ac_cv_alignment_int'+set}'`\" = set"; then |
11478 |
if test "${ac_cv_alignment_int+set}" = set; then |
4441 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11479 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4442 |
else |
11480 |
else |
4443 |
if test "$cross_compiling" = yes; then |
11481 |
if test "$cross_compiling" = yes; then |
4444 |
ac_cv_alignment_int=$ac_cv_sizeof_int |
11482 |
ac_cv_alignment_int=$ac_cv_sizeof_int |
4445 |
else |
11483 |
else |
4446 |
cat > conftest.$ac_ext <<EOF |
11484 |
cat >conftest.$ac_ext <<_ACEOF |
4447 |
#line 4448 "configure" |
11485 |
#line $LINENO "configure" |
4448 |
#include "confdefs.h" |
11486 |
#include "confdefs.h" |
4449 |
|
11487 |
|
4450 |
#include <stdio.h> |
11488 |
#include <stdio.h> |
Lines 4462-4499
Link Here
|
4462 |
fprintf(f, "%d", offsetof(struct { char c; int ty;},ty)); |
11500 |
fprintf(f, "%d", offsetof(struct { char c; int ty;},ty)); |
4463 |
exit(0); |
11501 |
exit(0); |
4464 |
} |
11502 |
} |
4465 |
EOF |
11503 |
_ACEOF |
4466 |
if { (eval echo configure:4467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11504 |
rm -f conftest$ac_exeext |
4467 |
then |
11505 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11506 |
(eval $ac_link) 2>&5 |
11507 |
ac_status=$? |
11508 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11509 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11510 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11511 |
(eval $ac_try) 2>&5 |
11512 |
ac_status=$? |
11513 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11514 |
(exit $ac_status); }; }; then |
4468 |
ac_cv_alignment_int=`cat conftestval` |
11515 |
ac_cv_alignment_int=`cat conftestval` |
4469 |
else |
11516 |
else |
4470 |
echo "configure: failed program was:" >&5 |
11517 |
echo "$as_me: program exited with status $ac_status" >&5 |
4471 |
cat conftest.$ac_ext >&5 |
11518 |
echo "$as_me: failed program was:" >&5 |
4472 |
rm -fr conftest* |
11519 |
cat conftest.$ac_ext >&5 |
4473 |
ac_cv_alignment_int=$ac_cv_sizeof_int |
11520 |
( exit $ac_status ) |
|
|
11521 |
ac_cv_alignment_int=$ac_cv_sizeof_int |
4474 |
fi |
11522 |
fi |
4475 |
rm -fr conftest* |
11523 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4476 |
fi |
11524 |
fi |
4477 |
|
|
|
4478 |
fi |
11525 |
fi |
4479 |
|
11526 |
|
4480 |
echo "$ac_t""$ac_cv_alignment_int" 1>&6 |
11527 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_int" >&5 |
4481 |
cat >> confdefs.h <<EOF |
11528 |
echo "${ECHO_T}$ac_cv_alignment_int" >&6 |
|
|
11529 |
cat >>confdefs.h <<_ACEOF |
4482 |
#define ALIGNMENT_INT $ac_cv_alignment_int |
11530 |
#define ALIGNMENT_INT $ac_cv_alignment_int |
4483 |
EOF |
11531 |
_ACEOF |
4484 |
|
11532 |
|
4485 |
|
11533 |
|
4486 |
|
11534 |
|
4487 |
echo $ac_n "checking alignment of long""... $ac_c" 1>&6 |
11535 |
echo "$as_me:$LINENO: checking alignment of long" >&5 |
4488 |
echo "configure:4489: checking alignment of long" >&5 |
11536 |
echo $ECHO_N "checking alignment of long... $ECHO_C" >&6 |
4489 |
if eval "test \"`echo '$''{'ac_cv_alignment_long'+set}'`\" = set"; then |
11537 |
if test "${ac_cv_alignment_long+set}" = set; then |
4490 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11538 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4491 |
else |
11539 |
else |
4492 |
if test "$cross_compiling" = yes; then |
11540 |
if test "$cross_compiling" = yes; then |
4493 |
ac_cv_alignment_long=$ac_cv_sizeof_long |
11541 |
ac_cv_alignment_long=$ac_cv_sizeof_long |
4494 |
else |
11542 |
else |
4495 |
cat > conftest.$ac_ext <<EOF |
11543 |
cat >conftest.$ac_ext <<_ACEOF |
4496 |
#line 4497 "configure" |
11544 |
#line $LINENO "configure" |
4497 |
#include "confdefs.h" |
11545 |
#include "confdefs.h" |
4498 |
|
11546 |
|
4499 |
#include <stdio.h> |
11547 |
#include <stdio.h> |
Lines 4511-4549
Link Here
|
4511 |
fprintf(f, "%d", offsetof(struct { char c; long ty;},ty)); |
11559 |
fprintf(f, "%d", offsetof(struct { char c; long ty;},ty)); |
4512 |
exit(0); |
11560 |
exit(0); |
4513 |
} |
11561 |
} |
4514 |
EOF |
11562 |
_ACEOF |
4515 |
if { (eval echo configure:4516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11563 |
rm -f conftest$ac_exeext |
4516 |
then |
11564 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11565 |
(eval $ac_link) 2>&5 |
11566 |
ac_status=$? |
11567 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11568 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11569 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11570 |
(eval $ac_try) 2>&5 |
11571 |
ac_status=$? |
11572 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11573 |
(exit $ac_status); }; }; then |
4517 |
ac_cv_alignment_long=`cat conftestval` |
11574 |
ac_cv_alignment_long=`cat conftestval` |
4518 |
else |
11575 |
else |
4519 |
echo "configure: failed program was:" >&5 |
11576 |
echo "$as_me: program exited with status $ac_status" >&5 |
4520 |
cat conftest.$ac_ext >&5 |
11577 |
echo "$as_me: failed program was:" >&5 |
4521 |
rm -fr conftest* |
11578 |
cat conftest.$ac_ext >&5 |
4522 |
ac_cv_alignment_long=$ac_cv_sizeof_long |
11579 |
( exit $ac_status ) |
|
|
11580 |
ac_cv_alignment_long=$ac_cv_sizeof_long |
4523 |
fi |
11581 |
fi |
4524 |
rm -fr conftest* |
11582 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4525 |
fi |
11583 |
fi |
4526 |
|
|
|
4527 |
fi |
11584 |
fi |
4528 |
|
11585 |
|
4529 |
echo "$ac_t""$ac_cv_alignment_long" 1>&6 |
11586 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_long" >&5 |
4530 |
cat >> confdefs.h <<EOF |
11587 |
echo "${ECHO_T}$ac_cv_alignment_long" >&6 |
|
|
11588 |
cat >>confdefs.h <<_ACEOF |
4531 |
#define ALIGNMENT_LONG $ac_cv_alignment_long |
11589 |
#define ALIGNMENT_LONG $ac_cv_alignment_long |
4532 |
EOF |
11590 |
_ACEOF |
4533 |
|
11591 |
|
4534 |
|
11592 |
|
4535 |
|
11593 |
|
4536 |
if test "$fptools_cv_have_long_long" = yes; then |
11594 |
if test "$fptools_cv_have_long_long" = yes; then |
4537 |
echo $ac_n "checking alignment of long long""... $ac_c" 1>&6 |
11595 |
echo "$as_me:$LINENO: checking alignment of long long" >&5 |
4538 |
echo "configure:4539: checking alignment of long long" >&5 |
11596 |
echo $ECHO_N "checking alignment of long long... $ECHO_C" >&6 |
4539 |
if eval "test \"`echo '$''{'ac_cv_alignment_long_long'+set}'`\" = set"; then |
11597 |
if test "${ac_cv_alignment_long_long+set}" = set; then |
4540 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11598 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4541 |
else |
11599 |
else |
4542 |
if test "$cross_compiling" = yes; then |
11600 |
if test "$cross_compiling" = yes; then |
4543 |
ac_cv_alignment_long_long=$ac_cv_sizeof_long_long |
11601 |
ac_cv_alignment_long_long=$ac_cv_sizeof_long_long |
4544 |
else |
11602 |
else |
4545 |
cat > conftest.$ac_ext <<EOF |
11603 |
cat >conftest.$ac_ext <<_ACEOF |
4546 |
#line 4547 "configure" |
11604 |
#line $LINENO "configure" |
4547 |
#include "confdefs.h" |
11605 |
#include "confdefs.h" |
4548 |
|
11606 |
|
4549 |
#include <stdio.h> |
11607 |
#include <stdio.h> |
Lines 4561-4599
Link Here
|
4561 |
fprintf(f, "%d", offsetof(struct { char c; long long ty;},ty)); |
11619 |
fprintf(f, "%d", offsetof(struct { char c; long long ty;},ty)); |
4562 |
exit(0); |
11620 |
exit(0); |
4563 |
} |
11621 |
} |
4564 |
EOF |
11622 |
_ACEOF |
4565 |
if { (eval echo configure:4566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11623 |
rm -f conftest$ac_exeext |
4566 |
then |
11624 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11625 |
(eval $ac_link) 2>&5 |
11626 |
ac_status=$? |
11627 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11628 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11629 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11630 |
(eval $ac_try) 2>&5 |
11631 |
ac_status=$? |
11632 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11633 |
(exit $ac_status); }; }; then |
4567 |
ac_cv_alignment_long_long=`cat conftestval` |
11634 |
ac_cv_alignment_long_long=`cat conftestval` |
4568 |
else |
11635 |
else |
4569 |
echo "configure: failed program was:" >&5 |
11636 |
echo "$as_me: program exited with status $ac_status" >&5 |
4570 |
cat conftest.$ac_ext >&5 |
11637 |
echo "$as_me: failed program was:" >&5 |
4571 |
rm -fr conftest* |
11638 |
cat conftest.$ac_ext >&5 |
4572 |
ac_cv_alignment_long_long=$ac_cv_sizeof_long_long |
11639 |
( exit $ac_status ) |
|
|
11640 |
ac_cv_alignment_long_long=$ac_cv_sizeof_long_long |
4573 |
fi |
11641 |
fi |
4574 |
rm -fr conftest* |
11642 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4575 |
fi |
11643 |
fi |
4576 |
|
|
|
4577 |
fi |
11644 |
fi |
4578 |
|
11645 |
|
4579 |
echo "$ac_t""$ac_cv_alignment_long_long" 1>&6 |
11646 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_long_long" >&5 |
4580 |
cat >> confdefs.h <<EOF |
11647 |
echo "${ECHO_T}$ac_cv_alignment_long_long" >&6 |
|
|
11648 |
cat >>confdefs.h <<_ACEOF |
4581 |
#define ALIGNMENT_LONG_LONG $ac_cv_alignment_long_long |
11649 |
#define ALIGNMENT_LONG_LONG $ac_cv_alignment_long_long |
4582 |
EOF |
11650 |
_ACEOF |
4583 |
|
11651 |
|
4584 |
|
11652 |
|
4585 |
|
11653 |
|
4586 |
fi |
11654 |
fi |
4587 |
echo $ac_n "checking alignment of short""... $ac_c" 1>&6 |
11655 |
echo "$as_me:$LINENO: checking alignment of short" >&5 |
4588 |
echo "configure:4589: checking alignment of short" >&5 |
11656 |
echo $ECHO_N "checking alignment of short... $ECHO_C" >&6 |
4589 |
if eval "test \"`echo '$''{'ac_cv_alignment_short'+set}'`\" = set"; then |
11657 |
if test "${ac_cv_alignment_short+set}" = set; then |
4590 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11658 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4591 |
else |
11659 |
else |
4592 |
if test "$cross_compiling" = yes; then |
11660 |
if test "$cross_compiling" = yes; then |
4593 |
ac_cv_alignment_short=$ac_cv_sizeof_short |
11661 |
ac_cv_alignment_short=$ac_cv_sizeof_short |
4594 |
else |
11662 |
else |
4595 |
cat > conftest.$ac_ext <<EOF |
11663 |
cat >conftest.$ac_ext <<_ACEOF |
4596 |
#line 4597 "configure" |
11664 |
#line $LINENO "configure" |
4597 |
#include "confdefs.h" |
11665 |
#include "confdefs.h" |
4598 |
|
11666 |
|
4599 |
#include <stdio.h> |
11667 |
#include <stdio.h> |
Lines 4611-4648
Link Here
|
4611 |
fprintf(f, "%d", offsetof(struct { char c; short ty;},ty)); |
11679 |
fprintf(f, "%d", offsetof(struct { char c; short ty;},ty)); |
4612 |
exit(0); |
11680 |
exit(0); |
4613 |
} |
11681 |
} |
4614 |
EOF |
11682 |
_ACEOF |
4615 |
if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11683 |
rm -f conftest$ac_exeext |
4616 |
then |
11684 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11685 |
(eval $ac_link) 2>&5 |
11686 |
ac_status=$? |
11687 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11688 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11689 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11690 |
(eval $ac_try) 2>&5 |
11691 |
ac_status=$? |
11692 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11693 |
(exit $ac_status); }; }; then |
4617 |
ac_cv_alignment_short=`cat conftestval` |
11694 |
ac_cv_alignment_short=`cat conftestval` |
4618 |
else |
11695 |
else |
4619 |
echo "configure: failed program was:" >&5 |
11696 |
echo "$as_me: program exited with status $ac_status" >&5 |
4620 |
cat conftest.$ac_ext >&5 |
11697 |
echo "$as_me: failed program was:" >&5 |
4621 |
rm -fr conftest* |
11698 |
cat conftest.$ac_ext >&5 |
4622 |
ac_cv_alignment_short=$ac_cv_sizeof_short |
11699 |
( exit $ac_status ) |
|
|
11700 |
ac_cv_alignment_short=$ac_cv_sizeof_short |
4623 |
fi |
11701 |
fi |
4624 |
rm -fr conftest* |
11702 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4625 |
fi |
11703 |
fi |
4626 |
|
|
|
4627 |
fi |
11704 |
fi |
4628 |
|
11705 |
|
4629 |
echo "$ac_t""$ac_cv_alignment_short" 1>&6 |
11706 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_short" >&5 |
4630 |
cat >> confdefs.h <<EOF |
11707 |
echo "${ECHO_T}$ac_cv_alignment_short" >&6 |
|
|
11708 |
cat >>confdefs.h <<_ACEOF |
4631 |
#define ALIGNMENT_SHORT $ac_cv_alignment_short |
11709 |
#define ALIGNMENT_SHORT $ac_cv_alignment_short |
4632 |
EOF |
11710 |
_ACEOF |
4633 |
|
11711 |
|
4634 |
|
11712 |
|
4635 |
|
11713 |
|
4636 |
echo $ac_n "checking alignment of unsigned char""... $ac_c" 1>&6 |
11714 |
echo "$as_me:$LINENO: checking alignment of unsigned char" >&5 |
4637 |
echo "configure:4638: checking alignment of unsigned char" >&5 |
11715 |
echo $ECHO_N "checking alignment of unsigned char... $ECHO_C" >&6 |
4638 |
if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_char'+set}'`\" = set"; then |
11716 |
if test "${ac_cv_alignment_unsigned_char+set}" = set; then |
4639 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11717 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4640 |
else |
11718 |
else |
4641 |
if test "$cross_compiling" = yes; then |
11719 |
if test "$cross_compiling" = yes; then |
4642 |
ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char |
11720 |
ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char |
4643 |
else |
11721 |
else |
4644 |
cat > conftest.$ac_ext <<EOF |
11722 |
cat >conftest.$ac_ext <<_ACEOF |
4645 |
#line 4646 "configure" |
11723 |
#line $LINENO "configure" |
4646 |
#include "confdefs.h" |
11724 |
#include "confdefs.h" |
4647 |
|
11725 |
|
4648 |
#include <stdio.h> |
11726 |
#include <stdio.h> |
Lines 4660-4697
Link Here
|
4660 |
fprintf(f, "%d", offsetof(struct { char c; unsigned char ty;},ty)); |
11738 |
fprintf(f, "%d", offsetof(struct { char c; unsigned char ty;},ty)); |
4661 |
exit(0); |
11739 |
exit(0); |
4662 |
} |
11740 |
} |
4663 |
EOF |
11741 |
_ACEOF |
4664 |
if { (eval echo configure:4665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11742 |
rm -f conftest$ac_exeext |
4665 |
then |
11743 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11744 |
(eval $ac_link) 2>&5 |
11745 |
ac_status=$? |
11746 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11747 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11748 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11749 |
(eval $ac_try) 2>&5 |
11750 |
ac_status=$? |
11751 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11752 |
(exit $ac_status); }; }; then |
4666 |
ac_cv_alignment_unsigned_char=`cat conftestval` |
11753 |
ac_cv_alignment_unsigned_char=`cat conftestval` |
4667 |
else |
11754 |
else |
4668 |
echo "configure: failed program was:" >&5 |
11755 |
echo "$as_me: program exited with status $ac_status" >&5 |
4669 |
cat conftest.$ac_ext >&5 |
11756 |
echo "$as_me: failed program was:" >&5 |
4670 |
rm -fr conftest* |
11757 |
cat conftest.$ac_ext >&5 |
4671 |
ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char |
11758 |
( exit $ac_status ) |
|
|
11759 |
ac_cv_alignment_unsigned_char=$ac_cv_sizeof_unsigned_char |
4672 |
fi |
11760 |
fi |
4673 |
rm -fr conftest* |
11761 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4674 |
fi |
11762 |
fi |
4675 |
|
|
|
4676 |
fi |
11763 |
fi |
4677 |
|
11764 |
|
4678 |
echo "$ac_t""$ac_cv_alignment_unsigned_char" 1>&6 |
11765 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_char" >&5 |
4679 |
cat >> confdefs.h <<EOF |
11766 |
echo "${ECHO_T}$ac_cv_alignment_unsigned_char" >&6 |
|
|
11767 |
cat >>confdefs.h <<_ACEOF |
4680 |
#define ALIGNMENT_UNSIGNED_CHAR $ac_cv_alignment_unsigned_char |
11768 |
#define ALIGNMENT_UNSIGNED_CHAR $ac_cv_alignment_unsigned_char |
4681 |
EOF |
11769 |
_ACEOF |
4682 |
|
11770 |
|
4683 |
|
11771 |
|
4684 |
|
11772 |
|
4685 |
echo $ac_n "checking alignment of unsigned int""... $ac_c" 1>&6 |
11773 |
echo "$as_me:$LINENO: checking alignment of unsigned int" >&5 |
4686 |
echo "configure:4687: checking alignment of unsigned int" >&5 |
11774 |
echo $ECHO_N "checking alignment of unsigned int... $ECHO_C" >&6 |
4687 |
if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_int'+set}'`\" = set"; then |
11775 |
if test "${ac_cv_alignment_unsigned_int+set}" = set; then |
4688 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11776 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4689 |
else |
11777 |
else |
4690 |
if test "$cross_compiling" = yes; then |
11778 |
if test "$cross_compiling" = yes; then |
4691 |
ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int |
11779 |
ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int |
4692 |
else |
11780 |
else |
4693 |
cat > conftest.$ac_ext <<EOF |
11781 |
cat >conftest.$ac_ext <<_ACEOF |
4694 |
#line 4695 "configure" |
11782 |
#line $LINENO "configure" |
4695 |
#include "confdefs.h" |
11783 |
#include "confdefs.h" |
4696 |
|
11784 |
|
4697 |
#include <stdio.h> |
11785 |
#include <stdio.h> |
Lines 4709-4746
Link Here
|
4709 |
fprintf(f, "%d", offsetof(struct { char c; unsigned int ty;},ty)); |
11797 |
fprintf(f, "%d", offsetof(struct { char c; unsigned int ty;},ty)); |
4710 |
exit(0); |
11798 |
exit(0); |
4711 |
} |
11799 |
} |
4712 |
EOF |
11800 |
_ACEOF |
4713 |
if { (eval echo configure:4714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11801 |
rm -f conftest$ac_exeext |
4714 |
then |
11802 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11803 |
(eval $ac_link) 2>&5 |
11804 |
ac_status=$? |
11805 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11806 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11807 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11808 |
(eval $ac_try) 2>&5 |
11809 |
ac_status=$? |
11810 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11811 |
(exit $ac_status); }; }; then |
4715 |
ac_cv_alignment_unsigned_int=`cat conftestval` |
11812 |
ac_cv_alignment_unsigned_int=`cat conftestval` |
4716 |
else |
11813 |
else |
4717 |
echo "configure: failed program was:" >&5 |
11814 |
echo "$as_me: program exited with status $ac_status" >&5 |
4718 |
cat conftest.$ac_ext >&5 |
11815 |
echo "$as_me: failed program was:" >&5 |
4719 |
rm -fr conftest* |
11816 |
cat conftest.$ac_ext >&5 |
4720 |
ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int |
11817 |
( exit $ac_status ) |
|
|
11818 |
ac_cv_alignment_unsigned_int=$ac_cv_sizeof_unsigned_int |
4721 |
fi |
11819 |
fi |
4722 |
rm -fr conftest* |
11820 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4723 |
fi |
11821 |
fi |
4724 |
|
|
|
4725 |
fi |
11822 |
fi |
4726 |
|
11823 |
|
4727 |
echo "$ac_t""$ac_cv_alignment_unsigned_int" 1>&6 |
11824 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_int" >&5 |
4728 |
cat >> confdefs.h <<EOF |
11825 |
echo "${ECHO_T}$ac_cv_alignment_unsigned_int" >&6 |
|
|
11826 |
cat >>confdefs.h <<_ACEOF |
4729 |
#define ALIGNMENT_UNSIGNED_INT $ac_cv_alignment_unsigned_int |
11827 |
#define ALIGNMENT_UNSIGNED_INT $ac_cv_alignment_unsigned_int |
4730 |
EOF |
11828 |
_ACEOF |
4731 |
|
11829 |
|
4732 |
|
11830 |
|
4733 |
|
11831 |
|
4734 |
echo $ac_n "checking alignment of unsigned long""... $ac_c" 1>&6 |
11832 |
echo "$as_me:$LINENO: checking alignment of unsigned long" >&5 |
4735 |
echo "configure:4736: checking alignment of unsigned long" >&5 |
11833 |
echo $ECHO_N "checking alignment of unsigned long... $ECHO_C" >&6 |
4736 |
if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_long'+set}'`\" = set"; then |
11834 |
if test "${ac_cv_alignment_unsigned_long+set}" = set; then |
4737 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11835 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4738 |
else |
11836 |
else |
4739 |
if test "$cross_compiling" = yes; then |
11837 |
if test "$cross_compiling" = yes; then |
4740 |
ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long |
11838 |
ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long |
4741 |
else |
11839 |
else |
4742 |
cat > conftest.$ac_ext <<EOF |
11840 |
cat >conftest.$ac_ext <<_ACEOF |
4743 |
#line 4744 "configure" |
11841 |
#line $LINENO "configure" |
4744 |
#include "confdefs.h" |
11842 |
#include "confdefs.h" |
4745 |
|
11843 |
|
4746 |
#include <stdio.h> |
11844 |
#include <stdio.h> |
Lines 4758-4796
Link Here
|
4758 |
fprintf(f, "%d", offsetof(struct { char c; unsigned long ty;},ty)); |
11856 |
fprintf(f, "%d", offsetof(struct { char c; unsigned long ty;},ty)); |
4759 |
exit(0); |
11857 |
exit(0); |
4760 |
} |
11858 |
} |
4761 |
EOF |
11859 |
_ACEOF |
4762 |
if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11860 |
rm -f conftest$ac_exeext |
4763 |
then |
11861 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11862 |
(eval $ac_link) 2>&5 |
11863 |
ac_status=$? |
11864 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11865 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11866 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11867 |
(eval $ac_try) 2>&5 |
11868 |
ac_status=$? |
11869 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11870 |
(exit $ac_status); }; }; then |
4764 |
ac_cv_alignment_unsigned_long=`cat conftestval` |
11871 |
ac_cv_alignment_unsigned_long=`cat conftestval` |
4765 |
else |
11872 |
else |
4766 |
echo "configure: failed program was:" >&5 |
11873 |
echo "$as_me: program exited with status $ac_status" >&5 |
4767 |
cat conftest.$ac_ext >&5 |
11874 |
echo "$as_me: failed program was:" >&5 |
4768 |
rm -fr conftest* |
11875 |
cat conftest.$ac_ext >&5 |
4769 |
ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long |
11876 |
( exit $ac_status ) |
|
|
11877 |
ac_cv_alignment_unsigned_long=$ac_cv_sizeof_unsigned_long |
4770 |
fi |
11878 |
fi |
4771 |
rm -fr conftest* |
11879 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4772 |
fi |
11880 |
fi |
4773 |
|
|
|
4774 |
fi |
11881 |
fi |
4775 |
|
11882 |
|
4776 |
echo "$ac_t""$ac_cv_alignment_unsigned_long" 1>&6 |
11883 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_long" >&5 |
4777 |
cat >> confdefs.h <<EOF |
11884 |
echo "${ECHO_T}$ac_cv_alignment_unsigned_long" >&6 |
|
|
11885 |
cat >>confdefs.h <<_ACEOF |
4778 |
#define ALIGNMENT_UNSIGNED_LONG $ac_cv_alignment_unsigned_long |
11886 |
#define ALIGNMENT_UNSIGNED_LONG $ac_cv_alignment_unsigned_long |
4779 |
EOF |
11887 |
_ACEOF |
4780 |
|
11888 |
|
4781 |
|
11889 |
|
4782 |
|
11890 |
|
4783 |
if test "$fptools_cv_have_long_long" = yes; then |
11891 |
if test "$fptools_cv_have_long_long" = yes; then |
4784 |
echo $ac_n "checking alignment of unsigned long long""... $ac_c" 1>&6 |
11892 |
echo "$as_me:$LINENO: checking alignment of unsigned long long" >&5 |
4785 |
echo "configure:4786: checking alignment of unsigned long long" >&5 |
11893 |
echo $ECHO_N "checking alignment of unsigned long long... $ECHO_C" >&6 |
4786 |
if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_long_long'+set}'`\" = set"; then |
11894 |
if test "${ac_cv_alignment_unsigned_long_long+set}" = set; then |
4787 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11895 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4788 |
else |
11896 |
else |
4789 |
if test "$cross_compiling" = yes; then |
11897 |
if test "$cross_compiling" = yes; then |
4790 |
ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long |
11898 |
ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long |
4791 |
else |
11899 |
else |
4792 |
cat > conftest.$ac_ext <<EOF |
11900 |
cat >conftest.$ac_ext <<_ACEOF |
4793 |
#line 4794 "configure" |
11901 |
#line $LINENO "configure" |
4794 |
#include "confdefs.h" |
11902 |
#include "confdefs.h" |
4795 |
|
11903 |
|
4796 |
#include <stdio.h> |
11904 |
#include <stdio.h> |
Lines 4808-4846
Link Here
|
4808 |
fprintf(f, "%d", offsetof(struct { char c; unsigned long long ty;},ty)); |
11916 |
fprintf(f, "%d", offsetof(struct { char c; unsigned long long ty;},ty)); |
4809 |
exit(0); |
11917 |
exit(0); |
4810 |
} |
11918 |
} |
4811 |
EOF |
11919 |
_ACEOF |
4812 |
if { (eval echo configure:4813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11920 |
rm -f conftest$ac_exeext |
4813 |
then |
11921 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11922 |
(eval $ac_link) 2>&5 |
11923 |
ac_status=$? |
11924 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11925 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11926 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11927 |
(eval $ac_try) 2>&5 |
11928 |
ac_status=$? |
11929 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11930 |
(exit $ac_status); }; }; then |
4814 |
ac_cv_alignment_unsigned_long_long=`cat conftestval` |
11931 |
ac_cv_alignment_unsigned_long_long=`cat conftestval` |
4815 |
else |
11932 |
else |
4816 |
echo "configure: failed program was:" >&5 |
11933 |
echo "$as_me: program exited with status $ac_status" >&5 |
4817 |
cat conftest.$ac_ext >&5 |
11934 |
echo "$as_me: failed program was:" >&5 |
4818 |
rm -fr conftest* |
11935 |
cat conftest.$ac_ext >&5 |
4819 |
ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long |
11936 |
( exit $ac_status ) |
|
|
11937 |
ac_cv_alignment_unsigned_long_long=$ac_cv_sizeof_unsigned_long_long |
4820 |
fi |
11938 |
fi |
4821 |
rm -fr conftest* |
11939 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4822 |
fi |
11940 |
fi |
4823 |
|
|
|
4824 |
fi |
11941 |
fi |
4825 |
|
11942 |
|
4826 |
echo "$ac_t""$ac_cv_alignment_unsigned_long_long" 1>&6 |
11943 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_long_long" >&5 |
4827 |
cat >> confdefs.h <<EOF |
11944 |
echo "${ECHO_T}$ac_cv_alignment_unsigned_long_long" >&6 |
|
|
11945 |
cat >>confdefs.h <<_ACEOF |
4828 |
#define ALIGNMENT_UNSIGNED_LONG_LONG $ac_cv_alignment_unsigned_long_long |
11946 |
#define ALIGNMENT_UNSIGNED_LONG_LONG $ac_cv_alignment_unsigned_long_long |
4829 |
EOF |
11947 |
_ACEOF |
4830 |
|
11948 |
|
4831 |
|
11949 |
|
4832 |
|
11950 |
|
4833 |
fi |
11951 |
fi |
4834 |
echo $ac_n "checking alignment of unsigned short""... $ac_c" 1>&6 |
11952 |
echo "$as_me:$LINENO: checking alignment of unsigned short" >&5 |
4835 |
echo "configure:4836: checking alignment of unsigned short" >&5 |
11953 |
echo $ECHO_N "checking alignment of unsigned short... $ECHO_C" >&6 |
4836 |
if eval "test \"`echo '$''{'ac_cv_alignment_unsigned_short'+set}'`\" = set"; then |
11954 |
if test "${ac_cv_alignment_unsigned_short+set}" = set; then |
4837 |
echo $ac_n "(cached) $ac_c" 1>&6 |
11955 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4838 |
else |
11956 |
else |
4839 |
if test "$cross_compiling" = yes; then |
11957 |
if test "$cross_compiling" = yes; then |
4840 |
ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short |
11958 |
ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short |
4841 |
else |
11959 |
else |
4842 |
cat > conftest.$ac_ext <<EOF |
11960 |
cat >conftest.$ac_ext <<_ACEOF |
4843 |
#line 4844 "configure" |
11961 |
#line $LINENO "configure" |
4844 |
#include "confdefs.h" |
11962 |
#include "confdefs.h" |
4845 |
|
11963 |
|
4846 |
#include <stdio.h> |
11964 |
#include <stdio.h> |
Lines 4858-4895
Link Here
|
4858 |
fprintf(f, "%d", offsetof(struct { char c; unsigned short ty;},ty)); |
11976 |
fprintf(f, "%d", offsetof(struct { char c; unsigned short ty;},ty)); |
4859 |
exit(0); |
11977 |
exit(0); |
4860 |
} |
11978 |
} |
4861 |
EOF |
11979 |
_ACEOF |
4862 |
if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
11980 |
rm -f conftest$ac_exeext |
4863 |
then |
11981 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
11982 |
(eval $ac_link) 2>&5 |
11983 |
ac_status=$? |
11984 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11985 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
11986 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11987 |
(eval $ac_try) 2>&5 |
11988 |
ac_status=$? |
11989 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11990 |
(exit $ac_status); }; }; then |
4864 |
ac_cv_alignment_unsigned_short=`cat conftestval` |
11991 |
ac_cv_alignment_unsigned_short=`cat conftestval` |
4865 |
else |
11992 |
else |
4866 |
echo "configure: failed program was:" >&5 |
11993 |
echo "$as_me: program exited with status $ac_status" >&5 |
4867 |
cat conftest.$ac_ext >&5 |
11994 |
echo "$as_me: failed program was:" >&5 |
4868 |
rm -fr conftest* |
11995 |
cat conftest.$ac_ext >&5 |
4869 |
ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short |
11996 |
( exit $ac_status ) |
|
|
11997 |
ac_cv_alignment_unsigned_short=$ac_cv_sizeof_unsigned_short |
4870 |
fi |
11998 |
fi |
4871 |
rm -fr conftest* |
11999 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4872 |
fi |
12000 |
fi |
4873 |
|
|
|
4874 |
fi |
12001 |
fi |
4875 |
|
12002 |
|
4876 |
echo "$ac_t""$ac_cv_alignment_unsigned_short" 1>&6 |
12003 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_unsigned_short" >&5 |
4877 |
cat >> confdefs.h <<EOF |
12004 |
echo "${ECHO_T}$ac_cv_alignment_unsigned_short" >&6 |
|
|
12005 |
cat >>confdefs.h <<_ACEOF |
4878 |
#define ALIGNMENT_UNSIGNED_SHORT $ac_cv_alignment_unsigned_short |
12006 |
#define ALIGNMENT_UNSIGNED_SHORT $ac_cv_alignment_unsigned_short |
4879 |
EOF |
12007 |
_ACEOF |
4880 |
|
12008 |
|
4881 |
|
12009 |
|
4882 |
|
12010 |
|
4883 |
echo $ac_n "checking alignment of void *""... $ac_c" 1>&6 |
12011 |
echo "$as_me:$LINENO: checking alignment of void *" >&5 |
4884 |
echo "configure:4885: checking alignment of void *" >&5 |
12012 |
echo $ECHO_N "checking alignment of void *... $ECHO_C" >&6 |
4885 |
if eval "test \"`echo '$''{'ac_cv_alignment_void_p'+set}'`\" = set"; then |
12013 |
if test "${ac_cv_alignment_void_p+set}" = set; then |
4886 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12014 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4887 |
else |
12015 |
else |
4888 |
if test "$cross_compiling" = yes; then |
12016 |
if test "$cross_compiling" = yes; then |
4889 |
ac_cv_alignment_void_p=$ac_cv_sizeof_void_p |
12017 |
ac_cv_alignment_void_p=$ac_cv_sizeof_void_p |
4890 |
else |
12018 |
else |
4891 |
cat > conftest.$ac_ext <<EOF |
12019 |
cat >conftest.$ac_ext <<_ACEOF |
4892 |
#line 4893 "configure" |
12020 |
#line $LINENO "configure" |
4893 |
#include "confdefs.h" |
12021 |
#include "confdefs.h" |
4894 |
|
12022 |
|
4895 |
#include <stdio.h> |
12023 |
#include <stdio.h> |
Lines 4907-4945
Link Here
|
4907 |
fprintf(f, "%d", offsetof(struct { char c; void * ty;},ty)); |
12035 |
fprintf(f, "%d", offsetof(struct { char c; void * ty;},ty)); |
4908 |
exit(0); |
12036 |
exit(0); |
4909 |
} |
12037 |
} |
4910 |
EOF |
12038 |
_ACEOF |
4911 |
if { (eval echo configure:4912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12039 |
rm -f conftest$ac_exeext |
4912 |
then |
12040 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12041 |
(eval $ac_link) 2>&5 |
12042 |
ac_status=$? |
12043 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12044 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12045 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12046 |
(eval $ac_try) 2>&5 |
12047 |
ac_status=$? |
12048 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12049 |
(exit $ac_status); }; }; then |
4913 |
ac_cv_alignment_void_p=`cat conftestval` |
12050 |
ac_cv_alignment_void_p=`cat conftestval` |
4914 |
else |
12051 |
else |
4915 |
echo "configure: failed program was:" >&5 |
12052 |
echo "$as_me: program exited with status $ac_status" >&5 |
4916 |
cat conftest.$ac_ext >&5 |
12053 |
echo "$as_me: failed program was:" >&5 |
4917 |
rm -fr conftest* |
12054 |
cat conftest.$ac_ext >&5 |
4918 |
ac_cv_alignment_void_p=$ac_cv_sizeof_void_p |
12055 |
( exit $ac_status ) |
|
|
12056 |
ac_cv_alignment_void_p=$ac_cv_sizeof_void_p |
4919 |
fi |
12057 |
fi |
4920 |
rm -fr conftest* |
12058 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4921 |
fi |
12059 |
fi |
4922 |
|
|
|
4923 |
fi |
12060 |
fi |
4924 |
|
12061 |
|
4925 |
echo "$ac_t""$ac_cv_alignment_void_p" 1>&6 |
12062 |
echo "$as_me:$LINENO: result: $ac_cv_alignment_void_p" >&5 |
4926 |
cat >> confdefs.h <<EOF |
12063 |
echo "${ECHO_T}$ac_cv_alignment_void_p" >&6 |
|
|
12064 |
cat >>confdefs.h <<_ACEOF |
4927 |
#define ALIGNMENT_VOID_P $ac_cv_alignment_void_p |
12065 |
#define ALIGNMENT_VOID_P $ac_cv_alignment_void_p |
4928 |
EOF |
12066 |
_ACEOF |
4929 |
|
12067 |
|
4930 |
|
12068 |
|
4931 |
|
12069 |
|
4932 |
|
12070 |
|
4933 |
echo $ac_n "checking Haskell type for char""... $ac_c" 1>&6 |
12071 |
echo "$as_me:$LINENO: checking Haskell type for char" >&5 |
4934 |
echo "configure:4935: checking Haskell type for char" >&5 |
12072 |
echo $ECHO_N "checking Haskell type for char... $ECHO_C" >&6 |
4935 |
if eval "test \"`echo '$''{'fptools_cv_htype_char'+set}'`\" = set"; then |
12073 |
if test "${fptools_cv_htype_char+set}" = set; then |
4936 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12074 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4937 |
else |
12075 |
else |
4938 |
if test "$cross_compiling" = yes; then |
12076 |
if test "$cross_compiling" = yes; then |
4939 |
fptools_cv_htype_char=NotReallyATypeCross |
12077 |
fptools_cv_htype_char=NotReallyATypeCross |
4940 |
else |
12078 |
else |
4941 |
cat > conftest.$ac_ext <<EOF |
12079 |
cat >conftest.$ac_ext <<_ACEOF |
4942 |
#line 4943 "configure" |
12080 |
#line $LINENO "configure" |
4943 |
#include "confdefs.h" |
12081 |
#include "confdefs.h" |
4944 |
#include <stdio.h> |
12082 |
#include <stdio.h> |
4945 |
#include <stddef.h> |
12083 |
#include <stddef.h> |
Lines 5001-5036
Link Here
|
5001 |
fclose(f); |
12139 |
fclose(f); |
5002 |
exit(0); |
12140 |
exit(0); |
5003 |
} |
12141 |
} |
5004 |
EOF |
12142 |
_ACEOF |
5005 |
if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12143 |
rm -f conftest$ac_exeext |
5006 |
then |
12144 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12145 |
(eval $ac_link) 2>&5 |
12146 |
ac_status=$? |
12147 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12148 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12149 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12150 |
(eval $ac_try) 2>&5 |
12151 |
ac_status=$? |
12152 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12153 |
(exit $ac_status); }; }; then |
5007 |
fptools_cv_htype_char=`cat conftestval` |
12154 |
fptools_cv_htype_char=`cat conftestval` |
5008 |
else |
12155 |
else |
5009 |
echo "configure: failed program was:" >&5 |
12156 |
echo "$as_me: program exited with status $ac_status" >&5 |
5010 |
cat conftest.$ac_ext >&5 |
12157 |
echo "$as_me: failed program was:" >&5 |
5011 |
rm -fr conftest* |
12158 |
cat conftest.$ac_ext >&5 |
5012 |
fptools_cv_htype_char=NotReallyAType |
12159 |
( exit $ac_status ) |
5013 |
fi |
12160 |
fptools_cv_htype_char=NotReallyAType |
5014 |
rm -fr conftest* |
12161 |
fi |
|
|
12162 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5015 |
fi |
12163 |
fi |
5016 |
|
|
|
5017 |
fi |
12164 |
fi |
5018 |
echo "$ac_t""$fptools_cv_htype_char" 1>&6 |
12165 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_char" >&5 |
5019 |
cat >> confdefs.h <<EOF |
12166 |
echo "${ECHO_T}$fptools_cv_htype_char" >&6 |
|
|
12167 |
cat >>confdefs.h <<_ACEOF |
5020 |
#define HTYPE_CHAR $fptools_cv_htype_char |
12168 |
#define HTYPE_CHAR $fptools_cv_htype_char |
5021 |
EOF |
12169 |
_ACEOF |
5022 |
|
12170 |
|
5023 |
|
12171 |
|
5024 |
echo $ac_n "checking Haskell type for signed char""... $ac_c" 1>&6 |
12172 |
echo "$as_me:$LINENO: checking Haskell type for signed char" >&5 |
5025 |
echo "configure:5026: checking Haskell type for signed char" >&5 |
12173 |
echo $ECHO_N "checking Haskell type for signed char... $ECHO_C" >&6 |
5026 |
if eval "test \"`echo '$''{'fptools_cv_htype_signed_char'+set}'`\" = set"; then |
12174 |
if test "${fptools_cv_htype_signed_char+set}" = set; then |
5027 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12175 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5028 |
else |
12176 |
else |
5029 |
if test "$cross_compiling" = yes; then |
12177 |
if test "$cross_compiling" = yes; then |
5030 |
fptools_cv_htype_signed_char=NotReallyATypeCross |
12178 |
fptools_cv_htype_signed_char=NotReallyATypeCross |
5031 |
else |
12179 |
else |
5032 |
cat > conftest.$ac_ext <<EOF |
12180 |
cat >conftest.$ac_ext <<_ACEOF |
5033 |
#line 5034 "configure" |
12181 |
#line $LINENO "configure" |
5034 |
#include "confdefs.h" |
12182 |
#include "confdefs.h" |
5035 |
#include <stdio.h> |
12183 |
#include <stdio.h> |
5036 |
#include <stddef.h> |
12184 |
#include <stddef.h> |
Lines 5092-5127
Link Here
|
5092 |
fclose(f); |
12240 |
fclose(f); |
5093 |
exit(0); |
12241 |
exit(0); |
5094 |
} |
12242 |
} |
5095 |
EOF |
12243 |
_ACEOF |
5096 |
if { (eval echo configure:5097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12244 |
rm -f conftest$ac_exeext |
5097 |
then |
12245 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12246 |
(eval $ac_link) 2>&5 |
12247 |
ac_status=$? |
12248 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12249 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12250 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12251 |
(eval $ac_try) 2>&5 |
12252 |
ac_status=$? |
12253 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12254 |
(exit $ac_status); }; }; then |
5098 |
fptools_cv_htype_signed_char=`cat conftestval` |
12255 |
fptools_cv_htype_signed_char=`cat conftestval` |
5099 |
else |
12256 |
else |
5100 |
echo "configure: failed program was:" >&5 |
12257 |
echo "$as_me: program exited with status $ac_status" >&5 |
5101 |
cat conftest.$ac_ext >&5 |
12258 |
echo "$as_me: failed program was:" >&5 |
5102 |
rm -fr conftest* |
12259 |
cat conftest.$ac_ext >&5 |
5103 |
fptools_cv_htype_signed_char=NotReallyAType |
12260 |
( exit $ac_status ) |
5104 |
fi |
12261 |
fptools_cv_htype_signed_char=NotReallyAType |
5105 |
rm -fr conftest* |
12262 |
fi |
|
|
12263 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5106 |
fi |
12264 |
fi |
5107 |
|
|
|
5108 |
fi |
12265 |
fi |
5109 |
echo "$ac_t""$fptools_cv_htype_signed_char" 1>&6 |
12266 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_signed_char" >&5 |
5110 |
cat >> confdefs.h <<EOF |
12267 |
echo "${ECHO_T}$fptools_cv_htype_signed_char" >&6 |
|
|
12268 |
cat >>confdefs.h <<_ACEOF |
5111 |
#define HTYPE_SIGNED_CHAR $fptools_cv_htype_signed_char |
12269 |
#define HTYPE_SIGNED_CHAR $fptools_cv_htype_signed_char |
5112 |
EOF |
12270 |
_ACEOF |
5113 |
|
12271 |
|
5114 |
|
12272 |
|
5115 |
echo $ac_n "checking Haskell type for unsigned char""... $ac_c" 1>&6 |
12273 |
echo "$as_me:$LINENO: checking Haskell type for unsigned char" >&5 |
5116 |
echo "configure:5117: checking Haskell type for unsigned char" >&5 |
12274 |
echo $ECHO_N "checking Haskell type for unsigned char... $ECHO_C" >&6 |
5117 |
if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_char'+set}'`\" = set"; then |
12275 |
if test "${fptools_cv_htype_unsigned_char+set}" = set; then |
5118 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12276 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5119 |
else |
12277 |
else |
5120 |
if test "$cross_compiling" = yes; then |
12278 |
if test "$cross_compiling" = yes; then |
5121 |
fptools_cv_htype_unsigned_char=NotReallyATypeCross |
12279 |
fptools_cv_htype_unsigned_char=NotReallyATypeCross |
5122 |
else |
12280 |
else |
5123 |
cat > conftest.$ac_ext <<EOF |
12281 |
cat >conftest.$ac_ext <<_ACEOF |
5124 |
#line 5125 "configure" |
12282 |
#line $LINENO "configure" |
5125 |
#include "confdefs.h" |
12283 |
#include "confdefs.h" |
5126 |
#include <stdio.h> |
12284 |
#include <stdio.h> |
5127 |
#include <stddef.h> |
12285 |
#include <stddef.h> |
Lines 5183-5218
Link Here
|
5183 |
fclose(f); |
12341 |
fclose(f); |
5184 |
exit(0); |
12342 |
exit(0); |
5185 |
} |
12343 |
} |
5186 |
EOF |
12344 |
_ACEOF |
5187 |
if { (eval echo configure:5188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12345 |
rm -f conftest$ac_exeext |
5188 |
then |
12346 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12347 |
(eval $ac_link) 2>&5 |
12348 |
ac_status=$? |
12349 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12350 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12351 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12352 |
(eval $ac_try) 2>&5 |
12353 |
ac_status=$? |
12354 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12355 |
(exit $ac_status); }; }; then |
5189 |
fptools_cv_htype_unsigned_char=`cat conftestval` |
12356 |
fptools_cv_htype_unsigned_char=`cat conftestval` |
5190 |
else |
12357 |
else |
5191 |
echo "configure: failed program was:" >&5 |
12358 |
echo "$as_me: program exited with status $ac_status" >&5 |
5192 |
cat conftest.$ac_ext >&5 |
12359 |
echo "$as_me: failed program was:" >&5 |
5193 |
rm -fr conftest* |
12360 |
cat conftest.$ac_ext >&5 |
5194 |
fptools_cv_htype_unsigned_char=NotReallyAType |
12361 |
( exit $ac_status ) |
5195 |
fi |
12362 |
fptools_cv_htype_unsigned_char=NotReallyAType |
5196 |
rm -fr conftest* |
12363 |
fi |
|
|
12364 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5197 |
fi |
12365 |
fi |
5198 |
|
|
|
5199 |
fi |
12366 |
fi |
5200 |
echo "$ac_t""$fptools_cv_htype_unsigned_char" 1>&6 |
12367 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_char" >&5 |
5201 |
cat >> confdefs.h <<EOF |
12368 |
echo "${ECHO_T}$fptools_cv_htype_unsigned_char" >&6 |
|
|
12369 |
cat >>confdefs.h <<_ACEOF |
5202 |
#define HTYPE_UNSIGNED_CHAR $fptools_cv_htype_unsigned_char |
12370 |
#define HTYPE_UNSIGNED_CHAR $fptools_cv_htype_unsigned_char |
5203 |
EOF |
12371 |
_ACEOF |
5204 |
|
12372 |
|
5205 |
|
12373 |
|
5206 |
echo $ac_n "checking Haskell type for short""... $ac_c" 1>&6 |
12374 |
echo "$as_me:$LINENO: checking Haskell type for short" >&5 |
5207 |
echo "configure:5208: checking Haskell type for short" >&5 |
12375 |
echo $ECHO_N "checking Haskell type for short... $ECHO_C" >&6 |
5208 |
if eval "test \"`echo '$''{'fptools_cv_htype_short'+set}'`\" = set"; then |
12376 |
if test "${fptools_cv_htype_short+set}" = set; then |
5209 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12377 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5210 |
else |
12378 |
else |
5211 |
if test "$cross_compiling" = yes; then |
12379 |
if test "$cross_compiling" = yes; then |
5212 |
fptools_cv_htype_short=NotReallyATypeCross |
12380 |
fptools_cv_htype_short=NotReallyATypeCross |
5213 |
else |
12381 |
else |
5214 |
cat > conftest.$ac_ext <<EOF |
12382 |
cat >conftest.$ac_ext <<_ACEOF |
5215 |
#line 5216 "configure" |
12383 |
#line $LINENO "configure" |
5216 |
#include "confdefs.h" |
12384 |
#include "confdefs.h" |
5217 |
#include <stdio.h> |
12385 |
#include <stdio.h> |
5218 |
#include <stddef.h> |
12386 |
#include <stddef.h> |
Lines 5274-5309
Link Here
|
5274 |
fclose(f); |
12442 |
fclose(f); |
5275 |
exit(0); |
12443 |
exit(0); |
5276 |
} |
12444 |
} |
5277 |
EOF |
12445 |
_ACEOF |
5278 |
if { (eval echo configure:5279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12446 |
rm -f conftest$ac_exeext |
5279 |
then |
12447 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12448 |
(eval $ac_link) 2>&5 |
12449 |
ac_status=$? |
12450 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12451 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12452 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12453 |
(eval $ac_try) 2>&5 |
12454 |
ac_status=$? |
12455 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12456 |
(exit $ac_status); }; }; then |
5280 |
fptools_cv_htype_short=`cat conftestval` |
12457 |
fptools_cv_htype_short=`cat conftestval` |
5281 |
else |
12458 |
else |
5282 |
echo "configure: failed program was:" >&5 |
12459 |
echo "$as_me: program exited with status $ac_status" >&5 |
5283 |
cat conftest.$ac_ext >&5 |
12460 |
echo "$as_me: failed program was:" >&5 |
5284 |
rm -fr conftest* |
12461 |
cat conftest.$ac_ext >&5 |
5285 |
fptools_cv_htype_short=NotReallyAType |
12462 |
( exit $ac_status ) |
5286 |
fi |
12463 |
fptools_cv_htype_short=NotReallyAType |
5287 |
rm -fr conftest* |
12464 |
fi |
|
|
12465 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5288 |
fi |
12466 |
fi |
5289 |
|
|
|
5290 |
fi |
12467 |
fi |
5291 |
echo "$ac_t""$fptools_cv_htype_short" 1>&6 |
12468 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_short" >&5 |
5292 |
cat >> confdefs.h <<EOF |
12469 |
echo "${ECHO_T}$fptools_cv_htype_short" >&6 |
|
|
12470 |
cat >>confdefs.h <<_ACEOF |
5293 |
#define HTYPE_SHORT $fptools_cv_htype_short |
12471 |
#define HTYPE_SHORT $fptools_cv_htype_short |
5294 |
EOF |
12472 |
_ACEOF |
5295 |
|
12473 |
|
5296 |
|
12474 |
|
5297 |
echo $ac_n "checking Haskell type for unsigned short""... $ac_c" 1>&6 |
12475 |
echo "$as_me:$LINENO: checking Haskell type for unsigned short" >&5 |
5298 |
echo "configure:5299: checking Haskell type for unsigned short" >&5 |
12476 |
echo $ECHO_N "checking Haskell type for unsigned short... $ECHO_C" >&6 |
5299 |
if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_short'+set}'`\" = set"; then |
12477 |
if test "${fptools_cv_htype_unsigned_short+set}" = set; then |
5300 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12478 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5301 |
else |
12479 |
else |
5302 |
if test "$cross_compiling" = yes; then |
12480 |
if test "$cross_compiling" = yes; then |
5303 |
fptools_cv_htype_unsigned_short=NotReallyATypeCross |
12481 |
fptools_cv_htype_unsigned_short=NotReallyATypeCross |
5304 |
else |
12482 |
else |
5305 |
cat > conftest.$ac_ext <<EOF |
12483 |
cat >conftest.$ac_ext <<_ACEOF |
5306 |
#line 5307 "configure" |
12484 |
#line $LINENO "configure" |
5307 |
#include "confdefs.h" |
12485 |
#include "confdefs.h" |
5308 |
#include <stdio.h> |
12486 |
#include <stdio.h> |
5309 |
#include <stddef.h> |
12487 |
#include <stddef.h> |
Lines 5365-5400
Link Here
|
5365 |
fclose(f); |
12543 |
fclose(f); |
5366 |
exit(0); |
12544 |
exit(0); |
5367 |
} |
12545 |
} |
5368 |
EOF |
12546 |
_ACEOF |
5369 |
if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12547 |
rm -f conftest$ac_exeext |
5370 |
then |
12548 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12549 |
(eval $ac_link) 2>&5 |
12550 |
ac_status=$? |
12551 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12552 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12553 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12554 |
(eval $ac_try) 2>&5 |
12555 |
ac_status=$? |
12556 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12557 |
(exit $ac_status); }; }; then |
5371 |
fptools_cv_htype_unsigned_short=`cat conftestval` |
12558 |
fptools_cv_htype_unsigned_short=`cat conftestval` |
5372 |
else |
12559 |
else |
5373 |
echo "configure: failed program was:" >&5 |
12560 |
echo "$as_me: program exited with status $ac_status" >&5 |
5374 |
cat conftest.$ac_ext >&5 |
12561 |
echo "$as_me: failed program was:" >&5 |
5375 |
rm -fr conftest* |
12562 |
cat conftest.$ac_ext >&5 |
5376 |
fptools_cv_htype_unsigned_short=NotReallyAType |
12563 |
( exit $ac_status ) |
5377 |
fi |
12564 |
fptools_cv_htype_unsigned_short=NotReallyAType |
5378 |
rm -fr conftest* |
12565 |
fi |
|
|
12566 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5379 |
fi |
12567 |
fi |
5380 |
|
|
|
5381 |
fi |
12568 |
fi |
5382 |
echo "$ac_t""$fptools_cv_htype_unsigned_short" 1>&6 |
12569 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_short" >&5 |
5383 |
cat >> confdefs.h <<EOF |
12570 |
echo "${ECHO_T}$fptools_cv_htype_unsigned_short" >&6 |
|
|
12571 |
cat >>confdefs.h <<_ACEOF |
5384 |
#define HTYPE_UNSIGNED_SHORT $fptools_cv_htype_unsigned_short |
12572 |
#define HTYPE_UNSIGNED_SHORT $fptools_cv_htype_unsigned_short |
5385 |
EOF |
12573 |
_ACEOF |
5386 |
|
12574 |
|
5387 |
|
12575 |
|
5388 |
echo $ac_n "checking Haskell type for int""... $ac_c" 1>&6 |
12576 |
echo "$as_me:$LINENO: checking Haskell type for int" >&5 |
5389 |
echo "configure:5390: checking Haskell type for int" >&5 |
12577 |
echo $ECHO_N "checking Haskell type for int... $ECHO_C" >&6 |
5390 |
if eval "test \"`echo '$''{'fptools_cv_htype_int'+set}'`\" = set"; then |
12578 |
if test "${fptools_cv_htype_int+set}" = set; then |
5391 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12579 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5392 |
else |
12580 |
else |
5393 |
if test "$cross_compiling" = yes; then |
12581 |
if test "$cross_compiling" = yes; then |
5394 |
fptools_cv_htype_int=NotReallyATypeCross |
12582 |
fptools_cv_htype_int=NotReallyATypeCross |
5395 |
else |
12583 |
else |
5396 |
cat > conftest.$ac_ext <<EOF |
12584 |
cat >conftest.$ac_ext <<_ACEOF |
5397 |
#line 5398 "configure" |
12585 |
#line $LINENO "configure" |
5398 |
#include "confdefs.h" |
12586 |
#include "confdefs.h" |
5399 |
#include <stdio.h> |
12587 |
#include <stdio.h> |
5400 |
#include <stddef.h> |
12588 |
#include <stddef.h> |
Lines 5456-5491
Link Here
|
5456 |
fclose(f); |
12644 |
fclose(f); |
5457 |
exit(0); |
12645 |
exit(0); |
5458 |
} |
12646 |
} |
5459 |
EOF |
12647 |
_ACEOF |
5460 |
if { (eval echo configure:5461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12648 |
rm -f conftest$ac_exeext |
5461 |
then |
12649 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12650 |
(eval $ac_link) 2>&5 |
12651 |
ac_status=$? |
12652 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12653 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12654 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12655 |
(eval $ac_try) 2>&5 |
12656 |
ac_status=$? |
12657 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12658 |
(exit $ac_status); }; }; then |
5462 |
fptools_cv_htype_int=`cat conftestval` |
12659 |
fptools_cv_htype_int=`cat conftestval` |
5463 |
else |
12660 |
else |
5464 |
echo "configure: failed program was:" >&5 |
12661 |
echo "$as_me: program exited with status $ac_status" >&5 |
5465 |
cat conftest.$ac_ext >&5 |
12662 |
echo "$as_me: failed program was:" >&5 |
5466 |
rm -fr conftest* |
12663 |
cat conftest.$ac_ext >&5 |
5467 |
fptools_cv_htype_int=NotReallyAType |
12664 |
( exit $ac_status ) |
5468 |
fi |
12665 |
fptools_cv_htype_int=NotReallyAType |
5469 |
rm -fr conftest* |
12666 |
fi |
|
|
12667 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5470 |
fi |
12668 |
fi |
5471 |
|
|
|
5472 |
fi |
12669 |
fi |
5473 |
echo "$ac_t""$fptools_cv_htype_int" 1>&6 |
12670 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_int" >&5 |
5474 |
cat >> confdefs.h <<EOF |
12671 |
echo "${ECHO_T}$fptools_cv_htype_int" >&6 |
|
|
12672 |
cat >>confdefs.h <<_ACEOF |
5475 |
#define HTYPE_INT $fptools_cv_htype_int |
12673 |
#define HTYPE_INT $fptools_cv_htype_int |
5476 |
EOF |
12674 |
_ACEOF |
5477 |
|
12675 |
|
5478 |
|
12676 |
|
5479 |
echo $ac_n "checking Haskell type for unsigned int""... $ac_c" 1>&6 |
12677 |
echo "$as_me:$LINENO: checking Haskell type for unsigned int" >&5 |
5480 |
echo "configure:5481: checking Haskell type for unsigned int" >&5 |
12678 |
echo $ECHO_N "checking Haskell type for unsigned int... $ECHO_C" >&6 |
5481 |
if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_int'+set}'`\" = set"; then |
12679 |
if test "${fptools_cv_htype_unsigned_int+set}" = set; then |
5482 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12680 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5483 |
else |
12681 |
else |
5484 |
if test "$cross_compiling" = yes; then |
12682 |
if test "$cross_compiling" = yes; then |
5485 |
fptools_cv_htype_unsigned_int=NotReallyATypeCross |
12683 |
fptools_cv_htype_unsigned_int=NotReallyATypeCross |
5486 |
else |
12684 |
else |
5487 |
cat > conftest.$ac_ext <<EOF |
12685 |
cat >conftest.$ac_ext <<_ACEOF |
5488 |
#line 5489 "configure" |
12686 |
#line $LINENO "configure" |
5489 |
#include "confdefs.h" |
12687 |
#include "confdefs.h" |
5490 |
#include <stdio.h> |
12688 |
#include <stdio.h> |
5491 |
#include <stddef.h> |
12689 |
#include <stddef.h> |
Lines 5547-5582
Link Here
|
5547 |
fclose(f); |
12745 |
fclose(f); |
5548 |
exit(0); |
12746 |
exit(0); |
5549 |
} |
12747 |
} |
5550 |
EOF |
12748 |
_ACEOF |
5551 |
if { (eval echo configure:5552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12749 |
rm -f conftest$ac_exeext |
5552 |
then |
12750 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12751 |
(eval $ac_link) 2>&5 |
12752 |
ac_status=$? |
12753 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12754 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12755 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12756 |
(eval $ac_try) 2>&5 |
12757 |
ac_status=$? |
12758 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12759 |
(exit $ac_status); }; }; then |
5553 |
fptools_cv_htype_unsigned_int=`cat conftestval` |
12760 |
fptools_cv_htype_unsigned_int=`cat conftestval` |
5554 |
else |
12761 |
else |
5555 |
echo "configure: failed program was:" >&5 |
12762 |
echo "$as_me: program exited with status $ac_status" >&5 |
5556 |
cat conftest.$ac_ext >&5 |
12763 |
echo "$as_me: failed program was:" >&5 |
5557 |
rm -fr conftest* |
12764 |
cat conftest.$ac_ext >&5 |
5558 |
fptools_cv_htype_unsigned_int=NotReallyAType |
12765 |
( exit $ac_status ) |
5559 |
fi |
12766 |
fptools_cv_htype_unsigned_int=NotReallyAType |
5560 |
rm -fr conftest* |
12767 |
fi |
|
|
12768 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5561 |
fi |
12769 |
fi |
5562 |
|
|
|
5563 |
fi |
12770 |
fi |
5564 |
echo "$ac_t""$fptools_cv_htype_unsigned_int" 1>&6 |
12771 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_int" >&5 |
5565 |
cat >> confdefs.h <<EOF |
12772 |
echo "${ECHO_T}$fptools_cv_htype_unsigned_int" >&6 |
|
|
12773 |
cat >>confdefs.h <<_ACEOF |
5566 |
#define HTYPE_UNSIGNED_INT $fptools_cv_htype_unsigned_int |
12774 |
#define HTYPE_UNSIGNED_INT $fptools_cv_htype_unsigned_int |
5567 |
EOF |
12775 |
_ACEOF |
5568 |
|
12776 |
|
5569 |
|
12777 |
|
5570 |
echo $ac_n "checking Haskell type for long""... $ac_c" 1>&6 |
12778 |
echo "$as_me:$LINENO: checking Haskell type for long" >&5 |
5571 |
echo "configure:5572: checking Haskell type for long" >&5 |
12779 |
echo $ECHO_N "checking Haskell type for long... $ECHO_C" >&6 |
5572 |
if eval "test \"`echo '$''{'fptools_cv_htype_long'+set}'`\" = set"; then |
12780 |
if test "${fptools_cv_htype_long+set}" = set; then |
5573 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12781 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5574 |
else |
12782 |
else |
5575 |
if test "$cross_compiling" = yes; then |
12783 |
if test "$cross_compiling" = yes; then |
5576 |
fptools_cv_htype_long=NotReallyATypeCross |
12784 |
fptools_cv_htype_long=NotReallyATypeCross |
5577 |
else |
12785 |
else |
5578 |
cat > conftest.$ac_ext <<EOF |
12786 |
cat >conftest.$ac_ext <<_ACEOF |
5579 |
#line 5580 "configure" |
12787 |
#line $LINENO "configure" |
5580 |
#include "confdefs.h" |
12788 |
#include "confdefs.h" |
5581 |
#include <stdio.h> |
12789 |
#include <stdio.h> |
5582 |
#include <stddef.h> |
12790 |
#include <stddef.h> |
Lines 5638-5673
Link Here
|
5638 |
fclose(f); |
12846 |
fclose(f); |
5639 |
exit(0); |
12847 |
exit(0); |
5640 |
} |
12848 |
} |
5641 |
EOF |
12849 |
_ACEOF |
5642 |
if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12850 |
rm -f conftest$ac_exeext |
5643 |
then |
12851 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12852 |
(eval $ac_link) 2>&5 |
12853 |
ac_status=$? |
12854 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12855 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12856 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12857 |
(eval $ac_try) 2>&5 |
12858 |
ac_status=$? |
12859 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12860 |
(exit $ac_status); }; }; then |
5644 |
fptools_cv_htype_long=`cat conftestval` |
12861 |
fptools_cv_htype_long=`cat conftestval` |
5645 |
else |
12862 |
else |
5646 |
echo "configure: failed program was:" >&5 |
12863 |
echo "$as_me: program exited with status $ac_status" >&5 |
5647 |
cat conftest.$ac_ext >&5 |
12864 |
echo "$as_me: failed program was:" >&5 |
5648 |
rm -fr conftest* |
12865 |
cat conftest.$ac_ext >&5 |
5649 |
fptools_cv_htype_long=NotReallyAType |
12866 |
( exit $ac_status ) |
5650 |
fi |
12867 |
fptools_cv_htype_long=NotReallyAType |
5651 |
rm -fr conftest* |
12868 |
fi |
|
|
12869 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5652 |
fi |
12870 |
fi |
5653 |
|
|
|
5654 |
fi |
12871 |
fi |
5655 |
echo "$ac_t""$fptools_cv_htype_long" 1>&6 |
12872 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_long" >&5 |
5656 |
cat >> confdefs.h <<EOF |
12873 |
echo "${ECHO_T}$fptools_cv_htype_long" >&6 |
|
|
12874 |
cat >>confdefs.h <<_ACEOF |
5657 |
#define HTYPE_LONG $fptools_cv_htype_long |
12875 |
#define HTYPE_LONG $fptools_cv_htype_long |
5658 |
EOF |
12876 |
_ACEOF |
5659 |
|
12877 |
|
5660 |
|
12878 |
|
5661 |
echo $ac_n "checking Haskell type for unsigned long""... $ac_c" 1>&6 |
12879 |
echo "$as_me:$LINENO: checking Haskell type for unsigned long" >&5 |
5662 |
echo "configure:5663: checking Haskell type for unsigned long" >&5 |
12880 |
echo $ECHO_N "checking Haskell type for unsigned long... $ECHO_C" >&6 |
5663 |
if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_long'+set}'`\" = set"; then |
12881 |
if test "${fptools_cv_htype_unsigned_long+set}" = set; then |
5664 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12882 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5665 |
else |
12883 |
else |
5666 |
if test "$cross_compiling" = yes; then |
12884 |
if test "$cross_compiling" = yes; then |
5667 |
fptools_cv_htype_unsigned_long=NotReallyATypeCross |
12885 |
fptools_cv_htype_unsigned_long=NotReallyATypeCross |
5668 |
else |
12886 |
else |
5669 |
cat > conftest.$ac_ext <<EOF |
12887 |
cat >conftest.$ac_ext <<_ACEOF |
5670 |
#line 5671 "configure" |
12888 |
#line $LINENO "configure" |
5671 |
#include "confdefs.h" |
12889 |
#include "confdefs.h" |
5672 |
#include <stdio.h> |
12890 |
#include <stdio.h> |
5673 |
#include <stddef.h> |
12891 |
#include <stddef.h> |
Lines 5729-5765
Link Here
|
5729 |
fclose(f); |
12947 |
fclose(f); |
5730 |
exit(0); |
12948 |
exit(0); |
5731 |
} |
12949 |
} |
5732 |
EOF |
12950 |
_ACEOF |
5733 |
if { (eval echo configure:5734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
12951 |
rm -f conftest$ac_exeext |
5734 |
then |
12952 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
12953 |
(eval $ac_link) 2>&5 |
12954 |
ac_status=$? |
12955 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12956 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
12957 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12958 |
(eval $ac_try) 2>&5 |
12959 |
ac_status=$? |
12960 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12961 |
(exit $ac_status); }; }; then |
5735 |
fptools_cv_htype_unsigned_long=`cat conftestval` |
12962 |
fptools_cv_htype_unsigned_long=`cat conftestval` |
5736 |
else |
12963 |
else |
5737 |
echo "configure: failed program was:" >&5 |
12964 |
echo "$as_me: program exited with status $ac_status" >&5 |
5738 |
cat conftest.$ac_ext >&5 |
12965 |
echo "$as_me: failed program was:" >&5 |
5739 |
rm -fr conftest* |
12966 |
cat conftest.$ac_ext >&5 |
5740 |
fptools_cv_htype_unsigned_long=NotReallyAType |
12967 |
( exit $ac_status ) |
5741 |
fi |
12968 |
fptools_cv_htype_unsigned_long=NotReallyAType |
5742 |
rm -fr conftest* |
12969 |
fi |
|
|
12970 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5743 |
fi |
12971 |
fi |
5744 |
|
|
|
5745 |
fi |
12972 |
fi |
5746 |
echo "$ac_t""$fptools_cv_htype_unsigned_long" 1>&6 |
12973 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_long" >&5 |
5747 |
cat >> confdefs.h <<EOF |
12974 |
echo "${ECHO_T}$fptools_cv_htype_unsigned_long" >&6 |
|
|
12975 |
cat >>confdefs.h <<_ACEOF |
5748 |
#define HTYPE_UNSIGNED_LONG $fptools_cv_htype_unsigned_long |
12976 |
#define HTYPE_UNSIGNED_LONG $fptools_cv_htype_unsigned_long |
5749 |
EOF |
12977 |
_ACEOF |
5750 |
|
12978 |
|
5751 |
|
12979 |
|
5752 |
if test "$fptools_cv_have_long_long" = yes; then |
12980 |
if test "$fptools_cv_have_long_long" = yes; then |
5753 |
echo $ac_n "checking Haskell type for long long""... $ac_c" 1>&6 |
12981 |
echo "$as_me:$LINENO: checking Haskell type for long long" >&5 |
5754 |
echo "configure:5755: checking Haskell type for long long" >&5 |
12982 |
echo $ECHO_N "checking Haskell type for long long... $ECHO_C" >&6 |
5755 |
if eval "test \"`echo '$''{'fptools_cv_htype_long_long'+set}'`\" = set"; then |
12983 |
if test "${fptools_cv_htype_long_long+set}" = set; then |
5756 |
echo $ac_n "(cached) $ac_c" 1>&6 |
12984 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5757 |
else |
12985 |
else |
5758 |
if test "$cross_compiling" = yes; then |
12986 |
if test "$cross_compiling" = yes; then |
5759 |
fptools_cv_htype_long_long=NotReallyATypeCross |
12987 |
fptools_cv_htype_long_long=NotReallyATypeCross |
5760 |
else |
12988 |
else |
5761 |
cat > conftest.$ac_ext <<EOF |
12989 |
cat >conftest.$ac_ext <<_ACEOF |
5762 |
#line 5763 "configure" |
12990 |
#line $LINENO "configure" |
5763 |
#include "confdefs.h" |
12991 |
#include "confdefs.h" |
5764 |
#include <stdio.h> |
12992 |
#include <stdio.h> |
5765 |
#include <stddef.h> |
12993 |
#include <stddef.h> |
Lines 5821-5856
Link Here
|
5821 |
fclose(f); |
13049 |
fclose(f); |
5822 |
exit(0); |
13050 |
exit(0); |
5823 |
} |
13051 |
} |
5824 |
EOF |
13052 |
_ACEOF |
5825 |
if { (eval echo configure:5826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13053 |
rm -f conftest$ac_exeext |
5826 |
then |
13054 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13055 |
(eval $ac_link) 2>&5 |
13056 |
ac_status=$? |
13057 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13058 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13059 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13060 |
(eval $ac_try) 2>&5 |
13061 |
ac_status=$? |
13062 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13063 |
(exit $ac_status); }; }; then |
5827 |
fptools_cv_htype_long_long=`cat conftestval` |
13064 |
fptools_cv_htype_long_long=`cat conftestval` |
5828 |
else |
13065 |
else |
5829 |
echo "configure: failed program was:" >&5 |
13066 |
echo "$as_me: program exited with status $ac_status" >&5 |
5830 |
cat conftest.$ac_ext >&5 |
13067 |
echo "$as_me: failed program was:" >&5 |
5831 |
rm -fr conftest* |
13068 |
cat conftest.$ac_ext >&5 |
5832 |
fptools_cv_htype_long_long=NotReallyAType |
13069 |
( exit $ac_status ) |
5833 |
fi |
13070 |
fptools_cv_htype_long_long=NotReallyAType |
5834 |
rm -fr conftest* |
13071 |
fi |
|
|
13072 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5835 |
fi |
13073 |
fi |
5836 |
|
|
|
5837 |
fi |
13074 |
fi |
5838 |
echo "$ac_t""$fptools_cv_htype_long_long" 1>&6 |
13075 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_long_long" >&5 |
5839 |
cat >> confdefs.h <<EOF |
13076 |
echo "${ECHO_T}$fptools_cv_htype_long_long" >&6 |
|
|
13077 |
cat >>confdefs.h <<_ACEOF |
5840 |
#define HTYPE_LONG_LONG $fptools_cv_htype_long_long |
13078 |
#define HTYPE_LONG_LONG $fptools_cv_htype_long_long |
5841 |
EOF |
13079 |
_ACEOF |
5842 |
|
13080 |
|
5843 |
|
13081 |
|
5844 |
echo $ac_n "checking Haskell type for unsigned long long""... $ac_c" 1>&6 |
13082 |
echo "$as_me:$LINENO: checking Haskell type for unsigned long long" >&5 |
5845 |
echo "configure:5846: checking Haskell type for unsigned long long" >&5 |
13083 |
echo $ECHO_N "checking Haskell type for unsigned long long... $ECHO_C" >&6 |
5846 |
if eval "test \"`echo '$''{'fptools_cv_htype_unsigned_long_long'+set}'`\" = set"; then |
13084 |
if test "${fptools_cv_htype_unsigned_long_long+set}" = set; then |
5847 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13085 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5848 |
else |
13086 |
else |
5849 |
if test "$cross_compiling" = yes; then |
13087 |
if test "$cross_compiling" = yes; then |
5850 |
fptools_cv_htype_unsigned_long_long=NotReallyATypeCross |
13088 |
fptools_cv_htype_unsigned_long_long=NotReallyATypeCross |
5851 |
else |
13089 |
else |
5852 |
cat > conftest.$ac_ext <<EOF |
13090 |
cat >conftest.$ac_ext <<_ACEOF |
5853 |
#line 5854 "configure" |
13091 |
#line $LINENO "configure" |
5854 |
#include "confdefs.h" |
13092 |
#include "confdefs.h" |
5855 |
#include <stdio.h> |
13093 |
#include <stdio.h> |
5856 |
#include <stddef.h> |
13094 |
#include <stddef.h> |
Lines 5912-5948
Link Here
|
5912 |
fclose(f); |
13150 |
fclose(f); |
5913 |
exit(0); |
13151 |
exit(0); |
5914 |
} |
13152 |
} |
5915 |
EOF |
13153 |
_ACEOF |
5916 |
if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13154 |
rm -f conftest$ac_exeext |
5917 |
then |
13155 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13156 |
(eval $ac_link) 2>&5 |
13157 |
ac_status=$? |
13158 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13159 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13160 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13161 |
(eval $ac_try) 2>&5 |
13162 |
ac_status=$? |
13163 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13164 |
(exit $ac_status); }; }; then |
5918 |
fptools_cv_htype_unsigned_long_long=`cat conftestval` |
13165 |
fptools_cv_htype_unsigned_long_long=`cat conftestval` |
5919 |
else |
13166 |
else |
5920 |
echo "configure: failed program was:" >&5 |
13167 |
echo "$as_me: program exited with status $ac_status" >&5 |
5921 |
cat conftest.$ac_ext >&5 |
13168 |
echo "$as_me: failed program was:" >&5 |
5922 |
rm -fr conftest* |
13169 |
cat conftest.$ac_ext >&5 |
5923 |
fptools_cv_htype_unsigned_long_long=NotReallyAType |
13170 |
( exit $ac_status ) |
5924 |
fi |
13171 |
fptools_cv_htype_unsigned_long_long=NotReallyAType |
5925 |
rm -fr conftest* |
13172 |
fi |
|
|
13173 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
5926 |
fi |
13174 |
fi |
5927 |
|
|
|
5928 |
fi |
13175 |
fi |
5929 |
echo "$ac_t""$fptools_cv_htype_unsigned_long_long" 1>&6 |
13176 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_unsigned_long_long" >&5 |
5930 |
cat >> confdefs.h <<EOF |
13177 |
echo "${ECHO_T}$fptools_cv_htype_unsigned_long_long" >&6 |
|
|
13178 |
cat >>confdefs.h <<_ACEOF |
5931 |
#define HTYPE_UNSIGNED_LONG_LONG $fptools_cv_htype_unsigned_long_long |
13179 |
#define HTYPE_UNSIGNED_LONG_LONG $fptools_cv_htype_unsigned_long_long |
5932 |
EOF |
13180 |
_ACEOF |
5933 |
|
13181 |
|
5934 |
|
13182 |
|
5935 |
fi |
13183 |
fi |
5936 |
echo $ac_n "checking Haskell type for float""... $ac_c" 1>&6 |
13184 |
echo "$as_me:$LINENO: checking Haskell type for float" >&5 |
5937 |
echo "configure:5938: checking Haskell type for float" >&5 |
13185 |
echo $ECHO_N "checking Haskell type for float... $ECHO_C" >&6 |
5938 |
if eval "test \"`echo '$''{'fptools_cv_htype_float'+set}'`\" = set"; then |
13186 |
if test "${fptools_cv_htype_float+set}" = set; then |
5939 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13187 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
5940 |
else |
13188 |
else |
5941 |
if test "$cross_compiling" = yes; then |
13189 |
if test "$cross_compiling" = yes; then |
5942 |
fptools_cv_htype_float=NotReallyATypeCross |
13190 |
fptools_cv_htype_float=NotReallyATypeCross |
5943 |
else |
13191 |
else |
5944 |
cat > conftest.$ac_ext <<EOF |
13192 |
cat >conftest.$ac_ext <<_ACEOF |
5945 |
#line 5946 "configure" |
13193 |
#line $LINENO "configure" |
5946 |
#include "confdefs.h" |
13194 |
#include "confdefs.h" |
5947 |
#include <stdio.h> |
13195 |
#include <stdio.h> |
5948 |
#include <stddef.h> |
13196 |
#include <stddef.h> |
Lines 6004-6039
Link Here
|
6004 |
fclose(f); |
13252 |
fclose(f); |
6005 |
exit(0); |
13253 |
exit(0); |
6006 |
} |
13254 |
} |
6007 |
EOF |
13255 |
_ACEOF |
6008 |
if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13256 |
rm -f conftest$ac_exeext |
6009 |
then |
13257 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13258 |
(eval $ac_link) 2>&5 |
13259 |
ac_status=$? |
13260 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13261 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13262 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13263 |
(eval $ac_try) 2>&5 |
13264 |
ac_status=$? |
13265 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13266 |
(exit $ac_status); }; }; then |
6010 |
fptools_cv_htype_float=`cat conftestval` |
13267 |
fptools_cv_htype_float=`cat conftestval` |
6011 |
else |
13268 |
else |
6012 |
echo "configure: failed program was:" >&5 |
13269 |
echo "$as_me: program exited with status $ac_status" >&5 |
6013 |
cat conftest.$ac_ext >&5 |
13270 |
echo "$as_me: failed program was:" >&5 |
6014 |
rm -fr conftest* |
13271 |
cat conftest.$ac_ext >&5 |
6015 |
fptools_cv_htype_float=NotReallyAType |
13272 |
( exit $ac_status ) |
6016 |
fi |
13273 |
fptools_cv_htype_float=NotReallyAType |
6017 |
rm -fr conftest* |
13274 |
fi |
|
|
13275 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6018 |
fi |
13276 |
fi |
6019 |
|
|
|
6020 |
fi |
13277 |
fi |
6021 |
echo "$ac_t""$fptools_cv_htype_float" 1>&6 |
13278 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_float" >&5 |
6022 |
cat >> confdefs.h <<EOF |
13279 |
echo "${ECHO_T}$fptools_cv_htype_float" >&6 |
|
|
13280 |
cat >>confdefs.h <<_ACEOF |
6023 |
#define HTYPE_FLOAT $fptools_cv_htype_float |
13281 |
#define HTYPE_FLOAT $fptools_cv_htype_float |
6024 |
EOF |
13282 |
_ACEOF |
6025 |
|
13283 |
|
6026 |
|
13284 |
|
6027 |
echo $ac_n "checking Haskell type for double""... $ac_c" 1>&6 |
13285 |
echo "$as_me:$LINENO: checking Haskell type for double" >&5 |
6028 |
echo "configure:6029: checking Haskell type for double" >&5 |
13286 |
echo $ECHO_N "checking Haskell type for double... $ECHO_C" >&6 |
6029 |
if eval "test \"`echo '$''{'fptools_cv_htype_double'+set}'`\" = set"; then |
13287 |
if test "${fptools_cv_htype_double+set}" = set; then |
6030 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13288 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6031 |
else |
13289 |
else |
6032 |
if test "$cross_compiling" = yes; then |
13290 |
if test "$cross_compiling" = yes; then |
6033 |
fptools_cv_htype_double=NotReallyATypeCross |
13291 |
fptools_cv_htype_double=NotReallyATypeCross |
6034 |
else |
13292 |
else |
6035 |
cat > conftest.$ac_ext <<EOF |
13293 |
cat >conftest.$ac_ext <<_ACEOF |
6036 |
#line 6037 "configure" |
13294 |
#line $LINENO "configure" |
6037 |
#include "confdefs.h" |
13295 |
#include "confdefs.h" |
6038 |
#include <stdio.h> |
13296 |
#include <stdio.h> |
6039 |
#include <stddef.h> |
13297 |
#include <stddef.h> |
Lines 6095-6130
Link Here
|
6095 |
fclose(f); |
13353 |
fclose(f); |
6096 |
exit(0); |
13354 |
exit(0); |
6097 |
} |
13355 |
} |
6098 |
EOF |
13356 |
_ACEOF |
6099 |
if { (eval echo configure:6100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13357 |
rm -f conftest$ac_exeext |
6100 |
then |
13358 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13359 |
(eval $ac_link) 2>&5 |
13360 |
ac_status=$? |
13361 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13362 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13363 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13364 |
(eval $ac_try) 2>&5 |
13365 |
ac_status=$? |
13366 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13367 |
(exit $ac_status); }; }; then |
6101 |
fptools_cv_htype_double=`cat conftestval` |
13368 |
fptools_cv_htype_double=`cat conftestval` |
6102 |
else |
13369 |
else |
6103 |
echo "configure: failed program was:" >&5 |
13370 |
echo "$as_me: program exited with status $ac_status" >&5 |
6104 |
cat conftest.$ac_ext >&5 |
13371 |
echo "$as_me: failed program was:" >&5 |
6105 |
rm -fr conftest* |
13372 |
cat conftest.$ac_ext >&5 |
6106 |
fptools_cv_htype_double=NotReallyAType |
13373 |
( exit $ac_status ) |
6107 |
fi |
13374 |
fptools_cv_htype_double=NotReallyAType |
6108 |
rm -fr conftest* |
13375 |
fi |
|
|
13376 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6109 |
fi |
13377 |
fi |
6110 |
|
|
|
6111 |
fi |
13378 |
fi |
6112 |
echo "$ac_t""$fptools_cv_htype_double" 1>&6 |
13379 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_double" >&5 |
6113 |
cat >> confdefs.h <<EOF |
13380 |
echo "${ECHO_T}$fptools_cv_htype_double" >&6 |
|
|
13381 |
cat >>confdefs.h <<_ACEOF |
6114 |
#define HTYPE_DOUBLE $fptools_cv_htype_double |
13382 |
#define HTYPE_DOUBLE $fptools_cv_htype_double |
6115 |
EOF |
13383 |
_ACEOF |
6116 |
|
13384 |
|
6117 |
|
13385 |
|
6118 |
echo $ac_n "checking Haskell type for ptrdiff_t""... $ac_c" 1>&6 |
13386 |
echo "$as_me:$LINENO: checking Haskell type for ptrdiff_t" >&5 |
6119 |
echo "configure:6120: checking Haskell type for ptrdiff_t" >&5 |
13387 |
echo $ECHO_N "checking Haskell type for ptrdiff_t... $ECHO_C" >&6 |
6120 |
if eval "test \"`echo '$''{'fptools_cv_htype_ptrdiff_t'+set}'`\" = set"; then |
13388 |
if test "${fptools_cv_htype_ptrdiff_t+set}" = set; then |
6121 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13389 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6122 |
else |
13390 |
else |
6123 |
if test "$cross_compiling" = yes; then |
13391 |
if test "$cross_compiling" = yes; then |
6124 |
fptools_cv_htype_ptrdiff_t=NotReallyATypeCross |
13392 |
fptools_cv_htype_ptrdiff_t=NotReallyATypeCross |
6125 |
else |
13393 |
else |
6126 |
cat > conftest.$ac_ext <<EOF |
13394 |
cat >conftest.$ac_ext <<_ACEOF |
6127 |
#line 6128 "configure" |
13395 |
#line $LINENO "configure" |
6128 |
#include "confdefs.h" |
13396 |
#include "confdefs.h" |
6129 |
#include <stdio.h> |
13397 |
#include <stdio.h> |
6130 |
#include <stddef.h> |
13398 |
#include <stddef.h> |
Lines 6186-6221
Link Here
|
6186 |
fclose(f); |
13454 |
fclose(f); |
6187 |
exit(0); |
13455 |
exit(0); |
6188 |
} |
13456 |
} |
6189 |
EOF |
13457 |
_ACEOF |
6190 |
if { (eval echo configure:6191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13458 |
rm -f conftest$ac_exeext |
6191 |
then |
13459 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13460 |
(eval $ac_link) 2>&5 |
13461 |
ac_status=$? |
13462 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13463 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13464 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13465 |
(eval $ac_try) 2>&5 |
13466 |
ac_status=$? |
13467 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13468 |
(exit $ac_status); }; }; then |
6192 |
fptools_cv_htype_ptrdiff_t=`cat conftestval` |
13469 |
fptools_cv_htype_ptrdiff_t=`cat conftestval` |
6193 |
else |
13470 |
else |
6194 |
echo "configure: failed program was:" >&5 |
13471 |
echo "$as_me: program exited with status $ac_status" >&5 |
6195 |
cat conftest.$ac_ext >&5 |
13472 |
echo "$as_me: failed program was:" >&5 |
6196 |
rm -fr conftest* |
13473 |
cat conftest.$ac_ext >&5 |
6197 |
fptools_cv_htype_ptrdiff_t=NotReallyAType |
13474 |
( exit $ac_status ) |
6198 |
fi |
13475 |
fptools_cv_htype_ptrdiff_t=NotReallyAType |
6199 |
rm -fr conftest* |
13476 |
fi |
|
|
13477 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6200 |
fi |
13478 |
fi |
6201 |
|
|
|
6202 |
fi |
13479 |
fi |
6203 |
echo "$ac_t""$fptools_cv_htype_ptrdiff_t" 1>&6 |
13480 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_ptrdiff_t" >&5 |
6204 |
cat >> confdefs.h <<EOF |
13481 |
echo "${ECHO_T}$fptools_cv_htype_ptrdiff_t" >&6 |
|
|
13482 |
cat >>confdefs.h <<_ACEOF |
6205 |
#define HTYPE_PTRDIFF_T $fptools_cv_htype_ptrdiff_t |
13483 |
#define HTYPE_PTRDIFF_T $fptools_cv_htype_ptrdiff_t |
6206 |
EOF |
13484 |
_ACEOF |
6207 |
|
13485 |
|
6208 |
|
13486 |
|
6209 |
echo $ac_n "checking Haskell type for size_t""... $ac_c" 1>&6 |
13487 |
echo "$as_me:$LINENO: checking Haskell type for size_t" >&5 |
6210 |
echo "configure:6211: checking Haskell type for size_t" >&5 |
13488 |
echo $ECHO_N "checking Haskell type for size_t... $ECHO_C" >&6 |
6211 |
if eval "test \"`echo '$''{'fptools_cv_htype_size_t'+set}'`\" = set"; then |
13489 |
if test "${fptools_cv_htype_size_t+set}" = set; then |
6212 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13490 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6213 |
else |
13491 |
else |
6214 |
if test "$cross_compiling" = yes; then |
13492 |
if test "$cross_compiling" = yes; then |
6215 |
fptools_cv_htype_size_t=NotReallyATypeCross |
13493 |
fptools_cv_htype_size_t=NotReallyATypeCross |
6216 |
else |
13494 |
else |
6217 |
cat > conftest.$ac_ext <<EOF |
13495 |
cat >conftest.$ac_ext <<_ACEOF |
6218 |
#line 6219 "configure" |
13496 |
#line $LINENO "configure" |
6219 |
#include "confdefs.h" |
13497 |
#include "confdefs.h" |
6220 |
#include <stdio.h> |
13498 |
#include <stdio.h> |
6221 |
#include <stddef.h> |
13499 |
#include <stddef.h> |
Lines 6277-6312
Link Here
|
6277 |
fclose(f); |
13555 |
fclose(f); |
6278 |
exit(0); |
13556 |
exit(0); |
6279 |
} |
13557 |
} |
6280 |
EOF |
13558 |
_ACEOF |
6281 |
if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13559 |
rm -f conftest$ac_exeext |
6282 |
then |
13560 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13561 |
(eval $ac_link) 2>&5 |
13562 |
ac_status=$? |
13563 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13564 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13565 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13566 |
(eval $ac_try) 2>&5 |
13567 |
ac_status=$? |
13568 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13569 |
(exit $ac_status); }; }; then |
6283 |
fptools_cv_htype_size_t=`cat conftestval` |
13570 |
fptools_cv_htype_size_t=`cat conftestval` |
6284 |
else |
13571 |
else |
6285 |
echo "configure: failed program was:" >&5 |
13572 |
echo "$as_me: program exited with status $ac_status" >&5 |
6286 |
cat conftest.$ac_ext >&5 |
13573 |
echo "$as_me: failed program was:" >&5 |
6287 |
rm -fr conftest* |
13574 |
cat conftest.$ac_ext >&5 |
6288 |
fptools_cv_htype_size_t=NotReallyAType |
13575 |
( exit $ac_status ) |
6289 |
fi |
13576 |
fptools_cv_htype_size_t=NotReallyAType |
6290 |
rm -fr conftest* |
13577 |
fi |
|
|
13578 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6291 |
fi |
13579 |
fi |
6292 |
|
|
|
6293 |
fi |
13580 |
fi |
6294 |
echo "$ac_t""$fptools_cv_htype_size_t" 1>&6 |
13581 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_size_t" >&5 |
6295 |
cat >> confdefs.h <<EOF |
13582 |
echo "${ECHO_T}$fptools_cv_htype_size_t" >&6 |
|
|
13583 |
cat >>confdefs.h <<_ACEOF |
6296 |
#define HTYPE_SIZE_T $fptools_cv_htype_size_t |
13584 |
#define HTYPE_SIZE_T $fptools_cv_htype_size_t |
6297 |
EOF |
13585 |
_ACEOF |
6298 |
|
13586 |
|
6299 |
|
13587 |
|
6300 |
echo $ac_n "checking Haskell type for wchar_t""... $ac_c" 1>&6 |
13588 |
echo "$as_me:$LINENO: checking Haskell type for wchar_t" >&5 |
6301 |
echo "configure:6302: checking Haskell type for wchar_t" >&5 |
13589 |
echo $ECHO_N "checking Haskell type for wchar_t... $ECHO_C" >&6 |
6302 |
if eval "test \"`echo '$''{'fptools_cv_htype_wchar_t'+set}'`\" = set"; then |
13590 |
if test "${fptools_cv_htype_wchar_t+set}" = set; then |
6303 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13591 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6304 |
else |
13592 |
else |
6305 |
if test "$cross_compiling" = yes; then |
13593 |
if test "$cross_compiling" = yes; then |
6306 |
fptools_cv_htype_wchar_t=NotReallyATypeCross |
13594 |
fptools_cv_htype_wchar_t=NotReallyATypeCross |
6307 |
else |
13595 |
else |
6308 |
cat > conftest.$ac_ext <<EOF |
13596 |
cat >conftest.$ac_ext <<_ACEOF |
6309 |
#line 6310 "configure" |
13597 |
#line $LINENO "configure" |
6310 |
#include "confdefs.h" |
13598 |
#include "confdefs.h" |
6311 |
#include <stdio.h> |
13599 |
#include <stdio.h> |
6312 |
#include <stddef.h> |
13600 |
#include <stddef.h> |
Lines 6368-6403
Link Here
|
6368 |
fclose(f); |
13656 |
fclose(f); |
6369 |
exit(0); |
13657 |
exit(0); |
6370 |
} |
13658 |
} |
6371 |
EOF |
13659 |
_ACEOF |
6372 |
if { (eval echo configure:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13660 |
rm -f conftest$ac_exeext |
6373 |
then |
13661 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13662 |
(eval $ac_link) 2>&5 |
13663 |
ac_status=$? |
13664 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13665 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13666 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13667 |
(eval $ac_try) 2>&5 |
13668 |
ac_status=$? |
13669 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13670 |
(exit $ac_status); }; }; then |
6374 |
fptools_cv_htype_wchar_t=`cat conftestval` |
13671 |
fptools_cv_htype_wchar_t=`cat conftestval` |
6375 |
else |
13672 |
else |
6376 |
echo "configure: failed program was:" >&5 |
13673 |
echo "$as_me: program exited with status $ac_status" >&5 |
6377 |
cat conftest.$ac_ext >&5 |
13674 |
echo "$as_me: failed program was:" >&5 |
6378 |
rm -fr conftest* |
13675 |
cat conftest.$ac_ext >&5 |
6379 |
fptools_cv_htype_wchar_t=NotReallyAType |
13676 |
( exit $ac_status ) |
6380 |
fi |
13677 |
fptools_cv_htype_wchar_t=NotReallyAType |
6381 |
rm -fr conftest* |
13678 |
fi |
|
|
13679 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6382 |
fi |
13680 |
fi |
6383 |
|
|
|
6384 |
fi |
13681 |
fi |
6385 |
echo "$ac_t""$fptools_cv_htype_wchar_t" 1>&6 |
13682 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_wchar_t" >&5 |
6386 |
cat >> confdefs.h <<EOF |
13683 |
echo "${ECHO_T}$fptools_cv_htype_wchar_t" >&6 |
|
|
13684 |
cat >>confdefs.h <<_ACEOF |
6387 |
#define HTYPE_WCHAR_T $fptools_cv_htype_wchar_t |
13685 |
#define HTYPE_WCHAR_T $fptools_cv_htype_wchar_t |
6388 |
EOF |
13686 |
_ACEOF |
6389 |
|
13687 |
|
6390 |
|
13688 |
|
6391 |
echo $ac_n "checking Haskell type for sig_atomic_t""... $ac_c" 1>&6 |
13689 |
echo "$as_me:$LINENO: checking Haskell type for sig_atomic_t" >&5 |
6392 |
echo "configure:6393: checking Haskell type for sig_atomic_t" >&5 |
13690 |
echo $ECHO_N "checking Haskell type for sig_atomic_t... $ECHO_C" >&6 |
6393 |
if eval "test \"`echo '$''{'fptools_cv_htype_sig_atomic_t'+set}'`\" = set"; then |
13691 |
if test "${fptools_cv_htype_sig_atomic_t+set}" = set; then |
6394 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13692 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6395 |
else |
13693 |
else |
6396 |
if test "$cross_compiling" = yes; then |
13694 |
if test "$cross_compiling" = yes; then |
6397 |
fptools_cv_htype_sig_atomic_t=NotReallyATypeCross |
13695 |
fptools_cv_htype_sig_atomic_t=NotReallyATypeCross |
6398 |
else |
13696 |
else |
6399 |
cat > conftest.$ac_ext <<EOF |
13697 |
cat >conftest.$ac_ext <<_ACEOF |
6400 |
#line 6401 "configure" |
13698 |
#line $LINENO "configure" |
6401 |
#include "confdefs.h" |
13699 |
#include "confdefs.h" |
6402 |
#include <stdio.h> |
13700 |
#include <stdio.h> |
6403 |
#include <stddef.h> |
13701 |
#include <stddef.h> |
Lines 6459-6494
Link Here
|
6459 |
fclose(f); |
13757 |
fclose(f); |
6460 |
exit(0); |
13758 |
exit(0); |
6461 |
} |
13759 |
} |
6462 |
EOF |
13760 |
_ACEOF |
6463 |
if { (eval echo configure:6464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13761 |
rm -f conftest$ac_exeext |
6464 |
then |
13762 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13763 |
(eval $ac_link) 2>&5 |
13764 |
ac_status=$? |
13765 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13766 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13767 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13768 |
(eval $ac_try) 2>&5 |
13769 |
ac_status=$? |
13770 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13771 |
(exit $ac_status); }; }; then |
6465 |
fptools_cv_htype_sig_atomic_t=`cat conftestval` |
13772 |
fptools_cv_htype_sig_atomic_t=`cat conftestval` |
6466 |
else |
13773 |
else |
6467 |
echo "configure: failed program was:" >&5 |
13774 |
echo "$as_me: program exited with status $ac_status" >&5 |
6468 |
cat conftest.$ac_ext >&5 |
13775 |
echo "$as_me: failed program was:" >&5 |
6469 |
rm -fr conftest* |
13776 |
cat conftest.$ac_ext >&5 |
6470 |
fptools_cv_htype_sig_atomic_t=Int32 |
13777 |
( exit $ac_status ) |
6471 |
fi |
13778 |
fptools_cv_htype_sig_atomic_t=Int32 |
6472 |
rm -fr conftest* |
13779 |
fi |
|
|
13780 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6473 |
fi |
13781 |
fi |
6474 |
|
|
|
6475 |
fi |
13782 |
fi |
6476 |
echo "$ac_t""$fptools_cv_htype_sig_atomic_t" 1>&6 |
13783 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_sig_atomic_t" >&5 |
6477 |
cat >> confdefs.h <<EOF |
13784 |
echo "${ECHO_T}$fptools_cv_htype_sig_atomic_t" >&6 |
|
|
13785 |
cat >>confdefs.h <<_ACEOF |
6478 |
#define HTYPE_SIG_ATOMIC_T $fptools_cv_htype_sig_atomic_t |
13786 |
#define HTYPE_SIG_ATOMIC_T $fptools_cv_htype_sig_atomic_t |
6479 |
EOF |
13787 |
_ACEOF |
6480 |
|
13788 |
|
6481 |
|
13789 |
|
6482 |
echo $ac_n "checking Haskell type for clock_t""... $ac_c" 1>&6 |
13790 |
echo "$as_me:$LINENO: checking Haskell type for clock_t" >&5 |
6483 |
echo "configure:6484: checking Haskell type for clock_t" >&5 |
13791 |
echo $ECHO_N "checking Haskell type for clock_t... $ECHO_C" >&6 |
6484 |
if eval "test \"`echo '$''{'fptools_cv_htype_clock_t'+set}'`\" = set"; then |
13792 |
if test "${fptools_cv_htype_clock_t+set}" = set; then |
6485 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13793 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6486 |
else |
13794 |
else |
6487 |
if test "$cross_compiling" = yes; then |
13795 |
if test "$cross_compiling" = yes; then |
6488 |
fptools_cv_htype_clock_t=NotReallyATypeCross |
13796 |
fptools_cv_htype_clock_t=NotReallyATypeCross |
6489 |
else |
13797 |
else |
6490 |
cat > conftest.$ac_ext <<EOF |
13798 |
cat >conftest.$ac_ext <<_ACEOF |
6491 |
#line 6492 "configure" |
13799 |
#line $LINENO "configure" |
6492 |
#include "confdefs.h" |
13800 |
#include "confdefs.h" |
6493 |
#include <stdio.h> |
13801 |
#include <stdio.h> |
6494 |
#include <stddef.h> |
13802 |
#include <stddef.h> |
Lines 6550-6585
Link Here
|
6550 |
fclose(f); |
13858 |
fclose(f); |
6551 |
exit(0); |
13859 |
exit(0); |
6552 |
} |
13860 |
} |
6553 |
EOF |
13861 |
_ACEOF |
6554 |
if { (eval echo configure:6555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13862 |
rm -f conftest$ac_exeext |
6555 |
then |
13863 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13864 |
(eval $ac_link) 2>&5 |
13865 |
ac_status=$? |
13866 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13867 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13868 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13869 |
(eval $ac_try) 2>&5 |
13870 |
ac_status=$? |
13871 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13872 |
(exit $ac_status); }; }; then |
6556 |
fptools_cv_htype_clock_t=`cat conftestval` |
13873 |
fptools_cv_htype_clock_t=`cat conftestval` |
6557 |
else |
13874 |
else |
6558 |
echo "configure: failed program was:" >&5 |
13875 |
echo "$as_me: program exited with status $ac_status" >&5 |
6559 |
cat conftest.$ac_ext >&5 |
13876 |
echo "$as_me: failed program was:" >&5 |
6560 |
rm -fr conftest* |
13877 |
cat conftest.$ac_ext >&5 |
6561 |
fptools_cv_htype_clock_t=NotReallyAType |
13878 |
( exit $ac_status ) |
6562 |
fi |
13879 |
fptools_cv_htype_clock_t=NotReallyAType |
6563 |
rm -fr conftest* |
13880 |
fi |
|
|
13881 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6564 |
fi |
13882 |
fi |
6565 |
|
|
|
6566 |
fi |
13883 |
fi |
6567 |
echo "$ac_t""$fptools_cv_htype_clock_t" 1>&6 |
13884 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_clock_t" >&5 |
6568 |
cat >> confdefs.h <<EOF |
13885 |
echo "${ECHO_T}$fptools_cv_htype_clock_t" >&6 |
|
|
13886 |
cat >>confdefs.h <<_ACEOF |
6569 |
#define HTYPE_CLOCK_T $fptools_cv_htype_clock_t |
13887 |
#define HTYPE_CLOCK_T $fptools_cv_htype_clock_t |
6570 |
EOF |
13888 |
_ACEOF |
6571 |
|
13889 |
|
6572 |
|
13890 |
|
6573 |
echo $ac_n "checking Haskell type for time_t""... $ac_c" 1>&6 |
13891 |
echo "$as_me:$LINENO: checking Haskell type for time_t" >&5 |
6574 |
echo "configure:6575: checking Haskell type for time_t" >&5 |
13892 |
echo $ECHO_N "checking Haskell type for time_t... $ECHO_C" >&6 |
6575 |
if eval "test \"`echo '$''{'fptools_cv_htype_time_t'+set}'`\" = set"; then |
13893 |
if test "${fptools_cv_htype_time_t+set}" = set; then |
6576 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13894 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6577 |
else |
13895 |
else |
6578 |
if test "$cross_compiling" = yes; then |
13896 |
if test "$cross_compiling" = yes; then |
6579 |
fptools_cv_htype_time_t=NotReallyATypeCross |
13897 |
fptools_cv_htype_time_t=NotReallyATypeCross |
6580 |
else |
13898 |
else |
6581 |
cat > conftest.$ac_ext <<EOF |
13899 |
cat >conftest.$ac_ext <<_ACEOF |
6582 |
#line 6583 "configure" |
13900 |
#line $LINENO "configure" |
6583 |
#include "confdefs.h" |
13901 |
#include "confdefs.h" |
6584 |
#include <stdio.h> |
13902 |
#include <stdio.h> |
6585 |
#include <stddef.h> |
13903 |
#include <stddef.h> |
Lines 6641-6676
Link Here
|
6641 |
fclose(f); |
13959 |
fclose(f); |
6642 |
exit(0); |
13960 |
exit(0); |
6643 |
} |
13961 |
} |
6644 |
EOF |
13962 |
_ACEOF |
6645 |
if { (eval echo configure:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
13963 |
rm -f conftest$ac_exeext |
6646 |
then |
13964 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
13965 |
(eval $ac_link) 2>&5 |
13966 |
ac_status=$? |
13967 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13968 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
13969 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
13970 |
(eval $ac_try) 2>&5 |
13971 |
ac_status=$? |
13972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
13973 |
(exit $ac_status); }; }; then |
6647 |
fptools_cv_htype_time_t=`cat conftestval` |
13974 |
fptools_cv_htype_time_t=`cat conftestval` |
6648 |
else |
13975 |
else |
6649 |
echo "configure: failed program was:" >&5 |
13976 |
echo "$as_me: program exited with status $ac_status" >&5 |
6650 |
cat conftest.$ac_ext >&5 |
13977 |
echo "$as_me: failed program was:" >&5 |
6651 |
rm -fr conftest* |
13978 |
cat conftest.$ac_ext >&5 |
6652 |
fptools_cv_htype_time_t=NotReallyAType |
13979 |
( exit $ac_status ) |
6653 |
fi |
13980 |
fptools_cv_htype_time_t=NotReallyAType |
6654 |
rm -fr conftest* |
13981 |
fi |
|
|
13982 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6655 |
fi |
13983 |
fi |
6656 |
|
|
|
6657 |
fi |
13984 |
fi |
6658 |
echo "$ac_t""$fptools_cv_htype_time_t" 1>&6 |
13985 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_time_t" >&5 |
6659 |
cat >> confdefs.h <<EOF |
13986 |
echo "${ECHO_T}$fptools_cv_htype_time_t" >&6 |
|
|
13987 |
cat >>confdefs.h <<_ACEOF |
6660 |
#define HTYPE_TIME_T $fptools_cv_htype_time_t |
13988 |
#define HTYPE_TIME_T $fptools_cv_htype_time_t |
6661 |
EOF |
13989 |
_ACEOF |
6662 |
|
13990 |
|
6663 |
|
13991 |
|
6664 |
echo $ac_n "checking Haskell type for dev_t""... $ac_c" 1>&6 |
13992 |
echo "$as_me:$LINENO: checking Haskell type for dev_t" >&5 |
6665 |
echo "configure:6666: checking Haskell type for dev_t" >&5 |
13993 |
echo $ECHO_N "checking Haskell type for dev_t... $ECHO_C" >&6 |
6666 |
if eval "test \"`echo '$''{'fptools_cv_htype_dev_t'+set}'`\" = set"; then |
13994 |
if test "${fptools_cv_htype_dev_t+set}" = set; then |
6667 |
echo $ac_n "(cached) $ac_c" 1>&6 |
13995 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6668 |
else |
13996 |
else |
6669 |
if test "$cross_compiling" = yes; then |
13997 |
if test "$cross_compiling" = yes; then |
6670 |
fptools_cv_htype_dev_t=NotReallyATypeCross |
13998 |
fptools_cv_htype_dev_t=NotReallyATypeCross |
6671 |
else |
13999 |
else |
6672 |
cat > conftest.$ac_ext <<EOF |
14000 |
cat >conftest.$ac_ext <<_ACEOF |
6673 |
#line 6674 "configure" |
14001 |
#line $LINENO "configure" |
6674 |
#include "confdefs.h" |
14002 |
#include "confdefs.h" |
6675 |
#include <stdio.h> |
14003 |
#include <stdio.h> |
6676 |
#include <stddef.h> |
14004 |
#include <stddef.h> |
Lines 6732-6767
Link Here
|
6732 |
fclose(f); |
14060 |
fclose(f); |
6733 |
exit(0); |
14061 |
exit(0); |
6734 |
} |
14062 |
} |
6735 |
EOF |
14063 |
_ACEOF |
6736 |
if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14064 |
rm -f conftest$ac_exeext |
6737 |
then |
14065 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14066 |
(eval $ac_link) 2>&5 |
14067 |
ac_status=$? |
14068 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14069 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14070 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14071 |
(eval $ac_try) 2>&5 |
14072 |
ac_status=$? |
14073 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14074 |
(exit $ac_status); }; }; then |
6738 |
fptools_cv_htype_dev_t=`cat conftestval` |
14075 |
fptools_cv_htype_dev_t=`cat conftestval` |
6739 |
else |
14076 |
else |
6740 |
echo "configure: failed program was:" >&5 |
14077 |
echo "$as_me: program exited with status $ac_status" >&5 |
6741 |
cat conftest.$ac_ext >&5 |
14078 |
echo "$as_me: failed program was:" >&5 |
6742 |
rm -fr conftest* |
14079 |
cat conftest.$ac_ext >&5 |
6743 |
fptools_cv_htype_dev_t=Word32 |
14080 |
( exit $ac_status ) |
6744 |
fi |
14081 |
fptools_cv_htype_dev_t=Word32 |
6745 |
rm -fr conftest* |
14082 |
fi |
|
|
14083 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6746 |
fi |
14084 |
fi |
6747 |
|
|
|
6748 |
fi |
14085 |
fi |
6749 |
echo "$ac_t""$fptools_cv_htype_dev_t" 1>&6 |
14086 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_dev_t" >&5 |
6750 |
cat >> confdefs.h <<EOF |
14087 |
echo "${ECHO_T}$fptools_cv_htype_dev_t" >&6 |
|
|
14088 |
cat >>confdefs.h <<_ACEOF |
6751 |
#define HTYPE_DEV_T $fptools_cv_htype_dev_t |
14089 |
#define HTYPE_DEV_T $fptools_cv_htype_dev_t |
6752 |
EOF |
14090 |
_ACEOF |
6753 |
|
14091 |
|
6754 |
|
14092 |
|
6755 |
echo $ac_n "checking Haskell type for ino_t""... $ac_c" 1>&6 |
14093 |
echo "$as_me:$LINENO: checking Haskell type for ino_t" >&5 |
6756 |
echo "configure:6757: checking Haskell type for ino_t" >&5 |
14094 |
echo $ECHO_N "checking Haskell type for ino_t... $ECHO_C" >&6 |
6757 |
if eval "test \"`echo '$''{'fptools_cv_htype_ino_t'+set}'`\" = set"; then |
14095 |
if test "${fptools_cv_htype_ino_t+set}" = set; then |
6758 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14096 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6759 |
else |
14097 |
else |
6760 |
if test "$cross_compiling" = yes; then |
14098 |
if test "$cross_compiling" = yes; then |
6761 |
fptools_cv_htype_ino_t=NotReallyATypeCross |
14099 |
fptools_cv_htype_ino_t=NotReallyATypeCross |
6762 |
else |
14100 |
else |
6763 |
cat > conftest.$ac_ext <<EOF |
14101 |
cat >conftest.$ac_ext <<_ACEOF |
6764 |
#line 6765 "configure" |
14102 |
#line $LINENO "configure" |
6765 |
#include "confdefs.h" |
14103 |
#include "confdefs.h" |
6766 |
#include <stdio.h> |
14104 |
#include <stdio.h> |
6767 |
#include <stddef.h> |
14105 |
#include <stddef.h> |
Lines 6823-6858
Link Here
|
6823 |
fclose(f); |
14161 |
fclose(f); |
6824 |
exit(0); |
14162 |
exit(0); |
6825 |
} |
14163 |
} |
6826 |
EOF |
14164 |
_ACEOF |
6827 |
if { (eval echo configure:6828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14165 |
rm -f conftest$ac_exeext |
6828 |
then |
14166 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14167 |
(eval $ac_link) 2>&5 |
14168 |
ac_status=$? |
14169 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14170 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14171 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14172 |
(eval $ac_try) 2>&5 |
14173 |
ac_status=$? |
14174 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14175 |
(exit $ac_status); }; }; then |
6829 |
fptools_cv_htype_ino_t=`cat conftestval` |
14176 |
fptools_cv_htype_ino_t=`cat conftestval` |
6830 |
else |
14177 |
else |
6831 |
echo "configure: failed program was:" >&5 |
14178 |
echo "$as_me: program exited with status $ac_status" >&5 |
6832 |
cat conftest.$ac_ext >&5 |
14179 |
echo "$as_me: failed program was:" >&5 |
6833 |
rm -fr conftest* |
14180 |
cat conftest.$ac_ext >&5 |
6834 |
fptools_cv_htype_ino_t=NotReallyAType |
14181 |
( exit $ac_status ) |
6835 |
fi |
14182 |
fptools_cv_htype_ino_t=NotReallyAType |
6836 |
rm -fr conftest* |
14183 |
fi |
|
|
14184 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6837 |
fi |
14185 |
fi |
6838 |
|
|
|
6839 |
fi |
14186 |
fi |
6840 |
echo "$ac_t""$fptools_cv_htype_ino_t" 1>&6 |
14187 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_ino_t" >&5 |
6841 |
cat >> confdefs.h <<EOF |
14188 |
echo "${ECHO_T}$fptools_cv_htype_ino_t" >&6 |
|
|
14189 |
cat >>confdefs.h <<_ACEOF |
6842 |
#define HTYPE_INO_T $fptools_cv_htype_ino_t |
14190 |
#define HTYPE_INO_T $fptools_cv_htype_ino_t |
6843 |
EOF |
14191 |
_ACEOF |
6844 |
|
14192 |
|
6845 |
|
14193 |
|
6846 |
echo $ac_n "checking Haskell type for mode_t""... $ac_c" 1>&6 |
14194 |
echo "$as_me:$LINENO: checking Haskell type for mode_t" >&5 |
6847 |
echo "configure:6848: checking Haskell type for mode_t" >&5 |
14195 |
echo $ECHO_N "checking Haskell type for mode_t... $ECHO_C" >&6 |
6848 |
if eval "test \"`echo '$''{'fptools_cv_htype_mode_t'+set}'`\" = set"; then |
14196 |
if test "${fptools_cv_htype_mode_t+set}" = set; then |
6849 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14197 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6850 |
else |
14198 |
else |
6851 |
if test "$cross_compiling" = yes; then |
14199 |
if test "$cross_compiling" = yes; then |
6852 |
fptools_cv_htype_mode_t=NotReallyATypeCross |
14200 |
fptools_cv_htype_mode_t=NotReallyATypeCross |
6853 |
else |
14201 |
else |
6854 |
cat > conftest.$ac_ext <<EOF |
14202 |
cat >conftest.$ac_ext <<_ACEOF |
6855 |
#line 6856 "configure" |
14203 |
#line $LINENO "configure" |
6856 |
#include "confdefs.h" |
14204 |
#include "confdefs.h" |
6857 |
#include <stdio.h> |
14205 |
#include <stdio.h> |
6858 |
#include <stddef.h> |
14206 |
#include <stddef.h> |
Lines 6914-6949
Link Here
|
6914 |
fclose(f); |
14262 |
fclose(f); |
6915 |
exit(0); |
14263 |
exit(0); |
6916 |
} |
14264 |
} |
6917 |
EOF |
14265 |
_ACEOF |
6918 |
if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14266 |
rm -f conftest$ac_exeext |
6919 |
then |
14267 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14268 |
(eval $ac_link) 2>&5 |
14269 |
ac_status=$? |
14270 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14271 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14272 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14273 |
(eval $ac_try) 2>&5 |
14274 |
ac_status=$? |
14275 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14276 |
(exit $ac_status); }; }; then |
6920 |
fptools_cv_htype_mode_t=`cat conftestval` |
14277 |
fptools_cv_htype_mode_t=`cat conftestval` |
6921 |
else |
14278 |
else |
6922 |
echo "configure: failed program was:" >&5 |
14279 |
echo "$as_me: program exited with status $ac_status" >&5 |
6923 |
cat conftest.$ac_ext >&5 |
14280 |
echo "$as_me: failed program was:" >&5 |
6924 |
rm -fr conftest* |
14281 |
cat conftest.$ac_ext >&5 |
6925 |
fptools_cv_htype_mode_t=NotReallyAType |
14282 |
( exit $ac_status ) |
6926 |
fi |
14283 |
fptools_cv_htype_mode_t=NotReallyAType |
6927 |
rm -fr conftest* |
14284 |
fi |
|
|
14285 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
6928 |
fi |
14286 |
fi |
6929 |
|
|
|
6930 |
fi |
14287 |
fi |
6931 |
echo "$ac_t""$fptools_cv_htype_mode_t" 1>&6 |
14288 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_mode_t" >&5 |
6932 |
cat >> confdefs.h <<EOF |
14289 |
echo "${ECHO_T}$fptools_cv_htype_mode_t" >&6 |
|
|
14290 |
cat >>confdefs.h <<_ACEOF |
6933 |
#define HTYPE_MODE_T $fptools_cv_htype_mode_t |
14291 |
#define HTYPE_MODE_T $fptools_cv_htype_mode_t |
6934 |
EOF |
14292 |
_ACEOF |
6935 |
|
14293 |
|
6936 |
|
14294 |
|
6937 |
echo $ac_n "checking Haskell type for off_t""... $ac_c" 1>&6 |
14295 |
echo "$as_me:$LINENO: checking Haskell type for off_t" >&5 |
6938 |
echo "configure:6939: checking Haskell type for off_t" >&5 |
14296 |
echo $ECHO_N "checking Haskell type for off_t... $ECHO_C" >&6 |
6939 |
if eval "test \"`echo '$''{'fptools_cv_htype_off_t'+set}'`\" = set"; then |
14297 |
if test "${fptools_cv_htype_off_t+set}" = set; then |
6940 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14298 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
6941 |
else |
14299 |
else |
6942 |
if test "$cross_compiling" = yes; then |
14300 |
if test "$cross_compiling" = yes; then |
6943 |
fptools_cv_htype_off_t=NotReallyATypeCross |
14301 |
fptools_cv_htype_off_t=NotReallyATypeCross |
6944 |
else |
14302 |
else |
6945 |
cat > conftest.$ac_ext <<EOF |
14303 |
cat >conftest.$ac_ext <<_ACEOF |
6946 |
#line 6947 "configure" |
14304 |
#line $LINENO "configure" |
6947 |
#include "confdefs.h" |
14305 |
#include "confdefs.h" |
6948 |
#include <stdio.h> |
14306 |
#include <stdio.h> |
6949 |
#include <stddef.h> |
14307 |
#include <stddef.h> |
Lines 7005-7040
Link Here
|
7005 |
fclose(f); |
14363 |
fclose(f); |
7006 |
exit(0); |
14364 |
exit(0); |
7007 |
} |
14365 |
} |
7008 |
EOF |
14366 |
_ACEOF |
7009 |
if { (eval echo configure:7010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14367 |
rm -f conftest$ac_exeext |
7010 |
then |
14368 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14369 |
(eval $ac_link) 2>&5 |
14370 |
ac_status=$? |
14371 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14372 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14373 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14374 |
(eval $ac_try) 2>&5 |
14375 |
ac_status=$? |
14376 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14377 |
(exit $ac_status); }; }; then |
7011 |
fptools_cv_htype_off_t=`cat conftestval` |
14378 |
fptools_cv_htype_off_t=`cat conftestval` |
7012 |
else |
14379 |
else |
7013 |
echo "configure: failed program was:" >&5 |
14380 |
echo "$as_me: program exited with status $ac_status" >&5 |
7014 |
cat conftest.$ac_ext >&5 |
14381 |
echo "$as_me: failed program was:" >&5 |
7015 |
rm -fr conftest* |
14382 |
cat conftest.$ac_ext >&5 |
7016 |
fptools_cv_htype_off_t=NotReallyAType |
14383 |
( exit $ac_status ) |
7017 |
fi |
14384 |
fptools_cv_htype_off_t=NotReallyAType |
7018 |
rm -fr conftest* |
14385 |
fi |
|
|
14386 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7019 |
fi |
14387 |
fi |
7020 |
|
|
|
7021 |
fi |
14388 |
fi |
7022 |
echo "$ac_t""$fptools_cv_htype_off_t" 1>&6 |
14389 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_off_t" >&5 |
7023 |
cat >> confdefs.h <<EOF |
14390 |
echo "${ECHO_T}$fptools_cv_htype_off_t" >&6 |
|
|
14391 |
cat >>confdefs.h <<_ACEOF |
7024 |
#define HTYPE_OFF_T $fptools_cv_htype_off_t |
14392 |
#define HTYPE_OFF_T $fptools_cv_htype_off_t |
7025 |
EOF |
14393 |
_ACEOF |
7026 |
|
14394 |
|
7027 |
|
14395 |
|
7028 |
echo $ac_n "checking Haskell type for pid_t""... $ac_c" 1>&6 |
14396 |
echo "$as_me:$LINENO: checking Haskell type for pid_t" >&5 |
7029 |
echo "configure:7030: checking Haskell type for pid_t" >&5 |
14397 |
echo $ECHO_N "checking Haskell type for pid_t... $ECHO_C" >&6 |
7030 |
if eval "test \"`echo '$''{'fptools_cv_htype_pid_t'+set}'`\" = set"; then |
14398 |
if test "${fptools_cv_htype_pid_t+set}" = set; then |
7031 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14399 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7032 |
else |
14400 |
else |
7033 |
if test "$cross_compiling" = yes; then |
14401 |
if test "$cross_compiling" = yes; then |
7034 |
fptools_cv_htype_pid_t=NotReallyATypeCross |
14402 |
fptools_cv_htype_pid_t=NotReallyATypeCross |
7035 |
else |
14403 |
else |
7036 |
cat > conftest.$ac_ext <<EOF |
14404 |
cat >conftest.$ac_ext <<_ACEOF |
7037 |
#line 7038 "configure" |
14405 |
#line $LINENO "configure" |
7038 |
#include "confdefs.h" |
14406 |
#include "confdefs.h" |
7039 |
#include <stdio.h> |
14407 |
#include <stdio.h> |
7040 |
#include <stddef.h> |
14408 |
#include <stddef.h> |
Lines 7096-7131
Link Here
|
7096 |
fclose(f); |
14464 |
fclose(f); |
7097 |
exit(0); |
14465 |
exit(0); |
7098 |
} |
14466 |
} |
7099 |
EOF |
14467 |
_ACEOF |
7100 |
if { (eval echo configure:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14468 |
rm -f conftest$ac_exeext |
7101 |
then |
14469 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14470 |
(eval $ac_link) 2>&5 |
14471 |
ac_status=$? |
14472 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14473 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14474 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14475 |
(eval $ac_try) 2>&5 |
14476 |
ac_status=$? |
14477 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14478 |
(exit $ac_status); }; }; then |
7102 |
fptools_cv_htype_pid_t=`cat conftestval` |
14479 |
fptools_cv_htype_pid_t=`cat conftestval` |
7103 |
else |
14480 |
else |
7104 |
echo "configure: failed program was:" >&5 |
14481 |
echo "$as_me: program exited with status $ac_status" >&5 |
7105 |
cat conftest.$ac_ext >&5 |
14482 |
echo "$as_me: failed program was:" >&5 |
7106 |
rm -fr conftest* |
14483 |
cat conftest.$ac_ext >&5 |
7107 |
fptools_cv_htype_pid_t=NotReallyAType |
14484 |
( exit $ac_status ) |
7108 |
fi |
14485 |
fptools_cv_htype_pid_t=NotReallyAType |
7109 |
rm -fr conftest* |
14486 |
fi |
|
|
14487 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7110 |
fi |
14488 |
fi |
7111 |
|
|
|
7112 |
fi |
14489 |
fi |
7113 |
echo "$ac_t""$fptools_cv_htype_pid_t" 1>&6 |
14490 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_pid_t" >&5 |
7114 |
cat >> confdefs.h <<EOF |
14491 |
echo "${ECHO_T}$fptools_cv_htype_pid_t" >&6 |
|
|
14492 |
cat >>confdefs.h <<_ACEOF |
7115 |
#define HTYPE_PID_T $fptools_cv_htype_pid_t |
14493 |
#define HTYPE_PID_T $fptools_cv_htype_pid_t |
7116 |
EOF |
14494 |
_ACEOF |
7117 |
|
14495 |
|
7118 |
|
14496 |
|
7119 |
echo $ac_n "checking Haskell type for gid_t""... $ac_c" 1>&6 |
14497 |
echo "$as_me:$LINENO: checking Haskell type for gid_t" >&5 |
7120 |
echo "configure:7121: checking Haskell type for gid_t" >&5 |
14498 |
echo $ECHO_N "checking Haskell type for gid_t... $ECHO_C" >&6 |
7121 |
if eval "test \"`echo '$''{'fptools_cv_htype_gid_t'+set}'`\" = set"; then |
14499 |
if test "${fptools_cv_htype_gid_t+set}" = set; then |
7122 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14500 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7123 |
else |
14501 |
else |
7124 |
if test "$cross_compiling" = yes; then |
14502 |
if test "$cross_compiling" = yes; then |
7125 |
fptools_cv_htype_gid_t=NotReallyATypeCross |
14503 |
fptools_cv_htype_gid_t=NotReallyATypeCross |
7126 |
else |
14504 |
else |
7127 |
cat > conftest.$ac_ext <<EOF |
14505 |
cat >conftest.$ac_ext <<_ACEOF |
7128 |
#line 7129 "configure" |
14506 |
#line $LINENO "configure" |
7129 |
#include "confdefs.h" |
14507 |
#include "confdefs.h" |
7130 |
#include <stdio.h> |
14508 |
#include <stdio.h> |
7131 |
#include <stddef.h> |
14509 |
#include <stddef.h> |
Lines 7187-7222
Link Here
|
7187 |
fclose(f); |
14565 |
fclose(f); |
7188 |
exit(0); |
14566 |
exit(0); |
7189 |
} |
14567 |
} |
7190 |
EOF |
14568 |
_ACEOF |
7191 |
if { (eval echo configure:7192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14569 |
rm -f conftest$ac_exeext |
7192 |
then |
14570 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14571 |
(eval $ac_link) 2>&5 |
14572 |
ac_status=$? |
14573 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14574 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14575 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14576 |
(eval $ac_try) 2>&5 |
14577 |
ac_status=$? |
14578 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14579 |
(exit $ac_status); }; }; then |
7193 |
fptools_cv_htype_gid_t=`cat conftestval` |
14580 |
fptools_cv_htype_gid_t=`cat conftestval` |
7194 |
else |
14581 |
else |
7195 |
echo "configure: failed program was:" >&5 |
14582 |
echo "$as_me: program exited with status $ac_status" >&5 |
7196 |
cat conftest.$ac_ext >&5 |
14583 |
echo "$as_me: failed program was:" >&5 |
7197 |
rm -fr conftest* |
14584 |
cat conftest.$ac_ext >&5 |
7198 |
fptools_cv_htype_gid_t=NotReallyAType |
14585 |
( exit $ac_status ) |
7199 |
fi |
14586 |
fptools_cv_htype_gid_t=NotReallyAType |
7200 |
rm -fr conftest* |
14587 |
fi |
|
|
14588 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7201 |
fi |
14589 |
fi |
7202 |
|
|
|
7203 |
fi |
14590 |
fi |
7204 |
echo "$ac_t""$fptools_cv_htype_gid_t" 1>&6 |
14591 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_gid_t" >&5 |
7205 |
cat >> confdefs.h <<EOF |
14592 |
echo "${ECHO_T}$fptools_cv_htype_gid_t" >&6 |
|
|
14593 |
cat >>confdefs.h <<_ACEOF |
7206 |
#define HTYPE_GID_T $fptools_cv_htype_gid_t |
14594 |
#define HTYPE_GID_T $fptools_cv_htype_gid_t |
7207 |
EOF |
14595 |
_ACEOF |
7208 |
|
14596 |
|
7209 |
|
14597 |
|
7210 |
echo $ac_n "checking Haskell type for uid_t""... $ac_c" 1>&6 |
14598 |
echo "$as_me:$LINENO: checking Haskell type for uid_t" >&5 |
7211 |
echo "configure:7212: checking Haskell type for uid_t" >&5 |
14599 |
echo $ECHO_N "checking Haskell type for uid_t... $ECHO_C" >&6 |
7212 |
if eval "test \"`echo '$''{'fptools_cv_htype_uid_t'+set}'`\" = set"; then |
14600 |
if test "${fptools_cv_htype_uid_t+set}" = set; then |
7213 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14601 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7214 |
else |
14602 |
else |
7215 |
if test "$cross_compiling" = yes; then |
14603 |
if test "$cross_compiling" = yes; then |
7216 |
fptools_cv_htype_uid_t=NotReallyATypeCross |
14604 |
fptools_cv_htype_uid_t=NotReallyATypeCross |
7217 |
else |
14605 |
else |
7218 |
cat > conftest.$ac_ext <<EOF |
14606 |
cat >conftest.$ac_ext <<_ACEOF |
7219 |
#line 7220 "configure" |
14607 |
#line $LINENO "configure" |
7220 |
#include "confdefs.h" |
14608 |
#include "confdefs.h" |
7221 |
#include <stdio.h> |
14609 |
#include <stdio.h> |
7222 |
#include <stddef.h> |
14610 |
#include <stddef.h> |
Lines 7278-7313
Link Here
|
7278 |
fclose(f); |
14666 |
fclose(f); |
7279 |
exit(0); |
14667 |
exit(0); |
7280 |
} |
14668 |
} |
7281 |
EOF |
14669 |
_ACEOF |
7282 |
if { (eval echo configure:7283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14670 |
rm -f conftest$ac_exeext |
7283 |
then |
14671 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14672 |
(eval $ac_link) 2>&5 |
14673 |
ac_status=$? |
14674 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14675 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14676 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14677 |
(eval $ac_try) 2>&5 |
14678 |
ac_status=$? |
14679 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14680 |
(exit $ac_status); }; }; then |
7284 |
fptools_cv_htype_uid_t=`cat conftestval` |
14681 |
fptools_cv_htype_uid_t=`cat conftestval` |
7285 |
else |
14682 |
else |
7286 |
echo "configure: failed program was:" >&5 |
14683 |
echo "$as_me: program exited with status $ac_status" >&5 |
7287 |
cat conftest.$ac_ext >&5 |
14684 |
echo "$as_me: failed program was:" >&5 |
7288 |
rm -fr conftest* |
14685 |
cat conftest.$ac_ext >&5 |
7289 |
fptools_cv_htype_uid_t=NotReallyAType |
14686 |
( exit $ac_status ) |
7290 |
fi |
14687 |
fptools_cv_htype_uid_t=NotReallyAType |
7291 |
rm -fr conftest* |
14688 |
fi |
|
|
14689 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7292 |
fi |
14690 |
fi |
7293 |
|
|
|
7294 |
fi |
14691 |
fi |
7295 |
echo "$ac_t""$fptools_cv_htype_uid_t" 1>&6 |
14692 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_uid_t" >&5 |
7296 |
cat >> confdefs.h <<EOF |
14693 |
echo "${ECHO_T}$fptools_cv_htype_uid_t" >&6 |
|
|
14694 |
cat >>confdefs.h <<_ACEOF |
7297 |
#define HTYPE_UID_T $fptools_cv_htype_uid_t |
14695 |
#define HTYPE_UID_T $fptools_cv_htype_uid_t |
7298 |
EOF |
14696 |
_ACEOF |
7299 |
|
14697 |
|
7300 |
|
14698 |
|
7301 |
echo $ac_n "checking Haskell type for cc_t""... $ac_c" 1>&6 |
14699 |
echo "$as_me:$LINENO: checking Haskell type for cc_t" >&5 |
7302 |
echo "configure:7303: checking Haskell type for cc_t" >&5 |
14700 |
echo $ECHO_N "checking Haskell type for cc_t... $ECHO_C" >&6 |
7303 |
if eval "test \"`echo '$''{'fptools_cv_htype_cc_t'+set}'`\" = set"; then |
14701 |
if test "${fptools_cv_htype_cc_t+set}" = set; then |
7304 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14702 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7305 |
else |
14703 |
else |
7306 |
if test "$cross_compiling" = yes; then |
14704 |
if test "$cross_compiling" = yes; then |
7307 |
fptools_cv_htype_cc_t=NotReallyATypeCross |
14705 |
fptools_cv_htype_cc_t=NotReallyATypeCross |
7308 |
else |
14706 |
else |
7309 |
cat > conftest.$ac_ext <<EOF |
14707 |
cat >conftest.$ac_ext <<_ACEOF |
7310 |
#line 7311 "configure" |
14708 |
#line $LINENO "configure" |
7311 |
#include "confdefs.h" |
14709 |
#include "confdefs.h" |
7312 |
#include <stdio.h> |
14710 |
#include <stdio.h> |
7313 |
#include <stddef.h> |
14711 |
#include <stddef.h> |
Lines 7369-7404
Link Here
|
7369 |
fclose(f); |
14767 |
fclose(f); |
7370 |
exit(0); |
14768 |
exit(0); |
7371 |
} |
14769 |
} |
7372 |
EOF |
14770 |
_ACEOF |
7373 |
if { (eval echo configure:7374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14771 |
rm -f conftest$ac_exeext |
7374 |
then |
14772 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14773 |
(eval $ac_link) 2>&5 |
14774 |
ac_status=$? |
14775 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14776 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14777 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14778 |
(eval $ac_try) 2>&5 |
14779 |
ac_status=$? |
14780 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14781 |
(exit $ac_status); }; }; then |
7375 |
fptools_cv_htype_cc_t=`cat conftestval` |
14782 |
fptools_cv_htype_cc_t=`cat conftestval` |
7376 |
else |
14783 |
else |
7377 |
echo "configure: failed program was:" >&5 |
14784 |
echo "$as_me: program exited with status $ac_status" >&5 |
7378 |
cat conftest.$ac_ext >&5 |
14785 |
echo "$as_me: failed program was:" >&5 |
7379 |
rm -fr conftest* |
14786 |
cat conftest.$ac_ext >&5 |
7380 |
fptools_cv_htype_cc_t=NotReallyAType |
14787 |
( exit $ac_status ) |
7381 |
fi |
14788 |
fptools_cv_htype_cc_t=NotReallyAType |
7382 |
rm -fr conftest* |
14789 |
fi |
|
|
14790 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7383 |
fi |
14791 |
fi |
7384 |
|
|
|
7385 |
fi |
14792 |
fi |
7386 |
echo "$ac_t""$fptools_cv_htype_cc_t" 1>&6 |
14793 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_cc_t" >&5 |
7387 |
cat >> confdefs.h <<EOF |
14794 |
echo "${ECHO_T}$fptools_cv_htype_cc_t" >&6 |
|
|
14795 |
cat >>confdefs.h <<_ACEOF |
7388 |
#define HTYPE_CC_T $fptools_cv_htype_cc_t |
14796 |
#define HTYPE_CC_T $fptools_cv_htype_cc_t |
7389 |
EOF |
14797 |
_ACEOF |
7390 |
|
14798 |
|
7391 |
|
14799 |
|
7392 |
echo $ac_n "checking Haskell type for speed_t""... $ac_c" 1>&6 |
14800 |
echo "$as_me:$LINENO: checking Haskell type for speed_t" >&5 |
7393 |
echo "configure:7394: checking Haskell type for speed_t" >&5 |
14801 |
echo $ECHO_N "checking Haskell type for speed_t... $ECHO_C" >&6 |
7394 |
if eval "test \"`echo '$''{'fptools_cv_htype_speed_t'+set}'`\" = set"; then |
14802 |
if test "${fptools_cv_htype_speed_t+set}" = set; then |
7395 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14803 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7396 |
else |
14804 |
else |
7397 |
if test "$cross_compiling" = yes; then |
14805 |
if test "$cross_compiling" = yes; then |
7398 |
fptools_cv_htype_speed_t=NotReallyATypeCross |
14806 |
fptools_cv_htype_speed_t=NotReallyATypeCross |
7399 |
else |
14807 |
else |
7400 |
cat > conftest.$ac_ext <<EOF |
14808 |
cat >conftest.$ac_ext <<_ACEOF |
7401 |
#line 7402 "configure" |
14809 |
#line $LINENO "configure" |
7402 |
#include "confdefs.h" |
14810 |
#include "confdefs.h" |
7403 |
#include <stdio.h> |
14811 |
#include <stdio.h> |
7404 |
#include <stddef.h> |
14812 |
#include <stddef.h> |
Lines 7460-7495
Link Here
|
7460 |
fclose(f); |
14868 |
fclose(f); |
7461 |
exit(0); |
14869 |
exit(0); |
7462 |
} |
14870 |
} |
7463 |
EOF |
14871 |
_ACEOF |
7464 |
if { (eval echo configure:7465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14872 |
rm -f conftest$ac_exeext |
7465 |
then |
14873 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14874 |
(eval $ac_link) 2>&5 |
14875 |
ac_status=$? |
14876 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14877 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14878 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14879 |
(eval $ac_try) 2>&5 |
14880 |
ac_status=$? |
14881 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14882 |
(exit $ac_status); }; }; then |
7466 |
fptools_cv_htype_speed_t=`cat conftestval` |
14883 |
fptools_cv_htype_speed_t=`cat conftestval` |
7467 |
else |
14884 |
else |
7468 |
echo "configure: failed program was:" >&5 |
14885 |
echo "$as_me: program exited with status $ac_status" >&5 |
7469 |
cat conftest.$ac_ext >&5 |
14886 |
echo "$as_me: failed program was:" >&5 |
7470 |
rm -fr conftest* |
14887 |
cat conftest.$ac_ext >&5 |
7471 |
fptools_cv_htype_speed_t=NotReallyAType |
14888 |
( exit $ac_status ) |
7472 |
fi |
14889 |
fptools_cv_htype_speed_t=NotReallyAType |
7473 |
rm -fr conftest* |
14890 |
fi |
|
|
14891 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7474 |
fi |
14892 |
fi |
7475 |
|
|
|
7476 |
fi |
14893 |
fi |
7477 |
echo "$ac_t""$fptools_cv_htype_speed_t" 1>&6 |
14894 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_speed_t" >&5 |
7478 |
cat >> confdefs.h <<EOF |
14895 |
echo "${ECHO_T}$fptools_cv_htype_speed_t" >&6 |
|
|
14896 |
cat >>confdefs.h <<_ACEOF |
7479 |
#define HTYPE_SPEED_T $fptools_cv_htype_speed_t |
14897 |
#define HTYPE_SPEED_T $fptools_cv_htype_speed_t |
7480 |
EOF |
14898 |
_ACEOF |
7481 |
|
14899 |
|
7482 |
|
14900 |
|
7483 |
echo $ac_n "checking Haskell type for tcflag_t""... $ac_c" 1>&6 |
14901 |
echo "$as_me:$LINENO: checking Haskell type for tcflag_t" >&5 |
7484 |
echo "configure:7485: checking Haskell type for tcflag_t" >&5 |
14902 |
echo $ECHO_N "checking Haskell type for tcflag_t... $ECHO_C" >&6 |
7485 |
if eval "test \"`echo '$''{'fptools_cv_htype_tcflag_t'+set}'`\" = set"; then |
14903 |
if test "${fptools_cv_htype_tcflag_t+set}" = set; then |
7486 |
echo $ac_n "(cached) $ac_c" 1>&6 |
14904 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7487 |
else |
14905 |
else |
7488 |
if test "$cross_compiling" = yes; then |
14906 |
if test "$cross_compiling" = yes; then |
7489 |
fptools_cv_htype_tcflag_t=NotReallyATypeCross |
14907 |
fptools_cv_htype_tcflag_t=NotReallyATypeCross |
7490 |
else |
14908 |
else |
7491 |
cat > conftest.$ac_ext <<EOF |
14909 |
cat >conftest.$ac_ext <<_ACEOF |
7492 |
#line 7493 "configure" |
14910 |
#line $LINENO "configure" |
7493 |
#include "confdefs.h" |
14911 |
#include "confdefs.h" |
7494 |
#include <stdio.h> |
14912 |
#include <stdio.h> |
7495 |
#include <stddef.h> |
14913 |
#include <stddef.h> |
Lines 7551-7586
Link Here
|
7551 |
fclose(f); |
14969 |
fclose(f); |
7552 |
exit(0); |
14970 |
exit(0); |
7553 |
} |
14971 |
} |
7554 |
EOF |
14972 |
_ACEOF |
7555 |
if { (eval echo configure:7556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
14973 |
rm -f conftest$ac_exeext |
7556 |
then |
14974 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
14975 |
(eval $ac_link) 2>&5 |
14976 |
ac_status=$? |
14977 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14978 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
14979 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
14980 |
(eval $ac_try) 2>&5 |
14981 |
ac_status=$? |
14982 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
14983 |
(exit $ac_status); }; }; then |
7557 |
fptools_cv_htype_tcflag_t=`cat conftestval` |
14984 |
fptools_cv_htype_tcflag_t=`cat conftestval` |
7558 |
else |
14985 |
else |
7559 |
echo "configure: failed program was:" >&5 |
14986 |
echo "$as_me: program exited with status $ac_status" >&5 |
7560 |
cat conftest.$ac_ext >&5 |
14987 |
echo "$as_me: failed program was:" >&5 |
7561 |
rm -fr conftest* |
14988 |
cat conftest.$ac_ext >&5 |
7562 |
fptools_cv_htype_tcflag_t=NotReallyAType |
14989 |
( exit $ac_status ) |
7563 |
fi |
14990 |
fptools_cv_htype_tcflag_t=NotReallyAType |
7564 |
rm -fr conftest* |
14991 |
fi |
|
|
14992 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7565 |
fi |
14993 |
fi |
7566 |
|
|
|
7567 |
fi |
14994 |
fi |
7568 |
echo "$ac_t""$fptools_cv_htype_tcflag_t" 1>&6 |
14995 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_tcflag_t" >&5 |
7569 |
cat >> confdefs.h <<EOF |
14996 |
echo "${ECHO_T}$fptools_cv_htype_tcflag_t" >&6 |
|
|
14997 |
cat >>confdefs.h <<_ACEOF |
7570 |
#define HTYPE_TCFLAG_T $fptools_cv_htype_tcflag_t |
14998 |
#define HTYPE_TCFLAG_T $fptools_cv_htype_tcflag_t |
7571 |
EOF |
14999 |
_ACEOF |
7572 |
|
15000 |
|
7573 |
|
15001 |
|
7574 |
echo $ac_n "checking Haskell type for nlink_t""... $ac_c" 1>&6 |
15002 |
echo "$as_me:$LINENO: checking Haskell type for nlink_t" >&5 |
7575 |
echo "configure:7576: checking Haskell type for nlink_t" >&5 |
15003 |
echo $ECHO_N "checking Haskell type for nlink_t... $ECHO_C" >&6 |
7576 |
if eval "test \"`echo '$''{'fptools_cv_htype_nlink_t'+set}'`\" = set"; then |
15004 |
if test "${fptools_cv_htype_nlink_t+set}" = set; then |
7577 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15005 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7578 |
else |
15006 |
else |
7579 |
if test "$cross_compiling" = yes; then |
15007 |
if test "$cross_compiling" = yes; then |
7580 |
fptools_cv_htype_nlink_t=NotReallyATypeCross |
15008 |
fptools_cv_htype_nlink_t=NotReallyATypeCross |
7581 |
else |
15009 |
else |
7582 |
cat > conftest.$ac_ext <<EOF |
15010 |
cat >conftest.$ac_ext <<_ACEOF |
7583 |
#line 7584 "configure" |
15011 |
#line $LINENO "configure" |
7584 |
#include "confdefs.h" |
15012 |
#include "confdefs.h" |
7585 |
#include <stdio.h> |
15013 |
#include <stdio.h> |
7586 |
#include <stddef.h> |
15014 |
#include <stddef.h> |
Lines 7642-7677
Link Here
|
7642 |
fclose(f); |
15070 |
fclose(f); |
7643 |
exit(0); |
15071 |
exit(0); |
7644 |
} |
15072 |
} |
7645 |
EOF |
15073 |
_ACEOF |
7646 |
if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15074 |
rm -f conftest$ac_exeext |
7647 |
then |
15075 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15076 |
(eval $ac_link) 2>&5 |
15077 |
ac_status=$? |
15078 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15079 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15080 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15081 |
(eval $ac_try) 2>&5 |
15082 |
ac_status=$? |
15083 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15084 |
(exit $ac_status); }; }; then |
7648 |
fptools_cv_htype_nlink_t=`cat conftestval` |
15085 |
fptools_cv_htype_nlink_t=`cat conftestval` |
7649 |
else |
15086 |
else |
7650 |
echo "configure: failed program was:" >&5 |
15087 |
echo "$as_me: program exited with status $ac_status" >&5 |
7651 |
cat conftest.$ac_ext >&5 |
15088 |
echo "$as_me: failed program was:" >&5 |
7652 |
rm -fr conftest* |
15089 |
cat conftest.$ac_ext >&5 |
7653 |
fptools_cv_htype_nlink_t=NotReallyAType |
15090 |
( exit $ac_status ) |
7654 |
fi |
15091 |
fptools_cv_htype_nlink_t=NotReallyAType |
7655 |
rm -fr conftest* |
15092 |
fi |
|
|
15093 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7656 |
fi |
15094 |
fi |
7657 |
|
|
|
7658 |
fi |
15095 |
fi |
7659 |
echo "$ac_t""$fptools_cv_htype_nlink_t" 1>&6 |
15096 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_nlink_t" >&5 |
7660 |
cat >> confdefs.h <<EOF |
15097 |
echo "${ECHO_T}$fptools_cv_htype_nlink_t" >&6 |
|
|
15098 |
cat >>confdefs.h <<_ACEOF |
7661 |
#define HTYPE_NLINK_T $fptools_cv_htype_nlink_t |
15099 |
#define HTYPE_NLINK_T $fptools_cv_htype_nlink_t |
7662 |
EOF |
15100 |
_ACEOF |
7663 |
|
15101 |
|
7664 |
|
15102 |
|
7665 |
echo $ac_n "checking Haskell type for ssize_t""... $ac_c" 1>&6 |
15103 |
echo "$as_me:$LINENO: checking Haskell type for ssize_t" >&5 |
7666 |
echo "configure:7667: checking Haskell type for ssize_t" >&5 |
15104 |
echo $ECHO_N "checking Haskell type for ssize_t... $ECHO_C" >&6 |
7667 |
if eval "test \"`echo '$''{'fptools_cv_htype_ssize_t'+set}'`\" = set"; then |
15105 |
if test "${fptools_cv_htype_ssize_t+set}" = set; then |
7668 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15106 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7669 |
else |
15107 |
else |
7670 |
if test "$cross_compiling" = yes; then |
15108 |
if test "$cross_compiling" = yes; then |
7671 |
fptools_cv_htype_ssize_t=NotReallyATypeCross |
15109 |
fptools_cv_htype_ssize_t=NotReallyATypeCross |
7672 |
else |
15110 |
else |
7673 |
cat > conftest.$ac_ext <<EOF |
15111 |
cat >conftest.$ac_ext <<_ACEOF |
7674 |
#line 7675 "configure" |
15112 |
#line $LINENO "configure" |
7675 |
#include "confdefs.h" |
15113 |
#include "confdefs.h" |
7676 |
#include <stdio.h> |
15114 |
#include <stdio.h> |
7677 |
#include <stddef.h> |
15115 |
#include <stddef.h> |
Lines 7733-7770
Link Here
|
7733 |
fclose(f); |
15171 |
fclose(f); |
7734 |
exit(0); |
15172 |
exit(0); |
7735 |
} |
15173 |
} |
7736 |
EOF |
15174 |
_ACEOF |
7737 |
if { (eval echo configure:7738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15175 |
rm -f conftest$ac_exeext |
7738 |
then |
15176 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15177 |
(eval $ac_link) 2>&5 |
15178 |
ac_status=$? |
15179 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15180 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15181 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15182 |
(eval $ac_try) 2>&5 |
15183 |
ac_status=$? |
15184 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15185 |
(exit $ac_status); }; }; then |
7739 |
fptools_cv_htype_ssize_t=`cat conftestval` |
15186 |
fptools_cv_htype_ssize_t=`cat conftestval` |
7740 |
else |
15187 |
else |
7741 |
echo "configure: failed program was:" >&5 |
15188 |
echo "$as_me: program exited with status $ac_status" >&5 |
7742 |
cat conftest.$ac_ext >&5 |
15189 |
echo "$as_me: failed program was:" >&5 |
7743 |
rm -fr conftest* |
15190 |
cat conftest.$ac_ext >&5 |
7744 |
fptools_cv_htype_ssize_t=NotReallyAType |
15191 |
( exit $ac_status ) |
7745 |
fi |
15192 |
fptools_cv_htype_ssize_t=NotReallyAType |
7746 |
rm -fr conftest* |
15193 |
fi |
|
|
15194 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7747 |
fi |
15195 |
fi |
7748 |
|
|
|
7749 |
fi |
15196 |
fi |
7750 |
echo "$ac_t""$fptools_cv_htype_ssize_t" 1>&6 |
15197 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_ssize_t" >&5 |
7751 |
cat >> confdefs.h <<EOF |
15198 |
echo "${ECHO_T}$fptools_cv_htype_ssize_t" >&6 |
|
|
15199 |
cat >>confdefs.h <<_ACEOF |
7752 |
#define HTYPE_SSIZE_T $fptools_cv_htype_ssize_t |
15200 |
#define HTYPE_SSIZE_T $fptools_cv_htype_ssize_t |
7753 |
EOF |
15201 |
_ACEOF |
7754 |
|
15202 |
|
7755 |
|
15203 |
|
7756 |
|
15204 |
|
7757 |
if test $GhcLibsWithHOpenGL = YES ; then |
15205 |
if test $GhcLibsWithHOpenGL = YES ; then |
7758 |
echo $ac_n "checking Haskell type for GLboolean""... $ac_c" 1>&6 |
15206 |
echo "$as_me:$LINENO: checking Haskell type for GLboolean" >&5 |
7759 |
echo "configure:7760: checking Haskell type for GLboolean" >&5 |
15207 |
echo $ECHO_N "checking Haskell type for GLboolean... $ECHO_C" >&6 |
7760 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLboolean'+set}'`\" = set"; then |
15208 |
if test "${fptools_cv_htype_GLboolean+set}" = set; then |
7761 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15209 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7762 |
else |
15210 |
else |
7763 |
if test "$cross_compiling" = yes; then |
15211 |
if test "$cross_compiling" = yes; then |
7764 |
fptools_cv_htype_GLboolean=NotReallyATypeCross |
15212 |
fptools_cv_htype_GLboolean=NotReallyATypeCross |
7765 |
else |
15213 |
else |
7766 |
cat > conftest.$ac_ext <<EOF |
15214 |
cat >conftest.$ac_ext <<_ACEOF |
7767 |
#line 7768 "configure" |
15215 |
#line $LINENO "configure" |
7768 |
#include "confdefs.h" |
15216 |
#include "confdefs.h" |
7769 |
#include <stdio.h> |
15217 |
#include <stdio.h> |
7770 |
#include <stddef.h> |
15218 |
#include <stddef.h> |
Lines 7826-7861
Link Here
|
7826 |
fclose(f); |
15274 |
fclose(f); |
7827 |
exit(0); |
15275 |
exit(0); |
7828 |
} |
15276 |
} |
7829 |
EOF |
15277 |
_ACEOF |
7830 |
if { (eval echo configure:7831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15278 |
rm -f conftest$ac_exeext |
7831 |
then |
15279 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15280 |
(eval $ac_link) 2>&5 |
15281 |
ac_status=$? |
15282 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15283 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15284 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15285 |
(eval $ac_try) 2>&5 |
15286 |
ac_status=$? |
15287 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15288 |
(exit $ac_status); }; }; then |
7832 |
fptools_cv_htype_GLboolean=`cat conftestval` |
15289 |
fptools_cv_htype_GLboolean=`cat conftestval` |
7833 |
else |
15290 |
else |
7834 |
echo "configure: failed program was:" >&5 |
15291 |
echo "$as_me: program exited with status $ac_status" >&5 |
7835 |
cat conftest.$ac_ext >&5 |
15292 |
echo "$as_me: failed program was:" >&5 |
7836 |
rm -fr conftest* |
15293 |
cat conftest.$ac_ext >&5 |
7837 |
fptools_cv_htype_GLboolean=NotReallyAType |
15294 |
( exit $ac_status ) |
7838 |
fi |
15295 |
fptools_cv_htype_GLboolean=NotReallyAType |
7839 |
rm -fr conftest* |
15296 |
fi |
|
|
15297 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7840 |
fi |
15298 |
fi |
7841 |
|
|
|
7842 |
fi |
15299 |
fi |
7843 |
echo "$ac_t""$fptools_cv_htype_GLboolean" 1>&6 |
15300 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLboolean" >&5 |
7844 |
cat >> confdefs.h <<EOF |
15301 |
echo "${ECHO_T}$fptools_cv_htype_GLboolean" >&6 |
|
|
15302 |
cat >>confdefs.h <<_ACEOF |
7845 |
#define HTYPE_GLBOOLEAN $fptools_cv_htype_GLboolean |
15303 |
#define HTYPE_GLBOOLEAN $fptools_cv_htype_GLboolean |
7846 |
EOF |
15304 |
_ACEOF |
7847 |
|
15305 |
|
7848 |
|
15306 |
|
7849 |
echo $ac_n "checking Haskell type for GLbyte""... $ac_c" 1>&6 |
15307 |
echo "$as_me:$LINENO: checking Haskell type for GLbyte" >&5 |
7850 |
echo "configure:7851: checking Haskell type for GLbyte" >&5 |
15308 |
echo $ECHO_N "checking Haskell type for GLbyte... $ECHO_C" >&6 |
7851 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLbyte'+set}'`\" = set"; then |
15309 |
if test "${fptools_cv_htype_GLbyte+set}" = set; then |
7852 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15310 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7853 |
else |
15311 |
else |
7854 |
if test "$cross_compiling" = yes; then |
15312 |
if test "$cross_compiling" = yes; then |
7855 |
fptools_cv_htype_GLbyte=NotReallyATypeCross |
15313 |
fptools_cv_htype_GLbyte=NotReallyATypeCross |
7856 |
else |
15314 |
else |
7857 |
cat > conftest.$ac_ext <<EOF |
15315 |
cat >conftest.$ac_ext <<_ACEOF |
7858 |
#line 7859 "configure" |
15316 |
#line $LINENO "configure" |
7859 |
#include "confdefs.h" |
15317 |
#include "confdefs.h" |
7860 |
#include <stdio.h> |
15318 |
#include <stdio.h> |
7861 |
#include <stddef.h> |
15319 |
#include <stddef.h> |
Lines 7917-7952
Link Here
|
7917 |
fclose(f); |
15375 |
fclose(f); |
7918 |
exit(0); |
15376 |
exit(0); |
7919 |
} |
15377 |
} |
7920 |
EOF |
15378 |
_ACEOF |
7921 |
if { (eval echo configure:7922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15379 |
rm -f conftest$ac_exeext |
7922 |
then |
15380 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15381 |
(eval $ac_link) 2>&5 |
15382 |
ac_status=$? |
15383 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15384 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15385 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15386 |
(eval $ac_try) 2>&5 |
15387 |
ac_status=$? |
15388 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15389 |
(exit $ac_status); }; }; then |
7923 |
fptools_cv_htype_GLbyte=`cat conftestval` |
15390 |
fptools_cv_htype_GLbyte=`cat conftestval` |
7924 |
else |
15391 |
else |
7925 |
echo "configure: failed program was:" >&5 |
15392 |
echo "$as_me: program exited with status $ac_status" >&5 |
7926 |
cat conftest.$ac_ext >&5 |
15393 |
echo "$as_me: failed program was:" >&5 |
7927 |
rm -fr conftest* |
15394 |
cat conftest.$ac_ext >&5 |
7928 |
fptools_cv_htype_GLbyte=NotReallyAType |
15395 |
( exit $ac_status ) |
7929 |
fi |
15396 |
fptools_cv_htype_GLbyte=NotReallyAType |
7930 |
rm -fr conftest* |
15397 |
fi |
|
|
15398 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
7931 |
fi |
15399 |
fi |
7932 |
|
|
|
7933 |
fi |
15400 |
fi |
7934 |
echo "$ac_t""$fptools_cv_htype_GLbyte" 1>&6 |
15401 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLbyte" >&5 |
7935 |
cat >> confdefs.h <<EOF |
15402 |
echo "${ECHO_T}$fptools_cv_htype_GLbyte" >&6 |
|
|
15403 |
cat >>confdefs.h <<_ACEOF |
7936 |
#define HTYPE_GLBYTE $fptools_cv_htype_GLbyte |
15404 |
#define HTYPE_GLBYTE $fptools_cv_htype_GLbyte |
7937 |
EOF |
15405 |
_ACEOF |
7938 |
|
15406 |
|
7939 |
|
15407 |
|
7940 |
echo $ac_n "checking Haskell type for GLubyte""... $ac_c" 1>&6 |
15408 |
echo "$as_me:$LINENO: checking Haskell type for GLubyte" >&5 |
7941 |
echo "configure:7942: checking Haskell type for GLubyte" >&5 |
15409 |
echo $ECHO_N "checking Haskell type for GLubyte... $ECHO_C" >&6 |
7942 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLubyte'+set}'`\" = set"; then |
15410 |
if test "${fptools_cv_htype_GLubyte+set}" = set; then |
7943 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15411 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
7944 |
else |
15412 |
else |
7945 |
if test "$cross_compiling" = yes; then |
15413 |
if test "$cross_compiling" = yes; then |
7946 |
fptools_cv_htype_GLubyte=NotReallyATypeCross |
15414 |
fptools_cv_htype_GLubyte=NotReallyATypeCross |
7947 |
else |
15415 |
else |
7948 |
cat > conftest.$ac_ext <<EOF |
15416 |
cat >conftest.$ac_ext <<_ACEOF |
7949 |
#line 7950 "configure" |
15417 |
#line $LINENO "configure" |
7950 |
#include "confdefs.h" |
15418 |
#include "confdefs.h" |
7951 |
#include <stdio.h> |
15419 |
#include <stdio.h> |
7952 |
#include <stddef.h> |
15420 |
#include <stddef.h> |
Lines 8008-8043
Link Here
|
8008 |
fclose(f); |
15476 |
fclose(f); |
8009 |
exit(0); |
15477 |
exit(0); |
8010 |
} |
15478 |
} |
8011 |
EOF |
15479 |
_ACEOF |
8012 |
if { (eval echo configure:8013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15480 |
rm -f conftest$ac_exeext |
8013 |
then |
15481 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15482 |
(eval $ac_link) 2>&5 |
15483 |
ac_status=$? |
15484 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15485 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15486 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15487 |
(eval $ac_try) 2>&5 |
15488 |
ac_status=$? |
15489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15490 |
(exit $ac_status); }; }; then |
8014 |
fptools_cv_htype_GLubyte=`cat conftestval` |
15491 |
fptools_cv_htype_GLubyte=`cat conftestval` |
8015 |
else |
15492 |
else |
8016 |
echo "configure: failed program was:" >&5 |
15493 |
echo "$as_me: program exited with status $ac_status" >&5 |
8017 |
cat conftest.$ac_ext >&5 |
15494 |
echo "$as_me: failed program was:" >&5 |
8018 |
rm -fr conftest* |
15495 |
cat conftest.$ac_ext >&5 |
8019 |
fptools_cv_htype_GLubyte=NotReallyAType |
15496 |
( exit $ac_status ) |
8020 |
fi |
15497 |
fptools_cv_htype_GLubyte=NotReallyAType |
8021 |
rm -fr conftest* |
15498 |
fi |
|
|
15499 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8022 |
fi |
15500 |
fi |
8023 |
|
|
|
8024 |
fi |
15501 |
fi |
8025 |
echo "$ac_t""$fptools_cv_htype_GLubyte" 1>&6 |
15502 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLubyte" >&5 |
8026 |
cat >> confdefs.h <<EOF |
15503 |
echo "${ECHO_T}$fptools_cv_htype_GLubyte" >&6 |
|
|
15504 |
cat >>confdefs.h <<_ACEOF |
8027 |
#define HTYPE_GLUBYTE $fptools_cv_htype_GLubyte |
15505 |
#define HTYPE_GLUBYTE $fptools_cv_htype_GLubyte |
8028 |
EOF |
15506 |
_ACEOF |
8029 |
|
15507 |
|
8030 |
|
15508 |
|
8031 |
echo $ac_n "checking Haskell type for GLshort""... $ac_c" 1>&6 |
15509 |
echo "$as_me:$LINENO: checking Haskell type for GLshort" >&5 |
8032 |
echo "configure:8033: checking Haskell type for GLshort" >&5 |
15510 |
echo $ECHO_N "checking Haskell type for GLshort... $ECHO_C" >&6 |
8033 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLshort'+set}'`\" = set"; then |
15511 |
if test "${fptools_cv_htype_GLshort+set}" = set; then |
8034 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15512 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8035 |
else |
15513 |
else |
8036 |
if test "$cross_compiling" = yes; then |
15514 |
if test "$cross_compiling" = yes; then |
8037 |
fptools_cv_htype_GLshort=NotReallyATypeCross |
15515 |
fptools_cv_htype_GLshort=NotReallyATypeCross |
8038 |
else |
15516 |
else |
8039 |
cat > conftest.$ac_ext <<EOF |
15517 |
cat >conftest.$ac_ext <<_ACEOF |
8040 |
#line 8041 "configure" |
15518 |
#line $LINENO "configure" |
8041 |
#include "confdefs.h" |
15519 |
#include "confdefs.h" |
8042 |
#include <stdio.h> |
15520 |
#include <stdio.h> |
8043 |
#include <stddef.h> |
15521 |
#include <stddef.h> |
Lines 8099-8134
Link Here
|
8099 |
fclose(f); |
15577 |
fclose(f); |
8100 |
exit(0); |
15578 |
exit(0); |
8101 |
} |
15579 |
} |
8102 |
EOF |
15580 |
_ACEOF |
8103 |
if { (eval echo configure:8104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15581 |
rm -f conftest$ac_exeext |
8104 |
then |
15582 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15583 |
(eval $ac_link) 2>&5 |
15584 |
ac_status=$? |
15585 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15586 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15587 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15588 |
(eval $ac_try) 2>&5 |
15589 |
ac_status=$? |
15590 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15591 |
(exit $ac_status); }; }; then |
8105 |
fptools_cv_htype_GLshort=`cat conftestval` |
15592 |
fptools_cv_htype_GLshort=`cat conftestval` |
8106 |
else |
15593 |
else |
8107 |
echo "configure: failed program was:" >&5 |
15594 |
echo "$as_me: program exited with status $ac_status" >&5 |
8108 |
cat conftest.$ac_ext >&5 |
15595 |
echo "$as_me: failed program was:" >&5 |
8109 |
rm -fr conftest* |
15596 |
cat conftest.$ac_ext >&5 |
8110 |
fptools_cv_htype_GLshort=NotReallyAType |
15597 |
( exit $ac_status ) |
8111 |
fi |
15598 |
fptools_cv_htype_GLshort=NotReallyAType |
8112 |
rm -fr conftest* |
15599 |
fi |
|
|
15600 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8113 |
fi |
15601 |
fi |
8114 |
|
|
|
8115 |
fi |
15602 |
fi |
8116 |
echo "$ac_t""$fptools_cv_htype_GLshort" 1>&6 |
15603 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLshort" >&5 |
8117 |
cat >> confdefs.h <<EOF |
15604 |
echo "${ECHO_T}$fptools_cv_htype_GLshort" >&6 |
|
|
15605 |
cat >>confdefs.h <<_ACEOF |
8118 |
#define HTYPE_GLSHORT $fptools_cv_htype_GLshort |
15606 |
#define HTYPE_GLSHORT $fptools_cv_htype_GLshort |
8119 |
EOF |
15607 |
_ACEOF |
8120 |
|
15608 |
|
8121 |
|
15609 |
|
8122 |
echo $ac_n "checking Haskell type for GLushort""... $ac_c" 1>&6 |
15610 |
echo "$as_me:$LINENO: checking Haskell type for GLushort" >&5 |
8123 |
echo "configure:8124: checking Haskell type for GLushort" >&5 |
15611 |
echo $ECHO_N "checking Haskell type for GLushort... $ECHO_C" >&6 |
8124 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLushort'+set}'`\" = set"; then |
15612 |
if test "${fptools_cv_htype_GLushort+set}" = set; then |
8125 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15613 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8126 |
else |
15614 |
else |
8127 |
if test "$cross_compiling" = yes; then |
15615 |
if test "$cross_compiling" = yes; then |
8128 |
fptools_cv_htype_GLushort=NotReallyATypeCross |
15616 |
fptools_cv_htype_GLushort=NotReallyATypeCross |
8129 |
else |
15617 |
else |
8130 |
cat > conftest.$ac_ext <<EOF |
15618 |
cat >conftest.$ac_ext <<_ACEOF |
8131 |
#line 8132 "configure" |
15619 |
#line $LINENO "configure" |
8132 |
#include "confdefs.h" |
15620 |
#include "confdefs.h" |
8133 |
#include <stdio.h> |
15621 |
#include <stdio.h> |
8134 |
#include <stddef.h> |
15622 |
#include <stddef.h> |
Lines 8190-8225
Link Here
|
8190 |
fclose(f); |
15678 |
fclose(f); |
8191 |
exit(0); |
15679 |
exit(0); |
8192 |
} |
15680 |
} |
8193 |
EOF |
15681 |
_ACEOF |
8194 |
if { (eval echo configure:8195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15682 |
rm -f conftest$ac_exeext |
8195 |
then |
15683 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15684 |
(eval $ac_link) 2>&5 |
15685 |
ac_status=$? |
15686 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15687 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15688 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15689 |
(eval $ac_try) 2>&5 |
15690 |
ac_status=$? |
15691 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15692 |
(exit $ac_status); }; }; then |
8196 |
fptools_cv_htype_GLushort=`cat conftestval` |
15693 |
fptools_cv_htype_GLushort=`cat conftestval` |
8197 |
else |
15694 |
else |
8198 |
echo "configure: failed program was:" >&5 |
15695 |
echo "$as_me: program exited with status $ac_status" >&5 |
8199 |
cat conftest.$ac_ext >&5 |
15696 |
echo "$as_me: failed program was:" >&5 |
8200 |
rm -fr conftest* |
15697 |
cat conftest.$ac_ext >&5 |
8201 |
fptools_cv_htype_GLushort=NotReallyAType |
15698 |
( exit $ac_status ) |
8202 |
fi |
15699 |
fptools_cv_htype_GLushort=NotReallyAType |
8203 |
rm -fr conftest* |
15700 |
fi |
|
|
15701 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8204 |
fi |
15702 |
fi |
8205 |
|
|
|
8206 |
fi |
15703 |
fi |
8207 |
echo "$ac_t""$fptools_cv_htype_GLushort" 1>&6 |
15704 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLushort" >&5 |
8208 |
cat >> confdefs.h <<EOF |
15705 |
echo "${ECHO_T}$fptools_cv_htype_GLushort" >&6 |
|
|
15706 |
cat >>confdefs.h <<_ACEOF |
8209 |
#define HTYPE_GLUSHORT $fptools_cv_htype_GLushort |
15707 |
#define HTYPE_GLUSHORT $fptools_cv_htype_GLushort |
8210 |
EOF |
15708 |
_ACEOF |
8211 |
|
15709 |
|
8212 |
|
15710 |
|
8213 |
echo $ac_n "checking Haskell type for GLint""... $ac_c" 1>&6 |
15711 |
echo "$as_me:$LINENO: checking Haskell type for GLint" >&5 |
8214 |
echo "configure:8215: checking Haskell type for GLint" >&5 |
15712 |
echo $ECHO_N "checking Haskell type for GLint... $ECHO_C" >&6 |
8215 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLint'+set}'`\" = set"; then |
15713 |
if test "${fptools_cv_htype_GLint+set}" = set; then |
8216 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15714 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8217 |
else |
15715 |
else |
8218 |
if test "$cross_compiling" = yes; then |
15716 |
if test "$cross_compiling" = yes; then |
8219 |
fptools_cv_htype_GLint=NotReallyATypeCross |
15717 |
fptools_cv_htype_GLint=NotReallyATypeCross |
8220 |
else |
15718 |
else |
8221 |
cat > conftest.$ac_ext <<EOF |
15719 |
cat >conftest.$ac_ext <<_ACEOF |
8222 |
#line 8223 "configure" |
15720 |
#line $LINENO "configure" |
8223 |
#include "confdefs.h" |
15721 |
#include "confdefs.h" |
8224 |
#include <stdio.h> |
15722 |
#include <stdio.h> |
8225 |
#include <stddef.h> |
15723 |
#include <stddef.h> |
Lines 8281-8316
Link Here
|
8281 |
fclose(f); |
15779 |
fclose(f); |
8282 |
exit(0); |
15780 |
exit(0); |
8283 |
} |
15781 |
} |
8284 |
EOF |
15782 |
_ACEOF |
8285 |
if { (eval echo configure:8286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15783 |
rm -f conftest$ac_exeext |
8286 |
then |
15784 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15785 |
(eval $ac_link) 2>&5 |
15786 |
ac_status=$? |
15787 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15788 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15789 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15790 |
(eval $ac_try) 2>&5 |
15791 |
ac_status=$? |
15792 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15793 |
(exit $ac_status); }; }; then |
8287 |
fptools_cv_htype_GLint=`cat conftestval` |
15794 |
fptools_cv_htype_GLint=`cat conftestval` |
8288 |
else |
15795 |
else |
8289 |
echo "configure: failed program was:" >&5 |
15796 |
echo "$as_me: program exited with status $ac_status" >&5 |
8290 |
cat conftest.$ac_ext >&5 |
15797 |
echo "$as_me: failed program was:" >&5 |
8291 |
rm -fr conftest* |
15798 |
cat conftest.$ac_ext >&5 |
8292 |
fptools_cv_htype_GLint=NotReallyAType |
15799 |
( exit $ac_status ) |
8293 |
fi |
15800 |
fptools_cv_htype_GLint=NotReallyAType |
8294 |
rm -fr conftest* |
15801 |
fi |
|
|
15802 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8295 |
fi |
15803 |
fi |
8296 |
|
|
|
8297 |
fi |
15804 |
fi |
8298 |
echo "$ac_t""$fptools_cv_htype_GLint" 1>&6 |
15805 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLint" >&5 |
8299 |
cat >> confdefs.h <<EOF |
15806 |
echo "${ECHO_T}$fptools_cv_htype_GLint" >&6 |
|
|
15807 |
cat >>confdefs.h <<_ACEOF |
8300 |
#define HTYPE_GLINT $fptools_cv_htype_GLint |
15808 |
#define HTYPE_GLINT $fptools_cv_htype_GLint |
8301 |
EOF |
15809 |
_ACEOF |
8302 |
|
15810 |
|
8303 |
|
15811 |
|
8304 |
echo $ac_n "checking Haskell type for GLuint""... $ac_c" 1>&6 |
15812 |
echo "$as_me:$LINENO: checking Haskell type for GLuint" >&5 |
8305 |
echo "configure:8306: checking Haskell type for GLuint" >&5 |
15813 |
echo $ECHO_N "checking Haskell type for GLuint... $ECHO_C" >&6 |
8306 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLuint'+set}'`\" = set"; then |
15814 |
if test "${fptools_cv_htype_GLuint+set}" = set; then |
8307 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15815 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8308 |
else |
15816 |
else |
8309 |
if test "$cross_compiling" = yes; then |
15817 |
if test "$cross_compiling" = yes; then |
8310 |
fptools_cv_htype_GLuint=NotReallyATypeCross |
15818 |
fptools_cv_htype_GLuint=NotReallyATypeCross |
8311 |
else |
15819 |
else |
8312 |
cat > conftest.$ac_ext <<EOF |
15820 |
cat >conftest.$ac_ext <<_ACEOF |
8313 |
#line 8314 "configure" |
15821 |
#line $LINENO "configure" |
8314 |
#include "confdefs.h" |
15822 |
#include "confdefs.h" |
8315 |
#include <stdio.h> |
15823 |
#include <stdio.h> |
8316 |
#include <stddef.h> |
15824 |
#include <stddef.h> |
Lines 8372-8407
Link Here
|
8372 |
fclose(f); |
15880 |
fclose(f); |
8373 |
exit(0); |
15881 |
exit(0); |
8374 |
} |
15882 |
} |
8375 |
EOF |
15883 |
_ACEOF |
8376 |
if { (eval echo configure:8377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15884 |
rm -f conftest$ac_exeext |
8377 |
then |
15885 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15886 |
(eval $ac_link) 2>&5 |
15887 |
ac_status=$? |
15888 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15889 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15890 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15891 |
(eval $ac_try) 2>&5 |
15892 |
ac_status=$? |
15893 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15894 |
(exit $ac_status); }; }; then |
8378 |
fptools_cv_htype_GLuint=`cat conftestval` |
15895 |
fptools_cv_htype_GLuint=`cat conftestval` |
8379 |
else |
15896 |
else |
8380 |
echo "configure: failed program was:" >&5 |
15897 |
echo "$as_me: program exited with status $ac_status" >&5 |
8381 |
cat conftest.$ac_ext >&5 |
15898 |
echo "$as_me: failed program was:" >&5 |
8382 |
rm -fr conftest* |
15899 |
cat conftest.$ac_ext >&5 |
8383 |
fptools_cv_htype_GLuint=NotReallyAType |
15900 |
( exit $ac_status ) |
8384 |
fi |
15901 |
fptools_cv_htype_GLuint=NotReallyAType |
8385 |
rm -fr conftest* |
15902 |
fi |
|
|
15903 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8386 |
fi |
15904 |
fi |
8387 |
|
|
|
8388 |
fi |
15905 |
fi |
8389 |
echo "$ac_t""$fptools_cv_htype_GLuint" 1>&6 |
15906 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLuint" >&5 |
8390 |
cat >> confdefs.h <<EOF |
15907 |
echo "${ECHO_T}$fptools_cv_htype_GLuint" >&6 |
|
|
15908 |
cat >>confdefs.h <<_ACEOF |
8391 |
#define HTYPE_GLUINT $fptools_cv_htype_GLuint |
15909 |
#define HTYPE_GLUINT $fptools_cv_htype_GLuint |
8392 |
EOF |
15910 |
_ACEOF |
8393 |
|
15911 |
|
8394 |
|
15912 |
|
8395 |
echo $ac_n "checking Haskell type for GLsizei""... $ac_c" 1>&6 |
15913 |
echo "$as_me:$LINENO: checking Haskell type for GLsizei" >&5 |
8396 |
echo "configure:8397: checking Haskell type for GLsizei" >&5 |
15914 |
echo $ECHO_N "checking Haskell type for GLsizei... $ECHO_C" >&6 |
8397 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLsizei'+set}'`\" = set"; then |
15915 |
if test "${fptools_cv_htype_GLsizei+set}" = set; then |
8398 |
echo $ac_n "(cached) $ac_c" 1>&6 |
15916 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8399 |
else |
15917 |
else |
8400 |
if test "$cross_compiling" = yes; then |
15918 |
if test "$cross_compiling" = yes; then |
8401 |
fptools_cv_htype_GLsizei=NotReallyATypeCross |
15919 |
fptools_cv_htype_GLsizei=NotReallyATypeCross |
8402 |
else |
15920 |
else |
8403 |
cat > conftest.$ac_ext <<EOF |
15921 |
cat >conftest.$ac_ext <<_ACEOF |
8404 |
#line 8405 "configure" |
15922 |
#line $LINENO "configure" |
8405 |
#include "confdefs.h" |
15923 |
#include "confdefs.h" |
8406 |
#include <stdio.h> |
15924 |
#include <stdio.h> |
8407 |
#include <stddef.h> |
15925 |
#include <stddef.h> |
Lines 8463-8498
Link Here
|
8463 |
fclose(f); |
15981 |
fclose(f); |
8464 |
exit(0); |
15982 |
exit(0); |
8465 |
} |
15983 |
} |
8466 |
EOF |
15984 |
_ACEOF |
8467 |
if { (eval echo configure:8468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
15985 |
rm -f conftest$ac_exeext |
8468 |
then |
15986 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
15987 |
(eval $ac_link) 2>&5 |
15988 |
ac_status=$? |
15989 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15990 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
15991 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
15992 |
(eval $ac_try) 2>&5 |
15993 |
ac_status=$? |
15994 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
15995 |
(exit $ac_status); }; }; then |
8469 |
fptools_cv_htype_GLsizei=`cat conftestval` |
15996 |
fptools_cv_htype_GLsizei=`cat conftestval` |
8470 |
else |
15997 |
else |
8471 |
echo "configure: failed program was:" >&5 |
15998 |
echo "$as_me: program exited with status $ac_status" >&5 |
8472 |
cat conftest.$ac_ext >&5 |
15999 |
echo "$as_me: failed program was:" >&5 |
8473 |
rm -fr conftest* |
16000 |
cat conftest.$ac_ext >&5 |
8474 |
fptools_cv_htype_GLsizei=NotReallyAType |
16001 |
( exit $ac_status ) |
8475 |
fi |
16002 |
fptools_cv_htype_GLsizei=NotReallyAType |
8476 |
rm -fr conftest* |
16003 |
fi |
|
|
16004 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8477 |
fi |
16005 |
fi |
8478 |
|
|
|
8479 |
fi |
16006 |
fi |
8480 |
echo "$ac_t""$fptools_cv_htype_GLsizei" 1>&6 |
16007 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLsizei" >&5 |
8481 |
cat >> confdefs.h <<EOF |
16008 |
echo "${ECHO_T}$fptools_cv_htype_GLsizei" >&6 |
|
|
16009 |
cat >>confdefs.h <<_ACEOF |
8482 |
#define HTYPE_GLSIZEI $fptools_cv_htype_GLsizei |
16010 |
#define HTYPE_GLSIZEI $fptools_cv_htype_GLsizei |
8483 |
EOF |
16011 |
_ACEOF |
8484 |
|
16012 |
|
8485 |
|
16013 |
|
8486 |
echo $ac_n "checking Haskell type for GLenum""... $ac_c" 1>&6 |
16014 |
echo "$as_me:$LINENO: checking Haskell type for GLenum" >&5 |
8487 |
echo "configure:8488: checking Haskell type for GLenum" >&5 |
16015 |
echo $ECHO_N "checking Haskell type for GLenum... $ECHO_C" >&6 |
8488 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLenum'+set}'`\" = set"; then |
16016 |
if test "${fptools_cv_htype_GLenum+set}" = set; then |
8489 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16017 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8490 |
else |
16018 |
else |
8491 |
if test "$cross_compiling" = yes; then |
16019 |
if test "$cross_compiling" = yes; then |
8492 |
fptools_cv_htype_GLenum=NotReallyATypeCross |
16020 |
fptools_cv_htype_GLenum=NotReallyATypeCross |
8493 |
else |
16021 |
else |
8494 |
cat > conftest.$ac_ext <<EOF |
16022 |
cat >conftest.$ac_ext <<_ACEOF |
8495 |
#line 8496 "configure" |
16023 |
#line $LINENO "configure" |
8496 |
#include "confdefs.h" |
16024 |
#include "confdefs.h" |
8497 |
#include <stdio.h> |
16025 |
#include <stdio.h> |
8498 |
#include <stddef.h> |
16026 |
#include <stddef.h> |
Lines 8554-8589
Link Here
|
8554 |
fclose(f); |
16082 |
fclose(f); |
8555 |
exit(0); |
16083 |
exit(0); |
8556 |
} |
16084 |
} |
8557 |
EOF |
16085 |
_ACEOF |
8558 |
if { (eval echo configure:8559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16086 |
rm -f conftest$ac_exeext |
8559 |
then |
16087 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16088 |
(eval $ac_link) 2>&5 |
16089 |
ac_status=$? |
16090 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16091 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16092 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16093 |
(eval $ac_try) 2>&5 |
16094 |
ac_status=$? |
16095 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16096 |
(exit $ac_status); }; }; then |
8560 |
fptools_cv_htype_GLenum=`cat conftestval` |
16097 |
fptools_cv_htype_GLenum=`cat conftestval` |
8561 |
else |
16098 |
else |
8562 |
echo "configure: failed program was:" >&5 |
16099 |
echo "$as_me: program exited with status $ac_status" >&5 |
8563 |
cat conftest.$ac_ext >&5 |
16100 |
echo "$as_me: failed program was:" >&5 |
8564 |
rm -fr conftest* |
16101 |
cat conftest.$ac_ext >&5 |
8565 |
fptools_cv_htype_GLenum=NotReallyAType |
16102 |
( exit $ac_status ) |
8566 |
fi |
16103 |
fptools_cv_htype_GLenum=NotReallyAType |
8567 |
rm -fr conftest* |
16104 |
fi |
|
|
16105 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8568 |
fi |
16106 |
fi |
8569 |
|
|
|
8570 |
fi |
16107 |
fi |
8571 |
echo "$ac_t""$fptools_cv_htype_GLenum" 1>&6 |
16108 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLenum" >&5 |
8572 |
cat >> confdefs.h <<EOF |
16109 |
echo "${ECHO_T}$fptools_cv_htype_GLenum" >&6 |
|
|
16110 |
cat >>confdefs.h <<_ACEOF |
8573 |
#define HTYPE_GLENUM $fptools_cv_htype_GLenum |
16111 |
#define HTYPE_GLENUM $fptools_cv_htype_GLenum |
8574 |
EOF |
16112 |
_ACEOF |
8575 |
|
16113 |
|
8576 |
|
16114 |
|
8577 |
echo $ac_n "checking Haskell type for GLbitfield""... $ac_c" 1>&6 |
16115 |
echo "$as_me:$LINENO: checking Haskell type for GLbitfield" >&5 |
8578 |
echo "configure:8579: checking Haskell type for GLbitfield" >&5 |
16116 |
echo $ECHO_N "checking Haskell type for GLbitfield... $ECHO_C" >&6 |
8579 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLbitfield'+set}'`\" = set"; then |
16117 |
if test "${fptools_cv_htype_GLbitfield+set}" = set; then |
8580 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16118 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8581 |
else |
16119 |
else |
8582 |
if test "$cross_compiling" = yes; then |
16120 |
if test "$cross_compiling" = yes; then |
8583 |
fptools_cv_htype_GLbitfield=NotReallyATypeCross |
16121 |
fptools_cv_htype_GLbitfield=NotReallyATypeCross |
8584 |
else |
16122 |
else |
8585 |
cat > conftest.$ac_ext <<EOF |
16123 |
cat >conftest.$ac_ext <<_ACEOF |
8586 |
#line 8587 "configure" |
16124 |
#line $LINENO "configure" |
8587 |
#include "confdefs.h" |
16125 |
#include "confdefs.h" |
8588 |
#include <stdio.h> |
16126 |
#include <stdio.h> |
8589 |
#include <stddef.h> |
16127 |
#include <stddef.h> |
Lines 8645-8680
Link Here
|
8645 |
fclose(f); |
16183 |
fclose(f); |
8646 |
exit(0); |
16184 |
exit(0); |
8647 |
} |
16185 |
} |
8648 |
EOF |
16186 |
_ACEOF |
8649 |
if { (eval echo configure:8650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16187 |
rm -f conftest$ac_exeext |
8650 |
then |
16188 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16189 |
(eval $ac_link) 2>&5 |
16190 |
ac_status=$? |
16191 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16192 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16193 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16194 |
(eval $ac_try) 2>&5 |
16195 |
ac_status=$? |
16196 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16197 |
(exit $ac_status); }; }; then |
8651 |
fptools_cv_htype_GLbitfield=`cat conftestval` |
16198 |
fptools_cv_htype_GLbitfield=`cat conftestval` |
8652 |
else |
16199 |
else |
8653 |
echo "configure: failed program was:" >&5 |
16200 |
echo "$as_me: program exited with status $ac_status" >&5 |
8654 |
cat conftest.$ac_ext >&5 |
16201 |
echo "$as_me: failed program was:" >&5 |
8655 |
rm -fr conftest* |
16202 |
cat conftest.$ac_ext >&5 |
8656 |
fptools_cv_htype_GLbitfield=NotReallyAType |
16203 |
( exit $ac_status ) |
8657 |
fi |
16204 |
fptools_cv_htype_GLbitfield=NotReallyAType |
8658 |
rm -fr conftest* |
16205 |
fi |
|
|
16206 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8659 |
fi |
16207 |
fi |
8660 |
|
|
|
8661 |
fi |
16208 |
fi |
8662 |
echo "$ac_t""$fptools_cv_htype_GLbitfield" 1>&6 |
16209 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLbitfield" >&5 |
8663 |
cat >> confdefs.h <<EOF |
16210 |
echo "${ECHO_T}$fptools_cv_htype_GLbitfield" >&6 |
|
|
16211 |
cat >>confdefs.h <<_ACEOF |
8664 |
#define HTYPE_GLBITFIELD $fptools_cv_htype_GLbitfield |
16212 |
#define HTYPE_GLBITFIELD $fptools_cv_htype_GLbitfield |
8665 |
EOF |
16213 |
_ACEOF |
8666 |
|
16214 |
|
8667 |
|
16215 |
|
8668 |
echo $ac_n "checking Haskell type for GLfloat""... $ac_c" 1>&6 |
16216 |
echo "$as_me:$LINENO: checking Haskell type for GLfloat" >&5 |
8669 |
echo "configure:8670: checking Haskell type for GLfloat" >&5 |
16217 |
echo $ECHO_N "checking Haskell type for GLfloat... $ECHO_C" >&6 |
8670 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLfloat'+set}'`\" = set"; then |
16218 |
if test "${fptools_cv_htype_GLfloat+set}" = set; then |
8671 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16219 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8672 |
else |
16220 |
else |
8673 |
if test "$cross_compiling" = yes; then |
16221 |
if test "$cross_compiling" = yes; then |
8674 |
fptools_cv_htype_GLfloat=NotReallyATypeCross |
16222 |
fptools_cv_htype_GLfloat=NotReallyATypeCross |
8675 |
else |
16223 |
else |
8676 |
cat > conftest.$ac_ext <<EOF |
16224 |
cat >conftest.$ac_ext <<_ACEOF |
8677 |
#line 8678 "configure" |
16225 |
#line $LINENO "configure" |
8678 |
#include "confdefs.h" |
16226 |
#include "confdefs.h" |
8679 |
#include <stdio.h> |
16227 |
#include <stdio.h> |
8680 |
#include <stddef.h> |
16228 |
#include <stddef.h> |
Lines 8736-8771
Link Here
|
8736 |
fclose(f); |
16284 |
fclose(f); |
8737 |
exit(0); |
16285 |
exit(0); |
8738 |
} |
16286 |
} |
8739 |
EOF |
16287 |
_ACEOF |
8740 |
if { (eval echo configure:8741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16288 |
rm -f conftest$ac_exeext |
8741 |
then |
16289 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16290 |
(eval $ac_link) 2>&5 |
16291 |
ac_status=$? |
16292 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16293 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16294 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16295 |
(eval $ac_try) 2>&5 |
16296 |
ac_status=$? |
16297 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16298 |
(exit $ac_status); }; }; then |
8742 |
fptools_cv_htype_GLfloat=`cat conftestval` |
16299 |
fptools_cv_htype_GLfloat=`cat conftestval` |
8743 |
else |
16300 |
else |
8744 |
echo "configure: failed program was:" >&5 |
16301 |
echo "$as_me: program exited with status $ac_status" >&5 |
8745 |
cat conftest.$ac_ext >&5 |
16302 |
echo "$as_me: failed program was:" >&5 |
8746 |
rm -fr conftest* |
16303 |
cat conftest.$ac_ext >&5 |
8747 |
fptools_cv_htype_GLfloat=NotReallyAType |
16304 |
( exit $ac_status ) |
8748 |
fi |
16305 |
fptools_cv_htype_GLfloat=NotReallyAType |
8749 |
rm -fr conftest* |
16306 |
fi |
|
|
16307 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8750 |
fi |
16308 |
fi |
8751 |
|
|
|
8752 |
fi |
16309 |
fi |
8753 |
echo "$ac_t""$fptools_cv_htype_GLfloat" 1>&6 |
16310 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLfloat" >&5 |
8754 |
cat >> confdefs.h <<EOF |
16311 |
echo "${ECHO_T}$fptools_cv_htype_GLfloat" >&6 |
|
|
16312 |
cat >>confdefs.h <<_ACEOF |
8755 |
#define HTYPE_GLFLOAT $fptools_cv_htype_GLfloat |
16313 |
#define HTYPE_GLFLOAT $fptools_cv_htype_GLfloat |
8756 |
EOF |
16314 |
_ACEOF |
8757 |
|
16315 |
|
8758 |
|
16316 |
|
8759 |
echo $ac_n "checking Haskell type for GLclampf""... $ac_c" 1>&6 |
16317 |
echo "$as_me:$LINENO: checking Haskell type for GLclampf" >&5 |
8760 |
echo "configure:8761: checking Haskell type for GLclampf" >&5 |
16318 |
echo $ECHO_N "checking Haskell type for GLclampf... $ECHO_C" >&6 |
8761 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLclampf'+set}'`\" = set"; then |
16319 |
if test "${fptools_cv_htype_GLclampf+set}" = set; then |
8762 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16320 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8763 |
else |
16321 |
else |
8764 |
if test "$cross_compiling" = yes; then |
16322 |
if test "$cross_compiling" = yes; then |
8765 |
fptools_cv_htype_GLclampf=NotReallyATypeCross |
16323 |
fptools_cv_htype_GLclampf=NotReallyATypeCross |
8766 |
else |
16324 |
else |
8767 |
cat > conftest.$ac_ext <<EOF |
16325 |
cat >conftest.$ac_ext <<_ACEOF |
8768 |
#line 8769 "configure" |
16326 |
#line $LINENO "configure" |
8769 |
#include "confdefs.h" |
16327 |
#include "confdefs.h" |
8770 |
#include <stdio.h> |
16328 |
#include <stdio.h> |
8771 |
#include <stddef.h> |
16329 |
#include <stddef.h> |
Lines 8827-8862
Link Here
|
8827 |
fclose(f); |
16385 |
fclose(f); |
8828 |
exit(0); |
16386 |
exit(0); |
8829 |
} |
16387 |
} |
8830 |
EOF |
16388 |
_ACEOF |
8831 |
if { (eval echo configure:8832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16389 |
rm -f conftest$ac_exeext |
8832 |
then |
16390 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16391 |
(eval $ac_link) 2>&5 |
16392 |
ac_status=$? |
16393 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16394 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16395 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16396 |
(eval $ac_try) 2>&5 |
16397 |
ac_status=$? |
16398 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16399 |
(exit $ac_status); }; }; then |
8833 |
fptools_cv_htype_GLclampf=`cat conftestval` |
16400 |
fptools_cv_htype_GLclampf=`cat conftestval` |
8834 |
else |
16401 |
else |
8835 |
echo "configure: failed program was:" >&5 |
16402 |
echo "$as_me: program exited with status $ac_status" >&5 |
8836 |
cat conftest.$ac_ext >&5 |
16403 |
echo "$as_me: failed program was:" >&5 |
8837 |
rm -fr conftest* |
16404 |
cat conftest.$ac_ext >&5 |
8838 |
fptools_cv_htype_GLclampf=NotReallyAType |
16405 |
( exit $ac_status ) |
8839 |
fi |
16406 |
fptools_cv_htype_GLclampf=NotReallyAType |
8840 |
rm -fr conftest* |
16407 |
fi |
|
|
16408 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8841 |
fi |
16409 |
fi |
8842 |
|
|
|
8843 |
fi |
16410 |
fi |
8844 |
echo "$ac_t""$fptools_cv_htype_GLclampf" 1>&6 |
16411 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLclampf" >&5 |
8845 |
cat >> confdefs.h <<EOF |
16412 |
echo "${ECHO_T}$fptools_cv_htype_GLclampf" >&6 |
|
|
16413 |
cat >>confdefs.h <<_ACEOF |
8846 |
#define HTYPE_GLCLAMPF $fptools_cv_htype_GLclampf |
16414 |
#define HTYPE_GLCLAMPF $fptools_cv_htype_GLclampf |
8847 |
EOF |
16415 |
_ACEOF |
8848 |
|
16416 |
|
8849 |
|
16417 |
|
8850 |
echo $ac_n "checking Haskell type for GLdouble""... $ac_c" 1>&6 |
16418 |
echo "$as_me:$LINENO: checking Haskell type for GLdouble" >&5 |
8851 |
echo "configure:8852: checking Haskell type for GLdouble" >&5 |
16419 |
echo $ECHO_N "checking Haskell type for GLdouble... $ECHO_C" >&6 |
8852 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLdouble'+set}'`\" = set"; then |
16420 |
if test "${fptools_cv_htype_GLdouble+set}" = set; then |
8853 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16421 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8854 |
else |
16422 |
else |
8855 |
if test "$cross_compiling" = yes; then |
16423 |
if test "$cross_compiling" = yes; then |
8856 |
fptools_cv_htype_GLdouble=NotReallyATypeCross |
16424 |
fptools_cv_htype_GLdouble=NotReallyATypeCross |
8857 |
else |
16425 |
else |
8858 |
cat > conftest.$ac_ext <<EOF |
16426 |
cat >conftest.$ac_ext <<_ACEOF |
8859 |
#line 8860 "configure" |
16427 |
#line $LINENO "configure" |
8860 |
#include "confdefs.h" |
16428 |
#include "confdefs.h" |
8861 |
#include <stdio.h> |
16429 |
#include <stdio.h> |
8862 |
#include <stddef.h> |
16430 |
#include <stddef.h> |
Lines 8918-8953
Link Here
|
8918 |
fclose(f); |
16486 |
fclose(f); |
8919 |
exit(0); |
16487 |
exit(0); |
8920 |
} |
16488 |
} |
8921 |
EOF |
16489 |
_ACEOF |
8922 |
if { (eval echo configure:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16490 |
rm -f conftest$ac_exeext |
8923 |
then |
16491 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16492 |
(eval $ac_link) 2>&5 |
16493 |
ac_status=$? |
16494 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16495 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16496 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16497 |
(eval $ac_try) 2>&5 |
16498 |
ac_status=$? |
16499 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16500 |
(exit $ac_status); }; }; then |
8924 |
fptools_cv_htype_GLdouble=`cat conftestval` |
16501 |
fptools_cv_htype_GLdouble=`cat conftestval` |
8925 |
else |
16502 |
else |
8926 |
echo "configure: failed program was:" >&5 |
16503 |
echo "$as_me: program exited with status $ac_status" >&5 |
8927 |
cat conftest.$ac_ext >&5 |
16504 |
echo "$as_me: failed program was:" >&5 |
8928 |
rm -fr conftest* |
16505 |
cat conftest.$ac_ext >&5 |
8929 |
fptools_cv_htype_GLdouble=NotReallyAType |
16506 |
( exit $ac_status ) |
8930 |
fi |
16507 |
fptools_cv_htype_GLdouble=NotReallyAType |
8931 |
rm -fr conftest* |
16508 |
fi |
|
|
16509 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
8932 |
fi |
16510 |
fi |
8933 |
|
|
|
8934 |
fi |
16511 |
fi |
8935 |
echo "$ac_t""$fptools_cv_htype_GLdouble" 1>&6 |
16512 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLdouble" >&5 |
8936 |
cat >> confdefs.h <<EOF |
16513 |
echo "${ECHO_T}$fptools_cv_htype_GLdouble" >&6 |
|
|
16514 |
cat >>confdefs.h <<_ACEOF |
8937 |
#define HTYPE_GLDOUBLE $fptools_cv_htype_GLdouble |
16515 |
#define HTYPE_GLDOUBLE $fptools_cv_htype_GLdouble |
8938 |
EOF |
16516 |
_ACEOF |
8939 |
|
16517 |
|
8940 |
|
16518 |
|
8941 |
echo $ac_n "checking Haskell type for GLclampd""... $ac_c" 1>&6 |
16519 |
echo "$as_me:$LINENO: checking Haskell type for GLclampd" >&5 |
8942 |
echo "configure:8943: checking Haskell type for GLclampd" >&5 |
16520 |
echo $ECHO_N "checking Haskell type for GLclampd... $ECHO_C" >&6 |
8943 |
if eval "test \"`echo '$''{'fptools_cv_htype_GLclampd'+set}'`\" = set"; then |
16521 |
if test "${fptools_cv_htype_GLclampd+set}" = set; then |
8944 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16522 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
8945 |
else |
16523 |
else |
8946 |
if test "$cross_compiling" = yes; then |
16524 |
if test "$cross_compiling" = yes; then |
8947 |
fptools_cv_htype_GLclampd=NotReallyATypeCross |
16525 |
fptools_cv_htype_GLclampd=NotReallyATypeCross |
8948 |
else |
16526 |
else |
8949 |
cat > conftest.$ac_ext <<EOF |
16527 |
cat >conftest.$ac_ext <<_ACEOF |
8950 |
#line 8951 "configure" |
16528 |
#line $LINENO "configure" |
8951 |
#include "confdefs.h" |
16529 |
#include "confdefs.h" |
8952 |
#include <stdio.h> |
16530 |
#include <stdio.h> |
8953 |
#include <stddef.h> |
16531 |
#include <stddef.h> |
Lines 9009-9088
Link Here
|
9009 |
fclose(f); |
16587 |
fclose(f); |
9010 |
exit(0); |
16588 |
exit(0); |
9011 |
} |
16589 |
} |
9012 |
EOF |
16590 |
_ACEOF |
9013 |
if { (eval echo configure:9014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
16591 |
rm -f conftest$ac_exeext |
9014 |
then |
16592 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
16593 |
(eval $ac_link) 2>&5 |
16594 |
ac_status=$? |
16595 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16596 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
16597 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16598 |
(eval $ac_try) 2>&5 |
16599 |
ac_status=$? |
16600 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16601 |
(exit $ac_status); }; }; then |
9015 |
fptools_cv_htype_GLclampd=`cat conftestval` |
16602 |
fptools_cv_htype_GLclampd=`cat conftestval` |
9016 |
else |
16603 |
else |
9017 |
echo "configure: failed program was:" >&5 |
16604 |
echo "$as_me: program exited with status $ac_status" >&5 |
9018 |
cat conftest.$ac_ext >&5 |
16605 |
echo "$as_me: failed program was:" >&5 |
9019 |
rm -fr conftest* |
16606 |
cat conftest.$ac_ext >&5 |
9020 |
fptools_cv_htype_GLclampd=NotReallyAType |
16607 |
( exit $ac_status ) |
9021 |
fi |
16608 |
fptools_cv_htype_GLclampd=NotReallyAType |
9022 |
rm -fr conftest* |
16609 |
fi |
|
|
16610 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
9023 |
fi |
16611 |
fi |
9024 |
|
|
|
9025 |
fi |
16612 |
fi |
9026 |
echo "$ac_t""$fptools_cv_htype_GLclampd" 1>&6 |
16613 |
echo "$as_me:$LINENO: result: $fptools_cv_htype_GLclampd" >&5 |
9027 |
cat >> confdefs.h <<EOF |
16614 |
echo "${ECHO_T}$fptools_cv_htype_GLclampd" >&6 |
|
|
16615 |
cat >>confdefs.h <<_ACEOF |
9028 |
#define HTYPE_GLCLAMPD $fptools_cv_htype_GLclampd |
16616 |
#define HTYPE_GLCLAMPD $fptools_cv_htype_GLclampd |
9029 |
EOF |
16617 |
_ACEOF |
9030 |
|
16618 |
|
9031 |
|
16619 |
|
9032 |
fi |
16620 |
fi |
9033 |
|
16621 |
|
9034 |
|
16622 |
|
9035 |
|
16623 |
|
9036 |
echo $ac_n "checking whether we can open files in binary mode""... $ac_c" 1>&6 |
16624 |
echo "$as_me:$LINENO: checking whether we can open files in binary mode" >&5 |
9037 |
echo "configure:9038: checking whether we can open files in binary mode" >&5 |
16625 |
echo $ECHO_N "checking whether we can open files in binary mode... $ECHO_C" >&6 |
9038 |
if eval "test \"`echo '$''{'fptools_cv_have_o_binary'+set}'`\" = set"; then |
16626 |
if test "${fptools_cv_have_o_binary+set}" = set; then |
9039 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16627 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9040 |
else |
16628 |
else |
9041 |
|
16629 |
|
|
|
16630 |
|
9042 |
|
16631 |
|
9043 |
ac_ext=c |
16632 |
ac_ext=c |
9044 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
9045 |
ac_cpp='$CPP $CPPFLAGS' |
16633 |
ac_cpp='$CPP $CPPFLAGS' |
9046 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
16634 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9047 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
16635 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9048 |
cross_compiling=$ac_cv_prog_cc_cross |
16636 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9049 |
|
16637 |
|
9050 |
cat > conftest.$ac_ext <<EOF |
16638 |
cat >conftest.$ac_ext <<_ACEOF |
9051 |
#line 9052 "configure" |
16639 |
#line $LINENO "configure" |
9052 |
#include "confdefs.h" |
16640 |
#include "confdefs.h" |
9053 |
|
16641 |
|
9054 |
int main() { |
16642 |
#ifdef F77_DUMMY_MAIN |
|
|
16643 |
# ifdef __cplusplus |
16644 |
extern "C" |
16645 |
# endif |
16646 |
int F77_DUMMY_MAIN() { return 1; } |
16647 |
#endif |
16648 |
int |
16649 |
main () |
16650 |
{ |
9055 |
#ifdef HAVE_FCNTL_H |
16651 |
#ifdef HAVE_FCNTL_H |
9056 |
#include <fcntl.h> |
16652 |
#include <fcntl.h> |
9057 |
#endif |
16653 |
#endif |
9058 |
int x = O_BINARY; |
16654 |
int x = O_BINARY; |
9059 |
; return 0; } |
16655 |
; |
9060 |
EOF |
16656 |
return 0; |
9061 |
if { (eval echo configure:9062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
16657 |
} |
9062 |
rm -rf conftest* |
16658 |
_ACEOF |
|
|
16659 |
rm -f conftest.$ac_objext |
16660 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16661 |
(eval $ac_compile) 2>&5 |
16662 |
ac_status=$? |
16663 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16664 |
(exit $ac_status); } && |
16665 |
{ ac_try='test -s conftest.$ac_objext' |
16666 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16667 |
(eval $ac_try) 2>&5 |
16668 |
ac_status=$? |
16669 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16670 |
(exit $ac_status); }; }; then |
9063 |
fptools_cv_have_o_binary=yes |
16671 |
fptools_cv_have_o_binary=yes |
9064 |
else |
16672 |
else |
9065 |
echo "configure: failed program was:" >&5 |
16673 |
echo "$as_me: failed program was:" >&5 |
9066 |
cat conftest.$ac_ext >&5 |
16674 |
cat conftest.$ac_ext >&5 |
9067 |
rm -rf conftest* |
16675 |
fptools_cv_have_o_binary=no |
9068 |
fptools_cv_have_o_binary=no |
|
|
9069 |
fi |
16676 |
fi |
9070 |
rm -f conftest* |
16677 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9071 |
ac_ext=c |
16678 |
ac_ext=c |
9072 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
9073 |
ac_cpp='$CPP $CPPFLAGS' |
16679 |
ac_cpp='$CPP $CPPFLAGS' |
9074 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
16680 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9075 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
16681 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9076 |
cross_compiling=$ac_cv_prog_cc_cross |
16682 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9077 |
|
16683 |
|
9078 |
|
16684 |
|
9079 |
fi |
16685 |
fi |
9080 |
|
16686 |
|
9081 |
echo "$ac_t""$fptools_cv_have_o_binary" 1>&6 |
16687 |
echo "$as_me:$LINENO: result: $fptools_cv_have_o_binary" >&5 |
|
|
16688 |
echo "${ECHO_T}$fptools_cv_have_o_binary" >&6 |
9082 |
if test "$fptools_cv_have_o_binary" = yes; then |
16689 |
if test "$fptools_cv_have_o_binary" = yes; then |
9083 |
cat >> confdefs.h <<\EOF |
16690 |
cat >>confdefs.h <<\_ACEOF |
9084 |
#define HAVE_O_BINARY 1 |
16691 |
#define HAVE_O_BINARY 1 |
9085 |
EOF |
16692 |
_ACEOF |
9086 |
|
16693 |
|
9087 |
fi |
16694 |
fi |
9088 |
|
16695 |
|
Lines 9092-9112
Link Here
|
9092 |
ac_save_LIBS="$LIBS" |
16699 |
ac_save_LIBS="$LIBS" |
9093 |
LIBS=; |
16700 |
LIBS=; |
9094 |
cat > conftest.$ac_ext <<EOF |
16701 |
cat > conftest.$ac_ext <<EOF |
9095 |
#line 9096 "configure" |
16702 |
#line 16702 "configure" |
9096 |
#include "confdefs.h" |
16703 |
#include "confdefs.h" |
9097 |
|
16704 |
|
9098 |
#if HAVE_WINDOWS_H |
16705 |
#if HAVE_WINDOWS_H |
9099 |
#include <windows.h> |
16706 |
#include <windows.h> |
9100 |
#endif |
16707 |
#endif |
9101 |
main() { |
16708 |
main() { |
9102 |
WinExec("",0); |
16709 |
WinExec("",0); |
9103 |
exit(0); |
16710 |
exit(0); |
9104 |
} |
16711 |
} |
9105 |
|
16712 |
|
9106 |
int t() { return 0; } |
16713 |
int t() { return 0; } |
9107 |
EOF |
16714 |
EOF |
9108 |
if { (eval echo configure:9109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
16715 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9109 |
|
16716 |
(eval $ac_link) 2>&5 |
|
|
16717 |
ac_status=$? |
16718 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16719 |
(exit $ac_status); }; then |
16720 |
|
9110 |
LIBS="$ac_save_LIBS" |
16721 |
LIBS="$ac_save_LIBS" |
9111 |
rm -rf conftest* |
16722 |
rm -rf conftest* |
9112 |
have_winexec=1 |
16723 |
have_winexec=1 |
Lines 9119-9127
Link Here
|
9119 |
|
16730 |
|
9120 |
|
16731 |
|
9121 |
if test "$have_winexec" = "1"; then |
16732 |
if test "$have_winexec" = "1"; then |
9122 |
cat >> confdefs.h <<\EOF |
16733 |
cat >>confdefs.h <<\_ACEOF |
9123 |
#define HAVE_WINEXEC 1 |
16734 |
#define HAVE_WINEXEC 1 |
9124 |
EOF |
16735 |
_ACEOF |
9125 |
|
16736 |
|
9126 |
fi |
16737 |
fi |
9127 |
|
16738 |
|
Lines 9129-9141
Link Here
|
9129 |
ac_save_LIBS="$LIBS" |
16740 |
ac_save_LIBS="$LIBS" |
9130 |
LIBS=; |
16741 |
LIBS=; |
9131 |
cat > conftest.$ac_ext <<EOF |
16742 |
cat > conftest.$ac_ext <<EOF |
9132 |
#line 9133 "configure" |
16743 |
#line 16743 "configure" |
9133 |
#include "confdefs.h" |
16744 |
#include "confdefs.h" |
9134 |
|
16745 |
|
9135 |
#if HAVE_WINDOWS_H |
16746 |
#if HAVE_WINDOWS_H |
9136 |
#include <windows.h> |
16747 |
#include <windows.h> |
9137 |
#endif |
16748 |
#endif |
9138 |
main() { |
16749 |
main() { |
9139 |
char* dir; |
16750 |
char* dir; |
9140 |
GetModuleFileName((HMODULE)0,dir,0); |
16751 |
GetModuleFileName((HMODULE)0,dir,0); |
9141 |
exit(0); |
16752 |
exit(0); |
Lines 9143-9150
Link Here
|
9143 |
|
16754 |
|
9144 |
int t() { return 0; } |
16755 |
int t() { return 0; } |
9145 |
EOF |
16756 |
EOF |
9146 |
if { (eval echo configure:9147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
16757 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9147 |
|
16758 |
(eval $ac_link) 2>&5 |
|
|
16759 |
ac_status=$? |
16760 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16761 |
(exit $ac_status); }; then |
16762 |
|
9148 |
LIBS="$ac_save_LIBS" |
16763 |
LIBS="$ac_save_LIBS" |
9149 |
rm -rf conftest* |
16764 |
rm -rf conftest* |
9150 |
have_getmodulefilename=1 |
16765 |
have_getmodulefilename=1 |
Lines 9157-9181
Link Here
|
9157 |
|
16772 |
|
9158 |
|
16773 |
|
9159 |
if test "$have_getmodulefilename" = "1"; then |
16774 |
if test "$have_getmodulefilename" = "1"; then |
9160 |
cat >> confdefs.h <<\EOF |
16775 |
cat >>confdefs.h <<\_ACEOF |
9161 |
#define HAVE_GETMODULEFILENAME 1 |
16776 |
#define HAVE_GETMODULEFILENAME 1 |
9162 |
EOF |
16777 |
_ACEOF |
9163 |
|
16778 |
|
9164 |
fi |
16779 |
fi |
9165 |
|
16780 |
|
9166 |
|
16781 |
|
9167 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
16782 |
echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
9168 |
echo "configure:9169: checking return type of signal handlers" >&5 |
16783 |
echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
9169 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
16784 |
if test "${ac_cv_type_signal+set}" = set; then |
9170 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16785 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9171 |
else |
16786 |
else |
9172 |
cat > conftest.$ac_ext <<EOF |
16787 |
cat >conftest.$ac_ext <<_ACEOF |
9173 |
#line 9174 "configure" |
16788 |
#line $LINENO "configure" |
9174 |
#include "confdefs.h" |
16789 |
#include "confdefs.h" |
9175 |
#include <sys/types.h> |
16790 |
#include <sys/types.h> |
9176 |
#include <signal.h> |
16791 |
#include <signal.h> |
9177 |
#ifdef signal |
16792 |
#ifdef signal |
9178 |
#undef signal |
16793 |
# undef signal |
9179 |
#endif |
16794 |
#endif |
9180 |
#ifdef __cplusplus |
16795 |
#ifdef __cplusplus |
9181 |
extern "C" void (*signal (int, void (*)(int)))(int); |
16796 |
extern "C" void (*signal (int, void (*)(int)))(int); |
Lines 9183-9847
Link Here
|
9183 |
void (*signal ()) (); |
16798 |
void (*signal ()) (); |
9184 |
#endif |
16799 |
#endif |
9185 |
|
16800 |
|
9186 |
int main() { |
16801 |
#ifdef F77_DUMMY_MAIN |
|
|
16802 |
# ifdef __cplusplus |
16803 |
extern "C" |
16804 |
# endif |
16805 |
int F77_DUMMY_MAIN() { return 1; } |
16806 |
#endif |
16807 |
int |
16808 |
main () |
16809 |
{ |
9187 |
int i; |
16810 |
int i; |
9188 |
; return 0; } |
16811 |
; |
9189 |
EOF |
16812 |
return 0; |
9190 |
if { (eval echo configure:9191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
16813 |
} |
9191 |
rm -rf conftest* |
16814 |
_ACEOF |
|
|
16815 |
rm -f conftest.$ac_objext |
16816 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
16817 |
(eval $ac_compile) 2>&5 |
16818 |
ac_status=$? |
16819 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16820 |
(exit $ac_status); } && |
16821 |
{ ac_try='test -s conftest.$ac_objext' |
16822 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
16823 |
(eval $ac_try) 2>&5 |
16824 |
ac_status=$? |
16825 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16826 |
(exit $ac_status); }; }; then |
9192 |
ac_cv_type_signal=void |
16827 |
ac_cv_type_signal=void |
9193 |
else |
16828 |
else |
9194 |
echo "configure: failed program was:" >&5 |
16829 |
echo "$as_me: failed program was:" >&5 |
9195 |
cat conftest.$ac_ext >&5 |
16830 |
cat conftest.$ac_ext >&5 |
9196 |
rm -rf conftest* |
16831 |
ac_cv_type_signal=int |
9197 |
ac_cv_type_signal=int |
|
|
9198 |
fi |
16832 |
fi |
9199 |
rm -f conftest* |
16833 |
rm -f conftest.$ac_objext conftest.$ac_ext |
9200 |
fi |
16834 |
fi |
|
|
16835 |
echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
16836 |
echo "${ECHO_T}$ac_cv_type_signal" >&6 |
9201 |
|
16837 |
|
9202 |
echo "$ac_t""$ac_cv_type_signal" 1>&6 |
16838 |
cat >>confdefs.h <<_ACEOF |
9203 |
cat >> confdefs.h <<EOF |
|
|
9204 |
#define RETSIGTYPE $ac_cv_type_signal |
16839 |
#define RETSIGTYPE $ac_cv_type_signal |
9205 |
EOF |
16840 |
_ACEOF |
9206 |
|
16841 |
|
9207 |
|
16842 |
|
9208 |
if test "$ac_cv_type_signal" = void; then |
16843 |
if test "$ac_cv_type_signal" = void; then |
9209 |
cat >> confdefs.h <<\EOF |
16844 |
cat >>confdefs.h <<\_ACEOF |
9210 |
#define VOID_INT_SIGNALS 1 |
16845 |
#define VOID_INT_SIGNALS 1 |
9211 |
EOF |
16846 |
_ACEOF |
9212 |
|
16847 |
|
9213 |
fi |
16848 |
fi |
9214 |
|
16849 |
|
|
|
16850 |
|
16851 |
|
16852 |
|
16853 |
|
9215 |
for ac_func in strcasecmp _stricmp stricmp strcmpi |
16854 |
for ac_func in strcasecmp _stricmp stricmp strcmpi |
9216 |
do |
16855 |
do |
9217 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
16856 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9218 |
echo "configure:9219: checking for $ac_func" >&5 |
16857 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9219 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
16858 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9220 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16859 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
16860 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9221 |
else |
16861 |
else |
9222 |
cat > conftest.$ac_ext <<EOF |
16862 |
cat >conftest.$ac_ext <<_ACEOF |
9223 |
#line 9224 "configure" |
16863 |
#line $LINENO "configure" |
9224 |
#include "confdefs.h" |
16864 |
#include "confdefs.h" |
9225 |
/* System header to define __stub macros and hopefully few prototypes, |
16865 |
/* System header to define __stub macros and hopefully few prototypes, |
9226 |
which can conflict with char $ac_func(); below. */ |
16866 |
which can conflict with char $ac_func (); below. */ |
9227 |
#include <assert.h> |
16867 |
#include <assert.h> |
9228 |
/* Override any gcc2 internal prototype to avoid an error. */ |
16868 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16869 |
#ifdef __cplusplus |
16870 |
extern "C" |
16871 |
#endif |
9229 |
/* We use char because int might match the return type of a gcc2 |
16872 |
/* We use char because int might match the return type of a gcc2 |
9230 |
builtin and then its argument prototype would still apply. */ |
16873 |
builtin and then its argument prototype would still apply. */ |
9231 |
char $ac_func(); |
16874 |
char $ac_func (); |
9232 |
|
16875 |
char (*f) (); |
9233 |
int main() { |
16876 |
|
9234 |
|
16877 |
#ifdef F77_DUMMY_MAIN |
|
|
16878 |
# ifdef __cplusplus |
16879 |
extern "C" |
16880 |
# endif |
16881 |
int F77_DUMMY_MAIN() { return 1; } |
16882 |
#endif |
16883 |
int |
16884 |
main () |
16885 |
{ |
9235 |
/* The GNU C library defines this for functions which it implements |
16886 |
/* The GNU C library defines this for functions which it implements |
9236 |
to always fail with ENOSYS. Some functions are actually named |
16887 |
to always fail with ENOSYS. Some functions are actually named |
9237 |
something starting with __ and the normal name is an alias. */ |
16888 |
something starting with __ and the normal name is an alias. */ |
9238 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
16889 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9239 |
choke me |
16890 |
choke me |
9240 |
#else |
16891 |
#else |
9241 |
$ac_func(); |
16892 |
f = $ac_func; |
9242 |
#endif |
16893 |
#endif |
9243 |
|
16894 |
|
9244 |
; return 0; } |
16895 |
; |
9245 |
EOF |
16896 |
return 0; |
9246 |
if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16897 |
} |
9247 |
rm -rf conftest* |
16898 |
_ACEOF |
9248 |
eval "ac_cv_func_$ac_func=yes" |
16899 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9249 |
else |
16900 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9250 |
echo "configure: failed program was:" >&5 |
16901 |
(eval $ac_link) 2>&5 |
9251 |
cat conftest.$ac_ext >&5 |
16902 |
ac_status=$? |
9252 |
rm -rf conftest* |
16903 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9253 |
eval "ac_cv_func_$ac_func=no" |
16904 |
(exit $ac_status); } && |
9254 |
fi |
16905 |
{ ac_try='test -s conftest$ac_exeext' |
9255 |
rm -f conftest* |
16906 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9256 |
fi |
16907 |
(eval $ac_try) 2>&5 |
|
|
16908 |
ac_status=$? |
16909 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16910 |
(exit $ac_status); }; }; then |
16911 |
eval "$as_ac_var=yes" |
16912 |
else |
16913 |
echo "$as_me: failed program was:" >&5 |
16914 |
cat conftest.$ac_ext >&5 |
16915 |
eval "$as_ac_var=no" |
16916 |
fi |
16917 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16918 |
fi |
16919 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16920 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16921 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
16922 |
cat >>confdefs.h <<_ACEOF |
16923 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
16924 |
_ACEOF |
9257 |
|
16925 |
|
9258 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9259 |
echo "$ac_t""yes" 1>&6 |
9260 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9261 |
cat >> confdefs.h <<EOF |
9262 |
#define $ac_tr_func 1 |
9263 |
EOF |
9264 |
|
9265 |
else |
9266 |
echo "$ac_t""no" 1>&6 |
9267 |
fi |
16926 |
fi |
9268 |
done |
16927 |
done |
9269 |
|
16928 |
|
|
|
16929 |
|
9270 |
for ac_func in strcmp |
16930 |
for ac_func in strcmp |
9271 |
do |
16931 |
do |
9272 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
16932 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9273 |
echo "configure:9274: checking for $ac_func" >&5 |
16933 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9274 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
16934 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9275 |
echo $ac_n "(cached) $ac_c" 1>&6 |
16935 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
16936 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9276 |
else |
16937 |
else |
9277 |
cat > conftest.$ac_ext <<EOF |
16938 |
cat >conftest.$ac_ext <<_ACEOF |
9278 |
#line 9279 "configure" |
16939 |
#line $LINENO "configure" |
9279 |
#include "confdefs.h" |
16940 |
#include "confdefs.h" |
9280 |
/* System header to define __stub macros and hopefully few prototypes, |
16941 |
/* System header to define __stub macros and hopefully few prototypes, |
9281 |
which can conflict with char $ac_func(); below. */ |
16942 |
which can conflict with char $ac_func (); below. */ |
9282 |
#include <assert.h> |
16943 |
#include <assert.h> |
9283 |
/* Override any gcc2 internal prototype to avoid an error. */ |
16944 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
16945 |
#ifdef __cplusplus |
16946 |
extern "C" |
16947 |
#endif |
9284 |
/* We use char because int might match the return type of a gcc2 |
16948 |
/* We use char because int might match the return type of a gcc2 |
9285 |
builtin and then its argument prototype would still apply. */ |
16949 |
builtin and then its argument prototype would still apply. */ |
9286 |
char $ac_func(); |
16950 |
char $ac_func (); |
9287 |
|
16951 |
char (*f) (); |
9288 |
int main() { |
16952 |
|
9289 |
|
16953 |
#ifdef F77_DUMMY_MAIN |
|
|
16954 |
# ifdef __cplusplus |
16955 |
extern "C" |
16956 |
# endif |
16957 |
int F77_DUMMY_MAIN() { return 1; } |
16958 |
#endif |
16959 |
int |
16960 |
main () |
16961 |
{ |
9290 |
/* The GNU C library defines this for functions which it implements |
16962 |
/* The GNU C library defines this for functions which it implements |
9291 |
to always fail with ENOSYS. Some functions are actually named |
16963 |
to always fail with ENOSYS. Some functions are actually named |
9292 |
something starting with __ and the normal name is an alias. */ |
16964 |
something starting with __ and the normal name is an alias. */ |
9293 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
16965 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9294 |
choke me |
16966 |
choke me |
9295 |
#else |
16967 |
#else |
9296 |
$ac_func(); |
16968 |
f = $ac_func; |
9297 |
#endif |
16969 |
#endif |
9298 |
|
16970 |
|
9299 |
; return 0; } |
16971 |
; |
9300 |
EOF |
16972 |
return 0; |
9301 |
if { (eval echo configure:9302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16973 |
} |
9302 |
rm -rf conftest* |
16974 |
_ACEOF |
9303 |
eval "ac_cv_func_$ac_func=yes" |
16975 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9304 |
else |
16976 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9305 |
echo "configure: failed program was:" >&5 |
16977 |
(eval $ac_link) 2>&5 |
9306 |
cat conftest.$ac_ext >&5 |
16978 |
ac_status=$? |
9307 |
rm -rf conftest* |
16979 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9308 |
eval "ac_cv_func_$ac_func=no" |
16980 |
(exit $ac_status); } && |
9309 |
fi |
16981 |
{ ac_try='test -s conftest$ac_exeext' |
9310 |
rm -f conftest* |
16982 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9311 |
fi |
16983 |
(eval $ac_try) 2>&5 |
|
|
16984 |
ac_status=$? |
16985 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
16986 |
(exit $ac_status); }; }; then |
16987 |
eval "$as_ac_var=yes" |
16988 |
else |
16989 |
echo "$as_me: failed program was:" >&5 |
16990 |
cat conftest.$ac_ext >&5 |
16991 |
eval "$as_ac_var=no" |
16992 |
fi |
16993 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
16994 |
fi |
16995 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
16996 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
16997 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
16998 |
cat >>confdefs.h <<_ACEOF |
16999 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17000 |
_ACEOF |
9312 |
|
17001 |
|
9313 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9314 |
echo "$ac_t""yes" 1>&6 |
9315 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9316 |
cat >> confdefs.h <<EOF |
9317 |
#define $ac_tr_func 1 |
9318 |
EOF |
9319 |
|
9320 |
else |
9321 |
echo "$ac_t""no" 1>&6 |
9322 |
fi |
17002 |
fi |
9323 |
done |
17003 |
done |
9324 |
|
17004 |
|
|
|
17005 |
|
17006 |
|
9325 |
for ac_func in realpath _fullpath |
17007 |
for ac_func in realpath _fullpath |
9326 |
do |
17008 |
do |
9327 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17009 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9328 |
echo "configure:9329: checking for $ac_func" >&5 |
17010 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9329 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17011 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9330 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17012 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17013 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9331 |
else |
17014 |
else |
9332 |
cat > conftest.$ac_ext <<EOF |
17015 |
cat >conftest.$ac_ext <<_ACEOF |
9333 |
#line 9334 "configure" |
17016 |
#line $LINENO "configure" |
9334 |
#include "confdefs.h" |
17017 |
#include "confdefs.h" |
9335 |
/* System header to define __stub macros and hopefully few prototypes, |
17018 |
/* System header to define __stub macros and hopefully few prototypes, |
9336 |
which can conflict with char $ac_func(); below. */ |
17019 |
which can conflict with char $ac_func (); below. */ |
9337 |
#include <assert.h> |
17020 |
#include <assert.h> |
9338 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17021 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17022 |
#ifdef __cplusplus |
17023 |
extern "C" |
17024 |
#endif |
9339 |
/* We use char because int might match the return type of a gcc2 |
17025 |
/* We use char because int might match the return type of a gcc2 |
9340 |
builtin and then its argument prototype would still apply. */ |
17026 |
builtin and then its argument prototype would still apply. */ |
9341 |
char $ac_func(); |
17027 |
char $ac_func (); |
9342 |
|
17028 |
char (*f) (); |
9343 |
int main() { |
17029 |
|
9344 |
|
17030 |
#ifdef F77_DUMMY_MAIN |
|
|
17031 |
# ifdef __cplusplus |
17032 |
extern "C" |
17033 |
# endif |
17034 |
int F77_DUMMY_MAIN() { return 1; } |
17035 |
#endif |
17036 |
int |
17037 |
main () |
17038 |
{ |
9345 |
/* The GNU C library defines this for functions which it implements |
17039 |
/* The GNU C library defines this for functions which it implements |
9346 |
to always fail with ENOSYS. Some functions are actually named |
17040 |
to always fail with ENOSYS. Some functions are actually named |
9347 |
something starting with __ and the normal name is an alias. */ |
17041 |
something starting with __ and the normal name is an alias. */ |
9348 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17042 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9349 |
choke me |
17043 |
choke me |
9350 |
#else |
17044 |
#else |
9351 |
$ac_func(); |
17045 |
f = $ac_func; |
9352 |
#endif |
17046 |
#endif |
9353 |
|
17047 |
|
9354 |
; return 0; } |
17048 |
; |
9355 |
EOF |
17049 |
return 0; |
9356 |
if { (eval echo configure:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17050 |
} |
9357 |
rm -rf conftest* |
17051 |
_ACEOF |
9358 |
eval "ac_cv_func_$ac_func=yes" |
17052 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9359 |
else |
17053 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9360 |
echo "configure: failed program was:" >&5 |
17054 |
(eval $ac_link) 2>&5 |
9361 |
cat conftest.$ac_ext >&5 |
17055 |
ac_status=$? |
9362 |
rm -rf conftest* |
17056 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9363 |
eval "ac_cv_func_$ac_func=no" |
17057 |
(exit $ac_status); } && |
9364 |
fi |
17058 |
{ ac_try='test -s conftest$ac_exeext' |
9365 |
rm -f conftest* |
17059 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9366 |
fi |
17060 |
(eval $ac_try) 2>&5 |
|
|
17061 |
ac_status=$? |
17062 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17063 |
(exit $ac_status); }; }; then |
17064 |
eval "$as_ac_var=yes" |
17065 |
else |
17066 |
echo "$as_me: failed program was:" >&5 |
17067 |
cat conftest.$ac_ext >&5 |
17068 |
eval "$as_ac_var=no" |
17069 |
fi |
17070 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17071 |
fi |
17072 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17073 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17074 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17075 |
cat >>confdefs.h <<_ACEOF |
17076 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17077 |
_ACEOF |
9367 |
|
17078 |
|
9368 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9369 |
echo "$ac_t""yes" 1>&6 |
9370 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9371 |
cat >> confdefs.h <<EOF |
9372 |
#define $ac_tr_func 1 |
9373 |
EOF |
9374 |
|
9375 |
else |
9376 |
echo "$ac_t""no" 1>&6 |
9377 |
fi |
17079 |
fi |
9378 |
done |
17080 |
done |
9379 |
|
17081 |
|
|
|
17082 |
|
17083 |
|
9380 |
for ac_func in PBHSetVolSync macsystem |
17084 |
for ac_func in PBHSetVolSync macsystem |
9381 |
do |
17085 |
do |
9382 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17086 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9383 |
echo "configure:9384: checking for $ac_func" >&5 |
17087 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9384 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17088 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9385 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17089 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17090 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9386 |
else |
17091 |
else |
9387 |
cat > conftest.$ac_ext <<EOF |
17092 |
cat >conftest.$ac_ext <<_ACEOF |
9388 |
#line 9389 "configure" |
17093 |
#line $LINENO "configure" |
9389 |
#include "confdefs.h" |
17094 |
#include "confdefs.h" |
9390 |
/* System header to define __stub macros and hopefully few prototypes, |
17095 |
/* System header to define __stub macros and hopefully few prototypes, |
9391 |
which can conflict with char $ac_func(); below. */ |
17096 |
which can conflict with char $ac_func (); below. */ |
9392 |
#include <assert.h> |
17097 |
#include <assert.h> |
9393 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17098 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17099 |
#ifdef __cplusplus |
17100 |
extern "C" |
17101 |
#endif |
9394 |
/* We use char because int might match the return type of a gcc2 |
17102 |
/* We use char because int might match the return type of a gcc2 |
9395 |
builtin and then its argument prototype would still apply. */ |
17103 |
builtin and then its argument prototype would still apply. */ |
9396 |
char $ac_func(); |
17104 |
char $ac_func (); |
9397 |
|
17105 |
char (*f) (); |
9398 |
int main() { |
17106 |
|
9399 |
|
17107 |
#ifdef F77_DUMMY_MAIN |
|
|
17108 |
# ifdef __cplusplus |
17109 |
extern "C" |
17110 |
# endif |
17111 |
int F77_DUMMY_MAIN() { return 1; } |
17112 |
#endif |
17113 |
int |
17114 |
main () |
17115 |
{ |
9400 |
/* The GNU C library defines this for functions which it implements |
17116 |
/* The GNU C library defines this for functions which it implements |
9401 |
to always fail with ENOSYS. Some functions are actually named |
17117 |
to always fail with ENOSYS. Some functions are actually named |
9402 |
something starting with __ and the normal name is an alias. */ |
17118 |
something starting with __ and the normal name is an alias. */ |
9403 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17119 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9404 |
choke me |
17120 |
choke me |
9405 |
#else |
17121 |
#else |
9406 |
$ac_func(); |
17122 |
f = $ac_func; |
9407 |
#endif |
17123 |
#endif |
9408 |
|
17124 |
|
9409 |
; return 0; } |
17125 |
; |
9410 |
EOF |
17126 |
return 0; |
9411 |
if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17127 |
} |
9412 |
rm -rf conftest* |
17128 |
_ACEOF |
9413 |
eval "ac_cv_func_$ac_func=yes" |
17129 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9414 |
else |
17130 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9415 |
echo "configure: failed program was:" >&5 |
17131 |
(eval $ac_link) 2>&5 |
9416 |
cat conftest.$ac_ext >&5 |
17132 |
ac_status=$? |
9417 |
rm -rf conftest* |
17133 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9418 |
eval "ac_cv_func_$ac_func=no" |
17134 |
(exit $ac_status); } && |
9419 |
fi |
17135 |
{ ac_try='test -s conftest$ac_exeext' |
9420 |
rm -f conftest* |
17136 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9421 |
fi |
17137 |
(eval $ac_try) 2>&5 |
|
|
17138 |
ac_status=$? |
17139 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17140 |
(exit $ac_status); }; }; then |
17141 |
eval "$as_ac_var=yes" |
17142 |
else |
17143 |
echo "$as_me: failed program was:" >&5 |
17144 |
cat conftest.$ac_ext >&5 |
17145 |
eval "$as_ac_var=no" |
17146 |
fi |
17147 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17148 |
fi |
17149 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17150 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17151 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17152 |
cat >>confdefs.h <<_ACEOF |
17153 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17154 |
_ACEOF |
9422 |
|
17155 |
|
9423 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9424 |
echo "$ac_t""yes" 1>&6 |
9425 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9426 |
cat >> confdefs.h <<EOF |
9427 |
#define $ac_tr_func 1 |
9428 |
EOF |
9429 |
|
9430 |
else |
9431 |
echo "$ac_t""no" 1>&6 |
9432 |
fi |
17156 |
fi |
9433 |
done |
17157 |
done |
9434 |
|
17158 |
|
|
|
17159 |
|
17160 |
|
17161 |
|
17162 |
|
9435 |
for ac_func in fgetpos fsetpos fseek ftell |
17163 |
for ac_func in fgetpos fsetpos fseek ftell |
9436 |
do |
17164 |
do |
9437 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17165 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9438 |
echo "configure:9439: checking for $ac_func" >&5 |
17166 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9439 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17167 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9440 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17168 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17169 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9441 |
else |
17170 |
else |
9442 |
cat > conftest.$ac_ext <<EOF |
17171 |
cat >conftest.$ac_ext <<_ACEOF |
9443 |
#line 9444 "configure" |
17172 |
#line $LINENO "configure" |
9444 |
#include "confdefs.h" |
17173 |
#include "confdefs.h" |
9445 |
/* System header to define __stub macros and hopefully few prototypes, |
17174 |
/* System header to define __stub macros and hopefully few prototypes, |
9446 |
which can conflict with char $ac_func(); below. */ |
17175 |
which can conflict with char $ac_func (); below. */ |
9447 |
#include <assert.h> |
17176 |
#include <assert.h> |
9448 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17177 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17178 |
#ifdef __cplusplus |
17179 |
extern "C" |
17180 |
#endif |
9449 |
/* We use char because int might match the return type of a gcc2 |
17181 |
/* We use char because int might match the return type of a gcc2 |
9450 |
builtin and then its argument prototype would still apply. */ |
17182 |
builtin and then its argument prototype would still apply. */ |
9451 |
char $ac_func(); |
17183 |
char $ac_func (); |
9452 |
|
17184 |
char (*f) (); |
9453 |
int main() { |
17185 |
|
9454 |
|
17186 |
#ifdef F77_DUMMY_MAIN |
|
|
17187 |
# ifdef __cplusplus |
17188 |
extern "C" |
17189 |
# endif |
17190 |
int F77_DUMMY_MAIN() { return 1; } |
17191 |
#endif |
17192 |
int |
17193 |
main () |
17194 |
{ |
9455 |
/* The GNU C library defines this for functions which it implements |
17195 |
/* The GNU C library defines this for functions which it implements |
9456 |
to always fail with ENOSYS. Some functions are actually named |
17196 |
to always fail with ENOSYS. Some functions are actually named |
9457 |
something starting with __ and the normal name is an alias. */ |
17197 |
something starting with __ and the normal name is an alias. */ |
9458 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17198 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9459 |
choke me |
17199 |
choke me |
9460 |
#else |
17200 |
#else |
9461 |
$ac_func(); |
17201 |
f = $ac_func; |
9462 |
#endif |
17202 |
#endif |
9463 |
|
17203 |
|
9464 |
; return 0; } |
17204 |
; |
9465 |
EOF |
17205 |
return 0; |
9466 |
if { (eval echo configure:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17206 |
} |
9467 |
rm -rf conftest* |
17207 |
_ACEOF |
9468 |
eval "ac_cv_func_$ac_func=yes" |
17208 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9469 |
else |
17209 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9470 |
echo "configure: failed program was:" >&5 |
17210 |
(eval $ac_link) 2>&5 |
9471 |
cat conftest.$ac_ext >&5 |
17211 |
ac_status=$? |
9472 |
rm -rf conftest* |
17212 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9473 |
eval "ac_cv_func_$ac_func=no" |
17213 |
(exit $ac_status); } && |
9474 |
fi |
17214 |
{ ac_try='test -s conftest$ac_exeext' |
9475 |
rm -f conftest* |
17215 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9476 |
fi |
17216 |
(eval $ac_try) 2>&5 |
|
|
17217 |
ac_status=$? |
17218 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17219 |
(exit $ac_status); }; }; then |
17220 |
eval "$as_ac_var=yes" |
17221 |
else |
17222 |
echo "$as_me: failed program was:" >&5 |
17223 |
cat conftest.$ac_ext >&5 |
17224 |
eval "$as_ac_var=no" |
17225 |
fi |
17226 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17227 |
fi |
17228 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17229 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17230 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17231 |
cat >>confdefs.h <<_ACEOF |
17232 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17233 |
_ACEOF |
9477 |
|
17234 |
|
9478 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9479 |
echo "$ac_t""yes" 1>&6 |
9480 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9481 |
cat >> confdefs.h <<EOF |
9482 |
#define $ac_tr_func 1 |
9483 |
EOF |
9484 |
|
9485 |
else |
9486 |
echo "$ac_t""no" 1>&6 |
9487 |
fi |
17235 |
fi |
9488 |
done |
17236 |
done |
9489 |
|
17237 |
|
|
|
17238 |
|
17239 |
|
9490 |
for ac_func in vsnprintf _vsnprintf |
17240 |
for ac_func in vsnprintf _vsnprintf |
9491 |
do |
17241 |
do |
9492 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17242 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9493 |
echo "configure:9494: checking for $ac_func" >&5 |
17243 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9494 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17244 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9495 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17245 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17246 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9496 |
else |
17247 |
else |
9497 |
cat > conftest.$ac_ext <<EOF |
17248 |
cat >conftest.$ac_ext <<_ACEOF |
9498 |
#line 9499 "configure" |
17249 |
#line $LINENO "configure" |
9499 |
#include "confdefs.h" |
17250 |
#include "confdefs.h" |
9500 |
/* System header to define __stub macros and hopefully few prototypes, |
17251 |
/* System header to define __stub macros and hopefully few prototypes, |
9501 |
which can conflict with char $ac_func(); below. */ |
17252 |
which can conflict with char $ac_func (); below. */ |
9502 |
#include <assert.h> |
17253 |
#include <assert.h> |
9503 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17254 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17255 |
#ifdef __cplusplus |
17256 |
extern "C" |
17257 |
#endif |
9504 |
/* We use char because int might match the return type of a gcc2 |
17258 |
/* We use char because int might match the return type of a gcc2 |
9505 |
builtin and then its argument prototype would still apply. */ |
17259 |
builtin and then its argument prototype would still apply. */ |
9506 |
char $ac_func(); |
17260 |
char $ac_func (); |
9507 |
|
17261 |
char (*f) (); |
9508 |
int main() { |
17262 |
|
9509 |
|
17263 |
#ifdef F77_DUMMY_MAIN |
|
|
17264 |
# ifdef __cplusplus |
17265 |
extern "C" |
17266 |
# endif |
17267 |
int F77_DUMMY_MAIN() { return 1; } |
17268 |
#endif |
17269 |
int |
17270 |
main () |
17271 |
{ |
9510 |
/* The GNU C library defines this for functions which it implements |
17272 |
/* The GNU C library defines this for functions which it implements |
9511 |
to always fail with ENOSYS. Some functions are actually named |
17273 |
to always fail with ENOSYS. Some functions are actually named |
9512 |
something starting with __ and the normal name is an alias. */ |
17274 |
something starting with __ and the normal name is an alias. */ |
9513 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17275 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9514 |
choke me |
17276 |
choke me |
9515 |
#else |
17277 |
#else |
9516 |
$ac_func(); |
17278 |
f = $ac_func; |
9517 |
#endif |
17279 |
#endif |
9518 |
|
17280 |
|
9519 |
; return 0; } |
17281 |
; |
9520 |
EOF |
17282 |
return 0; |
9521 |
if { (eval echo configure:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17283 |
} |
9522 |
rm -rf conftest* |
17284 |
_ACEOF |
9523 |
eval "ac_cv_func_$ac_func=yes" |
17285 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9524 |
else |
17286 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9525 |
echo "configure: failed program was:" >&5 |
17287 |
(eval $ac_link) 2>&5 |
9526 |
cat conftest.$ac_ext >&5 |
17288 |
ac_status=$? |
9527 |
rm -rf conftest* |
17289 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9528 |
eval "ac_cv_func_$ac_func=no" |
17290 |
(exit $ac_status); } && |
9529 |
fi |
17291 |
{ ac_try='test -s conftest$ac_exeext' |
9530 |
rm -f conftest* |
17292 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9531 |
fi |
17293 |
(eval $ac_try) 2>&5 |
|
|
17294 |
ac_status=$? |
17295 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17296 |
(exit $ac_status); }; }; then |
17297 |
eval "$as_ac_var=yes" |
17298 |
else |
17299 |
echo "$as_me: failed program was:" >&5 |
17300 |
cat conftest.$ac_ext >&5 |
17301 |
eval "$as_ac_var=no" |
17302 |
fi |
17303 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17304 |
fi |
17305 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17306 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17307 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17308 |
cat >>confdefs.h <<_ACEOF |
17309 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17310 |
_ACEOF |
9532 |
|
17311 |
|
9533 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9534 |
echo "$ac_t""yes" 1>&6 |
9535 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9536 |
cat >> confdefs.h <<EOF |
9537 |
#define $ac_tr_func 1 |
9538 |
EOF |
9539 |
|
9540 |
else |
9541 |
echo "$ac_t""no" 1>&6 |
9542 |
fi |
17312 |
fi |
9543 |
done |
17313 |
done |
9544 |
|
17314 |
|
9545 |
for ac_func in snprintf _snprintf |
17315 |
|
|
|
17316 |
|
17317 |
for ac_func in snprintf _snprintf |
9546 |
do |
17318 |
do |
9547 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17319 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9548 |
echo "configure:9549: checking for $ac_func" >&5 |
17320 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9549 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17321 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9550 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17322 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17323 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9551 |
else |
17324 |
else |
9552 |
cat > conftest.$ac_ext <<EOF |
17325 |
cat >conftest.$ac_ext <<_ACEOF |
9553 |
#line 9554 "configure" |
17326 |
#line $LINENO "configure" |
9554 |
#include "confdefs.h" |
17327 |
#include "confdefs.h" |
9555 |
/* System header to define __stub macros and hopefully few prototypes, |
17328 |
/* System header to define __stub macros and hopefully few prototypes, |
9556 |
which can conflict with char $ac_func(); below. */ |
17329 |
which can conflict with char $ac_func (); below. */ |
9557 |
#include <assert.h> |
17330 |
#include <assert.h> |
9558 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17331 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17332 |
#ifdef __cplusplus |
17333 |
extern "C" |
17334 |
#endif |
9559 |
/* We use char because int might match the return type of a gcc2 |
17335 |
/* We use char because int might match the return type of a gcc2 |
9560 |
builtin and then its argument prototype would still apply. */ |
17336 |
builtin and then its argument prototype would still apply. */ |
9561 |
char $ac_func(); |
17337 |
char $ac_func (); |
9562 |
|
17338 |
char (*f) (); |
9563 |
int main() { |
17339 |
|
9564 |
|
17340 |
#ifdef F77_DUMMY_MAIN |
|
|
17341 |
# ifdef __cplusplus |
17342 |
extern "C" |
17343 |
# endif |
17344 |
int F77_DUMMY_MAIN() { return 1; } |
17345 |
#endif |
17346 |
int |
17347 |
main () |
17348 |
{ |
9565 |
/* The GNU C library defines this for functions which it implements |
17349 |
/* The GNU C library defines this for functions which it implements |
9566 |
to always fail with ENOSYS. Some functions are actually named |
17350 |
to always fail with ENOSYS. Some functions are actually named |
9567 |
something starting with __ and the normal name is an alias. */ |
17351 |
something starting with __ and the normal name is an alias. */ |
9568 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17352 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9569 |
choke me |
17353 |
choke me |
9570 |
#else |
17354 |
#else |
9571 |
$ac_func(); |
17355 |
f = $ac_func; |
9572 |
#endif |
17356 |
#endif |
9573 |
|
17357 |
|
9574 |
; return 0; } |
17358 |
; |
9575 |
EOF |
17359 |
return 0; |
9576 |
if { (eval echo configure:9577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17360 |
} |
9577 |
rm -rf conftest* |
17361 |
_ACEOF |
9578 |
eval "ac_cv_func_$ac_func=yes" |
17362 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9579 |
else |
17363 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9580 |
echo "configure: failed program was:" >&5 |
17364 |
(eval $ac_link) 2>&5 |
9581 |
cat conftest.$ac_ext >&5 |
17365 |
ac_status=$? |
9582 |
rm -rf conftest* |
17366 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9583 |
eval "ac_cv_func_$ac_func=no" |
17367 |
(exit $ac_status); } && |
9584 |
fi |
17368 |
{ ac_try='test -s conftest$ac_exeext' |
9585 |
rm -f conftest* |
17369 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9586 |
fi |
17370 |
(eval $ac_try) 2>&5 |
|
|
17371 |
ac_status=$? |
17372 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17373 |
(exit $ac_status); }; }; then |
17374 |
eval "$as_ac_var=yes" |
17375 |
else |
17376 |
echo "$as_me: failed program was:" >&5 |
17377 |
cat conftest.$ac_ext >&5 |
17378 |
eval "$as_ac_var=no" |
17379 |
fi |
17380 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17381 |
fi |
17382 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17383 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17384 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17385 |
cat >>confdefs.h <<_ACEOF |
17386 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17387 |
_ACEOF |
9587 |
|
17388 |
|
9588 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9589 |
echo "$ac_t""yes" 1>&6 |
9590 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9591 |
cat >> confdefs.h <<EOF |
9592 |
#define $ac_tr_func 1 |
9593 |
EOF |
9594 |
|
9595 |
else |
9596 |
echo "$ac_t""no" 1>&6 |
9597 |
fi |
17389 |
fi |
9598 |
done |
17390 |
done |
9599 |
|
17391 |
|
9600 |
for ac_func in popen _popen |
17392 |
|
|
|
17393 |
|
17394 |
for ac_func in popen _popen |
9601 |
do |
17395 |
do |
9602 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17396 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9603 |
echo "configure:9604: checking for $ac_func" >&5 |
17397 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9604 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17398 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9605 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17399 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17400 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9606 |
else |
17401 |
else |
9607 |
cat > conftest.$ac_ext <<EOF |
17402 |
cat >conftest.$ac_ext <<_ACEOF |
9608 |
#line 9609 "configure" |
17403 |
#line $LINENO "configure" |
9609 |
#include "confdefs.h" |
17404 |
#include "confdefs.h" |
9610 |
/* System header to define __stub macros and hopefully few prototypes, |
17405 |
/* System header to define __stub macros and hopefully few prototypes, |
9611 |
which can conflict with char $ac_func(); below. */ |
17406 |
which can conflict with char $ac_func (); below. */ |
9612 |
#include <assert.h> |
17407 |
#include <assert.h> |
9613 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17408 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17409 |
#ifdef __cplusplus |
17410 |
extern "C" |
17411 |
#endif |
9614 |
/* We use char because int might match the return type of a gcc2 |
17412 |
/* We use char because int might match the return type of a gcc2 |
9615 |
builtin and then its argument prototype would still apply. */ |
17413 |
builtin and then its argument prototype would still apply. */ |
9616 |
char $ac_func(); |
17414 |
char $ac_func (); |
9617 |
|
17415 |
char (*f) (); |
9618 |
int main() { |
17416 |
|
9619 |
|
17417 |
#ifdef F77_DUMMY_MAIN |
|
|
17418 |
# ifdef __cplusplus |
17419 |
extern "C" |
17420 |
# endif |
17421 |
int F77_DUMMY_MAIN() { return 1; } |
17422 |
#endif |
17423 |
int |
17424 |
main () |
17425 |
{ |
9620 |
/* The GNU C library defines this for functions which it implements |
17426 |
/* The GNU C library defines this for functions which it implements |
9621 |
to always fail with ENOSYS. Some functions are actually named |
17427 |
to always fail with ENOSYS. Some functions are actually named |
9622 |
something starting with __ and the normal name is an alias. */ |
17428 |
something starting with __ and the normal name is an alias. */ |
9623 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17429 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9624 |
choke me |
17430 |
choke me |
9625 |
#else |
17431 |
#else |
9626 |
$ac_func(); |
17432 |
f = $ac_func; |
9627 |
#endif |
17433 |
#endif |
9628 |
|
17434 |
|
9629 |
; return 0; } |
17435 |
; |
9630 |
EOF |
17436 |
return 0; |
9631 |
if { (eval echo configure:9632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17437 |
} |
9632 |
rm -rf conftest* |
17438 |
_ACEOF |
9633 |
eval "ac_cv_func_$ac_func=yes" |
17439 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9634 |
else |
17440 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9635 |
echo "configure: failed program was:" >&5 |
17441 |
(eval $ac_link) 2>&5 |
9636 |
cat conftest.$ac_ext >&5 |
17442 |
ac_status=$? |
9637 |
rm -rf conftest* |
17443 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9638 |
eval "ac_cv_func_$ac_func=no" |
17444 |
(exit $ac_status); } && |
9639 |
fi |
17445 |
{ ac_try='test -s conftest$ac_exeext' |
9640 |
rm -f conftest* |
17446 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9641 |
fi |
17447 |
(eval $ac_try) 2>&5 |
9642 |
|
17448 |
ac_status=$? |
9643 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
17449 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9644 |
echo "$ac_t""yes" 1>&6 |
17450 |
(exit $ac_status); }; }; then |
9645 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
17451 |
eval "$as_ac_var=yes" |
9646 |
cat >> confdefs.h <<EOF |
17452 |
else |
9647 |
#define $ac_tr_func 1 |
17453 |
echo "$as_me: failed program was:" >&5 |
9648 |
EOF |
17454 |
cat conftest.$ac_ext >&5 |
9649 |
|
17455 |
eval "$as_ac_var=no" |
9650 |
else |
17456 |
fi |
9651 |
echo "$ac_t""no" 1>&6 |
17457 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
|
|
17458 |
fi |
17459 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17460 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17461 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17462 |
cat >>confdefs.h <<_ACEOF |
17463 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17464 |
_ACEOF |
17465 |
|
9652 |
fi |
17466 |
fi |
9653 |
done |
17467 |
done |
9654 |
|
17468 |
|
9655 |
for ac_func in pclose _pclose |
17469 |
|
|
|
17470 |
|
17471 |
for ac_func in pclose _pclose |
9656 |
do |
17472 |
do |
9657 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17473 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9658 |
echo "configure:9659: checking for $ac_func" >&5 |
17474 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9659 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17475 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9660 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17476 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17477 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9661 |
else |
17478 |
else |
9662 |
cat > conftest.$ac_ext <<EOF |
17479 |
cat >conftest.$ac_ext <<_ACEOF |
9663 |
#line 9664 "configure" |
17480 |
#line $LINENO "configure" |
9664 |
#include "confdefs.h" |
17481 |
#include "confdefs.h" |
9665 |
/* System header to define __stub macros and hopefully few prototypes, |
17482 |
/* System header to define __stub macros and hopefully few prototypes, |
9666 |
which can conflict with char $ac_func(); below. */ |
17483 |
which can conflict with char $ac_func (); below. */ |
9667 |
#include <assert.h> |
17484 |
#include <assert.h> |
9668 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17485 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17486 |
#ifdef __cplusplus |
17487 |
extern "C" |
17488 |
#endif |
9669 |
/* We use char because int might match the return type of a gcc2 |
17489 |
/* We use char because int might match the return type of a gcc2 |
9670 |
builtin and then its argument prototype would still apply. */ |
17490 |
builtin and then its argument prototype would still apply. */ |
9671 |
char $ac_func(); |
17491 |
char $ac_func (); |
9672 |
|
17492 |
char (*f) (); |
9673 |
int main() { |
17493 |
|
9674 |
|
17494 |
#ifdef F77_DUMMY_MAIN |
|
|
17495 |
# ifdef __cplusplus |
17496 |
extern "C" |
17497 |
# endif |
17498 |
int F77_DUMMY_MAIN() { return 1; } |
17499 |
#endif |
17500 |
int |
17501 |
main () |
17502 |
{ |
9675 |
/* The GNU C library defines this for functions which it implements |
17503 |
/* The GNU C library defines this for functions which it implements |
9676 |
to always fail with ENOSYS. Some functions are actually named |
17504 |
to always fail with ENOSYS. Some functions are actually named |
9677 |
something starting with __ and the normal name is an alias. */ |
17505 |
something starting with __ and the normal name is an alias. */ |
9678 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17506 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9679 |
choke me |
17507 |
choke me |
9680 |
#else |
17508 |
#else |
9681 |
$ac_func(); |
17509 |
f = $ac_func; |
9682 |
#endif |
17510 |
#endif |
9683 |
|
17511 |
|
9684 |
; return 0; } |
17512 |
; |
9685 |
EOF |
17513 |
return 0; |
9686 |
if { (eval echo configure:9687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17514 |
} |
9687 |
rm -rf conftest* |
17515 |
_ACEOF |
9688 |
eval "ac_cv_func_$ac_func=yes" |
17516 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9689 |
else |
17517 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9690 |
echo "configure: failed program was:" >&5 |
17518 |
(eval $ac_link) 2>&5 |
9691 |
cat conftest.$ac_ext >&5 |
17519 |
ac_status=$? |
9692 |
rm -rf conftest* |
17520 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9693 |
eval "ac_cv_func_$ac_func=no" |
17521 |
(exit $ac_status); } && |
9694 |
fi |
17522 |
{ ac_try='test -s conftest$ac_exeext' |
9695 |
rm -f conftest* |
17523 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9696 |
fi |
17524 |
(eval $ac_try) 2>&5 |
|
|
17525 |
ac_status=$? |
17526 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17527 |
(exit $ac_status); }; }; then |
17528 |
eval "$as_ac_var=yes" |
17529 |
else |
17530 |
echo "$as_me: failed program was:" >&5 |
17531 |
cat conftest.$ac_ext >&5 |
17532 |
eval "$as_ac_var=no" |
17533 |
fi |
17534 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17535 |
fi |
17536 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17537 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17538 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17539 |
cat >>confdefs.h <<_ACEOF |
17540 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17541 |
_ACEOF |
9697 |
|
17542 |
|
9698 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9699 |
echo "$ac_t""yes" 1>&6 |
9700 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9701 |
cat >> confdefs.h <<EOF |
9702 |
#define $ac_tr_func 1 |
9703 |
EOF |
9704 |
|
9705 |
else |
9706 |
echo "$ac_t""no" 1>&6 |
9707 |
fi |
17543 |
fi |
9708 |
done |
17544 |
done |
9709 |
|
17545 |
|
|
|
17546 |
|
17547 |
|
17548 |
|
17549 |
|
17550 |
|
17551 |
|
17552 |
|
17553 |
|
17554 |
|
17555 |
|
17556 |
|
17557 |
|
17558 |
|
17559 |
|
17560 |
|
17561 |
|
17562 |
|
17563 |
|
17564 |
|
17565 |
|
17566 |
|
9710 |
|
17567 |
|
9711 |
|
17568 |
|
9712 |
for ac_func in access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r readdir_r |
17569 |
for ac_func in access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r readdir_r |
9713 |
do |
17570 |
do |
9714 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
17571 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9715 |
echo "configure:9716: checking for $ac_func" >&5 |
17572 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9716 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
17573 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
9717 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17574 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
17575 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9718 |
else |
17576 |
else |
9719 |
cat > conftest.$ac_ext <<EOF |
17577 |
cat >conftest.$ac_ext <<_ACEOF |
9720 |
#line 9721 "configure" |
17578 |
#line $LINENO "configure" |
9721 |
#include "confdefs.h" |
17579 |
#include "confdefs.h" |
9722 |
/* System header to define __stub macros and hopefully few prototypes, |
17580 |
/* System header to define __stub macros and hopefully few prototypes, |
9723 |
which can conflict with char $ac_func(); below. */ |
17581 |
which can conflict with char $ac_func (); below. */ |
9724 |
#include <assert.h> |
17582 |
#include <assert.h> |
9725 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17583 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17584 |
#ifdef __cplusplus |
17585 |
extern "C" |
17586 |
#endif |
9726 |
/* We use char because int might match the return type of a gcc2 |
17587 |
/* We use char because int might match the return type of a gcc2 |
9727 |
builtin and then its argument prototype would still apply. */ |
17588 |
builtin and then its argument prototype would still apply. */ |
9728 |
char $ac_func(); |
17589 |
char $ac_func (); |
9729 |
|
17590 |
char (*f) (); |
9730 |
int main() { |
17591 |
|
9731 |
|
17592 |
#ifdef F77_DUMMY_MAIN |
|
|
17593 |
# ifdef __cplusplus |
17594 |
extern "C" |
17595 |
# endif |
17596 |
int F77_DUMMY_MAIN() { return 1; } |
17597 |
#endif |
17598 |
int |
17599 |
main () |
17600 |
{ |
9732 |
/* The GNU C library defines this for functions which it implements |
17601 |
/* The GNU C library defines this for functions which it implements |
9733 |
to always fail with ENOSYS. Some functions are actually named |
17602 |
to always fail with ENOSYS. Some functions are actually named |
9734 |
something starting with __ and the normal name is an alias. */ |
17603 |
something starting with __ and the normal name is an alias. */ |
9735 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
17604 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
9736 |
choke me |
17605 |
choke me |
9737 |
#else |
17606 |
#else |
9738 |
$ac_func(); |
17607 |
f = $ac_func; |
9739 |
#endif |
17608 |
#endif |
9740 |
|
17609 |
|
9741 |
; return 0; } |
17610 |
; |
9742 |
EOF |
17611 |
return 0; |
9743 |
if { (eval echo configure:9744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17612 |
} |
9744 |
rm -rf conftest* |
17613 |
_ACEOF |
9745 |
eval "ac_cv_func_$ac_func=yes" |
17614 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9746 |
else |
17615 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9747 |
echo "configure: failed program was:" >&5 |
17616 |
(eval $ac_link) 2>&5 |
9748 |
cat conftest.$ac_ext >&5 |
17617 |
ac_status=$? |
9749 |
rm -rf conftest* |
17618 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9750 |
eval "ac_cv_func_$ac_func=no" |
17619 |
(exit $ac_status); } && |
9751 |
fi |
17620 |
{ ac_try='test -s conftest$ac_exeext' |
9752 |
rm -f conftest* |
17621 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9753 |
fi |
17622 |
(eval $ac_try) 2>&5 |
|
|
17623 |
ac_status=$? |
17624 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17625 |
(exit $ac_status); }; }; then |
17626 |
eval "$as_ac_var=yes" |
17627 |
else |
17628 |
echo "$as_me: failed program was:" >&5 |
17629 |
cat conftest.$ac_ext >&5 |
17630 |
eval "$as_ac_var=no" |
17631 |
fi |
17632 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17633 |
fi |
17634 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
17635 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
17636 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
17637 |
cat >>confdefs.h <<_ACEOF |
17638 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
17639 |
_ACEOF |
9754 |
|
17640 |
|
9755 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
9756 |
echo "$ac_t""yes" 1>&6 |
9757 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
9758 |
cat >> confdefs.h <<EOF |
9759 |
#define $ac_tr_func 1 |
9760 |
EOF |
9761 |
|
9762 |
else |
9763 |
echo "$ac_t""no" 1>&6 |
9764 |
fi |
17641 |
fi |
9765 |
done |
17642 |
done |
9766 |
|
17643 |
|
9767 |
|
17644 |
|
9768 |
echo $ac_n "checking for __gmpz_fdiv_qr in -lgmp""... $ac_c" 1>&6 |
17645 |
echo "$as_me:$LINENO: checking for __gmpz_fdiv_qr in -lgmp" >&5 |
9769 |
echo "configure:9770: checking for __gmpz_fdiv_qr in -lgmp" >&5 |
17646 |
echo $ECHO_N "checking for __gmpz_fdiv_qr in -lgmp... $ECHO_C" >&6 |
9770 |
ac_lib_var=`echo gmp'_'__gmpz_fdiv_qr | sed 'y%./+-%__p_%'` |
17647 |
if test "${ac_cv_lib_gmp___gmpz_fdiv_qr+set}" = set; then |
9771 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
17648 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9772 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
9773 |
else |
17649 |
else |
9774 |
ac_save_LIBS="$LIBS" |
17650 |
ac_check_lib_save_LIBS=$LIBS |
9775 |
LIBS="-lgmp $LIBS" |
17651 |
LIBS="-lgmp $LIBS" |
9776 |
cat > conftest.$ac_ext <<EOF |
17652 |
cat >conftest.$ac_ext <<_ACEOF |
9777 |
#line 9778 "configure" |
17653 |
#line $LINENO "configure" |
9778 |
#include "confdefs.h" |
17654 |
#include "confdefs.h" |
|
|
17655 |
|
9779 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17656 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17657 |
#ifdef __cplusplus |
17658 |
extern "C" |
17659 |
#endif |
9780 |
/* We use char because int might match the return type of a gcc2 |
17660 |
/* We use char because int might match the return type of a gcc2 |
9781 |
builtin and then its argument prototype would still apply. */ |
17661 |
builtin and then its argument prototype would still apply. */ |
9782 |
char __gmpz_fdiv_qr(); |
17662 |
char __gmpz_fdiv_qr (); |
9783 |
|
17663 |
#ifdef F77_DUMMY_MAIN |
9784 |
int main() { |
17664 |
# ifdef __cplusplus |
9785 |
__gmpz_fdiv_qr() |
17665 |
extern "C" |
9786 |
; return 0; } |
17666 |
# endif |
9787 |
EOF |
17667 |
int F77_DUMMY_MAIN() { return 1; } |
9788 |
if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17668 |
#endif |
9789 |
rm -rf conftest* |
17669 |
int |
9790 |
eval "ac_cv_lib_$ac_lib_var=yes" |
17670 |
main () |
9791 |
else |
17671 |
{ |
9792 |
echo "configure: failed program was:" >&5 |
17672 |
__gmpz_fdiv_qr (); |
9793 |
cat conftest.$ac_ext >&5 |
17673 |
; |
9794 |
rm -rf conftest* |
17674 |
return 0; |
9795 |
eval "ac_cv_lib_$ac_lib_var=no" |
17675 |
} |
9796 |
fi |
17676 |
_ACEOF |
9797 |
rm -f conftest* |
17677 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9798 |
LIBS="$ac_save_LIBS" |
17678 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9799 |
|
17679 |
(eval $ac_link) 2>&5 |
9800 |
fi |
17680 |
ac_status=$? |
9801 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
17681 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9802 |
echo "$ac_t""yes" 1>&6 |
17682 |
(exit $ac_status); } && |
|
|
17683 |
{ ac_try='test -s conftest$ac_exeext' |
17684 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17685 |
(eval $ac_try) 2>&5 |
17686 |
ac_status=$? |
17687 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17688 |
(exit $ac_status); }; }; then |
17689 |
ac_cv_lib_gmp___gmpz_fdiv_qr=yes |
17690 |
else |
17691 |
echo "$as_me: failed program was:" >&5 |
17692 |
cat conftest.$ac_ext >&5 |
17693 |
ac_cv_lib_gmp___gmpz_fdiv_qr=no |
17694 |
fi |
17695 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17696 |
LIBS=$ac_check_lib_save_LIBS |
17697 |
fi |
17698 |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_fdiv_qr" >&5 |
17699 |
echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_fdiv_qr" >&6 |
17700 |
if test $ac_cv_lib_gmp___gmpz_fdiv_qr = yes; then |
9803 |
HaveLibGmp=YES; LibGmp=gmp |
17701 |
HaveLibGmp=YES; LibGmp=gmp |
9804 |
else |
17702 |
else |
9805 |
echo "$ac_t""no" 1>&6 |
17703 |
echo "$as_me:$LINENO: checking for __gmpz_fdiv_qr in -lgmp3" >&5 |
9806 |
echo $ac_n "checking for __gmpz_fdiv_qr in -lgmp3""... $ac_c" 1>&6 |
17704 |
echo $ECHO_N "checking for __gmpz_fdiv_qr in -lgmp3... $ECHO_C" >&6 |
9807 |
echo "configure:9808: checking for __gmpz_fdiv_qr in -lgmp3" >&5 |
17705 |
if test "${ac_cv_lib_gmp3___gmpz_fdiv_qr+set}" = set; then |
9808 |
ac_lib_var=`echo gmp3'_'__gmpz_fdiv_qr | sed 'y%./+-%__p_%'` |
17706 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9809 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
9810 |
echo $ac_n "(cached) $ac_c" 1>&6 |
9811 |
else |
17707 |
else |
9812 |
ac_save_LIBS="$LIBS" |
17708 |
ac_check_lib_save_LIBS=$LIBS |
9813 |
LIBS="-lgmp3 $LIBS" |
17709 |
LIBS="-lgmp3 $LIBS" |
9814 |
cat > conftest.$ac_ext <<EOF |
17710 |
cat >conftest.$ac_ext <<_ACEOF |
9815 |
#line 9816 "configure" |
17711 |
#line $LINENO "configure" |
9816 |
#include "confdefs.h" |
17712 |
#include "confdefs.h" |
|
|
17713 |
|
9817 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17714 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17715 |
#ifdef __cplusplus |
17716 |
extern "C" |
17717 |
#endif |
9818 |
/* We use char because int might match the return type of a gcc2 |
17718 |
/* We use char because int might match the return type of a gcc2 |
9819 |
builtin and then its argument prototype would still apply. */ |
17719 |
builtin and then its argument prototype would still apply. */ |
9820 |
char __gmpz_fdiv_qr(); |
17720 |
char __gmpz_fdiv_qr (); |
9821 |
|
17721 |
#ifdef F77_DUMMY_MAIN |
9822 |
int main() { |
17722 |
# ifdef __cplusplus |
9823 |
__gmpz_fdiv_qr() |
17723 |
extern "C" |
9824 |
; return 0; } |
17724 |
# endif |
9825 |
EOF |
17725 |
int F77_DUMMY_MAIN() { return 1; } |
9826 |
if { (eval echo configure:9827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17726 |
#endif |
9827 |
rm -rf conftest* |
17727 |
int |
9828 |
eval "ac_cv_lib_$ac_lib_var=yes" |
17728 |
main () |
9829 |
else |
17729 |
{ |
9830 |
echo "configure: failed program was:" >&5 |
17730 |
__gmpz_fdiv_qr (); |
9831 |
cat conftest.$ac_ext >&5 |
17731 |
; |
9832 |
rm -rf conftest* |
17732 |
return 0; |
9833 |
eval "ac_cv_lib_$ac_lib_var=no" |
17733 |
} |
9834 |
fi |
17734 |
_ACEOF |
9835 |
rm -f conftest* |
17735 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9836 |
LIBS="$ac_save_LIBS" |
17736 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9837 |
|
17737 |
(eval $ac_link) 2>&5 |
9838 |
fi |
17738 |
ac_status=$? |
9839 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
17739 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9840 |
echo "$ac_t""yes" 1>&6 |
17740 |
(exit $ac_status); } && |
|
|
17741 |
{ ac_try='test -s conftest$ac_exeext' |
17742 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17743 |
(eval $ac_try) 2>&5 |
17744 |
ac_status=$? |
17745 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17746 |
(exit $ac_status); }; }; then |
17747 |
ac_cv_lib_gmp3___gmpz_fdiv_qr=yes |
17748 |
else |
17749 |
echo "$as_me: failed program was:" >&5 |
17750 |
cat conftest.$ac_ext >&5 |
17751 |
ac_cv_lib_gmp3___gmpz_fdiv_qr=no |
17752 |
fi |
17753 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17754 |
LIBS=$ac_check_lib_save_LIBS |
17755 |
fi |
17756 |
echo "$as_me:$LINENO: result: $ac_cv_lib_gmp3___gmpz_fdiv_qr" >&5 |
17757 |
echo "${ECHO_T}$ac_cv_lib_gmp3___gmpz_fdiv_qr" >&6 |
17758 |
if test $ac_cv_lib_gmp3___gmpz_fdiv_qr = yes; then |
9841 |
HaveLibGmp=YES; LibGmp=gmp3 |
17759 |
HaveLibGmp=YES; LibGmp=gmp3 |
9842 |
else |
17760 |
else |
9843 |
echo "$ac_t""no" 1>&6 |
17761 |
HaveLibGmp=NO; LibGmp=not-installed |
9844 |
HaveLibGmp=NO; LibGmp=not-installed |
|
|
9845 |
fi |
17762 |
fi |
9846 |
|
17763 |
|
9847 |
fi |
17764 |
fi |
Lines 9849-9942
Link Here
|
9849 |
|
17766 |
|
9850 |
|
17767 |
|
9851 |
|
17768 |
|
9852 |
echo $ac_n "checking for closedir in -lmingwex""... $ac_c" 1>&6 |
17769 |
echo "$as_me:$LINENO: checking for closedir in -lmingwex" >&5 |
9853 |
echo "configure:9854: checking for closedir in -lmingwex" >&5 |
17770 |
echo $ECHO_N "checking for closedir in -lmingwex... $ECHO_C" >&6 |
9854 |
ac_lib_var=`echo mingwex'_'closedir | sed 'y%./+-%__p_%'` |
17771 |
if test "${ac_cv_lib_mingwex_closedir+set}" = set; then |
9855 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
17772 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9856 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
9857 |
else |
17773 |
else |
9858 |
ac_save_LIBS="$LIBS" |
17774 |
ac_check_lib_save_LIBS=$LIBS |
9859 |
LIBS="-lmingwex $LIBS" |
17775 |
LIBS="-lmingwex $LIBS" |
9860 |
cat > conftest.$ac_ext <<EOF |
17776 |
cat >conftest.$ac_ext <<_ACEOF |
9861 |
#line 9862 "configure" |
17777 |
#line $LINENO "configure" |
9862 |
#include "confdefs.h" |
17778 |
#include "confdefs.h" |
|
|
17779 |
|
9863 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17780 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17781 |
#ifdef __cplusplus |
17782 |
extern "C" |
17783 |
#endif |
9864 |
/* We use char because int might match the return type of a gcc2 |
17784 |
/* We use char because int might match the return type of a gcc2 |
9865 |
builtin and then its argument prototype would still apply. */ |
17785 |
builtin and then its argument prototype would still apply. */ |
9866 |
char closedir(); |
17786 |
char closedir (); |
9867 |
|
17787 |
#ifdef F77_DUMMY_MAIN |
9868 |
int main() { |
17788 |
# ifdef __cplusplus |
9869 |
closedir() |
17789 |
extern "C" |
9870 |
; return 0; } |
17790 |
# endif |
9871 |
EOF |
17791 |
int F77_DUMMY_MAIN() { return 1; } |
9872 |
if { (eval echo configure:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17792 |
#endif |
9873 |
rm -rf conftest* |
17793 |
int |
9874 |
eval "ac_cv_lib_$ac_lib_var=yes" |
17794 |
main () |
9875 |
else |
17795 |
{ |
9876 |
echo "configure: failed program was:" >&5 |
17796 |
closedir (); |
9877 |
cat conftest.$ac_ext >&5 |
17797 |
; |
9878 |
rm -rf conftest* |
17798 |
return 0; |
9879 |
eval "ac_cv_lib_$ac_lib_var=no" |
17799 |
} |
9880 |
fi |
17800 |
_ACEOF |
9881 |
rm -f conftest* |
17801 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9882 |
LIBS="$ac_save_LIBS" |
17802 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9883 |
|
17803 |
(eval $ac_link) 2>&5 |
9884 |
fi |
17804 |
ac_status=$? |
9885 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
17805 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9886 |
echo "$ac_t""yes" 1>&6 |
17806 |
(exit $ac_status); } && |
|
|
17807 |
{ ac_try='test -s conftest$ac_exeext' |
17808 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17809 |
(eval $ac_try) 2>&5 |
17810 |
ac_status=$? |
17811 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17812 |
(exit $ac_status); }; }; then |
17813 |
ac_cv_lib_mingwex_closedir=yes |
17814 |
else |
17815 |
echo "$as_me: failed program was:" >&5 |
17816 |
cat conftest.$ac_ext >&5 |
17817 |
ac_cv_lib_mingwex_closedir=no |
17818 |
fi |
17819 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17820 |
LIBS=$ac_check_lib_save_LIBS |
17821 |
fi |
17822 |
echo "$as_me:$LINENO: result: $ac_cv_lib_mingwex_closedir" >&5 |
17823 |
echo "${ECHO_T}$ac_cv_lib_mingwex_closedir" >&6 |
17824 |
if test $ac_cv_lib_mingwex_closedir = yes; then |
9887 |
HaveLibMingwEx=YES |
17825 |
HaveLibMingwEx=YES |
9888 |
else |
17826 |
else |
9889 |
echo "$ac_t""no" 1>&6 |
17827 |
HaveLibMingwEx=NO |
9890 |
HaveLibMingwEx=NO |
|
|
9891 |
fi |
17828 |
fi |
9892 |
|
17829 |
|
9893 |
|
17830 |
|
9894 |
|
17831 |
|
9895 |
if test $HaveLibMingwEx = YES ; then |
17832 |
if test $HaveLibMingwEx = YES ; then |
9896 |
cat >> confdefs.h <<\EOF |
17833 |
cat >>confdefs.h <<\_ACEOF |
9897 |
#define HAVE_MINGWEX 1 |
17834 |
#define HAVE_MINGWEX 1 |
9898 |
EOF |
17835 |
_ACEOF |
9899 |
|
17836 |
|
9900 |
fi |
17837 |
fi |
9901 |
|
17838 |
|
9902 |
if test "$HaveLibGmp" = "NO"; then |
17839 |
if test "$HaveLibGmp" = "NO"; then |
9903 |
if test "$HostArch_CPP" = "ia64"; then |
17840 |
if test "$HostArch_CPP" = "ia64"; then |
9904 |
{ echo "configure: error: You need to install libgmp (the in-tree version does not work on IA64)." 1>&2; exit 1; } |
17841 |
{ { echo "$as_me:$LINENO: error: You need to install libgmp (the in-tree version does not work on IA64)." >&5 |
|
|
17842 |
echo "$as_me: error: You need to install libgmp (the in-tree version does not work on IA64)." >&2;} |
17843 |
{ (exit 1); exit 1; }; } |
9905 |
fi; |
17844 |
fi; |
9906 |
fi; |
17845 |
fi; |
9907 |
|
17846 |
|
9908 |
echo $ac_n "checking for GNU regex in libc""... $ac_c" 1>&6 |
17847 |
echo "$as_me:$LINENO: checking for GNU regex in libc" >&5 |
9909 |
echo "configure:9910: checking for GNU regex in libc" >&5 |
17848 |
echo $ECHO_N "checking for GNU regex in libc... $ECHO_C" >&6 |
9910 |
if eval "test \"`echo '$''{'fptools_cv_have_regex'+set}'`\" = set"; then |
17849 |
if test "${fptools_cv_have_regex+set}" = set; then |
9911 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17850 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9912 |
else |
17851 |
else |
9913 |
cat > conftest.$ac_ext <<EOF |
17852 |
cat >conftest.$ac_ext <<_ACEOF |
9914 |
#line 9915 "configure" |
17853 |
#line $LINENO "configure" |
9915 |
#include "confdefs.h" |
17854 |
#include "confdefs.h" |
9916 |
#if HAVE_UNISTD_H |
17855 |
#if HAVE_UNISTD_H |
9917 |
#include <unistd.h> |
17856 |
#include <unistd.h> |
9918 |
#endif |
17857 |
#endif |
9919 |
#include <regex.h> |
17858 |
#include <regex.h> |
9920 |
|
17859 |
|
9921 |
int main() { |
17860 |
#ifdef F77_DUMMY_MAIN |
9922 |
struct re_pattern_buffer patbuf; |
17861 |
# ifdef __cplusplus |
|
|
17862 |
extern "C" |
17863 |
# endif |
17864 |
int F77_DUMMY_MAIN() { return 1; } |
17865 |
#endif |
17866 |
int |
17867 |
main () |
17868 |
{ |
17869 |
struct re_pattern_buffer patbuf; |
9923 |
re_compile_pattern("",0,&patbuf); |
17870 |
re_compile_pattern("",0,&patbuf); |
9924 |
re_search_2 (&patbuf, "", 0, "",0, 0,0,0,0); |
17871 |
re_search_2 (&patbuf, "", 0, "",0, 0,0,0,0); |
9925 |
; return 0; } |
17872 |
; |
9926 |
EOF |
17873 |
return 0; |
9927 |
if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17874 |
} |
9928 |
rm -rf conftest* |
17875 |
_ACEOF |
|
|
17876 |
rm -f conftest.$ac_objext conftest$ac_exeext |
17877 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
17878 |
(eval $ac_link) 2>&5 |
17879 |
ac_status=$? |
17880 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17881 |
(exit $ac_status); } && |
17882 |
{ ac_try='test -s conftest$ac_exeext' |
17883 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
17884 |
(eval $ac_try) 2>&5 |
17885 |
ac_status=$? |
17886 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
17887 |
(exit $ac_status); }; }; then |
9929 |
fptools_cv_have_regex=yes |
17888 |
fptools_cv_have_regex=yes |
9930 |
else |
17889 |
else |
9931 |
echo "configure: failed program was:" >&5 |
17890 |
echo "$as_me: failed program was:" >&5 |
9932 |
cat conftest.$ac_ext >&5 |
17891 |
cat conftest.$ac_ext >&5 |
9933 |
rm -rf conftest* |
17892 |
fptools_cv_have_regex=no |
9934 |
fptools_cv_have_regex=no |
|
|
9935 |
fi |
17893 |
fi |
9936 |
rm -f conftest* |
17894 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
9937 |
fi |
17895 |
fi |
9938 |
|
17896 |
echo "$as_me:$LINENO: result: $fptools_cv_have_regex" >&5 |
9939 |
echo "$ac_t""$fptools_cv_have_regex" 1>&6 |
17897 |
echo "${ECHO_T}$fptools_cv_have_regex" >&6 |
9940 |
if test "$fptools_cv_have_regex" = yes; then |
17898 |
if test "$fptools_cv_have_regex" = yes; then |
9941 |
HaveGNURegex=YES |
17899 |
HaveGNURegex=YES |
9942 |
else |
17900 |
else |
Lines 9945-10160
Link Here
|
9945 |
|
17903 |
|
9946 |
|
17904 |
|
9947 |
|
17905 |
|
9948 |
echo $ac_n "checking for xmalloc in -liberty""... $ac_c" 1>&6 |
17906 |
|
9949 |
echo "configure:9950: checking for xmalloc in -liberty" >&5 |
17907 |
echo "$as_me:$LINENO: checking for xmalloc in -liberty" >&5 |
9950 |
ac_lib_var=`echo iberty'_'xmalloc | sed 'y%./+-%__p_%'` |
17908 |
echo $ECHO_N "checking for xmalloc in -liberty... $ECHO_C" >&6 |
9951 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
17909 |
if test "${ac_cv_lib_iberty_xmalloc+set}" = set; then |
9952 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17910 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
9953 |
else |
17911 |
else |
9954 |
ac_save_LIBS="$LIBS" |
17912 |
ac_check_lib_save_LIBS=$LIBS |
9955 |
LIBS="-liberty $LIBS" |
17913 |
LIBS="-liberty $LIBS" |
9956 |
cat > conftest.$ac_ext <<EOF |
17914 |
cat >conftest.$ac_ext <<_ACEOF |
9957 |
#line 9958 "configure" |
17915 |
#line $LINENO "configure" |
9958 |
#include "confdefs.h" |
17916 |
#include "confdefs.h" |
|
|
17917 |
|
9959 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17918 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17919 |
#ifdef __cplusplus |
17920 |
extern "C" |
17921 |
#endif |
9960 |
/* We use char because int might match the return type of a gcc2 |
17922 |
/* We use char because int might match the return type of a gcc2 |
9961 |
builtin and then its argument prototype would still apply. */ |
17923 |
builtin and then its argument prototype would still apply. */ |
9962 |
char xmalloc(); |
17924 |
char xmalloc (); |
9963 |
|
17925 |
#ifdef F77_DUMMY_MAIN |
9964 |
int main() { |
17926 |
# ifdef __cplusplus |
9965 |
xmalloc() |
17927 |
extern "C" |
9966 |
; return 0; } |
17928 |
# endif |
9967 |
EOF |
17929 |
int F77_DUMMY_MAIN() { return 1; } |
9968 |
if { (eval echo configure:9969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17930 |
#endif |
9969 |
rm -rf conftest* |
17931 |
int |
9970 |
eval "ac_cv_lib_$ac_lib_var=yes" |
17932 |
main () |
9971 |
else |
17933 |
{ |
9972 |
echo "configure: failed program was:" >&5 |
17934 |
xmalloc (); |
9973 |
cat conftest.$ac_ext >&5 |
17935 |
; |
9974 |
rm -rf conftest* |
17936 |
return 0; |
9975 |
eval "ac_cv_lib_$ac_lib_var=no" |
17937 |
} |
9976 |
fi |
17938 |
_ACEOF |
9977 |
rm -f conftest* |
17939 |
rm -f conftest.$ac_objext conftest$ac_exeext |
9978 |
LIBS="$ac_save_LIBS" |
17940 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
9979 |
|
17941 |
(eval $ac_link) 2>&5 |
9980 |
fi |
17942 |
ac_status=$? |
9981 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
17943 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9982 |
echo "$ac_t""yes" 1>&6 |
17944 |
(exit $ac_status); } && |
9983 |
ac_tr_lib=HAVE_LIB`echo iberty | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
17945 |
{ ac_try='test -s conftest$ac_exeext' |
9984 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
17946 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
9985 |
cat >> confdefs.h <<EOF |
17947 |
(eval $ac_try) 2>&5 |
9986 |
#define $ac_tr_lib 1 |
17948 |
ac_status=$? |
9987 |
EOF |
17949 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
17950 |
(exit $ac_status); }; }; then |
17951 |
ac_cv_lib_iberty_xmalloc=yes |
17952 |
else |
17953 |
echo "$as_me: failed program was:" >&5 |
17954 |
cat conftest.$ac_ext >&5 |
17955 |
ac_cv_lib_iberty_xmalloc=no |
17956 |
fi |
17957 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
17958 |
LIBS=$ac_check_lib_save_LIBS |
17959 |
fi |
17960 |
echo "$as_me:$LINENO: result: $ac_cv_lib_iberty_xmalloc" >&5 |
17961 |
echo "${ECHO_T}$ac_cv_lib_iberty_xmalloc" >&6 |
17962 |
if test $ac_cv_lib_iberty_xmalloc = yes; then |
17963 |
cat >>confdefs.h <<_ACEOF |
17964 |
#define HAVE_LIBIBERTY 1 |
17965 |
_ACEOF |
9988 |
|
17966 |
|
9989 |
LIBS="-liberty $LIBS" |
17967 |
LIBS="-liberty $LIBS" |
9990 |
|
17968 |
|
9991 |
else |
|
|
9992 |
echo "$ac_t""no" 1>&6 |
9993 |
fi |
17969 |
fi |
9994 |
|
17970 |
|
9995 |
echo $ac_n "checking for bfd_init in -lbfd""... $ac_c" 1>&6 |
17971 |
|
9996 |
echo "configure:9997: checking for bfd_init in -lbfd" >&5 |
17972 |
echo "$as_me:$LINENO: checking for bfd_init in -lbfd" >&5 |
9997 |
ac_lib_var=`echo bfd'_'bfd_init | sed 'y%./+-%__p_%'` |
17973 |
echo $ECHO_N "checking for bfd_init in -lbfd... $ECHO_C" >&6 |
9998 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
17974 |
if test "${ac_cv_lib_bfd_bfd_init+set}" = set; then |
9999 |
echo $ac_n "(cached) $ac_c" 1>&6 |
17975 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10000 |
else |
17976 |
else |
10001 |
ac_save_LIBS="$LIBS" |
17977 |
ac_check_lib_save_LIBS=$LIBS |
10002 |
LIBS="-lbfd $LIBS" |
17978 |
LIBS="-lbfd $LIBS" |
10003 |
cat > conftest.$ac_ext <<EOF |
17979 |
cat >conftest.$ac_ext <<_ACEOF |
10004 |
#line 10005 "configure" |
17980 |
#line $LINENO "configure" |
10005 |
#include "confdefs.h" |
17981 |
#include "confdefs.h" |
|
|
17982 |
|
10006 |
/* Override any gcc2 internal prototype to avoid an error. */ |
17983 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
17984 |
#ifdef __cplusplus |
17985 |
extern "C" |
17986 |
#endif |
10007 |
/* We use char because int might match the return type of a gcc2 |
17987 |
/* We use char because int might match the return type of a gcc2 |
10008 |
builtin and then its argument prototype would still apply. */ |
17988 |
builtin and then its argument prototype would still apply. */ |
10009 |
char bfd_init(); |
17989 |
char bfd_init (); |
10010 |
|
17990 |
#ifdef F77_DUMMY_MAIN |
10011 |
int main() { |
17991 |
# ifdef __cplusplus |
10012 |
bfd_init() |
17992 |
extern "C" |
10013 |
; return 0; } |
17993 |
# endif |
10014 |
EOF |
17994 |
int F77_DUMMY_MAIN() { return 1; } |
10015 |
if { (eval echo configure:10016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
17995 |
#endif |
10016 |
rm -rf conftest* |
17996 |
int |
10017 |
eval "ac_cv_lib_$ac_lib_var=yes" |
17997 |
main () |
10018 |
else |
17998 |
{ |
10019 |
echo "configure: failed program was:" >&5 |
17999 |
bfd_init (); |
10020 |
cat conftest.$ac_ext >&5 |
18000 |
; |
10021 |
rm -rf conftest* |
18001 |
return 0; |
10022 |
eval "ac_cv_lib_$ac_lib_var=no" |
18002 |
} |
10023 |
fi |
18003 |
_ACEOF |
10024 |
rm -f conftest* |
18004 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10025 |
LIBS="$ac_save_LIBS" |
18005 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10026 |
|
18006 |
(eval $ac_link) 2>&5 |
10027 |
fi |
18007 |
ac_status=$? |
10028 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18008 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10029 |
echo "$ac_t""yes" 1>&6 |
18009 |
(exit $ac_status); } && |
10030 |
ac_tr_lib=HAVE_LIB`echo bfd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
18010 |
{ ac_try='test -s conftest$ac_exeext' |
10031 |
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
18011 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
10032 |
cat >> confdefs.h <<EOF |
18012 |
(eval $ac_try) 2>&5 |
10033 |
#define $ac_tr_lib 1 |
18013 |
ac_status=$? |
10034 |
EOF |
18014 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
18015 |
(exit $ac_status); }; }; then |
18016 |
ac_cv_lib_bfd_bfd_init=yes |
18017 |
else |
18018 |
echo "$as_me: failed program was:" >&5 |
18019 |
cat conftest.$ac_ext >&5 |
18020 |
ac_cv_lib_bfd_bfd_init=no |
18021 |
fi |
18022 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18023 |
LIBS=$ac_check_lib_save_LIBS |
18024 |
fi |
18025 |
echo "$as_me:$LINENO: result: $ac_cv_lib_bfd_bfd_init" >&5 |
18026 |
echo "${ECHO_T}$ac_cv_lib_bfd_bfd_init" >&6 |
18027 |
if test $ac_cv_lib_bfd_bfd_init = yes; then |
18028 |
cat >>confdefs.h <<_ACEOF |
18029 |
#define HAVE_LIBBFD 1 |
18030 |
_ACEOF |
10035 |
|
18031 |
|
10036 |
LIBS="-lbfd $LIBS" |
18032 |
LIBS="-lbfd $LIBS" |
10037 |
|
18033 |
|
10038 |
else |
|
|
10039 |
echo "$ac_t""no" 1>&6 |
10040 |
fi |
18034 |
fi |
10041 |
|
18035 |
|
10042 |
|
18036 |
|
10043 |
echo $ac_n "checking for tputs in -lncurses""... $ac_c" 1>&6 |
18037 |
echo "$as_me:$LINENO: checking for tputs in -lncurses" >&5 |
10044 |
echo "configure:10045: checking for tputs in -lncurses" >&5 |
18038 |
echo $ECHO_N "checking for tputs in -lncurses... $ECHO_C" >&6 |
10045 |
ac_lib_var=`echo ncurses'_'tputs | sed 'y%./+-%__p_%'` |
18039 |
if test "${ac_cv_lib_ncurses_tputs+set}" = set; then |
10046 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18040 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10047 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10048 |
else |
18041 |
else |
10049 |
ac_save_LIBS="$LIBS" |
18042 |
ac_check_lib_save_LIBS=$LIBS |
10050 |
LIBS="-lncurses $LIBS" |
18043 |
LIBS="-lncurses $LIBS" |
10051 |
cat > conftest.$ac_ext <<EOF |
18044 |
cat >conftest.$ac_ext <<_ACEOF |
10052 |
#line 10053 "configure" |
18045 |
#line $LINENO "configure" |
10053 |
#include "confdefs.h" |
18046 |
#include "confdefs.h" |
|
|
18047 |
|
10054 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18048 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18049 |
#ifdef __cplusplus |
18050 |
extern "C" |
18051 |
#endif |
10055 |
/* We use char because int might match the return type of a gcc2 |
18052 |
/* We use char because int might match the return type of a gcc2 |
10056 |
builtin and then its argument prototype would still apply. */ |
18053 |
builtin and then its argument prototype would still apply. */ |
10057 |
char tputs(); |
18054 |
char tputs (); |
10058 |
|
18055 |
#ifdef F77_DUMMY_MAIN |
10059 |
int main() { |
18056 |
# ifdef __cplusplus |
10060 |
tputs() |
18057 |
extern "C" |
10061 |
; return 0; } |
18058 |
# endif |
10062 |
EOF |
18059 |
int F77_DUMMY_MAIN() { return 1; } |
10063 |
if { (eval echo configure:10064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18060 |
#endif |
10064 |
rm -rf conftest* |
18061 |
int |
10065 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18062 |
main () |
10066 |
else |
18063 |
{ |
10067 |
echo "configure: failed program was:" >&5 |
18064 |
tputs (); |
10068 |
cat conftest.$ac_ext >&5 |
18065 |
; |
10069 |
rm -rf conftest* |
18066 |
return 0; |
10070 |
eval "ac_cv_lib_$ac_lib_var=no" |
18067 |
} |
10071 |
fi |
18068 |
_ACEOF |
10072 |
rm -f conftest* |
18069 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10073 |
LIBS="$ac_save_LIBS" |
18070 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10074 |
|
18071 |
(eval $ac_link) 2>&5 |
10075 |
fi |
18072 |
ac_status=$? |
10076 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18073 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10077 |
echo "$ac_t""yes" 1>&6 |
18074 |
(exit $ac_status); } && |
|
|
18075 |
{ ac_try='test -s conftest$ac_exeext' |
18076 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18077 |
(eval $ac_try) 2>&5 |
18078 |
ac_status=$? |
18079 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18080 |
(exit $ac_status); }; }; then |
18081 |
ac_cv_lib_ncurses_tputs=yes |
18082 |
else |
18083 |
echo "$as_me: failed program was:" >&5 |
18084 |
cat conftest.$ac_ext >&5 |
18085 |
ac_cv_lib_ncurses_tputs=no |
18086 |
fi |
18087 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18088 |
LIBS=$ac_check_lib_save_LIBS |
18089 |
fi |
18090 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tputs" >&5 |
18091 |
echo "${ECHO_T}$ac_cv_lib_ncurses_tputs" >&6 |
18092 |
if test $ac_cv_lib_ncurses_tputs = yes; then |
10078 |
HaveLibTermcap=YES; LibTermcap=ncurses |
18093 |
HaveLibTermcap=YES; LibTermcap=ncurses |
10079 |
else |
18094 |
else |
10080 |
echo "$ac_t""no" 1>&6 |
18095 |
echo "$as_me:$LINENO: checking for tputs in -ltermcap" >&5 |
10081 |
echo $ac_n "checking for tputs in -ltermcap""... $ac_c" 1>&6 |
18096 |
echo $ECHO_N "checking for tputs in -ltermcap... $ECHO_C" >&6 |
10082 |
echo "configure:10083: checking for tputs in -ltermcap" >&5 |
18097 |
if test "${ac_cv_lib_termcap_tputs+set}" = set; then |
10083 |
ac_lib_var=`echo termcap'_'tputs | sed 'y%./+-%__p_%'` |
18098 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10084 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
10085 |
echo $ac_n "(cached) $ac_c" 1>&6 |
10086 |
else |
18099 |
else |
10087 |
ac_save_LIBS="$LIBS" |
18100 |
ac_check_lib_save_LIBS=$LIBS |
10088 |
LIBS="-ltermcap $LIBS" |
18101 |
LIBS="-ltermcap $LIBS" |
10089 |
cat > conftest.$ac_ext <<EOF |
18102 |
cat >conftest.$ac_ext <<_ACEOF |
10090 |
#line 10091 "configure" |
18103 |
#line $LINENO "configure" |
10091 |
#include "confdefs.h" |
18104 |
#include "confdefs.h" |
|
|
18105 |
|
10092 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18106 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18107 |
#ifdef __cplusplus |
18108 |
extern "C" |
18109 |
#endif |
10093 |
/* We use char because int might match the return type of a gcc2 |
18110 |
/* We use char because int might match the return type of a gcc2 |
10094 |
builtin and then its argument prototype would still apply. */ |
18111 |
builtin and then its argument prototype would still apply. */ |
10095 |
char tputs(); |
18112 |
char tputs (); |
10096 |
|
18113 |
#ifdef F77_DUMMY_MAIN |
10097 |
int main() { |
18114 |
# ifdef __cplusplus |
10098 |
tputs() |
18115 |
extern "C" |
10099 |
; return 0; } |
18116 |
# endif |
10100 |
EOF |
18117 |
int F77_DUMMY_MAIN() { return 1; } |
10101 |
if { (eval echo configure:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18118 |
#endif |
10102 |
rm -rf conftest* |
18119 |
int |
10103 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18120 |
main () |
10104 |
else |
18121 |
{ |
10105 |
echo "configure: failed program was:" >&5 |
18122 |
tputs (); |
10106 |
cat conftest.$ac_ext >&5 |
18123 |
; |
10107 |
rm -rf conftest* |
18124 |
return 0; |
10108 |
eval "ac_cv_lib_$ac_lib_var=no" |
18125 |
} |
10109 |
fi |
18126 |
_ACEOF |
10110 |
rm -f conftest* |
18127 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10111 |
LIBS="$ac_save_LIBS" |
18128 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10112 |
|
18129 |
(eval $ac_link) 2>&5 |
10113 |
fi |
18130 |
ac_status=$? |
10114 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18131 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10115 |
echo "$ac_t""yes" 1>&6 |
18132 |
(exit $ac_status); } && |
|
|
18133 |
{ ac_try='test -s conftest$ac_exeext' |
18134 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18135 |
(eval $ac_try) 2>&5 |
18136 |
ac_status=$? |
18137 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18138 |
(exit $ac_status); }; }; then |
18139 |
ac_cv_lib_termcap_tputs=yes |
18140 |
else |
18141 |
echo "$as_me: failed program was:" >&5 |
18142 |
cat conftest.$ac_ext >&5 |
18143 |
ac_cv_lib_termcap_tputs=no |
18144 |
fi |
18145 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18146 |
LIBS=$ac_check_lib_save_LIBS |
18147 |
fi |
18148 |
echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tputs" >&5 |
18149 |
echo "${ECHO_T}$ac_cv_lib_termcap_tputs" >&6 |
18150 |
if test $ac_cv_lib_termcap_tputs = yes; then |
10116 |
HaveLibTermcap=YES; LibTermcap=termcap |
18151 |
HaveLibTermcap=YES; LibTermcap=termcap |
10117 |
else |
18152 |
else |
10118 |
echo "$ac_t""no" 1>&6 |
18153 |
echo "$as_me:$LINENO: checking for tputs in -lcurses" >&5 |
10119 |
echo $ac_n "checking for tputs in -lcurses""... $ac_c" 1>&6 |
18154 |
echo $ECHO_N "checking for tputs in -lcurses... $ECHO_C" >&6 |
10120 |
echo "configure:10121: checking for tputs in -lcurses" >&5 |
18155 |
if test "${ac_cv_lib_curses_tputs+set}" = set; then |
10121 |
ac_lib_var=`echo curses'_'tputs | sed 'y%./+-%__p_%'` |
18156 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10122 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
10123 |
echo $ac_n "(cached) $ac_c" 1>&6 |
10124 |
else |
18157 |
else |
10125 |
ac_save_LIBS="$LIBS" |
18158 |
ac_check_lib_save_LIBS=$LIBS |
10126 |
LIBS="-lcurses $LIBS" |
18159 |
LIBS="-lcurses $LIBS" |
10127 |
cat > conftest.$ac_ext <<EOF |
18160 |
cat >conftest.$ac_ext <<_ACEOF |
10128 |
#line 10129 "configure" |
18161 |
#line $LINENO "configure" |
10129 |
#include "confdefs.h" |
18162 |
#include "confdefs.h" |
|
|
18163 |
|
10130 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18164 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18165 |
#ifdef __cplusplus |
18166 |
extern "C" |
18167 |
#endif |
10131 |
/* We use char because int might match the return type of a gcc2 |
18168 |
/* We use char because int might match the return type of a gcc2 |
10132 |
builtin and then its argument prototype would still apply. */ |
18169 |
builtin and then its argument prototype would still apply. */ |
10133 |
char tputs(); |
18170 |
char tputs (); |
10134 |
|
18171 |
#ifdef F77_DUMMY_MAIN |
10135 |
int main() { |
18172 |
# ifdef __cplusplus |
10136 |
tputs() |
18173 |
extern "C" |
10137 |
; return 0; } |
18174 |
# endif |
10138 |
EOF |
18175 |
int F77_DUMMY_MAIN() { return 1; } |
10139 |
if { (eval echo configure:10140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18176 |
#endif |
10140 |
rm -rf conftest* |
18177 |
int |
10141 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18178 |
main () |
10142 |
else |
18179 |
{ |
10143 |
echo "configure: failed program was:" >&5 |
18180 |
tputs (); |
10144 |
cat conftest.$ac_ext >&5 |
18181 |
; |
10145 |
rm -rf conftest* |
18182 |
return 0; |
10146 |
eval "ac_cv_lib_$ac_lib_var=no" |
18183 |
} |
10147 |
fi |
18184 |
_ACEOF |
10148 |
rm -f conftest* |
18185 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10149 |
LIBS="$ac_save_LIBS" |
18186 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10150 |
|
18187 |
(eval $ac_link) 2>&5 |
10151 |
fi |
18188 |
ac_status=$? |
10152 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18189 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10153 |
echo "$ac_t""yes" 1>&6 |
18190 |
(exit $ac_status); } && |
|
|
18191 |
{ ac_try='test -s conftest$ac_exeext' |
18192 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18193 |
(eval $ac_try) 2>&5 |
18194 |
ac_status=$? |
18195 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18196 |
(exit $ac_status); }; }; then |
18197 |
ac_cv_lib_curses_tputs=yes |
18198 |
else |
18199 |
echo "$as_me: failed program was:" >&5 |
18200 |
cat conftest.$ac_ext >&5 |
18201 |
ac_cv_lib_curses_tputs=no |
18202 |
fi |
18203 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18204 |
LIBS=$ac_check_lib_save_LIBS |
18205 |
fi |
18206 |
echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tputs" >&5 |
18207 |
echo "${ECHO_T}$ac_cv_lib_curses_tputs" >&6 |
18208 |
if test $ac_cv_lib_curses_tputs = yes; then |
10154 |
HaveLibTermcap=YES; LibTermcap=curses |
18209 |
HaveLibTermcap=YES; LibTermcap=curses |
10155 |
else |
18210 |
else |
10156 |
echo "$ac_t""no" 1>&6 |
18211 |
HaveLibTermcap=NO; LibTermcap=not-installed |
10157 |
HaveLibTermcap=NO; LibTermcap=not-installed |
|
|
10158 |
fi |
18212 |
fi |
10159 |
|
18213 |
|
10160 |
fi |
18214 |
fi |
Lines 10164-10330
Link Here
|
10164 |
|
18218 |
|
10165 |
if test $HaveLibTermcap = YES ; then |
18219 |
if test $HaveLibTermcap = YES ; then |
10166 |
LIBS="-l$LibTermcap $LIBS" |
18220 |
LIBS="-l$LibTermcap $LIBS" |
10167 |
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6 |
18221 |
echo "$as_me:$LINENO: checking for readline in -lreadline" >&5 |
10168 |
echo "configure:10169: checking for readline in -lreadline" >&5 |
18222 |
echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6 |
10169 |
ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'` |
18223 |
if test "${ac_cv_lib_readline_readline+set}" = set; then |
10170 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18224 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10171 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10172 |
else |
18225 |
else |
10173 |
ac_save_LIBS="$LIBS" |
18226 |
ac_check_lib_save_LIBS=$LIBS |
10174 |
LIBS="-lreadline $LIBS" |
18227 |
LIBS="-lreadline $LIBS" |
10175 |
cat > conftest.$ac_ext <<EOF |
18228 |
cat >conftest.$ac_ext <<_ACEOF |
10176 |
#line 10177 "configure" |
18229 |
#line $LINENO "configure" |
10177 |
#include "confdefs.h" |
18230 |
#include "confdefs.h" |
|
|
18231 |
|
10178 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18232 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18233 |
#ifdef __cplusplus |
18234 |
extern "C" |
18235 |
#endif |
10179 |
/* We use char because int might match the return type of a gcc2 |
18236 |
/* We use char because int might match the return type of a gcc2 |
10180 |
builtin and then its argument prototype would still apply. */ |
18237 |
builtin and then its argument prototype would still apply. */ |
10181 |
char readline(); |
18238 |
char readline (); |
10182 |
|
18239 |
#ifdef F77_DUMMY_MAIN |
10183 |
int main() { |
18240 |
# ifdef __cplusplus |
10184 |
readline() |
18241 |
extern "C" |
10185 |
; return 0; } |
18242 |
# endif |
10186 |
EOF |
18243 |
int F77_DUMMY_MAIN() { return 1; } |
10187 |
if { (eval echo configure:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18244 |
#endif |
10188 |
rm -rf conftest* |
18245 |
int |
10189 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18246 |
main () |
10190 |
else |
18247 |
{ |
10191 |
echo "configure: failed program was:" >&5 |
18248 |
readline (); |
10192 |
cat conftest.$ac_ext >&5 |
18249 |
; |
10193 |
rm -rf conftest* |
18250 |
return 0; |
10194 |
eval "ac_cv_lib_$ac_lib_var=no" |
18251 |
} |
10195 |
fi |
18252 |
_ACEOF |
10196 |
rm -f conftest* |
18253 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10197 |
LIBS="$ac_save_LIBS" |
18254 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10198 |
|
18255 |
(eval $ac_link) 2>&5 |
10199 |
fi |
18256 |
ac_status=$? |
10200 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18257 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10201 |
echo "$ac_t""yes" 1>&6 |
18258 |
(exit $ac_status); } && |
|
|
18259 |
{ ac_try='test -s conftest$ac_exeext' |
18260 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18261 |
(eval $ac_try) 2>&5 |
18262 |
ac_status=$? |
18263 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18264 |
(exit $ac_status); }; }; then |
18265 |
ac_cv_lib_readline_readline=yes |
18266 |
else |
18267 |
echo "$as_me: failed program was:" >&5 |
18268 |
cat conftest.$ac_ext >&5 |
18269 |
ac_cv_lib_readline_readline=no |
18270 |
fi |
18271 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18272 |
LIBS=$ac_check_lib_save_LIBS |
18273 |
fi |
18274 |
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5 |
18275 |
echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6 |
18276 |
if test $ac_cv_lib_readline_readline = yes; then |
10202 |
HaveLibReadline=YES |
18277 |
HaveLibReadline=YES |
10203 |
else |
18278 |
else |
10204 |
echo "$ac_t""no" 1>&6 |
18279 |
HaveLibReadline=NO |
10205 |
HaveLibReadline=NO |
|
|
10206 |
fi |
18280 |
fi |
10207 |
|
18281 |
|
10208 |
fi |
18282 |
fi |
10209 |
|
18283 |
|
10210 |
if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then |
18284 |
if test $HaveLibTermcap = YES && test x"$HaveLibReadline" = xYES ; then |
10211 |
cat >> confdefs.h <<\EOF |
18285 |
cat >>confdefs.h <<\_ACEOF |
10212 |
#define HAVE_READLINE_LIBS 1 |
18286 |
#define HAVE_READLINE_LIBS 1 |
10213 |
EOF |
18287 |
_ACEOF |
10214 |
|
18288 |
|
10215 |
LibsReadline="readline $LibTermcap" |
18289 |
LibsReadline="readline $LibTermcap" |
10216 |
else |
18290 |
else |
10217 |
cat >> confdefs.h <<\EOF |
18291 |
cat >>confdefs.h <<\_ACEOF |
10218 |
#define HAVE_READLINE_LIBS 0 |
18292 |
#define HAVE_READLINE_LIBS 0 |
10219 |
EOF |
18293 |
_ACEOF |
10220 |
|
18294 |
|
10221 |
LibsReadline= |
18295 |
LibsReadline= |
10222 |
fi |
18296 |
fi |
10223 |
|
18297 |
|
10224 |
|
18298 |
|
10225 |
if test "$HaveLibReadline"; then |
18299 |
if test "$HaveLibReadline"; then |
10226 |
echo $ac_n "checking for rl_erase_empty_line in -lreadline""... $ac_c" 1>&6 |
18300 |
echo "$as_me:$LINENO: checking for rl_erase_empty_line in -lreadline" >&5 |
10227 |
echo "configure:10228: checking for rl_erase_empty_line in -lreadline" >&5 |
18301 |
echo $ECHO_N "checking for rl_erase_empty_line in -lreadline... $ECHO_C" >&6 |
10228 |
ac_lib_var=`echo readline'_'rl_erase_empty_line | sed 'y%./+-%__p_%'` |
18302 |
if test "${ac_cv_lib_readline_rl_erase_empty_line+set}" = set; then |
10229 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18303 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10230 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10231 |
else |
18304 |
else |
10232 |
ac_save_LIBS="$LIBS" |
18305 |
ac_check_lib_save_LIBS=$LIBS |
10233 |
LIBS="-lreadline $LIBS" |
18306 |
LIBS="-lreadline $LIBS" |
10234 |
cat > conftest.$ac_ext <<EOF |
18307 |
cat >conftest.$ac_ext <<_ACEOF |
10235 |
#line 10236 "configure" |
18308 |
#line $LINENO "configure" |
10236 |
#include "confdefs.h" |
18309 |
#include "confdefs.h" |
|
|
18310 |
|
10237 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18311 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18312 |
#ifdef __cplusplus |
18313 |
extern "C" |
18314 |
#endif |
10238 |
/* We use char because int might match the return type of a gcc2 |
18315 |
/* We use char because int might match the return type of a gcc2 |
10239 |
builtin and then its argument prototype would still apply. */ |
18316 |
builtin and then its argument prototype would still apply. */ |
10240 |
char rl_erase_empty_line(); |
18317 |
char rl_erase_empty_line (); |
10241 |
|
18318 |
#ifdef F77_DUMMY_MAIN |
10242 |
int main() { |
18319 |
# ifdef __cplusplus |
10243 |
rl_erase_empty_line() |
18320 |
extern "C" |
10244 |
; return 0; } |
18321 |
# endif |
10245 |
EOF |
18322 |
int F77_DUMMY_MAIN() { return 1; } |
10246 |
if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18323 |
#endif |
10247 |
rm -rf conftest* |
18324 |
int |
10248 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18325 |
main () |
10249 |
else |
18326 |
{ |
10250 |
echo "configure: failed program was:" >&5 |
18327 |
rl_erase_empty_line (); |
10251 |
cat conftest.$ac_ext >&5 |
18328 |
; |
10252 |
rm -rf conftest* |
18329 |
return 0; |
10253 |
eval "ac_cv_lib_$ac_lib_var=no" |
18330 |
} |
10254 |
fi |
18331 |
_ACEOF |
10255 |
rm -f conftest* |
18332 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10256 |
LIBS="$ac_save_LIBS" |
18333 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10257 |
|
18334 |
(eval $ac_link) 2>&5 |
10258 |
fi |
18335 |
ac_status=$? |
10259 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18336 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10260 |
echo "$ac_t""yes" 1>&6 |
18337 |
(exit $ac_status); } && |
10261 |
cat >> confdefs.h <<\EOF |
18338 |
{ ac_try='test -s conftest$ac_exeext' |
|
|
18339 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18340 |
(eval $ac_try) 2>&5 |
18341 |
ac_status=$? |
18342 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18343 |
(exit $ac_status); }; }; then |
18344 |
ac_cv_lib_readline_rl_erase_empty_line=yes |
18345 |
else |
18346 |
echo "$as_me: failed program was:" >&5 |
18347 |
cat conftest.$ac_ext >&5 |
18348 |
ac_cv_lib_readline_rl_erase_empty_line=no |
18349 |
fi |
18350 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18351 |
LIBS=$ac_check_lib_save_LIBS |
18352 |
fi |
18353 |
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_erase_empty_line" >&5 |
18354 |
echo "${ECHO_T}$ac_cv_lib_readline_rl_erase_empty_line" >&6 |
18355 |
if test $ac_cv_lib_readline_rl_erase_empty_line = yes; then |
18356 |
cat >>confdefs.h <<\_ACEOF |
10262 |
#define HAVE_READLINE_4 1 |
18357 |
#define HAVE_READLINE_4 1 |
10263 |
EOF |
18358 |
_ACEOF |
10264 |
|
18359 |
|
10265 |
else |
18360 |
else |
10266 |
echo "$ac_t""no" 1>&6 |
18361 |
cat >>confdefs.h <<\_ACEOF |
10267 |
cat >> confdefs.h <<\EOF |
|
|
10268 |
#define HAVE_READLINE_4 0 |
18362 |
#define HAVE_READLINE_4 0 |
10269 |
EOF |
18363 |
_ACEOF |
10270 |
|
18364 |
|
10271 |
fi |
18365 |
fi |
10272 |
|
18366 |
|
10273 |
echo $ac_n "checking for rl_free_undo_list in -lreadline""... $ac_c" 1>&6 |
18367 |
echo "$as_me:$LINENO: checking for rl_free_undo_list in -lreadline" >&5 |
10274 |
echo "configure:10275: checking for rl_free_undo_list in -lreadline" >&5 |
18368 |
echo $ECHO_N "checking for rl_free_undo_list in -lreadline... $ECHO_C" >&6 |
10275 |
ac_lib_var=`echo readline'_'rl_free_undo_list | sed 'y%./+-%__p_%'` |
18369 |
if test "${ac_cv_lib_readline_rl_free_undo_list+set}" = set; then |
10276 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18370 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10277 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10278 |
else |
18371 |
else |
10279 |
ac_save_LIBS="$LIBS" |
18372 |
ac_check_lib_save_LIBS=$LIBS |
10280 |
LIBS="-lreadline $LIBS" |
18373 |
LIBS="-lreadline $LIBS" |
10281 |
cat > conftest.$ac_ext <<EOF |
18374 |
cat >conftest.$ac_ext <<_ACEOF |
10282 |
#line 10283 "configure" |
18375 |
#line $LINENO "configure" |
10283 |
#include "confdefs.h" |
18376 |
#include "confdefs.h" |
|
|
18377 |
|
10284 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18378 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18379 |
#ifdef __cplusplus |
18380 |
extern "C" |
18381 |
#endif |
10285 |
/* We use char because int might match the return type of a gcc2 |
18382 |
/* We use char because int might match the return type of a gcc2 |
10286 |
builtin and then its argument prototype would still apply. */ |
18383 |
builtin and then its argument prototype would still apply. */ |
10287 |
char rl_free_undo_list(); |
18384 |
char rl_free_undo_list (); |
10288 |
|
18385 |
#ifdef F77_DUMMY_MAIN |
10289 |
int main() { |
18386 |
# ifdef __cplusplus |
10290 |
rl_free_undo_list() |
18387 |
extern "C" |
10291 |
; return 0; } |
18388 |
# endif |
10292 |
EOF |
18389 |
int F77_DUMMY_MAIN() { return 1; } |
10293 |
if { (eval echo configure:10294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18390 |
#endif |
10294 |
rm -rf conftest* |
18391 |
int |
10295 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18392 |
main () |
10296 |
else |
18393 |
{ |
10297 |
echo "configure: failed program was:" >&5 |
18394 |
rl_free_undo_list (); |
10298 |
cat conftest.$ac_ext >&5 |
18395 |
; |
10299 |
rm -rf conftest* |
18396 |
return 0; |
10300 |
eval "ac_cv_lib_$ac_lib_var=no" |
18397 |
} |
10301 |
fi |
18398 |
_ACEOF |
10302 |
rm -f conftest* |
18399 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10303 |
LIBS="$ac_save_LIBS" |
18400 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10304 |
|
18401 |
(eval $ac_link) 2>&5 |
10305 |
fi |
18402 |
ac_status=$? |
10306 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18403 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10307 |
echo "$ac_t""yes" 1>&6 |
18404 |
(exit $ac_status); } && |
10308 |
cat >> confdefs.h <<\EOF |
18405 |
{ ac_try='test -s conftest$ac_exeext' |
|
|
18406 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18407 |
(eval $ac_try) 2>&5 |
18408 |
ac_status=$? |
18409 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18410 |
(exit $ac_status); }; }; then |
18411 |
ac_cv_lib_readline_rl_free_undo_list=yes |
18412 |
else |
18413 |
echo "$as_me: failed program was:" >&5 |
18414 |
cat conftest.$ac_ext >&5 |
18415 |
ac_cv_lib_readline_rl_free_undo_list=no |
18416 |
fi |
18417 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18418 |
LIBS=$ac_check_lib_save_LIBS |
18419 |
fi |
18420 |
echo "$as_me:$LINENO: result: $ac_cv_lib_readline_rl_free_undo_list" >&5 |
18421 |
echo "${ECHO_T}$ac_cv_lib_readline_rl_free_undo_list" >&6 |
18422 |
if test $ac_cv_lib_readline_rl_free_undo_list = yes; then |
18423 |
cat >>confdefs.h <<\_ACEOF |
10309 |
#define HAVE_READLINE_4_2 1 |
18424 |
#define HAVE_READLINE_4_2 1 |
10310 |
EOF |
18425 |
_ACEOF |
10311 |
|
18426 |
|
10312 |
else |
18427 |
else |
10313 |
echo "$ac_t""no" 1>&6 |
18428 |
cat >>confdefs.h <<\_ACEOF |
10314 |
cat >> confdefs.h <<\EOF |
|
|
10315 |
#define HAVE_READLINE_4_2 0 |
18429 |
#define HAVE_READLINE_4_2 0 |
10316 |
EOF |
18430 |
_ACEOF |
10317 |
|
18431 |
|
10318 |
fi |
18432 |
fi |
10319 |
|
18433 |
|
10320 |
else |
18434 |
else |
10321 |
cat >> confdefs.h <<\EOF |
18435 |
cat >>confdefs.h <<\_ACEOF |
10322 |
#define HAVE_READLINE_4 0 |
18436 |
#define HAVE_READLINE_4 0 |
10323 |
EOF |
18437 |
_ACEOF |
10324 |
|
18438 |
|
10325 |
cat >> confdefs.h <<\EOF |
18439 |
cat >>confdefs.h <<\_ACEOF |
10326 |
#define HAVE_READLINE_4_2 0 |
18440 |
#define HAVE_READLINE_4_2 0 |
10327 |
EOF |
18441 |
_ACEOF |
10328 |
|
18442 |
|
10329 |
fi |
18443 |
fi |
10330 |
|
18444 |
|
Lines 10334-10451
Link Here
|
10334 |
# These system don't have libm |
18448 |
# These system don't have libm |
10335 |
;; |
18449 |
;; |
10336 |
*-ncr-sysv4.3*) |
18450 |
*-ncr-sysv4.3*) |
10337 |
echo $ac_n "checking for _mwvalidcheckl in -lmw""... $ac_c" 1>&6 |
18451 |
echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5 |
10338 |
echo "configure:10339: checking for _mwvalidcheckl in -lmw" >&5 |
18452 |
echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6 |
10339 |
ac_lib_var=`echo mw'_'_mwvalidcheckl | sed 'y%./+-%__p_%'` |
18453 |
if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then |
10340 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18454 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10341 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10342 |
else |
18455 |
else |
10343 |
ac_save_LIBS="$LIBS" |
18456 |
ac_check_lib_save_LIBS=$LIBS |
10344 |
LIBS="-lmw $LIBS" |
18457 |
LIBS="-lmw $LIBS" |
10345 |
cat > conftest.$ac_ext <<EOF |
18458 |
cat >conftest.$ac_ext <<_ACEOF |
10346 |
#line 10347 "configure" |
18459 |
#line $LINENO "configure" |
10347 |
#include "confdefs.h" |
18460 |
#include "confdefs.h" |
|
|
18461 |
|
10348 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18462 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18463 |
#ifdef __cplusplus |
18464 |
extern "C" |
18465 |
#endif |
10349 |
/* We use char because int might match the return type of a gcc2 |
18466 |
/* We use char because int might match the return type of a gcc2 |
10350 |
builtin and then its argument prototype would still apply. */ |
18467 |
builtin and then its argument prototype would still apply. */ |
10351 |
char _mwvalidcheckl(); |
18468 |
char _mwvalidcheckl (); |
10352 |
|
18469 |
#ifdef F77_DUMMY_MAIN |
10353 |
int main() { |
18470 |
# ifdef __cplusplus |
10354 |
_mwvalidcheckl() |
18471 |
extern "C" |
10355 |
; return 0; } |
18472 |
# endif |
10356 |
EOF |
18473 |
int F77_DUMMY_MAIN() { return 1; } |
10357 |
if { (eval echo configure:10358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18474 |
#endif |
10358 |
rm -rf conftest* |
18475 |
int |
10359 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18476 |
main () |
10360 |
else |
18477 |
{ |
10361 |
echo "configure: failed program was:" >&5 |
18478 |
_mwvalidcheckl (); |
10362 |
cat conftest.$ac_ext >&5 |
18479 |
; |
10363 |
rm -rf conftest* |
18480 |
return 0; |
10364 |
eval "ac_cv_lib_$ac_lib_var=no" |
18481 |
} |
10365 |
fi |
18482 |
_ACEOF |
10366 |
rm -f conftest* |
18483 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10367 |
LIBS="$ac_save_LIBS" |
18484 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10368 |
|
18485 |
(eval $ac_link) 2>&5 |
10369 |
fi |
18486 |
ac_status=$? |
10370 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18487 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10371 |
echo "$ac_t""yes" 1>&6 |
18488 |
(exit $ac_status); } && |
|
|
18489 |
{ ac_try='test -s conftest$ac_exeext' |
18490 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18491 |
(eval $ac_try) 2>&5 |
18492 |
ac_status=$? |
18493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18494 |
(exit $ac_status); }; }; then |
18495 |
ac_cv_lib_mw__mwvalidcheckl=yes |
18496 |
else |
18497 |
echo "$as_me: failed program was:" >&5 |
18498 |
cat conftest.$ac_ext >&5 |
18499 |
ac_cv_lib_mw__mwvalidcheckl=no |
18500 |
fi |
18501 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18502 |
LIBS=$ac_check_lib_save_LIBS |
18503 |
fi |
18504 |
echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 |
18505 |
echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6 |
18506 |
if test $ac_cv_lib_mw__mwvalidcheckl = yes; then |
10372 |
LIBM="-lmw" |
18507 |
LIBM="-lmw" |
10373 |
else |
|
|
10374 |
echo "$ac_t""no" 1>&6 |
10375 |
fi |
18508 |
fi |
10376 |
|
18509 |
|
10377 |
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
18510 |
echo "$as_me:$LINENO: checking for main in -lm" >&5 |
10378 |
echo "configure:10379: checking for main in -lm" >&5 |
18511 |
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 |
10379 |
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
18512 |
if test "${ac_cv_lib_m_main+set}" = set; then |
10380 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18513 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10381 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10382 |
else |
18514 |
else |
10383 |
ac_save_LIBS="$LIBS" |
18515 |
ac_check_lib_save_LIBS=$LIBS |
10384 |
LIBS="-lm $LIBS" |
18516 |
LIBS="-lm $LIBS" |
10385 |
cat > conftest.$ac_ext <<EOF |
18517 |
cat >conftest.$ac_ext <<_ACEOF |
10386 |
#line 10387 "configure" |
18518 |
#line $LINENO "configure" |
10387 |
#include "confdefs.h" |
18519 |
#include "confdefs.h" |
10388 |
|
18520 |
|
10389 |
int main() { |
|
|
10390 |
main() |
10391 |
; return 0; } |
10392 |
EOF |
10393 |
if { (eval echo configure:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10394 |
rm -rf conftest* |
10395 |
eval "ac_cv_lib_$ac_lib_var=yes" |
10396 |
else |
10397 |
echo "configure: failed program was:" >&5 |
10398 |
cat conftest.$ac_ext >&5 |
10399 |
rm -rf conftest* |
10400 |
eval "ac_cv_lib_$ac_lib_var=no" |
10401 |
fi |
10402 |
rm -f conftest* |
10403 |
LIBS="$ac_save_LIBS" |
10404 |
|
18521 |
|
10405 |
fi |
18522 |
#ifdef F77_DUMMY_MAIN |
10406 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18523 |
# ifdef __cplusplus |
10407 |
echo "$ac_t""yes" 1>&6 |
18524 |
extern "C" |
|
|
18525 |
# endif |
18526 |
int F77_DUMMY_MAIN() { return 1; } |
18527 |
#endif |
18528 |
int |
18529 |
main () |
18530 |
{ |
18531 |
main (); |
18532 |
; |
18533 |
return 0; |
18534 |
} |
18535 |
_ACEOF |
18536 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18537 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18538 |
(eval $ac_link) 2>&5 |
18539 |
ac_status=$? |
18540 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18541 |
(exit $ac_status); } && |
18542 |
{ ac_try='test -s conftest$ac_exeext' |
18543 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18544 |
(eval $ac_try) 2>&5 |
18545 |
ac_status=$? |
18546 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18547 |
(exit $ac_status); }; }; then |
18548 |
ac_cv_lib_m_main=yes |
18549 |
else |
18550 |
echo "$as_me: failed program was:" >&5 |
18551 |
cat conftest.$ac_ext >&5 |
18552 |
ac_cv_lib_m_main=no |
18553 |
fi |
18554 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18555 |
LIBS=$ac_check_lib_save_LIBS |
18556 |
fi |
18557 |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 |
18558 |
echo "${ECHO_T}$ac_cv_lib_m_main" >&6 |
18559 |
if test $ac_cv_lib_m_main = yes; then |
10408 |
LIBM="$LIBM -lm" |
18560 |
LIBM="$LIBM -lm" |
10409 |
else |
|
|
10410 |
echo "$ac_t""no" 1>&6 |
10411 |
fi |
18561 |
fi |
10412 |
|
18562 |
|
10413 |
;; |
18563 |
;; |
10414 |
*) |
18564 |
*) |
10415 |
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
18565 |
echo "$as_me:$LINENO: checking for main in -lm" >&5 |
10416 |
echo "configure:10417: checking for main in -lm" >&5 |
18566 |
echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6 |
10417 |
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
18567 |
if test "${ac_cv_lib_m_main+set}" = set; then |
10418 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
18568 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10419 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10420 |
else |
18569 |
else |
10421 |
ac_save_LIBS="$LIBS" |
18570 |
ac_check_lib_save_LIBS=$LIBS |
10422 |
LIBS="-lm $LIBS" |
18571 |
LIBS="-lm $LIBS" |
10423 |
cat > conftest.$ac_ext <<EOF |
18572 |
cat >conftest.$ac_ext <<_ACEOF |
10424 |
#line 10425 "configure" |
18573 |
#line $LINENO "configure" |
10425 |
#include "confdefs.h" |
18574 |
#include "confdefs.h" |
10426 |
|
18575 |
|
10427 |
int main() { |
|
|
10428 |
main() |
10429 |
; return 0; } |
10430 |
EOF |
10431 |
if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
10432 |
rm -rf conftest* |
10433 |
eval "ac_cv_lib_$ac_lib_var=yes" |
10434 |
else |
10435 |
echo "configure: failed program was:" >&5 |
10436 |
cat conftest.$ac_ext >&5 |
10437 |
rm -rf conftest* |
10438 |
eval "ac_cv_lib_$ac_lib_var=no" |
10439 |
fi |
10440 |
rm -f conftest* |
10441 |
LIBS="$ac_save_LIBS" |
10442 |
|
18576 |
|
10443 |
fi |
18577 |
#ifdef F77_DUMMY_MAIN |
10444 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
18578 |
# ifdef __cplusplus |
10445 |
echo "$ac_t""yes" 1>&6 |
18579 |
extern "C" |
|
|
18580 |
# endif |
18581 |
int F77_DUMMY_MAIN() { return 1; } |
18582 |
#endif |
18583 |
int |
18584 |
main () |
18585 |
{ |
18586 |
main (); |
18587 |
; |
18588 |
return 0; |
18589 |
} |
18590 |
_ACEOF |
18591 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18592 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18593 |
(eval $ac_link) 2>&5 |
18594 |
ac_status=$? |
18595 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18596 |
(exit $ac_status); } && |
18597 |
{ ac_try='test -s conftest$ac_exeext' |
18598 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18599 |
(eval $ac_try) 2>&5 |
18600 |
ac_status=$? |
18601 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18602 |
(exit $ac_status); }; }; then |
18603 |
ac_cv_lib_m_main=yes |
18604 |
else |
18605 |
echo "$as_me: failed program was:" >&5 |
18606 |
cat conftest.$ac_ext >&5 |
18607 |
ac_cv_lib_m_main=no |
18608 |
fi |
18609 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
18610 |
LIBS=$ac_check_lib_save_LIBS |
18611 |
fi |
18612 |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 |
18613 |
echo "${ECHO_T}$ac_cv_lib_m_main" >&6 |
18614 |
if test $ac_cv_lib_m_main = yes; then |
10446 |
LIBM="-lm" |
18615 |
LIBM="-lm" |
10447 |
else |
|
|
10448 |
echo "$ac_t""no" 1>&6 |
10449 |
fi |
18616 |
fi |
10450 |
|
18617 |
|
10451 |
;; |
18618 |
;; |
Lines 10456-10474
Link Here
|
10456 |
case $HostOS_CPP in |
18623 |
case $HostOS_CPP in |
10457 |
cygwin32) ;; |
18624 |
cygwin32) ;; |
10458 |
mingw32) ;; |
18625 |
mingw32) ;; |
10459 |
*) # If we find X, set shell vars x_includes and x_libraries to the |
18626 |
*) echo "$as_me:$LINENO: checking for X" >&5 |
10460 |
# paths, otherwise set no_x=yes. |
18627 |
echo $ECHO_N "checking for X... $ECHO_C" >&6 |
10461 |
# Uses ac_ vars as temps to allow command line to override cache and checks. |
18628 |
|
10462 |
# --without-x overrides everything else, but does not touch the cache. |
|
|
10463 |
echo $ac_n "checking for X""... $ac_c" 1>&6 |
10464 |
echo "configure:10465: checking for X" >&5 |
10465 |
|
18629 |
|
10466 |
# Check whether --with-x or --without-x was given. |
18630 |
# Check whether --with-x or --without-x was given. |
10467 |
if test "${with_x+set}" = set; then |
18631 |
if test "${with_x+set}" = set; then |
10468 |
withval="$with_x" |
18632 |
withval="$with_x" |
10469 |
: |
|
|
10470 |
fi |
10471 |
|
18633 |
|
|
|
18634 |
fi; |
10472 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
18635 |
# $have_x is `yes', `no', `disabled', or empty when we do not yet know. |
10473 |
if test "x$with_x" = xno; then |
18636 |
if test "x$with_x" = xno; then |
10474 |
# The user explicitly disabled X. |
18637 |
# The user explicitly disabled X. |
Lines 10478-10670
Link Here
|
10478 |
# Both variables are already set. |
18641 |
# Both variables are already set. |
10479 |
have_x=yes |
18642 |
have_x=yes |
10480 |
else |
18643 |
else |
10481 |
if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then |
18644 |
if test "${ac_cv_have_x+set}" = set; then |
10482 |
echo $ac_n "(cached) $ac_c" 1>&6 |
18645 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10483 |
else |
18646 |
else |
10484 |
# One or both of the vars are not set, and there is no cached value. |
18647 |
# One or both of the vars are not set, and there is no cached value. |
10485 |
ac_x_includes=NO ac_x_libraries=NO |
18648 |
ac_x_includes=no ac_x_libraries=no |
10486 |
rm -fr conftestdir |
18649 |
rm -fr conftest.dir |
10487 |
if mkdir conftestdir; then |
18650 |
if mkdir conftest.dir; then |
10488 |
cd conftestdir |
18651 |
cd conftest.dir |
10489 |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
18652 |
# Make sure to not put "make" in the Imakefile rules, since we grep it out. |
10490 |
cat > Imakefile <<'EOF' |
18653 |
cat >Imakefile <<'_ACEOF' |
10491 |
acfindx: |
18654 |
acfindx: |
10492 |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
18655 |
@echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"' |
10493 |
EOF |
18656 |
_ACEOF |
10494 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
18657 |
if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then |
10495 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
18658 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
10496 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
18659 |
eval `${MAKE-make} acfindx 2>/dev/null | grep -v make` |
10497 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
18660 |
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. |
10498 |
for ac_extension in a so sl; do |
18661 |
for ac_extension in a so sl; do |
10499 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
18662 |
if test ! -f $ac_im_usrlibdir/libX11.$ac_extension && |
10500 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
18663 |
test -f $ac_im_libdir/libX11.$ac_extension; then |
10501 |
ac_im_usrlibdir=$ac_im_libdir; break |
18664 |
ac_im_usrlibdir=$ac_im_libdir; break |
10502 |
fi |
18665 |
fi |
10503 |
done |
18666 |
done |
10504 |
# Screen out bogus values from the imake configuration. They are |
18667 |
# Screen out bogus values from the imake configuration. They are |
10505 |
# bogus both because they are the default anyway, and because |
18668 |
# bogus both because they are the default anyway, and because |
10506 |
# using them would break gcc on systems where it needs fixed includes. |
18669 |
# using them would break gcc on systems where it needs fixed includes. |
10507 |
case "$ac_im_incroot" in |
18670 |
case $ac_im_incroot in |
10508 |
/usr/include) ;; |
18671 |
/usr/include) ;; |
10509 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes="$ac_im_incroot" ;; |
18672 |
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; |
10510 |
esac |
18673 |
esac |
10511 |
case "$ac_im_usrlibdir" in |
18674 |
case $ac_im_usrlibdir in |
10512 |
/usr/lib | /lib) ;; |
18675 |
/usr/lib | /lib) ;; |
10513 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries="$ac_im_usrlibdir" ;; |
18676 |
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; |
10514 |
esac |
18677 |
esac |
10515 |
fi |
18678 |
fi |
10516 |
cd .. |
18679 |
cd .. |
10517 |
rm -fr conftestdir |
18680 |
rm -fr conftest.dir |
10518 |
fi |
18681 |
fi |
10519 |
|
18682 |
|
10520 |
if test "$ac_x_includes" = NO; then |
18683 |
# Standard set of common directories for X headers. |
10521 |
# Guess where to find include files, by looking for this one X11 .h file. |
18684 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
10522 |
test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
18685 |
ac_x_header_dirs=' |
|
|
18686 |
/usr/X11/include |
18687 |
/usr/X11R6/include |
18688 |
/usr/X11R5/include |
18689 |
/usr/X11R4/include |
18690 |
|
18691 |
/usr/include/X11 |
18692 |
/usr/include/X11R6 |
18693 |
/usr/include/X11R5 |
18694 |
/usr/include/X11R4 |
18695 |
|
18696 |
/usr/local/X11/include |
18697 |
/usr/local/X11R6/include |
18698 |
/usr/local/X11R5/include |
18699 |
/usr/local/X11R4/include |
18700 |
|
18701 |
/usr/local/include/X11 |
18702 |
/usr/local/include/X11R6 |
18703 |
/usr/local/include/X11R5 |
18704 |
/usr/local/include/X11R4 |
18705 |
|
18706 |
/usr/X386/include |
18707 |
/usr/x386/include |
18708 |
/usr/XFree86/include/X11 |
18709 |
|
18710 |
/usr/include |
18711 |
/usr/local/include |
18712 |
/usr/unsupported/include |
18713 |
/usr/athena/include |
18714 |
/usr/local/x11r5/include |
18715 |
/usr/lpp/Xamples/include |
18716 |
|
18717 |
/usr/openwin/include |
18718 |
/usr/openwin/share/include' |
10523 |
|
18719 |
|
|
|
18720 |
if test "$ac_x_includes" = no; then |
18721 |
# Guess where to find include files, by looking for Intrinsic.h. |
10524 |
# First, try using that file with no special directory specified. |
18722 |
# First, try using that file with no special directory specified. |
10525 |
cat > conftest.$ac_ext <<EOF |
18723 |
cat >conftest.$ac_ext <<_ACEOF |
10526 |
#line 10527 "configure" |
18724 |
#line $LINENO "configure" |
10527 |
#include "confdefs.h" |
18725 |
#include "confdefs.h" |
10528 |
#include <$x_direct_test_include> |
18726 |
#include <X11/Intrinsic.h> |
10529 |
EOF |
18727 |
_ACEOF |
10530 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
18728 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10531 |
{ (eval echo configure:10532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
18729 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
10532 |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
18730 |
ac_status=$? |
10533 |
if test -z "$ac_err"; then |
18731 |
egrep -v '^ *\+' conftest.er1 >conftest.err |
10534 |
rm -rf conftest* |
18732 |
rm -f conftest.er1 |
|
|
18733 |
cat conftest.err >&5 |
18734 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18735 |
(exit $ac_status); } >/dev/null; then |
18736 |
if test -s conftest.err; then |
18737 |
ac_cpp_err=$ac_c_preproc_warn_flag |
18738 |
else |
18739 |
ac_cpp_err= |
18740 |
fi |
18741 |
else |
18742 |
ac_cpp_err=yes |
18743 |
fi |
18744 |
if test -z "$ac_cpp_err"; then |
10535 |
# We can compile using X headers with no special include directory. |
18745 |
# We can compile using X headers with no special include directory. |
10536 |
ac_x_includes= |
18746 |
ac_x_includes= |
10537 |
else |
18747 |
else |
10538 |
echo "$ac_err" >&5 |
18748 |
echo "$as_me: failed program was:" >&5 |
10539 |
echo "configure: failed program was:" >&5 |
|
|
10540 |
cat conftest.$ac_ext >&5 |
18749 |
cat conftest.$ac_ext >&5 |
10541 |
rm -rf conftest* |
18750 |
for ac_dir in $ac_x_header_dirs; do |
10542 |
# Look for the header file in a standard set of common directories. |
18751 |
if test -r "$ac_dir/X11/Intrinsic.h"; then |
10543 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
18752 |
ac_x_includes=$ac_dir |
10544 |
for ac_dir in \ |
18753 |
break |
10545 |
/usr/X11/include \ |
18754 |
fi |
10546 |
/usr/X11R6/include \ |
18755 |
done |
10547 |
/usr/X11R5/include \ |
|
|
10548 |
/usr/X11R4/include \ |
10549 |
\ |
10550 |
/usr/include/X11 \ |
10551 |
/usr/include/X11R6 \ |
10552 |
/usr/include/X11R5 \ |
10553 |
/usr/include/X11R4 \ |
10554 |
\ |
10555 |
/usr/local/X11/include \ |
10556 |
/usr/local/X11R6/include \ |
10557 |
/usr/local/X11R5/include \ |
10558 |
/usr/local/X11R4/include \ |
10559 |
\ |
10560 |
/usr/local/include/X11 \ |
10561 |
/usr/local/include/X11R6 \ |
10562 |
/usr/local/include/X11R5 \ |
10563 |
/usr/local/include/X11R4 \ |
10564 |
\ |
10565 |
/usr/X386/include \ |
10566 |
/usr/x386/include \ |
10567 |
/usr/XFree86/include/X11 \ |
10568 |
\ |
10569 |
/usr/include \ |
10570 |
/usr/local/include \ |
10571 |
/usr/unsupported/include \ |
10572 |
/usr/athena/include \ |
10573 |
/usr/local/x11r5/include \ |
10574 |
/usr/lpp/Xamples/include \ |
10575 |
\ |
10576 |
/usr/openwin/include \ |
10577 |
/usr/openwin/share/include \ |
10578 |
; \ |
10579 |
do |
10580 |
if test -r "$ac_dir/$x_direct_test_include"; then |
10581 |
ac_x_includes=$ac_dir |
10582 |
break |
10583 |
fi |
10584 |
done |
10585 |
fi |
18756 |
fi |
10586 |
rm -f conftest* |
18757 |
rm -f conftest.err conftest.$ac_ext |
10587 |
fi # $ac_x_includes = NO |
18758 |
fi # $ac_x_includes = no |
10588 |
|
18759 |
|
10589 |
if test "$ac_x_libraries" = NO; then |
18760 |
if test "$ac_x_libraries" = no; then |
10590 |
# Check for the libraries. |
18761 |
# Check for the libraries. |
10591 |
|
|
|
10592 |
test -z "$x_direct_test_library" && x_direct_test_library=Xt |
10593 |
test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc |
10594 |
|
10595 |
# See if we find them without any special options. |
18762 |
# See if we find them without any special options. |
10596 |
# Don't add to $LIBS permanently. |
18763 |
# Don't add to $LIBS permanently. |
10597 |
ac_save_LIBS="$LIBS" |
18764 |
ac_save_LIBS=$LIBS |
10598 |
LIBS="-l$x_direct_test_library $LIBS" |
18765 |
LIBS="-lXt $LIBS" |
10599 |
cat > conftest.$ac_ext <<EOF |
18766 |
cat >conftest.$ac_ext <<_ACEOF |
10600 |
#line 10601 "configure" |
18767 |
#line $LINENO "configure" |
10601 |
#include "confdefs.h" |
18768 |
#include "confdefs.h" |
10602 |
|
18769 |
#include <X11/Intrinsic.h> |
10603 |
int main() { |
18770 |
#ifdef F77_DUMMY_MAIN |
10604 |
${x_direct_test_function}() |
18771 |
# ifdef __cplusplus |
10605 |
; return 0; } |
18772 |
extern "C" |
10606 |
EOF |
18773 |
# endif |
10607 |
if { (eval echo configure:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18774 |
int F77_DUMMY_MAIN() { return 1; } |
10608 |
rm -rf conftest* |
18775 |
#endif |
10609 |
LIBS="$ac_save_LIBS" |
18776 |
int |
|
|
18777 |
main () |
18778 |
{ |
18779 |
XtMalloc (0) |
18780 |
; |
18781 |
return 0; |
18782 |
} |
18783 |
_ACEOF |
18784 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18785 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18786 |
(eval $ac_link) 2>&5 |
18787 |
ac_status=$? |
18788 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18789 |
(exit $ac_status); } && |
18790 |
{ ac_try='test -s conftest$ac_exeext' |
18791 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18792 |
(eval $ac_try) 2>&5 |
18793 |
ac_status=$? |
18794 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18795 |
(exit $ac_status); }; }; then |
18796 |
LIBS=$ac_save_LIBS |
10610 |
# We can link X programs with no special library path. |
18797 |
# We can link X programs with no special library path. |
10611 |
ac_x_libraries= |
18798 |
ac_x_libraries= |
10612 |
else |
18799 |
else |
10613 |
echo "configure: failed program was:" >&5 |
18800 |
echo "$as_me: failed program was:" >&5 |
10614 |
cat conftest.$ac_ext >&5 |
18801 |
cat conftest.$ac_ext >&5 |
10615 |
rm -rf conftest* |
18802 |
LIBS=$ac_save_LIBS |
10616 |
LIBS="$ac_save_LIBS" |
18803 |
for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` |
10617 |
# First see if replacing the include by lib works. |
|
|
10618 |
# Check X11 before X11Rn because it is often a symlink to the current release. |
10619 |
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib/` \ |
10620 |
/usr/X11/lib \ |
10621 |
/usr/X11R6/lib \ |
10622 |
/usr/X11R5/lib \ |
10623 |
/usr/X11R4/lib \ |
10624 |
\ |
10625 |
/usr/lib/X11 \ |
10626 |
/usr/lib/X11R6 \ |
10627 |
/usr/lib/X11R5 \ |
10628 |
/usr/lib/X11R4 \ |
10629 |
\ |
10630 |
/usr/local/X11/lib \ |
10631 |
/usr/local/X11R6/lib \ |
10632 |
/usr/local/X11R5/lib \ |
10633 |
/usr/local/X11R4/lib \ |
10634 |
\ |
10635 |
/usr/local/lib/X11 \ |
10636 |
/usr/local/lib/X11R6 \ |
10637 |
/usr/local/lib/X11R5 \ |
10638 |
/usr/local/lib/X11R4 \ |
10639 |
\ |
10640 |
/usr/X386/lib \ |
10641 |
/usr/x386/lib \ |
10642 |
/usr/XFree86/lib/X11 \ |
10643 |
\ |
10644 |
/usr/lib \ |
10645 |
/usr/local/lib \ |
10646 |
/usr/unsupported/lib \ |
10647 |
/usr/athena/lib \ |
10648 |
/usr/local/x11r5/lib \ |
10649 |
/usr/lpp/Xamples/lib \ |
10650 |
/lib/usr/lib/X11 \ |
10651 |
\ |
10652 |
/usr/openwin/lib \ |
10653 |
/usr/openwin/share/lib \ |
10654 |
; \ |
10655 |
do |
18804 |
do |
|
|
18805 |
# Don't even attempt the hair of trying to link an X program! |
10656 |
for ac_extension in a so sl; do |
18806 |
for ac_extension in a so sl; do |
10657 |
if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then |
18807 |
if test -r $ac_dir/libXt.$ac_extension; then |
10658 |
ac_x_libraries=$ac_dir |
18808 |
ac_x_libraries=$ac_dir |
10659 |
break 2 |
18809 |
break 2 |
10660 |
fi |
18810 |
fi |
10661 |
done |
18811 |
done |
10662 |
done |
18812 |
done |
10663 |
fi |
18813 |
fi |
10664 |
rm -f conftest* |
18814 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10665 |
fi # $ac_x_libraries = NO |
18815 |
fi # $ac_x_libraries = no |
10666 |
|
18816 |
|
10667 |
if test "$ac_x_includes" = NO || test "$ac_x_libraries" = NO; then |
18817 |
if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then |
10668 |
# Didn't find X anywhere. Cache the known absence of X. |
18818 |
# Didn't find X anywhere. Cache the known absence of X. |
10669 |
ac_cv_have_x="have_x=no" |
18819 |
ac_cv_have_x="have_x=no" |
10670 |
else |
18820 |
else |
Lines 10673-10684
Link Here
|
10673 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
18823 |
ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries" |
10674 |
fi |
18824 |
fi |
10675 |
fi |
18825 |
fi |
|
|
18826 |
|
10676 |
fi |
18827 |
fi |
10677 |
eval "$ac_cv_have_x" |
18828 |
eval "$ac_cv_have_x" |
10678 |
fi # $with_x != no |
18829 |
fi # $with_x != no |
10679 |
|
18830 |
|
10680 |
if test "$have_x" != yes; then |
18831 |
if test "$have_x" != yes; then |
10681 |
echo "$ac_t""$have_x" 1>&6 |
18832 |
echo "$as_me:$LINENO: result: $have_x" >&5 |
|
|
18833 |
echo "${ECHO_T}$have_x" >&6 |
10682 |
no_x=yes |
18834 |
no_x=yes |
10683 |
else |
18835 |
else |
10684 |
# If each of the values was on the command line, it overrides each guess. |
18836 |
# If each of the values was on the command line, it overrides each guess. |
Lines 10687-10700
Link Here
|
10687 |
# Update the cache value to reflect the command line values. |
18839 |
# Update the cache value to reflect the command line values. |
10688 |
ac_cv_have_x="have_x=yes \ |
18840 |
ac_cv_have_x="have_x=yes \ |
10689 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
18841 |
ac_x_includes=$x_includes ac_x_libraries=$x_libraries" |
10690 |
echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6 |
18842 |
echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 |
|
|
18843 |
echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 |
10691 |
fi |
18844 |
fi |
10692 |
|
18845 |
|
10693 |
if test "$no_x" = yes; then |
18846 |
if test "$no_x" = yes; then |
10694 |
# Not all programs may use this symbol, but it does not hurt to define it. |
18847 |
# Not all programs may use this symbol, but it does not hurt to define it. |
10695 |
cat >> confdefs.h <<\EOF |
18848 |
|
|
|
18849 |
cat >>confdefs.h <<\_ACEOF |
10696 |
#define X_DISPLAY_MISSING 1 |
18850 |
#define X_DISPLAY_MISSING 1 |
10697 |
EOF |
18851 |
_ACEOF |
10698 |
|
18852 |
|
10699 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
18853 |
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= |
10700 |
else |
18854 |
else |
Lines 10707-10766
Link Here
|
10707 |
X_LIBS="$X_LIBS -L$x_libraries" |
18861 |
X_LIBS="$X_LIBS -L$x_libraries" |
10708 |
# For Solaris; some versions of Sun CC require a space after -R and |
18862 |
# For Solaris; some versions of Sun CC require a space after -R and |
10709 |
# others require no space. Words are not sufficient . . . . |
18863 |
# others require no space. Words are not sufficient . . . . |
10710 |
case "`(uname -sr) 2>/dev/null`" in |
18864 |
case `(uname -sr) 2>/dev/null` in |
10711 |
"SunOS 5"*) |
18865 |
"SunOS 5"*) |
10712 |
echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
18866 |
echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 |
10713 |
echo "configure:10714: checking whether -R must be followed by a space" >&5 |
18867 |
echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6 |
10714 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
18868 |
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" |
10715 |
cat > conftest.$ac_ext <<EOF |
18869 |
cat >conftest.$ac_ext <<_ACEOF |
10716 |
#line 10717 "configure" |
18870 |
#line $LINENO "configure" |
10717 |
#include "confdefs.h" |
18871 |
#include "confdefs.h" |
10718 |
|
18872 |
|
10719 |
int main() { |
18873 |
#ifdef F77_DUMMY_MAIN |
|
|
18874 |
# ifdef __cplusplus |
18875 |
extern "C" |
18876 |
# endif |
18877 |
int F77_DUMMY_MAIN() { return 1; } |
18878 |
#endif |
18879 |
int |
18880 |
main () |
18881 |
{ |
10720 |
|
18882 |
|
10721 |
; return 0; } |
18883 |
; |
10722 |
EOF |
18884 |
return 0; |
10723 |
if { (eval echo configure:10724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18885 |
} |
10724 |
rm -rf conftest* |
18886 |
_ACEOF |
|
|
18887 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18888 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18889 |
(eval $ac_link) 2>&5 |
18890 |
ac_status=$? |
18891 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18892 |
(exit $ac_status); } && |
18893 |
{ ac_try='test -s conftest$ac_exeext' |
18894 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18895 |
(eval $ac_try) 2>&5 |
18896 |
ac_status=$? |
18897 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18898 |
(exit $ac_status); }; }; then |
10725 |
ac_R_nospace=yes |
18899 |
ac_R_nospace=yes |
10726 |
else |
18900 |
else |
10727 |
echo "configure: failed program was:" >&5 |
18901 |
echo "$as_me: failed program was:" >&5 |
10728 |
cat conftest.$ac_ext >&5 |
18902 |
cat conftest.$ac_ext >&5 |
10729 |
rm -rf conftest* |
18903 |
ac_R_nospace=no |
10730 |
ac_R_nospace=no |
|
|
10731 |
fi |
18904 |
fi |
10732 |
rm -f conftest* |
18905 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10733 |
if test $ac_R_nospace = yes; then |
18906 |
if test $ac_R_nospace = yes; then |
10734 |
echo "$ac_t""no" 1>&6 |
18907 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
18908 |
echo "${ECHO_T}no" >&6 |
10735 |
X_LIBS="$X_LIBS -R$x_libraries" |
18909 |
X_LIBS="$X_LIBS -R$x_libraries" |
10736 |
else |
18910 |
else |
10737 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
18911 |
LIBS="$ac_xsave_LIBS -R $x_libraries" |
10738 |
cat > conftest.$ac_ext <<EOF |
18912 |
cat >conftest.$ac_ext <<_ACEOF |
10739 |
#line 10740 "configure" |
18913 |
#line $LINENO "configure" |
10740 |
#include "confdefs.h" |
18914 |
#include "confdefs.h" |
10741 |
|
18915 |
|
10742 |
int main() { |
18916 |
#ifdef F77_DUMMY_MAIN |
|
|
18917 |
# ifdef __cplusplus |
18918 |
extern "C" |
18919 |
# endif |
18920 |
int F77_DUMMY_MAIN() { return 1; } |
18921 |
#endif |
18922 |
int |
18923 |
main () |
18924 |
{ |
10743 |
|
18925 |
|
10744 |
; return 0; } |
18926 |
; |
10745 |
EOF |
18927 |
return 0; |
10746 |
if { (eval echo configure:10747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18928 |
} |
10747 |
rm -rf conftest* |
18929 |
_ACEOF |
|
|
18930 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18931 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
18932 |
(eval $ac_link) 2>&5 |
18933 |
ac_status=$? |
18934 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18935 |
(exit $ac_status); } && |
18936 |
{ ac_try='test -s conftest$ac_exeext' |
18937 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18938 |
(eval $ac_try) 2>&5 |
18939 |
ac_status=$? |
18940 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18941 |
(exit $ac_status); }; }; then |
10748 |
ac_R_space=yes |
18942 |
ac_R_space=yes |
10749 |
else |
18943 |
else |
10750 |
echo "configure: failed program was:" >&5 |
18944 |
echo "$as_me: failed program was:" >&5 |
10751 |
cat conftest.$ac_ext >&5 |
18945 |
cat conftest.$ac_ext >&5 |
10752 |
rm -rf conftest* |
18946 |
ac_R_space=no |
10753 |
ac_R_space=no |
|
|
10754 |
fi |
18947 |
fi |
10755 |
rm -f conftest* |
18948 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10756 |
if test $ac_R_space = yes; then |
18949 |
if test $ac_R_space = yes; then |
10757 |
echo "$ac_t""yes" 1>&6 |
18950 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
18951 |
echo "${ECHO_T}yes" >&6 |
10758 |
X_LIBS="$X_LIBS -R $x_libraries" |
18952 |
X_LIBS="$X_LIBS -R $x_libraries" |
10759 |
else |
18953 |
else |
10760 |
echo "$ac_t""neither works" 1>&6 |
18954 |
echo "$as_me:$LINENO: result: neither works" >&5 |
|
|
18955 |
echo "${ECHO_T}neither works" >&6 |
10761 |
fi |
18956 |
fi |
10762 |
fi |
18957 |
fi |
10763 |
LIBS="$ac_xsave_LIBS" |
18958 |
LIBS=$ac_xsave_LIBS |
10764 |
esac |
18959 |
esac |
10765 |
fi |
18960 |
fi |
10766 |
|
18961 |
|
Lines 10771-11302
Link Here
|
10771 |
if test "$ISC" = yes; then |
18966 |
if test "$ISC" = yes; then |
10772 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
18967 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" |
10773 |
else |
18968 |
else |
10774 |
# Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
18969 |
# Martyn Johnson says this is needed for Ultrix, if the X |
10775 |
# libraries were built with DECnet support. And karl@cs.umb.edu says |
18970 |
# libraries were built with DECnet support. And Karl Berry says |
10776 |
# the Alpha needs dnet_stub (dnet does not exist). |
18971 |
# the Alpha needs dnet_stub (dnet does not exist). |
10777 |
echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
18972 |
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" |
10778 |
echo "configure:10779: checking for dnet_ntoa in -ldnet" >&5 |
18973 |
cat >conftest.$ac_ext <<_ACEOF |
10779 |
ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
18974 |
#line $LINENO "configure" |
10780 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
|
|
10781 |
echo $ac_n "(cached) $ac_c" 1>&6 |
10782 |
else |
10783 |
ac_save_LIBS="$LIBS" |
10784 |
LIBS="-ldnet $LIBS" |
10785 |
cat > conftest.$ac_ext <<EOF |
10786 |
#line 10787 "configure" |
10787 |
#include "confdefs.h" |
18975 |
#include "confdefs.h" |
|
|
18976 |
|
10788 |
/* Override any gcc2 internal prototype to avoid an error. */ |
18977 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
18978 |
#ifdef __cplusplus |
18979 |
extern "C" |
18980 |
#endif |
10789 |
/* We use char because int might match the return type of a gcc2 |
18981 |
/* We use char because int might match the return type of a gcc2 |
10790 |
builtin and then its argument prototype would still apply. */ |
18982 |
builtin and then its argument prototype would still apply. */ |
10791 |
char dnet_ntoa(); |
18983 |
char XOpenDisplay (); |
10792 |
|
18984 |
#ifdef F77_DUMMY_MAIN |
10793 |
int main() { |
18985 |
# ifdef __cplusplus |
10794 |
dnet_ntoa() |
18986 |
extern "C" |
10795 |
; return 0; } |
18987 |
# endif |
10796 |
EOF |
18988 |
int F77_DUMMY_MAIN() { return 1; } |
10797 |
if { (eval echo configure:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
18989 |
#endif |
10798 |
rm -rf conftest* |
18990 |
int |
10799 |
eval "ac_cv_lib_$ac_lib_var=yes" |
18991 |
main () |
|
|
18992 |
{ |
18993 |
XOpenDisplay (); |
18994 |
; |
18995 |
return 0; |
18996 |
} |
18997 |
_ACEOF |
18998 |
rm -f conftest.$ac_objext conftest$ac_exeext |
18999 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19000 |
(eval $ac_link) 2>&5 |
19001 |
ac_status=$? |
19002 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19003 |
(exit $ac_status); } && |
19004 |
{ ac_try='test -s conftest$ac_exeext' |
19005 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19006 |
(eval $ac_try) 2>&5 |
19007 |
ac_status=$? |
19008 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19009 |
(exit $ac_status); }; }; then |
19010 |
: |
10800 |
else |
19011 |
else |
10801 |
echo "configure: failed program was:" >&5 |
19012 |
echo "$as_me: failed program was:" >&5 |
10802 |
cat conftest.$ac_ext >&5 |
19013 |
cat conftest.$ac_ext >&5 |
10803 |
rm -rf conftest* |
19014 |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 |
10804 |
eval "ac_cv_lib_$ac_lib_var=no" |
19015 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6 |
10805 |
fi |
19016 |
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then |
10806 |
rm -f conftest* |
19017 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10807 |
LIBS="$ac_save_LIBS" |
19018 |
else |
|
|
19019 |
ac_check_lib_save_LIBS=$LIBS |
19020 |
LIBS="-ldnet $LIBS" |
19021 |
cat >conftest.$ac_ext <<_ACEOF |
19022 |
#line $LINENO "configure" |
19023 |
#include "confdefs.h" |
10808 |
|
19024 |
|
10809 |
fi |
19025 |
/* Override any gcc2 internal prototype to avoid an error. */ |
10810 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19026 |
#ifdef __cplusplus |
10811 |
echo "$ac_t""yes" 1>&6 |
19027 |
extern "C" |
|
|
19028 |
#endif |
19029 |
/* We use char because int might match the return type of a gcc2 |
19030 |
builtin and then its argument prototype would still apply. */ |
19031 |
char dnet_ntoa (); |
19032 |
#ifdef F77_DUMMY_MAIN |
19033 |
# ifdef __cplusplus |
19034 |
extern "C" |
19035 |
# endif |
19036 |
int F77_DUMMY_MAIN() { return 1; } |
19037 |
#endif |
19038 |
int |
19039 |
main () |
19040 |
{ |
19041 |
dnet_ntoa (); |
19042 |
; |
19043 |
return 0; |
19044 |
} |
19045 |
_ACEOF |
19046 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19047 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19048 |
(eval $ac_link) 2>&5 |
19049 |
ac_status=$? |
19050 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19051 |
(exit $ac_status); } && |
19052 |
{ ac_try='test -s conftest$ac_exeext' |
19053 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19054 |
(eval $ac_try) 2>&5 |
19055 |
ac_status=$? |
19056 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19057 |
(exit $ac_status); }; }; then |
19058 |
ac_cv_lib_dnet_dnet_ntoa=yes |
19059 |
else |
19060 |
echo "$as_me: failed program was:" >&5 |
19061 |
cat conftest.$ac_ext >&5 |
19062 |
ac_cv_lib_dnet_dnet_ntoa=no |
19063 |
fi |
19064 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19065 |
LIBS=$ac_check_lib_save_LIBS |
19066 |
fi |
19067 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 |
19068 |
echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6 |
19069 |
if test $ac_cv_lib_dnet_dnet_ntoa = yes; then |
10812 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
19070 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" |
10813 |
else |
|
|
10814 |
echo "$ac_t""no" 1>&6 |
10815 |
fi |
19071 |
fi |
10816 |
|
19072 |
|
10817 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
19073 |
if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
10818 |
echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
19074 |
echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 |
10819 |
echo "configure:10820: checking for dnet_ntoa in -ldnet_stub" >&5 |
19075 |
echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6 |
10820 |
ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
19076 |
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then |
10821 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19077 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10822 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10823 |
else |
19078 |
else |
10824 |
ac_save_LIBS="$LIBS" |
19079 |
ac_check_lib_save_LIBS=$LIBS |
10825 |
LIBS="-ldnet_stub $LIBS" |
19080 |
LIBS="-ldnet_stub $LIBS" |
10826 |
cat > conftest.$ac_ext <<EOF |
19081 |
cat >conftest.$ac_ext <<_ACEOF |
10827 |
#line 10828 "configure" |
19082 |
#line $LINENO "configure" |
10828 |
#include "confdefs.h" |
19083 |
#include "confdefs.h" |
|
|
19084 |
|
10829 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19085 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19086 |
#ifdef __cplusplus |
19087 |
extern "C" |
19088 |
#endif |
10830 |
/* We use char because int might match the return type of a gcc2 |
19089 |
/* We use char because int might match the return type of a gcc2 |
10831 |
builtin and then its argument prototype would still apply. */ |
19090 |
builtin and then its argument prototype would still apply. */ |
10832 |
char dnet_ntoa(); |
19091 |
char dnet_ntoa (); |
10833 |
|
19092 |
#ifdef F77_DUMMY_MAIN |
10834 |
int main() { |
19093 |
# ifdef __cplusplus |
10835 |
dnet_ntoa() |
19094 |
extern "C" |
10836 |
; return 0; } |
19095 |
# endif |
10837 |
EOF |
19096 |
int F77_DUMMY_MAIN() { return 1; } |
10838 |
if { (eval echo configure:10839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19097 |
#endif |
10839 |
rm -rf conftest* |
19098 |
int |
10840 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19099 |
main () |
10841 |
else |
19100 |
{ |
10842 |
echo "configure: failed program was:" >&5 |
19101 |
dnet_ntoa (); |
10843 |
cat conftest.$ac_ext >&5 |
19102 |
; |
10844 |
rm -rf conftest* |
19103 |
return 0; |
10845 |
eval "ac_cv_lib_$ac_lib_var=no" |
19104 |
} |
10846 |
fi |
19105 |
_ACEOF |
10847 |
rm -f conftest* |
19106 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10848 |
LIBS="$ac_save_LIBS" |
19107 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10849 |
|
19108 |
(eval $ac_link) 2>&5 |
10850 |
fi |
19109 |
ac_status=$? |
10851 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19110 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10852 |
echo "$ac_t""yes" 1>&6 |
19111 |
(exit $ac_status); } && |
|
|
19112 |
{ ac_try='test -s conftest$ac_exeext' |
19113 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19114 |
(eval $ac_try) 2>&5 |
19115 |
ac_status=$? |
19116 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19117 |
(exit $ac_status); }; }; then |
19118 |
ac_cv_lib_dnet_stub_dnet_ntoa=yes |
19119 |
else |
19120 |
echo "$as_me: failed program was:" >&5 |
19121 |
cat conftest.$ac_ext >&5 |
19122 |
ac_cv_lib_dnet_stub_dnet_ntoa=no |
19123 |
fi |
19124 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19125 |
LIBS=$ac_check_lib_save_LIBS |
19126 |
fi |
19127 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 |
19128 |
echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6 |
19129 |
if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then |
10853 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
19130 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" |
10854 |
else |
|
|
10855 |
echo "$ac_t""no" 1>&6 |
10856 |
fi |
19131 |
fi |
10857 |
|
19132 |
|
10858 |
fi |
19133 |
fi |
|
|
19134 |
fi |
19135 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19136 |
LIBS="$ac_xsave_LIBS" |
10859 |
|
19137 |
|
10860 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
19138 |
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, |
10861 |
# to get the SysV transport functions. |
19139 |
# to get the SysV transport functions. |
10862 |
# chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
19140 |
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) |
10863 |
# needs -lnsl. |
19141 |
# needs -lnsl. |
10864 |
# The nsl library prevents programs from opening the X display |
19142 |
# The nsl library prevents programs from opening the X display |
10865 |
# on Irix 5.2, according to dickey@clark.net. |
19143 |
# on Irix 5.2, according to T.E. Dickey. |
10866 |
echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
19144 |
# The functions gethostbyname, getservbyname, and inet_addr are |
10867 |
echo "configure:10868: checking for gethostbyname" >&5 |
19145 |
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. |
10868 |
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
19146 |
echo "$as_me:$LINENO: checking for gethostbyname" >&5 |
10869 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19147 |
echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6 |
|
|
19148 |
if test "${ac_cv_func_gethostbyname+set}" = set; then |
19149 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10870 |
else |
19150 |
else |
10871 |
cat > conftest.$ac_ext <<EOF |
19151 |
cat >conftest.$ac_ext <<_ACEOF |
10872 |
#line 10873 "configure" |
19152 |
#line $LINENO "configure" |
10873 |
#include "confdefs.h" |
19153 |
#include "confdefs.h" |
10874 |
/* System header to define __stub macros and hopefully few prototypes, |
19154 |
/* System header to define __stub macros and hopefully few prototypes, |
10875 |
which can conflict with char gethostbyname(); below. */ |
19155 |
which can conflict with char gethostbyname (); below. */ |
10876 |
#include <assert.h> |
19156 |
#include <assert.h> |
10877 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19157 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19158 |
#ifdef __cplusplus |
19159 |
extern "C" |
19160 |
#endif |
10878 |
/* We use char because int might match the return type of a gcc2 |
19161 |
/* We use char because int might match the return type of a gcc2 |
10879 |
builtin and then its argument prototype would still apply. */ |
19162 |
builtin and then its argument prototype would still apply. */ |
10880 |
char gethostbyname(); |
19163 |
char gethostbyname (); |
10881 |
|
19164 |
char (*f) (); |
10882 |
int main() { |
19165 |
|
10883 |
|
19166 |
#ifdef F77_DUMMY_MAIN |
|
|
19167 |
# ifdef __cplusplus |
19168 |
extern "C" |
19169 |
# endif |
19170 |
int F77_DUMMY_MAIN() { return 1; } |
19171 |
#endif |
19172 |
int |
19173 |
main () |
19174 |
{ |
10884 |
/* The GNU C library defines this for functions which it implements |
19175 |
/* The GNU C library defines this for functions which it implements |
10885 |
to always fail with ENOSYS. Some functions are actually named |
19176 |
to always fail with ENOSYS. Some functions are actually named |
10886 |
something starting with __ and the normal name is an alias. */ |
19177 |
something starting with __ and the normal name is an alias. */ |
10887 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
19178 |
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) |
10888 |
choke me |
19179 |
choke me |
10889 |
#else |
19180 |
#else |
10890 |
gethostbyname(); |
19181 |
f = gethostbyname; |
10891 |
#endif |
19182 |
#endif |
10892 |
|
19183 |
|
10893 |
; return 0; } |
19184 |
; |
10894 |
EOF |
19185 |
return 0; |
10895 |
if { (eval echo configure:10896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19186 |
} |
10896 |
rm -rf conftest* |
19187 |
_ACEOF |
10897 |
eval "ac_cv_func_gethostbyname=yes" |
19188 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10898 |
else |
19189 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10899 |
echo "configure: failed program was:" >&5 |
19190 |
(eval $ac_link) 2>&5 |
10900 |
cat conftest.$ac_ext >&5 |
19191 |
ac_status=$? |
10901 |
rm -rf conftest* |
19192 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10902 |
eval "ac_cv_func_gethostbyname=no" |
19193 |
(exit $ac_status); } && |
10903 |
fi |
19194 |
{ ac_try='test -s conftest$ac_exeext' |
10904 |
rm -f conftest* |
19195 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19196 |
(eval $ac_try) 2>&5 |
19197 |
ac_status=$? |
19198 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19199 |
(exit $ac_status); }; }; then |
19200 |
ac_cv_func_gethostbyname=yes |
19201 |
else |
19202 |
echo "$as_me: failed program was:" >&5 |
19203 |
cat conftest.$ac_ext >&5 |
19204 |
ac_cv_func_gethostbyname=no |
10905 |
fi |
19205 |
fi |
10906 |
|
19206 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
10907 |
if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then |
|
|
10908 |
echo "$ac_t""yes" 1>&6 |
10909 |
: |
10910 |
else |
10911 |
echo "$ac_t""no" 1>&6 |
10912 |
fi |
19207 |
fi |
|
|
19208 |
echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 |
19209 |
echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6 |
10913 |
|
19210 |
|
10914 |
if test $ac_cv_func_gethostbyname = no; then |
19211 |
if test $ac_cv_func_gethostbyname = no; then |
10915 |
echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
19212 |
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 |
10916 |
echo "configure:10917: checking for gethostbyname in -lnsl" >&5 |
19213 |
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 |
10917 |
ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
19214 |
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then |
10918 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19215 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10919 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
10920 |
else |
19216 |
else |
10921 |
ac_save_LIBS="$LIBS" |
19217 |
ac_check_lib_save_LIBS=$LIBS |
10922 |
LIBS="-lnsl $LIBS" |
19218 |
LIBS="-lnsl $LIBS" |
10923 |
cat > conftest.$ac_ext <<EOF |
19219 |
cat >conftest.$ac_ext <<_ACEOF |
10924 |
#line 10925 "configure" |
19220 |
#line $LINENO "configure" |
10925 |
#include "confdefs.h" |
19221 |
#include "confdefs.h" |
|
|
19222 |
|
10926 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19223 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19224 |
#ifdef __cplusplus |
19225 |
extern "C" |
19226 |
#endif |
10927 |
/* We use char because int might match the return type of a gcc2 |
19227 |
/* We use char because int might match the return type of a gcc2 |
10928 |
builtin and then its argument prototype would still apply. */ |
19228 |
builtin and then its argument prototype would still apply. */ |
10929 |
char gethostbyname(); |
19229 |
char gethostbyname (); |
10930 |
|
19230 |
#ifdef F77_DUMMY_MAIN |
10931 |
int main() { |
19231 |
# ifdef __cplusplus |
10932 |
gethostbyname() |
19232 |
extern "C" |
10933 |
; return 0; } |
19233 |
# endif |
10934 |
EOF |
19234 |
int F77_DUMMY_MAIN() { return 1; } |
10935 |
if { (eval echo configure:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19235 |
#endif |
10936 |
rm -rf conftest* |
19236 |
int |
10937 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19237 |
main () |
10938 |
else |
19238 |
{ |
10939 |
echo "configure: failed program was:" >&5 |
19239 |
gethostbyname (); |
10940 |
cat conftest.$ac_ext >&5 |
19240 |
; |
10941 |
rm -rf conftest* |
19241 |
return 0; |
10942 |
eval "ac_cv_lib_$ac_lib_var=no" |
19242 |
} |
|
|
19243 |
_ACEOF |
19244 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19245 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19246 |
(eval $ac_link) 2>&5 |
19247 |
ac_status=$? |
19248 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19249 |
(exit $ac_status); } && |
19250 |
{ ac_try='test -s conftest$ac_exeext' |
19251 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19252 |
(eval $ac_try) 2>&5 |
19253 |
ac_status=$? |
19254 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19255 |
(exit $ac_status); }; }; then |
19256 |
ac_cv_lib_nsl_gethostbyname=yes |
19257 |
else |
19258 |
echo "$as_me: failed program was:" >&5 |
19259 |
cat conftest.$ac_ext >&5 |
19260 |
ac_cv_lib_nsl_gethostbyname=no |
19261 |
fi |
19262 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19263 |
LIBS=$ac_check_lib_save_LIBS |
19264 |
fi |
19265 |
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 |
19266 |
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 |
19267 |
if test $ac_cv_lib_nsl_gethostbyname = yes; then |
19268 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
10943 |
fi |
19269 |
fi |
10944 |
rm -f conftest* |
|
|
10945 |
LIBS="$ac_save_LIBS" |
10946 |
|
19270 |
|
10947 |
fi |
19271 |
if test $ac_cv_lib_nsl_gethostbyname = no; then |
10948 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19272 |
echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 |
10949 |
echo "$ac_t""yes" 1>&6 |
19273 |
echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6 |
10950 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" |
19274 |
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then |
10951 |
else |
19275 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10952 |
echo "$ac_t""no" 1>&6 |
19276 |
else |
|
|
19277 |
ac_check_lib_save_LIBS=$LIBS |
19278 |
LIBS="-lbsd $LIBS" |
19279 |
cat >conftest.$ac_ext <<_ACEOF |
19280 |
#line $LINENO "configure" |
19281 |
#include "confdefs.h" |
19282 |
|
19283 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19284 |
#ifdef __cplusplus |
19285 |
extern "C" |
19286 |
#endif |
19287 |
/* We use char because int might match the return type of a gcc2 |
19288 |
builtin and then its argument prototype would still apply. */ |
19289 |
char gethostbyname (); |
19290 |
#ifdef F77_DUMMY_MAIN |
19291 |
# ifdef __cplusplus |
19292 |
extern "C" |
19293 |
# endif |
19294 |
int F77_DUMMY_MAIN() { return 1; } |
19295 |
#endif |
19296 |
int |
19297 |
main () |
19298 |
{ |
19299 |
gethostbyname (); |
19300 |
; |
19301 |
return 0; |
19302 |
} |
19303 |
_ACEOF |
19304 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19305 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19306 |
(eval $ac_link) 2>&5 |
19307 |
ac_status=$? |
19308 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19309 |
(exit $ac_status); } && |
19310 |
{ ac_try='test -s conftest$ac_exeext' |
19311 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19312 |
(eval $ac_try) 2>&5 |
19313 |
ac_status=$? |
19314 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19315 |
(exit $ac_status); }; }; then |
19316 |
ac_cv_lib_bsd_gethostbyname=yes |
19317 |
else |
19318 |
echo "$as_me: failed program was:" >&5 |
19319 |
cat conftest.$ac_ext >&5 |
19320 |
ac_cv_lib_bsd_gethostbyname=no |
19321 |
fi |
19322 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19323 |
LIBS=$ac_check_lib_save_LIBS |
19324 |
fi |
19325 |
echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 |
19326 |
echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6 |
19327 |
if test $ac_cv_lib_bsd_gethostbyname = yes; then |
19328 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" |
10953 |
fi |
19329 |
fi |
10954 |
|
19330 |
|
|
|
19331 |
fi |
10955 |
fi |
19332 |
fi |
10956 |
|
19333 |
|
10957 |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
19334 |
# lieder@skyler.mavd.honeywell.com says without -lsocket, |
10958 |
# socket/setsockopt and other routines are undefined under SCO ODT |
19335 |
# socket/setsockopt and other routines are undefined under SCO ODT |
10959 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
19336 |
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary |
10960 |
# on later versions), says simon@lia.di.epfl.ch: it contains |
19337 |
# on later versions), says Simon Leinen: it contains gethostby* |
10961 |
# gethostby* variants that don't use the nameserver (or something). |
19338 |
# variants that don't use the name server (or something). -lsocket |
10962 |
# -lsocket must be given before -lnsl if both are needed. |
19339 |
# must be given before -lnsl if both are needed. We assume that |
10963 |
# We assume that if connect needs -lnsl, so does gethostbyname. |
19340 |
# if connect needs -lnsl, so does gethostbyname. |
10964 |
echo $ac_n "checking for connect""... $ac_c" 1>&6 |
19341 |
echo "$as_me:$LINENO: checking for connect" >&5 |
10965 |
echo "configure:10966: checking for connect" >&5 |
19342 |
echo $ECHO_N "checking for connect... $ECHO_C" >&6 |
10966 |
if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
19343 |
if test "${ac_cv_func_connect+set}" = set; then |
10967 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19344 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
10968 |
else |
19345 |
else |
10969 |
cat > conftest.$ac_ext <<EOF |
19346 |
cat >conftest.$ac_ext <<_ACEOF |
10970 |
#line 10971 "configure" |
19347 |
#line $LINENO "configure" |
10971 |
#include "confdefs.h" |
19348 |
#include "confdefs.h" |
10972 |
/* System header to define __stub macros and hopefully few prototypes, |
19349 |
/* System header to define __stub macros and hopefully few prototypes, |
10973 |
which can conflict with char connect(); below. */ |
19350 |
which can conflict with char connect (); below. */ |
10974 |
#include <assert.h> |
19351 |
#include <assert.h> |
10975 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19352 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19353 |
#ifdef __cplusplus |
19354 |
extern "C" |
19355 |
#endif |
10976 |
/* We use char because int might match the return type of a gcc2 |
19356 |
/* We use char because int might match the return type of a gcc2 |
10977 |
builtin and then its argument prototype would still apply. */ |
19357 |
builtin and then its argument prototype would still apply. */ |
10978 |
char connect(); |
19358 |
char connect (); |
10979 |
|
19359 |
char (*f) (); |
10980 |
int main() { |
19360 |
|
10981 |
|
19361 |
#ifdef F77_DUMMY_MAIN |
|
|
19362 |
# ifdef __cplusplus |
19363 |
extern "C" |
19364 |
# endif |
19365 |
int F77_DUMMY_MAIN() { return 1; } |
19366 |
#endif |
19367 |
int |
19368 |
main () |
19369 |
{ |
10982 |
/* The GNU C library defines this for functions which it implements |
19370 |
/* The GNU C library defines this for functions which it implements |
10983 |
to always fail with ENOSYS. Some functions are actually named |
19371 |
to always fail with ENOSYS. Some functions are actually named |
10984 |
something starting with __ and the normal name is an alias. */ |
19372 |
something starting with __ and the normal name is an alias. */ |
10985 |
#if defined (__stub_connect) || defined (__stub___connect) |
19373 |
#if defined (__stub_connect) || defined (__stub___connect) |
10986 |
choke me |
19374 |
choke me |
10987 |
#else |
19375 |
#else |
10988 |
connect(); |
19376 |
f = connect; |
10989 |
#endif |
19377 |
#endif |
10990 |
|
19378 |
|
10991 |
; return 0; } |
19379 |
; |
10992 |
EOF |
19380 |
return 0; |
10993 |
if { (eval echo configure:10994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19381 |
} |
10994 |
rm -rf conftest* |
19382 |
_ACEOF |
10995 |
eval "ac_cv_func_connect=yes" |
19383 |
rm -f conftest.$ac_objext conftest$ac_exeext |
10996 |
else |
19384 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
10997 |
echo "configure: failed program was:" >&5 |
19385 |
(eval $ac_link) 2>&5 |
10998 |
cat conftest.$ac_ext >&5 |
19386 |
ac_status=$? |
10999 |
rm -rf conftest* |
19387 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11000 |
eval "ac_cv_func_connect=no" |
19388 |
(exit $ac_status); } && |
11001 |
fi |
19389 |
{ ac_try='test -s conftest$ac_exeext' |
11002 |
rm -f conftest* |
19390 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19391 |
(eval $ac_try) 2>&5 |
19392 |
ac_status=$? |
19393 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19394 |
(exit $ac_status); }; }; then |
19395 |
ac_cv_func_connect=yes |
19396 |
else |
19397 |
echo "$as_me: failed program was:" >&5 |
19398 |
cat conftest.$ac_ext >&5 |
19399 |
ac_cv_func_connect=no |
11003 |
fi |
19400 |
fi |
11004 |
|
19401 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11005 |
if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then |
|
|
11006 |
echo "$ac_t""yes" 1>&6 |
11007 |
: |
11008 |
else |
11009 |
echo "$ac_t""no" 1>&6 |
11010 |
fi |
19402 |
fi |
|
|
19403 |
echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 |
19404 |
echo "${ECHO_T}$ac_cv_func_connect" >&6 |
11011 |
|
19405 |
|
11012 |
if test $ac_cv_func_connect = no; then |
19406 |
if test $ac_cv_func_connect = no; then |
11013 |
echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
19407 |
echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 |
11014 |
echo "configure:11015: checking for connect in -lsocket" >&5 |
19408 |
echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6 |
11015 |
ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
19409 |
if test "${ac_cv_lib_socket_connect+set}" = set; then |
11016 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19410 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11017 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
11018 |
else |
19411 |
else |
11019 |
ac_save_LIBS="$LIBS" |
19412 |
ac_check_lib_save_LIBS=$LIBS |
11020 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
19413 |
LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
11021 |
cat > conftest.$ac_ext <<EOF |
19414 |
cat >conftest.$ac_ext <<_ACEOF |
11022 |
#line 11023 "configure" |
19415 |
#line $LINENO "configure" |
11023 |
#include "confdefs.h" |
19416 |
#include "confdefs.h" |
|
|
19417 |
|
11024 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19418 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19419 |
#ifdef __cplusplus |
19420 |
extern "C" |
19421 |
#endif |
11025 |
/* We use char because int might match the return type of a gcc2 |
19422 |
/* We use char because int might match the return type of a gcc2 |
11026 |
builtin and then its argument prototype would still apply. */ |
19423 |
builtin and then its argument prototype would still apply. */ |
11027 |
char connect(); |
19424 |
char connect (); |
11028 |
|
19425 |
#ifdef F77_DUMMY_MAIN |
11029 |
int main() { |
19426 |
# ifdef __cplusplus |
11030 |
connect() |
19427 |
extern "C" |
11031 |
; return 0; } |
19428 |
# endif |
11032 |
EOF |
19429 |
int F77_DUMMY_MAIN() { return 1; } |
11033 |
if { (eval echo configure:11034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19430 |
#endif |
11034 |
rm -rf conftest* |
19431 |
int |
11035 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19432 |
main () |
11036 |
else |
19433 |
{ |
11037 |
echo "configure: failed program was:" >&5 |
19434 |
connect (); |
11038 |
cat conftest.$ac_ext >&5 |
19435 |
; |
11039 |
rm -rf conftest* |
19436 |
return 0; |
11040 |
eval "ac_cv_lib_$ac_lib_var=no" |
19437 |
} |
11041 |
fi |
19438 |
_ACEOF |
11042 |
rm -f conftest* |
19439 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11043 |
LIBS="$ac_save_LIBS" |
19440 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11044 |
|
19441 |
(eval $ac_link) 2>&5 |
11045 |
fi |
19442 |
ac_status=$? |
11046 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19443 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11047 |
echo "$ac_t""yes" 1>&6 |
19444 |
(exit $ac_status); } && |
|
|
19445 |
{ ac_try='test -s conftest$ac_exeext' |
19446 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19447 |
(eval $ac_try) 2>&5 |
19448 |
ac_status=$? |
19449 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19450 |
(exit $ac_status); }; }; then |
19451 |
ac_cv_lib_socket_connect=yes |
19452 |
else |
19453 |
echo "$as_me: failed program was:" >&5 |
19454 |
cat conftest.$ac_ext >&5 |
19455 |
ac_cv_lib_socket_connect=no |
19456 |
fi |
19457 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19458 |
LIBS=$ac_check_lib_save_LIBS |
19459 |
fi |
19460 |
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 |
19461 |
echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6 |
19462 |
if test $ac_cv_lib_socket_connect = yes; then |
11048 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
19463 |
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" |
11049 |
else |
|
|
11050 |
echo "$ac_t""no" 1>&6 |
11051 |
fi |
19464 |
fi |
11052 |
|
19465 |
|
11053 |
fi |
19466 |
fi |
11054 |
|
19467 |
|
11055 |
# gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
19468 |
# Guillermo Gomez says -lposix is necessary on A/UX. |
11056 |
echo $ac_n "checking for remove""... $ac_c" 1>&6 |
19469 |
echo "$as_me:$LINENO: checking for remove" >&5 |
11057 |
echo "configure:11058: checking for remove" >&5 |
19470 |
echo $ECHO_N "checking for remove... $ECHO_C" >&6 |
11058 |
if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
19471 |
if test "${ac_cv_func_remove+set}" = set; then |
11059 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19472 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11060 |
else |
19473 |
else |
11061 |
cat > conftest.$ac_ext <<EOF |
19474 |
cat >conftest.$ac_ext <<_ACEOF |
11062 |
#line 11063 "configure" |
19475 |
#line $LINENO "configure" |
11063 |
#include "confdefs.h" |
19476 |
#include "confdefs.h" |
11064 |
/* System header to define __stub macros and hopefully few prototypes, |
19477 |
/* System header to define __stub macros and hopefully few prototypes, |
11065 |
which can conflict with char remove(); below. */ |
19478 |
which can conflict with char remove (); below. */ |
11066 |
#include <assert.h> |
19479 |
#include <assert.h> |
11067 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19480 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19481 |
#ifdef __cplusplus |
19482 |
extern "C" |
19483 |
#endif |
11068 |
/* We use char because int might match the return type of a gcc2 |
19484 |
/* We use char because int might match the return type of a gcc2 |
11069 |
builtin and then its argument prototype would still apply. */ |
19485 |
builtin and then its argument prototype would still apply. */ |
11070 |
char remove(); |
19486 |
char remove (); |
11071 |
|
19487 |
char (*f) (); |
11072 |
int main() { |
19488 |
|
11073 |
|
19489 |
#ifdef F77_DUMMY_MAIN |
|
|
19490 |
# ifdef __cplusplus |
19491 |
extern "C" |
19492 |
# endif |
19493 |
int F77_DUMMY_MAIN() { return 1; } |
19494 |
#endif |
19495 |
int |
19496 |
main () |
19497 |
{ |
11074 |
/* The GNU C library defines this for functions which it implements |
19498 |
/* The GNU C library defines this for functions which it implements |
11075 |
to always fail with ENOSYS. Some functions are actually named |
19499 |
to always fail with ENOSYS. Some functions are actually named |
11076 |
something starting with __ and the normal name is an alias. */ |
19500 |
something starting with __ and the normal name is an alias. */ |
11077 |
#if defined (__stub_remove) || defined (__stub___remove) |
19501 |
#if defined (__stub_remove) || defined (__stub___remove) |
11078 |
choke me |
19502 |
choke me |
11079 |
#else |
19503 |
#else |
11080 |
remove(); |
19504 |
f = remove; |
11081 |
#endif |
19505 |
#endif |
11082 |
|
19506 |
|
11083 |
; return 0; } |
19507 |
; |
11084 |
EOF |
19508 |
return 0; |
11085 |
if { (eval echo configure:11086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19509 |
} |
11086 |
rm -rf conftest* |
19510 |
_ACEOF |
11087 |
eval "ac_cv_func_remove=yes" |
19511 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11088 |
else |
19512 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11089 |
echo "configure: failed program was:" >&5 |
19513 |
(eval $ac_link) 2>&5 |
11090 |
cat conftest.$ac_ext >&5 |
19514 |
ac_status=$? |
11091 |
rm -rf conftest* |
19515 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11092 |
eval "ac_cv_func_remove=no" |
19516 |
(exit $ac_status); } && |
11093 |
fi |
19517 |
{ ac_try='test -s conftest$ac_exeext' |
11094 |
rm -f conftest* |
19518 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19519 |
(eval $ac_try) 2>&5 |
19520 |
ac_status=$? |
19521 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19522 |
(exit $ac_status); }; }; then |
19523 |
ac_cv_func_remove=yes |
19524 |
else |
19525 |
echo "$as_me: failed program was:" >&5 |
19526 |
cat conftest.$ac_ext >&5 |
19527 |
ac_cv_func_remove=no |
11095 |
fi |
19528 |
fi |
11096 |
|
19529 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11097 |
if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then |
|
|
11098 |
echo "$ac_t""yes" 1>&6 |
11099 |
: |
11100 |
else |
11101 |
echo "$ac_t""no" 1>&6 |
11102 |
fi |
19530 |
fi |
|
|
19531 |
echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 |
19532 |
echo "${ECHO_T}$ac_cv_func_remove" >&6 |
11103 |
|
19533 |
|
11104 |
if test $ac_cv_func_remove = no; then |
19534 |
if test $ac_cv_func_remove = no; then |
11105 |
echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
19535 |
echo "$as_me:$LINENO: checking for remove in -lposix" >&5 |
11106 |
echo "configure:11107: checking for remove in -lposix" >&5 |
19536 |
echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6 |
11107 |
ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
19537 |
if test "${ac_cv_lib_posix_remove+set}" = set; then |
11108 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19538 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11109 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
11110 |
else |
19539 |
else |
11111 |
ac_save_LIBS="$LIBS" |
19540 |
ac_check_lib_save_LIBS=$LIBS |
11112 |
LIBS="-lposix $LIBS" |
19541 |
LIBS="-lposix $LIBS" |
11113 |
cat > conftest.$ac_ext <<EOF |
19542 |
cat >conftest.$ac_ext <<_ACEOF |
11114 |
#line 11115 "configure" |
19543 |
#line $LINENO "configure" |
11115 |
#include "confdefs.h" |
19544 |
#include "confdefs.h" |
|
|
19545 |
|
11116 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19546 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19547 |
#ifdef __cplusplus |
19548 |
extern "C" |
19549 |
#endif |
11117 |
/* We use char because int might match the return type of a gcc2 |
19550 |
/* We use char because int might match the return type of a gcc2 |
11118 |
builtin and then its argument prototype would still apply. */ |
19551 |
builtin and then its argument prototype would still apply. */ |
11119 |
char remove(); |
19552 |
char remove (); |
11120 |
|
19553 |
#ifdef F77_DUMMY_MAIN |
11121 |
int main() { |
19554 |
# ifdef __cplusplus |
11122 |
remove() |
19555 |
extern "C" |
11123 |
; return 0; } |
19556 |
# endif |
11124 |
EOF |
19557 |
int F77_DUMMY_MAIN() { return 1; } |
11125 |
if { (eval echo configure:11126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19558 |
#endif |
11126 |
rm -rf conftest* |
19559 |
int |
11127 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19560 |
main () |
11128 |
else |
19561 |
{ |
11129 |
echo "configure: failed program was:" >&5 |
19562 |
remove (); |
11130 |
cat conftest.$ac_ext >&5 |
19563 |
; |
11131 |
rm -rf conftest* |
19564 |
return 0; |
11132 |
eval "ac_cv_lib_$ac_lib_var=no" |
19565 |
} |
11133 |
fi |
19566 |
_ACEOF |
11134 |
rm -f conftest* |
19567 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11135 |
LIBS="$ac_save_LIBS" |
19568 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11136 |
|
19569 |
(eval $ac_link) 2>&5 |
11137 |
fi |
19570 |
ac_status=$? |
11138 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19571 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11139 |
echo "$ac_t""yes" 1>&6 |
19572 |
(exit $ac_status); } && |
|
|
19573 |
{ ac_try='test -s conftest$ac_exeext' |
19574 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19575 |
(eval $ac_try) 2>&5 |
19576 |
ac_status=$? |
19577 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19578 |
(exit $ac_status); }; }; then |
19579 |
ac_cv_lib_posix_remove=yes |
19580 |
else |
19581 |
echo "$as_me: failed program was:" >&5 |
19582 |
cat conftest.$ac_ext >&5 |
19583 |
ac_cv_lib_posix_remove=no |
19584 |
fi |
19585 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19586 |
LIBS=$ac_check_lib_save_LIBS |
19587 |
fi |
19588 |
echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 |
19589 |
echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6 |
19590 |
if test $ac_cv_lib_posix_remove = yes; then |
11140 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
19591 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" |
11141 |
else |
|
|
11142 |
echo "$ac_t""no" 1>&6 |
11143 |
fi |
19592 |
fi |
11144 |
|
19593 |
|
11145 |
fi |
19594 |
fi |
11146 |
|
19595 |
|
11147 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
19596 |
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
11148 |
echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
19597 |
echo "$as_me:$LINENO: checking for shmat" >&5 |
11149 |
echo "configure:11150: checking for shmat" >&5 |
19598 |
echo $ECHO_N "checking for shmat... $ECHO_C" >&6 |
11150 |
if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
19599 |
if test "${ac_cv_func_shmat+set}" = set; then |
11151 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19600 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11152 |
else |
19601 |
else |
11153 |
cat > conftest.$ac_ext <<EOF |
19602 |
cat >conftest.$ac_ext <<_ACEOF |
11154 |
#line 11155 "configure" |
19603 |
#line $LINENO "configure" |
11155 |
#include "confdefs.h" |
19604 |
#include "confdefs.h" |
11156 |
/* System header to define __stub macros and hopefully few prototypes, |
19605 |
/* System header to define __stub macros and hopefully few prototypes, |
11157 |
which can conflict with char shmat(); below. */ |
19606 |
which can conflict with char shmat (); below. */ |
11158 |
#include <assert.h> |
19607 |
#include <assert.h> |
11159 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19608 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19609 |
#ifdef __cplusplus |
19610 |
extern "C" |
19611 |
#endif |
11160 |
/* We use char because int might match the return type of a gcc2 |
19612 |
/* We use char because int might match the return type of a gcc2 |
11161 |
builtin and then its argument prototype would still apply. */ |
19613 |
builtin and then its argument prototype would still apply. */ |
11162 |
char shmat(); |
19614 |
char shmat (); |
11163 |
|
19615 |
char (*f) (); |
11164 |
int main() { |
19616 |
|
11165 |
|
19617 |
#ifdef F77_DUMMY_MAIN |
|
|
19618 |
# ifdef __cplusplus |
19619 |
extern "C" |
19620 |
# endif |
19621 |
int F77_DUMMY_MAIN() { return 1; } |
19622 |
#endif |
19623 |
int |
19624 |
main () |
19625 |
{ |
11166 |
/* The GNU C library defines this for functions which it implements |
19626 |
/* The GNU C library defines this for functions which it implements |
11167 |
to always fail with ENOSYS. Some functions are actually named |
19627 |
to always fail with ENOSYS. Some functions are actually named |
11168 |
something starting with __ and the normal name is an alias. */ |
19628 |
something starting with __ and the normal name is an alias. */ |
11169 |
#if defined (__stub_shmat) || defined (__stub___shmat) |
19629 |
#if defined (__stub_shmat) || defined (__stub___shmat) |
11170 |
choke me |
19630 |
choke me |
11171 |
#else |
19631 |
#else |
11172 |
shmat(); |
19632 |
f = shmat; |
11173 |
#endif |
19633 |
#endif |
11174 |
|
19634 |
|
11175 |
; return 0; } |
19635 |
; |
11176 |
EOF |
19636 |
return 0; |
11177 |
if { (eval echo configure:11178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19637 |
} |
11178 |
rm -rf conftest* |
19638 |
_ACEOF |
11179 |
eval "ac_cv_func_shmat=yes" |
19639 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11180 |
else |
19640 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11181 |
echo "configure: failed program was:" >&5 |
19641 |
(eval $ac_link) 2>&5 |
11182 |
cat conftest.$ac_ext >&5 |
19642 |
ac_status=$? |
11183 |
rm -rf conftest* |
19643 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11184 |
eval "ac_cv_func_shmat=no" |
19644 |
(exit $ac_status); } && |
11185 |
fi |
19645 |
{ ac_try='test -s conftest$ac_exeext' |
11186 |
rm -f conftest* |
19646 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
19647 |
(eval $ac_try) 2>&5 |
19648 |
ac_status=$? |
19649 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19650 |
(exit $ac_status); }; }; then |
19651 |
ac_cv_func_shmat=yes |
19652 |
else |
19653 |
echo "$as_me: failed program was:" >&5 |
19654 |
cat conftest.$ac_ext >&5 |
19655 |
ac_cv_func_shmat=no |
11187 |
fi |
19656 |
fi |
11188 |
|
19657 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11189 |
if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then |
|
|
11190 |
echo "$ac_t""yes" 1>&6 |
11191 |
: |
11192 |
else |
11193 |
echo "$ac_t""no" 1>&6 |
11194 |
fi |
19658 |
fi |
|
|
19659 |
echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 |
19660 |
echo "${ECHO_T}$ac_cv_func_shmat" >&6 |
11195 |
|
19661 |
|
11196 |
if test $ac_cv_func_shmat = no; then |
19662 |
if test $ac_cv_func_shmat = no; then |
11197 |
echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
19663 |
echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 |
11198 |
echo "configure:11199: checking for shmat in -lipc" >&5 |
19664 |
echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6 |
11199 |
ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
19665 |
if test "${ac_cv_lib_ipc_shmat+set}" = set; then |
11200 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19666 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11201 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
11202 |
else |
19667 |
else |
11203 |
ac_save_LIBS="$LIBS" |
19668 |
ac_check_lib_save_LIBS=$LIBS |
11204 |
LIBS="-lipc $LIBS" |
19669 |
LIBS="-lipc $LIBS" |
11205 |
cat > conftest.$ac_ext <<EOF |
19670 |
cat >conftest.$ac_ext <<_ACEOF |
11206 |
#line 11207 "configure" |
19671 |
#line $LINENO "configure" |
11207 |
#include "confdefs.h" |
19672 |
#include "confdefs.h" |
|
|
19673 |
|
11208 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19674 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19675 |
#ifdef __cplusplus |
19676 |
extern "C" |
19677 |
#endif |
11209 |
/* We use char because int might match the return type of a gcc2 |
19678 |
/* We use char because int might match the return type of a gcc2 |
11210 |
builtin and then its argument prototype would still apply. */ |
19679 |
builtin and then its argument prototype would still apply. */ |
11211 |
char shmat(); |
19680 |
char shmat (); |
11212 |
|
19681 |
#ifdef F77_DUMMY_MAIN |
11213 |
int main() { |
19682 |
# ifdef __cplusplus |
11214 |
shmat() |
19683 |
extern "C" |
11215 |
; return 0; } |
19684 |
# endif |
11216 |
EOF |
19685 |
int F77_DUMMY_MAIN() { return 1; } |
11217 |
if { (eval echo configure:11218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19686 |
#endif |
11218 |
rm -rf conftest* |
19687 |
int |
11219 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19688 |
main () |
11220 |
else |
19689 |
{ |
11221 |
echo "configure: failed program was:" >&5 |
19690 |
shmat (); |
11222 |
cat conftest.$ac_ext >&5 |
19691 |
; |
11223 |
rm -rf conftest* |
19692 |
return 0; |
11224 |
eval "ac_cv_lib_$ac_lib_var=no" |
19693 |
} |
11225 |
fi |
19694 |
_ACEOF |
11226 |
rm -f conftest* |
19695 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11227 |
LIBS="$ac_save_LIBS" |
19696 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11228 |
|
19697 |
(eval $ac_link) 2>&5 |
11229 |
fi |
19698 |
ac_status=$? |
11230 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19699 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11231 |
echo "$ac_t""yes" 1>&6 |
19700 |
(exit $ac_status); } && |
|
|
19701 |
{ ac_try='test -s conftest$ac_exeext' |
19702 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19703 |
(eval $ac_try) 2>&5 |
19704 |
ac_status=$? |
19705 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19706 |
(exit $ac_status); }; }; then |
19707 |
ac_cv_lib_ipc_shmat=yes |
19708 |
else |
19709 |
echo "$as_me: failed program was:" >&5 |
19710 |
cat conftest.$ac_ext >&5 |
19711 |
ac_cv_lib_ipc_shmat=no |
19712 |
fi |
19713 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19714 |
LIBS=$ac_check_lib_save_LIBS |
19715 |
fi |
19716 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 |
19717 |
echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6 |
19718 |
if test $ac_cv_lib_ipc_shmat = yes; then |
11232 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
19719 |
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" |
11233 |
else |
|
|
11234 |
echo "$ac_t""no" 1>&6 |
11235 |
fi |
19720 |
fi |
11236 |
|
19721 |
|
11237 |
fi |
19722 |
fi |
11238 |
fi |
19723 |
fi |
11239 |
|
19724 |
|
11240 |
# Check for libraries that X11R6 Xt/Xaw programs need. |
19725 |
# Check for libraries that X11R6 Xt/Xaw programs need. |
11241 |
ac_save_LDFLAGS="$LDFLAGS" |
19726 |
ac_save_LDFLAGS=$LDFLAGS |
11242 |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
19727 |
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" |
11243 |
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
19728 |
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to |
11244 |
# check for ICE first), but we must link in the order -lSM -lICE or |
19729 |
# check for ICE first), but we must link in the order -lSM -lICE or |
11245 |
# we get undefined symbols. So assume we have SM if we have ICE. |
19730 |
# we get undefined symbols. So assume we have SM if we have ICE. |
11246 |
# These have to be linked with before -lX11, unlike the other |
19731 |
# These have to be linked with before -lX11, unlike the other |
11247 |
# libraries we check for below, so use a different variable. |
19732 |
# libraries we check for below, so use a different variable. |
11248 |
# --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
19733 |
# John Interrante, Karl Berry |
11249 |
echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
19734 |
echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 |
11250 |
echo "configure:11251: checking for IceConnectionNumber in -lICE" >&5 |
19735 |
echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6 |
11251 |
ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
19736 |
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then |
11252 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
19737 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11253 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
11254 |
else |
19738 |
else |
11255 |
ac_save_LIBS="$LIBS" |
19739 |
ac_check_lib_save_LIBS=$LIBS |
11256 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
19740 |
LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
11257 |
cat > conftest.$ac_ext <<EOF |
19741 |
cat >conftest.$ac_ext <<_ACEOF |
11258 |
#line 11259 "configure" |
19742 |
#line $LINENO "configure" |
11259 |
#include "confdefs.h" |
19743 |
#include "confdefs.h" |
|
|
19744 |
|
11260 |
/* Override any gcc2 internal prototype to avoid an error. */ |
19745 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
19746 |
#ifdef __cplusplus |
19747 |
extern "C" |
19748 |
#endif |
11261 |
/* We use char because int might match the return type of a gcc2 |
19749 |
/* We use char because int might match the return type of a gcc2 |
11262 |
builtin and then its argument prototype would still apply. */ |
19750 |
builtin and then its argument prototype would still apply. */ |
11263 |
char IceConnectionNumber(); |
19751 |
char IceConnectionNumber (); |
11264 |
|
19752 |
#ifdef F77_DUMMY_MAIN |
11265 |
int main() { |
19753 |
# ifdef __cplusplus |
11266 |
IceConnectionNumber() |
19754 |
extern "C" |
11267 |
; return 0; } |
19755 |
# endif |
11268 |
EOF |
19756 |
int F77_DUMMY_MAIN() { return 1; } |
11269 |
if { (eval echo configure:11270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19757 |
#endif |
11270 |
rm -rf conftest* |
19758 |
int |
11271 |
eval "ac_cv_lib_$ac_lib_var=yes" |
19759 |
main () |
11272 |
else |
19760 |
{ |
11273 |
echo "configure: failed program was:" >&5 |
19761 |
IceConnectionNumber (); |
11274 |
cat conftest.$ac_ext >&5 |
19762 |
; |
11275 |
rm -rf conftest* |
19763 |
return 0; |
11276 |
eval "ac_cv_lib_$ac_lib_var=no" |
19764 |
} |
11277 |
fi |
19765 |
_ACEOF |
11278 |
rm -f conftest* |
19766 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11279 |
LIBS="$ac_save_LIBS" |
19767 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11280 |
|
19768 |
(eval $ac_link) 2>&5 |
11281 |
fi |
19769 |
ac_status=$? |
11282 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
19770 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11283 |
echo "$ac_t""yes" 1>&6 |
19771 |
(exit $ac_status); } && |
|
|
19772 |
{ ac_try='test -s conftest$ac_exeext' |
19773 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19774 |
(eval $ac_try) 2>&5 |
19775 |
ac_status=$? |
19776 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19777 |
(exit $ac_status); }; }; then |
19778 |
ac_cv_lib_ICE_IceConnectionNumber=yes |
19779 |
else |
19780 |
echo "$as_me: failed program was:" >&5 |
19781 |
cat conftest.$ac_ext >&5 |
19782 |
ac_cv_lib_ICE_IceConnectionNumber=no |
19783 |
fi |
19784 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
19785 |
LIBS=$ac_check_lib_save_LIBS |
19786 |
fi |
19787 |
echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 |
19788 |
echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6 |
19789 |
if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then |
11284 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
19790 |
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" |
11285 |
else |
|
|
11286 |
echo "$ac_t""no" 1>&6 |
11287 |
fi |
19791 |
fi |
11288 |
|
19792 |
|
11289 |
LDFLAGS="$ac_save_LDFLAGS" |
19793 |
LDFLAGS=$ac_save_LDFLAGS |
11290 |
|
19794 |
|
11291 |
fi |
19795 |
fi |
11292 |
;; |
19796 |
;; |
11293 |
esac |
19797 |
esac |
11294 |
|
19798 |
|
11295 |
|
19799 |
|
11296 |
|
19800 |
|
11297 |
|
19801 |
|
11298 |
|
19802 |
|
11299 |
|
19803 |
|
11300 |
|
19804 |
|
11301 |
# Check whether --enable-Mesa or --disable-Mesa was given. |
19805 |
# Check whether --enable-Mesa or --disable-Mesa was given. |
11302 |
if test "${enable_Mesa+set}" = set; then |
19806 |
if test "${enable_Mesa+set}" = set; then |
Lines 11304-11311
Link Here
|
11304 |
use_Mesa=$enableval |
19808 |
use_Mesa=$enableval |
11305 |
else |
19809 |
else |
11306 |
use_Mesa=no |
19810 |
use_Mesa=no |
11307 |
fi |
19811 |
fi; |
11308 |
|
|
|
11309 |
|
19812 |
|
11310 |
if test x"$use_Mesa" = xyes; then |
19813 |
if test x"$use_Mesa" = xyes; then |
11311 |
GL_search_list="MesaGL GL opengl32" |
19814 |
GL_search_list="MesaGL GL opengl32" |
Lines 11315-11329
Link Here
|
11315 |
GL_search_list="GL opengl32 MesaGL" |
19818 |
GL_search_list="GL opengl32 MesaGL" |
11316 |
GLU_search_list="GLU glu32 MesaGLU" |
19819 |
GLU_search_list="GLU glu32 MesaGLU" |
11317 |
GLX_search_list="GLX MesaGLX" |
19820 |
GLX_search_list="GLX MesaGLX" |
11318 |
fi |
19821 |
fi |
|
|
19822 |
|
19823 |
|
11319 |
|
19824 |
|
11320 |
|
|
|
11321 |
ac_ext=c |
19825 |
ac_ext=c |
11322 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
11323 |
ac_cpp='$CPP $CPPFLAGS' |
19826 |
ac_cpp='$CPP $CPPFLAGS' |
11324 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
19827 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11325 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
19828 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11326 |
cross_compiling=$ac_cv_prog_cc_cross |
19829 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
11327 |
|
19830 |
|
11328 |
|
19831 |
|
11329 |
if ! test x"$no_x" = xyes; then |
19832 |
if ! test x"$no_x" = xyes; then |
Lines 11336-11551
Link Here
|
11336 |
GL_save_LIBS="$LIBS" |
19839 |
GL_save_LIBS="$LIBS" |
11337 |
LIBS="$GL_X_LIBS" |
19840 |
LIBS="$GL_X_LIBS" |
11338 |
|
19841 |
|
11339 |
|
19842 |
|
11340 |
echo $ac_n "checking for library containing glEnd""... $ac_c" 1>&6 |
19843 |
echo "$as_me:$LINENO: checking for library containing glEnd" >&5 |
11341 |
echo "configure:11342: checking for library containing glEnd" >&5 |
19844 |
echo $ECHO_N "checking for library containing glEnd... $ECHO_C" >&6 |
11342 |
if eval "test \"`echo '$''{'ac_cv_search_glEnd'+set}'`\" = set"; then |
19845 |
if test "${ac_cv_search_glEnd+set}" = set; then |
11343 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19846 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11344 |
else |
19847 |
else |
11345 |
ac_func_search_save_LIBS="$LIBS" |
19848 |
ac_func_search_save_LIBS="$LIBS" |
11346 |
ac_cv_search_glEnd="no" |
19849 |
ac_cv_search_glEnd="no" |
11347 |
cat > conftest.$ac_ext <<EOF |
19850 |
cat >conftest.$ac_ext <<_ACEOF |
11348 |
#line 11349 "configure" |
19851 |
#line $LINENO "configure" |
11349 |
#include "confdefs.h" |
19852 |
#include "confdefs.h" |
11350 |
#include <GL/gl.h> |
19853 |
#include <GL/gl.h> |
11351 |
int main() { |
19854 |
#ifdef F77_DUMMY_MAIN |
|
|
19855 |
# ifdef __cplusplus |
19856 |
extern "C" |
19857 |
# endif |
19858 |
int F77_DUMMY_MAIN() { return 1; } |
19859 |
#endif |
19860 |
int |
19861 |
main () |
19862 |
{ |
11352 |
glEnd() |
19863 |
glEnd() |
11353 |
; return 0; } |
19864 |
; |
11354 |
EOF |
19865 |
return 0; |
11355 |
if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19866 |
} |
11356 |
rm -rf conftest* |
19867 |
_ACEOF |
|
|
19868 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19869 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19870 |
(eval $ac_link) 2>&5 |
19871 |
ac_status=$? |
19872 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19873 |
(exit $ac_status); } && |
19874 |
{ ac_try='test -s conftest$ac_exeext' |
19875 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19876 |
(eval $ac_try) 2>&5 |
19877 |
ac_status=$? |
19878 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19879 |
(exit $ac_status); }; }; then |
11357 |
ac_cv_search_glEnd="none required" |
19880 |
ac_cv_search_glEnd="none required" |
11358 |
else |
19881 |
else |
11359 |
echo "configure: failed program was:" >&5 |
19882 |
echo "$as_me: failed program was:" >&5 |
11360 |
cat conftest.$ac_ext >&5 |
19883 |
cat conftest.$ac_ext >&5 |
11361 |
fi |
19884 |
fi |
11362 |
rm -f conftest* |
19885 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11363 |
test "$ac_cv_search_glEnd" = "no" && for i in $GL_search_list; do |
19886 |
test "$ac_cv_search_glEnd" = "no" && for i in $GL_search_list; do |
11364 |
LIBS="-l$i $ac_func_search_save_LIBS" |
19887 |
LIBS="-l$i $ac_func_search_save_LIBS" |
11365 |
cat > conftest.$ac_ext <<EOF |
19888 |
cat >conftest.$ac_ext <<_ACEOF |
11366 |
#line 11367 "configure" |
19889 |
#line $LINENO "configure" |
11367 |
#include "confdefs.h" |
19890 |
#include "confdefs.h" |
11368 |
#include <GL/gl.h> |
19891 |
#include <GL/gl.h> |
11369 |
int main() { |
19892 |
#ifdef F77_DUMMY_MAIN |
|
|
19893 |
# ifdef __cplusplus |
19894 |
extern "C" |
19895 |
# endif |
19896 |
int F77_DUMMY_MAIN() { return 1; } |
19897 |
#endif |
19898 |
int |
19899 |
main () |
19900 |
{ |
11370 |
glEnd() |
19901 |
glEnd() |
11371 |
; return 0; } |
19902 |
; |
11372 |
EOF |
19903 |
return 0; |
11373 |
if { (eval echo configure:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19904 |
} |
11374 |
rm -rf conftest* |
19905 |
_ACEOF |
|
|
19906 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19907 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19908 |
(eval $ac_link) 2>&5 |
19909 |
ac_status=$? |
19910 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19911 |
(exit $ac_status); } && |
19912 |
{ ac_try='test -s conftest$ac_exeext' |
19913 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19914 |
(eval $ac_try) 2>&5 |
19915 |
ac_status=$? |
19916 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19917 |
(exit $ac_status); }; }; then |
11375 |
ac_cv_search_glEnd="-l$i" |
19918 |
ac_cv_search_glEnd="-l$i" |
11376 |
break |
19919 |
break |
11377 |
else |
19920 |
else |
11378 |
echo "configure: failed program was:" >&5 |
19921 |
echo "$as_me: failed program was:" >&5 |
11379 |
cat conftest.$ac_ext >&5 |
19922 |
cat conftest.$ac_ext >&5 |
11380 |
fi |
19923 |
fi |
11381 |
rm -f conftest* |
19924 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11382 |
done |
19925 |
done |
11383 |
LIBS="$ac_func_search_save_LIBS" |
19926 |
LIBS="$ac_func_search_save_LIBS" |
11384 |
fi |
19927 |
fi |
11385 |
|
19928 |
echo "$as_me:$LINENO: result: $ac_cv_search_glEnd" >&5 |
11386 |
echo "$ac_t""$ac_cv_search_glEnd" 1>&6 |
19929 |
echo "${ECHO_T}$ac_cv_search_glEnd" >&6 |
11387 |
if test "$ac_cv_search_glEnd" != "no"; then |
19930 |
if test "$ac_cv_search_glEnd" != "no"; then |
11388 |
test "$ac_cv_search_glEnd" = "none required" || LIBS="$ac_cv_search_glEnd $LIBS" |
19931 |
test "$ac_cv_search_glEnd" = "none required" || LIBS="$ac_cv_search_glEnd $LIBS" |
11389 |
have_GL=yes |
19932 |
have_GL=yes |
11390 |
else : |
19933 |
else : |
11391 |
have_GL=no |
19934 |
have_GL=no |
11392 |
fi |
19935 |
fi |
11393 |
|
19936 |
|
11394 |
echo $ac_n "checking for library containing gluNewQuadric""... $ac_c" 1>&6 |
19937 |
echo "$as_me:$LINENO: checking for library containing gluNewQuadric" >&5 |
11395 |
echo "configure:11396: checking for library containing gluNewQuadric" >&5 |
19938 |
echo $ECHO_N "checking for library containing gluNewQuadric... $ECHO_C" >&6 |
11396 |
if eval "test \"`echo '$''{'ac_cv_search_gluNewQuadric'+set}'`\" = set"; then |
19939 |
if test "${ac_cv_search_gluNewQuadric+set}" = set; then |
11397 |
echo $ac_n "(cached) $ac_c" 1>&6 |
19940 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11398 |
else |
19941 |
else |
11399 |
ac_func_search_save_LIBS="$LIBS" |
19942 |
ac_func_search_save_LIBS="$LIBS" |
11400 |
ac_cv_search_gluNewQuadric="no" |
19943 |
ac_cv_search_gluNewQuadric="no" |
11401 |
cat > conftest.$ac_ext <<EOF |
19944 |
cat >conftest.$ac_ext <<_ACEOF |
11402 |
#line 11403 "configure" |
19945 |
#line $LINENO "configure" |
11403 |
#include "confdefs.h" |
19946 |
#include "confdefs.h" |
11404 |
#include <GL/glu.h> |
19947 |
#include <GL/glu.h> |
11405 |
int main() { |
19948 |
#ifdef F77_DUMMY_MAIN |
|
|
19949 |
# ifdef __cplusplus |
19950 |
extern "C" |
19951 |
# endif |
19952 |
int F77_DUMMY_MAIN() { return 1; } |
19953 |
#endif |
19954 |
int |
19955 |
main () |
19956 |
{ |
11406 |
gluNewQuadric() |
19957 |
gluNewQuadric() |
11407 |
; return 0; } |
19958 |
; |
11408 |
EOF |
19959 |
return 0; |
11409 |
if { (eval echo configure:11410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19960 |
} |
11410 |
rm -rf conftest* |
19961 |
_ACEOF |
|
|
19962 |
rm -f conftest.$ac_objext conftest$ac_exeext |
19963 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
19964 |
(eval $ac_link) 2>&5 |
19965 |
ac_status=$? |
19966 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19967 |
(exit $ac_status); } && |
19968 |
{ ac_try='test -s conftest$ac_exeext' |
19969 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19970 |
(eval $ac_try) 2>&5 |
19971 |
ac_status=$? |
19972 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19973 |
(exit $ac_status); }; }; then |
11411 |
ac_cv_search_gluNewQuadric="none required" |
19974 |
ac_cv_search_gluNewQuadric="none required" |
11412 |
else |
19975 |
else |
11413 |
echo "configure: failed program was:" >&5 |
19976 |
echo "$as_me: failed program was:" >&5 |
11414 |
cat conftest.$ac_ext >&5 |
19977 |
cat conftest.$ac_ext >&5 |
11415 |
fi |
19978 |
fi |
11416 |
rm -f conftest* |
19979 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11417 |
test "$ac_cv_search_gluNewQuadric" = "no" && for i in $GLU_search_list; do |
19980 |
test "$ac_cv_search_gluNewQuadric" = "no" && for i in $GLU_search_list; do |
11418 |
LIBS="-l$i $ac_func_search_save_LIBS" |
19981 |
LIBS="-l$i $ac_func_search_save_LIBS" |
11419 |
cat > conftest.$ac_ext <<EOF |
19982 |
cat >conftest.$ac_ext <<_ACEOF |
11420 |
#line 11421 "configure" |
19983 |
#line $LINENO "configure" |
11421 |
#include "confdefs.h" |
19984 |
#include "confdefs.h" |
11422 |
#include <GL/glu.h> |
19985 |
#include <GL/glu.h> |
11423 |
int main() { |
19986 |
#ifdef F77_DUMMY_MAIN |
|
|
19987 |
# ifdef __cplusplus |
19988 |
extern "C" |
19989 |
# endif |
19990 |
int F77_DUMMY_MAIN() { return 1; } |
19991 |
#endif |
19992 |
int |
19993 |
main () |
19994 |
{ |
11424 |
gluNewQuadric() |
19995 |
gluNewQuadric() |
11425 |
; return 0; } |
19996 |
; |
11426 |
EOF |
19997 |
return 0; |
11427 |
if { (eval echo configure:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
19998 |
} |
11428 |
rm -rf conftest* |
19999 |
_ACEOF |
|
|
20000 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20001 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20002 |
(eval $ac_link) 2>&5 |
20003 |
ac_status=$? |
20004 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20005 |
(exit $ac_status); } && |
20006 |
{ ac_try='test -s conftest$ac_exeext' |
20007 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20008 |
(eval $ac_try) 2>&5 |
20009 |
ac_status=$? |
20010 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20011 |
(exit $ac_status); }; }; then |
11429 |
ac_cv_search_gluNewQuadric="-l$i" |
20012 |
ac_cv_search_gluNewQuadric="-l$i" |
11430 |
break |
20013 |
break |
11431 |
else |
20014 |
else |
11432 |
echo "configure: failed program was:" >&5 |
20015 |
echo "$as_me: failed program was:" >&5 |
11433 |
cat conftest.$ac_ext >&5 |
20016 |
cat conftest.$ac_ext >&5 |
11434 |
fi |
20017 |
fi |
11435 |
rm -f conftest* |
20018 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11436 |
done |
20019 |
done |
11437 |
LIBS="$ac_func_search_save_LIBS" |
20020 |
LIBS="$ac_func_search_save_LIBS" |
11438 |
fi |
20021 |
fi |
11439 |
|
20022 |
echo "$as_me:$LINENO: result: $ac_cv_search_gluNewQuadric" >&5 |
11440 |
echo "$ac_t""$ac_cv_search_gluNewQuadric" 1>&6 |
20023 |
echo "${ECHO_T}$ac_cv_search_gluNewQuadric" >&6 |
11441 |
if test "$ac_cv_search_gluNewQuadric" != "no"; then |
20024 |
if test "$ac_cv_search_gluNewQuadric" != "no"; then |
11442 |
test "$ac_cv_search_gluNewQuadric" = "none required" || LIBS="$ac_cv_search_gluNewQuadric $LIBS" |
20025 |
test "$ac_cv_search_gluNewQuadric" = "none required" || LIBS="$ac_cv_search_gluNewQuadric $LIBS" |
11443 |
have_GLU=yes |
20026 |
have_GLU=yes |
11444 |
else : |
20027 |
else : |
11445 |
have_GLU=no |
20028 |
have_GLU=no |
11446 |
fi |
20029 |
fi |
11447 |
|
20030 |
|
11448 |
echo $ac_n "checking for library containing glXChooseVisual""... $ac_c" 1>&6 |
20031 |
echo "$as_me:$LINENO: checking for library containing glXChooseVisual" >&5 |
11449 |
echo "configure:11450: checking for library containing glXChooseVisual" >&5 |
20032 |
echo $ECHO_N "checking for library containing glXChooseVisual... $ECHO_C" >&6 |
11450 |
if eval "test \"`echo '$''{'ac_cv_search_glXChooseVisual'+set}'`\" = set"; then |
20033 |
if test "${ac_cv_search_glXChooseVisual+set}" = set; then |
11451 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20034 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11452 |
else |
20035 |
else |
11453 |
ac_func_search_save_LIBS="$LIBS" |
20036 |
ac_func_search_save_LIBS="$LIBS" |
11454 |
ac_cv_search_glXChooseVisual="no" |
20037 |
ac_cv_search_glXChooseVisual="no" |
11455 |
cat > conftest.$ac_ext <<EOF |
20038 |
cat >conftest.$ac_ext <<_ACEOF |
11456 |
#line 11457 "configure" |
20039 |
#line $LINENO "configure" |
11457 |
#include "confdefs.h" |
20040 |
#include "confdefs.h" |
11458 |
#include <GL/glx.h> |
20041 |
#include <GL/glx.h> |
11459 |
int main() { |
20042 |
#ifdef F77_DUMMY_MAIN |
|
|
20043 |
# ifdef __cplusplus |
20044 |
extern "C" |
20045 |
# endif |
20046 |
int F77_DUMMY_MAIN() { return 1; } |
20047 |
#endif |
20048 |
int |
20049 |
main () |
20050 |
{ |
11460 |
glXChooseVisual() |
20051 |
glXChooseVisual() |
11461 |
; return 0; } |
20052 |
; |
11462 |
EOF |
20053 |
return 0; |
11463 |
if { (eval echo configure:11464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20054 |
} |
11464 |
rm -rf conftest* |
20055 |
_ACEOF |
|
|
20056 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20057 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20058 |
(eval $ac_link) 2>&5 |
20059 |
ac_status=$? |
20060 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20061 |
(exit $ac_status); } && |
20062 |
{ ac_try='test -s conftest$ac_exeext' |
20063 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20064 |
(eval $ac_try) 2>&5 |
20065 |
ac_status=$? |
20066 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20067 |
(exit $ac_status); }; }; then |
11465 |
ac_cv_search_glXChooseVisual="none required" |
20068 |
ac_cv_search_glXChooseVisual="none required" |
11466 |
else |
20069 |
else |
11467 |
echo "configure: failed program was:" >&5 |
20070 |
echo "$as_me: failed program was:" >&5 |
11468 |
cat conftest.$ac_ext >&5 |
20071 |
cat conftest.$ac_ext >&5 |
11469 |
fi |
20072 |
fi |
11470 |
rm -f conftest* |
20073 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11471 |
test "$ac_cv_search_glXChooseVisual" = "no" && for i in $GLX_search_list; do |
20074 |
test "$ac_cv_search_glXChooseVisual" = "no" && for i in $GLX_search_list; do |
11472 |
LIBS="-l$i $ac_func_search_save_LIBS" |
20075 |
LIBS="-l$i $ac_func_search_save_LIBS" |
11473 |
cat > conftest.$ac_ext <<EOF |
20076 |
cat >conftest.$ac_ext <<_ACEOF |
11474 |
#line 11475 "configure" |
20077 |
#line $LINENO "configure" |
11475 |
#include "confdefs.h" |
20078 |
#include "confdefs.h" |
11476 |
#include <GL/glx.h> |
20079 |
#include <GL/glx.h> |
11477 |
int main() { |
20080 |
#ifdef F77_DUMMY_MAIN |
|
|
20081 |
# ifdef __cplusplus |
20082 |
extern "C" |
20083 |
# endif |
20084 |
int F77_DUMMY_MAIN() { return 1; } |
20085 |
#endif |
20086 |
int |
20087 |
main () |
20088 |
{ |
11478 |
glXChooseVisual() |
20089 |
glXChooseVisual() |
11479 |
; return 0; } |
20090 |
; |
11480 |
EOF |
20091 |
return 0; |
11481 |
if { (eval echo configure:11482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20092 |
} |
11482 |
rm -rf conftest* |
20093 |
_ACEOF |
|
|
20094 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20095 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20096 |
(eval $ac_link) 2>&5 |
20097 |
ac_status=$? |
20098 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20099 |
(exit $ac_status); } && |
20100 |
{ ac_try='test -s conftest$ac_exeext' |
20101 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20102 |
(eval $ac_try) 2>&5 |
20103 |
ac_status=$? |
20104 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20105 |
(exit $ac_status); }; }; then |
11483 |
ac_cv_search_glXChooseVisual="-l$i" |
20106 |
ac_cv_search_glXChooseVisual="-l$i" |
11484 |
break |
20107 |
break |
11485 |
else |
20108 |
else |
11486 |
echo "configure: failed program was:" >&5 |
20109 |
echo "$as_me: failed program was:" >&5 |
11487 |
cat conftest.$ac_ext >&5 |
20110 |
cat conftest.$ac_ext >&5 |
11488 |
fi |
20111 |
fi |
11489 |
rm -f conftest* |
20112 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11490 |
done |
20113 |
done |
11491 |
LIBS="$ac_func_search_save_LIBS" |
20114 |
LIBS="$ac_func_search_save_LIBS" |
11492 |
fi |
20115 |
fi |
11493 |
|
20116 |
echo "$as_me:$LINENO: result: $ac_cv_search_glXChooseVisual" >&5 |
11494 |
echo "$ac_t""$ac_cv_search_glXChooseVisual" 1>&6 |
20117 |
echo "${ECHO_T}$ac_cv_search_glXChooseVisual" >&6 |
11495 |
if test "$ac_cv_search_glXChooseVisual" != "no"; then |
20118 |
if test "$ac_cv_search_glXChooseVisual" != "no"; then |
11496 |
test "$ac_cv_search_glXChooseVisual" = "none required" || LIBS="$ac_cv_search_glXChooseVisual $LIBS" |
20119 |
test "$ac_cv_search_glXChooseVisual" = "none required" || LIBS="$ac_cv_search_glXChooseVisual $LIBS" |
11497 |
have_GLX=yes |
20120 |
have_GLX=yes |
11498 |
else : |
20121 |
else : |
11499 |
have_GLX=no |
20122 |
have_GLX=no |
11500 |
fi |
20123 |
fi |
11501 |
|
20124 |
|
11502 |
echo $ac_n "checking for library containing glutMainLoop""... $ac_c" 1>&6 |
20125 |
echo "$as_me:$LINENO: checking for library containing glutMainLoop" >&5 |
11503 |
echo "configure:11504: checking for library containing glutMainLoop" >&5 |
20126 |
echo $ECHO_N "checking for library containing glutMainLoop... $ECHO_C" >&6 |
11504 |
if eval "test \"`echo '$''{'ac_cv_search_glutMainLoop'+set}'`\" = set"; then |
20127 |
if test "${ac_cv_search_glutMainLoop+set}" = set; then |
11505 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20128 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11506 |
else |
20129 |
else |
11507 |
ac_func_search_save_LIBS="$LIBS" |
20130 |
ac_func_search_save_LIBS="$LIBS" |
11508 |
ac_cv_search_glutMainLoop="no" |
20131 |
ac_cv_search_glutMainLoop="no" |
11509 |
cat > conftest.$ac_ext <<EOF |
20132 |
cat >conftest.$ac_ext <<_ACEOF |
11510 |
#line 11511 "configure" |
20133 |
#line $LINENO "configure" |
11511 |
#include "confdefs.h" |
20134 |
#include "confdefs.h" |
11512 |
#include <GL/glut.h> |
20135 |
#include <GL/glut.h> |
11513 |
int main() { |
20136 |
#ifdef F77_DUMMY_MAIN |
|
|
20137 |
# ifdef __cplusplus |
20138 |
extern "C" |
20139 |
# endif |
20140 |
int F77_DUMMY_MAIN() { return 1; } |
20141 |
#endif |
20142 |
int |
20143 |
main () |
20144 |
{ |
11514 |
glutMainLoop() |
20145 |
glutMainLoop() |
11515 |
; return 0; } |
20146 |
; |
11516 |
EOF |
20147 |
return 0; |
11517 |
if { (eval echo configure:11518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20148 |
} |
11518 |
rm -rf conftest* |
20149 |
_ACEOF |
|
|
20150 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20151 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20152 |
(eval $ac_link) 2>&5 |
20153 |
ac_status=$? |
20154 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20155 |
(exit $ac_status); } && |
20156 |
{ ac_try='test -s conftest$ac_exeext' |
20157 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20158 |
(eval $ac_try) 2>&5 |
20159 |
ac_status=$? |
20160 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20161 |
(exit $ac_status); }; }; then |
11519 |
ac_cv_search_glutMainLoop="none required" |
20162 |
ac_cv_search_glutMainLoop="none required" |
11520 |
else |
20163 |
else |
11521 |
echo "configure: failed program was:" >&5 |
20164 |
echo "$as_me: failed program was:" >&5 |
11522 |
cat conftest.$ac_ext >&5 |
20165 |
cat conftest.$ac_ext >&5 |
11523 |
fi |
20166 |
fi |
11524 |
rm -f conftest* |
20167 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11525 |
test "$ac_cv_search_glutMainLoop" = "no" && for i in glut glut32; do |
20168 |
test "$ac_cv_search_glutMainLoop" = "no" && for i in glut glut32; do |
11526 |
LIBS="-l$i $ac_func_search_save_LIBS" |
20169 |
LIBS="-l$i $ac_func_search_save_LIBS" |
11527 |
cat > conftest.$ac_ext <<EOF |
20170 |
cat >conftest.$ac_ext <<_ACEOF |
11528 |
#line 11529 "configure" |
20171 |
#line $LINENO "configure" |
11529 |
#include "confdefs.h" |
20172 |
#include "confdefs.h" |
11530 |
#include <GL/glut.h> |
20173 |
#include <GL/glut.h> |
11531 |
int main() { |
20174 |
#ifdef F77_DUMMY_MAIN |
|
|
20175 |
# ifdef __cplusplus |
20176 |
extern "C" |
20177 |
# endif |
20178 |
int F77_DUMMY_MAIN() { return 1; } |
20179 |
#endif |
20180 |
int |
20181 |
main () |
20182 |
{ |
11532 |
glutMainLoop() |
20183 |
glutMainLoop() |
11533 |
; return 0; } |
20184 |
; |
11534 |
EOF |
20185 |
return 0; |
11535 |
if { (eval echo configure:11536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20186 |
} |
11536 |
rm -rf conftest* |
20187 |
_ACEOF |
|
|
20188 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20189 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20190 |
(eval $ac_link) 2>&5 |
20191 |
ac_status=$? |
20192 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20193 |
(exit $ac_status); } && |
20194 |
{ ac_try='test -s conftest$ac_exeext' |
20195 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20196 |
(eval $ac_try) 2>&5 |
20197 |
ac_status=$? |
20198 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20199 |
(exit $ac_status); }; }; then |
11537 |
ac_cv_search_glutMainLoop="-l$i" |
20200 |
ac_cv_search_glutMainLoop="-l$i" |
11538 |
break |
20201 |
break |
11539 |
else |
20202 |
else |
11540 |
echo "configure: failed program was:" >&5 |
20203 |
echo "$as_me: failed program was:" >&5 |
11541 |
cat conftest.$ac_ext >&5 |
20204 |
cat conftest.$ac_ext >&5 |
11542 |
fi |
20205 |
fi |
11543 |
rm -f conftest* |
20206 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
11544 |
done |
20207 |
done |
11545 |
LIBS="$ac_func_search_save_LIBS" |
20208 |
LIBS="$ac_func_search_save_LIBS" |
11546 |
fi |
20209 |
fi |
11547 |
|
20210 |
echo "$as_me:$LINENO: result: $ac_cv_search_glutMainLoop" >&5 |
11548 |
echo "$ac_t""$ac_cv_search_glutMainLoop" 1>&6 |
20211 |
echo "${ECHO_T}$ac_cv_search_glutMainLoop" >&6 |
11549 |
if test "$ac_cv_search_glutMainLoop" != "no"; then |
20212 |
if test "$ac_cv_search_glutMainLoop" != "no"; then |
11550 |
test "$ac_cv_search_glutMainLoop" = "none required" || LIBS="$ac_cv_search_glutMainLoop $LIBS" |
20213 |
test "$ac_cv_search_glutMainLoop" = "none required" || LIBS="$ac_cv_search_glutMainLoop $LIBS" |
11551 |
have_glut=yes |
20214 |
have_glut=yes |
Lines 11560-11587
Link Here
|
11560 |
GL_CFLAGS= |
20223 |
GL_CFLAGS= |
11561 |
fi |
20224 |
fi |
11562 |
|
20225 |
|
11563 |
echo $ac_n "checking OpenGL flags""... $ac_c" 1>&6 |
20226 |
echo "$as_me:$LINENO: checking OpenGL flags" >&5 |
11564 |
echo "configure:11565: checking OpenGL flags" >&5 |
20227 |
echo $ECHO_N "checking OpenGL flags... $ECHO_C" >&6 |
11565 |
if eval "test \"`echo '$''{'mdl_cv_gl_cflags'+set}'`\" = set"; then |
20228 |
if test "${mdl_cv_gl_cflags+set}" = set; then |
11566 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20229 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11567 |
else |
20230 |
else |
11568 |
mdl_cv_gl_cflags="$GL_CFLAGS" |
20231 |
mdl_cv_gl_cflags="$GL_CFLAGS" |
11569 |
fi |
20232 |
fi |
11570 |
|
20233 |
echo "$as_me:$LINENO: result: $mdl_cv_gl_cflags" >&5 |
11571 |
echo "$ac_t""$mdl_cv_gl_cflags" 1>&6 |
20234 |
echo "${ECHO_T}$mdl_cv_gl_cflags" >&6 |
11572 |
GL_CFLAGS="$mdl_cv_gl_cflags" |
20235 |
GL_CFLAGS="$mdl_cv_gl_cflags" |
11573 |
|
20236 |
|
11574 |
echo $ac_n "checking OpenGL libs""... $ac_c" 1>&6 |
20237 |
echo "$as_me:$LINENO: checking OpenGL libs" >&5 |
11575 |
echo "configure:11576: checking OpenGL libs" >&5 |
20238 |
echo $ECHO_N "checking OpenGL libs... $ECHO_C" >&6 |
11576 |
if eval "test \"`echo '$''{'mdl_cv_gl_libs'+set}'`\" = set"; then |
20239 |
if test "${mdl_cv_gl_libs+set}" = set; then |
11577 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20240 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11578 |
else |
20241 |
else |
11579 |
mdl_cv_gl_libs="$GL_LIBS" |
20242 |
mdl_cv_gl_libs="$GL_LIBS" |
11580 |
fi |
20243 |
fi |
11581 |
|
20244 |
echo "$as_me:$LINENO: result: $mdl_cv_gl_libs" >&5 |
11582 |
echo "$ac_t""$mdl_cv_gl_libs" 1>&6 |
20245 |
echo "${ECHO_T}$mdl_cv_gl_libs" >&6 |
11583 |
GL_LIBS="$mdl_cv_gl_libs" |
20246 |
GL_LIBS="$mdl_cv_gl_libs" |
11584 |
|
20247 |
|
11585 |
|
20248 |
|
11586 |
GL_X_LIBS= |
20249 |
GL_X_LIBS= |
11587 |
|
20250 |
|
Lines 11589-11711
Link Here
|
11589 |
CPPFLAGS="$GL_save_CPPFLAGS" |
20252 |
CPPFLAGS="$GL_save_CPPFLAGS" |
11590 |
|
20253 |
|
11591 |
ac_ext=c |
20254 |
ac_ext=c |
11592 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
|
|
11593 |
ac_cpp='$CPP $CPPFLAGS' |
20255 |
ac_cpp='$CPP $CPPFLAGS' |
11594 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
20256 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
11595 |
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
20257 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
11596 |
cross_compiling=$ac_cv_prog_cc_cross |
20258 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
11597 |
|
20259 |
|
11598 |
|
20260 |
|
11599 |
|
20261 |
|
11600 |
|
20262 |
|
11601 |
|
20263 |
|
11602 |
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
20264 |
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 |
11603 |
echo "configure:11604: checking for dlopen in -ldl" >&5 |
20265 |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 |
11604 |
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
20266 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then |
11605 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
20267 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11606 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
11607 |
else |
20268 |
else |
11608 |
ac_save_LIBS="$LIBS" |
20269 |
ac_check_lib_save_LIBS=$LIBS |
11609 |
LIBS="-ldl $LIBS" |
20270 |
LIBS="-ldl $LIBS" |
11610 |
cat > conftest.$ac_ext <<EOF |
20271 |
cat >conftest.$ac_ext <<_ACEOF |
11611 |
#line 11612 "configure" |
20272 |
#line $LINENO "configure" |
11612 |
#include "confdefs.h" |
20273 |
#include "confdefs.h" |
|
|
20274 |
|
11613 |
/* Override any gcc2 internal prototype to avoid an error. */ |
20275 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
20276 |
#ifdef __cplusplus |
20277 |
extern "C" |
20278 |
#endif |
11614 |
/* We use char because int might match the return type of a gcc2 |
20279 |
/* We use char because int might match the return type of a gcc2 |
11615 |
builtin and then its argument prototype would still apply. */ |
20280 |
builtin and then its argument prototype would still apply. */ |
11616 |
char dlopen(); |
20281 |
char dlopen (); |
11617 |
|
20282 |
#ifdef F77_DUMMY_MAIN |
11618 |
int main() { |
20283 |
# ifdef __cplusplus |
11619 |
dlopen() |
20284 |
extern "C" |
11620 |
; return 0; } |
20285 |
# endif |
11621 |
EOF |
20286 |
int F77_DUMMY_MAIN() { return 1; } |
11622 |
if { (eval echo configure:11623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20287 |
#endif |
11623 |
rm -rf conftest* |
20288 |
int |
11624 |
eval "ac_cv_lib_$ac_lib_var=yes" |
20289 |
main () |
11625 |
else |
20290 |
{ |
11626 |
echo "configure: failed program was:" >&5 |
20291 |
dlopen (); |
11627 |
cat conftest.$ac_ext >&5 |
20292 |
; |
11628 |
rm -rf conftest* |
20293 |
return 0; |
11629 |
eval "ac_cv_lib_$ac_lib_var=no" |
20294 |
} |
11630 |
fi |
20295 |
_ACEOF |
11631 |
rm -f conftest* |
20296 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11632 |
LIBS="$ac_save_LIBS" |
20297 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11633 |
|
20298 |
(eval $ac_link) 2>&5 |
11634 |
fi |
20299 |
ac_status=$? |
11635 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
20300 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11636 |
echo "$ac_t""yes" 1>&6 |
20301 |
(exit $ac_status); } && |
|
|
20302 |
{ ac_try='test -s conftest$ac_exeext' |
20303 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20304 |
(eval $ac_try) 2>&5 |
20305 |
ac_status=$? |
20306 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20307 |
(exit $ac_status); }; }; then |
20308 |
ac_cv_lib_dl_dlopen=yes |
20309 |
else |
20310 |
echo "$as_me: failed program was:" >&5 |
20311 |
cat conftest.$ac_ext >&5 |
20312 |
ac_cv_lib_dl_dlopen=no |
20313 |
fi |
20314 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
20315 |
LIBS=$ac_check_lib_save_LIBS |
20316 |
fi |
20317 |
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 |
20318 |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 |
20319 |
if test $ac_cv_lib_dl_dlopen = yes; then |
11637 |
HaveLibDL=YES |
20320 |
HaveLibDL=YES |
11638 |
cat >> confdefs.h <<\EOF |
20321 |
cat >>confdefs.h <<\_ACEOF |
11639 |
#define HAVE_LIBDL 1 |
20322 |
#define HAVE_LIBDL 1 |
11640 |
EOF |
20323 |
_ACEOF |
11641 |
|
20324 |
|
11642 |
LIBS="$LIBS -ldl" |
20325 |
LIBS="$LIBS -ldl" |
11643 |
else |
20326 |
else |
11644 |
echo "$ac_t""no" 1>&6 |
20327 |
HaveLibDL=NO |
11645 |
HaveLibDL=NO |
|
|
11646 |
fi |
20328 |
fi |
11647 |
|
20329 |
|
|
|
20330 |
|
11648 |
for ac_func in dlopen |
20331 |
for ac_func in dlopen |
11649 |
do |
20332 |
do |
11650 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
20333 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
11651 |
echo "configure:11652: checking for $ac_func" >&5 |
20334 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
11652 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
20335 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
11653 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20336 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
20337 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11654 |
else |
20338 |
else |
11655 |
cat > conftest.$ac_ext <<EOF |
20339 |
cat >conftest.$ac_ext <<_ACEOF |
11656 |
#line 11657 "configure" |
20340 |
#line $LINENO "configure" |
11657 |
#include "confdefs.h" |
20341 |
#include "confdefs.h" |
11658 |
/* System header to define __stub macros and hopefully few prototypes, |
20342 |
/* System header to define __stub macros and hopefully few prototypes, |
11659 |
which can conflict with char $ac_func(); below. */ |
20343 |
which can conflict with char $ac_func (); below. */ |
11660 |
#include <assert.h> |
20344 |
#include <assert.h> |
11661 |
/* Override any gcc2 internal prototype to avoid an error. */ |
20345 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
20346 |
#ifdef __cplusplus |
20347 |
extern "C" |
20348 |
#endif |
11662 |
/* We use char because int might match the return type of a gcc2 |
20349 |
/* We use char because int might match the return type of a gcc2 |
11663 |
builtin and then its argument prototype would still apply. */ |
20350 |
builtin and then its argument prototype would still apply. */ |
11664 |
char $ac_func(); |
20351 |
char $ac_func (); |
11665 |
|
20352 |
char (*f) (); |
11666 |
int main() { |
20353 |
|
11667 |
|
20354 |
#ifdef F77_DUMMY_MAIN |
|
|
20355 |
# ifdef __cplusplus |
20356 |
extern "C" |
20357 |
# endif |
20358 |
int F77_DUMMY_MAIN() { return 1; } |
20359 |
#endif |
20360 |
int |
20361 |
main () |
20362 |
{ |
11668 |
/* The GNU C library defines this for functions which it implements |
20363 |
/* The GNU C library defines this for functions which it implements |
11669 |
to always fail with ENOSYS. Some functions are actually named |
20364 |
to always fail with ENOSYS. Some functions are actually named |
11670 |
something starting with __ and the normal name is an alias. */ |
20365 |
something starting with __ and the normal name is an alias. */ |
11671 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20366 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
11672 |
choke me |
20367 |
choke me |
11673 |
#else |
20368 |
#else |
11674 |
$ac_func(); |
20369 |
f = $ac_func; |
11675 |
#endif |
20370 |
#endif |
11676 |
|
20371 |
|
11677 |
; return 0; } |
20372 |
; |
11678 |
EOF |
20373 |
return 0; |
11679 |
if { (eval echo configure:11680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20374 |
} |
11680 |
rm -rf conftest* |
20375 |
_ACEOF |
11681 |
eval "ac_cv_func_$ac_func=yes" |
20376 |
rm -f conftest.$ac_objext conftest$ac_exeext |
11682 |
else |
20377 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11683 |
echo "configure: failed program was:" >&5 |
20378 |
(eval $ac_link) 2>&5 |
11684 |
cat conftest.$ac_ext >&5 |
20379 |
ac_status=$? |
11685 |
rm -rf conftest* |
20380 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11686 |
eval "ac_cv_func_$ac_func=no" |
20381 |
(exit $ac_status); } && |
11687 |
fi |
20382 |
{ ac_try='test -s conftest$ac_exeext' |
11688 |
rm -f conftest* |
20383 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
11689 |
fi |
20384 |
(eval $ac_try) 2>&5 |
|
|
20385 |
ac_status=$? |
20386 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20387 |
(exit $ac_status); }; }; then |
20388 |
eval "$as_ac_var=yes" |
20389 |
else |
20390 |
echo "$as_me: failed program was:" >&5 |
20391 |
cat conftest.$ac_ext >&5 |
20392 |
eval "$as_ac_var=no" |
20393 |
fi |
20394 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
20395 |
fi |
20396 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20397 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20398 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
20399 |
cat >>confdefs.h <<_ACEOF |
20400 |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
20401 |
_ACEOF |
11690 |
|
20402 |
|
11691 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
|
|
11692 |
echo "$ac_t""yes" 1>&6 |
11693 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
11694 |
cat >> confdefs.h <<EOF |
11695 |
#define $ac_tr_func 1 |
11696 |
EOF |
11697 |
|
11698 |
else |
11699 |
echo "$ac_t""no" 1>&6 |
11700 |
fi |
20403 |
fi |
11701 |
done |
20404 |
done |
11702 |
|
20405 |
|
11703 |
|
20406 |
|
11704 |
|
20407 |
|
11705 |
echo $ac_n "checking for RTLD_NEXT from dlfcn.h""... $ac_c" 1>&6 |
20408 |
echo "$as_me:$LINENO: checking for RTLD_NEXT from dlfcn.h" >&5 |
11706 |
echo "configure:11707: checking for RTLD_NEXT from dlfcn.h" >&5 |
20409 |
echo $ECHO_N "checking for RTLD_NEXT from dlfcn.h... $ECHO_C" >&6 |
11707 |
cat > conftest.$ac_ext <<EOF |
20410 |
cat >conftest.$ac_ext <<_ACEOF |
11708 |
#line 11709 "configure" |
20411 |
#line $LINENO "configure" |
11709 |
#include "confdefs.h" |
20412 |
#include "confdefs.h" |
11710 |
|
20413 |
|
11711 |
#include <dlfcn.h> |
20414 |
#include <dlfcn.h> |
Lines 11713-11745
Link Here
|
11713 |
yes |
20416 |
yes |
11714 |
#endif |
20417 |
#endif |
11715 |
|
20418 |
|
11716 |
EOF |
20419 |
_ACEOF |
11717 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
20420 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11718 |
egrep "yes" >/dev/null 2>&1; then |
20421 |
egrep "yes" >/dev/null 2>&1; then |
11719 |
rm -rf conftest* |
20422 |
|
11720 |
|
20423 |
echo "$as_me:$LINENO: result: yes" >&5 |
11721 |
echo "$ac_t""yes" 1>&6 |
20424 |
echo "${ECHO_T}yes" >&6 |
11722 |
cat >> confdefs.h <<\EOF |
20425 |
cat >>confdefs.h <<\_ACEOF |
11723 |
#define HAVE_RTLDNEXT 1 |
20426 |
#define HAVE_RTLDNEXT 1 |
11724 |
EOF |
20427 |
_ACEOF |
11725 |
|
20428 |
|
11726 |
HaveRtldNext=YES |
20429 |
HaveRtldNext=YES |
11727 |
|
20430 |
|
11728 |
else |
20431 |
else |
11729 |
rm -rf conftest* |
20432 |
|
11730 |
|
20433 |
echo "$as_me:$LINENO: result: no" >&5 |
11731 |
echo "$ac_t""no" 1>&6 |
20434 |
echo "${ECHO_T}no" >&6 |
11732 |
HaveRtldNext=NO |
20435 |
HaveRtldNext=NO |
11733 |
|
20436 |
|
11734 |
fi |
20437 |
fi |
11735 |
rm -f conftest* |
20438 |
rm -f conftest* |
11736 |
|
|
|
11737 |
|
20439 |
|
11738 |
|
20440 |
|
11739 |
echo $ac_n "checking for RTLD_LOCAL from dlfcn.h""... $ac_c" 1>&6 |
20441 |
|
11740 |
echo "configure:11741: checking for RTLD_LOCAL from dlfcn.h" >&5 |
20442 |
echo "$as_me:$LINENO: checking for RTLD_LOCAL from dlfcn.h" >&5 |
11741 |
cat > conftest.$ac_ext <<EOF |
20443 |
echo $ECHO_N "checking for RTLD_LOCAL from dlfcn.h... $ECHO_C" >&6 |
11742 |
#line 11743 "configure" |
20444 |
cat >conftest.$ac_ext <<_ACEOF |
|
|
20445 |
#line $LINENO "configure" |
11743 |
#include "confdefs.h" |
20446 |
#include "confdefs.h" |
11744 |
|
20447 |
|
11745 |
#include <dlfcn.h> |
20448 |
#include <dlfcn.h> |
Lines 11747-11791
Link Here
|
11747 |
yes |
20450 |
yes |
11748 |
#endif |
20451 |
#endif |
11749 |
|
20452 |
|
11750 |
EOF |
20453 |
_ACEOF |
11751 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
20454 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
11752 |
egrep "yes" >/dev/null 2>&1; then |
20455 |
egrep "yes" >/dev/null 2>&1; then |
11753 |
rm -rf conftest* |
20456 |
|
11754 |
|
20457 |
echo "$as_me:$LINENO: result: yes" >&5 |
11755 |
echo "$ac_t""yes" 1>&6 |
20458 |
echo "${ECHO_T}yes" >&6 |
11756 |
cat >> confdefs.h <<\EOF |
20459 |
cat >>confdefs.h <<\_ACEOF |
11757 |
#define HAVE_RTLDLOCAL 1 |
20460 |
#define HAVE_RTLDLOCAL 1 |
11758 |
EOF |
20461 |
_ACEOF |
11759 |
|
20462 |
|
11760 |
HaveRtldLocal=YES |
20463 |
HaveRtldLocal=YES |
11761 |
|
20464 |
|
11762 |
else |
20465 |
else |
11763 |
rm -rf conftest* |
20466 |
|
11764 |
|
20467 |
echo "$as_me:$LINENO: result: no" >&5 |
11765 |
echo "$ac_t""no" 1>&6 |
20468 |
echo "${ECHO_T}no" >&6 |
11766 |
HaveRtldLocal=NO |
20469 |
HaveRtldLocal=NO |
11767 |
|
20470 |
|
11768 |
fi |
20471 |
fi |
11769 |
rm -f conftest* |
20472 |
rm -f conftest* |
11770 |
|
|
|
11771 |
|
20473 |
|
11772 |
|
20474 |
|
11773 |
echo $ac_n "checking for function_atan""... $ac_c" 1>&6 |
20475 |
|
11774 |
echo "configure:11775: checking for function_atan" >&5 |
20476 |
echo "$as_me:$LINENO: checking for function_atan" >&5 |
11775 |
if eval "test \"`echo '$''{'ac_cv_flag_function_atan'+set}'`\" = set"; then |
20477 |
echo $ECHO_N "checking for function_atan... $ECHO_C" >&6 |
11776 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20478 |
if test "${ac_cv_flag_function_atan+set}" = set; then |
|
|
20479 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11777 |
else |
20480 |
else |
11778 |
|
20481 |
|
11779 |
ac_save_LIBS="$LIBS" |
20482 |
ac_save_LIBS="$LIBS" |
11780 |
LIBS=""; |
20483 |
LIBS=""; |
11781 |
cat > conftest.$ac_ext <<EOF |
20484 |
cat > conftest.$ac_ext <<EOF |
11782 |
#line 11783 "configure" |
20485 |
#line 20485 "configure" |
11783 |
#include "confdefs.h" |
20486 |
#include "confdefs.h" |
11784 |
main() { extern char atan(); atan();; exit(0); } |
20487 |
main() { extern char atan(); atan();; exit(0); } |
11785 |
int t() { return 0; } |
20488 |
int t() { return 0; } |
11786 |
EOF |
20489 |
EOF |
11787 |
if { (eval echo configure:11788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
20490 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11788 |
|
20491 |
(eval $ac_link) 2>&5 |
|
|
20492 |
ac_status=$? |
20493 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20494 |
(exit $ac_status); }; then |
20495 |
|
11789 |
LIBS="$ac_save_LIBS" |
20496 |
LIBS="$ac_save_LIBS" |
11790 |
rm -rf conftest* |
20497 |
rm -rf conftest* |
11791 |
eval "ac_cv_flag_function_atan=yes" |
20498 |
eval "ac_cv_flag_function_atan=yes" |
Lines 11793-11833
Link Here
|
11793 |
LIBS="$ac_save_LIBS" |
20500 |
LIBS="$ac_save_LIBS" |
11794 |
rm -rf conftest* |
20501 |
rm -rf conftest* |
11795 |
eval "ac_cv_flag_function_atan=no" |
20502 |
eval "ac_cv_flag_function_atan=no" |
11796 |
|
20503 |
|
11797 |
fi |
20504 |
fi |
11798 |
rm -f conftest* |
20505 |
rm -f conftest* |
11799 |
|
20506 |
|
11800 |
|
20507 |
|
11801 |
|
20508 |
|
11802 |
fi |
20509 |
fi |
11803 |
|
20510 |
|
11804 |
if eval "test \"`echo '$ac_cv_flag_'function_atan`\" = yes"; then |
20511 |
if eval "test \"`echo '$ac_cv_flag_'function_atan`\" = yes"; then |
11805 |
echo "$ac_t""yes" 1>&6 |
20512 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
20513 |
echo "${ECHO_T}yes" >&6 |
11806 |
LIBS=" $LIBS" |
20514 |
LIBS=" $LIBS" |
11807 |
ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
20515 |
ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
11808 |
cat >> confdefs.h <<EOF |
20516 |
cat >>confdefs.h <<_ACEOF |
11809 |
#define $ac_tr_lib 1 |
20517 |
#define $ac_tr_lib 1 |
11810 |
EOF |
20518 |
_ACEOF |
11811 |
|
20519 |
|
11812 |
|
20520 |
|
11813 |
else |
20521 |
else |
11814 |
echo "$ac_t""no" 1>&6 |
20522 |
echo "$as_me:$LINENO: result: no" >&5 |
11815 |
echo $ac_n "checking for library_m""... $ac_c" 1>&6 |
20523 |
echo "${ECHO_T}no" >&6 |
11816 |
echo "configure:11817: checking for library_m" >&5 |
20524 |
echo "$as_me:$LINENO: checking for library_m" >&5 |
11817 |
if eval "test \"`echo '$''{'ac_cv_flag_library_m'+set}'`\" = set"; then |
20525 |
echo $ECHO_N "checking for library_m... $ECHO_C" >&6 |
11818 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20526 |
if test "${ac_cv_flag_library_m+set}" = set; then |
|
|
20527 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11819 |
else |
20528 |
else |
11820 |
|
20529 |
|
11821 |
ac_save_LIBS="$LIBS" |
20530 |
ac_save_LIBS="$LIBS" |
11822 |
LIBS="-lm"; |
20531 |
LIBS="-lm"; |
11823 |
cat > conftest.$ac_ext <<EOF |
20532 |
cat > conftest.$ac_ext <<EOF |
11824 |
#line 11825 "configure" |
20533 |
#line 20533 "configure" |
11825 |
#include "confdefs.h" |
20534 |
#include "confdefs.h" |
11826 |
main() { extern char atan(); atan();; exit(0); } |
20535 |
main() { extern char atan(); atan();; exit(0); } |
11827 |
int t() { return 0; } |
20536 |
int t() { return 0; } |
11828 |
EOF |
20537 |
EOF |
11829 |
if { (eval echo configure:11830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
20538 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
11830 |
|
20539 |
(eval $ac_link) 2>&5 |
|
|
20540 |
ac_status=$? |
20541 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20542 |
(exit $ac_status); }; then |
20543 |
|
11831 |
LIBS="$ac_save_LIBS" |
20544 |
LIBS="$ac_save_LIBS" |
11832 |
rm -rf conftest* |
20545 |
rm -rf conftest* |
11833 |
eval "ac_cv_flag_library_m=yes" |
20546 |
eval "ac_cv_flag_library_m=yes" |
Lines 11835-11860
Link Here
|
11835 |
LIBS="$ac_save_LIBS" |
20548 |
LIBS="$ac_save_LIBS" |
11836 |
rm -rf conftest* |
20549 |
rm -rf conftest* |
11837 |
eval "ac_cv_flag_library_m=no" |
20550 |
eval "ac_cv_flag_library_m=no" |
11838 |
|
20551 |
|
11839 |
fi |
20552 |
fi |
11840 |
rm -f conftest* |
20553 |
rm -f conftest* |
11841 |
|
20554 |
|
11842 |
|
20555 |
|
11843 |
|
20556 |
|
11844 |
fi |
20557 |
fi |
11845 |
|
20558 |
|
11846 |
if eval "test \"`echo '$ac_cv_flag_'library_m`\" = yes"; then |
20559 |
if eval "test \"`echo '$ac_cv_flag_'library_m`\" = yes"; then |
11847 |
echo "$ac_t""yes" 1>&6 |
20560 |
echo "$as_me:$LINENO: result: yes" >&5 |
|
|
20561 |
echo "${ECHO_T}yes" >&6 |
11848 |
LIBS="-lm $LIBS" |
20562 |
LIBS="-lm $LIBS" |
11849 |
ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
20563 |
ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
11850 |
cat >> confdefs.h <<EOF |
20564 |
cat >>confdefs.h <<_ACEOF |
11851 |
#define $ac_tr_lib 1 |
20565 |
#define $ac_tr_lib 1 |
11852 |
EOF |
20566 |
_ACEOF |
11853 |
|
20567 |
|
11854 |
|
20568 |
|
11855 |
else |
20569 |
else |
11856 |
echo "$ac_t""no" 1>&6 |
20570 |
echo "$as_me:$LINENO: result: no" >&5 |
11857 |
|
20571 |
echo "${ECHO_T}no" >&6 |
|
|
20572 |
|
11858 |
|
20573 |
|
11859 |
fi |
20574 |
fi |
11860 |
|
20575 |
|
Lines 11865-11920
Link Here
|
11865 |
|
20580 |
|
11866 |
for ac_prog in gtk-config gtk12-config |
20581 |
for ac_prog in gtk-config gtk12-config |
11867 |
do |
20582 |
do |
11868 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
20583 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
11869 |
set dummy $ac_prog; ac_word=$2 |
20584 |
set dummy $ac_prog; ac_word=$2 |
11870 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
20585 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11871 |
echo "configure:11872: checking for $ac_word" >&5 |
20586 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
11872 |
if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
20587 |
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then |
11873 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20588 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11874 |
else |
20589 |
else |
11875 |
case "$GTK_CONFIG" in |
20590 |
case $GTK_CONFIG in |
11876 |
/*) |
20591 |
[\\/]* | ?:[\\/]*) |
11877 |
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
20592 |
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path. |
11878 |
;; |
20593 |
;; |
11879 |
?:/*) |
|
|
11880 |
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a dos path. |
11881 |
;; |
11882 |
*) |
20594 |
*) |
11883 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
20595 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
11884 |
ac_dummy="$PATH" |
20596 |
for as_dir in $PATH |
11885 |
for ac_dir in $ac_dummy; do |
20597 |
do |
11886 |
test -z "$ac_dir" && ac_dir=. |
20598 |
IFS=$as_save_IFS |
11887 |
if test -f $ac_dir/$ac_word; then |
20599 |
test -z "$as_dir" && as_dir=. |
11888 |
ac_cv_path_GTK_CONFIG="$ac_dir/$ac_word" |
20600 |
for ac_exec_ext in '' $ac_executable_extensions; do |
11889 |
break |
20601 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
11890 |
fi |
20602 |
ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
11891 |
done |
20603 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
11892 |
IFS="$ac_save_ifs" |
20604 |
break 2 |
|
|
20605 |
fi |
20606 |
done |
20607 |
done |
20608 |
|
11893 |
;; |
20609 |
;; |
11894 |
esac |
20610 |
esac |
11895 |
fi |
20611 |
fi |
11896 |
GTK_CONFIG="$ac_cv_path_GTK_CONFIG" |
20612 |
GTK_CONFIG=$ac_cv_path_GTK_CONFIG |
|
|
20613 |
|
11897 |
if test -n "$GTK_CONFIG"; then |
20614 |
if test -n "$GTK_CONFIG"; then |
11898 |
echo "$ac_t""$GTK_CONFIG" 1>&6 |
20615 |
echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5 |
|
|
20616 |
echo "${ECHO_T}$GTK_CONFIG" >&6 |
11899 |
else |
20617 |
else |
11900 |
echo "$ac_t""no" 1>&6 |
20618 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
20619 |
echo "${ECHO_T}no" >&6 |
11901 |
fi |
20620 |
fi |
11902 |
|
20621 |
|
11903 |
test -n "$GTK_CONFIG" && break |
20622 |
test -n "$GTK_CONFIG" && break |
11904 |
done |
20623 |
done |
11905 |
|
20624 |
|
11906 |
if test "$GTK_CONFIG" != ""; then |
20625 |
if test "$GTK_CONFIG" != ""; then |
11907 |
echo $ac_n "checking for version of GTK+""... $ac_c" 1>&6 |
20626 |
echo "$as_me:$LINENO: checking for version of GTK+" >&5 |
11908 |
echo "configure:11909: checking for version of GTK+" >&5 |
20627 |
echo $ECHO_N "checking for version of GTK+... $ECHO_C" >&6 |
11909 |
if eval "test \"`echo '$''{'fptools_cv_gtk_version'+set}'`\" = set"; then |
20628 |
if test "${fptools_cv_gtk_version+set}" = set; then |
11910 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20629 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11911 |
else |
20630 |
else |
11912 |
|
20631 |
|
11913 |
fptools_cv_gtk_version=`$GTK_CONFIG --version` |
20632 |
fptools_cv_gtk_version=`$GTK_CONFIG --version` |
11914 |
|
|
|
11915 |
fi |
11916 |
|
20633 |
|
11917 |
echo "$ac_t""$fptools_cv_gtk_version" 1>&6 |
20634 |
fi |
|
|
20635 |
echo "$as_me:$LINENO: result: $fptools_cv_gtk_version" >&5 |
20636 |
echo "${ECHO_T}$fptools_cv_gtk_version" >&6 |
11918 |
GTK_VERSION=$fptools_cv_gtk_version |
20637 |
GTK_VERSION=$fptools_cv_gtk_version |
11919 |
else |
20638 |
else |
11920 |
GTK_VERSION= |
20639 |
GTK_VERSION= |
Lines 11922-11928
Link Here
|
11922 |
|
20641 |
|
11923 |
case $fptools_cv_gtk_version in |
20642 |
case $fptools_cv_gtk_version in |
11924 |
1.[23].*) ;; |
20643 |
1.[23].*) ;; |
11925 |
*) echo "configure: warning: GTK+ not usable; need at least version 1.2" 1>&2 |
20644 |
*) { echo "$as_me:$LINENO: WARNING: GTK+ not usable; need at least version 1.2" >&5 |
|
|
20645 |
echo "$as_me: WARNING: GTK+ not usable; need at least version 1.2" >&2;} |
11926 |
GTK_CONFIG= |
20646 |
GTK_CONFIG= |
11927 |
;; |
20647 |
;; |
11928 |
esac |
20648 |
esac |
Lines 11933-11980
Link Here
|
11933 |
|
20653 |
|
11934 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
20654 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works |
11935 |
# for constant arguments. Useless! |
20655 |
# for constant arguments. Useless! |
11936 |
echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 |
20656 |
echo "$as_me:$LINENO: checking for working alloca.h" >&5 |
11937 |
echo "configure:11938: checking for working alloca.h" >&5 |
20657 |
echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 |
11938 |
if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then |
20658 |
if test "${ac_cv_working_alloca_h+set}" = set; then |
11939 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20659 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11940 |
else |
20660 |
else |
11941 |
cat > conftest.$ac_ext <<EOF |
20661 |
cat >conftest.$ac_ext <<_ACEOF |
11942 |
#line 11943 "configure" |
20662 |
#line $LINENO "configure" |
11943 |
#include "confdefs.h" |
20663 |
#include "confdefs.h" |
11944 |
#include <alloca.h> |
20664 |
#include <alloca.h> |
11945 |
int main() { |
20665 |
#ifdef F77_DUMMY_MAIN |
11946 |
char *p = alloca(2 * sizeof(int)); |
20666 |
# ifdef __cplusplus |
11947 |
; return 0; } |
20667 |
extern "C" |
11948 |
EOF |
20668 |
# endif |
11949 |
if { (eval echo configure:11950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20669 |
int F77_DUMMY_MAIN() { return 1; } |
11950 |
rm -rf conftest* |
20670 |
#endif |
11951 |
ac_cv_header_alloca_h=yes |
20671 |
int |
11952 |
else |
20672 |
main () |
11953 |
echo "configure: failed program was:" >&5 |
20673 |
{ |
11954 |
cat conftest.$ac_ext >&5 |
20674 |
char *p = (char *) alloca (2 * sizeof (int)); |
11955 |
rm -rf conftest* |
20675 |
; |
11956 |
ac_cv_header_alloca_h=no |
20676 |
return 0; |
11957 |
fi |
20677 |
} |
11958 |
rm -f conftest* |
20678 |
_ACEOF |
11959 |
fi |
20679 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
20680 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20681 |
(eval $ac_link) 2>&5 |
20682 |
ac_status=$? |
20683 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20684 |
(exit $ac_status); } && |
20685 |
{ ac_try='test -s conftest$ac_exeext' |
20686 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20687 |
(eval $ac_try) 2>&5 |
20688 |
ac_status=$? |
20689 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20690 |
(exit $ac_status); }; }; then |
20691 |
ac_cv_working_alloca_h=yes |
20692 |
else |
20693 |
echo "$as_me: failed program was:" >&5 |
20694 |
cat conftest.$ac_ext >&5 |
20695 |
ac_cv_working_alloca_h=no |
20696 |
fi |
20697 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
20698 |
fi |
20699 |
echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 |
20700 |
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 |
20701 |
if test $ac_cv_working_alloca_h = yes; then |
11960 |
|
20702 |
|
11961 |
echo "$ac_t""$ac_cv_header_alloca_h" 1>&6 |
20703 |
cat >>confdefs.h <<\_ACEOF |
11962 |
if test $ac_cv_header_alloca_h = yes; then |
|
|
11963 |
cat >> confdefs.h <<\EOF |
11964 |
#define HAVE_ALLOCA_H 1 |
20704 |
#define HAVE_ALLOCA_H 1 |
11965 |
EOF |
20705 |
_ACEOF |
11966 |
|
20706 |
|
11967 |
fi |
20707 |
fi |
11968 |
|
20708 |
|
11969 |
echo $ac_n "checking for alloca""... $ac_c" 1>&6 |
20709 |
echo "$as_me:$LINENO: checking for alloca" >&5 |
11970 |
echo "configure:11971: checking for alloca" >&5 |
20710 |
echo $ECHO_N "checking for alloca... $ECHO_C" >&6 |
11971 |
if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then |
20711 |
if test "${ac_cv_func_alloca_works+set}" = set; then |
11972 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20712 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
11973 |
else |
20713 |
else |
11974 |
cat > conftest.$ac_ext <<EOF |
20714 |
cat >conftest.$ac_ext <<_ACEOF |
11975 |
#line 11976 "configure" |
20715 |
#line $LINENO "configure" |
11976 |
#include "confdefs.h" |
20716 |
#include "confdefs.h" |
11977 |
|
|
|
11978 |
#ifdef __GNUC__ |
20717 |
#ifdef __GNUC__ |
11979 |
# define alloca __builtin_alloca |
20718 |
# define alloca __builtin_alloca |
11980 |
#else |
20719 |
#else |
Lines 11996-12043
Link Here
|
11996 |
# endif |
20735 |
# endif |
11997 |
#endif |
20736 |
#endif |
11998 |
|
20737 |
|
11999 |
int main() { |
20738 |
#ifdef F77_DUMMY_MAIN |
12000 |
char *p = (char *) alloca(1); |
20739 |
# ifdef __cplusplus |
12001 |
; return 0; } |
20740 |
extern "C" |
12002 |
EOF |
20741 |
# endif |
12003 |
if { (eval echo configure:12004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20742 |
int F77_DUMMY_MAIN() { return 1; } |
12004 |
rm -rf conftest* |
20743 |
#endif |
|
|
20744 |
int |
20745 |
main () |
20746 |
{ |
20747 |
char *p = (char *) alloca (1); |
20748 |
; |
20749 |
return 0; |
20750 |
} |
20751 |
_ACEOF |
20752 |
rm -f conftest.$ac_objext conftest$ac_exeext |
20753 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
20754 |
(eval $ac_link) 2>&5 |
20755 |
ac_status=$? |
20756 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20757 |
(exit $ac_status); } && |
20758 |
{ ac_try='test -s conftest$ac_exeext' |
20759 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20760 |
(eval $ac_try) 2>&5 |
20761 |
ac_status=$? |
20762 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20763 |
(exit $ac_status); }; }; then |
12005 |
ac_cv_func_alloca_works=yes |
20764 |
ac_cv_func_alloca_works=yes |
12006 |
else |
20765 |
else |
12007 |
echo "configure: failed program was:" >&5 |
20766 |
echo "$as_me: failed program was:" >&5 |
12008 |
cat conftest.$ac_ext >&5 |
20767 |
cat conftest.$ac_ext >&5 |
12009 |
rm -rf conftest* |
20768 |
ac_cv_func_alloca_works=no |
12010 |
ac_cv_func_alloca_works=no |
|
|
12011 |
fi |
20769 |
fi |
12012 |
rm -f conftest* |
20770 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12013 |
fi |
20771 |
fi |
|
|
20772 |
echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 |
20773 |
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 |
12014 |
|
20774 |
|
12015 |
echo "$ac_t""$ac_cv_func_alloca_works" 1>&6 |
|
|
12016 |
if test $ac_cv_func_alloca_works = yes; then |
20775 |
if test $ac_cv_func_alloca_works = yes; then |
12017 |
cat >> confdefs.h <<\EOF |
|
|
12018 |
#define HAVE_ALLOCA 1 |
12019 |
EOF |
12020 |
|
20776 |
|
12021 |
fi |
20777 |
cat >>confdefs.h <<\_ACEOF |
|
|
20778 |
#define HAVE_ALLOCA 1 |
20779 |
_ACEOF |
12022 |
|
20780 |
|
12023 |
if test $ac_cv_func_alloca_works = no; then |
20781 |
else |
12024 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
20782 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions |
12025 |
# that cause trouble. Some versions do not even contain alloca or |
20783 |
# that cause trouble. Some versions do not even contain alloca or |
12026 |
# contain a buggy version. If you still want to use their alloca, |
20784 |
# contain a buggy version. If you still want to use their alloca, |
12027 |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
20785 |
# use ar to extract alloca.o from them instead of compiling alloca.c. |
12028 |
ALLOCA=alloca.${ac_objext} |
20786 |
|
12029 |
cat >> confdefs.h <<\EOF |
20787 |
ALLOCA=alloca.$ac_objext |
|
|
20788 |
|
20789 |
cat >>confdefs.h <<\_ACEOF |
12030 |
#define C_ALLOCA 1 |
20790 |
#define C_ALLOCA 1 |
12031 |
EOF |
20791 |
_ACEOF |
12032 |
|
20792 |
|
12033 |
|
20793 |
|
12034 |
echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 |
20794 |
echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 |
12035 |
echo "configure:12036: checking whether alloca needs Cray hooks" >&5 |
20795 |
echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 |
12036 |
if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then |
20796 |
if test "${ac_cv_os_cray+set}" = set; then |
12037 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20797 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12038 |
else |
20798 |
else |
12039 |
cat > conftest.$ac_ext <<EOF |
20799 |
cat >conftest.$ac_ext <<_ACEOF |
12040 |
#line 12041 "configure" |
20800 |
#line $LINENO "configure" |
12041 |
#include "confdefs.h" |
20801 |
#include "confdefs.h" |
12042 |
#if defined(CRAY) && ! defined(CRAY2) |
20802 |
#if defined(CRAY) && ! defined(CRAY2) |
12043 |
webecray |
20803 |
webecray |
Lines 12045-12132
Link Here
|
12045 |
wenotbecray |
20805 |
wenotbecray |
12046 |
#endif |
20806 |
#endif |
12047 |
|
20807 |
|
12048 |
EOF |
20808 |
_ACEOF |
12049 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
20809 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
12050 |
egrep "webecray" >/dev/null 2>&1; then |
20810 |
egrep "webecray" >/dev/null 2>&1; then |
12051 |
rm -rf conftest* |
|
|
12052 |
ac_cv_os_cray=yes |
20811 |
ac_cv_os_cray=yes |
12053 |
else |
20812 |
else |
12054 |
rm -rf conftest* |
|
|
12055 |
ac_cv_os_cray=no |
20813 |
ac_cv_os_cray=no |
12056 |
fi |
20814 |
fi |
12057 |
rm -f conftest* |
20815 |
rm -f conftest* |
12058 |
|
20816 |
|
12059 |
fi |
20817 |
fi |
12060 |
|
20818 |
echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 |
12061 |
echo "$ac_t""$ac_cv_os_cray" 1>&6 |
20819 |
echo "${ECHO_T}$ac_cv_os_cray" >&6 |
12062 |
if test $ac_cv_os_cray = yes; then |
20820 |
if test $ac_cv_os_cray = yes; then |
12063 |
for ac_func in _getb67 GETB67 getb67; do |
20821 |
for ac_func in _getb67 GETB67 getb67; do |
12064 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
20822 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
12065 |
echo "configure:12066: checking for $ac_func" >&5 |
20823 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
12066 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
20824 |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
12067 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20825 |
if eval "test \"\${$as_ac_var+set}\" = set"; then |
|
|
20826 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12068 |
else |
20827 |
else |
12069 |
cat > conftest.$ac_ext <<EOF |
20828 |
cat >conftest.$ac_ext <<_ACEOF |
12070 |
#line 12071 "configure" |
20829 |
#line $LINENO "configure" |
12071 |
#include "confdefs.h" |
20830 |
#include "confdefs.h" |
12072 |
/* System header to define __stub macros and hopefully few prototypes, |
20831 |
/* System header to define __stub macros and hopefully few prototypes, |
12073 |
which can conflict with char $ac_func(); below. */ |
20832 |
which can conflict with char $ac_func (); below. */ |
12074 |
#include <assert.h> |
20833 |
#include <assert.h> |
12075 |
/* Override any gcc2 internal prototype to avoid an error. */ |
20834 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
20835 |
#ifdef __cplusplus |
20836 |
extern "C" |
20837 |
#endif |
12076 |
/* We use char because int might match the return type of a gcc2 |
20838 |
/* We use char because int might match the return type of a gcc2 |
12077 |
builtin and then its argument prototype would still apply. */ |
20839 |
builtin and then its argument prototype would still apply. */ |
12078 |
char $ac_func(); |
20840 |
char $ac_func (); |
12079 |
|
20841 |
char (*f) (); |
12080 |
int main() { |
20842 |
|
12081 |
|
20843 |
#ifdef F77_DUMMY_MAIN |
|
|
20844 |
# ifdef __cplusplus |
20845 |
extern "C" |
20846 |
# endif |
20847 |
int F77_DUMMY_MAIN() { return 1; } |
20848 |
#endif |
20849 |
int |
20850 |
main () |
20851 |
{ |
12082 |
/* The GNU C library defines this for functions which it implements |
20852 |
/* The GNU C library defines this for functions which it implements |
12083 |
to always fail with ENOSYS. Some functions are actually named |
20853 |
to always fail with ENOSYS. Some functions are actually named |
12084 |
something starting with __ and the normal name is an alias. */ |
20854 |
something starting with __ and the normal name is an alias. */ |
12085 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
20855 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
12086 |
choke me |
20856 |
choke me |
12087 |
#else |
20857 |
#else |
12088 |
$ac_func(); |
20858 |
f = $ac_func; |
12089 |
#endif |
20859 |
#endif |
12090 |
|
20860 |
|
12091 |
; return 0; } |
20861 |
; |
12092 |
EOF |
20862 |
return 0; |
12093 |
if { (eval echo configure:12094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
20863 |
} |
12094 |
rm -rf conftest* |
20864 |
_ACEOF |
12095 |
eval "ac_cv_func_$ac_func=yes" |
20865 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12096 |
else |
20866 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12097 |
echo "configure: failed program was:" >&5 |
20867 |
(eval $ac_link) 2>&5 |
12098 |
cat conftest.$ac_ext >&5 |
20868 |
ac_status=$? |
12099 |
rm -rf conftest* |
20869 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12100 |
eval "ac_cv_func_$ac_func=no" |
20870 |
(exit $ac_status); } && |
12101 |
fi |
20871 |
{ ac_try='test -s conftest$ac_exeext' |
12102 |
rm -f conftest* |
20872 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
12103 |
fi |
20873 |
(eval $ac_try) 2>&5 |
|
|
20874 |
ac_status=$? |
20875 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20876 |
(exit $ac_status); }; }; then |
20877 |
eval "$as_ac_var=yes" |
20878 |
else |
20879 |
echo "$as_me: failed program was:" >&5 |
20880 |
cat conftest.$ac_ext >&5 |
20881 |
eval "$as_ac_var=no" |
20882 |
fi |
20883 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
20884 |
fi |
20885 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 |
20886 |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
20887 |
if test `eval echo '${'$as_ac_var'}'` = yes; then |
12104 |
|
20888 |
|
12105 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
20889 |
cat >>confdefs.h <<_ACEOF |
12106 |
echo "$ac_t""yes" 1>&6 |
|
|
12107 |
cat >> confdefs.h <<EOF |
12108 |
#define CRAY_STACKSEG_END $ac_func |
20890 |
#define CRAY_STACKSEG_END $ac_func |
12109 |
EOF |
20891 |
_ACEOF |
12110 |
|
20892 |
|
12111 |
break |
20893 |
break |
12112 |
else |
|
|
12113 |
echo "$ac_t""no" 1>&6 |
12114 |
fi |
20894 |
fi |
12115 |
|
20895 |
|
12116 |
done |
20896 |
done |
12117 |
fi |
20897 |
fi |
12118 |
|
20898 |
|
12119 |
echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 |
20899 |
echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 |
12120 |
echo "configure:12121: checking stack direction for C alloca" >&5 |
20900 |
echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 |
12121 |
if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then |
20901 |
if test "${ac_cv_c_stack_direction+set}" = set; then |
12122 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20902 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12123 |
else |
20903 |
else |
12124 |
if test "$cross_compiling" = yes; then |
20904 |
if test "$cross_compiling" = yes; then |
12125 |
ac_cv_c_stack_direction=0 |
20905 |
ac_cv_c_stack_direction=0 |
12126 |
else |
20906 |
else |
12127 |
cat > conftest.$ac_ext <<EOF |
20907 |
cat >conftest.$ac_ext <<_ACEOF |
12128 |
#line 12129 "configure" |
20908 |
#line $LINENO "configure" |
12129 |
#include "confdefs.h" |
20909 |
#include "confdefs.h" |
|
|
20910 |
int |
12130 |
find_stack_direction () |
20911 |
find_stack_direction () |
12131 |
{ |
20912 |
{ |
12132 |
static char *addr = 0; |
20913 |
static char *addr = 0; |
Lines 12139-12344
Link Here
|
12139 |
else |
20920 |
else |
12140 |
return (&dummy > addr) ? 1 : -1; |
20921 |
return (&dummy > addr) ? 1 : -1; |
12141 |
} |
20922 |
} |
|
|
20923 |
|
20924 |
int |
12142 |
main () |
20925 |
main () |
12143 |
{ |
20926 |
{ |
12144 |
exit (find_stack_direction() < 0); |
20927 |
exit (find_stack_direction () < 0); |
12145 |
} |
20928 |
} |
12146 |
EOF |
20929 |
_ACEOF |
12147 |
if { (eval echo configure:12148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
20930 |
rm -f conftest$ac_exeext |
12148 |
then |
20931 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
20932 |
(eval $ac_link) 2>&5 |
20933 |
ac_status=$? |
20934 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20935 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
20936 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
20937 |
(eval $ac_try) 2>&5 |
20938 |
ac_status=$? |
20939 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
20940 |
(exit $ac_status); }; }; then |
12149 |
ac_cv_c_stack_direction=1 |
20941 |
ac_cv_c_stack_direction=1 |
12150 |
else |
20942 |
else |
12151 |
echo "configure: failed program was:" >&5 |
20943 |
echo "$as_me: program exited with status $ac_status" >&5 |
12152 |
cat conftest.$ac_ext >&5 |
20944 |
echo "$as_me: failed program was:" >&5 |
12153 |
rm -fr conftest* |
20945 |
cat conftest.$ac_ext >&5 |
12154 |
ac_cv_c_stack_direction=-1 |
20946 |
( exit $ac_status ) |
|
|
20947 |
ac_cv_c_stack_direction=-1 |
12155 |
fi |
20948 |
fi |
12156 |
rm -fr conftest* |
20949 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12157 |
fi |
20950 |
fi |
12158 |
|
|
|
12159 |
fi |
20951 |
fi |
|
|
20952 |
echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 |
20953 |
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 |
12160 |
|
20954 |
|
12161 |
echo "$ac_t""$ac_cv_c_stack_direction" 1>&6 |
20955 |
cat >>confdefs.h <<_ACEOF |
12162 |
cat >> confdefs.h <<EOF |
|
|
12163 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
20956 |
#define STACK_DIRECTION $ac_cv_c_stack_direction |
12164 |
EOF |
20957 |
_ACEOF |
|
|
20958 |
|
12165 |
|
20959 |
|
12166 |
fi |
20960 |
fi |
12167 |
|
20961 |
|
12168 |
|
20962 |
|
12169 |
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
20963 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
12170 |
echo "configure:12171: checking for working const" >&5 |
20964 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
12171 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
20965 |
if test "${ac_cv_c_const+set}" = set; then |
12172 |
echo $ac_n "(cached) $ac_c" 1>&6 |
20966 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12173 |
else |
20967 |
else |
12174 |
cat > conftest.$ac_ext <<EOF |
20968 |
cat >conftest.$ac_ext <<_ACEOF |
12175 |
#line 12176 "configure" |
20969 |
#line $LINENO "configure" |
12176 |
#include "confdefs.h" |
20970 |
#include "confdefs.h" |
12177 |
|
|
|
12178 |
int main() { |
12179 |
|
12180 |
/* Ultrix mips cc rejects this. */ |
12181 |
typedef int charset[2]; const charset x; |
12182 |
/* SunOS 4.1.1 cc rejects this. */ |
12183 |
char const *const *ccp; |
12184 |
char **p; |
12185 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
12186 |
struct point {int x, y;}; |
12187 |
static struct point const zero = {0,0}; |
12188 |
/* AIX XL C 1.02.0.0 rejects this. |
12189 |
It does not let you subtract one const X* pointer from another in an arm |
12190 |
of an if-expression whose if-part is not a constant expression */ |
12191 |
const char *g = "string"; |
12192 |
ccp = &g + (g ? g-g : 0); |
12193 |
/* HPUX 7.0 cc rejects these. */ |
12194 |
++ccp; |
12195 |
p = (char**) ccp; |
12196 |
ccp = (char const *const *) p; |
12197 |
{ /* SCO 3.2v4 cc rejects this. */ |
12198 |
char *t; |
12199 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
12200 |
|
12201 |
*t++ = 0; |
12202 |
} |
12203 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
12204 |
int x[] = {25, 17}; |
12205 |
const int *foo = &x[0]; |
12206 |
++foo; |
12207 |
} |
12208 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
12209 |
typedef const int *iptr; |
12210 |
iptr p = 0; |
12211 |
++p; |
12212 |
} |
12213 |
{ /* AIX XL C 1.02.0.0 rejects this saying |
12214 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
12215 |
struct s { int j; const int *ap[3]; }; |
12216 |
struct s *b; b->j = 5; |
12217 |
} |
12218 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
12219 |
const int foo = 10; |
12220 |
} |
12221 |
|
20971 |
|
12222 |
; return 0; } |
20972 |
#ifdef F77_DUMMY_MAIN |
12223 |
EOF |
20973 |
# ifdef __cplusplus |
12224 |
if { (eval echo configure:12225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
20974 |
extern "C" |
12225 |
rm -rf conftest* |
20975 |
# endif |
|
|
20976 |
int F77_DUMMY_MAIN() { return 1; } |
20977 |
#endif |
20978 |
int |
20979 |
main () |
20980 |
{ |
20981 |
/* FIXME: Include the comments suggested by Paul. */ |
20982 |
#ifndef __cplusplus |
20983 |
/* Ultrix mips cc rejects this. */ |
20984 |
typedef int charset[2]; |
20985 |
const charset x; |
20986 |
/* SunOS 4.1.1 cc rejects this. */ |
20987 |
char const *const *ccp; |
20988 |
char **p; |
20989 |
/* NEC SVR4.0.2 mips cc rejects this. */ |
20990 |
struct point {int x, y;}; |
20991 |
static struct point const zero = {0,0}; |
20992 |
/* AIX XL C 1.02.0.0 rejects this. |
20993 |
It does not let you subtract one const X* pointer from another in |
20994 |
an arm of an if-expression whose if-part is not a constant |
20995 |
expression */ |
20996 |
const char *g = "string"; |
20997 |
ccp = &g + (g ? g-g : 0); |
20998 |
/* HPUX 7.0 cc rejects these. */ |
20999 |
++ccp; |
21000 |
p = (char**) ccp; |
21001 |
ccp = (char const *const *) p; |
21002 |
{ /* SCO 3.2v4 cc rejects this. */ |
21003 |
char *t; |
21004 |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
21005 |
|
21006 |
*t++ = 0; |
21007 |
} |
21008 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
21009 |
int x[] = {25, 17}; |
21010 |
const int *foo = &x[0]; |
21011 |
++foo; |
21012 |
} |
21013 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
21014 |
typedef const int *iptr; |
21015 |
iptr p = 0; |
21016 |
++p; |
21017 |
} |
21018 |
{ /* AIX XL C 1.02.0.0 rejects this saying |
21019 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
21020 |
struct s { int j; const int *ap[3]; }; |
21021 |
struct s *b; b->j = 5; |
21022 |
} |
21023 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
21024 |
const int foo = 10; |
21025 |
} |
21026 |
#endif |
21027 |
|
21028 |
; |
21029 |
return 0; |
21030 |
} |
21031 |
_ACEOF |
21032 |
rm -f conftest.$ac_objext |
21033 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21034 |
(eval $ac_compile) 2>&5 |
21035 |
ac_status=$? |
21036 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21037 |
(exit $ac_status); } && |
21038 |
{ ac_try='test -s conftest.$ac_objext' |
21039 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21040 |
(eval $ac_try) 2>&5 |
21041 |
ac_status=$? |
21042 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21043 |
(exit $ac_status); }; }; then |
12226 |
ac_cv_c_const=yes |
21044 |
ac_cv_c_const=yes |
12227 |
else |
21045 |
else |
12228 |
echo "configure: failed program was:" >&5 |
21046 |
echo "$as_me: failed program was:" >&5 |
12229 |
cat conftest.$ac_ext >&5 |
21047 |
cat conftest.$ac_ext >&5 |
12230 |
rm -rf conftest* |
21048 |
ac_cv_c_const=no |
12231 |
ac_cv_c_const=no |
|
|
12232 |
fi |
21049 |
fi |
12233 |
rm -f conftest* |
21050 |
rm -f conftest.$ac_objext conftest.$ac_ext |
12234 |
fi |
21051 |
fi |
12235 |
|
21052 |
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
12236 |
echo "$ac_t""$ac_cv_c_const" 1>&6 |
21053 |
echo "${ECHO_T}$ac_cv_c_const" >&6 |
12237 |
if test $ac_cv_c_const = no; then |
21054 |
if test $ac_cv_c_const = no; then |
12238 |
cat >> confdefs.h <<\EOF |
21055 |
|
12239 |
#define const |
21056 |
cat >>confdefs.h <<\_ACEOF |
12240 |
EOF |
21057 |
#define const |
|
|
21058 |
_ACEOF |
12241 |
|
21059 |
|
12242 |
fi |
21060 |
fi |
12243 |
|
21061 |
|
12244 |
|
21062 |
|
12245 |
echo $ac_n "checking prototypes""... $ac_c" 1>&6 |
21063 |
echo "$as_me:$LINENO: checking prototypes" >&5 |
12246 |
echo "configure:12247: checking prototypes" >&5 |
21064 |
echo $ECHO_N "checking prototypes... $ECHO_C" >&6 |
12247 |
if eval "test \"`echo '$''{'ac_cv_prototypes'+set}'`\" = set"; then |
21065 |
if test "${ac_cv_prototypes+set}" = set; then |
12248 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21066 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12249 |
else |
21067 |
else |
12250 |
cat > conftest.$ac_ext <<EOF |
21068 |
cat >conftest.$ac_ext <<_ACEOF |
12251 |
#line 12252 "configure" |
21069 |
#line $LINENO "configure" |
12252 |
#include "confdefs.h" |
21070 |
#include "confdefs.h" |
12253 |
|
21071 |
|
12254 |
void foo(int); |
21072 |
void foo(int); |
12255 |
void foo(i) |
21073 |
void foo(i) |
12256 |
int i; { |
21074 |
int i; { |
12257 |
return; |
21075 |
return; |
12258 |
} |
21076 |
} |
12259 |
|
21077 |
|
12260 |
int main() { |
21078 |
#ifdef F77_DUMMY_MAIN |
|
|
21079 |
# ifdef __cplusplus |
21080 |
extern "C" |
21081 |
# endif |
21082 |
int F77_DUMMY_MAIN() { return 1; } |
21083 |
#endif |
21084 |
int |
21085 |
main () |
21086 |
{ |
12261 |
int i; |
21087 |
int i; |
12262 |
; return 0; } |
21088 |
; |
12263 |
EOF |
21089 |
return 0; |
12264 |
if { (eval echo configure:12265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
21090 |
} |
12265 |
rm -rf conftest* |
21091 |
_ACEOF |
|
|
21092 |
rm -f conftest.$ac_objext |
21093 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21094 |
(eval $ac_compile) 2>&5 |
21095 |
ac_status=$? |
21096 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21097 |
(exit $ac_status); } && |
21098 |
{ ac_try='test -s conftest.$ac_objext' |
21099 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21100 |
(eval $ac_try) 2>&5 |
21101 |
ac_status=$? |
21102 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21103 |
(exit $ac_status); }; }; then |
12266 |
ac_cv_prototypes=yes |
21104 |
ac_cv_prototypes=yes |
12267 |
else |
21105 |
else |
12268 |
echo "configure: failed program was:" >&5 |
21106 |
echo "$as_me: failed program was:" >&5 |
12269 |
cat conftest.$ac_ext >&5 |
21107 |
cat conftest.$ac_ext >&5 |
12270 |
rm -rf conftest* |
21108 |
ac_cv_prototypes=no |
12271 |
ac_cv_prototypes=no |
|
|
12272 |
fi |
21109 |
fi |
12273 |
rm -f conftest* |
21110 |
rm -f conftest.$ac_objext conftest.$ac_ext |
12274 |
fi |
21111 |
fi |
12275 |
|
21112 |
echo "$as_me:$LINENO: result: $ac_cv_prototypes" >&5 |
12276 |
echo "$ac_t""$ac_cv_prototypes" 1>&6 |
21113 |
echo "${ECHO_T}$ac_cv_prototypes" >&6 |
12277 |
if test "$ac_cv_prototypes" = yes; then |
21114 |
if test "$ac_cv_prototypes" = yes; then |
12278 |
cat >> confdefs.h <<\EOF |
21115 |
cat >>confdefs.h <<\_ACEOF |
12279 |
#define HAVE_PROTOTYPES 1 |
21116 |
#define HAVE_PROTOTYPES 1 |
12280 |
EOF |
21117 |
_ACEOF |
12281 |
|
21118 |
|
12282 |
fi |
21119 |
fi |
12283 |
|
|
|
12284 |
|
21120 |
|
12285 |
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
21121 |
|
12286 |
echo "configure:12287: checking whether byte ordering is bigendian" >&5 |
21122 |
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 |
12287 |
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
21123 |
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
12288 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21124 |
if test "${ac_cv_c_bigendian+set}" = set; then |
|
|
21125 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12289 |
else |
21126 |
else |
12290 |
ac_cv_c_bigendian=unknown |
21127 |
# See if sys/param.h defines the BYTE_ORDER macro. |
12291 |
# See if sys/param.h defines the BYTE_ORDER macro. |
21128 |
cat >conftest.$ac_ext <<_ACEOF |
12292 |
cat > conftest.$ac_ext <<EOF |
21129 |
#line $LINENO "configure" |
12293 |
#line 12294 "configure" |
|
|
12294 |
#include "confdefs.h" |
21130 |
#include "confdefs.h" |
12295 |
#include <sys/types.h> |
21131 |
#include <sys/types.h> |
12296 |
#include <sys/param.h> |
21132 |
#include <sys/param.h> |
12297 |
int main() { |
|
|
12298 |
|
21133 |
|
|
|
21134 |
#ifdef F77_DUMMY_MAIN |
21135 |
# ifdef __cplusplus |
21136 |
extern "C" |
21137 |
# endif |
21138 |
int F77_DUMMY_MAIN() { return 1; } |
21139 |
#endif |
21140 |
int |
21141 |
main () |
21142 |
{ |
12299 |
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
21143 |
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
12300 |
bogus endian macros |
21144 |
bogus endian macros |
12301 |
#endif |
21145 |
#endif |
12302 |
; return 0; } |
21146 |
|
12303 |
EOF |
21147 |
; |
12304 |
if { (eval echo configure:12305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
21148 |
return 0; |
12305 |
rm -rf conftest* |
21149 |
} |
|
|
21150 |
_ACEOF |
21151 |
rm -f conftest.$ac_objext |
21152 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21153 |
(eval $ac_compile) 2>&5 |
21154 |
ac_status=$? |
21155 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21156 |
(exit $ac_status); } && |
21157 |
{ ac_try='test -s conftest.$ac_objext' |
21158 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21159 |
(eval $ac_try) 2>&5 |
21160 |
ac_status=$? |
21161 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21162 |
(exit $ac_status); }; }; then |
12306 |
# It does; now see whether it defined to BIG_ENDIAN or not. |
21163 |
# It does; now see whether it defined to BIG_ENDIAN or not. |
12307 |
cat > conftest.$ac_ext <<EOF |
21164 |
cat >conftest.$ac_ext <<_ACEOF |
12308 |
#line 12309 "configure" |
21165 |
#line $LINENO "configure" |
12309 |
#include "confdefs.h" |
21166 |
#include "confdefs.h" |
12310 |
#include <sys/types.h> |
21167 |
#include <sys/types.h> |
12311 |
#include <sys/param.h> |
21168 |
#include <sys/param.h> |
12312 |
int main() { |
|
|
12313 |
|
21169 |
|
|
|
21170 |
#ifdef F77_DUMMY_MAIN |
21171 |
# ifdef __cplusplus |
21172 |
extern "C" |
21173 |
# endif |
21174 |
int F77_DUMMY_MAIN() { return 1; } |
21175 |
#endif |
21176 |
int |
21177 |
main () |
21178 |
{ |
12314 |
#if BYTE_ORDER != BIG_ENDIAN |
21179 |
#if BYTE_ORDER != BIG_ENDIAN |
12315 |
not big endian |
21180 |
not big endian |
12316 |
#endif |
21181 |
#endif |
12317 |
; return 0; } |
21182 |
|
12318 |
EOF |
21183 |
; |
12319 |
if { (eval echo configure:12320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
21184 |
return 0; |
12320 |
rm -rf conftest* |
21185 |
} |
|
|
21186 |
_ACEOF |
21187 |
rm -f conftest.$ac_objext |
21188 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21189 |
(eval $ac_compile) 2>&5 |
21190 |
ac_status=$? |
21191 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21192 |
(exit $ac_status); } && |
21193 |
{ ac_try='test -s conftest.$ac_objext' |
21194 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21195 |
(eval $ac_try) 2>&5 |
21196 |
ac_status=$? |
21197 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21198 |
(exit $ac_status); }; }; then |
12321 |
ac_cv_c_bigendian=yes |
21199 |
ac_cv_c_bigendian=yes |
12322 |
else |
21200 |
else |
12323 |
echo "configure: failed program was:" >&5 |
21201 |
echo "$as_me: failed program was:" >&5 |
12324 |
cat conftest.$ac_ext >&5 |
21202 |
cat conftest.$ac_ext >&5 |
12325 |
rm -rf conftest* |
21203 |
ac_cv_c_bigendian=no |
12326 |
ac_cv_c_bigendian=no |
21204 |
fi |
|
|
21205 |
rm -f conftest.$ac_objext conftest.$ac_ext |
21206 |
else |
21207 |
echo "$as_me: failed program was:" >&5 |
21208 |
cat conftest.$ac_ext >&5 |
21209 |
# It does not; compile a test program. |
21210 |
if test "$cross_compiling" = yes; then |
21211 |
# try to guess the endianness by grepping values into an object file |
21212 |
ac_cv_c_bigendian=unknown |
21213 |
cat >conftest.$ac_ext <<_ACEOF |
21214 |
#line $LINENO "configure" |
21215 |
#include "confdefs.h" |
21216 |
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; |
21217 |
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; |
21218 |
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } |
21219 |
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; |
21220 |
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; |
21221 |
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } |
21222 |
#ifdef F77_DUMMY_MAIN |
21223 |
# ifdef __cplusplus |
21224 |
extern "C" |
21225 |
# endif |
21226 |
int F77_DUMMY_MAIN() { return 1; } |
21227 |
#endif |
21228 |
int |
21229 |
main () |
21230 |
{ |
21231 |
_ascii (); _ebcdic (); |
21232 |
; |
21233 |
return 0; |
21234 |
} |
21235 |
_ACEOF |
21236 |
rm -f conftest.$ac_objext |
21237 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
21238 |
(eval $ac_compile) 2>&5 |
21239 |
ac_status=$? |
21240 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21241 |
(exit $ac_status); } && |
21242 |
{ ac_try='test -s conftest.$ac_objext' |
21243 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21244 |
(eval $ac_try) 2>&5 |
21245 |
ac_status=$? |
21246 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21247 |
(exit $ac_status); }; }; then |
21248 |
if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then |
21249 |
ac_cv_c_bigendian=yes |
21250 |
fi |
21251 |
if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then |
21252 |
if test "$ac_cv_c_bigendian" = unknown; then |
21253 |
ac_cv_c_bigendian=no |
21254 |
else |
21255 |
# finding both strings is unlikely to happen, but who knows? |
21256 |
ac_cv_c_bigendian=unknown |
21257 |
fi |
12327 |
fi |
21258 |
fi |
12328 |
rm -f conftest* |
|
|
12329 |
else |
21259 |
else |
12330 |
echo "configure: failed program was:" >&5 |
21260 |
echo "$as_me: failed program was:" >&5 |
12331 |
cat conftest.$ac_ext >&5 |
21261 |
cat conftest.$ac_ext >&5 |
12332 |
fi |
21262 |
fi |
12333 |
rm -f conftest* |
21263 |
rm -f conftest.$ac_objext conftest.$ac_ext |
12334 |
if test $ac_cv_c_bigendian = unknown; then |
|
|
12335 |
if test "$cross_compiling" = yes; then |
12336 |
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
12337 |
else |
21264 |
else |
12338 |
cat > conftest.$ac_ext <<EOF |
21265 |
cat >conftest.$ac_ext <<_ACEOF |
12339 |
#line 12340 "configure" |
21266 |
#line $LINENO "configure" |
12340 |
#include "confdefs.h" |
21267 |
#include "confdefs.h" |
12341 |
main () { |
21268 |
int |
|
|
21269 |
main () |
21270 |
{ |
12342 |
/* Are we little or big endian? From Harbison&Steele. */ |
21271 |
/* Are we little or big endian? From Harbison&Steele. */ |
12343 |
union |
21272 |
union |
12344 |
{ |
21273 |
{ |
Lines 12348-12436
Link Here
|
12348 |
u.l = 1; |
21277 |
u.l = 1; |
12349 |
exit (u.c[sizeof (long) - 1] == 1); |
21278 |
exit (u.c[sizeof (long) - 1] == 1); |
12350 |
} |
21279 |
} |
12351 |
EOF |
21280 |
_ACEOF |
12352 |
if { (eval echo configure:12353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
21281 |
rm -f conftest$ac_exeext |
12353 |
then |
21282 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
21283 |
(eval $ac_link) 2>&5 |
21284 |
ac_status=$? |
21285 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21286 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21287 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21288 |
(eval $ac_try) 2>&5 |
21289 |
ac_status=$? |
21290 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21291 |
(exit $ac_status); }; }; then |
12354 |
ac_cv_c_bigendian=no |
21292 |
ac_cv_c_bigendian=no |
12355 |
else |
21293 |
else |
12356 |
echo "configure: failed program was:" >&5 |
21294 |
echo "$as_me: program exited with status $ac_status" >&5 |
12357 |
cat conftest.$ac_ext >&5 |
21295 |
echo "$as_me: failed program was:" >&5 |
12358 |
rm -fr conftest* |
21296 |
cat conftest.$ac_ext >&5 |
12359 |
ac_cv_c_bigendian=yes |
21297 |
( exit $ac_status ) |
|
|
21298 |
ac_cv_c_bigendian=yes |
12360 |
fi |
21299 |
fi |
12361 |
rm -fr conftest* |
21300 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12362 |
fi |
21301 |
fi |
12363 |
|
|
|
12364 |
fi |
21302 |
fi |
|
|
21303 |
rm -f conftest.$ac_objext conftest.$ac_ext |
12365 |
fi |
21304 |
fi |
|
|
21305 |
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 |
21306 |
echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
21307 |
case $ac_cv_c_bigendian in |
21308 |
yes) |
12366 |
|
21309 |
|
12367 |
echo "$ac_t""$ac_cv_c_bigendian" 1>&6 |
21310 |
cat >>confdefs.h <<\_ACEOF |
12368 |
if test $ac_cv_c_bigendian = yes; then |
|
|
12369 |
cat >> confdefs.h <<\EOF |
12370 |
#define WORDS_BIGENDIAN 1 |
21311 |
#define WORDS_BIGENDIAN 1 |
12371 |
EOF |
21312 |
_ACEOF |
12372 |
|
21313 |
;; |
12373 |
fi |
21314 |
no) |
|
|
21315 |
;; |
21316 |
*) |
21317 |
{ { echo "$as_me:$LINENO: error: unknown endianness |
21318 |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5 |
21319 |
echo "$as_me: error: unknown endianness |
21320 |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} |
21321 |
{ (exit 1); exit 1; }; } ;; |
21322 |
esac |
12374 |
|
21323 |
|
12375 |
# Allay users' general fear of warnings of any kind. |
21324 |
# Allay users' general fear of warnings of any kind. |
12376 |
|
21325 |
|
12377 |
|
21326 |
|
12378 |
|
21327 |
|
12379 |
echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6 |
21328 |
echo "$as_me:$LINENO: checking for nlist in -lelf" >&5 |
12380 |
echo "configure:12381: checking for nlist in -lelf" >&5 |
21329 |
echo $ECHO_N "checking for nlist in -lelf... $ECHO_C" >&6 |
12381 |
ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'` |
21330 |
if test "${ac_cv_lib_elf_nlist+set}" = set; then |
12382 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
21331 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12383 |
echo $ac_n "(cached) $ac_c" 1>&6 |
|
|
12384 |
else |
21332 |
else |
12385 |
ac_save_LIBS="$LIBS" |
21333 |
ac_check_lib_save_LIBS=$LIBS |
12386 |
LIBS="-lelf $LIBS" |
21334 |
LIBS="-lelf $LIBS" |
12387 |
cat > conftest.$ac_ext <<EOF |
21335 |
cat >conftest.$ac_ext <<_ACEOF |
12388 |
#line 12389 "configure" |
21336 |
#line $LINENO "configure" |
12389 |
#include "confdefs.h" |
21337 |
#include "confdefs.h" |
|
|
21338 |
|
12390 |
/* Override any gcc2 internal prototype to avoid an error. */ |
21339 |
/* Override any gcc2 internal prototype to avoid an error. */ |
|
|
21340 |
#ifdef __cplusplus |
21341 |
extern "C" |
21342 |
#endif |
12391 |
/* We use char because int might match the return type of a gcc2 |
21343 |
/* We use char because int might match the return type of a gcc2 |
12392 |
builtin and then its argument prototype would still apply. */ |
21344 |
builtin and then its argument prototype would still apply. */ |
12393 |
char nlist(); |
21345 |
char nlist (); |
12394 |
|
21346 |
#ifdef F77_DUMMY_MAIN |
12395 |
int main() { |
21347 |
# ifdef __cplusplus |
12396 |
nlist() |
21348 |
extern "C" |
12397 |
; return 0; } |
21349 |
# endif |
12398 |
EOF |
21350 |
int F77_DUMMY_MAIN() { return 1; } |
12399 |
if { (eval echo configure:12400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21351 |
#endif |
12400 |
rm -rf conftest* |
21352 |
int |
12401 |
eval "ac_cv_lib_$ac_lib_var=yes" |
21353 |
main () |
12402 |
else |
21354 |
{ |
12403 |
echo "configure: failed program was:" >&5 |
21355 |
nlist (); |
12404 |
cat conftest.$ac_ext >&5 |
21356 |
; |
12405 |
rm -rf conftest* |
21357 |
return 0; |
12406 |
eval "ac_cv_lib_$ac_lib_var=no" |
21358 |
} |
12407 |
fi |
21359 |
_ACEOF |
12408 |
rm -f conftest* |
21360 |
rm -f conftest.$ac_objext conftest$ac_exeext |
12409 |
LIBS="$ac_save_LIBS" |
21361 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
12410 |
|
21362 |
(eval $ac_link) 2>&5 |
12411 |
fi |
21363 |
ac_status=$? |
12412 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
21364 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
12413 |
echo "$ac_t""yes" 1>&6 |
21365 |
(exit $ac_status); } && |
|
|
21366 |
{ ac_try='test -s conftest$ac_exeext' |
21367 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21368 |
(eval $ac_try) 2>&5 |
21369 |
ac_status=$? |
21370 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21371 |
(exit $ac_status); }; }; then |
21372 |
ac_cv_lib_elf_nlist=yes |
21373 |
else |
21374 |
echo "$as_me: failed program was:" >&5 |
21375 |
cat conftest.$ac_ext >&5 |
21376 |
ac_cv_lib_elf_nlist=no |
21377 |
fi |
21378 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
21379 |
LIBS=$ac_check_lib_save_LIBS |
21380 |
fi |
21381 |
echo "$as_me:$LINENO: result: $ac_cv_lib_elf_nlist" >&5 |
21382 |
echo "${ECHO_T}$ac_cv_lib_elf_nlist" >&6 |
21383 |
if test $ac_cv_lib_elf_nlist = yes; then |
12414 |
LIBS="-lelf $LIBS" |
21384 |
LIBS="-lelf $LIBS" |
12415 |
else |
|
|
12416 |
echo "$ac_t""no" 1>&6 |
12417 |
fi |
21385 |
fi |
12418 |
echo $ac_n "checking leading underscore in symbol names""... $ac_c" 1>&6 |
21386 |
echo "$as_me:$LINENO: checking leading underscore in symbol names" >&5 |
12419 |
echo "configure:12420: checking leading underscore in symbol names" >&5 |
21387 |
echo $ECHO_N "checking leading underscore in symbol names... $ECHO_C" >&6 |
12420 |
if eval "test \"`echo '$''{'fptools_cv_lead_uscore'+set}'`\" = set"; then |
21388 |
if test "${fptools_cv_lead_uscore+set}" = set; then |
12421 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21389 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12422 |
else |
21390 |
else |
12423 |
|
21391 |
|
12424 |
case $HostPlatform in |
21392 |
case $HostPlatform in |
12425 |
alpha-dec-osf*) fptools_cv_lead_uscore='no';; |
21393 |
alpha-dec-osf*) fptools_cv_lead_uscore='no';; |
12426 |
*cygwin32) fptools_cv_lead_uscore='yes';; |
21394 |
*cygwin32) fptools_cv_lead_uscore='yes';; |
12427 |
*mingw32) fptools_cv_lead_uscore='yes';; |
21395 |
*mingw32) fptools_cv_lead_uscore='yes';; |
12428 |
*) |
21396 |
*) |
12429 |
if test "$cross_compiling" = yes; then |
21397 |
if test "$cross_compiling" = yes; then |
12430 |
fptools_cv_lead_uscore=NO |
21398 |
fptools_cv_lead_uscore=NO |
12431 |
else |
21399 |
else |
12432 |
cat > conftest.$ac_ext <<EOF |
21400 |
cat >conftest.$ac_ext <<_ACEOF |
12433 |
#line 12434 "configure" |
21401 |
#line $LINENO "configure" |
12434 |
#include "confdefs.h" |
21402 |
#include "confdefs.h" |
12435 |
#ifdef HAVE_NLIST_H |
21403 |
#ifdef HAVE_NLIST_H |
12436 |
#include <nlist.h> |
21404 |
#include <nlist.h> |
Lines 12451-12510
Link Here
|
12451 |
#endif |
21419 |
#endif |
12452 |
exit(1); |
21420 |
exit(1); |
12453 |
} |
21421 |
} |
12454 |
EOF |
21422 |
_ACEOF |
12455 |
if { (eval echo configure:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
21423 |
rm -f conftest$ac_exeext |
12456 |
then |
21424 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
21425 |
(eval $ac_link) 2>&5 |
21426 |
ac_status=$? |
21427 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21428 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21429 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21430 |
(eval $ac_try) 2>&5 |
21431 |
ac_status=$? |
21432 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21433 |
(exit $ac_status); }; }; then |
12457 |
fptools_cv_lead_uscore=yes |
21434 |
fptools_cv_lead_uscore=yes |
12458 |
else |
21435 |
else |
12459 |
echo "configure: failed program was:" >&5 |
21436 |
echo "$as_me: program exited with status $ac_status" >&5 |
12460 |
cat conftest.$ac_ext >&5 |
21437 |
echo "$as_me: failed program was:" >&5 |
12461 |
rm -fr conftest* |
21438 |
cat conftest.$ac_ext >&5 |
12462 |
fptools_cv_lead_uscore=no |
21439 |
( exit $ac_status ) |
|
|
21440 |
fptools_cv_lead_uscore=no |
12463 |
fi |
21441 |
fi |
12464 |
rm -fr conftest* |
21442 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12465 |
fi |
21443 |
fi |
12466 |
|
|
|
12467 |
;; |
21444 |
;; |
12468 |
esac |
21445 |
esac |
12469 |
fi |
21446 |
fi |
12470 |
|
21447 |
echo "$as_me:$LINENO: result: $fptools_cv_lead_uscore" >&5 |
12471 |
echo "$ac_t""$fptools_cv_lead_uscore" 1>&6; |
21448 |
echo "${ECHO_T}$fptools_cv_lead_uscore" >&6; |
12472 |
LeadingUnderscore=`echo $fptools_cv_lead_uscore | sed 'y/yesno/YESNO/'` |
21449 |
LeadingUnderscore=`echo $fptools_cv_lead_uscore | sed 'y/yesno/YESNO/'` |
12473 |
|
21450 |
|
12474 |
case $LeadingUnderscore in |
21451 |
case $LeadingUnderscore in |
12475 |
YES) cat >> confdefs.h <<\EOF |
21452 |
YES) cat >>confdefs.h <<\_ACEOF |
12476 |
#define LEADING_UNDERSCORE 1 |
21453 |
#define LEADING_UNDERSCORE 1 |
12477 |
EOF |
21454 |
_ACEOF |
12478 |
;; |
21455 |
;; |
12479 |
esac |
21456 |
esac |
12480 |
|
21457 |
|
12481 |
|
21458 |
|
12482 |
echo $ac_n "checking for end of text section marker""... $ac_c" 1>&6 |
21459 |
echo "$as_me:$LINENO: checking for end of text section marker" >&5 |
12483 |
echo "configure:12484: checking for end of text section marker" >&5 |
21460 |
echo $ECHO_N "checking for end of text section marker... $ECHO_C" >&6 |
12484 |
if eval "test \"`echo '$''{'fptools_cv_end_of_text'+set}'`\" = set"; then |
21461 |
if test "${fptools_cv_end_of_text+set}" = set; then |
12485 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21462 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12486 |
else |
21463 |
else |
12487 |
fptools_cv_end_of_text="" |
21464 |
fptools_cv_end_of_text="" |
12488 |
not_done=1 |
21465 |
not_done=1 |
12489 |
for i in data_start _data_start etext _etext __etext; do |
21466 |
for i in data_start _data_start etext _etext __etext; do |
12490 |
cat > conftest.$ac_ext <<EOF |
21467 |
cat >conftest.$ac_ext <<_ACEOF |
12491 |
#line 12492 "configure" |
21468 |
#line $LINENO "configure" |
12492 |
#include "confdefs.h" |
21469 |
#include "confdefs.h" |
12493 |
extern char* $i; |
21470 |
extern char* $i; |
12494 |
int main() { |
21471 |
#ifdef F77_DUMMY_MAIN |
|
|
21472 |
# ifdef __cplusplus |
21473 |
extern "C" |
21474 |
# endif |
21475 |
int F77_DUMMY_MAIN() { return 1; } |
21476 |
#endif |
21477 |
int |
21478 |
main () |
21479 |
{ |
12495 |
return (int)&$i |
21480 |
return (int)&$i |
12496 |
; return 0; } |
21481 |
; |
12497 |
EOF |
21482 |
return 0; |
12498 |
if { (eval echo configure:12499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21483 |
} |
12499 |
rm -rf conftest* |
21484 |
_ACEOF |
|
|
21485 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21486 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21487 |
(eval $ac_link) 2>&5 |
21488 |
ac_status=$? |
21489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21490 |
(exit $ac_status); } && |
21491 |
{ ac_try='test -s conftest$ac_exeext' |
21492 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21493 |
(eval $ac_try) 2>&5 |
21494 |
ac_status=$? |
21495 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21496 |
(exit $ac_status); }; }; then |
12500 |
fptools_end_of_text=yes |
21497 |
fptools_end_of_text=yes |
12501 |
else |
21498 |
else |
12502 |
echo "configure: failed program was:" >&5 |
21499 |
echo "$as_me: failed program was:" >&5 |
12503 |
cat conftest.$ac_ext >&5 |
21500 |
cat conftest.$ac_ext >&5 |
12504 |
rm -rf conftest* |
21501 |
fptools_end_of_text=no |
12505 |
fptools_end_of_text=no |
|
|
12506 |
fi |
21502 |
fi |
12507 |
rm -f conftest* |
21503 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12508 |
|
21504 |
|
12509 |
if test "$fptools_end_of_text" = yes; then |
21505 |
if test "$fptools_end_of_text" = yes; then |
12510 |
fptools_cv_end_of_text=$i |
21506 |
fptools_cv_end_of_text=$i |
Lines 12513-12581
Link Here
|
12513 |
fi |
21509 |
fi |
12514 |
done |
21510 |
done |
12515 |
if test "$not_done" = 1; then |
21511 |
if test "$not_done" = 1; then |
12516 |
cat > conftest.$ac_ext <<EOF |
21512 |
cat >conftest.$ac_ext <<_ACEOF |
12517 |
#line 12518 "configure" |
21513 |
#line $LINENO "configure" |
12518 |
#include "confdefs.h" |
21514 |
#include "confdefs.h" |
12519 |
extern char* etext asm("etext"); |
21515 |
extern char* etext asm("etext"); |
12520 |
int main() { |
21516 |
#ifdef F77_DUMMY_MAIN |
|
|
21517 |
# ifdef __cplusplus |
21518 |
extern "C" |
21519 |
# endif |
21520 |
int F77_DUMMY_MAIN() { return 1; } |
21521 |
#endif |
21522 |
int |
21523 |
main () |
21524 |
{ |
12521 |
return (int)&etext |
21525 |
return (int)&etext |
12522 |
; return 0; } |
21526 |
; |
12523 |
EOF |
21527 |
return 0; |
12524 |
if { (eval echo configure:12525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21528 |
} |
12525 |
rm -rf conftest* |
21529 |
_ACEOF |
|
|
21530 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21531 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21532 |
(eval $ac_link) 2>&5 |
21533 |
ac_status=$? |
21534 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21535 |
(exit $ac_status); } && |
21536 |
{ ac_try='test -s conftest$ac_exeext' |
21537 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21538 |
(eval $ac_try) 2>&5 |
21539 |
ac_status=$? |
21540 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21541 |
(exit $ac_status); }; }; then |
12526 |
fptools_end_of_text=yes |
21542 |
fptools_end_of_text=yes |
12527 |
else |
21543 |
else |
12528 |
echo "configure: failed program was:" >&5 |
21544 |
echo "$as_me: failed program was:" >&5 |
12529 |
cat conftest.$ac_ext >&5 |
21545 |
cat conftest.$ac_ext >&5 |
12530 |
rm -rf conftest* |
21546 |
fptools_end_of_text=no |
12531 |
fptools_end_of_text=no |
|
|
12532 |
fi |
21547 |
fi |
12533 |
rm -f conftest* |
21548 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12534 |
|
21549 |
|
12535 |
if test "$fptools_end_of_text" = yes; then |
21550 |
if test "$fptools_end_of_text" = yes; then |
12536 |
fptools_cv_end_of_text="etext" |
21551 |
fptools_cv_end_of_text="etext" |
12537 |
fi |
21552 |
fi |
12538 |
fi |
21553 |
fi |
12539 |
fi |
21554 |
fi |
12540 |
|
21555 |
echo "$as_me:$LINENO: result: $fptools_cv_end_of_text" >&5 |
12541 |
echo "$ac_t""$fptools_cv_end_of_text" 1>&6 |
21556 |
echo "${ECHO_T}$fptools_cv_end_of_text" >&6 |
12542 |
if test -n "$fptools_cv_end_of_text"; then |
21557 |
if test -n "$fptools_cv_end_of_text"; then |
12543 |
cat >> confdefs.h <<EOF |
21558 |
cat >>confdefs.h <<_ACEOF |
12544 |
#define TEXT_SECTION_END_MARKER $fptools_cv_end_of_text |
21559 |
#define TEXT_SECTION_END_MARKER $fptools_cv_end_of_text |
12545 |
EOF |
21560 |
_ACEOF |
12546 |
|
21561 |
|
12547 |
else |
21562 |
else |
12548 |
cat >> confdefs.h <<EOF |
21563 |
cat >>confdefs.h <<_ACEOF |
12549 |
#define TEXT_SECTION_END_MARKER dunno_end_of_text |
21564 |
#define TEXT_SECTION_END_MARKER dunno_end_of_text |
12550 |
EOF |
21565 |
_ACEOF |
12551 |
|
21566 |
|
12552 |
fi |
21567 |
fi |
12553 |
echo $ac_n "checking for end of text section marker declaration""... $ac_c" 1>&6 |
21568 |
echo "$as_me:$LINENO: checking for end of text section marker declaration" >&5 |
12554 |
echo "configure:12555: checking for end of text section marker declaration" >&5 |
21569 |
echo $ECHO_N "checking for end of text section marker declaration... $ECHO_C" >&6 |
12555 |
if eval "test \"`echo '$''{'fptools_cv_end_of_text_decl'+set}'`\" = set"; then |
21570 |
if test "${fptools_cv_end_of_text_decl+set}" = set; then |
12556 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21571 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12557 |
else |
21572 |
else |
12558 |
fptools_cv_end_of_text_decl="" |
21573 |
fptools_cv_end_of_text_decl="" |
12559 |
not_done=1 |
21574 |
not_done=1 |
12560 |
for i in data_start _data_start etext _etext __etext; do |
21575 |
for i in data_start _data_start etext _etext __etext; do |
12561 |
cat > conftest.$ac_ext <<EOF |
21576 |
cat >conftest.$ac_ext <<_ACEOF |
12562 |
#line 12563 "configure" |
21577 |
#line $LINENO "configure" |
12563 |
#include "confdefs.h" |
21578 |
#include "confdefs.h" |
12564 |
extern char* $i; |
21579 |
extern char* $i; |
12565 |
int main() { |
21580 |
#ifdef F77_DUMMY_MAIN |
|
|
21581 |
# ifdef __cplusplus |
21582 |
extern "C" |
21583 |
# endif |
21584 |
int F77_DUMMY_MAIN() { return 1; } |
21585 |
#endif |
21586 |
int |
21587 |
main () |
21588 |
{ |
12566 |
return (int)&$i |
21589 |
return (int)&$i |
12567 |
; return 0; } |
21590 |
; |
12568 |
EOF |
21591 |
return 0; |
12569 |
if { (eval echo configure:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21592 |
} |
12570 |
rm -rf conftest* |
21593 |
_ACEOF |
|
|
21594 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21595 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21596 |
(eval $ac_link) 2>&5 |
21597 |
ac_status=$? |
21598 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21599 |
(exit $ac_status); } && |
21600 |
{ ac_try='test -s conftest$ac_exeext' |
21601 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21602 |
(eval $ac_try) 2>&5 |
21603 |
ac_status=$? |
21604 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21605 |
(exit $ac_status); }; }; then |
12571 |
fptools_end_of_text_decl=yes |
21606 |
fptools_end_of_text_decl=yes |
12572 |
else |
21607 |
else |
12573 |
echo "configure: failed program was:" >&5 |
21608 |
echo "$as_me: failed program was:" >&5 |
12574 |
cat conftest.$ac_ext >&5 |
21609 |
cat conftest.$ac_ext >&5 |
12575 |
rm -rf conftest* |
21610 |
fptools_end_of_text_decl=no |
12576 |
fptools_end_of_text_decl=no |
|
|
12577 |
fi |
21611 |
fi |
12578 |
rm -f conftest* |
21612 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12579 |
|
21613 |
|
12580 |
if test "$fptools_end_of_text_decl" = yes; then |
21614 |
if test "$fptools_end_of_text_decl" = yes; then |
12581 |
fptools_cv_end_of_text_decl=$i |
21615 |
fptools_cv_end_of_text_decl=$i |
Lines 12584-12654
Link Here
|
12584 |
fi |
21618 |
fi |
12585 |
done |
21619 |
done |
12586 |
if test "$not_done" = 1; then |
21620 |
if test "$not_done" = 1; then |
12587 |
cat > conftest.$ac_ext <<EOF |
21621 |
cat >conftest.$ac_ext <<_ACEOF |
12588 |
#line 12589 "configure" |
21622 |
#line $LINENO "configure" |
12589 |
#include "confdefs.h" |
21623 |
#include "confdefs.h" |
12590 |
extern char* etext asm("etext"); |
21624 |
extern char* etext asm("etext"); |
12591 |
int main() { |
21625 |
#ifdef F77_DUMMY_MAIN |
|
|
21626 |
# ifdef __cplusplus |
21627 |
extern "C" |
21628 |
# endif |
21629 |
int F77_DUMMY_MAIN() { return 1; } |
21630 |
#endif |
21631 |
int |
21632 |
main () |
21633 |
{ |
12592 |
return (int)&etext |
21634 |
return (int)&etext |
12593 |
; return 0; } |
21635 |
; |
12594 |
EOF |
21636 |
return 0; |
12595 |
if { (eval echo configure:12596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21637 |
} |
12596 |
rm -rf conftest* |
21638 |
_ACEOF |
|
|
21639 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21640 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21641 |
(eval $ac_link) 2>&5 |
21642 |
ac_status=$? |
21643 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21644 |
(exit $ac_status); } && |
21645 |
{ ac_try='test -s conftest$ac_exeext' |
21646 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21647 |
(eval $ac_try) 2>&5 |
21648 |
ac_status=$? |
21649 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21650 |
(exit $ac_status); }; }; then |
12597 |
fptools_end_of_text_decl=yes |
21651 |
fptools_end_of_text_decl=yes |
12598 |
else |
21652 |
else |
12599 |
echo "configure: failed program was:" >&5 |
21653 |
echo "$as_me: failed program was:" >&5 |
12600 |
cat conftest.$ac_ext >&5 |
21654 |
cat conftest.$ac_ext >&5 |
12601 |
rm -rf conftest* |
21655 |
fptools_end_of_text_decl=no |
12602 |
fptools_end_of_text_decl=no |
|
|
12603 |
fi |
21656 |
fi |
12604 |
rm -f conftest* |
21657 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12605 |
|
21658 |
|
12606 |
if test "$fptools_end_of_text_decl" = yes; then |
21659 |
if test "$fptools_end_of_text_decl" = yes; then |
12607 |
fptools_cv_end_of_text_decl="etext asm(\"etext\")" |
21660 |
fptools_cv_end_of_text_decl="etext asm(\"etext\")" |
12608 |
fi |
21661 |
fi |
12609 |
fi |
21662 |
fi |
12610 |
fi |
21663 |
fi |
12611 |
|
21664 |
echo "$as_me:$LINENO: result: $fptools_cv_end_of_text_decl" >&5 |
12612 |
echo "$ac_t""$fptools_cv_end_of_text_decl" 1>&6 |
21665 |
echo "${ECHO_T}$fptools_cv_end_of_text_decl" >&6 |
12613 |
if test -n "$fptools_cv_end_of_text_decl"; then |
21666 |
if test -n "$fptools_cv_end_of_text_decl"; then |
12614 |
cat >> confdefs.h <<EOF |
21667 |
cat >>confdefs.h <<_ACEOF |
12615 |
#define TEXT_SECTION_END_MARKER_DECL $fptools_cv_end_of_text_decl |
21668 |
#define TEXT_SECTION_END_MARKER_DECL $fptools_cv_end_of_text_decl |
12616 |
EOF |
21669 |
_ACEOF |
12617 |
|
21670 |
|
12618 |
else |
21671 |
else |
12619 |
cat >> confdefs.h <<EOF |
21672 |
cat >>confdefs.h <<_ACEOF |
12620 |
#define TEXT_SECTION_END_MARKER_DECL dunno_end_of_text_decl |
21673 |
#define TEXT_SECTION_END_MARKER_DECL dunno_end_of_text_decl |
12621 |
EOF |
21674 |
_ACEOF |
12622 |
|
21675 |
|
12623 |
fi |
21676 |
fi |
12624 |
|
21677 |
|
12625 |
|
21678 |
|
12626 |
echo $ac_n "checking for end of data section marker""... $ac_c" 1>&6 |
21679 |
echo "$as_me:$LINENO: checking for end of data section marker" >&5 |
12627 |
echo "configure:12628: checking for end of data section marker" >&5 |
21680 |
echo $ECHO_N "checking for end of data section marker... $ECHO_C" >&6 |
12628 |
if eval "test \"`echo '$''{'fptools_cv_end_of_data'+set}'`\" = set"; then |
21681 |
if test "${fptools_cv_end_of_data+set}" = set; then |
12629 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21682 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12630 |
else |
21683 |
else |
12631 |
fptools_cv_end_of_data="" |
21684 |
fptools_cv_end_of_data="" |
12632 |
not_done=1 |
21685 |
not_done=1 |
12633 |
for i in end _end __end; do |
21686 |
for i in end _end __end; do |
12634 |
cat > conftest.$ac_ext <<EOF |
21687 |
cat >conftest.$ac_ext <<_ACEOF |
12635 |
#line 12636 "configure" |
21688 |
#line $LINENO "configure" |
12636 |
#include "confdefs.h" |
21689 |
#include "confdefs.h" |
12637 |
extern char* $i; |
21690 |
extern char* $i; |
12638 |
int main() { |
21691 |
#ifdef F77_DUMMY_MAIN |
|
|
21692 |
# ifdef __cplusplus |
21693 |
extern "C" |
21694 |
# endif |
21695 |
int F77_DUMMY_MAIN() { return 1; } |
21696 |
#endif |
21697 |
int |
21698 |
main () |
21699 |
{ |
12639 |
return (int)&$i |
21700 |
return (int)&$i |
12640 |
; return 0; } |
21701 |
; |
12641 |
EOF |
21702 |
return 0; |
12642 |
if { (eval echo configure:12643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21703 |
} |
12643 |
rm -rf conftest* |
21704 |
_ACEOF |
|
|
21705 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21706 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21707 |
(eval $ac_link) 2>&5 |
21708 |
ac_status=$? |
21709 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21710 |
(exit $ac_status); } && |
21711 |
{ ac_try='test -s conftest$ac_exeext' |
21712 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21713 |
(eval $ac_try) 2>&5 |
21714 |
ac_status=$? |
21715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21716 |
(exit $ac_status); }; }; then |
12644 |
fptools_end_of_data=yes |
21717 |
fptools_end_of_data=yes |
12645 |
else |
21718 |
else |
12646 |
echo "configure: failed program was:" >&5 |
21719 |
echo "$as_me: failed program was:" >&5 |
12647 |
cat conftest.$ac_ext >&5 |
21720 |
cat conftest.$ac_ext >&5 |
12648 |
rm -rf conftest* |
21721 |
fptools_end_of_data=no |
12649 |
fptools_end_of_data=no |
|
|
12650 |
fi |
21722 |
fi |
12651 |
rm -f conftest* |
21723 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12652 |
|
21724 |
|
12653 |
if test "$fptools_end_of_data" = yes; then |
21725 |
if test "$fptools_end_of_data" = yes; then |
12654 |
fptools_cv_end_of_data=$i |
21726 |
fptools_cv_end_of_data=$i |
Lines 12657-12725
Link Here
|
12657 |
fi |
21729 |
fi |
12658 |
done |
21730 |
done |
12659 |
if test "$not_done" = 1; then |
21731 |
if test "$not_done" = 1; then |
12660 |
cat > conftest.$ac_ext <<EOF |
21732 |
cat >conftest.$ac_ext <<_ACEOF |
12661 |
#line 12662 "configure" |
21733 |
#line $LINENO "configure" |
12662 |
#include "confdefs.h" |
21734 |
#include "confdefs.h" |
12663 |
extern char* end asm("end"); |
21735 |
extern char* end asm("end"); |
12664 |
int main() { |
21736 |
#ifdef F77_DUMMY_MAIN |
|
|
21737 |
# ifdef __cplusplus |
21738 |
extern "C" |
21739 |
# endif |
21740 |
int F77_DUMMY_MAIN() { return 1; } |
21741 |
#endif |
21742 |
int |
21743 |
main () |
21744 |
{ |
12665 |
return (int)&end |
21745 |
return (int)&end |
12666 |
; return 0; } |
21746 |
; |
12667 |
EOF |
21747 |
return 0; |
12668 |
if { (eval echo configure:12669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21748 |
} |
12669 |
rm -rf conftest* |
21749 |
_ACEOF |
|
|
21750 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21751 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21752 |
(eval $ac_link) 2>&5 |
21753 |
ac_status=$? |
21754 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21755 |
(exit $ac_status); } && |
21756 |
{ ac_try='test -s conftest$ac_exeext' |
21757 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21758 |
(eval $ac_try) 2>&5 |
21759 |
ac_status=$? |
21760 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21761 |
(exit $ac_status); }; }; then |
12670 |
fptools_end_of_data=yes |
21762 |
fptools_end_of_data=yes |
12671 |
else |
21763 |
else |
12672 |
echo "configure: failed program was:" >&5 |
21764 |
echo "$as_me: failed program was:" >&5 |
12673 |
cat conftest.$ac_ext >&5 |
21765 |
cat conftest.$ac_ext >&5 |
12674 |
rm -rf conftest* |
21766 |
fptools_end_of_data=no |
12675 |
fptools_end_of_data=no |
|
|
12676 |
fi |
21767 |
fi |
12677 |
rm -f conftest* |
21768 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12678 |
|
21769 |
|
12679 |
if test "$fptools_end_of_data" = yes; then |
21770 |
if test "$fptools_end_of_data" = yes; then |
12680 |
fptools_cv_end_of_data="end" |
21771 |
fptools_cv_end_of_data="end" |
12681 |
fi |
21772 |
fi |
12682 |
fi |
21773 |
fi |
12683 |
fi |
21774 |
fi |
12684 |
|
21775 |
echo "$as_me:$LINENO: result: $fptools_cv_end_of_data" >&5 |
12685 |
echo "$ac_t""$fptools_cv_end_of_data" 1>&6 |
21776 |
echo "${ECHO_T}$fptools_cv_end_of_data" >&6 |
12686 |
if test -n "$fptools_cv_end_of_data"; then |
21777 |
if test -n "$fptools_cv_end_of_data"; then |
12687 |
cat >> confdefs.h <<EOF |
21778 |
cat >>confdefs.h <<_ACEOF |
12688 |
#define DATA_SECTION_END_MARKER $fptools_cv_end_of_data |
21779 |
#define DATA_SECTION_END_MARKER $fptools_cv_end_of_data |
12689 |
EOF |
21780 |
_ACEOF |
12690 |
|
21781 |
|
12691 |
else |
21782 |
else |
12692 |
cat >> confdefs.h <<EOF |
21783 |
cat >>confdefs.h <<_ACEOF |
12693 |
#define DATA_SECTION_END_MARKER dunno_end_of_data |
21784 |
#define DATA_SECTION_END_MARKER dunno_end_of_data |
12694 |
EOF |
21785 |
_ACEOF |
12695 |
|
21786 |
|
12696 |
fi |
21787 |
fi |
12697 |
echo $ac_n "checking for end of data section marker declaration""... $ac_c" 1>&6 |
21788 |
echo "$as_me:$LINENO: checking for end of data section marker declaration" >&5 |
12698 |
echo "configure:12699: checking for end of data section marker declaration" >&5 |
21789 |
echo $ECHO_N "checking for end of data section marker declaration... $ECHO_C" >&6 |
12699 |
if eval "test \"`echo '$''{'fptools_cv_end_of_data_decl'+set}'`\" = set"; then |
21790 |
if test "${fptools_cv_end_of_data_decl+set}" = set; then |
12700 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21791 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12701 |
else |
21792 |
else |
12702 |
fptools_cv_end_of_data_decl="" |
21793 |
fptools_cv_end_of_data_decl="" |
12703 |
not_done=1 |
21794 |
not_done=1 |
12704 |
for i in end _end __end; do |
21795 |
for i in end _end __end; do |
12705 |
cat > conftest.$ac_ext <<EOF |
21796 |
cat >conftest.$ac_ext <<_ACEOF |
12706 |
#line 12707 "configure" |
21797 |
#line $LINENO "configure" |
12707 |
#include "confdefs.h" |
21798 |
#include "confdefs.h" |
12708 |
extern char* $i; |
21799 |
extern char* $i; |
12709 |
int main() { |
21800 |
#ifdef F77_DUMMY_MAIN |
|
|
21801 |
# ifdef __cplusplus |
21802 |
extern "C" |
21803 |
# endif |
21804 |
int F77_DUMMY_MAIN() { return 1; } |
21805 |
#endif |
21806 |
int |
21807 |
main () |
21808 |
{ |
12710 |
return (int)&$i |
21809 |
return (int)&$i |
12711 |
; return 0; } |
21810 |
; |
12712 |
EOF |
21811 |
return 0; |
12713 |
if { (eval echo configure:12714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21812 |
} |
12714 |
rm -rf conftest* |
21813 |
_ACEOF |
|
|
21814 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21815 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21816 |
(eval $ac_link) 2>&5 |
21817 |
ac_status=$? |
21818 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21819 |
(exit $ac_status); } && |
21820 |
{ ac_try='test -s conftest$ac_exeext' |
21821 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21822 |
(eval $ac_try) 2>&5 |
21823 |
ac_status=$? |
21824 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21825 |
(exit $ac_status); }; }; then |
12715 |
fptools_end_of_data_decl=yes |
21826 |
fptools_end_of_data_decl=yes |
12716 |
else |
21827 |
else |
12717 |
echo "configure: failed program was:" >&5 |
21828 |
echo "$as_me: failed program was:" >&5 |
12718 |
cat conftest.$ac_ext >&5 |
21829 |
cat conftest.$ac_ext >&5 |
12719 |
rm -rf conftest* |
21830 |
fptools_end_of_data_decl=no |
12720 |
fptools_end_of_data_decl=no |
|
|
12721 |
fi |
21831 |
fi |
12722 |
rm -f conftest* |
21832 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12723 |
|
21833 |
|
12724 |
if test "$fptools_end_of_data_decl" = yes; then |
21834 |
if test "$fptools_end_of_data_decl" = yes; then |
12725 |
fptools_cv_end_of_data_decl=$i |
21835 |
fptools_cv_end_of_data_decl=$i |
Lines 12728-12782
Link Here
|
12728 |
fi |
21838 |
fi |
12729 |
done |
21839 |
done |
12730 |
if test "$not_done" = 1; then |
21840 |
if test "$not_done" = 1; then |
12731 |
cat > conftest.$ac_ext <<EOF |
21841 |
cat >conftest.$ac_ext <<_ACEOF |
12732 |
#line 12733 "configure" |
21842 |
#line $LINENO "configure" |
12733 |
#include "confdefs.h" |
21843 |
#include "confdefs.h" |
12734 |
extern char* end asm("end"); |
21844 |
extern char* end asm("end"); |
12735 |
int main() { |
21845 |
#ifdef F77_DUMMY_MAIN |
|
|
21846 |
# ifdef __cplusplus |
21847 |
extern "C" |
21848 |
# endif |
21849 |
int F77_DUMMY_MAIN() { return 1; } |
21850 |
#endif |
21851 |
int |
21852 |
main () |
21853 |
{ |
12736 |
return (int)&end |
21854 |
return (int)&end |
12737 |
; return 0; } |
21855 |
; |
12738 |
EOF |
21856 |
return 0; |
12739 |
if { (eval echo configure:12740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
21857 |
} |
12740 |
rm -rf conftest* |
21858 |
_ACEOF |
|
|
21859 |
rm -f conftest.$ac_objext conftest$ac_exeext |
21860 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
21861 |
(eval $ac_link) 2>&5 |
21862 |
ac_status=$? |
21863 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21864 |
(exit $ac_status); } && |
21865 |
{ ac_try='test -s conftest$ac_exeext' |
21866 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21867 |
(eval $ac_try) 2>&5 |
21868 |
ac_status=$? |
21869 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21870 |
(exit $ac_status); }; }; then |
12741 |
fptools_end_of_data_decl=yes |
21871 |
fptools_end_of_data_decl=yes |
12742 |
else |
21872 |
else |
12743 |
echo "configure: failed program was:" >&5 |
21873 |
echo "$as_me: failed program was:" >&5 |
12744 |
cat conftest.$ac_ext >&5 |
21874 |
cat conftest.$ac_ext >&5 |
12745 |
rm -rf conftest* |
21875 |
fptools_end_of_data_decl=no |
12746 |
fptools_end_of_data_decl=no |
|
|
12747 |
fi |
21876 |
fi |
12748 |
rm -f conftest* |
21877 |
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
12749 |
|
21878 |
|
12750 |
if test "$fptools_end_of_data_decl" = yes; then |
21879 |
if test "$fptools_end_of_data_decl" = yes; then |
12751 |
fptools_cv_end_of_data_decl="end asm(\"end\")" |
21880 |
fptools_cv_end_of_data_decl="end asm(\"end\")" |
12752 |
fi |
21881 |
fi |
12753 |
fi |
21882 |
fi |
12754 |
fi |
21883 |
fi |
12755 |
|
21884 |
echo "$as_me:$LINENO: result: $fptools_cv_end_of_data_decl" >&5 |
12756 |
echo "$ac_t""$fptools_cv_end_of_data_decl" 1>&6 |
21885 |
echo "${ECHO_T}$fptools_cv_end_of_data_decl" >&6 |
12757 |
if test -n "$fptools_cv_end_of_data_decl"; then |
21886 |
if test -n "$fptools_cv_end_of_data_decl"; then |
12758 |
cat >> confdefs.h <<EOF |
21887 |
cat >>confdefs.h <<_ACEOF |
12759 |
#define DATA_SECTION_END_MARKER_DECL $fptools_cv_end_of_data_decl |
21888 |
#define DATA_SECTION_END_MARKER_DECL $fptools_cv_end_of_data_decl |
12760 |
EOF |
21889 |
_ACEOF |
12761 |
|
21890 |
|
12762 |
else |
21891 |
else |
12763 |
cat >> confdefs.h <<EOF |
21892 |
cat >>confdefs.h <<_ACEOF |
12764 |
#define DATA_SECTION_END_MARKER_DECL dunno_end_of_data_decl |
21893 |
#define DATA_SECTION_END_MARKER_DECL dunno_end_of_data_decl |
12765 |
EOF |
21894 |
_ACEOF |
12766 |
|
21895 |
|
12767 |
fi |
21896 |
fi |
12768 |
|
21897 |
|
12769 |
|
21898 |
|
12770 |
echo $ac_n "checking if code section appears before data""... $ac_c" 1>&6 |
21899 |
echo "$as_me:$LINENO: checking if code section appears before data" >&5 |
12771 |
echo "configure:12772: checking if code section appears before data" >&5 |
21900 |
echo $ECHO_N "checking if code section appears before data... $ECHO_C" >&6 |
12772 |
if eval "test \"`echo '$''{'fptools_cv_code_bef_data'+set}'`\" = set"; then |
21901 |
if test "${fptools_cv_code_bef_data+set}" = set; then |
12773 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21902 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12774 |
else |
21903 |
else |
12775 |
if test "$cross_compiling" = yes; then |
21904 |
if test "$cross_compiling" = yes; then |
12776 |
false |
21905 |
false |
12777 |
else |
21906 |
else |
12778 |
cat > conftest.$ac_ext <<EOF |
21907 |
cat >conftest.$ac_ext <<_ACEOF |
12779 |
#line 12780 "configure" |
21908 |
#line $LINENO "configure" |
12780 |
#include "confdefs.h" |
21909 |
#include "confdefs.h" |
12781 |
|
21910 |
|
12782 |
int f() { return 1; } |
21911 |
int f() { return 1; } |
Lines 12784-12846
Link Here
|
12784 |
int main() { return ((char*)&f > (char*)&i); } |
21913 |
int main() { return ((char*)&f > (char*)&i); } |
12785 |
|
21914 |
|
12786 |
|
21915 |
|
12787 |
EOF |
21916 |
_ACEOF |
12788 |
if { (eval echo configure:12789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
21917 |
rm -f conftest$ac_exeext |
12789 |
then |
21918 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
21919 |
(eval $ac_link) 2>&5 |
21920 |
ac_status=$? |
21921 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21922 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
21923 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
21924 |
(eval $ac_try) 2>&5 |
21925 |
ac_status=$? |
21926 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
21927 |
(exit $ac_status); }; }; then |
12790 |
fptools_cv_code_bef_data=yes |
21928 |
fptools_cv_code_bef_data=yes |
12791 |
else |
21929 |
else |
12792 |
echo "configure: failed program was:" >&5 |
21930 |
echo "$as_me: program exited with status $ac_status" >&5 |
12793 |
cat conftest.$ac_ext >&5 |
21931 |
echo "$as_me: failed program was:" >&5 |
12794 |
rm -fr conftest* |
21932 |
cat conftest.$ac_ext >&5 |
12795 |
fptools_cv_code_bef_data=no |
21933 |
( exit $ac_status ) |
|
|
21934 |
fptools_cv_code_bef_data=no |
12796 |
fi |
21935 |
fi |
12797 |
rm -fr conftest* |
21936 |
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
12798 |
fi |
21937 |
fi |
12799 |
|
|
|
12800 |
fi |
21938 |
fi |
12801 |
|
21939 |
echo "$as_me:$LINENO: result: $fptools_cv_code_bef_data" >&5 |
12802 |
echo "$ac_t""$fptools_cv_code_bef_data" 1>&6 |
21940 |
echo "${ECHO_T}$fptools_cv_code_bef_data" >&6 |
12803 |
if test "$fptools_cv_code_bef_data" = yes; then |
21941 |
if test "$fptools_cv_code_bef_data" = yes; then |
12804 |
cat >> confdefs.h <<\EOF |
21942 |
cat >>confdefs.h <<\_ACEOF |
12805 |
#define CODE_BEFORE_DATA 1 |
21943 |
#define CODE_BEFORE_DATA 1 |
12806 |
EOF |
21944 |
_ACEOF |
12807 |
|
21945 |
|
12808 |
fi |
21946 |
fi |
12809 |
|
21947 |
|
12810 |
|
21948 |
|
12811 |
# Extract the first word of "ld", so it can be a program name with args. |
21949 |
# Extract the first word of "ld", so it can be a program name with args. |
12812 |
set dummy ld; ac_word=$2 |
21950 |
set dummy ld; ac_word=$2 |
12813 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
21951 |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12814 |
echo "configure:12815: checking for $ac_word" >&5 |
21952 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
12815 |
if eval "test \"`echo '$''{'ac_cv_path_LdCmdRaw'+set}'`\" = set"; then |
21953 |
if test "${ac_cv_path_LdCmdRaw+set}" = set; then |
12816 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21954 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12817 |
else |
21955 |
else |
12818 |
case "$LdCmdRaw" in |
21956 |
case $LdCmdRaw in |
12819 |
/*) |
21957 |
[\\/]* | ?:[\\/]*) |
12820 |
ac_cv_path_LdCmdRaw="$LdCmdRaw" # Let the user override the test with a path. |
21958 |
ac_cv_path_LdCmdRaw="$LdCmdRaw" # Let the user override the test with a path. |
12821 |
;; |
21959 |
;; |
12822 |
?:/*) |
|
|
12823 |
ac_cv_path_LdCmdRaw="$LdCmdRaw" # Let the user override the test with a dos path. |
12824 |
;; |
12825 |
*) |
21960 |
*) |
12826 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
21961 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
12827 |
ac_dummy="$PATH" |
21962 |
for as_dir in $PATH |
12828 |
for ac_dir in $ac_dummy; do |
21963 |
do |
12829 |
test -z "$ac_dir" && ac_dir=. |
21964 |
IFS=$as_save_IFS |
12830 |
if test -f $ac_dir/$ac_word; then |
21965 |
test -z "$as_dir" && as_dir=. |
12831 |
ac_cv_path_LdCmdRaw="$ac_dir/$ac_word" |
21966 |
for ac_exec_ext in '' $ac_executable_extensions; do |
12832 |
break |
21967 |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
12833 |
fi |
21968 |
ac_cv_path_LdCmdRaw="$as_dir/$ac_word$ac_exec_ext" |
12834 |
done |
21969 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
12835 |
IFS="$ac_save_ifs" |
21970 |
break 2 |
|
|
21971 |
fi |
21972 |
done |
21973 |
done |
21974 |
|
12836 |
;; |
21975 |
;; |
12837 |
esac |
21976 |
esac |
12838 |
fi |
21977 |
fi |
12839 |
LdCmdRaw="$ac_cv_path_LdCmdRaw" |
21978 |
LdCmdRaw=$ac_cv_path_LdCmdRaw |
|
|
21979 |
|
12840 |
if test -n "$LdCmdRaw"; then |
21980 |
if test -n "$LdCmdRaw"; then |
12841 |
echo "$ac_t""$LdCmdRaw" 1>&6 |
21981 |
echo "$as_me:$LINENO: result: $LdCmdRaw" >&5 |
|
|
21982 |
echo "${ECHO_T}$LdCmdRaw" >&6 |
12842 |
else |
21983 |
else |
12843 |
echo "$ac_t""no" 1>&6 |
21984 |
echo "$as_me:$LINENO: result: no" >&5 |
|
|
21985 |
echo "${ECHO_T}no" >&6 |
12844 |
fi |
21986 |
fi |
12845 |
|
21987 |
|
12846 |
case $HostOS_CPP in |
21988 |
case $HostOS_CPP in |
Lines 12850-12861
Link Here
|
12850 |
;; |
21992 |
;; |
12851 |
esac |
21993 |
esac |
12852 |
|
21994 |
|
12853 |
echo $ac_n "checking whether ld understands -x""... $ac_c" 1>&6 |
21995 |
echo "$as_me:$LINENO: checking whether ld understands -x" >&5 |
12854 |
echo "configure:12855: checking whether ld understands -x" >&5 |
21996 |
echo $ECHO_N "checking whether ld understands -x... $ECHO_C" >&6 |
12855 |
if eval "test \"`echo '$''{'fptools_cv_ld_x'+set}'`\" = set"; then |
21997 |
if test "${fptools_cv_ld_x+set}" = set; then |
12856 |
echo $ac_n "(cached) $ac_c" 1>&6 |
21998 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
12857 |
else |
21999 |
else |
12858 |
|
22000 |
|
12859 |
echo 'foo() {}' > conftest.c |
22001 |
echo 'foo() {}' > conftest.c |
12860 |
${CC-cc} -c conftest.c |
22002 |
${CC-cc} -c conftest.c |
12861 |
if ${LdCmd} -r -x -o foo.o conftest.o; then |
22003 |
if ${LdCmd} -r -x -o foo.o conftest.o; then |
Lines 12866-12873
Link Here
|
12866 |
rm -rf conftest.c conftest.o foo.o |
22008 |
rm -rf conftest.c conftest.o foo.o |
12867 |
|
22009 |
|
12868 |
fi |
22010 |
fi |
12869 |
|
22011 |
echo "$as_me:$LINENO: result: $fptools_cv_ld_x" >&5 |
12870 |
echo "$ac_t""$fptools_cv_ld_x" 1>&6 |
22012 |
echo "${ECHO_T}$fptools_cv_ld_x" >&6 |
12871 |
if test "$fptools_cv_ld_x" = yes; then |
22013 |
if test "$fptools_cv_ld_x" = yes; then |
12872 |
LdXFlag=-x |
22014 |
LdXFlag=-x |
12873 |
else |
22015 |
else |
Lines 12876-13329
Link Here
|
12876 |
|
22018 |
|
12877 |
|
22019 |
|
12878 |
|
22020 |
|
12879 |
trap '' 1 2 15 |
22021 |
ac_config_files="$ac_config_files mk/config.mk" |
12880 |
cat > confcache <<\EOF |
22022 |
ac_config_commands="$ac_config_commands default" |
|
|
22023 |
cat >confcache <<\_ACEOF |
12881 |
# This file is a shell script that caches the results of configure |
22024 |
# This file is a shell script that caches the results of configure |
12882 |
# tests run on this system so they can be shared between configure |
22025 |
# tests run on this system so they can be shared between configure |
12883 |
# scripts and configure runs. It is not useful on other systems. |
22026 |
# scripts and configure runs, see configure's option --config-cache. |
12884 |
# If it contains results you don't want to keep, you may remove or edit it. |
22027 |
# It is not useful on other systems. If it contains results you don't |
|
|
22028 |
# want to keep, you may remove or edit it. |
12885 |
# |
22029 |
# |
12886 |
# By default, configure uses ./config.cache as the cache file, |
22030 |
# config.status only pays attention to the cache file if you give it |
12887 |
# creating it if it does not exist already. You can give configure |
22031 |
# the --recheck option to rerun configure. |
12888 |
# the --cache-file=FILE option to use a different cache file; that is |
|
|
12889 |
# what configure does when it calls configure scripts in |
12890 |
# subdirectories, so they share the cache. |
12891 |
# Giving --cache-file=/dev/null disables caching, for debugging configure. |
12892 |
# config.status only pays attention to the cache file if you give it the |
12893 |
# --recheck option to rerun configure. |
12894 |
# |
22032 |
# |
12895 |
EOF |
22033 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
|
22034 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
22035 |
# following values. |
22036 |
|
22037 |
_ACEOF |
22038 |
|
12896 |
# The following way of writing the cache mishandles newlines in values, |
22039 |
# The following way of writing the cache mishandles newlines in values, |
12897 |
# but we know of no workaround that is simple, portable, and efficient. |
22040 |
# but we know of no workaround that is simple, portable, and efficient. |
12898 |
# So, don't put newlines in cache variables' values. |
22041 |
# So, don't put newlines in cache variables' values. |
12899 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
22042 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
12900 |
# and sets the high bit in the cache file unless we assign to the vars. |
22043 |
# and sets the high bit in the cache file unless we assign to the vars. |
12901 |
(set) 2>&1 | |
22044 |
{ |
12902 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
22045 |
(set) 2>&1 | |
12903 |
*ac_space=\ *) |
22046 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in |
12904 |
# `set' does not quote correctly, so add quotes (double-quote substitution |
22047 |
*ac_space=\ *) |
12905 |
# turns \\\\ into \\, and sed turns \\ into \). |
22048 |
# `set' does not quote correctly, so add quotes (double-quote |
12906 |
sed -n \ |
22049 |
# substitution turns \\\\ into \\, and sed turns \\ into \). |
12907 |
-e "s/'/'\\\\''/g" \ |
22050 |
sed -n \ |
12908 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
22051 |
"s/'/'\\\\''/g; |
12909 |
;; |
22052 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
12910 |
*) |
22053 |
;; |
12911 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
22054 |
*) |
12912 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
22055 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
12913 |
;; |
22056 |
sed -n \ |
12914 |
esac >> confcache |
22057 |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" |
12915 |
if cmp -s $cache_file confcache; then |
22058 |
;; |
12916 |
: |
22059 |
esac; |
12917 |
else |
22060 |
} | |
|
|
22061 |
sed ' |
22062 |
t clear |
22063 |
: clear |
22064 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
22065 |
t end |
22066 |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
22067 |
: end' >>confcache |
22068 |
if cmp -s $cache_file confcache; then :; else |
12918 |
if test -w $cache_file; then |
22069 |
if test -w $cache_file; then |
12919 |
echo "updating cache $cache_file" |
22070 |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
12920 |
cat confcache > $cache_file |
22071 |
cat confcache >$cache_file |
12921 |
else |
22072 |
else |
12922 |
echo "not updating unwritable cache $cache_file" |
22073 |
echo "not updating unwritable cache $cache_file" |
12923 |
fi |
22074 |
fi |
12924 |
fi |
22075 |
fi |
12925 |
rm -f confcache |
22076 |
rm -f confcache |
12926 |
|
22077 |
|
12927 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
|
|
12928 |
|
12929 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
22078 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
12930 |
# Let make expand exec_prefix. |
22079 |
# Let make expand exec_prefix. |
12931 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
22080 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
12932 |
|
22081 |
|
12933 |
# Any assignment to VPATH causes Sun make to only execute |
22082 |
# VPATH may cause trouble with some makes, so we remove $(srcdir), |
12934 |
# the first set of double-colon rules, so remove it if not needed. |
22083 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and |
12935 |
# If there is a colon in the path, we need to keep it. |
22084 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
|
22085 |
# (actually we leave an empty line to preserve line numbers). |
12936 |
if test "x$srcdir" = x.; then |
22086 |
if test "x$srcdir" = x.; then |
12937 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
22087 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
|
|
22088 |
s/:*\$(srcdir):*/:/; |
22089 |
s/:*\${srcdir}:*/:/; |
22090 |
s/:*@srcdir@:*/:/; |
22091 |
s/^\([^=]*=[ ]*\):*/\1/; |
22092 |
s/:*$//; |
22093 |
s/^[^=]*=[ ]*$//; |
22094 |
}' |
12938 |
fi |
22095 |
fi |
12939 |
|
22096 |
|
12940 |
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
|
|
12941 |
|
12942 |
DEFS=-DHAVE_CONFIG_H |
22097 |
DEFS=-DHAVE_CONFIG_H |
12943 |
|
22098 |
|
12944 |
# Without the "./", some shells look in PATH for config.status. |
|
|
12945 |
: ${CONFIG_STATUS=./config.status} |
12946 |
|
22099 |
|
12947 |
echo creating $CONFIG_STATUS |
22100 |
: ${CONFIG_STATUS=./config.status} |
12948 |
rm -f $CONFIG_STATUS |
22101 |
ac_clean_files_save=$ac_clean_files |
12949 |
cat > $CONFIG_STATUS <<EOF |
22102 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
12950 |
#! /bin/sh |
22103 |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 |
12951 |
# Generated automatically by configure. |
22104 |
echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
|
22105 |
cat >$CONFIG_STATUS <<_ACEOF |
22106 |
#! $SHELL |
22107 |
# Generated by $as_me. |
12952 |
# Run this file to recreate the current configuration. |
22108 |
# Run this file to recreate the current configuration. |
12953 |
# This directory was configured as follows, |
|
|
12954 |
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
12955 |
# |
12956 |
# $0 $ac_configure_args |
12957 |
# |
12958 |
# Compiler output produced by configure, useful for debugging |
22109 |
# Compiler output produced by configure, useful for debugging |
12959 |
# configure, is in ./config.log if it exists. |
22110 |
# configure, is in config.log if it exists. |
12960 |
|
22111 |
|
12961 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
22112 |
debug=false |
12962 |
for ac_option |
22113 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
|
22114 |
_ACEOF |
22115 |
|
22116 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22117 |
## --------------------- ## |
22118 |
## M4sh Initialization. ## |
22119 |
## --------------------- ## |
22120 |
|
22121 |
# Be Bourne compatible |
22122 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then |
22123 |
emulate sh |
22124 |
NULLCMD=: |
22125 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which |
22126 |
# is contrary to our usage. Disable this feature. |
22127 |
alias -g '${1+"$@"}'='"$@"' |
22128 |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then |
22129 |
set -o posix |
22130 |
fi |
22131 |
|
22132 |
# NLS nuisances. |
22133 |
# Support unset when possible. |
22134 |
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then |
22135 |
as_unset=unset |
22136 |
else |
22137 |
as_unset=false |
22138 |
fi |
22139 |
|
22140 |
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") && |
22141 |
{ $as_unset LANG || test "${LANG+set}" != set; } || |
22142 |
{ LANG=C; export LANG; } |
22143 |
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && |
22144 |
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || |
22145 |
{ LC_ALL=C; export LC_ALL; } |
22146 |
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && |
22147 |
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || |
22148 |
{ LC_TIME=C; export LC_TIME; } |
22149 |
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && |
22150 |
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || |
22151 |
{ LC_CTYPE=C; export LC_CTYPE; } |
22152 |
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && |
22153 |
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || |
22154 |
{ LANGUAGE=C; export LANGUAGE; } |
22155 |
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && |
22156 |
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || |
22157 |
{ LC_COLLATE=C; export LC_COLLATE; } |
22158 |
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && |
22159 |
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || |
22160 |
{ LC_NUMERIC=C; export LC_NUMERIC; } |
22161 |
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && |
22162 |
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || |
22163 |
{ LC_MESSAGES=C; export LC_MESSAGES; } |
22164 |
|
22165 |
|
22166 |
# Required to use basename. |
22167 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
22168 |
as_expr=expr |
22169 |
else |
22170 |
as_expr=false |
22171 |
fi |
22172 |
|
22173 |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then |
22174 |
as_basename=basename |
22175 |
else |
22176 |
as_basename=false |
22177 |
fi |
22178 |
|
22179 |
|
22180 |
# Name of the executable. |
22181 |
as_me=`$as_basename "$0" || |
22182 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
22183 |
X"$0" : 'X\(//\)$' \| \ |
22184 |
X"$0" : 'X\(/\)$' \| \ |
22185 |
. : '\(.\)' 2>/dev/null || |
22186 |
echo X/"$0" | |
22187 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } |
22188 |
/^X\/\(\/\/\)$/{ s//\1/; q; } |
22189 |
/^X\/\(\/\).*/{ s//\1/; q; } |
22190 |
s/.*/./; q'` |
22191 |
|
22192 |
|
22193 |
# PATH needs CR, and LINENO needs CR and PATH. |
22194 |
# Avoid depending upon Character Ranges. |
22195 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
22196 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
22197 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
22198 |
as_cr_digits='0123456789' |
22199 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
22200 |
|
22201 |
# The user is always right. |
22202 |
if test "${PATH_SEPARATOR+set}" != set; then |
22203 |
echo "#! /bin/sh" >conftest.sh |
22204 |
echo "exit 0" >>conftest.sh |
22205 |
chmod +x conftest.sh |
22206 |
if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then |
22207 |
PATH_SEPARATOR=';' |
22208 |
else |
22209 |
PATH_SEPARATOR=: |
22210 |
fi |
22211 |
rm -f conftest.sh |
22212 |
fi |
22213 |
|
22214 |
|
22215 |
as_lineno_1=$LINENO |
22216 |
as_lineno_2=$LINENO |
22217 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
22218 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
22219 |
test "x$as_lineno_3" = "x$as_lineno_2" || { |
22220 |
# Find who we are. Look in the path if we contain no path at all |
22221 |
# relative or not. |
22222 |
case $0 in |
22223 |
*[\\/]* ) as_myself=$0 ;; |
22224 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
22225 |
for as_dir in $PATH |
22226 |
do |
22227 |
IFS=$as_save_IFS |
22228 |
test -z "$as_dir" && as_dir=. |
22229 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
22230 |
done |
22231 |
|
22232 |
;; |
22233 |
esac |
22234 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
22235 |
# in which case we are not to be found in the path. |
22236 |
if test "x$as_myself" = x; then |
22237 |
as_myself=$0 |
22238 |
fi |
22239 |
if test ! -f "$as_myself"; then |
22240 |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 |
22241 |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} |
22242 |
{ (exit 1); exit 1; }; } |
22243 |
fi |
22244 |
case $CONFIG_SHELL in |
22245 |
'') |
22246 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
22247 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
22248 |
do |
22249 |
IFS=$as_save_IFS |
22250 |
test -z "$as_dir" && as_dir=. |
22251 |
for as_base in sh bash ksh sh5; do |
22252 |
case $as_dir in |
22253 |
/*) |
22254 |
if ("$as_dir/$as_base" -c ' |
22255 |
as_lineno_1=$LINENO |
22256 |
as_lineno_2=$LINENO |
22257 |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` |
22258 |
test "x$as_lineno_1" != "x$as_lineno_2" && |
22259 |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then |
22260 |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } |
22261 |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } |
22262 |
CONFIG_SHELL=$as_dir/$as_base |
22263 |
export CONFIG_SHELL |
22264 |
exec "$CONFIG_SHELL" "$0" ${1+"$@"} |
22265 |
fi;; |
22266 |
esac |
22267 |
done |
22268 |
done |
22269 |
;; |
22270 |
esac |
22271 |
|
22272 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO |
22273 |
# uniformly replaced by the line number. The first 'sed' inserts a |
22274 |
# line-number line before each line; the second 'sed' does the real |
22275 |
# work. The second script uses 'N' to pair each line-number line |
22276 |
# with the numbered line, and appends trailing '-' during |
22277 |
# substitution so that $LINENO is not a special case at line end. |
22278 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the |
22279 |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) |
22280 |
sed '=' <$as_myself | |
22281 |
sed ' |
22282 |
N |
22283 |
s,$,-, |
22284 |
: loop |
22285 |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, |
22286 |
t loop |
22287 |
s,-$,, |
22288 |
s,^['$as_cr_digits']*\n,, |
22289 |
' >$as_me.lineno && |
22290 |
chmod +x $as_me.lineno || |
22291 |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 |
22292 |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} |
22293 |
{ (exit 1); exit 1; }; } |
22294 |
|
22295 |
# Don't try to exec as it changes $[0], causing all sort of problems |
22296 |
# (the dirname of $[0] is not the place where we might find the |
22297 |
# original and so on. Autoconf is especially sensible to this). |
22298 |
. ./$as_me.lineno |
22299 |
# Exit status is that of the last command. |
22300 |
exit |
22301 |
} |
22302 |
|
22303 |
|
22304 |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
22305 |
*c*,-n*) ECHO_N= ECHO_C=' |
22306 |
' ECHO_T=' ' ;; |
22307 |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; |
22308 |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;; |
22309 |
esac |
22310 |
|
22311 |
if expr a : '\(a\)' >/dev/null 2>&1; then |
22312 |
as_expr=expr |
22313 |
else |
22314 |
as_expr=false |
22315 |
fi |
22316 |
|
22317 |
rm -f conf$$ conf$$.exe conf$$.file |
22318 |
echo >conf$$.file |
22319 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
22320 |
# We could just check for DJGPP; but this test a) works b) is more generic |
22321 |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). |
22322 |
if test -f conf$$.exe; then |
22323 |
# Don't use ln at all; we don't have any links |
22324 |
as_ln_s='cp -p' |
22325 |
else |
22326 |
as_ln_s='ln -s' |
22327 |
fi |
22328 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
22329 |
as_ln_s=ln |
22330 |
else |
22331 |
as_ln_s='cp -p' |
22332 |
fi |
22333 |
rm -f conf$$ conf$$.exe conf$$.file |
22334 |
|
22335 |
if mkdir -p . 2>/dev/null; then |
22336 |
as_mkdir_p=: |
22337 |
else |
22338 |
as_mkdir_p=false |
22339 |
fi |
22340 |
|
22341 |
as_executable_p="test -f" |
22342 |
|
22343 |
# Sed expression to map a string onto a valid CPP name. |
22344 |
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" |
22345 |
|
22346 |
# Sed expression to map a string onto a valid variable name. |
22347 |
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" |
22348 |
|
22349 |
|
22350 |
# IFS |
22351 |
# We need space, tab and new line, in precisely that order. |
22352 |
as_nl=' |
22353 |
' |
22354 |
IFS=" $as_nl" |
22355 |
|
22356 |
# CDPATH. |
22357 |
$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } |
22358 |
|
22359 |
exec 6>&1 |
22360 |
|
22361 |
# Open the log real soon, to keep \$[0] and so on meaningful, and to |
22362 |
# report actual input values of CONFIG_FILES etc. instead of their |
22363 |
# values after options handling. Logging --version etc. is OK. |
22364 |
exec 5>>config.log |
22365 |
{ |
22366 |
echo |
22367 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
22368 |
## Running $as_me. ## |
22369 |
_ASBOX |
22370 |
} >&5 |
22371 |
cat >&5 <<_CSEOF |
22372 |
|
22373 |
This file was extended by $as_me, which was |
22374 |
generated by GNU Autoconf 2.53a. Invocation command line was |
22375 |
|
22376 |
CONFIG_FILES = $CONFIG_FILES |
22377 |
CONFIG_HEADERS = $CONFIG_HEADERS |
22378 |
CONFIG_LINKS = $CONFIG_LINKS |
22379 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
22380 |
$ $0 $@ |
22381 |
|
22382 |
_CSEOF |
22383 |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 |
22384 |
echo >&5 |
22385 |
_ACEOF |
22386 |
|
22387 |
# Files that config.status was made for. |
22388 |
if test -n "$ac_config_files"; then |
22389 |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS |
22390 |
fi |
22391 |
|
22392 |
if test -n "$ac_config_headers"; then |
22393 |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS |
22394 |
fi |
22395 |
|
22396 |
if test -n "$ac_config_links"; then |
22397 |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS |
22398 |
fi |
22399 |
|
22400 |
if test -n "$ac_config_commands"; then |
22401 |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS |
22402 |
fi |
22403 |
|
22404 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22405 |
|
22406 |
ac_cs_usage="\ |
22407 |
\`$as_me' instantiates files from templates according to the |
22408 |
current configuration. |
22409 |
|
22410 |
Usage: $0 [OPTIONS] [FILE]... |
22411 |
|
22412 |
-h, --help print this help, then exit |
22413 |
-V, --version print version number, then exit |
22414 |
-d, --debug don't remove temporary files |
22415 |
--recheck update $as_me by reconfiguring in the same conditions |
22416 |
--file=FILE[:TEMPLATE] |
22417 |
instantiate the configuration file FILE |
22418 |
--header=FILE[:TEMPLATE] |
22419 |
instantiate the configuration header FILE |
22420 |
|
22421 |
Configuration files: |
22422 |
$config_files |
22423 |
|
22424 |
Configuration headers: |
22425 |
$config_headers |
22426 |
|
22427 |
Configuration commands: |
22428 |
$config_commands |
22429 |
|
22430 |
Report bugs to <bug-autoconf@gnu.org>." |
22431 |
_ACEOF |
22432 |
|
22433 |
cat >>$CONFIG_STATUS <<_ACEOF |
22434 |
ac_cs_version="\\ |
22435 |
config.status |
22436 |
configured by $0, generated by GNU Autoconf 2.53a, |
22437 |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
22438 |
|
22439 |
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
22440 |
Free Software Foundation, Inc. |
22441 |
This config.status script is free software; the Free Software Foundation |
22442 |
gives unlimited permission to copy, distribute and modify it." |
22443 |
srcdir=$srcdir |
22444 |
INSTALL="$INSTALL" |
22445 |
_ACEOF |
22446 |
|
22447 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22448 |
# If no file are specified by the user, then we need to provide default |
22449 |
# value. By we need to know if files were specified by the user. |
22450 |
ac_need_defaults=: |
22451 |
while test $# != 0 |
12963 |
do |
22452 |
do |
12964 |
case "\$ac_option" in |
22453 |
case $1 in |
|
|
22454 |
--*=*) |
22455 |
ac_option=`expr "x$1" : 'x\([^=]*\)='` |
22456 |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` |
22457 |
ac_shift=: |
22458 |
;; |
22459 |
-*) |
22460 |
ac_option=$1 |
22461 |
ac_optarg=$2 |
22462 |
ac_shift=shift |
22463 |
;; |
22464 |
*) # This is not an option, so the user has probably given explicit |
22465 |
# arguments. |
22466 |
ac_option=$1 |
22467 |
ac_need_defaults=false;; |
22468 |
esac |
22469 |
|
22470 |
case $ac_option in |
22471 |
# Handling of the options. |
22472 |
_ACEOF |
22473 |
cat >>$CONFIG_STATUS <<_ACEOF |
12965 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
22474 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
12966 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
22475 |
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" |
12967 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
22476 |
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; |
12968 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
22477 |
_ACEOF |
12969 |
echo "$CONFIG_STATUS generated by autoconf version 2.13" |
22478 |
cat >>$CONFIG_STATUS <<\_ACEOF |
12970 |
exit 0 ;; |
22479 |
--version | --vers* | -V ) |
12971 |
-help | --help | --hel | --he | --h) |
22480 |
echo "$ac_cs_version"; exit 0 ;; |
12972 |
echo "\$ac_cs_usage"; exit 0 ;; |
22481 |
--he | --h) |
12973 |
*) echo "\$ac_cs_usage"; exit 1 ;; |
22482 |
# Conflict between --help and --header |
|
|
22483 |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1 |
22484 |
Try \`$0 --help' for more information." >&5 |
22485 |
echo "$as_me: error: ambiguous option: $1 |
22486 |
Try \`$0 --help' for more information." >&2;} |
22487 |
{ (exit 1); exit 1; }; };; |
22488 |
--help | --hel | -h ) |
22489 |
echo "$ac_cs_usage"; exit 0 ;; |
22490 |
--debug | --d* | -d ) |
22491 |
debug=: ;; |
22492 |
--file | --fil | --fi | --f ) |
22493 |
$ac_shift |
22494 |
CONFIG_FILES="$CONFIG_FILES $ac_optarg" |
22495 |
ac_need_defaults=false;; |
22496 |
--header | --heade | --head | --hea ) |
22497 |
$ac_shift |
22498 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" |
22499 |
ac_need_defaults=false;; |
22500 |
|
22501 |
# This is an error. |
22502 |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 |
22503 |
Try \`$0 --help' for more information." >&5 |
22504 |
echo "$as_me: error: unrecognized option: $1 |
22505 |
Try \`$0 --help' for more information." >&2;} |
22506 |
{ (exit 1); exit 1; }; } ;; |
22507 |
|
22508 |
*) ac_config_targets="$ac_config_targets $1" ;; |
22509 |
|
12974 |
esac |
22510 |
esac |
|
|
22511 |
shift |
12975 |
done |
22512 |
done |
12976 |
|
22513 |
|
12977 |
ac_given_srcdir=$srcdir |
22514 |
_ACEOF |
12978 |
ac_given_INSTALL="$INSTALL" |
|
|
12979 |
|
22515 |
|
12980 |
trap 'rm -fr `echo "mk/config.mk mk/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
|
|
12981 |
EOF |
12982 |
cat >> $CONFIG_STATUS <<EOF |
12983 |
|
22516 |
|
12984 |
# Protect against being on the right side of a sed subst in config.status. |
|
|
12985 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
12986 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
12987 |
$ac_vpsub |
12988 |
$extrasub |
12989 |
s%@SHELL@%$SHELL%g |
12990 |
s%@CFLAGS@%$CFLAGS%g |
12991 |
s%@CPPFLAGS@%$CPPFLAGS%g |
12992 |
s%@CXXFLAGS@%$CXXFLAGS%g |
12993 |
s%@FFLAGS@%$FFLAGS%g |
12994 |
s%@DEFS@%$DEFS%g |
12995 |
s%@LDFLAGS@%$LDFLAGS%g |
12996 |
s%@LIBS@%$LIBS%g |
12997 |
s%@exec_prefix@%$exec_prefix%g |
12998 |
s%@prefix@%$prefix%g |
12999 |
s%@program_transform_name@%$program_transform_name%g |
13000 |
s%@bindir@%$bindir%g |
13001 |
s%@sbindir@%$sbindir%g |
13002 |
s%@libexecdir@%$libexecdir%g |
13003 |
s%@datadir@%$datadir%g |
13004 |
s%@sysconfdir@%$sysconfdir%g |
13005 |
s%@sharedstatedir@%$sharedstatedir%g |
13006 |
s%@localstatedir@%$localstatedir%g |
13007 |
s%@libdir@%$libdir%g |
13008 |
s%@includedir@%$includedir%g |
13009 |
s%@oldincludedir@%$oldincludedir%g |
13010 |
s%@infodir@%$infodir%g |
13011 |
s%@mandir@%$mandir%g |
13012 |
s%@subdirs@%$subdirs%g |
13013 |
s%@host@%$host%g |
13014 |
s%@host_alias@%$host_alias%g |
13015 |
s%@host_cpu@%$host_cpu%g |
13016 |
s%@host_vendor@%$host_vendor%g |
13017 |
s%@host_os@%$host_os%g |
13018 |
s%@target@%$target%g |
13019 |
s%@target_alias@%$target_alias%g |
13020 |
s%@target_cpu@%$target_cpu%g |
13021 |
s%@target_vendor@%$target_vendor%g |
13022 |
s%@target_os@%$target_os%g |
13023 |
s%@build@%$build%g |
13024 |
s%@build_alias@%$build_alias%g |
13025 |
s%@build_cpu@%$build_cpu%g |
13026 |
s%@build_vendor@%$build_vendor%g |
13027 |
s%@build_os@%$build_os%g |
13028 |
s%@HostPlatform@%$HostPlatform%g |
13029 |
s%@TargetPlatform@%$TargetPlatform%g |
13030 |
s%@HostPlatform_CPP@%$HostPlatform_CPP%g |
13031 |
s%@HostArch_CPP@%$HostArch_CPP%g |
13032 |
s%@HostOS_CPP@%$HostOS_CPP%g |
13033 |
s%@HostOS_Full@%$HostOS_Full%g |
13034 |
s%@HostVendor_CPP@%$HostVendor_CPP%g |
13035 |
s%@exeext@%$exeext%g |
13036 |
s%@hardtop@%$hardtop%g |
13037 |
s%@hardtop_plat@%$hardtop_plat%g |
13038 |
s%@GHC@%$GHC%g |
13039 |
s%@WithGhc@%$WithGhc%g |
13040 |
s%@WithHc@%$WithHc%g |
13041 |
s%@GhcVersion@%$GhcVersion%g |
13042 |
s%@GhcMajVersion@%$GhcMajVersion%g |
13043 |
s%@GhcMinVersion@%$GhcMinVersion%g |
13044 |
s%@GhcPatchLevel@%$GhcPatchLevel%g |
13045 |
s%@NHC@%$NHC%g |
13046 |
s%@HBC@%$HBC%g |
13047 |
s%@WhatGccIsCalled@%$WhatGccIsCalled%g |
13048 |
s%@BootingFromHc@%$BootingFromHc%g |
13049 |
s%@BootingFromUnregisterisedHc@%$BootingFromUnregisterisedHc%g |
13050 |
s%@ThreadedRts@%$ThreadedRts%g |
13051 |
s%@EnableWin32DLLs@%$EnableWin32DLLs%g |
13052 |
s%@GhcLibsWithHOpenGL@%$GhcLibsWithHOpenGL%g |
13053 |
s%@PerlCmd@%$PerlCmd%g |
13054 |
s%@CC@%$CC%g |
13055 |
s%@HaveGcc@%$HaveGcc%g |
13056 |
s%@CPP@%$CPP%g |
13057 |
s%@SRC_CC_OPTS@%$SRC_CC_OPTS%g |
13058 |
s%@ContextDiffCmd@%$ContextDiffCmd%g |
13059 |
s%@Find2Cmd@%$Find2Cmd%g |
13060 |
s%@FindCmd@%$FindCmd%g |
13061 |
s%@YACC@%$YACC%g |
13062 |
s%@WhatCmd@%$WhatCmd%g |
13063 |
s%@YaccCmd@%$YaccCmd%g |
13064 |
s%@LEX@%$LEX%g |
13065 |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
13066 |
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
13067 |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
13068 |
s%@ArCmdRaw@%$ArCmdRaw%g |
13069 |
s%@ArCmd@%$ArCmd%g |
13070 |
s%@ArSupportsInput@%$ArSupportsInput%g |
13071 |
s%@RANLIB@%$RANLIB%g |
13072 |
s%@LN_S@%$LN_S%g |
13073 |
s%@SedCmd@%$SedCmd%g |
13074 |
s%@TimeCmd@%$TimeCmd%g |
13075 |
s%@TarCmd@%$TarCmd%g |
13076 |
s%@CompressCmd@%$CompressCmd%g |
13077 |
s%@JadeCmd@%$JadeCmd%g |
13078 |
s%@Catalog@%$Catalog%g |
13079 |
s%@CompressSuffix@%$CompressSuffix%g |
13080 |
s%@HappyCmd@%$HappyCmd%g |
13081 |
s%@HappyVersion@%$HappyVersion%g |
13082 |
s%@HaveReadlineHeaders@%$HaveReadlineHeaders%g |
13083 |
s%@HavePosixRegex@%$HavePosixRegex%g |
13084 |
s%@HAVE_MSGHDR_MSG_ACCRIGHTS@%$HAVE_MSGHDR_MSG_ACCRIGHTS%g |
13085 |
s%@HAVE_MSGHDR_MSG_CONTROL@%$HAVE_MSGHDR_MSG_CONTROL%g |
13086 |
s%@HaveLibGmp@%$HaveLibGmp%g |
13087 |
s%@LibGmp@%$LibGmp%g |
13088 |
s%@HaveLibMingwEx@%$HaveLibMingwEx%g |
13089 |
s%@HaveGNURegex@%$HaveGNURegex%g |
13090 |
s%@LibsReadline@%$LibsReadline%g |
13091 |
s%@LIBM@%$LIBM%g |
13092 |
s%@X_CFLAGS@%$X_CFLAGS%g |
13093 |
s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
13094 |
s%@X_LIBS@%$X_LIBS%g |
13095 |
s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
13096 |
s%@GL_CFLAGS@%$GL_CFLAGS%g |
13097 |
s%@GL_LIBS@%$GL_LIBS%g |
13098 |
s%@HaveLibDL@%$HaveLibDL%g |
13099 |
s%@HaveRtldNext@%$HaveRtldNext%g |
13100 |
s%@HaveRtldLocal@%$HaveRtldLocal%g |
13101 |
s%@GTK_CONFIG@%$GTK_CONFIG%g |
13102 |
s%@GTK_VERSION@%$GTK_VERSION%g |
13103 |
s%@ALLOCA@%$ALLOCA%g |
13104 |
s%@LeadingUnderscore@%$LeadingUnderscore%g |
13105 |
s%@LdCmdRaw@%$LdCmdRaw%g |
13106 |
s%@LdCmd@%$LdCmd%g |
13107 |
s%@LdXFlag@%$LdXFlag%g |
13108 |
|
22517 |
|
|
|
22518 |
|
22519 |
|
22520 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22521 |
for ac_config_target in $ac_config_targets |
22522 |
do |
22523 |
case "$ac_config_target" in |
22524 |
# Handling of arguments. |
22525 |
"mk/config.mk" ) CONFIG_FILES="$CONFIG_FILES mk/config.mk" ;; |
22526 |
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
22527 |
"mk/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS mk/config.h" ;; |
22528 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
22529 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
22530 |
{ (exit 1); exit 1; }; };; |
22531 |
esac |
22532 |
done |
22533 |
|
22534 |
# If the user did not use the arguments to specify the items to instantiate, |
22535 |
# then the envvar interface is used. Set only those that are not. |
22536 |
# We use the long form for the default assignment because of an extremely |
22537 |
# bizarre bug on SunOS 4.1.3. |
22538 |
if $ac_need_defaults; then |
22539 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
22540 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
22541 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
22542 |
fi |
22543 |
|
22544 |
# Create a temporary directory, and hook for its removal unless debugging. |
22545 |
$debug || |
22546 |
{ |
22547 |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 |
22548 |
trap '{ (exit 1); exit 1; }' 1 2 13 15 |
22549 |
} |
22550 |
|
22551 |
# Create a (secure) tmp directory for tmp files. |
22552 |
: ${TMPDIR=/tmp} |
22553 |
{ |
22554 |
tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && |
22555 |
test -n "$tmp" && test -d "$tmp" |
22556 |
} || |
22557 |
{ |
22558 |
tmp=$TMPDIR/cs$$-$RANDOM |
22559 |
(umask 077 && mkdir $tmp) |
22560 |
} || |
22561 |
{ |
22562 |
echo "$me: cannot create a temporary directory in $TMPDIR" >&2 |
22563 |
{ (exit 1); exit 1; } |
22564 |
} |
22565 |
|
22566 |
_ACEOF |
22567 |
|
22568 |
cat >>$CONFIG_STATUS <<_ACEOF |
22569 |
|
22570 |
# |
22571 |
# CONFIG_FILES section. |
22572 |
# |
22573 |
|
22574 |
# No need to generate the scripts if there are no CONFIG_FILES. |
22575 |
# This happens for instance when ./config.status config.h |
22576 |
if test -n "\$CONFIG_FILES"; then |
22577 |
# Protect against being on the right side of a sed subst in config.status. |
22578 |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; |
22579 |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF |
22580 |
s,@SHELL@,$SHELL,;t t |
22581 |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
22582 |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t |
22583 |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t |
22584 |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t |
22585 |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t |
22586 |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t |
22587 |
s,@exec_prefix@,$exec_prefix,;t t |
22588 |
s,@prefix@,$prefix,;t t |
22589 |
s,@program_transform_name@,$program_transform_name,;t t |
22590 |
s,@bindir@,$bindir,;t t |
22591 |
s,@sbindir@,$sbindir,;t t |
22592 |
s,@libexecdir@,$libexecdir,;t t |
22593 |
s,@datadir@,$datadir,;t t |
22594 |
s,@sysconfdir@,$sysconfdir,;t t |
22595 |
s,@sharedstatedir@,$sharedstatedir,;t t |
22596 |
s,@localstatedir@,$localstatedir,;t t |
22597 |
s,@libdir@,$libdir,;t t |
22598 |
s,@includedir@,$includedir,;t t |
22599 |
s,@oldincludedir@,$oldincludedir,;t t |
22600 |
s,@infodir@,$infodir,;t t |
22601 |
s,@mandir@,$mandir,;t t |
22602 |
s,@build_alias@,$build_alias,;t t |
22603 |
s,@host_alias@,$host_alias,;t t |
22604 |
s,@target_alias@,$target_alias,;t t |
22605 |
s,@DEFS@,$DEFS,;t t |
22606 |
s,@ECHO_C@,$ECHO_C,;t t |
22607 |
s,@ECHO_N@,$ECHO_N,;t t |
22608 |
s,@ECHO_T@,$ECHO_T,;t t |
22609 |
s,@LIBS@,$LIBS,;t t |
22610 |
s,@subdirs@,$subdirs,;t t |
22611 |
s,@build@,$build,;t t |
22612 |
s,@build_cpu@,$build_cpu,;t t |
22613 |
s,@build_vendor@,$build_vendor,;t t |
22614 |
s,@build_os@,$build_os,;t t |
22615 |
s,@host@,$host,;t t |
22616 |
s,@host_cpu@,$host_cpu,;t t |
22617 |
s,@host_vendor@,$host_vendor,;t t |
22618 |
s,@host_os@,$host_os,;t t |
22619 |
s,@target@,$target,;t t |
22620 |
s,@target_cpu@,$target_cpu,;t t |
22621 |
s,@target_vendor@,$target_vendor,;t t |
22622 |
s,@target_os@,$target_os,;t t |
22623 |
s,@HostPlatform@,$HostPlatform,;t t |
22624 |
s,@TargetPlatform@,$TargetPlatform,;t t |
22625 |
s,@HostPlatform_CPP@,$HostPlatform_CPP,;t t |
22626 |
s,@HostArch_CPP@,$HostArch_CPP,;t t |
22627 |
s,@HostOS_CPP@,$HostOS_CPP,;t t |
22628 |
s,@HostOS_Full@,$HostOS_Full,;t t |
22629 |
s,@HostVendor_CPP@,$HostVendor_CPP,;t t |
22630 |
s,@exeext@,$exeext,;t t |
22631 |
s,@hardtop@,$hardtop,;t t |
22632 |
s,@hardtop_plat@,$hardtop_plat,;t t |
22633 |
s,@GHC@,$GHC,;t t |
22634 |
s,@WithGhc@,$WithGhc,;t t |
22635 |
s,@WithHc@,$WithHc,;t t |
22636 |
s,@GhcVersion@,$GhcVersion,;t t |
22637 |
s,@GhcMajVersion@,$GhcMajVersion,;t t |
22638 |
s,@GhcMinVersion@,$GhcMinVersion,;t t |
22639 |
s,@GhcPatchLevel@,$GhcPatchLevel,;t t |
22640 |
s,@NHC@,$NHC,;t t |
22641 |
s,@HBC@,$HBC,;t t |
22642 |
s,@WhatGccIsCalled@,$WhatGccIsCalled,;t t |
22643 |
s,@BootingFromHc@,$BootingFromHc,;t t |
22644 |
s,@BootingFromUnregisterisedHc@,$BootingFromUnregisterisedHc,;t t |
22645 |
s,@ThreadedRts@,$ThreadedRts,;t t |
22646 |
s,@EnableWin32DLLs@,$EnableWin32DLLs,;t t |
22647 |
s,@GhcLibsWithHOpenGL@,$GhcLibsWithHOpenGL,;t t |
22648 |
s,@PerlCmd@,$PerlCmd,;t t |
22649 |
s,@CC@,$CC,;t t |
22650 |
s,@CFLAGS@,$CFLAGS,;t t |
22651 |
s,@LDFLAGS@,$LDFLAGS,;t t |
22652 |
s,@CPPFLAGS@,$CPPFLAGS,;t t |
22653 |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
22654 |
s,@EXEEXT@,$EXEEXT,;t t |
22655 |
s,@OBJEXT@,$OBJEXT,;t t |
22656 |
s,@HaveGcc@,$HaveGcc,;t t |
22657 |
s,@CPP@,$CPP,;t t |
22658 |
s,@SRC_CC_OPTS@,$SRC_CC_OPTS,;t t |
22659 |
s,@ContextDiffCmd@,$ContextDiffCmd,;t t |
22660 |
s,@Find2Cmd@,$Find2Cmd,;t t |
22661 |
s,@FindCmd@,$FindCmd,;t t |
22662 |
s,@YACC@,$YACC,;t t |
22663 |
s,@WhatCmd@,$WhatCmd,;t t |
22664 |
s,@YaccCmd@,$YaccCmd,;t t |
22665 |
s,@LEX@,$LEX,;t t |
22666 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
22667 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
22668 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
22669 |
s,@ArCmdRaw@,$ArCmdRaw,;t t |
22670 |
s,@ArCmd@,$ArCmd,;t t |
22671 |
s,@ArSupportsInput@,$ArSupportsInput,;t t |
22672 |
s,@RANLIB@,$RANLIB,;t t |
22673 |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t |
22674 |
s,@LN_S@,$LN_S,;t t |
22675 |
s,@SedCmd@,$SedCmd,;t t |
22676 |
s,@TimeCmd@,$TimeCmd,;t t |
22677 |
s,@TarCmd@,$TarCmd,;t t |
22678 |
s,@CompressCmd@,$CompressCmd,;t t |
22679 |
s,@JadeCmd@,$JadeCmd,;t t |
22680 |
s,@Catalog@,$Catalog,;t t |
22681 |
s,@CompressSuffix@,$CompressSuffix,;t t |
22682 |
s,@HappyCmd@,$HappyCmd,;t t |
22683 |
s,@HappyVersion@,$HappyVersion,;t t |
22684 |
s,@HaveReadlineHeaders@,$HaveReadlineHeaders,;t t |
22685 |
s,@HavePosixRegex@,$HavePosixRegex,;t t |
22686 |
s,@HAVE_MSGHDR_MSG_ACCRIGHTS@,$HAVE_MSGHDR_MSG_ACCRIGHTS,;t t |
22687 |
s,@HAVE_MSGHDR_MSG_CONTROL@,$HAVE_MSGHDR_MSG_CONTROL,;t t |
22688 |
s,@HaveLibGmp@,$HaveLibGmp,;t t |
22689 |
s,@LibGmp@,$LibGmp,;t t |
22690 |
s,@HaveLibMingwEx@,$HaveLibMingwEx,;t t |
22691 |
s,@HaveGNURegex@,$HaveGNURegex,;t t |
22692 |
s,@LibsReadline@,$LibsReadline,;t t |
22693 |
s,@LIBM@,$LIBM,;t t |
22694 |
s,@X_CFLAGS@,$X_CFLAGS,;t t |
22695 |
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t |
22696 |
s,@X_LIBS@,$X_LIBS,;t t |
22697 |
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t |
22698 |
s,@GL_CFLAGS@,$GL_CFLAGS,;t t |
22699 |
s,@GL_LIBS@,$GL_LIBS,;t t |
22700 |
s,@HaveLibDL@,$HaveLibDL,;t t |
22701 |
s,@HaveRtldNext@,$HaveRtldNext,;t t |
22702 |
s,@HaveRtldLocal@,$HaveRtldLocal,;t t |
22703 |
s,@GTK_CONFIG@,$GTK_CONFIG,;t t |
22704 |
s,@GTK_VERSION@,$GTK_VERSION,;t t |
22705 |
s,@ALLOCA@,$ALLOCA,;t t |
22706 |
s,@LeadingUnderscore@,$LeadingUnderscore,;t t |
22707 |
s,@LdCmdRaw@,$LdCmdRaw,;t t |
22708 |
s,@LdCmd@,$LdCmd,;t t |
22709 |
s,@LdXFlag@,$LdXFlag,;t t |
13109 |
CEOF |
22710 |
CEOF |
13110 |
EOF |
|
|
13111 |
|
22711 |
|
13112 |
cat >> $CONFIG_STATUS <<\EOF |
22712 |
_ACEOF |
13113 |
|
22713 |
|
13114 |
# Split the substitutions into bite-sized pieces for seds with |
22714 |
cat >>$CONFIG_STATUS <<\_ACEOF |
13115 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
22715 |
# Split the substitutions into bite-sized pieces for seds with |
13116 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
22716 |
# small command number limits, like on Digital OSF/1 and HP-UX. |
13117 |
ac_file=1 # Number of current file. |
22717 |
ac_max_sed_lines=48 |
13118 |
ac_beg=1 # First line for current file. |
22718 |
ac_sed_frag=1 # Number of current file. |
13119 |
ac_end=$ac_max_sed_cmds # Line after last line for current file. |
22719 |
ac_beg=1 # First line for current file. |
13120 |
ac_more_lines=: |
22720 |
ac_end=$ac_max_sed_lines # Line after last line for current file. |
13121 |
ac_sed_cmds="" |
22721 |
ac_more_lines=: |
13122 |
while $ac_more_lines; do |
22722 |
ac_sed_cmds= |
13123 |
if test $ac_beg -gt 1; then |
22723 |
while $ac_more_lines; do |
13124 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
22724 |
if test $ac_beg -gt 1; then |
13125 |
else |
22725 |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
13126 |
sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
22726 |
else |
13127 |
fi |
22727 |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag |
13128 |
if test ! -s conftest.s$ac_file; then |
22728 |
fi |
13129 |
ac_more_lines=false |
22729 |
if test ! -s $tmp/subs.frag; then |
13130 |
rm -f conftest.s$ac_file |
22730 |
ac_more_lines=false |
13131 |
else |
|
|
13132 |
if test -z "$ac_sed_cmds"; then |
13133 |
ac_sed_cmds="sed -f conftest.s$ac_file" |
13134 |
else |
22731 |
else |
13135 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
22732 |
# The purpose of the label and of the branching condition is to |
|
|
22733 |
# speed up the sed processing (if there are no `@' at all, there |
22734 |
# is no need to browse any of the substitutions). |
22735 |
# These are the two extra sed commands mentioned above. |
22736 |
(echo ':t |
22737 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed |
22738 |
if test -z "$ac_sed_cmds"; then |
22739 |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" |
22740 |
else |
22741 |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" |
22742 |
fi |
22743 |
ac_sed_frag=`expr $ac_sed_frag + 1` |
22744 |
ac_beg=$ac_end |
22745 |
ac_end=`expr $ac_end + $ac_max_sed_lines` |
13136 |
fi |
22746 |
fi |
13137 |
ac_file=`expr $ac_file + 1` |
22747 |
done |
13138 |
ac_beg=$ac_end |
22748 |
if test -z "$ac_sed_cmds"; then |
13139 |
ac_end=`expr $ac_end + $ac_max_sed_cmds` |
22749 |
ac_sed_cmds=cat |
13140 |
fi |
22750 |
fi |
13141 |
done |
22751 |
fi # test -n "$CONFIG_FILES" |
13142 |
if test -z "$ac_sed_cmds"; then |
|
|
13143 |
ac_sed_cmds=cat |
13144 |
fi |
13145 |
EOF |
13146 |
|
22752 |
|
13147 |
cat >> $CONFIG_STATUS <<EOF |
22753 |
_ACEOF |
13148 |
|
22754 |
cat >>$CONFIG_STATUS <<\_ACEOF |
13149 |
CONFIG_FILES=\${CONFIG_FILES-"mk/config.mk"} |
22755 |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
13150 |
EOF |
|
|
13151 |
cat >> $CONFIG_STATUS <<\EOF |
13152 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
13153 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
22756 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
13154 |
case "$ac_file" in |
22757 |
case $ac_file in |
13155 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
22758 |
- | *:- | *:-:* ) # input from stdin |
13156 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
22759 |
cat >$tmp/stdin |
13157 |
*) ac_file_in="${ac_file}.in" ;; |
22760 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
22761 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22762 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22763 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22764 |
* ) ac_file_in=$ac_file.in ;; |
13158 |
esac |
22765 |
esac |
13159 |
|
22766 |
|
13160 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
22767 |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. |
13161 |
|
22768 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
13162 |
# Remove last slash and all that follows it. Not all systems have dirname. |
22769 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13163 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
22770 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
13164 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
22771 |
X"$ac_file" : 'X\(//\)$' \| \ |
13165 |
# The file is in a subdirectory. |
22772 |
X"$ac_file" : 'X\(/\)' \| \ |
13166 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
22773 |
. : '\(.\)' 2>/dev/null || |
13167 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
22774 |
echo X"$ac_file" | |
13168 |
# A "../" for each directory in $ac_dir_suffix. |
22775 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
13169 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
22776 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
13170 |
else |
22777 |
/^X\(\/\/\)$/{ s//\1/; q; } |
13171 |
ac_dir_suffix= ac_dots= |
22778 |
/^X\(\/\).*/{ s//\1/; q; } |
13172 |
fi |
22779 |
s/.*/./; q'` |
13173 |
|
22780 |
{ if $as_mkdir_p; then |
13174 |
case "$ac_given_srcdir" in |
22781 |
mkdir -p "$ac_dir" |
13175 |
.) srcdir=. |
22782 |
else |
13176 |
if test -z "$ac_dots"; then top_srcdir=. |
22783 |
as_dir="$ac_dir" |
13177 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
22784 |
as_dirs= |
13178 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
22785 |
while test ! -d "$as_dir"; do |
|
|
22786 |
as_dirs="$as_dir $as_dirs" |
22787 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
22788 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
22789 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
22790 |
X"$as_dir" : 'X\(//\)$' \| \ |
22791 |
X"$as_dir" : 'X\(/\)' \| \ |
22792 |
. : '\(.\)' 2>/dev/null || |
22793 |
echo X"$as_dir" | |
22794 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
22795 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
22796 |
/^X\(\/\/\)$/{ s//\1/; q; } |
22797 |
/^X\(\/\).*/{ s//\1/; q; } |
22798 |
s/.*/./; q'` |
22799 |
done |
22800 |
test ! -n "$as_dirs" || mkdir $as_dirs |
22801 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
22802 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
22803 |
{ (exit 1); exit 1; }; }; } |
22804 |
|
22805 |
ac_builddir=. |
22806 |
|
22807 |
if test "$ac_dir" != .; then |
22808 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
22809 |
# A "../" for each directory in $ac_dir_suffix. |
22810 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
22811 |
else |
22812 |
ac_dir_suffix= ac_top_builddir= |
22813 |
fi |
22814 |
|
22815 |
case $srcdir in |
22816 |
.) # No --srcdir option. We are building in place. |
22817 |
ac_srcdir=. |
22818 |
if test -z "$ac_top_builddir"; then |
22819 |
ac_top_srcdir=. |
22820 |
else |
22821 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
22822 |
fi ;; |
22823 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
22824 |
ac_srcdir=$srcdir$ac_dir_suffix; |
22825 |
ac_top_srcdir=$srcdir ;; |
13179 |
*) # Relative path. |
22826 |
*) # Relative path. |
13180 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
22827 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
13181 |
top_srcdir="$ac_dots$ac_given_srcdir" ;; |
22828 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
13182 |
esac |
22829 |
esac |
|
|
22830 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
22831 |
# absolute. |
22832 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
22833 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
22834 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
22835 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
13183 |
|
22836 |
|
13184 |
case "$ac_given_INSTALL" in |
|
|
13185 |
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
13186 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
13187 |
esac |
13188 |
|
22837 |
|
13189 |
echo creating "$ac_file" |
22838 |
case $INSTALL in |
13190 |
rm -f "$ac_file" |
22839 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
13191 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
22840 |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;; |
13192 |
case "$ac_file" in |
|
|
13193 |
*Makefile*) ac_comsub="1i\\ |
13194 |
# $configure_input" ;; |
13195 |
*) ac_comsub= ;; |
13196 |
esac |
22841 |
esac |
13197 |
|
22842 |
|
13198 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
22843 |
if test x"$ac_file" != x-; then |
13199 |
sed -e "$ac_comsub |
22844 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5 |
13200 |
s%@configure_input@%$configure_input%g |
22845 |
echo "$as_me: creating $ac_file" >&6;} |
13201 |
s%@srcdir@%$srcdir%g |
22846 |
rm -f "$ac_file" |
13202 |
s%@top_srcdir@%$top_srcdir%g |
22847 |
fi |
13203 |
s%@INSTALL@%$INSTALL%g |
22848 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
13204 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
22849 |
# use $as_me), people would be surprised to read: |
13205 |
fi; done |
22850 |
# /* config.h. Generated by config.status. */ |
13206 |
rm -f conftest.s* |
22851 |
if test x"$ac_file" = x-; then |
|
|
22852 |
configure_input= |
22853 |
else |
22854 |
configure_input="$ac_file. " |
22855 |
fi |
22856 |
configure_input=$configure_input"Generated from `echo $ac_file_in | |
22857 |
sed 's,.*/,,'` by configure." |
22858 |
|
22859 |
# First look for the input files in the build tree, otherwise in the |
22860 |
# src tree. |
22861 |
ac_file_inputs=`IFS=: |
22862 |
for f in $ac_file_in; do |
22863 |
case $f in |
22864 |
-) echo $tmp/stdin ;; |
22865 |
[\\/$]*) |
22866 |
# Absolute (can't be DOS-style, as IFS=:) |
22867 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22868 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22869 |
{ (exit 1); exit 1; }; } |
22870 |
echo $f;; |
22871 |
*) # Relative |
22872 |
if test -f "$f"; then |
22873 |
# Build tree |
22874 |
echo $f |
22875 |
elif test -f "$srcdir/$f"; then |
22876 |
# Source tree |
22877 |
echo $srcdir/$f |
22878 |
else |
22879 |
# /dev/null tree |
22880 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22881 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22882 |
{ (exit 1); exit 1; }; } |
22883 |
fi;; |
22884 |
esac |
22885 |
done` || { (exit 1); exit 1; } |
22886 |
_ACEOF |
22887 |
cat >>$CONFIG_STATUS <<_ACEOF |
22888 |
sed "$ac_vpsub |
22889 |
$extrasub |
22890 |
_ACEOF |
22891 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22892 |
:t |
22893 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
22894 |
s,@configure_input@,$configure_input,;t t |
22895 |
s,@srcdir@,$ac_srcdir,;t t |
22896 |
s,@abs_srcdir@,$ac_abs_srcdir,;t t |
22897 |
s,@top_srcdir@,$ac_top_srcdir,;t t |
22898 |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t |
22899 |
s,@builddir@,$ac_builddir,;t t |
22900 |
s,@abs_builddir@,$ac_abs_builddir,;t t |
22901 |
s,@top_builddir@,$ac_top_builddir,;t t |
22902 |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t |
22903 |
s,@INSTALL@,$ac_INSTALL,;t t |
22904 |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
22905 |
rm -f $tmp/stdin |
22906 |
if test x"$ac_file" != x-; then |
22907 |
mv $tmp/out $ac_file |
22908 |
else |
22909 |
cat $tmp/out |
22910 |
rm -f $tmp/out |
22911 |
fi |
22912 |
|
22913 |
done |
22914 |
_ACEOF |
22915 |
cat >>$CONFIG_STATUS <<\_ACEOF |
22916 |
|
22917 |
# |
22918 |
# CONFIG_HEADER section. |
22919 |
# |
13207 |
|
22920 |
|
13208 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
22921 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
13209 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
22922 |
# NAME is the cpp macro being defined and VALUE is the value it is being given. |
13210 |
# |
22923 |
# |
13211 |
# ac_d sets the value in "#define NAME VALUE" lines. |
22924 |
# ac_d sets the value in "#define NAME VALUE" lines. |
13212 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
22925 |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
13213 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
22926 |
ac_dB='[ ].*$,\1#\2' |
13214 |
ac_dC='\3' |
22927 |
ac_dC=' ' |
13215 |
ac_dD='%g' |
22928 |
ac_dD=',;t' |
13216 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
22929 |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
13217 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
22930 |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
13218 |
ac_uB='\([ ]\)%\1#\2define\3' |
22931 |
ac_uB='$,\1#\2define\3' |
13219 |
ac_uC=' ' |
22932 |
ac_uC=' ' |
13220 |
ac_uD='\4%g' |
22933 |
ac_uD=',;t' |
13221 |
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
|
|
13222 |
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
13223 |
ac_eB='$%\1#\2define\3' |
13224 |
ac_eC=' ' |
13225 |
ac_eD='%g' |
13226 |
|
22934 |
|
13227 |
if test "${CONFIG_HEADERS+set}" != set; then |
22935 |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue |
13228 |
EOF |
|
|
13229 |
cat >> $CONFIG_STATUS <<EOF |
13230 |
CONFIG_HEADERS="mk/config.h" |
13231 |
EOF |
13232 |
cat >> $CONFIG_STATUS <<\EOF |
13233 |
fi |
13234 |
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
13235 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
22936 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
13236 |
case "$ac_file" in |
22937 |
case $ac_file in |
13237 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
22938 |
- | *:- | *:-:* ) # input from stdin |
13238 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
22939 |
cat >$tmp/stdin |
13239 |
*) ac_file_in="${ac_file}.in" ;; |
22940 |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
|
|
22941 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22942 |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` |
22943 |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; |
22944 |
* ) ac_file_in=$ac_file.in ;; |
13240 |
esac |
22945 |
esac |
13241 |
|
22946 |
|
13242 |
echo creating $ac_file |
22947 |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 |
|
|
22948 |
echo "$as_me: creating $ac_file" >&6;} |
13243 |
|
22949 |
|
13244 |
rm -f conftest.frag conftest.in conftest.out |
22950 |
# First look for the input files in the build tree, otherwise in the |
13245 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
22951 |
# src tree. |
13246 |
cat $ac_file_inputs > conftest.in |
22952 |
ac_file_inputs=`IFS=: |
13247 |
|
22953 |
for f in $ac_file_in; do |
13248 |
EOF |
22954 |
case $f in |
13249 |
|
22955 |
-) echo $tmp/stdin ;; |
13250 |
# Transform confdefs.h into a sed script conftest.vals that substitutes |
22956 |
[\\/$]*) |
13251 |
# the proper values into config.h.in to produce config.h. And first: |
22957 |
# Absolute (can't be DOS-style, as IFS=:) |
13252 |
# Protect against being on the right side of a sed subst in config.status. |
22958 |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
13253 |
# Protect against being in an unquoted here document in config.status. |
22959 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
13254 |
rm -f conftest.vals |
22960 |
{ (exit 1); exit 1; }; } |
13255 |
cat > conftest.hdr <<\EOF |
22961 |
echo $f;; |
13256 |
s/[\\&%]/\\&/g |
22962 |
*) # Relative |
13257 |
s%[\\$`]%\\&%g |
22963 |
if test -f "$f"; then |
13258 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
22964 |
# Build tree |
13259 |
s%ac_d%ac_u%gp |
22965 |
echo $f |
13260 |
s%ac_u%ac_e%gp |
22966 |
elif test -f "$srcdir/$f"; then |
13261 |
EOF |
22967 |
# Source tree |
13262 |
sed -n -f conftest.hdr confdefs.h > conftest.vals |
22968 |
echo $srcdir/$f |
13263 |
rm -f conftest.hdr |
22969 |
else |
|
|
22970 |
# /dev/null tree |
22971 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 |
22972 |
echo "$as_me: error: cannot find input file: $f" >&2;} |
22973 |
{ (exit 1); exit 1; }; } |
22974 |
fi;; |
22975 |
esac |
22976 |
done` || { (exit 1); exit 1; } |
22977 |
# Remove the trailing spaces. |
22978 |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in |
22979 |
|
22980 |
_ACEOF |
22981 |
|
22982 |
# Transform confdefs.h into two sed scripts, `conftest.defines' and |
22983 |
# `conftest.undefs', that substitutes the proper values into |
22984 |
# config.h.in to produce config.h. The first handles `#define' |
22985 |
# templates, and the second `#undef' templates. |
22986 |
# And first: Protect against being on the right side of a sed subst in |
22987 |
# config.status. Protect against being in an unquoted here document |
22988 |
# in config.status. |
22989 |
rm -f conftest.defines conftest.undefs |
22990 |
# Using a here document instead of a string reduces the quoting nightmare. |
22991 |
# Putting comments in sed scripts is not portable. |
22992 |
# |
22993 |
# `end' is used to avoid that the second main sed command (meant for |
22994 |
# 0-ary CPP macros) applies to n-ary macro definitions. |
22995 |
# See the Autoconf documentation for `clear'. |
22996 |
cat >confdef2sed.sed <<\_ACEOF |
22997 |
s/[\\&,]/\\&/g |
22998 |
s,[\\$`],\\&,g |
22999 |
t clear |
23000 |
: clear |
23001 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp |
23002 |
t end |
23003 |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp |
23004 |
: end |
23005 |
_ACEOF |
23006 |
# If some macros were called several times there might be several times |
23007 |
# the same #defines, which is useless. Nevertheless, we may not want to |
23008 |
# sort them, since we want the *last* AC-DEFINE to be honored. |
23009 |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines |
23010 |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs |
23011 |
rm -f confdef2sed.sed |
13264 |
|
23012 |
|
13265 |
# This sed command replaces #undef with comments. This is necessary, for |
23013 |
# This sed command replaces #undef with comments. This is necessary, for |
13266 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
23014 |
# example, in the case of _POSIX_SOURCE, which is predefined and required |
13267 |
# on some systems where configure will not decide to define it. |
23015 |
# on some systems where configure will not decide to define it. |
13268 |
cat >> conftest.vals <<\EOF |
23016 |
cat >>conftest.undefs <<\_ACEOF |
13269 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
23017 |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
13270 |
EOF |
23018 |
_ACEOF |
13271 |
|
23019 |
|
13272 |
# Break up conftest.vals because some shells have a limit on |
23020 |
# Break up conftest.defines because some shells have a limit on the size |
13273 |
# the size of here documents, and old seds have small limits too. |
23021 |
# of here documents, and old seds have small limits too (100 cmds). |
13274 |
|
23022 |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS |
|
|
23023 |
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS |
23024 |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS |
23025 |
echo ' :' >>$CONFIG_STATUS |
23026 |
rm -f conftest.tail |
23027 |
while grep . conftest.defines >/dev/null |
23028 |
do |
23029 |
# Write a limited-size here document to $tmp/defines.sed. |
23030 |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS |
23031 |
# Speed up: don't consider the non `#define' lines. |
23032 |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS |
23033 |
# Work around the forget-to-reset-the-flag bug. |
23034 |
echo 't clr' >>$CONFIG_STATUS |
23035 |
echo ': clr' >>$CONFIG_STATUS |
23036 |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS |
23037 |
echo 'CEOF |
23038 |
sed -f $tmp/defines.sed $tmp/in >$tmp/out |
23039 |
rm -f $tmp/in |
23040 |
mv $tmp/out $tmp/in |
23041 |
' >>$CONFIG_STATUS |
23042 |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail |
23043 |
rm -f conftest.defines |
23044 |
mv conftest.tail conftest.defines |
23045 |
done |
23046 |
rm -f conftest.defines |
23047 |
echo ' fi # egrep' >>$CONFIG_STATUS |
23048 |
echo >>$CONFIG_STATUS |
23049 |
|
23050 |
# Break up conftest.undefs because some shells have a limit on the size |
23051 |
# of here documents, and old seds have small limits too (100 cmds). |
23052 |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS |
13275 |
rm -f conftest.tail |
23053 |
rm -f conftest.tail |
13276 |
while : |
23054 |
while grep . conftest.undefs >/dev/null |
13277 |
do |
23055 |
do |
13278 |
ac_lines=`grep -c . conftest.vals` |
23056 |
# Write a limited-size here document to $tmp/undefs.sed. |
13279 |
# grep -c gives empty output for an empty file on some AIX systems. |
23057 |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS |
13280 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
23058 |
# Speed up: don't consider the non `#undef' |
13281 |
# Write a limited-size here document to conftest.frag. |
23059 |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS |
13282 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
23060 |
# Work around the forget-to-reset-the-flag bug. |
13283 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
23061 |
echo 't clr' >>$CONFIG_STATUS |
|
|
23062 |
echo ': clr' >>$CONFIG_STATUS |
23063 |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS |
13284 |
echo 'CEOF |
23064 |
echo 'CEOF |
13285 |
sed -f conftest.frag conftest.in > conftest.out |
23065 |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
13286 |
rm -f conftest.in |
23066 |
rm -f $tmp/in |
13287 |
mv conftest.out conftest.in |
23067 |
mv $tmp/out $tmp/in |
13288 |
' >> $CONFIG_STATUS |
23068 |
' >>$CONFIG_STATUS |
13289 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
23069 |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail |
13290 |
rm -f conftest.vals |
23070 |
rm -f conftest.undefs |
13291 |
mv conftest.tail conftest.vals |
23071 |
mv conftest.tail conftest.undefs |
13292 |
done |
23072 |
done |
13293 |
rm -f conftest.vals |
23073 |
rm -f conftest.undefs |
13294 |
|
23074 |
|
13295 |
cat >> $CONFIG_STATUS <<\EOF |
23075 |
cat >>$CONFIG_STATUS <<\_ACEOF |
13296 |
rm -f conftest.frag conftest.h |
23076 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
13297 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
23077 |
# use $as_me), people would be surprised to read: |
13298 |
cat conftest.in >> conftest.h |
23078 |
# /* config.h. Generated by config.status. */ |
13299 |
rm -f conftest.in |
23079 |
if test x"$ac_file" = x-; then |
13300 |
if cmp -s $ac_file conftest.h 2>/dev/null; then |
23080 |
echo "/* Generated by configure. */" >$tmp/config.h |
13301 |
echo "$ac_file is unchanged" |
23081 |
else |
13302 |
rm -f conftest.h |
23082 |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h |
13303 |
else |
23083 |
fi |
13304 |
# Remove last slash and all that follows it. Not all systems have dirname. |
23084 |
cat $tmp/in >>$tmp/config.h |
13305 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
23085 |
rm -f $tmp/in |
13306 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
23086 |
if test x"$ac_file" != x-; then |
13307 |
# The file is in a subdirectory. |
23087 |
if cmp -s $ac_file $tmp/config.h 2>/dev/null; then |
13308 |
test ! -d "$ac_dir" && mkdir "$ac_dir" |
23088 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5 |
|
|
23089 |
echo "$as_me: $ac_file is unchanged" >&6;} |
23090 |
else |
23091 |
ac_dir=`(dirname "$ac_file") 2>/dev/null || |
23092 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23093 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
23094 |
X"$ac_file" : 'X\(//\)$' \| \ |
23095 |
X"$ac_file" : 'X\(/\)' \| \ |
23096 |
. : '\(.\)' 2>/dev/null || |
23097 |
echo X"$ac_file" | |
23098 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
23099 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
23100 |
/^X\(\/\/\)$/{ s//\1/; q; } |
23101 |
/^X\(\/\).*/{ s//\1/; q; } |
23102 |
s/.*/./; q'` |
23103 |
{ if $as_mkdir_p; then |
23104 |
mkdir -p "$ac_dir" |
23105 |
else |
23106 |
as_dir="$ac_dir" |
23107 |
as_dirs= |
23108 |
while test ! -d "$as_dir"; do |
23109 |
as_dirs="$as_dir $as_dirs" |
23110 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
23111 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23112 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
23113 |
X"$as_dir" : 'X\(//\)$' \| \ |
23114 |
X"$as_dir" : 'X\(/\)' \| \ |
23115 |
. : '\(.\)' 2>/dev/null || |
23116 |
echo X"$as_dir" | |
23117 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
23118 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
23119 |
/^X\(\/\/\)$/{ s//\1/; q; } |
23120 |
/^X\(\/\).*/{ s//\1/; q; } |
23121 |
s/.*/./; q'` |
23122 |
done |
23123 |
test ! -n "$as_dirs" || mkdir $as_dirs |
23124 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
23125 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
23126 |
{ (exit 1); exit 1; }; }; } |
23127 |
|
23128 |
rm -f $ac_file |
23129 |
mv $tmp/config.h $ac_file |
13309 |
fi |
23130 |
fi |
13310 |
rm -f $ac_file |
23131 |
else |
13311 |
mv conftest.h $ac_file |
23132 |
cat $tmp/config.h |
|
|
23133 |
rm -f $tmp/config.h |
13312 |
fi |
23134 |
fi |
13313 |
fi; done |
23135 |
done |
|
|
23136 |
_ACEOF |
23137 |
cat >>$CONFIG_STATUS <<\_ACEOF |
13314 |
|
23138 |
|
13315 |
EOF |
23139 |
# |
13316 |
cat >> $CONFIG_STATUS <<EOF |
23140 |
# CONFIG_COMMANDS section. |
|
|
23141 |
# |
23142 |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue |
23143 |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'` |
23144 |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` |
23145 |
ac_dir=`(dirname "$ac_dest") 2>/dev/null || |
23146 |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
23147 |
X"$ac_dest" : 'X\(//\)[^/]' \| \ |
23148 |
X"$ac_dest" : 'X\(//\)$' \| \ |
23149 |
X"$ac_dest" : 'X\(/\)' \| \ |
23150 |
. : '\(.\)' 2>/dev/null || |
23151 |
echo X"$ac_dest" | |
23152 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
23153 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
23154 |
/^X\(\/\/\)$/{ s//\1/; q; } |
23155 |
/^X\(\/\).*/{ s//\1/; q; } |
23156 |
s/.*/./; q'` |
23157 |
ac_builddir=. |
23158 |
|
23159 |
if test "$ac_dir" != .; then |
23160 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
23161 |
# A "../" for each directory in $ac_dir_suffix. |
23162 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
23163 |
else |
23164 |
ac_dir_suffix= ac_top_builddir= |
23165 |
fi |
23166 |
|
23167 |
case $srcdir in |
23168 |
.) # No --srcdir option. We are building in place. |
23169 |
ac_srcdir=. |
23170 |
if test -z "$ac_top_builddir"; then |
23171 |
ac_top_srcdir=. |
23172 |
else |
23173 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
23174 |
fi ;; |
23175 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
23176 |
ac_srcdir=$srcdir$ac_dir_suffix; |
23177 |
ac_top_srcdir=$srcdir ;; |
23178 |
*) # Relative path. |
23179 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
23180 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
23181 |
esac |
23182 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
23183 |
# absolute. |
23184 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
23185 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
23186 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
23187 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
13317 |
|
23188 |
|
13318 |
EOF |
23189 |
|
13319 |
cat >> $CONFIG_STATUS <<\EOF |
23190 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
13320 |
echo timestamp > mk/stamp-h |
23191 |
echo "$as_me: executing $ac_dest commands" >&6;} |
13321 |
exit 0 |
23192 |
case $ac_dest in |
13322 |
EOF |
23193 |
default ) echo timestamp > mk/stamp-h ;; |
|
|
23194 |
esac |
23195 |
done |
23196 |
_ACEOF |
23197 |
|
23198 |
cat >>$CONFIG_STATUS <<\_ACEOF |
23199 |
|
23200 |
{ (exit 0); exit 0; } |
23201 |
_ACEOF |
13323 |
chmod +x $CONFIG_STATUS |
23202 |
chmod +x $CONFIG_STATUS |
13324 |
rm -fr confdefs* $ac_clean_files |
23203 |
ac_clean_files=$ac_clean_files_save |
13325 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
23204 |
|
|
|
23205 |
|
23206 |
# configure is writing to config.log, and then calls config.status. |
23207 |
# config.status does its own redirection, appending to config.log. |
23208 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
23209 |
# by configure, so config.status won't be able to write to it; its |
23210 |
# output is simply discarded. So we exec the FD to /dev/null, |
23211 |
# effectively closing config.log, so it can be properly (re)opened and |
23212 |
# appended to by config.status. When coming back to configure, we |
23213 |
# need to make the FD available again. |
23214 |
if test "$no_create" != yes; then |
23215 |
ac_cs_success=: |
23216 |
exec 5>/dev/null |
23217 |
$SHELL $CONFIG_STATUS || ac_cs_success=false |
23218 |
exec 5>>config.log |
23219 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
23220 |
# would make configure fail if this is the last instruction. |
23221 |
$ac_cs_success || { (exit 1); exit 1; } |
23222 |
fi |
13326 |
|
23223 |
|
|
|
23224 |
# |
23225 |
# CONFIG_SUBDIRS section. |
23226 |
# |
13327 |
if test "$no_recursion" != yes; then |
23227 |
if test "$no_recursion" != yes; then |
13328 |
|
23228 |
|
13329 |
# Remove --cache-file and --srcdir arguments so they do not pile up. |
23229 |
# Remove --cache-file and --srcdir arguments so they do not pile up. |
Lines 13334-13420
Link Here
|
13334 |
ac_prev= |
23234 |
ac_prev= |
13335 |
continue |
23235 |
continue |
13336 |
fi |
23236 |
fi |
13337 |
case "$ac_arg" in |
23237 |
case $ac_arg in |
13338 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
23238 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
13339 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
23239 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
13340 |
ac_prev=cache_file ;; |
23240 |
ac_prev=cache_file ;; |
13341 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
23241 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
13342 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
23242 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ |
|
|
23243 |
| --c=*) |
23244 |
;; |
23245 |
--config-cache | -C) |
13343 |
;; |
23246 |
;; |
13344 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
23247 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
13345 |
ac_prev=srcdir ;; |
23248 |
ac_prev=srcdir ;; |
13346 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
23249 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
13347 |
;; |
23250 |
;; |
|
|
23251 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
23252 |
ac_prev=prefix ;; |
23253 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
23254 |
;; |
13348 |
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
23255 |
*) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
13349 |
esac |
23256 |
esac |
13350 |
done |
23257 |
done |
13351 |
|
23258 |
|
13352 |
for ac_config_dir in ghc; do |
23259 |
# Always prepend --prefix to ensure using the same prefix |
|
|
23260 |
# in subdir configurations. |
23261 |
ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" |
23262 |
|
23263 |
ac_popdir=`pwd` |
23264 |
for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue |
13353 |
|
23265 |
|
13354 |
# Do not complain, so a configure script can configure whichever |
23266 |
# Do not complain, so a configure script can configure whichever |
13355 |
# parts of a large source tree are present. |
23267 |
# parts of a large source tree are present. |
13356 |
if test ! -d $srcdir/$ac_config_dir; then |
23268 |
test -d $srcdir/$ac_dir || continue |
13357 |
continue |
|
|
13358 |
fi |
13359 |
|
13360 |
echo configuring in $ac_config_dir |
13361 |
|
23269 |
|
13362 |
case "$srcdir" in |
23270 |
{ echo "$as_me:$LINENO: configuring in $ac_dir" >&5 |
13363 |
.) ;; |
23271 |
echo "$as_me: configuring in $ac_dir" >&6;} |
13364 |
*) |
23272 |
{ if $as_mkdir_p; then |
13365 |
if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; |
23273 |
mkdir -p "$ac_dir" |
13366 |
else |
23274 |
else |
13367 |
{ echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } |
23275 |
as_dir="$ac_dir" |
13368 |
fi |
23276 |
as_dirs= |
13369 |
;; |
23277 |
while test ! -d "$as_dir"; do |
13370 |
esac |
23278 |
as_dirs="$as_dir $as_dirs" |
13371 |
|
23279 |
as_dir=`(dirname "$as_dir") 2>/dev/null || |
13372 |
ac_popdir=`pwd` |
23280 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
13373 |
cd $ac_config_dir |
23281 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
|
23282 |
X"$as_dir" : 'X\(//\)$' \| \ |
23283 |
X"$as_dir" : 'X\(/\)' \| \ |
23284 |
. : '\(.\)' 2>/dev/null || |
23285 |
echo X"$as_dir" | |
23286 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } |
23287 |
/^X\(\/\/\)[^/].*/{ s//\1/; q; } |
23288 |
/^X\(\/\/\)$/{ s//\1/; q; } |
23289 |
/^X\(\/\).*/{ s//\1/; q; } |
23290 |
s/.*/./; q'` |
23291 |
done |
23292 |
test ! -n "$as_dirs" || mkdir $as_dirs |
23293 |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 |
23294 |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} |
23295 |
{ (exit 1); exit 1; }; }; } |
23296 |
|
23297 |
ac_builddir=. |
23298 |
|
23299 |
if test "$ac_dir" != .; then |
23300 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` |
23301 |
# A "../" for each directory in $ac_dir_suffix. |
23302 |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` |
23303 |
else |
23304 |
ac_dir_suffix= ac_top_builddir= |
23305 |
fi |
23306 |
|
23307 |
case $srcdir in |
23308 |
.) # No --srcdir option. We are building in place. |
23309 |
ac_srcdir=. |
23310 |
if test -z "$ac_top_builddir"; then |
23311 |
ac_top_srcdir=. |
23312 |
else |
23313 |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` |
23314 |
fi ;; |
23315 |
[\\/]* | ?:[\\/]* ) # Absolute path. |
23316 |
ac_srcdir=$srcdir$ac_dir_suffix; |
23317 |
ac_top_srcdir=$srcdir ;; |
23318 |
*) # Relative path. |
23319 |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix |
23320 |
ac_top_srcdir=$ac_top_builddir$srcdir ;; |
23321 |
esac |
23322 |
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be |
23323 |
# absolute. |
23324 |
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` |
23325 |
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` |
23326 |
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` |
23327 |
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` |
13374 |
|
23328 |
|
13375 |
# A "../" for each directory in /$ac_config_dir. |
|
|
13376 |
ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
13377 |
|
23329 |
|
13378 |
case "$srcdir" in |
23330 |
cd $ac_dir |
13379 |
.) # No --srcdir option. We are building in place. |
|
|
13380 |
ac_sub_srcdir=$srcdir ;; |
13381 |
/*) # Absolute path. |
13382 |
ac_sub_srcdir=$srcdir/$ac_config_dir ;; |
13383 |
*) # Relative path. |
13384 |
ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; |
13385 |
esac |
13386 |
|
23331 |
|
13387 |
# Check for guested configure; otherwise get Cygnus style configure. |
23332 |
# Check for guested configure; otherwise get Cygnus style configure. |
13388 |
if test -f $ac_sub_srcdir/configure; then |
23333 |
if test -f $ac_srcdir/configure.gnu; then |
13389 |
ac_sub_configure=$ac_sub_srcdir/configure |
23334 |
ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" |
13390 |
elif test -f $ac_sub_srcdir/configure.in; then |
23335 |
elif test -f $ac_srcdir/configure; then |
|
|
23336 |
ac_sub_configure="$SHELL '$ac_srcdir/configure'" |
23337 |
elif test -f $ac_srcdir/configure.in; then |
13391 |
ac_sub_configure=$ac_configure |
23338 |
ac_sub_configure=$ac_configure |
13392 |
else |
23339 |
else |
13393 |
echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 |
23340 |
{ echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 |
|
|
23341 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} |
13394 |
ac_sub_configure= |
23342 |
ac_sub_configure= |
13395 |
fi |
23343 |
fi |
13396 |
|
23344 |
|
13397 |
# The recursion is here. |
23345 |
# The recursion is here. |
13398 |
if test -n "$ac_sub_configure"; then |
23346 |
if test -n "$ac_sub_configure"; then |
13399 |
|
|
|
13400 |
# Make the cache file name correct relative to the subdirectory. |
23347 |
# Make the cache file name correct relative to the subdirectory. |
13401 |
case "$cache_file" in |
23348 |
case $cache_file in |
13402 |
/*) ac_sub_cache_file=$cache_file ;; |
23349 |
[\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; |
13403 |
*) # Relative path. |
23350 |
*) # Relative path. |
13404 |
ac_sub_cache_file="$ac_dots$cache_file" ;; |
23351 |
ac_sub_cache_file=$ac_top_builddir$cache_file ;; |
13405 |
esac |
23352 |
esac |
13406 |
case "$ac_given_INSTALL" in |
|
|
13407 |
[/$]*) INSTALL="$ac_given_INSTALL" ;; |
13408 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
13409 |
esac |
13410 |
|
23353 |
|
13411 |
echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" |
23354 |
{ echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 |
|
|
23355 |
echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} |
13412 |
# The eval makes quoting arguments work. |
23356 |
# The eval makes quoting arguments work. |
13413 |
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir |
23357 |
eval $ac_sub_configure $ac_sub_configure_args \ |
13414 |
then : |
23358 |
--cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || |
13415 |
else |
23359 |
{ { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 |
13416 |
{ echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } |
23360 |
echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} |
13417 |
fi |
23361 |
{ (exit 1); exit 1; }; } |
13418 |
fi |
23362 |
fi |
13419 |
|
23363 |
|
13420 |
cd $ac_popdir |
23364 |
cd $ac_popdir |