0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.59 for h5utils 1.10.
|
|
2 |
# Generated by GNU Autoconf 2.63 for h5utils 1.12.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <stevenj@alum.mit.edu>.
|
5 | 5 |
#
|
6 | |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
6 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
7 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
7 | 8 |
# This configure script is free software; the Free Software Foundation
|
8 | 9 |
# gives unlimited permission to copy, distribute and modify it.
|
9 | 10 |
## --------------------- ##
|
10 | 11 |
## M4sh Initialization. ##
|
11 | 12 |
## --------------------- ##
|
12 | 13 |
|
13 | |
# Be Bourne compatible
|
|
14 |
# Be more Bourne compatible
|
|
15 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | 16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
15 | 17 |
emulate sh
|
16 | 18 |
NULLCMD=:
|
17 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
19 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
18 | 20 |
# is contrary to our usage. Disable this feature.
|
19 | 21 |
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 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
24 | |
|
25 | |
# Support unset when possible.
|
26 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
27 | |
as_unset=unset
|
28 | |
else
|
29 | |
as_unset=false
|
30 | |
fi
|
31 | |
|
32 | |
|
33 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
34 | |
$as_unset ENV MAIL MAILPATH
|
35 | |
PS1='$ '
|
36 | |
PS2='> '
|
37 | |
PS4='+ '
|
38 | |
|
39 | |
# NLS nuisances.
|
40 | |
for as_var in \
|
41 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
42 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
43 | |
LC_TELEPHONE LC_TIME
|
44 | |
do
|
45 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
46 | |
eval $as_var=C; export $as_var
|
47 | |
else
|
48 | |
$as_unset $as_var
|
49 | |
fi
|
50 | |
done
|
51 | |
|
52 | |
# Required to use basename.
|
53 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
54 | |
as_expr=expr
|
55 | |
else
|
56 | |
as_expr=false
|
57 | |
fi
|
58 | |
|
59 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
60 | |
as_basename=basename
|
61 | |
else
|
62 | |
as_basename=false
|
63 | |
fi
|
64 | |
|
65 | |
|
66 | |
# Name of the executable.
|
67 | |
as_me=`$as_basename "$0" ||
|
68 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
69 | |
X"$0" : 'X\(//\)$' \| \
|
70 | |
X"$0" : 'X\(/\)$' \| \
|
71 | |
. : '\(.\)' 2>/dev/null ||
|
72 | |
echo X/"$0" |
|
73 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
74 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
75 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
76 | |
s/.*/./; q'`
|
77 | |
|
78 | |
|
79 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
22 |
setopt NO_GLOB_SUBST
|
|
23 |
else
|
|
24 |
case `(set -o) 2>/dev/null` in
|
|
25 |
*posix*) set -o posix ;;
|
|
26 |
esac
|
|
27 |
|
|
28 |
fi
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
# PATH needs CR
|
80 | 34 |
# Avoid depending upon Character Ranges.
|
81 | 35 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
82 | 36 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
84 | 38 |
as_cr_digits='0123456789'
|
85 | 39 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
86 | 40 |
|
|
41 |
as_nl='
|
|
42 |
'
|
|
43 |
export as_nl
|
|
44 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
45 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
46 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
47 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
48 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
49 |
as_echo='printf %s\n'
|
|
50 |
as_echo_n='printf %s'
|
|
51 |
else
|
|
52 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
53 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
54 |
as_echo_n='/usr/ucb/echo -n'
|
|
55 |
else
|
|
56 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
57 |
as_echo_n_body='eval
|
|
58 |
arg=$1;
|
|
59 |
case $arg in
|
|
60 |
*"$as_nl"*)
|
|
61 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
62 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
63 |
esac;
|
|
64 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
65 |
'
|
|
66 |
export as_echo_n_body
|
|
67 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
68 |
fi
|
|
69 |
export as_echo_body
|
|
70 |
as_echo='sh -c $as_echo_body as_echo'
|
|
71 |
fi
|
|
72 |
|
87 | 73 |
# The user is always right.
|
88 | 74 |
if test "${PATH_SEPARATOR+set}" != set; then
|
89 | |
echo "#! /bin/sh" >conf$$.sh
|
90 | |
echo "exit 0" >>conf$$.sh
|
91 | |
chmod +x conf$$.sh
|
92 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
93 | |
PATH_SEPARATOR=';'
|
94 | |
else
|
95 | |
PATH_SEPARATOR=:
|
96 | |
fi
|
97 | |
rm -f conf$$.sh
|
98 | |
fi
|
99 | |
|
100 | |
|
101 | |
as_lineno_1=$LINENO
|
102 | |
as_lineno_2=$LINENO
|
103 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
104 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
105 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
106 | |
# Find who we are. Look in the path if we contain no path at all
|
107 | |
# relative or not.
|
108 | |
case $0 in
|
109 | |
*[\\/]* ) as_myself=$0 ;;
|
110 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
75 |
PATH_SEPARATOR=:
|
|
76 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
77 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
78 |
PATH_SEPARATOR=';'
|
|
79 |
}
|
|
80 |
fi
|
|
81 |
|
|
82 |
# Support unset when possible.
|
|
83 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
84 |
as_unset=unset
|
|
85 |
else
|
|
86 |
as_unset=false
|
|
87 |
fi
|
|
88 |
|
|
89 |
|
|
90 |
# IFS
|
|
91 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
92 |
# there to prevent editors from complaining about space-tab.
|
|
93 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
94 |
# splitting by setting IFS to empty value.)
|
|
95 |
IFS=" "" $as_nl"
|
|
96 |
|
|
97 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
98 |
case $0 in
|
|
99 |
*[\\/]* ) as_myself=$0 ;;
|
|
100 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
111 | 101 |
for as_dir in $PATH
|
112 | 102 |
do
|
113 | 103 |
IFS=$as_save_IFS
|
114 | 104 |
test -z "$as_dir" && as_dir=.
|
115 | 105 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
116 | 106 |
done
|
117 | |
|
118 | |
;;
|
119 | |
esac
|
120 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
121 | |
# in which case we are not to be found in the path.
|
122 | |
if test "x$as_myself" = x; then
|
123 | |
as_myself=$0
|
124 | |
fi
|
125 | |
if test ! -f "$as_myself"; then
|
126 | |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
127 | |
{ (exit 1); exit 1; }; }
|
128 | |
fi
|
129 | |
case $CONFIG_SHELL in
|
130 | |
'')
|
|
107 |
IFS=$as_save_IFS
|
|
108 |
|
|
109 |
;;
|
|
110 |
esac
|
|
111 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
112 |
# in which case we are not to be found in the path.
|
|
113 |
if test "x$as_myself" = x; then
|
|
114 |
as_myself=$0
|
|
115 |
fi
|
|
116 |
if test ! -f "$as_myself"; then
|
|
117 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
118 |
{ (exit 1); exit 1; }
|
|
119 |
fi
|
|
120 |
|
|
121 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
122 |
for as_var in ENV MAIL MAILPATH
|
|
123 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
124 |
done
|
|
125 |
PS1='$ '
|
|
126 |
PS2='> '
|
|
127 |
PS4='+ '
|
|
128 |
|
|
129 |
# NLS nuisances.
|
|
130 |
LC_ALL=C
|
|
131 |
export LC_ALL
|
|
132 |
LANGUAGE=C
|
|
133 |
export LANGUAGE
|
|
134 |
|
|
135 |
# Required to use basename.
|
|
136 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
137 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
138 |
as_expr=expr
|
|
139 |
else
|
|
140 |
as_expr=false
|
|
141 |
fi
|
|
142 |
|
|
143 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
144 |
as_basename=basename
|
|
145 |
else
|
|
146 |
as_basename=false
|
|
147 |
fi
|
|
148 |
|
|
149 |
|
|
150 |
# Name of the executable.
|
|
151 |
as_me=`$as_basename -- "$0" ||
|
|
152 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
153 |
X"$0" : 'X\(//\)$' \| \
|
|
154 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
155 |
$as_echo X/"$0" |
|
|
156 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
157 |
s//\1/
|
|
158 |
q
|
|
159 |
}
|
|
160 |
/^X\/\(\/\/\)$/{
|
|
161 |
s//\1/
|
|
162 |
q
|
|
163 |
}
|
|
164 |
/^X\/\(\/\).*/{
|
|
165 |
s//\1/
|
|
166 |
q
|
|
167 |
}
|
|
168 |
s/.*/./; q'`
|
|
169 |
|
|
170 |
# CDPATH.
|
|
171 |
$as_unset CDPATH
|
|
172 |
|
|
173 |
|
|
174 |
if test "x$CONFIG_SHELL" = x; then
|
|
175 |
if (eval ":") 2>/dev/null; then
|
|
176 |
as_have_required=yes
|
|
177 |
else
|
|
178 |
as_have_required=no
|
|
179 |
fi
|
|
180 |
|
|
181 |
if test $as_have_required = yes && (eval ":
|
|
182 |
(as_func_return () {
|
|
183 |
(exit \$1)
|
|
184 |
}
|
|
185 |
as_func_success () {
|
|
186 |
as_func_return 0
|
|
187 |
}
|
|
188 |
as_func_failure () {
|
|
189 |
as_func_return 1
|
|
190 |
}
|
|
191 |
as_func_ret_success () {
|
|
192 |
return 0
|
|
193 |
}
|
|
194 |
as_func_ret_failure () {
|
|
195 |
return 1
|
|
196 |
}
|
|
197 |
|
|
198 |
exitcode=0
|
|
199 |
if as_func_success; then
|
|
200 |
:
|
|
201 |
else
|
|
202 |
exitcode=1
|
|
203 |
echo as_func_success failed.
|
|
204 |
fi
|
|
205 |
|
|
206 |
if as_func_failure; then
|
|
207 |
exitcode=1
|
|
208 |
echo as_func_failure succeeded.
|
|
209 |
fi
|
|
210 |
|
|
211 |
if as_func_ret_success; then
|
|
212 |
:
|
|
213 |
else
|
|
214 |
exitcode=1
|
|
215 |
echo as_func_ret_success failed.
|
|
216 |
fi
|
|
217 |
|
|
218 |
if as_func_ret_failure; then
|
|
219 |
exitcode=1
|
|
220 |
echo as_func_ret_failure succeeded.
|
|
221 |
fi
|
|
222 |
|
|
223 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
224 |
:
|
|
225 |
else
|
|
226 |
exitcode=1
|
|
227 |
echo positional parameters were not saved.
|
|
228 |
fi
|
|
229 |
|
|
230 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
231 |
|
|
232 |
(
|
|
233 |
as_lineno_1=\$LINENO
|
|
234 |
as_lineno_2=\$LINENO
|
|
235 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
236 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
237 |
") 2> /dev/null; then
|
|
238 |
:
|
|
239 |
else
|
|
240 |
as_candidate_shells=
|
131 | 241 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
132 | 242 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
133 | 243 |
do
|
134 | 244 |
IFS=$as_save_IFS
|
135 | 245 |
test -z "$as_dir" && as_dir=.
|
136 | |
for as_base in sh bash ksh sh5; do
|
137 | |
case $as_dir in
|
|
246 |
case $as_dir in
|
138 | 247 |
/*)
|
139 | |
if ("$as_dir/$as_base" -c '
|
|
248 |
for as_base in sh bash ksh sh5; do
|
|
249 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
250 |
done;;
|
|
251 |
esac
|
|
252 |
done
|
|
253 |
IFS=$as_save_IFS
|
|
254 |
|
|
255 |
|
|
256 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
257 |
# Try only shells that exist, to save several forks.
|
|
258 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
259 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
260 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
261 |
emulate sh
|
|
262 |
NULLCMD=:
|
|
263 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
264 |
# is contrary to our usage. Disable this feature.
|
|
265 |
alias -g '${1+"$@"}'='"$@"'
|
|
266 |
setopt NO_GLOB_SUBST
|
|
267 |
else
|
|
268 |
case `(set -o) 2>/dev/null` in
|
|
269 |
*posix*) set -o posix ;;
|
|
270 |
esac
|
|
271 |
|
|
272 |
fi
|
|
273 |
|
|
274 |
|
|
275 |
:
|
|
276 |
_ASEOF
|
|
277 |
}; then
|
|
278 |
CONFIG_SHELL=$as_shell
|
|
279 |
as_have_required=yes
|
|
280 |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
|
281 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
282 |
emulate sh
|
|
283 |
NULLCMD=:
|
|
284 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
285 |
# is contrary to our usage. Disable this feature.
|
|
286 |
alias -g '${1+"$@"}'='"$@"'
|
|
287 |
setopt NO_GLOB_SUBST
|
|
288 |
else
|
|
289 |
case `(set -o) 2>/dev/null` in
|
|
290 |
*posix*) set -o posix ;;
|
|
291 |
esac
|
|
292 |
|
|
293 |
fi
|
|
294 |
|
|
295 |
|
|
296 |
:
|
|
297 |
(as_func_return () {
|
|
298 |
(exit $1)
|
|
299 |
}
|
|
300 |
as_func_success () {
|
|
301 |
as_func_return 0
|
|
302 |
}
|
|
303 |
as_func_failure () {
|
|
304 |
as_func_return 1
|
|
305 |
}
|
|
306 |
as_func_ret_success () {
|
|
307 |
return 0
|
|
308 |
}
|
|
309 |
as_func_ret_failure () {
|
|
310 |
return 1
|
|
311 |
}
|
|
312 |
|
|
313 |
exitcode=0
|
|
314 |
if as_func_success; then
|
|
315 |
:
|
|
316 |
else
|
|
317 |
exitcode=1
|
|
318 |
echo as_func_success failed.
|
|
319 |
fi
|
|
320 |
|
|
321 |
if as_func_failure; then
|
|
322 |
exitcode=1
|
|
323 |
echo as_func_failure succeeded.
|
|
324 |
fi
|
|
325 |
|
|
326 |
if as_func_ret_success; then
|
|
327 |
:
|
|
328 |
else
|
|
329 |
exitcode=1
|
|
330 |
echo as_func_ret_success failed.
|
|
331 |
fi
|
|
332 |
|
|
333 |
if as_func_ret_failure; then
|
|
334 |
exitcode=1
|
|
335 |
echo as_func_ret_failure succeeded.
|
|
336 |
fi
|
|
337 |
|
|
338 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
339 |
:
|
|
340 |
else
|
|
341 |
exitcode=1
|
|
342 |
echo positional parameters were not saved.
|
|
343 |
fi
|
|
344 |
|
|
345 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
346 |
|
|
347 |
(
|
140 | 348 |
as_lineno_1=$LINENO
|
141 | 349 |
as_lineno_2=$LINENO
|
142 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
143 | 350 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
144 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
145 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
146 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
147 | |
CONFIG_SHELL=$as_dir/$as_base
|
148 | |
export CONFIG_SHELL
|
149 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
150 | |
fi;;
|
151 | |
esac
|
152 | |
done
|
153 | |
done
|
154 | |
;;
|
155 | |
esac
|
|
351 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
352 |
|
|
353 |
_ASEOF
|
|
354 |
}; then
|
|
355 |
break
|
|
356 |
fi
|
|
357 |
|
|
358 |
fi
|
|
359 |
|
|
360 |
done
|
|
361 |
|
|
362 |
if test "x$CONFIG_SHELL" != x; then
|
|
363 |
for as_var in BASH_ENV ENV
|
|
364 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
365 |
done
|
|
366 |
export CONFIG_SHELL
|
|
367 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
368 |
fi
|
|
369 |
|
|
370 |
|
|
371 |
if test $as_have_required = no; then
|
|
372 |
echo This script requires a shell more modern than all the
|
|
373 |
echo shells that I found on your system. Please install a
|
|
374 |
echo modern shell, or manually run the script under such a
|
|
375 |
echo shell if you do have one.
|
|
376 |
{ (exit 1); exit 1; }
|
|
377 |
fi
|
|
378 |
|
|
379 |
|
|
380 |
fi
|
|
381 |
|
|
382 |
fi
|
|
383 |
|
|
384 |
|
|
385 |
|
|
386 |
(eval "as_func_return () {
|
|
387 |
(exit \$1)
|
|
388 |
}
|
|
389 |
as_func_success () {
|
|
390 |
as_func_return 0
|
|
391 |
}
|
|
392 |
as_func_failure () {
|
|
393 |
as_func_return 1
|
|
394 |
}
|
|
395 |
as_func_ret_success () {
|
|
396 |
return 0
|
|
397 |
}
|
|
398 |
as_func_ret_failure () {
|
|
399 |
return 1
|
|
400 |
}
|
|
401 |
|
|
402 |
exitcode=0
|
|
403 |
if as_func_success; then
|
|
404 |
:
|
|
405 |
else
|
|
406 |
exitcode=1
|
|
407 |
echo as_func_success failed.
|
|
408 |
fi
|
|
409 |
|
|
410 |
if as_func_failure; then
|
|
411 |
exitcode=1
|
|
412 |
echo as_func_failure succeeded.
|
|
413 |
fi
|
|
414 |
|
|
415 |
if as_func_ret_success; then
|
|
416 |
:
|
|
417 |
else
|
|
418 |
exitcode=1
|
|
419 |
echo as_func_ret_success failed.
|
|
420 |
fi
|
|
421 |
|
|
422 |
if as_func_ret_failure; then
|
|
423 |
exitcode=1
|
|
424 |
echo as_func_ret_failure succeeded.
|
|
425 |
fi
|
|
426 |
|
|
427 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
428 |
:
|
|
429 |
else
|
|
430 |
exitcode=1
|
|
431 |
echo positional parameters were not saved.
|
|
432 |
fi
|
|
433 |
|
|
434 |
test \$exitcode = 0") || {
|
|
435 |
echo No shell found that supports shell functions.
|
|
436 |
echo Please tell bug-autoconf@gnu.org about your system,
|
|
437 |
echo including any error possibly output before this message.
|
|
438 |
echo This can help us improve future autoconf versions.
|
|
439 |
echo Configuration will now proceed without shell functions.
|
|
440 |
}
|
|
441 |
|
|
442 |
|
|
443 |
|
|
444 |
as_lineno_1=$LINENO
|
|
445 |
as_lineno_2=$LINENO
|
|
446 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
447 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
156 | 448 |
|
157 | 449 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
158 | 450 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
159 | |
# line-number line before each line; the second 'sed' does the real
|
160 | |
# work. The second script uses 'N' to pair each line-number line
|
161 | |
# with the numbered line, and appends trailing '-' during
|
162 | |
# substitution so that $LINENO is not a special case at line end.
|
|
451 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
452 |
# does the real work. The second script uses 'N' to pair each
|
|
453 |
# line-number line with the line containing $LINENO, and appends
|
|
454 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
455 |
# case at line end.
|
163 | 456 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
164 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
165 | |
sed '=' <$as_myself |
|
|
457 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
458 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
459 |
sed -n '
|
|
460 |
p
|
|
461 |
/[$]LINENO/=
|
|
462 |
' <$as_myself |
|
166 | 463 |
sed '
|
|
464 |
s/[$]LINENO.*/&-/
|
|
465 |
t lineno
|
|
466 |
b
|
|
467 |
:lineno
|
167 | 468 |
N
|
168 | |
s,$,-,
|
169 | |
: loop
|
170 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
469 |
:loop
|
|
470 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
171 | 471 |
t loop
|
172 | |
s,-$,,
|
173 | |
s,^['$as_cr_digits']*\n,,
|
|
472 |
s/-\n.*//
|
174 | 473 |
' >$as_me.lineno &&
|
175 | |
chmod +x $as_me.lineno ||
|
176 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
|
474 |
chmod +x "$as_me.lineno" ||
|
|
475 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
177 | 476 |
{ (exit 1); exit 1; }; }
|
178 | 477 |
|
179 | 478 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
180 | 479 |
# (the dirname of $[0] is not the place where we might find the
|
181 | |
# original and so on. Autoconf is especially sensible to this).
|
182 | |
. ./$as_me.lineno
|
|
480 |
# original and so on. Autoconf is especially sensitive to this).
|
|
481 |
. "./$as_me.lineno"
|
183 | 482 |
# Exit status is that of the last command.
|
184 | 483 |
exit
|
185 | 484 |
}
|
186 | 485 |
|
187 | 486 |
|
188 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
189 | |
*c*,-n*) ECHO_N= ECHO_C='
|
190 | |
' ECHO_T=' ' ;;
|
191 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
192 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
193 | |
esac
|
194 | |
|
195 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
487 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
488 |
as_dirname=dirname
|
|
489 |
else
|
|
490 |
as_dirname=false
|
|
491 |
fi
|
|
492 |
|
|
493 |
ECHO_C= ECHO_N= ECHO_T=
|
|
494 |
case `echo -n x` in
|
|
495 |
-n*)
|
|
496 |
case `echo 'x\c'` in
|
|
497 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
498 |
*) ECHO_C='\c';;
|
|
499 |
esac;;
|
|
500 |
*)
|
|
501 |
ECHO_N='-n';;
|
|
502 |
esac
|
|
503 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
504 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
196 | 505 |
as_expr=expr
|
197 | 506 |
else
|
198 | 507 |
as_expr=false
|
199 | 508 |
fi
|
200 | 509 |
|
201 | 510 |
rm -f conf$$ conf$$.exe conf$$.file
|
202 | |
echo >conf$$.file
|
203 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
204 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
205 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
206 | |
if test -f conf$$.exe; then
|
207 | |
# Don't use ln at all; we don't have any links
|
|
511 |
if test -d conf$$.dir; then
|
|
512 |
rm -f conf$$.dir/conf$$.file
|
|
513 |
else
|
|
514 |
rm -f conf$$.dir
|
|
515 |
mkdir conf$$.dir 2>/dev/null
|
|
516 |
fi
|
|
517 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
518 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
519 |
as_ln_s='ln -s'
|
|
520 |
# ... but there are two gotchas:
|
|
521 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
522 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
523 |
# In both cases, we have to default to `cp -p'.
|
|
524 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
525 |
as_ln_s='cp -p'
|
|
526 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
527 |
as_ln_s=ln
|
|
528 |
else
|
208 | 529 |
as_ln_s='cp -p'
|
209 | |
else
|
210 | |
as_ln_s='ln -s'
|
211 | 530 |
fi
|
212 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
213 | |
as_ln_s=ln
|
214 | 531 |
else
|
215 | 532 |
as_ln_s='cp -p'
|
216 | 533 |
fi
|
217 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
534 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
535 |
rmdir conf$$.dir 2>/dev/null
|
218 | 536 |
|
219 | 537 |
if mkdir -p . 2>/dev/null; then
|
220 | 538 |
as_mkdir_p=:
|
|
223 | 541 |
as_mkdir_p=false
|
224 | 542 |
fi
|
225 | 543 |
|
226 | |
as_executable_p="test -f"
|
|
544 |
if test -x / >/dev/null 2>&1; then
|
|
545 |
as_test_x='test -x'
|
|
546 |
else
|
|
547 |
if ls -dL / >/dev/null 2>&1; then
|
|
548 |
as_ls_L_option=L
|
|
549 |
else
|
|
550 |
as_ls_L_option=
|
|
551 |
fi
|
|
552 |
as_test_x='
|
|
553 |
eval sh -c '\''
|
|
554 |
if test -d "$1"; then
|
|
555 |
test -d "$1/.";
|
|
556 |
else
|
|
557 |
case $1 in
|
|
558 |
-*)set "./$1";;
|
|
559 |
esac;
|
|
560 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
561 |
???[sx]*):;;*)false;;esac;fi
|
|
562 |
'\'' sh
|
|
563 |
'
|
|
564 |
fi
|
|
565 |
as_executable_p=$as_test_x
|
227 | 566 |
|
228 | 567 |
# Sed expression to map a string onto a valid CPP name.
|
229 | 568 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
232 | 571 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
233 | 572 |
|
234 | 573 |
|
235 | |
# IFS
|
236 | |
# We need space, tab and new line, in precisely that order.
|
237 | |
as_nl='
|
238 | |
'
|
239 | |
IFS=" $as_nl"
|
240 | |
|
241 | |
# CDPATH.
|
242 | |
$as_unset CDPATH
|
243 | |
|
|
574 |
|
|
575 |
exec 7<&0 </dev/null 6>&1
|
244 | 576 |
|
245 | 577 |
# Name of the host.
|
246 | 578 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
247 | 579 |
# so uname gets run too.
|
248 | 580 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
249 | 581 |
|
250 | |
exec 6>&1
|
251 | |
|
252 | 582 |
#
|
253 | 583 |
# Initializations.
|
254 | 584 |
#
|
255 | 585 |
ac_default_prefix=/usr/local
|
|
586 |
ac_clean_files=
|
256 | 587 |
ac_config_libobj_dir=.
|
|
588 |
LIBOBJS=
|
257 | 589 |
cross_compiling=no
|
258 | 590 |
subdirs=
|
259 | 591 |
MFLAGS=
|
260 | 592 |
MAKEFLAGS=
|
261 | 593 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
262 | 594 |
|
263 | |
# Maximum number of lines to put in a shell here document.
|
264 | |
# This variable seems obsolete. It should probably be removed, and
|
265 | |
# only ac_max_sed_lines should be used.
|
266 | |
: ${ac_max_here_lines=38}
|
267 | |
|
268 | 595 |
# Identity of this package.
|
269 | 596 |
PACKAGE_NAME='h5utils'
|
270 | 597 |
PACKAGE_TARNAME='h5utils'
|
271 | |
PACKAGE_VERSION='1.10'
|
272 | |
PACKAGE_STRING='h5utils 1.10'
|
|
598 |
PACKAGE_VERSION='1.12'
|
|
599 |
PACKAGE_STRING='h5utils 1.12'
|
273 | 600 |
PACKAGE_BUGREPORT='stevenj@alum.mit.edu'
|
274 | 601 |
|
275 | 602 |
ac_unique_file="h5topng.c"
|
276 | 603 |
# Factoring default headers for most tests.
|
277 | 604 |
ac_includes_default="\
|
278 | 605 |
#include <stdio.h>
|
279 | |
#if HAVE_SYS_TYPES_H
|
|
606 |
#ifdef HAVE_SYS_TYPES_H
|
280 | 607 |
# include <sys/types.h>
|
281 | 608 |
#endif
|
282 | |
#if HAVE_SYS_STAT_H
|
|
609 |
#ifdef HAVE_SYS_STAT_H
|
283 | 610 |
# include <sys/stat.h>
|
284 | 611 |
#endif
|
285 | |
#if STDC_HEADERS
|
|
612 |
#ifdef STDC_HEADERS
|
286 | 613 |
# include <stdlib.h>
|
287 | 614 |
# include <stddef.h>
|
288 | 615 |
#else
|
289 | |
# if HAVE_STDLIB_H
|
|
616 |
# ifdef HAVE_STDLIB_H
|
290 | 617 |
# include <stdlib.h>
|
291 | 618 |
# endif
|
292 | 619 |
#endif
|
293 | |
#if HAVE_STRING_H
|
294 | |
# if !STDC_HEADERS && HAVE_MEMORY_H
|
|
620 |
#ifdef HAVE_STRING_H
|
|
621 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
295 | 622 |
# include <memory.h>
|
296 | 623 |
# endif
|
297 | 624 |
# include <string.h>
|
298 | 625 |
#endif
|
299 | |
#if HAVE_STRINGS_H
|
|
626 |
#ifdef HAVE_STRINGS_H
|
300 | 627 |
# include <strings.h>
|
301 | 628 |
#endif
|
302 | |
#if HAVE_INTTYPES_H
|
|
629 |
#ifdef HAVE_INTTYPES_H
|
303 | 630 |
# include <inttypes.h>
|
304 | |
#else
|
305 | |
# if HAVE_STDINT_H
|
306 | |
# include <stdint.h>
|
307 | |
# endif
|
308 | 631 |
#endif
|
309 | |
#if HAVE_UNISTD_H
|
|
632 |
#ifdef HAVE_STDINT_H
|
|
633 |
# include <stdint.h>
|
|
634 |
#endif
|
|
635 |
#ifdef HAVE_UNISTD_H
|
310 | 636 |
# include <unistd.h>
|
311 | 637 |
#endif"
|
312 | 638 |
|
313 | |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP H5TOPNG_MAN PNG_LIBS H4TOH5 H5TOH4 H4_LIBS MKOCTFILE OCTAVE H5READ OCT_INSTALL_DIR V5D_FILES V5D_INCLUDES datadir_val MORE_H5UTILS MORE_H5UTILS_MANS LIBOBJS LTLIBOBJS'
|
|
639 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
640 |
am__EXEEXT_TRUE
|
|
641 |
LTLIBOBJS
|
|
642 |
LIBOBJS
|
|
643 |
MORE_H5UTILS_MANS
|
|
644 |
MORE_H5UTILS
|
|
645 |
datadir_val
|
|
646 |
V5D_INCLUDES
|
|
647 |
V5D_FILES
|
|
648 |
OCT_INSTALL_DIR
|
|
649 |
H5READ
|
|
650 |
OCTAVE
|
|
651 |
MKOCTFILE
|
|
652 |
H4_LIBS
|
|
653 |
H5TOH4
|
|
654 |
H4TOH5
|
|
655 |
PNG_LIBS
|
|
656 |
H5TOPNG_MAN
|
|
657 |
EGREP
|
|
658 |
GREP
|
|
659 |
CPP
|
|
660 |
am__fastdepCC_FALSE
|
|
661 |
am__fastdepCC_TRUE
|
|
662 |
CCDEPMODE
|
|
663 |
AMDEPBACKSLASH
|
|
664 |
AMDEP_FALSE
|
|
665 |
AMDEP_TRUE
|
|
666 |
am__quote
|
|
667 |
am__include
|
|
668 |
DEPDIR
|
|
669 |
OBJEXT
|
|
670 |
EXEEXT
|
|
671 |
ac_ct_CC
|
|
672 |
CPPFLAGS
|
|
673 |
LDFLAGS
|
|
674 |
CFLAGS
|
|
675 |
CC
|
|
676 |
MAINT
|
|
677 |
MAINTAINER_MODE_FALSE
|
|
678 |
MAINTAINER_MODE_TRUE
|
|
679 |
am__untar
|
|
680 |
am__tar
|
|
681 |
AMTAR
|
|
682 |
am__leading_dot
|
|
683 |
SET_MAKE
|
|
684 |
AWK
|
|
685 |
mkdir_p
|
|
686 |
MKDIR_P
|
|
687 |
INSTALL_STRIP_PROGRAM
|
|
688 |
STRIP
|
|
689 |
install_sh
|
|
690 |
MAKEINFO
|
|
691 |
AUTOHEADER
|
|
692 |
AUTOMAKE
|
|
693 |
AUTOCONF
|
|
694 |
ACLOCAL
|
|
695 |
VERSION
|
|
696 |
PACKAGE
|
|
697 |
CYGPATH_W
|
|
698 |
am__isrc
|
|
699 |
INSTALL_DATA
|
|
700 |
INSTALL_SCRIPT
|
|
701 |
INSTALL_PROGRAM
|
|
702 |
target_alias
|
|
703 |
host_alias
|
|
704 |
build_alias
|
|
705 |
LIBS
|
|
706 |
ECHO_T
|
|
707 |
ECHO_N
|
|
708 |
ECHO_C
|
|
709 |
DEFS
|
|
710 |
mandir
|
|
711 |
localedir
|
|
712 |
libdir
|
|
713 |
psdir
|
|
714 |
pdfdir
|
|
715 |
dvidir
|
|
716 |
htmldir
|
|
717 |
infodir
|
|
718 |
docdir
|
|
719 |
oldincludedir
|
|
720 |
includedir
|
|
721 |
localstatedir
|
|
722 |
sharedstatedir
|
|
723 |
sysconfdir
|
|
724 |
datadir
|
|
725 |
datarootdir
|
|
726 |
libexecdir
|
|
727 |
sbindir
|
|
728 |
bindir
|
|
729 |
program_transform_name
|
|
730 |
prefix
|
|
731 |
exec_prefix
|
|
732 |
PACKAGE_BUGREPORT
|
|
733 |
PACKAGE_STRING
|
|
734 |
PACKAGE_VERSION
|
|
735 |
PACKAGE_TARNAME
|
|
736 |
PACKAGE_NAME
|
|
737 |
PATH_SEPARATOR
|
|
738 |
SHELL'
|
314 | 739 |
ac_subst_files=''
|
|
740 |
ac_user_opts='
|
|
741 |
enable_option_checking
|
|
742 |
enable_maintainer_mode
|
|
743 |
enable_dependency_tracking
|
|
744 |
with_hdf4
|
|
745 |
with_octave
|
|
746 |
with_v5d
|
|
747 |
'
|
|
748 |
ac_precious_vars='build_alias
|
|
749 |
host_alias
|
|
750 |
target_alias
|
|
751 |
CC
|
|
752 |
CFLAGS
|
|
753 |
LDFLAGS
|
|
754 |
LIBS
|
|
755 |
CPPFLAGS
|
|
756 |
CPP'
|
|
757 |
|
315 | 758 |
|
316 | 759 |
# Initialize some variables set by options.
|
317 | 760 |
ac_init_help=
|
318 | 761 |
ac_init_version=false
|
|
762 |
ac_unrecognized_opts=
|
|
763 |
ac_unrecognized_sep=
|
319 | 764 |
# The variables have the same names as the options, with
|
320 | 765 |
# dashes changed to underlines.
|
321 | 766 |
cache_file=/dev/null
|
|
338 | 783 |
# and all the variables that are supposed to be based on exec_prefix
|
339 | 784 |
# by default will actually change.
|
340 | 785 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
786 |
# (The list follows the same order as the GNU Coding Standards.)
|
341 | 787 |
bindir='${exec_prefix}/bin'
|
342 | 788 |
sbindir='${exec_prefix}/sbin'
|
343 | 789 |
libexecdir='${exec_prefix}/libexec'
|
344 | |
datadir='${prefix}/share'
|
|
790 |
datarootdir='${prefix}/share'
|
|
791 |
datadir='${datarootdir}'
|
345 | 792 |
sysconfdir='${prefix}/etc'
|
346 | 793 |
sharedstatedir='${prefix}/com'
|
347 | 794 |
localstatedir='${prefix}/var'
|
348 | |
libdir='${exec_prefix}/lib'
|
349 | 795 |
includedir='${prefix}/include'
|
350 | 796 |
oldincludedir='/usr/include'
|
351 | |
infodir='${prefix}/info'
|
352 | |
mandir='${prefix}/man'
|
|
797 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
|
798 |
infodir='${datarootdir}/info'
|
|
799 |
htmldir='${docdir}'
|
|
800 |
dvidir='${docdir}'
|
|
801 |
pdfdir='${docdir}'
|
|
802 |
psdir='${docdir}'
|
|
803 |
libdir='${exec_prefix}/lib'
|
|
804 |
localedir='${datarootdir}/locale'
|
|
805 |
mandir='${datarootdir}/man'
|
353 | 806 |
|
354 | 807 |
ac_prev=
|
|
808 |
ac_dashdash=
|
355 | 809 |
for ac_option
|
356 | 810 |
do
|
357 | 811 |
# If the previous option needs an argument, assign it.
|
358 | 812 |
if test -n "$ac_prev"; then
|
359 | |
eval "$ac_prev=\$ac_option"
|
|
813 |
eval $ac_prev=\$ac_option
|
360 | 814 |
ac_prev=
|
361 | 815 |
continue
|
362 | 816 |
fi
|
363 | 817 |
|
364 | |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
818 |
case $ac_option in
|
|
819 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
820 |
*) ac_optarg=yes ;;
|
|
821 |
esac
|
365 | 822 |
|
366 | 823 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
367 | 824 |
|
368 | |
case $ac_option in
|
|
825 |
case $ac_dashdash$ac_option in
|
|
826 |
--)
|
|
827 |
ac_dashdash=yes ;;
|
369 | 828 |
|
370 | 829 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
371 | 830 |
ac_prev=bindir ;;
|
|
387 | 846 |
--config-cache | -C)
|
388 | 847 |
cache_file=config.cache ;;
|
389 | 848 |
|
390 | |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
849 |
-datadir | --datadir | --datadi | --datad)
|
391 | 850 |
ac_prev=datadir ;;
|
392 | |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
393 | |
| --da=*)
|
|
851 |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
394 | 852 |
datadir=$ac_optarg ;;
|
395 | 853 |
|
|
854 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|
855 |
| --dataroo | --dataro | --datar)
|
|
856 |
ac_prev=datarootdir ;;
|
|
857 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|
858 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|
859 |
datarootdir=$ac_optarg ;;
|
|
860 |
|
396 | 861 |
-disable-* | --disable-*)
|
397 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
862 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
398 | 863 |
# Reject names that are not valid shell variable names.
|
399 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
400 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
864 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
865 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
401 | 866 |
{ (exit 1); exit 1; }; }
|
402 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
403 | |
eval "enable_$ac_feature=no" ;;
|
|
867 |
ac_useropt_orig=$ac_useropt
|
|
868 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
869 |
case $ac_user_opts in
|
|
870 |
*"
|
|
871 |
"enable_$ac_useropt"
|
|
872 |
"*) ;;
|
|
873 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
874 |
ac_unrecognized_sep=', ';;
|
|
875 |
esac
|
|
876 |
eval enable_$ac_useropt=no ;;
|
|
877 |
|
|
878 |
-docdir | --docdir | --docdi | --doc | --do)
|
|
879 |
ac_prev=docdir ;;
|
|
880 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|
881 |
docdir=$ac_optarg ;;
|
|
882 |
|
|
883 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|
884 |
ac_prev=dvidir ;;
|
|
885 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|
886 |
dvidir=$ac_optarg ;;
|
404 | 887 |
|
405 | 888 |
-enable-* | --enable-*)
|
406 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
889 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
407 | 890 |
# Reject names that are not valid shell variable names.
|
408 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
409 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
|
891 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
892 |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
410 | 893 |
{ (exit 1); exit 1; }; }
|
411 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
412 | |
case $ac_option in
|
413 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
414 | |
*) ac_optarg=yes ;;
|
|
894 |
ac_useropt_orig=$ac_useropt
|
|
895 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
896 |
case $ac_user_opts in
|
|
897 |
*"
|
|
898 |
"enable_$ac_useropt"
|
|
899 |
"*) ;;
|
|
900 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
901 |
ac_unrecognized_sep=', ';;
|
415 | 902 |
esac
|
416 | |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
903 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
417 | 904 |
|
418 | 905 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
419 | 906 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
440 | 927 |
-host=* | --host=* | --hos=* | --ho=*)
|
441 | 928 |
host_alias=$ac_optarg ;;
|
442 | 929 |
|
|
930 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|
931 |
ac_prev=htmldir ;;
|
|
932 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|
933 |
| --ht=*)
|
|
934 |
htmldir=$ac_optarg ;;
|
|
935 |
|
443 | 936 |
-includedir | --includedir | --includedi | --included | --include \
|
444 | 937 |
| --includ | --inclu | --incl | --inc)
|
445 | 938 |
ac_prev=includedir ;;
|
|
464 | 957 |
| --libexe=* | --libex=* | --libe=*)
|
465 | 958 |
libexecdir=$ac_optarg ;;
|
466 | 959 |
|
|
960 |
-localedir | --localedir | --localedi | --localed | --locale)
|
|
961 |
ac_prev=localedir ;;
|
|
962 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|
963 |
localedir=$ac_optarg ;;
|
|
964 |
|
467 | 965 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
468 | |
| --localstate | --localstat | --localsta | --localst \
|
469 | |
| --locals | --local | --loca | --loc | --lo)
|
|
966 |
| --localstate | --localstat | --localsta | --localst | --locals)
|
470 | 967 |
ac_prev=localstatedir ;;
|
471 | 968 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
472 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
473 | |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
969 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
474 | 970 |
localstatedir=$ac_optarg ;;
|
475 | 971 |
|
476 | 972 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
535 | 1031 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
536 | 1032 |
program_transform_name=$ac_optarg ;;
|
537 | 1033 |
|
|
1034 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|
1035 |
ac_prev=pdfdir ;;
|
|
1036 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|
1037 |
pdfdir=$ac_optarg ;;
|
|
1038 |
|
|
1039 |
-psdir | --psdir | --psdi | --psd | --ps)
|
|
1040 |
ac_prev=psdir ;;
|
|
1041 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|
1042 |
psdir=$ac_optarg ;;
|
|
1043 |
|
538 | 1044 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
539 | 1045 |
| -silent | --silent | --silen | --sile | --sil)
|
540 | 1046 |
silent=yes ;;
|
|
585 | 1091 |
ac_init_version=: ;;
|
586 | 1092 |
|
587 | 1093 |
-with-* | --with-*)
|
588 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1094 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
589 | 1095 |
# Reject names that are not valid shell variable names.
|
590 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
591 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1096 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1097 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
592 | 1098 |
{ (exit 1); exit 1; }; }
|
593 | |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
594 | |
case $ac_option in
|
595 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
596 | |
*) ac_optarg=yes ;;
|
|
1099 |
ac_useropt_orig=$ac_useropt
|
|
1100 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1101 |
case $ac_user_opts in
|
|
1102 |
*"
|
|
1103 |
"with_$ac_useropt"
|
|
1104 |
"*) ;;
|
|
1105 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
1106 |
ac_unrecognized_sep=', ';;
|
597 | 1107 |
esac
|
598 | |
eval "with_$ac_package='$ac_optarg'" ;;
|
|
1108 |
eval with_$ac_useropt=\$ac_optarg ;;
|
599 | 1109 |
|
600 | 1110 |
-without-* | --without-*)
|
601 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1111 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
602 | 1112 |
# Reject names that are not valid shell variable names.
|
603 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
604 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
|
1113 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1114 |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
605 | 1115 |
{ (exit 1); exit 1; }; }
|
606 | |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
607 | |
eval "with_$ac_package=no" ;;
|
|
1116 |
ac_useropt_orig=$ac_useropt
|
|
1117 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1118 |
case $ac_user_opts in
|
|
1119 |
*"
|
|
1120 |
"with_$ac_useropt"
|
|
1121 |
"*) ;;
|
|
1122 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1123 |
ac_unrecognized_sep=', ';;
|
|
1124 |
esac
|
|
1125 |
eval with_$ac_useropt=no ;;
|
608 | 1126 |
|
609 | 1127 |
--x)
|
610 | 1128 |
# Obsolete; use --with-x.
|
|
624 | 1142 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
625 | 1143 |
x_libraries=$ac_optarg ;;
|
626 | 1144 |
|
627 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
|
1145 |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
628 | 1146 |
Try \`$0 --help' for more information." >&2
|
629 | 1147 |
{ (exit 1); exit 1; }; }
|
630 | 1148 |
;;
|
|
633 | 1151 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
634 | 1152 |
# Reject names that are not valid shell variable names.
|
635 | 1153 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
636 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
|
1154 |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
637 | 1155 |
{ (exit 1); exit 1; }; }
|
638 | |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
639 | |
eval "$ac_envvar='$ac_optarg'"
|
|
1156 |
eval $ac_envvar=\$ac_optarg
|
640 | 1157 |
export $ac_envvar ;;
|
641 | 1158 |
|
642 | 1159 |
*)
|
643 | 1160 |
# FIXME: should be removed in autoconf 3.0.
|
644 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1161 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
645 | 1162 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
646 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1163 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
647 | 1164 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
648 | 1165 |
;;
|
649 | 1166 |
|
|
652 | 1169 |
|
653 | 1170 |
if test -n "$ac_prev"; then
|
654 | 1171 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
655 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
|
1172 |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
656 | 1173 |
{ (exit 1); exit 1; }; }
|
657 | 1174 |
fi
|
658 | 1175 |
|
659 | |
# Be sure to have absolute paths.
|
660 | |
for ac_var in exec_prefix prefix
|
|
1176 |
if test -n "$ac_unrecognized_opts"; then
|
|
1177 |
case $enable_option_checking in
|
|
1178 |
no) ;;
|
|
1179 |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
|
1180 |
{ (exit 1); exit 1; }; } ;;
|
|
1181 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1182 |
esac
|
|
1183 |
fi
|
|
1184 |
|
|
1185 |
# Check all directory arguments for consistency.
|
|
1186 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
1187 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1188 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1189 |
libdir localedir mandir
|
661 | 1190 |
do
|
662 | |
eval ac_val=$`echo $ac_var`
|
|
1191 |
eval ac_val=\$$ac_var
|
|
1192 |
# Remove trailing slashes.
|
663 | 1193 |
case $ac_val in
|
664 | |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
665 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
666 | |
{ (exit 1); exit 1; }; };;
|
|
1194 |
*/ )
|
|
1195 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1196 |
eval $ac_var=\$ac_val;;
|
667 | 1197 |
esac
|
668 | |
done
|
669 | |
|
670 | |
# Be sure to have absolute paths.
|
671 | |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
672 | |
localstatedir libdir includedir oldincludedir infodir mandir
|
673 | |
do
|
674 | |
eval ac_val=$`echo $ac_var`
|
|
1198 |
# Be sure to have absolute directory names.
|
675 | 1199 |
case $ac_val in
|
676 | |
[\\/$]* | ?:[\\/]* ) ;;
|
677 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
678 | |
{ (exit 1); exit 1; }; };;
|
|
1200 |
[\\/$]* | ?:[\\/]* ) continue;;
|
|
1201 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
679 | 1202 |
esac
|
|
1203 |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
1204 |
{ (exit 1); exit 1; }; }
|
680 | 1205 |
done
|
681 | 1206 |
|
682 | 1207 |
# There might be people who depend on the old broken behavior: `$host'
|
|
690 | 1215 |
if test "x$host_alias" != x; then
|
691 | 1216 |
if test "x$build_alias" = x; then
|
692 | 1217 |
cross_compiling=maybe
|
693 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1218 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
694 | 1219 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
695 | 1220 |
elif test "x$build_alias" != "x$host_alias"; then
|
696 | 1221 |
cross_compiling=yes
|
|
703 | 1228 |
test "$silent" = yes && exec 6>/dev/null
|
704 | 1229 |
|
705 | 1230 |
|
|
1231 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|
1232 |
ac_ls_di=`ls -di .` &&
|
|
1233 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|
1234 |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
|
1235 |
{ (exit 1); exit 1; }; }
|
|
1236 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|
1237 |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
|
1238 |
{ (exit 1); exit 1; }; }
|
|
1239 |
|
|
1240 |
|
706 | 1241 |
# Find the source files, if location was not specified.
|
707 | 1242 |
if test -z "$srcdir"; then
|
708 | 1243 |
ac_srcdir_defaulted=yes
|
709 | |
# Try the directory containing this script, then its parent.
|
710 | |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
711 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
712 | |
X"$0" : 'X\(//\)[^/]' \| \
|
713 | |
X"$0" : 'X\(//\)$' \| \
|
714 | |
X"$0" : 'X\(/\)' \| \
|
715 | |
. : '\(.\)' 2>/dev/null ||
|
716 | |
echo X"$0" |
|
717 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
718 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
719 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
720 | |
/^X\(\/\).*/{ s//\1/; q; }
|
721 | |
s/.*/./; q'`
|
|
1244 |
# Try the directory containing this script, then the parent directory.
|
|
1245 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1246 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1247 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1248 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1249 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1250 |
$as_echo X"$as_myself" |
|
|
1251 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
1252 |
s//\1/
|
|
1253 |
q
|
|
1254 |
}
|
|
1255 |
/^X\(\/\/\)[^/].*/{
|
|
1256 |
s//\1/
|
|
1257 |
q
|
|
1258 |
}
|
|
1259 |
/^X\(\/\/\)$/{
|
|
1260 |
s//\1/
|
|
1261 |
q
|
|
1262 |
}
|
|
1263 |
/^X\(\/\).*/{
|
|
1264 |
s//\1/
|
|
1265 |
q
|
|
1266 |
}
|
|
1267 |
s/.*/./; q'`
|
722 | 1268 |
srcdir=$ac_confdir
|
723 | |
if test ! -r $srcdir/$ac_unique_file; then
|
|
1269 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
724 | 1270 |
srcdir=..
|
725 | 1271 |
fi
|
726 | 1272 |
else
|
727 | 1273 |
ac_srcdir_defaulted=no
|
728 | 1274 |
fi
|
729 | |
if test ! -r $srcdir/$ac_unique_file; then
|
730 | |
if test "$ac_srcdir_defaulted" = yes; then
|
731 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
|
1275 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
|
1276 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|
1277 |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
732 | 1278 |
{ (exit 1); exit 1; }; }
|
733 | |
else
|
734 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
1279 |
fi
|
|
1280 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|
1281 |
ac_abs_confdir=`(
|
|
1282 |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
735 | 1283 |
{ (exit 1); exit 1; }; }
|
736 | |
fi
|
737 | |
fi
|
738 | |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
739 | |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
740 | |
{ (exit 1); exit 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
|
|
1284 |
pwd)`
|
|
1285 |
# When building in place, set srcdir=.
|
|
1286 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1287 |
srcdir=.
|
|
1288 |
fi
|
|
1289 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1290 |
# Double slashes in file names in object file debugging info
|
|
1291 |
# mess up M-x gdb in Emacs.
|
|
1292 |
case $srcdir in
|
|
1293 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|
1294 |
esac
|
|
1295 |
for ac_var in $ac_precious_vars; do
|
|
1296 |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|
1297 |
eval ac_env_${ac_var}_value=\$${ac_var}
|
|
1298 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|
1299 |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|
1300 |
done
|
774 | 1301 |
|
775 | 1302 |
#
|
776 | 1303 |
# Report the --help message.
|
|
779 | 1306 |
# Omit some internal or obsolete options to make the list less imposing.
|
780 | 1307 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
781 | 1308 |
cat <<_ACEOF
|
782 | |
\`configure' configures h5utils 1.10 to adapt to many kinds of systems.
|
|
1309 |
\`configure' configures h5utils 1.12 to adapt to many kinds of systems.
|
783 | 1310 |
|
784 | 1311 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
785 | 1312 |
|
|
799 | 1326 |
-n, --no-create do not create output files
|
800 | 1327 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
801 | 1328 |
|
802 | |
_ACEOF
|
803 | |
|
804 | |
cat <<_ACEOF
|
805 | 1329 |
Installation directories:
|
806 | 1330 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
807 | |
[$ac_default_prefix]
|
|
1331 |
[$ac_default_prefix]
|
808 | 1332 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
809 | |
[PREFIX]
|
|
1333 |
[PREFIX]
|
810 | 1334 |
|
811 | 1335 |
By default, \`make install' will install all the files in
|
812 | 1336 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
816 | 1340 |
For better control, use the options below.
|
817 | 1341 |
|
818 | 1342 |
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]
|
|
1343 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1344 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1345 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1346 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1347 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1348 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1349 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1350 |
--includedir=DIR C header files [PREFIX/include]
|
|
1351 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1352 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1353 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1354 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1355 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1356 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1357 |
--docdir=DIR documentation root [DATAROOTDIR/doc/h5utils]
|
|
1358 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1359 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1360 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1361 |
--psdir=DIR ps documentation [DOCDIR]
|
831 | 1362 |
_ACEOF
|
832 | 1363 |
|
833 | 1364 |
cat <<\_ACEOF
|
|
841 | 1372 |
|
842 | 1373 |
if test -n "$ac_init_help"; then
|
843 | 1374 |
case $ac_init_help in
|
844 | |
short | recursive ) echo "Configuration of h5utils 1.10:";;
|
|
1375 |
short | recursive ) echo "Configuration of h5utils 1.12:";;
|
845 | 1376 |
esac
|
846 | 1377 |
cat <<\_ACEOF
|
847 | 1378 |
|
848 | 1379 |
Optional Features:
|
|
1380 |
--disable-option-checking ignore unrecognized --enable/--with options
|
849 | 1381 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
850 | 1382 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
851 | 1383 |
--enable-maintainer-mode enable make rules and dependencies not useful
|
|
866 | 1398 |
CFLAGS C compiler flags
|
867 | 1399 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
868 | 1400 |
nonstandard directory <lib dir>
|
869 | |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
870 | |
headers in a nonstandard directory <include dir>
|
|
1401 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
1402 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1403 |
you have headers in a nonstandard directory <include dir>
|
871 | 1404 |
CPP C preprocessor
|
872 | 1405 |
|
873 | 1406 |
Use these variables to override the choices made by `configure' or to help
|
|
875 | 1408 |
|
876 | 1409 |
Report bugs to <stevenj@alum.mit.edu>.
|
877 | 1410 |
_ACEOF
|
|
1411 |
ac_status=$?
|
878 | 1412 |
fi
|
879 | 1413 |
|
880 | 1414 |
if test "$ac_init_help" = "recursive"; then
|
881 | 1415 |
# If there are subdirs, report their specific --help.
|
882 | |
ac_popdir=`pwd`
|
883 | 1416 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
884 | |
test -d $ac_dir || continue
|
|
1417 |
test -d "$ac_dir" ||
|
|
1418 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1419 |
continue
|
885 | 1420 |
ac_builddir=.
|
886 | 1421 |
|
887 | |
if test "$ac_dir" != .; then
|
888 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
889 | |
# A "../" for each directory in $ac_dir_suffix.
|
890 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
891 | |
else
|
892 | |
ac_dir_suffix= ac_top_builddir=
|
893 | |
fi
|
|
1422 |
case "$ac_dir" in
|
|
1423 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1424 |
*)
|
|
1425 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1426 |
# A ".." for each directory in $ac_dir_suffix.
|
|
1427 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1428 |
case $ac_top_builddir_sub in
|
|
1429 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1430 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1431 |
esac ;;
|
|
1432 |
esac
|
|
1433 |
ac_abs_top_builddir=$ac_pwd
|
|
1434 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
1435 |
# for backward compatibility:
|
|
1436 |
ac_top_builddir=$ac_top_build_prefix
|
894 | 1437 |
|
895 | 1438 |
case $srcdir in
|
896 | |
.) # No --srcdir option. We are building in place.
|
|
1439 |
.) # We are building in place.
|
897 | 1440 |
ac_srcdir=.
|
898 | |
if test -z "$ac_top_builddir"; then
|
899 | |
ac_top_srcdir=.
|
|
1441 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
1442 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
1443 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
1444 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
1445 |
ac_top_srcdir=$srcdir
|
|
1446 |
ac_abs_top_srcdir=$srcdir ;;
|
|
1447 |
*) # Relative name.
|
|
1448 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
1449 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
1450 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
1451 |
esac
|
|
1452 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1453 |
|
|
1454 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
|
1455 |
# Check for guested configure.
|
|
1456 |
if test -f "$ac_srcdir/configure.gnu"; then
|
|
1457 |
echo &&
|
|
1458 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1459 |
elif test -f "$ac_srcdir/configure"; then
|
|
1460 |
echo &&
|
|
1461 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
900 | 1462 |
else
|
901 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
902 | |
fi ;;
|
903 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
904 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
905 | |
ac_top_srcdir=$srcdir ;;
|
906 | |
*) # Relative path.
|
907 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
908 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
909 | |
esac
|
910 | |
|
911 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
912 | |
# the directories may not exist.
|
913 | |
case `pwd` in
|
914 | |
.) ac_abs_builddir="$ac_dir";;
|
915 | |
*)
|
916 | |
case "$ac_dir" in
|
917 | |
.) ac_abs_builddir=`pwd`;;
|
918 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
919 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
920 | |
esac;;
|
921 | |
esac
|
922 | |
case $ac_abs_builddir in
|
923 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
924 | |
*)
|
925 | |
case ${ac_top_builddir}. in
|
926 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
927 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
928 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
929 | |
esac;;
|
930 | |
esac
|
931 | |
case $ac_abs_builddir in
|
932 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
933 | |
*)
|
934 | |
case $ac_srcdir in
|
935 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
936 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
937 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
938 | |
esac;;
|
939 | |
esac
|
940 | |
case $ac_abs_builddir in
|
941 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
942 | |
*)
|
943 | |
case $ac_top_srcdir in
|
944 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
945 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
946 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
947 | |
esac;;
|
948 | |
esac
|
949 | |
|
950 | |
cd $ac_dir
|
951 | |
# Check for guested configure; otherwise get Cygnus style configure.
|
952 | |
if test -f $ac_srcdir/configure.gnu; then
|
953 | |
echo
|
954 | |
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
955 | |
elif test -f $ac_srcdir/configure; then
|
956 | |
echo
|
957 | |
$SHELL $ac_srcdir/configure --help=recursive
|
958 | |
elif test -f $ac_srcdir/configure.ac ||
|
959 | |
test -f $ac_srcdir/configure.in; then
|
960 | |
echo
|
961 | |
$ac_configure --help
|
962 | |
else
|
963 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
964 | |
fi
|
965 | |
cd $ac_popdir
|
|
1463 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1464 |
fi || ac_status=$?
|
|
1465 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
966 | 1466 |
done
|
967 | 1467 |
fi
|
968 | 1468 |
|
969 | |
test -n "$ac_init_help" && exit 0
|
|
1469 |
test -n "$ac_init_help" && exit $ac_status
|
970 | 1470 |
if $ac_init_version; then
|
971 | 1471 |
cat <<\_ACEOF
|
972 | |
h5utils configure 1.10
|
973 | |
generated by GNU Autoconf 2.59
|
974 | |
|
975 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
1472 |
h5utils configure 1.12
|
|
1473 |
generated by GNU Autoconf 2.63
|
|
1474 |
|
|
1475 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1476 |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
976 | 1477 |
This configure script is free software; the Free Software Foundation
|
977 | 1478 |
gives unlimited permission to copy, distribute and modify it.
|
978 | 1479 |
_ACEOF
|
979 | |
exit 0
|
980 | |
fi
|
981 | |
exec 5>config.log
|
982 | |
cat >&5 <<_ACEOF
|
|
1480 |
exit
|
|
1481 |
fi
|
|
1482 |
cat >config.log <<_ACEOF
|
983 | 1483 |
This file contains any messages produced by compilers while
|
984 | 1484 |
running configure, to aid debugging if configure makes a mistake.
|
985 | 1485 |
|
986 | |
It was created by h5utils $as_me 1.10, which was
|
987 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
1486 |
It was created by h5utils $as_me 1.12, which was
|
|
1487 |
generated by GNU Autoconf 2.63. Invocation command line was
|
988 | 1488 |
|
989 | 1489 |
$ $0 $@
|
990 | 1490 |
|
991 | 1491 |
_ACEOF
|
|
1492 |
exec 5>>config.log
|
992 | 1493 |
{
|
993 | 1494 |
cat <<_ASUNAME
|
994 | 1495 |
## --------- ##
|
|
1007 | 1508 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
1008 | 1509 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
1009 | 1510 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
1010 | |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
1511 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
1011 | 1512 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1012 | 1513 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
1013 | 1514 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1019 | 1520 |
do
|
1020 | 1521 |
IFS=$as_save_IFS
|
1021 | 1522 |
test -z "$as_dir" && as_dir=.
|
1022 | |
echo "PATH: $as_dir"
|
|
1523 |
$as_echo "PATH: $as_dir"
|
1023 | 1524 |
done
|
|
1525 |
IFS=$as_save_IFS
|
1024 | 1526 |
|
1025 | 1527 |
} >&5
|
1026 | 1528 |
|
|
1042 | 1544 |
ac_configure_args=
|
1043 | 1545 |
ac_configure_args0=
|
1044 | 1546 |
ac_configure_args1=
|
1045 | |
ac_sep=
|
1046 | 1547 |
ac_must_keep_next=false
|
1047 | 1548 |
for ac_pass in 1 2
|
1048 | 1549 |
do
|
|
1053 | 1554 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1054 | 1555 |
| -silent | --silent | --silen | --sile | --sil)
|
1055 | 1556 |
continue ;;
|
1056 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1057 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1557 |
*\'*)
|
|
1558 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1058 | 1559 |
esac
|
1059 | 1560 |
case $ac_pass in
|
1060 | 1561 |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1075 | 1576 |
-* ) ac_must_keep_next=true ;;
|
1076 | 1577 |
esac
|
1077 | 1578 |
fi
|
1078 | |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1079 | |
# Get rid of the leading space.
|
1080 | |
ac_sep=" "
|
|
1579 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
1081 | 1580 |
;;
|
1082 | 1581 |
esac
|
1083 | 1582 |
done
|
|
1088 | 1587 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1089 | 1588 |
# config.log. We remove comments because anyway the quotes in there
|
1090 | 1589 |
# would cause problems or look ugly.
|
1091 | |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1092 | |
# such as our DU 5.0 friend, will then `close' the trap.
|
|
1590 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1591 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1093 | 1592 |
trap 'exit_status=$?
|
1094 | 1593 |
# Save into config.log some information that might help in debugging.
|
1095 | 1594 |
{
|
|
1102 | 1601 |
_ASBOX
|
1103 | 1602 |
echo
|
1104 | 1603 |
# The following way of writing the cache mishandles newlines in values,
|
1105 | |
{
|
|
1604 |
(
|
|
1605 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|
1606 |
eval ac_val=\$$ac_var
|
|
1607 |
case $ac_val in #(
|
|
1608 |
*${as_nl}*)
|
|
1609 |
case $ac_var in #(
|
|
1610 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1611 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
1612 |
esac
|
|
1613 |
case $ac_var in #(
|
|
1614 |
_ | IFS | as_nl) ;; #(
|
|
1615 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
1616 |
*) $as_unset $ac_var ;;
|
|
1617 |
esac ;;
|
|
1618 |
esac
|
|
1619 |
done
|
1106 | 1620 |
(set) 2>&1 |
|
1107 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1108 | |
*ac_space=\ *)
|
|
1621 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
1622 |
*${as_nl}ac_space=\ *)
|
1109 | 1623 |
sed -n \
|
1110 | |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1111 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
1624 |
"s/'\''/'\''\\\\'\'''\''/g;
|
|
1625 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|
1626 |
;; #(
|
|
1627 |
*)
|
|
1628 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1112 | 1629 |
;;
|
1113 | |
*)
|
1114 | |
sed -n \
|
1115 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1116 | |
;;
|
1117 | |
esac;
|
1118 | |
}
|
|
1630 |
esac |
|
|
1631 |
sort
|
|
1632 |
)
|
1119 | 1633 |
echo
|
1120 | 1634 |
|
1121 | 1635 |
cat <<\_ASBOX
|
|
1126 | 1640 |
echo
|
1127 | 1641 |
for ac_var in $ac_subst_vars
|
1128 | 1642 |
do
|
1129 | |
eval ac_val=$`echo $ac_var`
|
1130 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1643 |
eval ac_val=\$$ac_var
|
|
1644 |
case $ac_val in
|
|
1645 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1646 |
esac
|
|
1647 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1131 | 1648 |
done | sort
|
1132 | 1649 |
echo
|
1133 | 1650 |
|
1134 | 1651 |
if test -n "$ac_subst_files"; then
|
1135 | 1652 |
cat <<\_ASBOX
|
1136 | |
## ------------- ##
|
1137 | |
## Output files. ##
|
1138 | |
## ------------- ##
|
|
1653 |
## ------------------- ##
|
|
1654 |
## File substitutions. ##
|
|
1655 |
## ------------------- ##
|
1139 | 1656 |
_ASBOX
|
1140 | 1657 |
echo
|
1141 | 1658 |
for ac_var in $ac_subst_files
|
1142 | 1659 |
do
|
1143 | |
eval ac_val=$`echo $ac_var`
|
1144 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1660 |
eval ac_val=\$$ac_var
|
|
1661 |
case $ac_val in
|
|
1662 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1663 |
esac
|
|
1664 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1145 | 1665 |
done | sort
|
1146 | 1666 |
echo
|
1147 | 1667 |
fi
|
|
1153 | 1673 |
## ----------- ##
|
1154 | 1674 |
_ASBOX
|
1155 | 1675 |
echo
|
1156 | |
sed "/^$/d" confdefs.h | sort
|
|
1676 |
cat confdefs.h
|
1157 | 1677 |
echo
|
1158 | 1678 |
fi
|
1159 | 1679 |
test "$ac_signal" != 0 &&
|
1160 | |
echo "$as_me: caught signal $ac_signal"
|
1161 | |
echo "$as_me: exit $exit_status"
|
|
1680 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
1681 |
$as_echo "$as_me: exit $exit_status"
|
1162 | 1682 |
} >&5
|
1163 | |
rm -f core *.core &&
|
1164 | |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1683 |
rm -f core *.core core.conftest.* &&
|
|
1684 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1165 | 1685 |
exit $exit_status
|
1166 | |
' 0
|
|
1686 |
' 0
|
1167 | 1687 |
for ac_signal in 1 2 13 15; do
|
1168 | 1688 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1169 | 1689 |
done
|
1170 | 1690 |
ac_signal=0
|
1171 | 1691 |
|
1172 | 1692 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1173 | |
rm -rf conftest* confdefs.h
|
1174 | |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1175 | |
echo >confdefs.h
|
|
1693 |
rm -f -r conftest* confdefs.h
|
1176 | 1694 |
|
1177 | 1695 |
# Predefined preprocessor variables.
|
1178 | 1696 |
|
|
1202 | 1720 |
|
1203 | 1721 |
|
1204 | 1722 |
# Let the site file select an alternate cache file if it wants to.
|
1205 | |
# Prefer explicitly selected file to automatically selected ones.
|
1206 | |
if test -z "$CONFIG_SITE"; then
|
1207 | |
if test "x$prefix" != xNONE; then
|
1208 | |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1209 | |
else
|
1210 | |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1211 | |
fi
|
1212 | |
fi
|
1213 | |
for ac_site_file in $CONFIG_SITE; do
|
|
1723 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
1724 |
ac_site_file1=NONE
|
|
1725 |
ac_site_file2=NONE
|
|
1726 |
if test -n "$CONFIG_SITE"; then
|
|
1727 |
ac_site_file1=$CONFIG_SITE
|
|
1728 |
elif test "x$prefix" != xNONE; then
|
|
1729 |
ac_site_file1=$prefix/share/config.site
|
|
1730 |
ac_site_file2=$prefix/etc/config.site
|
|
1731 |
else
|
|
1732 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
1733 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
1734 |
fi
|
|
1735 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
1736 |
do
|
|
1737 |
test "x$ac_site_file" = xNONE && continue
|
1214 | 1738 |
if test -r "$ac_site_file"; then
|
1215 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1216 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1739 |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
1740 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1217 | 1741 |
sed 's/^/| /' "$ac_site_file" >&5
|
1218 | 1742 |
. "$ac_site_file"
|
1219 | 1743 |
fi
|
|
1223 | 1747 |
# Some versions of bash will fail to source /dev/null (special
|
1224 | 1748 |
# files actually), so we avoid doing that.
|
1225 | 1749 |
if test -f "$cache_file"; then
|
1226 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1227 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
1750 |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
1751 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1228 | 1752 |
case $cache_file in
|
1229 | |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1230 | |
*) . ./$cache_file;;
|
|
1753 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1754 |
*) . "./$cache_file";;
|
1231 | 1755 |
esac
|
1232 | 1756 |
fi
|
1233 | 1757 |
else
|
1234 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1235 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
1758 |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
1759 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1236 | 1760 |
>$cache_file
|
1237 | 1761 |
fi
|
1238 | 1762 |
|
1239 | 1763 |
# Check that the precious variables saved in the cache have kept the same
|
1240 | 1764 |
# value.
|
1241 | 1765 |
ac_cache_corrupted=false
|
1242 | |
for ac_var in `(set) 2>&1 |
|
1243 | |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
1766 |
for ac_var in $ac_precious_vars; do
|
1244 | 1767 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1245 | 1768 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1246 | |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1247 | |
eval ac_new_val="\$ac_env_${ac_var}_value"
|
|
1769 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|
1770 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1248 | 1771 |
case $ac_old_set,$ac_new_set in
|
1249 | 1772 |
set,)
|
1250 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1251 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
1773 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1774 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1252 | 1775 |
ac_cache_corrupted=: ;;
|
1253 | 1776 |
,set)
|
1254 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1255 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
1777 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
1778 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1256 | 1779 |
ac_cache_corrupted=: ;;
|
1257 | 1780 |
,);;
|
1258 | 1781 |
*)
|
1259 | 1782 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1260 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1261 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1262 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1263 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1264 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1265 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1266 | |
ac_cache_corrupted=:
|
|
1783 |
# differences in whitespace do not lead to failure.
|
|
1784 |
ac_old_val_w=`echo x $ac_old_val`
|
|
1785 |
ac_new_val_w=`echo x $ac_new_val`
|
|
1786 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
1787 |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1788 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
1789 |
ac_cache_corrupted=:
|
|
1790 |
else
|
|
1791 |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
1792 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
1793 |
eval $ac_var=\$ac_old_val
|
|
1794 |
fi
|
|
1795 |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
1796 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
1797 |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
1798 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1267 | 1799 |
fi;;
|
1268 | 1800 |
esac
|
1269 | 1801 |
# Pass precious variables to config.status.
|
1270 | 1802 |
if test "$ac_new_set" = set; then
|
1271 | 1803 |
case $ac_new_val in
|
1272 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1273 | |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1804 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1274 | 1805 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1275 | 1806 |
esac
|
1276 | 1807 |
case " $ac_configure_args " in
|
|
1280 | 1811 |
fi
|
1281 | 1812 |
done
|
1282 | 1813 |
if $ac_cache_corrupted; then
|
1283 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1284 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1285 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1286 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
|
1814 |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
1815 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
1816 |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
1817 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
1818 |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
|
1819 |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1287 | 1820 |
{ (exit 1); exit 1; }; }
|
1288 | 1821 |
fi
|
|
1822 |
|
|
1823 |
|
|
1824 |
|
|
1825 |
|
|
1826 |
|
|
1827 |
|
|
1828 |
|
|
1829 |
|
|
1830 |
|
|
1831 |
|
|
1832 |
|
|
1833 |
|
|
1834 |
|
|
1835 |
|
|
1836 |
|
|
1837 |
|
|
1838 |
|
|
1839 |
|
|
1840 |
|
|
1841 |
|
|
1842 |
|
|
1843 |
|
|
1844 |
|
|
1845 |
|
1289 | 1846 |
|
1290 | 1847 |
ac_ext=c
|
1291 | 1848 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1294 | 1851 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1295 | 1852 |
|
1296 | 1853 |
|
1297 | |
|
1298 | |
|
1299 | |
|
1300 | |
|
1301 | |
|
1302 | |
|
1303 | |
|
1304 | |
|
1305 | |
|
1306 | |
|
1307 | |
|
1308 | |
|
1309 | |
|
1310 | |
|
1311 | |
|
1312 | |
|
1313 | |
|
1314 | |
|
1315 | |
|
1316 | |
|
1317 | |
|
1318 | |
|
1319 | |
|
1320 | |
|
1321 | |
|
1322 | |
am__api_version="1.9"
|
|
1854 |
am__api_version='1.11'
|
|
1855 |
|
1323 | 1856 |
ac_aux_dir=
|
1324 | |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1325 | |
if test -f $ac_dir/install-sh; then
|
|
1857 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1858 |
if test -f "$ac_dir/install-sh"; then
|
1326 | 1859 |
ac_aux_dir=$ac_dir
|
1327 | 1860 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1328 | 1861 |
break
|
1329 | |
elif test -f $ac_dir/install.sh; then
|
|
1862 |
elif test -f "$ac_dir/install.sh"; then
|
1330 | 1863 |
ac_aux_dir=$ac_dir
|
1331 | 1864 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1332 | 1865 |
break
|
1333 | |
elif test -f $ac_dir/shtool; then
|
|
1866 |
elif test -f "$ac_dir/shtool"; then
|
1334 | 1867 |
ac_aux_dir=$ac_dir
|
1335 | 1868 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1336 | 1869 |
break
|
1337 | 1870 |
fi
|
1338 | 1871 |
done
|
1339 | 1872 |
if test -z "$ac_aux_dir"; then
|
1340 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1341 | |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
|
1873 |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
|
1874 |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1342 | 1875 |
{ (exit 1); exit 1; }; }
|
1343 | 1876 |
fi
|
1344 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1345 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1346 | |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
1877 |
|
|
1878 |
# These three variables are undocumented and unsupported,
|
|
1879 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
1880 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
1881 |
# whose full name contains unusual characters.
|
|
1882 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
1883 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
1884 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1885 |
|
1347 | 1886 |
|
1348 | 1887 |
# Find a good install program. We prefer a C program (faster),
|
1349 | 1888 |
# so one script is as good as another. But avoid the broken or
|
|
1358 | 1897 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1359 | 1898 |
# OS/2's system install, which has a completely different semantic
|
1360 | 1899 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1361 | |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1362 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
1900 |
# Reject install programs that cannot install multiple files.
|
|
1901 |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
1902 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1363 | 1903 |
if test -z "$INSTALL"; then
|
1364 | 1904 |
if test "${ac_cv_path_install+set}" = set; then
|
1365 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1905 |
$as_echo_n "(cached) " >&6
|
1366 | 1906 |
else
|
1367 | 1907 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1368 | 1908 |
for as_dir in $PATH
|
|
1381 | 1921 |
# by default.
|
1382 | 1922 |
for ac_prog in ginstall scoinst install; do
|
1383 | 1923 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1384 | |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
1924 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
1385 | 1925 |
if test $ac_prog = install &&
|
1386 | 1926 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1387 | 1927 |
# AIX install. It has an incompatible calling convention.
|
|
1391 | 1931 |
# program-specific install script used by HP pwplus--don't use.
|
1392 | 1932 |
:
|
1393 | 1933 |
else
|
1394 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1395 | |
break 3
|
|
1934 |
rm -rf conftest.one conftest.two conftest.dir
|
|
1935 |
echo one > conftest.one
|
|
1936 |
echo two > conftest.two
|
|
1937 |
mkdir conftest.dir
|
|
1938 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
1939 |
test -s conftest.one && test -s conftest.two &&
|
|
1940 |
test -s conftest.dir/conftest.one &&
|
|
1941 |
test -s conftest.dir/conftest.two
|
|
1942 |
then
|
|
1943 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
1944 |
break 3
|
|
1945 |
fi
|
1396 | 1946 |
fi
|
1397 | 1947 |
fi
|
1398 | 1948 |
done
|
1399 | 1949 |
done
|
1400 | 1950 |
;;
|
1401 | 1951 |
esac
|
|
1952 |
|
1402 | 1953 |
done
|
1403 | |
|
|
1954 |
IFS=$as_save_IFS
|
|
1955 |
|
|
1956 |
rm -rf conftest.one conftest.two conftest.dir
|
1404 | 1957 |
|
1405 | 1958 |
fi
|
1406 | 1959 |
if test "${ac_cv_path_install+set}" = set; then
|
1407 | 1960 |
INSTALL=$ac_cv_path_install
|
1408 | 1961 |
else
|
1409 | |
# As a last resort, use the slow shell script. We don't cache a
|
1410 | |
# path for INSTALL within a source directory, because that will
|
|
1962 |
# As a last resort, use the slow shell script. Don't cache a
|
|
1963 |
# value for INSTALL within a source directory, because that will
|
1411 | 1964 |
# break other packages using the cache if that directory is
|
1412 | |
# removed, or if the path is relative.
|
|
1965 |
# removed, or if the value is a relative name.
|
1413 | 1966 |
INSTALL=$ac_install_sh
|
1414 | 1967 |
fi
|
1415 | 1968 |
fi
|
1416 | |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1417 | |
echo "${ECHO_T}$INSTALL" >&6
|
|
1969 |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
1970 |
$as_echo "$INSTALL" >&6; }
|
1418 | 1971 |
|
1419 | 1972 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1420 | 1973 |
# It thinks the first close brace ends the variable substitution.
|
|
1424 | 1977 |
|
1425 | 1978 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1426 | 1979 |
|
1427 | |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
1428 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
|
1980 |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
1981 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1429 | 1982 |
# Just in case
|
1430 | 1983 |
sleep 1
|
1431 | 1984 |
echo timestamp > conftest.file
|
|
1985 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
1986 |
# name. Accept space and tab only in the latter.
|
|
1987 |
am_lf='
|
|
1988 |
'
|
|
1989 |
case `pwd` in
|
|
1990 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
1991 |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
|
1992 |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
|
1993 |
{ (exit 1); exit 1; }; };;
|
|
1994 |
esac
|
|
1995 |
case $srcdir in
|
|
1996 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
1997 |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
|
1998 |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
|
1999 |
{ (exit 1); exit 1; }; };;
|
|
2000 |
esac
|
|
2001 |
|
1432 | 2002 |
# Do `set' in a subshell so we don't clobber the current shell's
|
1433 | 2003 |
# arguments. Must try -L first in case configure is actually a
|
1434 | 2004 |
# symlink; some systems play weird games with the mod time of symlinks
|
1435 | 2005 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
1436 | 2006 |
# directory).
|
1437 | 2007 |
if (
|
1438 | |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
2008 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
1439 | 2009 |
if test "$*" = "X"; then
|
1440 | 2010 |
# -L didn't work.
|
1441 | |
set X `ls -t $srcdir/configure conftest.file`
|
|
2011 |
set X `ls -t "$srcdir/configure" conftest.file`
|
1442 | 2012 |
fi
|
1443 | 2013 |
rm -f conftest.file
|
1444 | 2014 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
1448 | 2018 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1449 | 2019 |
# broken ls alias from the environment. This has actually
|
1450 | 2020 |
# happened. Such a system could not be considered "sane".
|
1451 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
|
2021 |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1452 | 2022 |
alias in your environment" >&5
|
1453 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
|
2023 |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1454 | 2024 |
alias in your environment" >&2;}
|
1455 | 2025 |
{ (exit 1); exit 1; }; }
|
1456 | 2026 |
fi
|
|
1461 | 2031 |
# Ok.
|
1462 | 2032 |
:
|
1463 | 2033 |
else
|
1464 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
|
2034 |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1465 | 2035 |
Check your system clock" >&5
|
1466 | |
echo "$as_me: error: newly created file is older than distributed files!
|
|
2036 |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
1467 | 2037 |
Check your system clock" >&2;}
|
1468 | 2038 |
{ (exit 1); exit 1; }; }
|
1469 | 2039 |
fi
|
1470 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1471 | |
echo "${ECHO_T}yes" >&6
|
|
2040 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2041 |
$as_echo "yes" >&6; }
|
1472 | 2042 |
test "$program_prefix" != NONE &&
|
1473 | |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
|
2043 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
1474 | 2044 |
# Use a double $ so make ignores it.
|
1475 | 2045 |
test "$program_suffix" != NONE &&
|
1476 | |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1477 | |
# Double any \ or $. echo might interpret backslashes.
|
|
2046 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
|
2047 |
# Double any \ or $.
|
1478 | 2048 |
# By default was `s,x,x', remove it if useless.
|
1479 | |
cat <<\_ACEOF >conftest.sed
|
1480 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
1481 | |
_ACEOF
|
1482 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1483 | |
rm conftest.sed
|
|
2049 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
2050 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
1484 | 2051 |
|
1485 | 2052 |
# expand $ac_aux_dir to an absolute path
|
1486 | 2053 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1487 | 2054 |
|
1488 | |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
2055 |
if test x"${MISSING+set}" != xset; then
|
|
2056 |
case $am_aux_dir in
|
|
2057 |
*\ * | *\ *)
|
|
2058 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
2059 |
*)
|
|
2060 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
2061 |
esac
|
|
2062 |
fi
|
1489 | 2063 |
# Use eval to expand $SHELL
|
1490 | 2064 |
if eval "$MISSING --run true"; then
|
1491 | 2065 |
am_missing_run="$MISSING --run "
|
1492 | 2066 |
else
|
1493 | 2067 |
am_missing_run=
|
1494 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
1495 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1496 | |
fi
|
1497 | |
|
1498 | |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
1499 | |
# We used to keeping the `.' as first argument, in order to
|
1500 | |
# allow $(mkdir_p) to be used without argument. As in
|
1501 | |
# $(mkdir_p) $(somedir)
|
1502 | |
# where $(somedir) is conditionally defined. However this is wrong
|
1503 | |
# for two reasons:
|
1504 | |
# 1. if the package is installed by a user who cannot write `.'
|
1505 | |
# make install will fail,
|
1506 | |
# 2. the above comment should most certainly read
|
1507 | |
# $(mkdir_p) $(DESTDIR)$(somedir)
|
1508 | |
# so it does not work when $(somedir) is undefined and
|
1509 | |
# $(DESTDIR) is not.
|
1510 | |
# To support the latter case, we have to write
|
1511 | |
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
1512 | |
# so the `.' trick is pointless.
|
1513 | |
mkdir_p='mkdir -p --'
|
1514 | |
else
|
1515 | |
# On NextStep and OpenStep, the `mkdir' command does not
|
1516 | |
# recognize any option. It will interpret all options as
|
1517 | |
# directories to create, and then abort because `.' already
|
1518 | |
# exists.
|
1519 | |
for d in ./-p ./--version;
|
1520 | |
do
|
1521 | |
test -d $d && rmdir $d
|
1522 | |
done
|
1523 | |
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
1524 | |
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
1525 | |
mkdir_p='$(mkinstalldirs)'
|
1526 | |
else
|
1527 | |
mkdir_p='$(install_sh) -d'
|
1528 | |
fi
|
1529 | |
fi
|
1530 | |
|
1531 | |
for ac_prog in gawk mawk nawk awk
|
1532 | |
do
|
1533 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1534 | |
set dummy $ac_prog; ac_word=$2
|
1535 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1536 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1537 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
1538 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1539 | |
else
|
1540 | |
if test -n "$AWK"; then
|
1541 | |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
1542 | |
else
|
1543 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1544 | |
for as_dir in $PATH
|
1545 | |
do
|
1546 | |
IFS=$as_save_IFS
|
1547 | |
test -z "$as_dir" && as_dir=.
|
1548 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1549 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1550 | |
ac_cv_prog_AWK="$ac_prog"
|
1551 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1552 | |
break 2
|
1553 | |
fi
|
1554 | |
done
|
1555 | |
done
|
1556 | |
|
1557 | |
fi
|
1558 | |
fi
|
1559 | |
AWK=$ac_cv_prog_AWK
|
1560 | |
if test -n "$AWK"; then
|
1561 | |
echo "$as_me:$LINENO: result: $AWK" >&5
|
1562 | |
echo "${ECHO_T}$AWK" >&6
|
1563 | |
else
|
1564 | |
echo "$as_me:$LINENO: result: no" >&5
|
1565 | |
echo "${ECHO_T}no" >&6
|
1566 | |
fi
|
1567 | |
|
1568 | |
test -n "$AWK" && break
|
1569 | |
done
|
1570 | |
|
1571 | |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
1572 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
1573 | |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
1574 | |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1575 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1576 | |
else
|
1577 | |
cat >conftest.make <<\_ACEOF
|
1578 | |
all:
|
1579 | |
@echo 'ac_maketemp="$(MAKE)"'
|
1580 | |
_ACEOF
|
1581 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1582 | |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1583 | |
if test -n "$ac_maketemp"; then
|
1584 | |
eval ac_cv_prog_make_${ac_make}_set=yes
|
1585 | |
else
|
1586 | |
eval ac_cv_prog_make_${ac_make}_set=no
|
1587 | |
fi
|
1588 | |
rm -f conftest.make
|
1589 | |
fi
|
1590 | |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1591 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1592 | |
echo "${ECHO_T}yes" >&6
|
1593 | |
SET_MAKE=
|
1594 | |
else
|
1595 | |
echo "$as_me:$LINENO: result: no" >&5
|
1596 | |
echo "${ECHO_T}no" >&6
|
1597 | |
SET_MAKE="MAKE=${MAKE-make}"
|
1598 | |
fi
|
1599 | |
|
1600 | |
rm -rf .tst 2>/dev/null
|
1601 | |
mkdir .tst 2>/dev/null
|
1602 | |
if test -d .tst; then
|
1603 | |
am__leading_dot=.
|
1604 | |
else
|
1605 | |
am__leading_dot=_
|
1606 | |
fi
|
1607 | |
rmdir .tst 2>/dev/null
|
1608 | |
|
1609 | |
# test to see if srcdir already configured
|
1610 | |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
1611 | |
test -f $srcdir/config.status; then
|
1612 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
1613 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1614 | |
{ (exit 1); exit 1; }; }
|
1615 | |
fi
|
1616 | |
|
1617 | |
# test whether we have cygpath
|
1618 | |
if test -z "$CYGPATH_W"; then
|
1619 | |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
1620 | |
CYGPATH_W='cygpath -w'
|
1621 | |
else
|
1622 | |
CYGPATH_W=echo
|
1623 | |
fi
|
1624 | |
fi
|
1625 | |
|
1626 | |
|
1627 | |
# Define the identity of the package.
|
1628 | |
PACKAGE='h5utils'
|
1629 | |
VERSION='1.10'
|
1630 | |
|
1631 | |
|
1632 | |
cat >>confdefs.h <<_ACEOF
|
1633 | |
#define PACKAGE "$PACKAGE"
|
1634 | |
_ACEOF
|
1635 | |
|
1636 | |
|
1637 | |
cat >>confdefs.h <<_ACEOF
|
1638 | |
#define VERSION "$VERSION"
|
1639 | |
_ACEOF
|
1640 | |
|
1641 | |
# Some tools Automake needs.
|
1642 | |
|
1643 | |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
1644 | |
|
1645 | |
|
1646 | |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
1647 | |
|
1648 | |
|
1649 | |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
1650 | |
|
1651 | |
|
1652 | |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
1653 | |
|
1654 | |
|
1655 | |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1656 | |
|
1657 | |
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
2068 |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2069 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
2070 |
fi
|
|
2071 |
|
|
2072 |
if test x"${install_sh}" != xset; then
|
|
2073 |
case $am_aux_dir in
|
|
2074 |
*\ * | *\ *)
|
|
2075 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
2076 |
*)
|
|
2077 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
2078 |
esac
|
|
2079 |
fi
|
1658 | 2080 |
|
1659 | 2081 |
# Installed binaries are usually stripped using `strip' when the user
|
1660 | 2082 |
# run `make install-strip'. However `strip' might not be the right
|
|
1664 | 2086 |
if test -n "$ac_tool_prefix"; then
|
1665 | 2087 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
1666 | 2088 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
1667 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1668 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2089 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2090 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1669 | 2091 |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
1670 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2092 |
$as_echo_n "(cached) " >&6
|
1671 | 2093 |
else
|
1672 | 2094 |
if test -n "$STRIP"; then
|
1673 | 2095 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
1678 | 2100 |
IFS=$as_save_IFS
|
1679 | 2101 |
test -z "$as_dir" && as_dir=.
|
1680 | 2102 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1681 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2103 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1682 | 2104 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
1683 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2105 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1684 | 2106 |
break 2
|
1685 | 2107 |
fi
|
1686 | 2108 |
done
|
1687 | 2109 |
done
|
|
2110 |
IFS=$as_save_IFS
|
1688 | 2111 |
|
1689 | 2112 |
fi
|
1690 | 2113 |
fi
|
1691 | 2114 |
STRIP=$ac_cv_prog_STRIP
|
1692 | 2115 |
if test -n "$STRIP"; then
|
1693 | |
echo "$as_me:$LINENO: result: $STRIP" >&5
|
1694 | |
echo "${ECHO_T}$STRIP" >&6
|
1695 | |
else
|
1696 | |
echo "$as_me:$LINENO: result: no" >&5
|
1697 | |
echo "${ECHO_T}no" >&6
|
1698 | |
fi
|
|
2116 |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2117 |
$as_echo "$STRIP" >&6; }
|
|
2118 |
else
|
|
2119 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2120 |
$as_echo "no" >&6; }
|
|
2121 |
fi
|
|
2122 |
|
1699 | 2123 |
|
1700 | 2124 |
fi
|
1701 | 2125 |
if test -z "$ac_cv_prog_STRIP"; then
|
1702 | 2126 |
ac_ct_STRIP=$STRIP
|
1703 | 2127 |
# Extract the first word of "strip", so it can be a program name with args.
|
1704 | 2128 |
set dummy strip; ac_word=$2
|
1705 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1706 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2129 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2130 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1707 | 2131 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
1708 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2132 |
$as_echo_n "(cached) " >&6
|
1709 | 2133 |
else
|
1710 | 2134 |
if test -n "$ac_ct_STRIP"; then
|
1711 | 2135 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
1716 | 2140 |
IFS=$as_save_IFS
|
1717 | 2141 |
test -z "$as_dir" && as_dir=.
|
1718 | 2142 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1719 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2143 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1720 | 2144 |
ac_cv_prog_ac_ct_STRIP="strip"
|
1721 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2145 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1722 | 2146 |
break 2
|
1723 | 2147 |
fi
|
1724 | 2148 |
done
|
1725 | 2149 |
done
|
1726 | |
|
1727 | |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
|
2150 |
IFS=$as_save_IFS
|
|
2151 |
|
1728 | 2152 |
fi
|
1729 | 2153 |
fi
|
1730 | 2154 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
1731 | 2155 |
if test -n "$ac_ct_STRIP"; then
|
1732 | |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
1733 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
1734 | |
else
|
1735 | |
echo "$as_me:$LINENO: result: no" >&5
|
1736 | |
echo "${ECHO_T}no" >&6
|
1737 | |
fi
|
1738 | |
|
1739 | |
STRIP=$ac_ct_STRIP
|
|
2156 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2157 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
2158 |
else
|
|
2159 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2160 |
$as_echo "no" >&6; }
|
|
2161 |
fi
|
|
2162 |
|
|
2163 |
if test "x$ac_ct_STRIP" = x; then
|
|
2164 |
STRIP=":"
|
|
2165 |
else
|
|
2166 |
case $cross_compiling:$ac_tool_warned in
|
|
2167 |
yes:)
|
|
2168 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2169 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2170 |
ac_tool_warned=yes ;;
|
|
2171 |
esac
|
|
2172 |
STRIP=$ac_ct_STRIP
|
|
2173 |
fi
|
1740 | 2174 |
else
|
1741 | 2175 |
STRIP="$ac_cv_prog_STRIP"
|
1742 | 2176 |
fi
|
1743 | 2177 |
|
1744 | 2178 |
fi
|
1745 | |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
2179 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2180 |
|
|
2181 |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2182 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
2183 |
if test -z "$MKDIR_P"; then
|
|
2184 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2185 |
$as_echo_n "(cached) " >&6
|
|
2186 |
else
|
|
2187 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2188 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
2189 |
do
|
|
2190 |
IFS=$as_save_IFS
|
|
2191 |
test -z "$as_dir" && as_dir=.
|
|
2192 |
for ac_prog in mkdir gmkdir; do
|
|
2193 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2194 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
2195 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2196 |
'mkdir (GNU coreutils) '* | \
|
|
2197 |
'mkdir (coreutils) '* | \
|
|
2198 |
'mkdir (fileutils) '4.1*)
|
|
2199 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
2200 |
break 3;;
|
|
2201 |
esac
|
|
2202 |
done
|
|
2203 |
done
|
|
2204 |
done
|
|
2205 |
IFS=$as_save_IFS
|
|
2206 |
|
|
2207 |
fi
|
|
2208 |
|
|
2209 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2210 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
2211 |
else
|
|
2212 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2213 |
# value for MKDIR_P within a source directory, because that will
|
|
2214 |
# break other packages using the cache if that directory is
|
|
2215 |
# removed, or if the value is a relative name.
|
|
2216 |
test -d ./--version && rmdir ./--version
|
|
2217 |
MKDIR_P="$ac_install_sh -d"
|
|
2218 |
fi
|
|
2219 |
fi
|
|
2220 |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2221 |
$as_echo "$MKDIR_P" >&6; }
|
|
2222 |
|
|
2223 |
mkdir_p="$MKDIR_P"
|
|
2224 |
case $mkdir_p in
|
|
2225 |
[\\/$]* | ?:[\\/]*) ;;
|
|
2226 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
2227 |
esac
|
|
2228 |
|
|
2229 |
for ac_prog in gawk mawk nawk awk
|
|
2230 |
do
|
|
2231 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2232 |
set dummy $ac_prog; ac_word=$2
|
|
2233 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2234 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2235 |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2236 |
$as_echo_n "(cached) " >&6
|
|
2237 |
else
|
|
2238 |
if test -n "$AWK"; then
|
|
2239 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2240 |
else
|
|
2241 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2242 |
for as_dir in $PATH
|
|
2243 |
do
|
|
2244 |
IFS=$as_save_IFS
|
|
2245 |
test -z "$as_dir" && as_dir=.
|
|
2246 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2247 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2248 |
ac_cv_prog_AWK="$ac_prog"
|
|
2249 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2250 |
break 2
|
|
2251 |
fi
|
|
2252 |
done
|
|
2253 |
done
|
|
2254 |
IFS=$as_save_IFS
|
|
2255 |
|
|
2256 |
fi
|
|
2257 |
fi
|
|
2258 |
AWK=$ac_cv_prog_AWK
|
|
2259 |
if test -n "$AWK"; then
|
|
2260 |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2261 |
$as_echo "$AWK" >&6; }
|
|
2262 |
else
|
|
2263 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2264 |
$as_echo "no" >&6; }
|
|
2265 |
fi
|
|
2266 |
|
|
2267 |
|
|
2268 |
test -n "$AWK" && break
|
|
2269 |
done
|
|
2270 |
|
|
2271 |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2272 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
2273 |
set x ${MAKE-make}
|
|
2274 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
2275 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2276 |
$as_echo_n "(cached) " >&6
|
|
2277 |
else
|
|
2278 |
cat >conftest.make <<\_ACEOF
|
|
2279 |
SHELL = /bin/sh
|
|
2280 |
all:
|
|
2281 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
2282 |
_ACEOF
|
|
2283 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2284 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
2285 |
*@@@%%%=?*=@@@%%%*)
|
|
2286 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2287 |
*)
|
|
2288 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
2289 |
esac
|
|
2290 |
rm -f conftest.make
|
|
2291 |
fi
|
|
2292 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
2293 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2294 |
$as_echo "yes" >&6; }
|
|
2295 |
SET_MAKE=
|
|
2296 |
else
|
|
2297 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2298 |
$as_echo "no" >&6; }
|
|
2299 |
SET_MAKE="MAKE=${MAKE-make}"
|
|
2300 |
fi
|
|
2301 |
|
|
2302 |
rm -rf .tst 2>/dev/null
|
|
2303 |
mkdir .tst 2>/dev/null
|
|
2304 |
if test -d .tst; then
|
|
2305 |
am__leading_dot=.
|
|
2306 |
else
|
|
2307 |
am__leading_dot=_
|
|
2308 |
fi
|
|
2309 |
rmdir .tst 2>/dev/null
|
|
2310 |
|
|
2311 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
2312 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2313 |
# is not polluted with repeated "-I."
|
|
2314 |
am__isrc=' -I$(srcdir)'
|
|
2315 |
# test to see if srcdir already configured
|
|
2316 |
if test -f $srcdir/config.status; then
|
|
2317 |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
|
2318 |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
|
2319 |
{ (exit 1); exit 1; }; }
|
|
2320 |
fi
|
|
2321 |
fi
|
|
2322 |
|
|
2323 |
# test whether we have cygpath
|
|
2324 |
if test -z "$CYGPATH_W"; then
|
|
2325 |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
2326 |
CYGPATH_W='cygpath -w'
|
|
2327 |
else
|
|
2328 |
CYGPATH_W=echo
|
|
2329 |
fi
|
|
2330 |
fi
|
|
2331 |
|
|
2332 |
|
|
2333 |
# Define the identity of the package.
|
|
2334 |
PACKAGE='h5utils'
|
|
2335 |
VERSION='1.12'
|
|
2336 |
|
|
2337 |
|
|
2338 |
cat >>confdefs.h <<_ACEOF
|
|
2339 |
#define PACKAGE "$PACKAGE"
|
|
2340 |
_ACEOF
|
|
2341 |
|
|
2342 |
|
|
2343 |
cat >>confdefs.h <<_ACEOF
|
|
2344 |
#define VERSION "$VERSION"
|
|
2345 |
_ACEOF
|
|
2346 |
|
|
2347 |
# Some tools Automake needs.
|
|
2348 |
|
|
2349 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
|
2350 |
|
|
2351 |
|
|
2352 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
2353 |
|
|
2354 |
|
|
2355 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
|
2356 |
|
|
2357 |
|
|
2358 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
2359 |
|
|
2360 |
|
|
2361 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1746 | 2362 |
|
1747 | 2363 |
# We need awk for the "check" target. The system "awk" is bad on
|
1748 | 2364 |
# some platforms.
|
|
1757 | 2373 |
|
1758 | 2374 |
|
1759 | 2375 |
|
1760 | |
ac_config_headers="$ac_config_headers config.h"
|
1761 | |
|
1762 | |
echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
1763 | |
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
|
1764 | |
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
|
|
2376 |
ac_config_headers="$ac_config_headers config.h"
|
|
2377 |
|
|
2378 |
|
|
2379 |
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
|
2380 |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
|
2381 |
# Check whether --enable-maintainer-mode was given.
|
1765 | 2382 |
if test "${enable_maintainer_mode+set}" = set; then
|
1766 | |
enableval="$enable_maintainer_mode"
|
1767 | |
USE_MAINTAINER_MODE=$enableval
|
|
2383 |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
1768 | 2384 |
else
|
1769 | 2385 |
USE_MAINTAINER_MODE=no
|
1770 | |
fi;
|
1771 | |
echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
1772 | |
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
|
1773 | |
|
1774 | |
|
1775 | |
if test $USE_MAINTAINER_MODE = yes; then
|
|
2386 |
fi
|
|
2387 |
|
|
2388 |
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
|
|
2389 |
$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
|
2390 |
if test $USE_MAINTAINER_MODE = yes; then
|
1776 | 2391 |
MAINTAINER_MODE_TRUE=
|
1777 | 2392 |
MAINTAINER_MODE_FALSE='#'
|
1778 | 2393 |
else
|
|
1793 | 2408 |
if test -n "$ac_tool_prefix"; then
|
1794 | 2409 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1795 | 2410 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1796 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1797 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2411 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2412 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1798 | 2413 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1799 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2414 |
$as_echo_n "(cached) " >&6
|
1800 | 2415 |
else
|
1801 | 2416 |
if test -n "$CC"; then
|
1802 | 2417 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1807 | 2422 |
IFS=$as_save_IFS
|
1808 | 2423 |
test -z "$as_dir" && as_dir=.
|
1809 | 2424 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1810 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2425 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1811 | 2426 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1812 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2427 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1813 | 2428 |
break 2
|
1814 | 2429 |
fi
|
1815 | 2430 |
done
|
1816 | 2431 |
done
|
|
2432 |
IFS=$as_save_IFS
|
1817 | 2433 |
|
1818 | 2434 |
fi
|
1819 | 2435 |
fi
|
1820 | 2436 |
CC=$ac_cv_prog_CC
|
1821 | 2437 |
if test -n "$CC"; then
|
1822 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1823 | |
echo "${ECHO_T}$CC" >&6
|
1824 | |
else
|
1825 | |
echo "$as_me:$LINENO: result: no" >&5
|
1826 | |
echo "${ECHO_T}no" >&6
|
1827 | |
fi
|
|
2438 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2439 |
$as_echo "$CC" >&6; }
|
|
2440 |
else
|
|
2441 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2442 |
$as_echo "no" >&6; }
|
|
2443 |
fi
|
|
2444 |
|
1828 | 2445 |
|
1829 | 2446 |
fi
|
1830 | 2447 |
if test -z "$ac_cv_prog_CC"; then
|
1831 | 2448 |
ac_ct_CC=$CC
|
1832 | 2449 |
# Extract the first word of "gcc", so it can be a program name with args.
|
1833 | 2450 |
set dummy gcc; ac_word=$2
|
1834 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1835 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2451 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2452 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1836 | 2453 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1837 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2454 |
$as_echo_n "(cached) " >&6
|
1838 | 2455 |
else
|
1839 | 2456 |
if test -n "$ac_ct_CC"; then
|
1840 | 2457 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
1845 | 2462 |
IFS=$as_save_IFS
|
1846 | 2463 |
test -z "$as_dir" && as_dir=.
|
1847 | 2464 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1848 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2465 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1849 | 2466 |
ac_cv_prog_ac_ct_CC="gcc"
|
1850 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2467 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1851 | 2468 |
break 2
|
1852 | 2469 |
fi
|
1853 | 2470 |
done
|
1854 | 2471 |
done
|
|
2472 |
IFS=$as_save_IFS
|
1855 | 2473 |
|
1856 | 2474 |
fi
|
1857 | 2475 |
fi
|
1858 | 2476 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1859 | 2477 |
if test -n "$ac_ct_CC"; then
|
1860 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1861 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1862 | |
else
|
1863 | |
echo "$as_me:$LINENO: result: no" >&5
|
1864 | |
echo "${ECHO_T}no" >&6
|
1865 | |
fi
|
1866 | |
|
1867 | |
CC=$ac_ct_CC
|
|
2478 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2479 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2480 |
else
|
|
2481 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2482 |
$as_echo "no" >&6; }
|
|
2483 |
fi
|
|
2484 |
|
|
2485 |
if test "x$ac_ct_CC" = x; then
|
|
2486 |
CC=""
|
|
2487 |
else
|
|
2488 |
case $cross_compiling:$ac_tool_warned in
|
|
2489 |
yes:)
|
|
2490 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2491 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2492 |
ac_tool_warned=yes ;;
|
|
2493 |
esac
|
|
2494 |
CC=$ac_ct_CC
|
|
2495 |
fi
|
1868 | 2496 |
else
|
1869 | 2497 |
CC="$ac_cv_prog_CC"
|
1870 | 2498 |
fi
|
1871 | 2499 |
|
1872 | 2500 |
if test -z "$CC"; then
|
1873 | |
if test -n "$ac_tool_prefix"; then
|
1874 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2501 |
if test -n "$ac_tool_prefix"; then
|
|
2502 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1875 | 2503 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1876 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1877 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2504 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2505 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1878 | 2506 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1879 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2507 |
$as_echo_n "(cached) " >&6
|
1880 | 2508 |
else
|
1881 | 2509 |
if test -n "$CC"; then
|
1882 | 2510 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1887 | 2515 |
IFS=$as_save_IFS
|
1888 | 2516 |
test -z "$as_dir" && as_dir=.
|
1889 | 2517 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1890 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2518 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1891 | 2519 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1892 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2520 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1893 | 2521 |
break 2
|
1894 | 2522 |
fi
|
1895 | 2523 |
done
|
1896 | 2524 |
done
|
|
2525 |
IFS=$as_save_IFS
|
1897 | 2526 |
|
1898 | 2527 |
fi
|
1899 | 2528 |
fi
|
1900 | 2529 |
CC=$ac_cv_prog_CC
|
1901 | 2530 |
if test -n "$CC"; then
|
1902 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1903 | |
echo "${ECHO_T}$CC" >&6
|
1904 | |
else
|
1905 | |
echo "$as_me:$LINENO: result: no" >&5
|
1906 | |
echo "${ECHO_T}no" >&6
|
1907 | |
fi
|
1908 | |
|
1909 | |
fi
|
1910 | |
if test -z "$ac_cv_prog_CC"; then
|
1911 | |
ac_ct_CC=$CC
|
1912 | |
# Extract the first word of "cc", so it can be a program name with args.
|
1913 | |
set dummy cc; ac_word=$2
|
1914 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1915 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1916 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1917 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1918 | |
else
|
1919 | |
if test -n "$ac_ct_CC"; then
|
1920 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1921 | |
else
|
1922 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1923 | |
for as_dir in $PATH
|
1924 | |
do
|
1925 | |
IFS=$as_save_IFS
|
1926 | |
test -z "$as_dir" && as_dir=.
|
1927 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1928 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1929 | |
ac_cv_prog_ac_ct_CC="cc"
|
1930 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1931 | |
break 2
|
|
2531 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2532 |
$as_echo "$CC" >&6; }
|
|
2533 |
else
|
|
2534 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2535 |
$as_echo "no" >&6; }
|
|
2536 |
fi
|
|
2537 |
|
|
2538 |
|
1932 | 2539 |
fi
|
1933 | |
done
|
1934 | |
done
|
1935 | |
|
1936 | |
fi
|
1937 | |
fi
|
1938 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1939 | |
if test -n "$ac_ct_CC"; then
|
1940 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1941 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1942 | |
else
|
1943 | |
echo "$as_me:$LINENO: result: no" >&5
|
1944 | |
echo "${ECHO_T}no" >&6
|
1945 | |
fi
|
1946 | |
|
1947 | |
CC=$ac_ct_CC
|
1948 | |
else
|
1949 | |
CC="$ac_cv_prog_CC"
|
1950 | |
fi
|
1951 | |
|
1952 | 2540 |
fi
|
1953 | 2541 |
if test -z "$CC"; then
|
1954 | 2542 |
# Extract the first word of "cc", so it can be a program name with args.
|
1955 | 2543 |
set dummy cc; ac_word=$2
|
1956 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1957 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2544 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2545 |
$as_echo_n "checking for $ac_word... " >&6; }
|
1958 | 2546 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1959 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2547 |
$as_echo_n "(cached) " >&6
|
1960 | 2548 |
else
|
1961 | 2549 |
if test -n "$CC"; then
|
1962 | 2550 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1968 | 2556 |
IFS=$as_save_IFS
|
1969 | 2557 |
test -z "$as_dir" && as_dir=.
|
1970 | 2558 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1971 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2559 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1972 | 2560 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1973 | 2561 |
ac_prog_rejected=yes
|
1974 | 2562 |
continue
|
1975 | 2563 |
fi
|
1976 | 2564 |
ac_cv_prog_CC="cc"
|
1977 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2565 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1978 | 2566 |
break 2
|
1979 | 2567 |
fi
|
1980 | 2568 |
done
|
1981 | 2569 |
done
|
|
2570 |
IFS=$as_save_IFS
|
1982 | 2571 |
|
1983 | 2572 |
if test $ac_prog_rejected = yes; then
|
1984 | 2573 |
# We found a bogon in the path, so make sure we never use it.
|
|
1996 | 2585 |
fi
|
1997 | 2586 |
CC=$ac_cv_prog_CC
|
1998 | 2587 |
if test -n "$CC"; then
|
1999 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2000 | |
echo "${ECHO_T}$CC" >&6
|
2001 | |
else
|
2002 | |
echo "$as_me:$LINENO: result: no" >&5
|
2003 | |
echo "${ECHO_T}no" >&6
|
2004 | |
fi
|
|
2588 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2589 |
$as_echo "$CC" >&6; }
|
|
2590 |
else
|
|
2591 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2592 |
$as_echo "no" >&6; }
|
|
2593 |
fi
|
|
2594 |
|
2005 | 2595 |
|
2006 | 2596 |
fi
|
2007 | 2597 |
if test -z "$CC"; then
|
2008 | 2598 |
if test -n "$ac_tool_prefix"; then
|
2009 | |
for ac_prog in cl
|
|
2599 |
for ac_prog in cl.exe
|
2010 | 2600 |
do
|
2011 | 2601 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2012 | 2602 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2013 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2014 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2603 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2604 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2015 | 2605 |
if test "${ac_cv_prog_CC+set}" = set; then
|
2016 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2606 |
$as_echo_n "(cached) " >&6
|
2017 | 2607 |
else
|
2018 | 2608 |
if test -n "$CC"; then
|
2019 | 2609 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2024 | 2614 |
IFS=$as_save_IFS
|
2025 | 2615 |
test -z "$as_dir" && as_dir=.
|
2026 | 2616 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2027 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2617 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2028 | 2618 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2029 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2619 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2030 | 2620 |
break 2
|
2031 | 2621 |
fi
|
2032 | 2622 |
done
|
2033 | 2623 |
done
|
|
2624 |
IFS=$as_save_IFS
|
2034 | 2625 |
|
2035 | 2626 |
fi
|
2036 | 2627 |
fi
|
2037 | 2628 |
CC=$ac_cv_prog_CC
|
2038 | 2629 |
if test -n "$CC"; then
|
2039 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
2040 | |
echo "${ECHO_T}$CC" >&6
|
2041 | |
else
|
2042 | |
echo "$as_me:$LINENO: result: no" >&5
|
2043 | |
echo "${ECHO_T}no" >&6
|
2044 | |
fi
|
|
2630 |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
2631 |
$as_echo "$CC" >&6; }
|
|
2632 |
else
|
|
2633 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2634 |
$as_echo "no" >&6; }
|
|
2635 |
fi
|
|
2636 |
|
2045 | 2637 |
|
2046 | 2638 |
test -n "$CC" && break
|
2047 | 2639 |
done
|
2048 | 2640 |
fi
|
2049 | 2641 |
if test -z "$CC"; then
|
2050 | 2642 |
ac_ct_CC=$CC
|
2051 | |
for ac_prog in cl
|
|
2643 |
for ac_prog in cl.exe
|
2052 | 2644 |
do
|
2053 | 2645 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2054 | 2646 |
set dummy $ac_prog; ac_word=$2
|
2055 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2056 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2647 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2648 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2057 | 2649 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2058 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2650 |
$as_echo_n "(cached) " >&6
|
2059 | 2651 |
else
|
2060 | 2652 |
if test -n "$ac_ct_CC"; then
|
2061 | 2653 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2066 | 2658 |
IFS=$as_save_IFS
|
2067 | 2659 |
test -z "$as_dir" && as_dir=.
|
2068 | 2660 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2069 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2661 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2070 | 2662 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2071 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2663 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2072 | 2664 |
break 2
|
2073 | 2665 |
fi
|
2074 | 2666 |
done
|
2075 | 2667 |
done
|
|
2668 |
IFS=$as_save_IFS
|
2076 | 2669 |
|
2077 | 2670 |
fi
|
2078 | 2671 |
fi
|
2079 | 2672 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2080 | 2673 |
if test -n "$ac_ct_CC"; then
|
2081 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2082 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
2083 | |
else
|
2084 | |
echo "$as_me:$LINENO: result: no" >&5
|
2085 | |
echo "${ECHO_T}no" >&6
|
2086 | |
fi
|
|
2674 |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2675 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2676 |
else
|
|
2677 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2678 |
$as_echo "no" >&6; }
|
|
2679 |
fi
|
|
2680 |
|
2087 | 2681 |
|
2088 | 2682 |
test -n "$ac_ct_CC" && break
|
2089 | 2683 |
done
|
2090 | 2684 |
|
2091 | |
CC=$ac_ct_CC
|
2092 | |
fi
|
2093 | |
|
2094 | |
fi
|
2095 | |
|
2096 | |
|
2097 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
|
2685 |
if test "x$ac_ct_CC" = x; then
|
|
2686 |
CC=""
|
|
2687 |
else
|
|
2688 |
case $cross_compiling:$ac_tool_warned in
|
|
2689 |
yes:)
|
|
2690 |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2691 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2692 |
ac_tool_warned=yes ;;
|
|
2693 |
esac
|
|
2694 |
CC=$ac_ct_CC
|
|
2695 |
fi
|
|
2696 |
fi
|
|
2697 |
|
|
2698 |
fi
|
|
2699 |
|
|
2700 |
|
|
2701 |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2702 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2703 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2098 | 2704 |
See \`config.log' for more details." >&5
|
2099 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
|
2705 |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2100 | 2706 |
See \`config.log' for more details." >&2;}
|
2101 | |
{ (exit 1); exit 1; }; }
|
|
2707 |
{ (exit 1); exit 1; }; }; }
|
2102 | 2708 |
|
2103 | 2709 |
# Provide some information about the compiler.
|
2104 | |
echo "$as_me:$LINENO:" \
|
2105 | |
"checking for C compiler version" >&5
|
2106 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2107 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
2108 | |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
2710 |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
2711 |
set X $ac_compile
|
|
2712 |
ac_compiler=$2
|
|
2713 |
{ (ac_try="$ac_compiler --version >&5"
|
|
2714 |
case "(($ac_try" in
|
|
2715 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2716 |
*) ac_try_echo=$ac_try;;
|
|
2717 |
esac
|
|
2718 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2719 |
$as_echo "$ac_try_echo") >&5
|
|
2720 |
(eval "$ac_compiler --version >&5") 2>&5
|
2109 | 2721 |
ac_status=$?
|
2110 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2722 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2111 | 2723 |
(exit $ac_status); }
|
2112 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
2113 | |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
|
2724 |
{ (ac_try="$ac_compiler -v >&5"
|
|
2725 |
case "(($ac_try" in
|
|
2726 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2727 |
*) ac_try_echo=$ac_try;;
|
|
2728 |
esac
|
|
2729 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2730 |
$as_echo "$ac_try_echo") >&5
|
|
2731 |
(eval "$ac_compiler -v >&5") 2>&5
|
2114 | 2732 |
ac_status=$?
|
2115 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2733 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2116 | 2734 |
(exit $ac_status); }
|
2117 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
2118 | |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
|
2735 |
{ (ac_try="$ac_compiler -V >&5"
|
|
2736 |
case "(($ac_try" in
|
|
2737 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2738 |
*) ac_try_echo=$ac_try;;
|
|
2739 |
esac
|
|
2740 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2741 |
$as_echo "$ac_try_echo") >&5
|
|
2742 |
(eval "$ac_compiler -V >&5") 2>&5
|
2119 | 2743 |
ac_status=$?
|
2120 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2744 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2121 | 2745 |
(exit $ac_status); }
|
2122 | 2746 |
|
2123 | 2747 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2136 | 2760 |
}
|
2137 | 2761 |
_ACEOF
|
2138 | 2762 |
ac_clean_files_save=$ac_clean_files
|
2139 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
2763 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
2140 | 2764 |
# Try to create an executable without -o first, disregard a.out.
|
2141 | 2765 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2142 | 2766 |
# of exeext.
|
2143 | |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2144 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
2145 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2146 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
2147 | |
(eval $ac_link_default) 2>&5
|
|
2767 |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2768 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
2769 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2770 |
|
|
2771 |
# The possible output files:
|
|
2772 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
2773 |
|
|
2774 |
ac_rmfiles=
|
|
2775 |
for ac_file in $ac_files
|
|
2776 |
do
|
|
2777 |
case $ac_file in
|
|
2778 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2779 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2780 |
esac
|
|
2781 |
done
|
|
2782 |
rm -f $ac_rmfiles
|
|
2783 |
|
|
2784 |
if { (ac_try="$ac_link_default"
|
|
2785 |
case "(($ac_try" in
|
|
2786 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2787 |
*) ac_try_echo=$ac_try;;
|
|
2788 |
esac
|
|
2789 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2790 |
$as_echo "$ac_try_echo") >&5
|
|
2791 |
(eval "$ac_link_default") 2>&5
|
2148 | 2792 |
ac_status=$?
|
2149 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2793 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2150 | 2794 |
(exit $ac_status); }; then
|
2151 | |
# Find the output, starting from the most likely. This scheme is
|
2152 | |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2153 | |
# resort.
|
2154 | |
|
2155 | |
# Be careful to initialize this variable, since it used to be cached.
|
2156 | |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
2157 | |
ac_cv_exeext=
|
2158 | |
# b.out is created by i960 compilers.
|
2159 | |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
|
2795 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
2796 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
2797 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2798 |
# so that the user can short-circuit this test for compilers unknown to
|
|
2799 |
# Autoconf.
|
|
2800 |
for ac_file in $ac_files ''
|
2160 | 2801 |
do
|
2161 | 2802 |
test -f "$ac_file" || continue
|
2162 | 2803 |
case $ac_file in
|
2163 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
2164 | |
;;
|
2165 | |
conftest.$ac_ext )
|
2166 | |
# This is the source file.
|
|
2804 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2167 | 2805 |
;;
|
2168 | 2806 |
[ab].out )
|
2169 | 2807 |
# We found the default executable, but exeext='' is most
|
2170 | 2808 |
# certainly right.
|
2171 | 2809 |
break;;
|
2172 | 2810 |
*.* )
|
2173 | |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2174 | |
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
2175 | |
# but it would be cool to find out if it's true. Does anybody
|
2176 | |
# maintain Libtool? --akim.
|
2177 | |
export ac_cv_exeext
|
|
2811 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2812 |
then :; else
|
|
2813 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2814 |
fi
|
|
2815 |
# We set ac_cv_exeext here because the later test for it is not
|
|
2816 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
2817 |
# argument, so we may need to know it at that point already.
|
|
2818 |
# Even if this section looks crufty: it has the advantage of
|
|
2819 |
# actually working.
|
2178 | 2820 |
break;;
|
2179 | 2821 |
* )
|
2180 | 2822 |
break;;
|
2181 | 2823 |
esac
|
2182 | 2824 |
done
|
2183 | |
else
|
2184 | |
echo "$as_me: failed program was:" >&5
|
|
2825 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
2826 |
|
|
2827 |
else
|
|
2828 |
ac_file=''
|
|
2829 |
fi
|
|
2830 |
|
|
2831 |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2832 |
$as_echo "$ac_file" >&6; }
|
|
2833 |
if test -z "$ac_file"; then
|
|
2834 |
$as_echo "$as_me: failed program was:" >&5
|
2185 | 2835 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2186 | 2836 |
|
2187 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
|
2837 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2838 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2839 |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2188 | 2840 |
See \`config.log' for more details." >&5
|
2189 | |
echo "$as_me: error: C compiler cannot create executables
|
|
2841 |
$as_echo "$as_me: error: C compiler cannot create executables
|
2190 | 2842 |
See \`config.log' for more details." >&2;}
|
2191 | |
{ (exit 77); exit 77; }; }
|
|
2843 |
{ (exit 77); exit 77; }; }; }
|
2192 | 2844 |
fi
|
2193 | 2845 |
|
2194 | 2846 |
ac_exeext=$ac_cv_exeext
|
2195 | |
echo "$as_me:$LINENO: result: $ac_file" >&5
|
2196 | |
echo "${ECHO_T}$ac_file" >&6
|
2197 | |
|
2198 | |
# Check the compiler produces executables we can run. If not, either
|
|
2847 |
|
|
2848 |
# Check that the compiler produces executables we can run. If not, either
|
2199 | 2849 |
# the compiler is broken, or we cross compile.
|
2200 | |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2201 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
|
2850 |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
2851 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2202 | 2852 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2203 | 2853 |
# If not cross compiling, check that we can run a simple program.
|
2204 | 2854 |
if test "$cross_compiling" != yes; then
|
2205 | 2855 |
if { ac_try='./$ac_file'
|
2206 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2207 | |
(eval $ac_try) 2>&5
|
|
2856 |
{ (case "(($ac_try" in
|
|
2857 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2858 |
*) ac_try_echo=$ac_try;;
|
|
2859 |
esac
|
|
2860 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2861 |
$as_echo "$ac_try_echo") >&5
|
|
2862 |
(eval "$ac_try") 2>&5
|
2208 | 2863 |
ac_status=$?
|
2209 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2864 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2210 | 2865 |
(exit $ac_status); }; }; then
|
2211 | 2866 |
cross_compiling=no
|
2212 | 2867 |
else
|
2213 | 2868 |
if test "$cross_compiling" = maybe; then
|
2214 | 2869 |
cross_compiling=yes
|
2215 | 2870 |
else
|
2216 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
2871 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2872 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2873 |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2217 | 2874 |
If you meant to cross compile, use \`--host'.
|
2218 | 2875 |
See \`config.log' for more details." >&5
|
2219 | |
echo "$as_me: error: cannot run C compiled programs.
|
|
2876 |
$as_echo "$as_me: error: cannot run C compiled programs.
|
2220 | 2877 |
If you meant to cross compile, use \`--host'.
|
2221 | 2878 |
See \`config.log' for more details." >&2;}
|
2222 | |
{ (exit 1); exit 1; }; }
|
|
2879 |
{ (exit 1); exit 1; }; }; }
|
2223 | 2880 |
fi
|
2224 | 2881 |
fi
|
2225 | 2882 |
fi
|
2226 | |
echo "$as_me:$LINENO: result: yes" >&5
|
2227 | |
echo "${ECHO_T}yes" >&6
|
2228 | |
|
2229 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
2883 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2884 |
$as_echo "yes" >&6; }
|
|
2885 |
|
|
2886 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2230 | 2887 |
ac_clean_files=$ac_clean_files_save
|
2231 | |
# Check the compiler produces executables we can run. If not, either
|
|
2888 |
# Check that the compiler produces executables we can run. If not, either
|
2232 | 2889 |
# the compiler is broken, or we cross compile.
|
2233 | |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2234 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2235 | |
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2236 | |
echo "${ECHO_T}$cross_compiling" >&6
|
2237 | |
|
2238 | |
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2239 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
2240 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2241 | |
(eval $ac_link) 2>&5
|
|
2890 |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2891 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
2892 |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2893 |
$as_echo "$cross_compiling" >&6; }
|
|
2894 |
|
|
2895 |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2896 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
2897 |
if { (ac_try="$ac_link"
|
|
2898 |
case "(($ac_try" in
|
|
2899 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2900 |
*) ac_try_echo=$ac_try;;
|
|
2901 |
esac
|
|
2902 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2903 |
$as_echo "$ac_try_echo") >&5
|
|
2904 |
(eval "$ac_link") 2>&5
|
2242 | 2905 |
ac_status=$?
|
2243 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2906 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2244 | 2907 |
(exit $ac_status); }; then
|
2245 | 2908 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2246 | 2909 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
|
2249 | 2912 |
for ac_file in conftest.exe conftest conftest.*; do
|
2250 | 2913 |
test -f "$ac_file" || continue
|
2251 | 2914 |
case $ac_file in
|
2252 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
2915 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2253 | 2916 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2254 | |
export ac_cv_exeext
|
2255 | 2917 |
break;;
|
2256 | 2918 |
* ) break;;
|
2257 | 2919 |
esac
|
2258 | 2920 |
done
|
2259 | 2921 |
else
|
2260 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
|
2922 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2923 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2924 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2261 | 2925 |
See \`config.log' for more details." >&5
|
2262 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
|
2926 |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2263 | 2927 |
See \`config.log' for more details." >&2;}
|
2264 | |
{ (exit 1); exit 1; }; }
|
|
2928 |
{ (exit 1); exit 1; }; }; }
|
2265 | 2929 |
fi
|
2266 | 2930 |
|
2267 | 2931 |
rm -f conftest$ac_cv_exeext
|
2268 | |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2269 | |
echo "${ECHO_T}$ac_cv_exeext" >&6
|
|
2932 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2933 |
$as_echo "$ac_cv_exeext" >&6; }
|
2270 | 2934 |
|
2271 | 2935 |
rm -f conftest.$ac_ext
|
2272 | 2936 |
EXEEXT=$ac_cv_exeext
|
2273 | 2937 |
ac_exeext=$EXEEXT
|
2274 | |
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2275 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
|
2938 |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2939 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
2276 | 2940 |
if test "${ac_cv_objext+set}" = set; then
|
2277 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2941 |
$as_echo_n "(cached) " >&6
|
2278 | 2942 |
else
|
2279 | 2943 |
cat >conftest.$ac_ext <<_ACEOF
|
2280 | 2944 |
/* confdefs.h. */
|
|
2292 | 2956 |
}
|
2293 | 2957 |
_ACEOF
|
2294 | 2958 |
rm -f conftest.o conftest.obj
|
2295 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2296 | |
(eval $ac_compile) 2>&5
|
|
2959 |
if { (ac_try="$ac_compile"
|
|
2960 |
case "(($ac_try" in
|
|
2961 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2962 |
*) ac_try_echo=$ac_try;;
|
|
2963 |
esac
|
|
2964 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
2965 |
$as_echo "$ac_try_echo") >&5
|
|
2966 |
(eval "$ac_compile") 2>&5
|
2297 | 2967 |
ac_status=$?
|
2298 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2968 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2299 | 2969 |
(exit $ac_status); }; then
|
2300 | |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
|
2970 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
|
2971 |
test -f "$ac_file" || continue;
|
2301 | 2972 |
case $ac_file in
|
2302 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
|
2973 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2303 | 2974 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2304 | 2975 |
break;;
|
2305 | 2976 |
esac
|
2306 | 2977 |
done
|
2307 | 2978 |
else
|
2308 | |
echo "$as_me: failed program was:" >&5
|
|
2979 |
$as_echo "$as_me: failed program was:" >&5
|
2309 | 2980 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2310 | 2981 |
|
2311 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
|
2982 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2983 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2984 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2312 | 2985 |
See \`config.log' for more details." >&5
|
2313 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
|
2986 |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2314 | 2987 |
See \`config.log' for more details." >&2;}
|
2315 | |
{ (exit 1); exit 1; }; }
|
|
2988 |
{ (exit 1); exit 1; }; }; }
|
2316 | 2989 |
fi
|
2317 | 2990 |
|
2318 | 2991 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2319 | 2992 |
fi
|
2320 | |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2321 | |
echo "${ECHO_T}$ac_cv_objext" >&6
|
|
2993 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2994 |
$as_echo "$ac_cv_objext" >&6; }
|
2322 | 2995 |
OBJEXT=$ac_cv_objext
|
2323 | 2996 |
ac_objext=$OBJEXT
|
2324 | |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2325 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
|
2997 |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
2998 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
2326 | 2999 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2327 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3000 |
$as_echo_n "(cached) " >&6
|
2328 | 3001 |
else
|
2329 | 3002 |
cat >conftest.$ac_ext <<_ACEOF
|
2330 | 3003 |
/* confdefs.h. */
|
|
2345 | 3018 |
}
|
2346 | 3019 |
_ACEOF
|
2347 | 3020 |
rm -f conftest.$ac_objext
|
2348 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2349 | |
(eval $ac_compile) 2>conftest.er1
|
|
3021 |
if { (ac_try="$ac_compile"
|
|
3022 |
case "(($ac_try" in
|
|
3023 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3024 |
*) ac_try_echo=$ac_try;;
|
|
3025 |
esac
|
|
3026 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3027 |
$as_echo "$ac_try_echo") >&5
|
|
3028 |
(eval "$ac_compile") 2>conftest.er1
|
2350 | 3029 |
ac_status=$?
|
2351 | 3030 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2352 | 3031 |
rm -f conftest.er1
|
2353 | 3032 |
cat conftest.err >&5
|
2354 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2355 | |
(exit $ac_status); } &&
|
2356 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2357 | |
|| test ! -s conftest.err'
|
2358 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2359 | |
(eval $ac_try) 2>&5
|
2360 | |
ac_status=$?
|
2361 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2362 | |
(exit $ac_status); }; } &&
|
2363 | |
{ ac_try='test -s conftest.$ac_objext'
|
2364 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2365 | |
(eval $ac_try) 2>&5
|
2366 | |
ac_status=$?
|
2367 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2368 | |
(exit $ac_status); }; }; then
|
|
3033 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3034 |
(exit $ac_status); } && {
|
|
3035 |
test -z "$ac_c_werror_flag" ||
|
|
3036 |
test ! -s conftest.err
|
|
3037 |
} && test -s conftest.$ac_objext; then
|
2369 | 3038 |
ac_compiler_gnu=yes
|
2370 | 3039 |
else
|
2371 | |
echo "$as_me: failed program was:" >&5
|
|
3040 |
$as_echo "$as_me: failed program was:" >&5
|
2372 | 3041 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2373 | 3042 |
|
2374 | |
ac_compiler_gnu=no
|
2375 | |
fi
|
2376 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3043 |
ac_compiler_gnu=no
|
|
3044 |
fi
|
|
3045 |
|
|
3046 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2377 | 3047 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2378 | 3048 |
|
2379 | 3049 |
fi
|
2380 | |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2381 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
2382 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3050 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3051 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
3052 |
if test $ac_compiler_gnu = yes; then
|
|
3053 |
GCC=yes
|
|
3054 |
else
|
|
3055 |
GCC=
|
|
3056 |
fi
|
2383 | 3057 |
ac_test_CFLAGS=${CFLAGS+set}
|
2384 | 3058 |
ac_save_CFLAGS=$CFLAGS
|
2385 | |
CFLAGS="-g"
|
2386 | |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2387 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
|
3059 |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3060 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
2388 | 3061 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2389 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2390 | |
else
|
2391 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
3062 |
$as_echo_n "(cached) " >&6
|
|
3063 |
else
|
|
3064 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
3065 |
ac_c_werror_flag=yes
|
|
3066 |
ac_cv_prog_cc_g=no
|
|
3067 |
CFLAGS="-g"
|
|
3068 |
cat >conftest.$ac_ext <<_ACEOF
|
2392 | 3069 |
/* confdefs.h. */
|
2393 | 3070 |
_ACEOF
|
2394 | 3071 |
cat confdefs.h >>conftest.$ac_ext
|
|
2404 | 3081 |
}
|
2405 | 3082 |
_ACEOF
|
2406 | 3083 |
rm -f conftest.$ac_objext
|
2407 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2408 | |
(eval $ac_compile) 2>conftest.er1
|
|
3084 |
if { (ac_try="$ac_compile"
|
|
3085 |
case "(($ac_try" in
|
|
3086 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3087 |
*) ac_try_echo=$ac_try;;
|
|
3088 |
esac
|
|
3089 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3090 |
$as_echo "$ac_try_echo") >&5
|
|
3091 |
(eval "$ac_compile") 2>conftest.er1
|
2409 | 3092 |
ac_status=$?
|
2410 | 3093 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2411 | 3094 |
rm -f conftest.er1
|
2412 | 3095 |
cat conftest.err >&5
|
2413 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2414 | |
(exit $ac_status); } &&
|
2415 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2416 | |
|| test ! -s conftest.err'
|
2417 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2418 | |
(eval $ac_try) 2>&5
|
|
3096 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3097 |
(exit $ac_status); } && {
|
|
3098 |
test -z "$ac_c_werror_flag" ||
|
|
3099 |
test ! -s conftest.err
|
|
3100 |
} && test -s conftest.$ac_objext; then
|
|
3101 |
ac_cv_prog_cc_g=yes
|
|
3102 |
else
|
|
3103 |
$as_echo "$as_me: failed program was:" >&5
|
|
3104 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3105 |
|
|
3106 |
CFLAGS=""
|
|
3107 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3108 |
/* confdefs.h. */
|
|
3109 |
_ACEOF
|
|
3110 |
cat confdefs.h >>conftest.$ac_ext
|
|
3111 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3112 |
/* end confdefs.h. */
|
|
3113 |
|
|
3114 |
int
|
|
3115 |
main ()
|
|
3116 |
{
|
|
3117 |
|
|
3118 |
;
|
|
3119 |
return 0;
|
|
3120 |
}
|
|
3121 |
_ACEOF
|
|
3122 |
rm -f conftest.$ac_objext
|
|
3123 |
if { (ac_try="$ac_compile"
|
|
3124 |
case "(($ac_try" in
|
|
3125 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3126 |
*) ac_try_echo=$ac_try;;
|
|
3127 |
esac
|
|
3128 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3129 |
$as_echo "$ac_try_echo") >&5
|
|
3130 |
(eval "$ac_compile") 2>conftest.er1
|
2419 | 3131 |
ac_status=$?
|
2420 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2421 | |
(exit $ac_status); }; } &&
|
2422 | |
{ ac_try='test -s conftest.$ac_objext'
|
2423 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2424 | |
(eval $ac_try) 2>&5
|
|
3132 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3133 |
rm -f conftest.er1
|
|
3134 |
cat conftest.err >&5
|
|
3135 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3136 |
(exit $ac_status); } && {
|
|
3137 |
test -z "$ac_c_werror_flag" ||
|
|
3138 |
test ! -s conftest.err
|
|
3139 |
} && test -s conftest.$ac_objext; then
|
|
3140 |
:
|
|
3141 |
else
|
|
3142 |
$as_echo "$as_me: failed program was:" >&5
|
|
3143 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3144 |
|
|
3145 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3146 |
CFLAGS="-g"
|
|
3147 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3148 |
/* confdefs.h. */
|
|
3149 |
_ACEOF
|
|
3150 |
cat confdefs.h >>conftest.$ac_ext
|
|
3151 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3152 |
/* end confdefs.h. */
|
|
3153 |
|
|
3154 |
int
|
|
3155 |
main ()
|
|
3156 |
{
|
|
3157 |
|
|
3158 |
;
|
|
3159 |
return 0;
|
|
3160 |
}
|
|
3161 |
_ACEOF
|
|
3162 |
rm -f conftest.$ac_objext
|
|
3163 |
if { (ac_try="$ac_compile"
|
|
3164 |
case "(($ac_try" in
|
|
3165 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3166 |
*) ac_try_echo=$ac_try;;
|
|
3167 |
esac
|
|
3168 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3169 |
$as_echo "$ac_try_echo") >&5
|
|
3170 |
(eval "$ac_compile") 2>conftest.er1
|
2425 | 3171 |
ac_status=$?
|
2426 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2427 | |
(exit $ac_status); }; }; then
|
|
3172 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
3173 |
rm -f conftest.er1
|
|
3174 |
cat conftest.err >&5
|
|
3175 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3176 |
(exit $ac_status); } && {
|
|
3177 |
test -z "$ac_c_werror_flag" ||
|
|
3178 |
test ! -s conftest.err
|
|
3179 |
} && test -s conftest.$ac_objext; then
|
2428 | 3180 |
ac_cv_prog_cc_g=yes
|
2429 | 3181 |
else
|
2430 | |
echo "$as_me: failed program was:" >&5
|
|
3182 |
$as_echo "$as_me: failed program was:" >&5
|
2431 | 3183 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2432 | 3184 |
|
2433 | |
ac_cv_prog_cc_g=no
|
2434 | |
fi
|
2435 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2436 | |
fi
|
2437 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2438 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
3185 |
|
|
3186 |
fi
|
|
3187 |
|
|
3188 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3189 |
fi
|
|
3190 |
|
|
3191 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3192 |
fi
|
|
3193 |
|
|
3194 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3195 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3196 |
fi
|
|
3197 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3198 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
2439 | 3199 |
if test "$ac_test_CFLAGS" = set; then
|
2440 | 3200 |
CFLAGS=$ac_save_CFLAGS
|
2441 | 3201 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2451 | 3211 |
CFLAGS=
|
2452 | 3212 |
fi
|
2453 | 3213 |
fi
|
2454 | |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
2455 | |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2456 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
2457 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2458 | |
else
|
2459 | |
ac_cv_prog_cc_stdc=no
|
|
3214 |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3215 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3216 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3217 |
$as_echo_n "(cached) " >&6
|
|
3218 |
else
|
|
3219 |
ac_cv_prog_cc_c89=no
|
2460 | 3220 |
ac_save_CC=$CC
|
2461 | 3221 |
cat >conftest.$ac_ext <<_ACEOF
|
2462 | 3222 |
/* confdefs.h. */
|
|
2490 | 3250 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
2491 | 3251 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
2492 | 3252 |
These don't provoke an error unfortunately, instead are silently treated
|
2493 | |
as 'x'. The following induces an error, until -std1 is added to get
|
|
3253 |
as 'x'. The following induces an error, until -std is added to get
|
2494 | 3254 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
2495 | 3255 |
array size at least. It's necessary to write '\x00'==0 to get something
|
2496 | |
that's true only with -std1. */
|
|
3256 |
that's true only with -std. */
|
2497 | 3257 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
3258 |
|
|
3259 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
3260 |
inside strings and character constants. */
|
|
3261 |
#define FOO(x) 'x'
|
|
3262 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
2498 | 3263 |
|
2499 | 3264 |
int test (int i, double x);
|
2500 | 3265 |
struct s1 {int (*f) (int a);};
|
|
2510 | 3275 |
return 0;
|
2511 | 3276 |
}
|
2512 | 3277 |
_ACEOF
|
2513 | |
# Don't try gcc -ansi; that turns off useful extensions and
|
2514 | |
# breaks some systems' header files.
|
2515 | |
# AIX -qlanglvl=ansi
|
2516 | |
# Ultrix and OSF/1 -std1
|
2517 | |
# HP-UX 10.20 and later -Ae
|
2518 | |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2519 | |
# SVR4 -Xc -D__EXTENSIONS__
|
2520 | |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
3278 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
3279 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2521 | 3280 |
do
|
2522 | 3281 |
CC="$ac_save_CC $ac_arg"
|
2523 | 3282 |
rm -f conftest.$ac_objext
|
2524 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2525 | |
(eval $ac_compile) 2>conftest.er1
|
|
3283 |
if { (ac_try="$ac_compile"
|
|
3284 |
case "(($ac_try" in
|
|
3285 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3286 |
*) ac_try_echo=$ac_try;;
|
|
3287 |
esac
|
|
3288 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3289 |
$as_echo "$ac_try_echo") >&5
|
|
3290 |
(eval "$ac_compile") 2>conftest.er1
|
2526 | 3291 |
ac_status=$?
|
2527 | 3292 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2528 | 3293 |
rm -f conftest.er1
|
2529 | 3294 |
cat conftest.err >&5
|
2530 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2531 | |
(exit $ac_status); } &&
|
2532 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2533 | |
|| test ! -s conftest.err'
|
2534 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2535 | |
(eval $ac_try) 2>&5
|
2536 | |
ac_status=$?
|
2537 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2538 | |
(exit $ac_status); }; } &&
|
2539 | |
{ ac_try='test -s conftest.$ac_objext'
|
2540 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2541 | |
(eval $ac_try) 2>&5
|
2542 | |
ac_status=$?
|
2543 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2544 | |
(exit $ac_status); }; }; then
|
2545 | |
ac_cv_prog_cc_stdc=$ac_arg
|
2546 | |
break
|
2547 | |
else
|
2548 | |
echo "$as_me: failed program was:" >&5
|
|
3295 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3296 |
(exit $ac_status); } && {
|
|
3297 |
test -z "$ac_c_werror_flag" ||
|
|
3298 |
test ! -s conftest.err
|
|
3299 |
} && test -s conftest.$ac_objext; then
|
|
3300 |
ac_cv_prog_cc_c89=$ac_arg
|
|
3301 |
else
|
|
3302 |
$as_echo "$as_me: failed program was:" >&5
|
2549 | 3303 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2550 | 3304 |
|
2551 | |
fi
|
2552 | |
rm -f conftest.err conftest.$ac_objext
|
|
3305 |
|
|
3306 |
fi
|
|
3307 |
|
|
3308 |
rm -f core conftest.err conftest.$ac_objext
|
|
3309 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2553 | 3310 |
done
|
2554 | |
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
3311 |
rm -f conftest.$ac_ext
|
2555 | 3312 |
CC=$ac_save_CC
|
2556 | 3313 |
|
2557 | 3314 |
fi
|
2558 | |
|
2559 | |
case "x$ac_cv_prog_cc_stdc" in
|
2560 | |
x|xno)
|
2561 | |
echo "$as_me:$LINENO: result: none needed" >&5
|
2562 | |
echo "${ECHO_T}none needed" >&6 ;;
|
|
3315 |
# AC_CACHE_VAL
|
|
3316 |
case "x$ac_cv_prog_cc_c89" in
|
|
3317 |
x)
|
|
3318 |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3319 |
$as_echo "none needed" >&6; } ;;
|
|
3320 |
xno)
|
|
3321 |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3322 |
$as_echo "unsupported" >&6; } ;;
|
2563 | 3323 |
*)
|
2564 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2565 | |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2566 | |
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
2567 | |
esac
|
2568 | |
|
2569 | |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2570 | |
# in C++ we need to declare it. In case someone uses the same compiler
|
2571 | |
# for both compiling C and C++ we need to have the C++ compiler decide
|
2572 | |
# the declaration of exit, since it's the most demanding environment.
|
2573 | |
cat >conftest.$ac_ext <<_ACEOF
|
2574 | |
#ifndef __cplusplus
|
2575 | |
choke me
|
2576 | |
#endif
|
2577 | |
_ACEOF
|
2578 | |
rm -f conftest.$ac_objext
|
2579 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2580 | |
(eval $ac_compile) 2>conftest.er1
|
2581 | |
ac_status=$?
|
2582 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2583 | |
rm -f conftest.er1
|
2584 | |
cat conftest.err >&5
|
2585 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2586 | |
(exit $ac_status); } &&
|
2587 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2588 | |
|| test ! -s conftest.err'
|
2589 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2590 | |
(eval $ac_try) 2>&5
|
2591 | |
ac_status=$?
|
2592 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2593 | |
(exit $ac_status); }; } &&
|
2594 | |
{ ac_try='test -s conftest.$ac_objext'
|
2595 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2596 | |
(eval $ac_try) 2>&5
|
2597 | |
ac_status=$?
|
2598 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2599 | |
(exit $ac_status); }; }; then
|
2600 | |
for ac_declaration in \
|
2601 | |
'' \
|
2602 | |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2603 | |
'extern "C" void std::exit (int); using std::exit;' \
|
2604 | |
'extern "C" void exit (int) throw ();' \
|
2605 | |
'extern "C" void exit (int);' \
|
2606 | |
'void exit (int);'
|
2607 | |
do
|
2608 | |
cat >conftest.$ac_ext <<_ACEOF
|
2609 | |
/* confdefs.h. */
|
2610 | |
_ACEOF
|
2611 | |
cat confdefs.h >>conftest.$ac_ext
|
2612 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2613 | |
/* end confdefs.h. */
|
2614 | |
$ac_declaration
|
2615 | |
#include <stdlib.h>
|
2616 | |
int
|
2617 | |
main ()
|
2618 | |
{
|
2619 | |
exit (42);
|
2620 | |
;
|
2621 | |
return 0;
|
2622 | |
}
|
2623 | |
_ACEOF
|
2624 | |
rm -f conftest.$ac_objext
|
2625 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2626 | |
(eval $ac_compile) 2>conftest.er1
|
2627 | |
ac_status=$?
|
2628 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2629 | |
rm -f conftest.er1
|
2630 | |
cat conftest.err >&5
|
2631 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2632 | |
(exit $ac_status); } &&
|
2633 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2634 | |
|| test ! -s conftest.err'
|
2635 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2636 | |
(eval $ac_try) 2>&5
|
2637 | |
ac_status=$?
|
2638 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2639 | |
(exit $ac_status); }; } &&
|
2640 | |
{ ac_try='test -s conftest.$ac_objext'
|
2641 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2642 | |
(eval $ac_try) 2>&5
|
2643 | |
ac_status=$?
|
2644 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2645 | |
(exit $ac_status); }; }; then
|
2646 | |
:
|
2647 | |
else
|
2648 | |
echo "$as_me: failed program was:" >&5
|
2649 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2650 | |
|
2651 | |
continue
|
2652 | |
fi
|
2653 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2654 | |
cat >conftest.$ac_ext <<_ACEOF
|
2655 | |
/* confdefs.h. */
|
2656 | |
_ACEOF
|
2657 | |
cat confdefs.h >>conftest.$ac_ext
|
2658 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2659 | |
/* end confdefs.h. */
|
2660 | |
$ac_declaration
|
2661 | |
int
|
2662 | |
main ()
|
2663 | |
{
|
2664 | |
exit (42);
|
2665 | |
;
|
2666 | |
return 0;
|
2667 | |
}
|
2668 | |
_ACEOF
|
2669 | |
rm -f conftest.$ac_objext
|
2670 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2671 | |
(eval $ac_compile) 2>conftest.er1
|
2672 | |
ac_status=$?
|
2673 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2674 | |
rm -f conftest.er1
|
2675 | |
cat conftest.err >&5
|
2676 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2677 | |
(exit $ac_status); } &&
|
2678 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2679 | |
|| test ! -s conftest.err'
|
2680 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2681 | |
(eval $ac_try) 2>&5
|
2682 | |
ac_status=$?
|
2683 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2684 | |
(exit $ac_status); }; } &&
|
2685 | |
{ ac_try='test -s conftest.$ac_objext'
|
2686 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2687 | |
(eval $ac_try) 2>&5
|
2688 | |
ac_status=$?
|
2689 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2690 | |
(exit $ac_status); }; }; then
|
2691 | |
break
|
2692 | |
else
|
2693 | |
echo "$as_me: failed program was:" >&5
|
2694 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2695 | |
|
2696 | |
fi
|
2697 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2698 | |
done
|
2699 | |
rm -f conftest*
|
2700 | |
if test -n "$ac_declaration"; then
|
2701 | |
echo '#ifdef __cplusplus' >>confdefs.h
|
2702 | |
echo $ac_declaration >>confdefs.h
|
2703 | |
echo '#endif' >>confdefs.h
|
2704 | |
fi
|
2705 | |
|
2706 | |
else
|
2707 | |
echo "$as_me: failed program was:" >&5
|
2708 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2709 | |
|
2710 | |
fi
|
2711 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3324 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
3325 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3326 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3327 |
esac
|
|
3328 |
|
|
3329 |
|
2712 | 3330 |
ac_ext=c
|
2713 | 3331 |
ac_cpp='$CPP $CPPFLAGS'
|
2714 | 3332 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
2716 | 3334 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2717 | 3335 |
DEPDIR="${am__leading_dot}deps"
|
2718 | 3336 |
|
2719 | |
ac_config_commands="$ac_config_commands depfiles"
|
|
3337 |
ac_config_commands="$ac_config_commands depfiles"
|
2720 | 3338 |
|
2721 | 3339 |
|
2722 | 3340 |
am_make=${MAKE-make}
|
2723 | 3341 |
cat > confinc << 'END'
|
2724 | 3342 |
am__doit:
|
2725 | |
@echo done
|
|
3343 |
@echo this is the am__doit target
|
2726 | 3344 |
.PHONY: am__doit
|
2727 | 3345 |
END
|
2728 | 3346 |
# If we don't find an include directive, just comment out the code.
|
2729 | |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
2730 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
|
3347 |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
3348 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
2731 | 3349 |
am__include="#"
|
2732 | 3350 |
am__quote=
|
2733 | 3351 |
_am_result=none
|
2734 | 3352 |
# First try GNU make style include.
|
2735 | 3353 |
echo "include confinc" > confmf
|
2736 | |
# We grep out `Entering directory' and `Leaving directory'
|
2737 | |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
2738 | |
# In particular we don't look at `^make:' because GNU make might
|
2739 | |
# be invoked under some other name (usually "gmake"), in which
|
2740 | |
# case it prints its new name instead of `make'.
|
2741 | |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
2742 | |
am__include=include
|
2743 | |
am__quote=
|
2744 | |
_am_result=GNU
|
2745 | |
fi
|
|
3354 |
# Ignore all kinds of additional output from `make'.
|
|
3355 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3356 |
*the\ am__doit\ target*)
|
|
3357 |
am__include=include
|
|
3358 |
am__quote=
|
|
3359 |
_am_result=GNU
|
|
3360 |
;;
|
|
3361 |
esac
|
2746 | 3362 |
# Now try BSD make style include.
|
2747 | 3363 |
if test "$am__include" = "#"; then
|
2748 | 3364 |
echo '.include "confinc"' > confmf
|
2749 | |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
2750 | |
am__include=.include
|
2751 | |
am__quote="\""
|
2752 | |
_am_result=BSD
|
2753 | |
fi
|
2754 | |
fi
|
2755 | |
|
2756 | |
|
2757 | |
echo "$as_me:$LINENO: result: $_am_result" >&5
|
2758 | |
echo "${ECHO_T}$_am_result" >&6
|
|
3365 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3366 |
*the\ am__doit\ target*)
|
|
3367 |
am__include=.include
|
|
3368 |
am__quote="\""
|
|
3369 |
_am_result=BSD
|
|
3370 |
;;
|
|
3371 |
esac
|
|
3372 |
fi
|
|
3373 |
|
|
3374 |
|
|
3375 |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
3376 |
$as_echo "$_am_result" >&6; }
|
2759 | 3377 |
rm -f confinc confmf
|
2760 | 3378 |
|
2761 | |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
|
3379 |
# Check whether --enable-dependency-tracking was given.
|
2762 | 3380 |
if test "${enable_dependency_tracking+set}" = set; then
|
2763 | |
enableval="$enable_dependency_tracking"
|
2764 | |
|
2765 | |
fi;
|
|
3381 |
enableval=$enable_dependency_tracking;
|
|
3382 |
fi
|
|
3383 |
|
2766 | 3384 |
if test "x$enable_dependency_tracking" != xno; then
|
2767 | 3385 |
am_depcomp="$ac_aux_dir/depcomp"
|
2768 | 3386 |
AMDEPBACKSLASH='\'
|
2769 | 3387 |
fi
|
2770 | |
|
2771 | |
|
2772 | |
if test "x$enable_dependency_tracking" != xno; then
|
|
3388 |
if test "x$enable_dependency_tracking" != xno; then
|
2773 | 3389 |
AMDEP_TRUE=
|
2774 | 3390 |
AMDEP_FALSE='#'
|
2775 | 3391 |
else
|
|
2779 | 3395 |
|
2780 | 3396 |
|
2781 | 3397 |
|
2782 | |
|
2783 | 3398 |
depcc="$CC" am_compiler_list=
|
2784 | 3399 |
|
2785 | |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
2786 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
|
3400 |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
3401 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
2787 | 3402 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
2788 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3403 |
$as_echo_n "(cached) " >&6
|
2789 | 3404 |
else
|
2790 | 3405 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
2791 | 3406 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
2810 | 3425 |
if test "$am_compiler_list" = ""; then
|
2811 | 3426 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
2812 | 3427 |
fi
|
|
3428 |
am__universal=false
|
|
3429 |
case " $depcc " in #(
|
|
3430 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3431 |
esac
|
|
3432 |
|
2813 | 3433 |
for depmode in $am_compiler_list; do
|
2814 | 3434 |
# Setup a source with many dependencies, because some compilers
|
2815 | 3435 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
2827 | 3447 |
done
|
2828 | 3448 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
2829 | 3449 |
|
|
3450 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3451 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3452 |
# handle `-M -o', and we need to detect this. Also, some Intel
|
|
3453 |
# versions had trouble with output in subdirs
|
|
3454 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
3455 |
am__minus_obj="-o $am__obj"
|
2830 | 3456 |
case $depmode in
|
|
3457 |
gcc)
|
|
3458 |
# This depmode causes a compiler race in universal mode.
|
|
3459 |
test "$am__universal" = false || continue
|
|
3460 |
;;
|
2831 | 3461 |
nosideeffect)
|
2832 | 3462 |
# after this tag, mechanisms are not by side-effect, so they'll
|
2833 | 3463 |
# only be used when explicitly requested
|
|
2837 | 3467 |
break
|
2838 | 3468 |
fi
|
2839 | 3469 |
;;
|
|
3470 |
msvisualcpp | msvcmsys)
|
|
3471 |
# This compiler won't grok `-c -o', but also, the minuso test has
|
|
3472 |
# not run yet. These depmodes are late enough in the game, and
|
|
3473 |
# so weak that their functioning should not be impacted.
|
|
3474 |
am__obj=conftest.${OBJEXT-o}
|
|
3475 |
am__minus_obj=
|
|
3476 |
;;
|
2840 | 3477 |
none) break ;;
|
2841 | 3478 |
esac
|
2842 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
2843 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
2844 | |
# handle `-M -o', and we need to detect this.
|
2845 | 3479 |
if depmode=$depmode \
|
2846 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3480 |
source=sub/conftest.c object=$am__obj \
|
2847 | 3481 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
2848 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3482 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
2849 | 3483 |
>/dev/null 2>conftest.err &&
|
|
3484 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
2850 | 3485 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
2851 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3486 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
2852 | 3487 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
2853 | 3488 |
# icc doesn't choke on unknown options, it will just issue warnings
|
2854 | 3489 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
2872 | 3507 |
fi
|
2873 | 3508 |
|
2874 | 3509 |
fi
|
2875 | |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
2876 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
|
3510 |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3511 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
2877 | 3512 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
2878 | 3513 |
|
2879 | |
|
2880 | |
|
2881 | |
if
|
|
3514 |
if
|
2882 | 3515 |
test "x$enable_dependency_tracking" != xno \
|
2883 | 3516 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
2884 | 3517 |
am__fastdepCC_TRUE=
|
|
2886 | 3519 |
else
|
2887 | 3520 |
am__fastdepCC_TRUE='#'
|
2888 | 3521 |
am__fastdepCC_FALSE=
|
|
3522 |
fi
|
|
3523 |
|
|
3524 |
|
|
3525 |
if test "x$CC" != xcc; then
|
|
3526 |
{ $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
|
|
3527 |
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
|
|
3528 |
else
|
|
3529 |
{ $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
|
|
3530 |
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
|
|
3531 |
fi
|
|
3532 |
set dummy $CC; ac_cc=`$as_echo "$2" |
|
|
3533 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
3534 |
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
3535 |
$as_echo_n "(cached) " >&6
|
|
3536 |
else
|
|
3537 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3538 |
/* confdefs.h. */
|
|
3539 |
_ACEOF
|
|
3540 |
cat confdefs.h >>conftest.$ac_ext
|
|
3541 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3542 |
/* end confdefs.h. */
|
|
3543 |
|
|
3544 |
int
|
|
3545 |
main ()
|
|
3546 |
{
|
|
3547 |
|
|
3548 |
;
|
|
3549 |
return 0;
|
|
3550 |
}
|
|
3551 |
_ACEOF
|
|
3552 |
# Make sure it works both with $CC and with simple cc.
|
|
3553 |
# We do the test twice because some compilers refuse to overwrite an
|
|
3554 |
# existing .o file with -o, though they will create one.
|
|
3555 |
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
3556 |
rm -f conftest2.*
|
|
3557 |
if { (case "(($ac_try" in
|
|
3558 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3559 |
*) ac_try_echo=$ac_try;;
|
|
3560 |
esac
|
|
3561 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3562 |
$as_echo "$ac_try_echo") >&5
|
|
3563 |
(eval "$ac_try") 2>&5
|
|
3564 |
ac_status=$?
|
|
3565 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3566 |
(exit $ac_status); } &&
|
|
3567 |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
3568 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3569 |
*) ac_try_echo=$ac_try;;
|
|
3570 |
esac
|
|
3571 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3572 |
$as_echo "$ac_try_echo") >&5
|
|
3573 |
(eval "$ac_try") 2>&5
|
|
3574 |
ac_status=$?
|
|
3575 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3576 |
(exit $ac_status); };
|
|
3577 |
then
|
|
3578 |
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
|
3579 |
if test "x$CC" != xcc; then
|
|
3580 |
# Test first that cc exists at all.
|
|
3581 |
if { ac_try='cc -c conftest.$ac_ext >&5'
|
|
3582 |
{ (case "(($ac_try" in
|
|
3583 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3584 |
*) ac_try_echo=$ac_try;;
|
|
3585 |
esac
|
|
3586 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3587 |
$as_echo "$ac_try_echo") >&5
|
|
3588 |
(eval "$ac_try") 2>&5
|
|
3589 |
ac_status=$?
|
|
3590 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3591 |
(exit $ac_status); }; }; then
|
|
3592 |
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
|
3593 |
rm -f conftest2.*
|
|
3594 |
if { (case "(($ac_try" in
|
|
3595 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3596 |
*) ac_try_echo=$ac_try;;
|
|
3597 |
esac
|
|
3598 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3599 |
$as_echo "$ac_try_echo") >&5
|
|
3600 |
(eval "$ac_try") 2>&5
|
|
3601 |
ac_status=$?
|
|
3602 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3603 |
(exit $ac_status); } &&
|
|
3604 |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
3605 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3606 |
*) ac_try_echo=$ac_try;;
|
|
3607 |
esac
|
|
3608 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3609 |
$as_echo "$ac_try_echo") >&5
|
|
3610 |
(eval "$ac_try") 2>&5
|
|
3611 |
ac_status=$?
|
|
3612 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3613 |
(exit $ac_status); };
|
|
3614 |
then
|
|
3615 |
# cc works too.
|
|
3616 |
:
|
|
3617 |
else
|
|
3618 |
# cc exists but doesn't like -o.
|
|
3619 |
eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
3620 |
fi
|
|
3621 |
fi
|
|
3622 |
fi
|
|
3623 |
else
|
|
3624 |
eval ac_cv_prog_cc_${ac_cc}_c_o=no
|
|
3625 |
fi
|
|
3626 |
rm -f core conftest*
|
|
3627 |
|
|
3628 |
fi
|
|
3629 |
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
|
|
3630 |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
3631 |
$as_echo "yes" >&6; }
|
|
3632 |
else
|
|
3633 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3634 |
$as_echo "no" >&6; }
|
|
3635 |
|
|
3636 |
cat >>confdefs.h <<\_ACEOF
|
|
3637 |
#define NO_MINUS_C_MINUS_O 1
|
|
3638 |
_ACEOF
|
|
3639 |
|
|
3640 |
fi
|
|
3641 |
|
|
3642 |
# FIXME: we rely on the cache variable name because
|
|
3643 |
# there is no other way.
|
|
3644 |
set dummy $CC
|
|
3645 |
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
|
3646 |
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
|
|
3647 |
if test "$am_t" != yes; then
|
|
3648 |
# Losing compiler, so override with the script.
|
|
3649 |
# FIXME: It is wrong to rewrite CC.
|
|
3650 |
# But if we don't then we get into trouble of one sort or another.
|
|
3651 |
# A longer-term fix would be to have automake use am__CC in this case,
|
|
3652 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
3653 |
CC="$am_aux_dir/compile $CC"
|
2889 | 3654 |
fi
|
2890 | 3655 |
|
2891 | 3656 |
|
|
2897 | 3662 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2898 | 3663 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2899 | 3664 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2900 | |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2901 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
|
3665 |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3666 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
2902 | 3667 |
# On Suns, sometimes $CPP names a directory.
|
2903 | 3668 |
if test -n "$CPP" && test -d "$CPP"; then
|
2904 | 3669 |
CPP=
|
2905 | 3670 |
fi
|
2906 | 3671 |
if test -z "$CPP"; then
|
2907 | 3672 |
if test "${ac_cv_prog_CPP+set}" = set; then
|
2908 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3673 |
$as_echo_n "(cached) " >&6
|
2909 | 3674 |
else
|
2910 | 3675 |
# Double quotes because CPP needs to be expanded
|
2911 | 3676 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
2932 | 3697 |
#endif
|
2933 | 3698 |
Syntax error
|
2934 | 3699 |
_ACEOF
|
2935 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2936 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3700 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3701 |
case "(($ac_try" in
|
|
3702 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3703 |
*) ac_try_echo=$ac_try;;
|
|
3704 |
esac
|
|
3705 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3706 |
$as_echo "$ac_try_echo") >&5
|
|
3707 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2937 | 3708 |
ac_status=$?
|
2938 | 3709 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2939 | 3710 |
rm -f conftest.er1
|
2940 | 3711 |
cat conftest.err >&5
|
2941 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2942 | |
(exit $ac_status); } >/dev/null; then
|
2943 | |
if test -s conftest.err; then
|
2944 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
2945 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2946 | |
else
|
2947 | |
ac_cpp_err=
|
2948 | |
fi
|
2949 | |
else
|
2950 | |
ac_cpp_err=yes
|
2951 | |
fi
|
2952 | |
if test -z "$ac_cpp_err"; then
|
|
3712 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3713 |
(exit $ac_status); } >/dev/null && {
|
|
3714 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3715 |
test ! -s conftest.err
|
|
3716 |
}; then
|
2953 | 3717 |
:
|
2954 | 3718 |
else
|
2955 | |
echo "$as_me: failed program was:" >&5
|
|
3719 |
$as_echo "$as_me: failed program was:" >&5
|
2956 | 3720 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2957 | 3721 |
|
2958 | 3722 |
# Broken: fails on valid input.
|
2959 | 3723 |
continue
|
2960 | 3724 |
fi
|
|
3725 |
|
2961 | 3726 |
rm -f conftest.err conftest.$ac_ext
|
2962 | 3727 |
|
2963 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3728 |
# OK, works on sane cases. Now check whether nonexistent headers
|
2964 | 3729 |
# can be detected and how.
|
2965 | 3730 |
cat >conftest.$ac_ext <<_ACEOF
|
2966 | 3731 |
/* confdefs.h. */
|
|
2970 | 3735 |
/* end confdefs.h. */
|
2971 | 3736 |
#include <ac_nonexistent.h>
|
2972 | 3737 |
_ACEOF
|
2973 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2974 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3738 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3739 |
case "(($ac_try" in
|
|
3740 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3741 |
*) ac_try_echo=$ac_try;;
|
|
3742 |
esac
|
|
3743 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3744 |
$as_echo "$ac_try_echo") >&5
|
|
3745 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2975 | 3746 |
ac_status=$?
|
2976 | 3747 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2977 | 3748 |
rm -f conftest.er1
|
2978 | 3749 |
cat conftest.err >&5
|
2979 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2980 | |
(exit $ac_status); } >/dev/null; then
|
2981 | |
if test -s conftest.err; then
|
2982 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
2983 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2984 | |
else
|
2985 | |
ac_cpp_err=
|
2986 | |
fi
|
2987 | |
else
|
2988 | |
ac_cpp_err=yes
|
2989 | |
fi
|
2990 | |
if test -z "$ac_cpp_err"; then
|
|
3750 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3751 |
(exit $ac_status); } >/dev/null && {
|
|
3752 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3753 |
test ! -s conftest.err
|
|
3754 |
}; then
|
2991 | 3755 |
# Broken: success on invalid input.
|
2992 | 3756 |
continue
|
2993 | 3757 |
else
|
2994 | |
echo "$as_me: failed program was:" >&5
|
|
3758 |
$as_echo "$as_me: failed program was:" >&5
|
2995 | 3759 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2996 | 3760 |
|
2997 | 3761 |
# Passes both tests.
|
2998 | 3762 |
ac_preproc_ok=:
|
2999 | 3763 |
break
|
3000 | 3764 |
fi
|
|
3765 |
|
3001 | 3766 |
rm -f conftest.err conftest.$ac_ext
|
3002 | 3767 |
|
3003 | 3768 |
done
|
|
3015 | 3780 |
else
|
3016 | 3781 |
ac_cv_prog_CPP=$CPP
|
3017 | 3782 |
fi
|
3018 | |
echo "$as_me:$LINENO: result: $CPP" >&5
|
3019 | |
echo "${ECHO_T}$CPP" >&6
|
|
3783 |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3784 |
$as_echo "$CPP" >&6; }
|
3020 | 3785 |
ac_preproc_ok=false
|
3021 | 3786 |
for ac_c_preproc_warn_flag in '' yes
|
3022 | 3787 |
do
|
|
3039 | 3804 |
#endif
|
3040 | 3805 |
Syntax error
|
3041 | 3806 |
_ACEOF
|
3042 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3043 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3807 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3808 |
case "(($ac_try" in
|
|
3809 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3810 |
*) ac_try_echo=$ac_try;;
|
|
3811 |
esac
|
|
3812 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3813 |
$as_echo "$ac_try_echo") >&5
|
|
3814 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3044 | 3815 |
ac_status=$?
|
3045 | 3816 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3046 | 3817 |
rm -f conftest.er1
|
3047 | 3818 |
cat conftest.err >&5
|
3048 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3049 | |
(exit $ac_status); } >/dev/null; then
|
3050 | |
if test -s conftest.err; then
|
3051 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
3052 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3053 | |
else
|
3054 | |
ac_cpp_err=
|
3055 | |
fi
|
3056 | |
else
|
3057 | |
ac_cpp_err=yes
|
3058 | |
fi
|
3059 | |
if test -z "$ac_cpp_err"; then
|
|
3819 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3820 |
(exit $ac_status); } >/dev/null && {
|
|
3821 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3822 |
test ! -s conftest.err
|
|
3823 |
}; then
|
3060 | 3824 |
:
|
3061 | 3825 |
else
|
3062 | |
echo "$as_me: failed program was:" >&5
|
|
3826 |
$as_echo "$as_me: failed program was:" >&5
|
3063 | 3827 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3064 | 3828 |
|
3065 | 3829 |
# Broken: fails on valid input.
|
3066 | 3830 |
continue
|
3067 | 3831 |
fi
|
|
3832 |
|
3068 | 3833 |
rm -f conftest.err conftest.$ac_ext
|
3069 | 3834 |
|
3070 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3835 |
# OK, works on sane cases. Now check whether nonexistent headers
|
3071 | 3836 |
# can be detected and how.
|
3072 | 3837 |
cat >conftest.$ac_ext <<_ACEOF
|
3073 | 3838 |
/* confdefs.h. */
|
|
3077 | 3842 |
/* end confdefs.h. */
|
3078 | 3843 |
#include <ac_nonexistent.h>
|
3079 | 3844 |
_ACEOF
|
3080 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3081 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3845 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3846 |
case "(($ac_try" in
|
|
3847 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3848 |
*) ac_try_echo=$ac_try;;
|
|
3849 |
esac
|
|
3850 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
3851 |
$as_echo "$ac_try_echo") >&5
|
|
3852 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3082 | 3853 |
ac_status=$?
|
3083 | 3854 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3084 | 3855 |
rm -f conftest.er1
|
3085 | 3856 |
cat conftest.err >&5
|
3086 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3087 | |
(exit $ac_status); } >/dev/null; then
|
3088 | |
if test -s conftest.err; then
|
3089 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
3090 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3091 | |
else
|
3092 | |
ac_cpp_err=
|
3093 | |
fi
|
3094 | |
else
|
3095 | |
ac_cpp_err=yes
|
3096 | |
fi
|
3097 | |
if test -z "$ac_cpp_err"; then
|
|
3857 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3858 |
(exit $ac_status); } >/dev/null && {
|
|
3859 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3860 |
test ! -s conftest.err
|
|
3861 |
}; then
|
3098 | 3862 |
# Broken: success on invalid input.
|
3099 | 3863 |
continue
|
3100 | 3864 |
else
|
3101 | |
echo "$as_me: failed program was:" >&5
|
|
3865 |
$as_echo "$as_me: failed program was:" >&5
|
3102 | 3866 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3103 | 3867 |
|
3104 | 3868 |
# Passes both tests.
|
3105 | 3869 |
ac_preproc_ok=:
|
3106 | 3870 |
break
|
3107 | 3871 |
fi
|
|
3872 |
|
3108 | 3873 |
rm -f conftest.err conftest.$ac_ext
|
3109 | 3874 |
|
3110 | 3875 |
done
|
|
3113 | 3878 |
if $ac_preproc_ok; then
|
3114 | 3879 |
:
|
3115 | 3880 |
else
|
3116 | |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
|
3881 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3882 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3883 |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3117 | 3884 |
See \`config.log' for more details." >&5
|
3118 | |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
|
3885 |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3119 | 3886 |
See \`config.log' for more details." >&2;}
|
3120 | |
{ (exit 1); exit 1; }; }
|
|
3887 |
{ (exit 1); exit 1; }; }; }
|
3121 | 3888 |
fi
|
3122 | 3889 |
|
3123 | 3890 |
ac_ext=c
|
|
3127 | 3894 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3128 | 3895 |
|
3129 | 3896 |
|
3130 | |
echo "$as_me:$LINENO: checking for egrep" >&5
|
3131 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
3132 | |
if test "${ac_cv_prog_egrep+set}" = set; then
|
3133 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3134 | |
else
|
3135 | |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
3136 | |
then ac_cv_prog_egrep='grep -E'
|
3137 | |
else ac_cv_prog_egrep='egrep'
|
|
3897 |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
3898 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
|
3899 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3900 |
$as_echo_n "(cached) " >&6
|
|
3901 |
else
|
|
3902 |
if test -z "$GREP"; then
|
|
3903 |
ac_path_GREP_found=false
|
|
3904 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3905 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3906 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3907 |
do
|
|
3908 |
IFS=$as_save_IFS
|
|
3909 |
test -z "$as_dir" && as_dir=.
|
|
3910 |
for ac_prog in grep ggrep; do
|
|
3911 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3912 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3913 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
3914 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
3915 |
# Check for GNU $ac_path_GREP
|
|
3916 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
3917 |
*GNU*)
|
|
3918 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
3919 |
*)
|
|
3920 |
ac_count=0
|
|
3921 |
$as_echo_n 0123456789 >"conftest.in"
|
|
3922 |
while :
|
|
3923 |
do
|
|
3924 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3925 |
mv "conftest.tmp" "conftest.in"
|
|
3926 |
cp "conftest.in" "conftest.nl"
|
|
3927 |
$as_echo 'GREP' >> "conftest.nl"
|
|
3928 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3929 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3930 |
ac_count=`expr $ac_count + 1`
|
|
3931 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
3932 |
# Best one so far, save it but keep looking for a better one
|
|
3933 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3934 |
ac_path_GREP_max=$ac_count
|
3138 | 3935 |
fi
|
3139 | |
fi
|
3140 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
3141 | |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
3142 | |
EGREP=$ac_cv_prog_egrep
|
3143 | |
|
3144 | |
|
3145 | |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3146 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
|
3936 |
# 10*(2^10) chars as input seems more than enough
|
|
3937 |
test $ac_count -gt 10 && break
|
|
3938 |
done
|
|
3939 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3940 |
esac
|
|
3941 |
|
|
3942 |
$ac_path_GREP_found && break 3
|
|
3943 |
done
|
|
3944 |
done
|
|
3945 |
done
|
|
3946 |
IFS=$as_save_IFS
|
|
3947 |
if test -z "$ac_cv_path_GREP"; then
|
|
3948 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3949 |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3950 |
{ (exit 1); exit 1; }; }
|
|
3951 |
fi
|
|
3952 |
else
|
|
3953 |
ac_cv_path_GREP=$GREP
|
|
3954 |
fi
|
|
3955 |
|
|
3956 |
fi
|
|
3957 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
3958 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
|
3959 |
GREP="$ac_cv_path_GREP"
|
|
3960 |
|
|
3961 |
|
|
3962 |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
|
3963 |
$as_echo_n "checking for egrep... " >&6; }
|
|
3964 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3965 |
$as_echo_n "(cached) " >&6
|
|
3966 |
else
|
|
3967 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
3968 |
then ac_cv_path_EGREP="$GREP -E"
|
|
3969 |
else
|
|
3970 |
if test -z "$EGREP"; then
|
|
3971 |
ac_path_EGREP_found=false
|
|
3972 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3973 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3974 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3975 |
do
|
|
3976 |
IFS=$as_save_IFS
|
|
3977 |
test -z "$as_dir" && as_dir=.
|
|
3978 |
for ac_prog in egrep; do
|
|
3979 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3980 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3981 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
3982 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
3983 |
# Check for GNU $ac_path_EGREP
|
|
3984 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
3985 |
*GNU*)
|
|
3986 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
3987 |
*)
|
|
3988 |
ac_count=0
|
|
3989 |
$as_echo_n 0123456789 >"conftest.in"
|
|
3990 |
while :
|
|
3991 |
do
|
|
3992 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3993 |
mv "conftest.tmp" "conftest.in"
|
|
3994 |
cp "conftest.in" "conftest.nl"
|
|
3995 |
$as_echo 'EGREP' >> "conftest.nl"
|
|
3996 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3997 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3998 |
ac_count=`expr $ac_count + 1`
|
|
3999 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
4000 |
# Best one so far, save it but keep looking for a better one
|
|
4001 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4002 |
ac_path_EGREP_max=$ac_count
|
|
4003 |
fi
|
|
4004 |
# 10*(2^10) chars as input seems more than enough
|
|
4005 |
test $ac_count -gt 10 && break
|
|
4006 |
done
|
|
4007 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4008 |
esac
|
|
4009 |
|
|
4010 |
$ac_path_EGREP_found && break 3
|
|
4011 |
done
|
|
4012 |
done
|
|
4013 |
done
|
|
4014 |
IFS=$as_save_IFS
|
|
4015 |
if test -z "$ac_cv_path_EGREP"; then
|
|
4016 |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
4017 |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
4018 |
{ (exit 1); exit 1; }; }
|
|
4019 |
fi
|
|
4020 |
else
|
|
4021 |
ac_cv_path_EGREP=$EGREP
|
|
4022 |
fi
|
|
4023 |
|
|
4024 |
fi
|
|
4025 |
fi
|
|
4026 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
4027 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
|
4028 |
EGREP="$ac_cv_path_EGREP"
|
|
4029 |
|
|
4030 |
|
|
4031 |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
4032 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
3147 | 4033 |
if test "${ac_cv_header_stdc+set}" = set; then
|
3148 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4034 |
$as_echo_n "(cached) " >&6
|
3149 | 4035 |
else
|
3150 | 4036 |
cat >conftest.$ac_ext <<_ACEOF
|
3151 | 4037 |
/* confdefs.h. */
|
|
3167 | 4053 |
}
|
3168 | 4054 |
_ACEOF
|
3169 | 4055 |
rm -f conftest.$ac_objext
|
3170 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3171 | |
(eval $ac_compile) 2>conftest.er1
|
|
4056 |
if { (ac_try="$ac_compile"
|
|
4057 |
case "(($ac_try" in
|
|
4058 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4059 |
*) ac_try_echo=$ac_try;;
|
|
4060 |
esac
|
|
4061 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4062 |
$as_echo "$ac_try_echo") >&5
|
|
4063 |
(eval "$ac_compile") 2>conftest.er1
|
3172 | 4064 |
ac_status=$?
|
3173 | 4065 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3174 | 4066 |
rm -f conftest.er1
|
3175 | 4067 |
cat conftest.err >&5
|
3176 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3177 | |
(exit $ac_status); } &&
|
3178 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3179 | |
|| test ! -s conftest.err'
|
3180 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3181 | |
(eval $ac_try) 2>&5
|
3182 | |
ac_status=$?
|
3183 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3184 | |
(exit $ac_status); }; } &&
|
3185 | |
{ ac_try='test -s conftest.$ac_objext'
|
3186 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3187 | |
(eval $ac_try) 2>&5
|
3188 | |
ac_status=$?
|
3189 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3190 | |
(exit $ac_status); }; }; then
|
|
4068 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4069 |
(exit $ac_status); } && {
|
|
4070 |
test -z "$ac_c_werror_flag" ||
|
|
4071 |
test ! -s conftest.err
|
|
4072 |
} && test -s conftest.$ac_objext; then
|
3191 | 4073 |
ac_cv_header_stdc=yes
|
3192 | 4074 |
else
|
3193 | |
echo "$as_me: failed program was:" >&5
|
|
4075 |
$as_echo "$as_me: failed program was:" >&5
|
3194 | 4076 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3195 | 4077 |
|
3196 | |
ac_cv_header_stdc=no
|
3197 | |
fi
|
3198 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4078 |
ac_cv_header_stdc=no
|
|
4079 |
fi
|
|
4080 |
|
|
4081 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3199 | 4082 |
|
3200 | 4083 |
if test $ac_cv_header_stdc = yes; then
|
3201 | 4084 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
3251 | 4134 |
cat >>conftest.$ac_ext <<_ACEOF
|
3252 | 4135 |
/* end confdefs.h. */
|
3253 | 4136 |
#include <ctype.h>
|
|
4137 |
#include <stdlib.h>
|
3254 | 4138 |
#if ((' ' & 0x0FF) == 0x020)
|
3255 | 4139 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3256 | 4140 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
3270 | 4154 |
for (i = 0; i < 256; i++)
|
3271 | 4155 |
if (XOR (islower (i), ISLOWER (i))
|
3272 | 4156 |
|| toupper (i) != TOUPPER (i))
|
3273 | |
exit(2);
|
3274 | |
exit (0);
|
|
4157 |
return 2;
|
|
4158 |
return 0;
|
3275 | 4159 |
}
|
3276 | 4160 |
_ACEOF
|
3277 | 4161 |
rm -f conftest$ac_exeext
|
3278 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3279 | |
(eval $ac_link) 2>&5
|
|
4162 |
if { (ac_try="$ac_link"
|
|
4163 |
case "(($ac_try" in
|
|
4164 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4165 |
*) ac_try_echo=$ac_try;;
|
|
4166 |
esac
|
|
4167 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4168 |
$as_echo "$ac_try_echo") >&5
|
|
4169 |
(eval "$ac_link") 2>&5
|
3280 | 4170 |
ac_status=$?
|
3281 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4171 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3282 | 4172 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3283 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3284 | |
(eval $ac_try) 2>&5
|
|
4173 |
{ (case "(($ac_try" in
|
|
4174 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4175 |
*) ac_try_echo=$ac_try;;
|
|
4176 |
esac
|
|
4177 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4178 |
$as_echo "$ac_try_echo") >&5
|
|
4179 |
(eval "$ac_try") 2>&5
|
3285 | 4180 |
ac_status=$?
|
3286 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4181 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3287 | 4182 |
(exit $ac_status); }; }; then
|
3288 | 4183 |
:
|
3289 | 4184 |
else
|
3290 | |
echo "$as_me: program exited with status $ac_status" >&5
|
3291 | |
echo "$as_me: failed program was:" >&5
|
|
4185 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
4186 |
$as_echo "$as_me: failed program was:" >&5
|
3292 | 4187 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3293 | 4188 |
|
3294 | 4189 |
( exit $ac_status )
|
3295 | 4190 |
ac_cv_header_stdc=no
|
3296 | 4191 |
fi
|
3297 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3298 | |
fi
|
3299 | |
fi
|
3300 | |
fi
|
3301 | |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3302 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
|
4192 |
rm -rf conftest.dSYM
|
|
4193 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
4194 |
fi
|
|
4195 |
|
|
4196 |
|
|
4197 |
fi
|
|
4198 |
fi
|
|
4199 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4200 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
3303 | 4201 |
if test $ac_cv_header_stdc = yes; then
|
3304 | 4202 |
|
3305 | 4203 |
cat >>confdefs.h <<\_ACEOF
|
|
3310 | 4208 |
|
3311 | 4209 |
|
3312 | 4210 |
|
3313 | |
echo "$as_me:$LINENO: checking for sin in -lm" >&5
|
3314 | |
echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
|
|
4211 |
{ $as_echo "$as_me:$LINENO: checking for sin in -lm" >&5
|
|
4212 |
$as_echo_n "checking for sin in -lm... " >&6; }
|
3315 | 4213 |
if test "${ac_cv_lib_m_sin+set}" = set; then
|
3316 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4214 |
$as_echo_n "(cached) " >&6
|
3317 | 4215 |
else
|
3318 | 4216 |
ac_check_lib_save_LIBS=$LIBS
|
3319 | 4217 |
LIBS="-lm $LIBS"
|
|
3324 | 4222 |
cat >>conftest.$ac_ext <<_ACEOF
|
3325 | 4223 |
/* end confdefs.h. */
|
3326 | 4224 |
|
3327 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4225 |
/* Override any GCC internal prototype to avoid an error.
|
|
4226 |
Use char because int might match the return type of a GCC
|
|
4227 |
builtin and then its argument prototype would still apply. */
|
3328 | 4228 |
#ifdef __cplusplus
|
3329 | 4229 |
extern "C"
|
3330 | 4230 |
#endif
|
3331 | |
/* We use char because int might match the return type of a gcc2
|
3332 | |
builtin and then its argument prototype would still apply. */
|
3333 | 4231 |
char sin ();
|
3334 | 4232 |
int
|
3335 | 4233 |
main ()
|
3336 | 4234 |
{
|
3337 | |
sin ();
|
|
4235 |
return sin ();
|
3338 | 4236 |
;
|
3339 | 4237 |
return 0;
|
3340 | 4238 |
}
|
3341 | 4239 |
_ACEOF
|
3342 | 4240 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3343 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3344 | |
(eval $ac_link) 2>conftest.er1
|
|
4241 |
if { (ac_try="$ac_link"
|
|
4242 |
case "(($ac_try" in
|
|
4243 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4244 |
*) ac_try_echo=$ac_try;;
|
|
4245 |
esac
|
|
4246 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4247 |
$as_echo "$ac_try_echo") >&5
|
|
4248 |
(eval "$ac_link") 2>conftest.er1
|
3345 | 4249 |
ac_status=$?
|
3346 | 4250 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3347 | 4251 |
rm -f conftest.er1
|
3348 | 4252 |
cat conftest.err >&5
|
3349 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3350 | |
(exit $ac_status); } &&
|
3351 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3352 | |
|| test ! -s conftest.err'
|
3353 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3354 | |
(eval $ac_try) 2>&5
|
3355 | |
ac_status=$?
|
3356 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3357 | |
(exit $ac_status); }; } &&
|
3358 | |
{ ac_try='test -s conftest$ac_exeext'
|
3359 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3360 | |
(eval $ac_try) 2>&5
|
3361 | |
ac_status=$?
|
3362 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3363 | |
(exit $ac_status); }; }; then
|
|
4253 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4254 |
(exit $ac_status); } && {
|
|
4255 |
test -z "$ac_c_werror_flag" ||
|
|
4256 |
test ! -s conftest.err
|
|
4257 |
} && test -s conftest$ac_exeext && {
|
|
4258 |
test "$cross_compiling" = yes ||
|
|
4259 |
$as_test_x conftest$ac_exeext
|
|
4260 |
}; then
|
3364 | 4261 |
ac_cv_lib_m_sin=yes
|
3365 | 4262 |
else
|
3366 | |
echo "$as_me: failed program was:" >&5
|
|
4263 |
$as_echo "$as_me: failed program was:" >&5
|
3367 | 4264 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3368 | 4265 |
|
3369 | |
ac_cv_lib_m_sin=no
|
3370 | |
fi
|
3371 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4266 |
ac_cv_lib_m_sin=no
|
|
4267 |
fi
|
|
4268 |
|
|
4269 |
rm -rf conftest.dSYM
|
|
4270 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3372 | 4271 |
conftest$ac_exeext conftest.$ac_ext
|
3373 | 4272 |
LIBS=$ac_check_lib_save_LIBS
|
3374 | 4273 |
fi
|
3375 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
|
3376 | |
echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
|
3377 | |
if test $ac_cv_lib_m_sin = yes; then
|
|
4274 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
|
|
4275 |
$as_echo "$ac_cv_lib_m_sin" >&6; }
|
|
4276 |
if test "x$ac_cv_lib_m_sin" = x""yes; then
|
3378 | 4277 |
cat >>confdefs.h <<_ACEOF
|
3379 | 4278 |
#define HAVE_LIBM 1
|
3380 | 4279 |
_ACEOF
|
|
3386 | 4285 |
|
3387 | 4286 |
for ac_func in snprintf
|
3388 | 4287 |
do
|
3389 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
3390 | |
echo "$as_me:$LINENO: checking for $ac_func" >&5
|
3391 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
|
3392 | |
if eval "test \"\${$as_ac_var+set}\" = set"; then
|
3393 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4288 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
4289 |
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
|
|
4290 |
$as_echo_n "checking for $ac_func... " >&6; }
|
|
4291 |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4292 |
$as_echo_n "(cached) " >&6
|
3394 | 4293 |
else
|
3395 | 4294 |
cat >conftest.$ac_ext <<_ACEOF
|
3396 | 4295 |
/* confdefs.h. */
|
|
3415 | 4314 |
|
3416 | 4315 |
#undef $ac_func
|
3417 | 4316 |
|
3418 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4317 |
/* Override any GCC internal prototype to avoid an error.
|
|
4318 |
Use char because int might match the return type of a GCC
|
|
4319 |
builtin and then its argument prototype would still apply. */
|
3419 | 4320 |
#ifdef __cplusplus
|
3420 | 4321 |
extern "C"
|
3421 | |
{
|
3422 | 4322 |
#endif
|
3423 | |
/* We use char because int might match the return type of a gcc2
|
3424 | |
builtin and then its argument prototype would still apply. */
|
3425 | 4323 |
char $ac_func ();
|
3426 | 4324 |
/* The GNU C library defines this for functions which it implements
|
3427 | 4325 |
to always fail with ENOSYS. Some functions are actually named
|
3428 | 4326 |
something starting with __ and the normal name is an alias. */
|
3429 | |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
4327 |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
3430 | 4328 |
choke me
|
3431 | |
#else
|
3432 | |
char (*f) () = $ac_func;
|
3433 | |
#endif
|
3434 | |
#ifdef __cplusplus
|
3435 | |
}
|
3436 | 4329 |
#endif
|
3437 | 4330 |
|
3438 | 4331 |
int
|
3439 | 4332 |
main ()
|
3440 | 4333 |
{
|
3441 | |
return f != $ac_func;
|
|
4334 |
return $ac_func ();
|
3442 | 4335 |
;
|
3443 | 4336 |
return 0;
|
3444 | 4337 |
}
|
3445 | 4338 |
_ACEOF
|
3446 | 4339 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3447 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3448 | |
(eval $ac_link) 2>conftest.er1
|
|
4340 |
if { (ac_try="$ac_link"
|
|
4341 |
case "(($ac_try" in
|
|
4342 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4343 |
*) ac_try_echo=$ac_try;;
|
|
4344 |
esac
|
|
4345 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4346 |
$as_echo "$ac_try_echo") >&5
|
|
4347 |
(eval "$ac_link") 2>conftest.er1
|
3449 | 4348 |
ac_status=$?
|
3450 | 4349 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3451 | 4350 |
rm -f conftest.er1
|
3452 | 4351 |
cat conftest.err >&5
|
3453 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3454 | |
(exit $ac_status); } &&
|
3455 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3456 | |
|| test ! -s conftest.err'
|
3457 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3458 | |
(eval $ac_try) 2>&5
|
3459 | |
ac_status=$?
|
3460 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3461 | |
(exit $ac_status); }; } &&
|
3462 | |
{ ac_try='test -s conftest$ac_exeext'
|
3463 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3464 | |
(eval $ac_try) 2>&5
|
3465 | |
ac_status=$?
|
3466 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3467 | |
(exit $ac_status); }; }; then
|
|
4352 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4353 |
(exit $ac_status); } && {
|
|
4354 |
test -z "$ac_c_werror_flag" ||
|
|
4355 |
test ! -s conftest.err
|
|
4356 |
} && test -s conftest$ac_exeext && {
|
|
4357 |
test "$cross_compiling" = yes ||
|
|
4358 |
$as_test_x conftest$ac_exeext
|
|
4359 |
}; then
|
3468 | 4360 |
eval "$as_ac_var=yes"
|
3469 | 4361 |
else
|
3470 | |
echo "$as_me: failed program was:" >&5
|
|
4362 |
$as_echo "$as_me: failed program was:" >&5
|
3471 | 4363 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3472 | 4364 |
|
3473 | |
eval "$as_ac_var=no"
|
3474 | |
fi
|
3475 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4365 |
eval "$as_ac_var=no"
|
|
4366 |
fi
|
|
4367 |
|
|
4368 |
rm -rf conftest.dSYM
|
|
4369 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3476 | 4370 |
conftest$ac_exeext conftest.$ac_ext
|
3477 | 4371 |
fi
|
3478 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
|
3479 | |
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
|
3480 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
4372 |
ac_res=`eval 'as_val=${'$as_ac_var'}
|
|
4373 |
$as_echo "$as_val"'`
|
|
4374 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4375 |
$as_echo "$ac_res" >&6; }
|
|
4376 |
as_val=`eval 'as_val=${'$as_ac_var'}
|
|
4377 |
$as_echo "$as_val"'`
|
|
4378 |
if test "x$as_val" = x""yes; then
|
3481 | 4379 |
cat >>confdefs.h <<_ACEOF
|
3482 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
4380 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
3483 | 4381 |
_ACEOF
|
3484 | 4382 |
|
3485 | 4383 |
fi
|
|
3506 | 4404 |
H5TOPNG=yes
|
3507 | 4405 |
PNG_LIBS=""
|
3508 | 4406 |
|
3509 | |
echo "$as_me:$LINENO: checking for inflate in -lz" >&5
|
3510 | |
echo $ECHO_N "checking for inflate in -lz... $ECHO_C" >&6
|
|
4407 |
{ $as_echo "$as_me:$LINENO: checking for inflate in -lz" >&5
|
|
4408 |
$as_echo_n "checking for inflate in -lz... " >&6; }
|
3511 | 4409 |
if test "${ac_cv_lib_z_inflate+set}" = set; then
|
3512 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4410 |
$as_echo_n "(cached) " >&6
|
3513 | 4411 |
else
|
3514 | 4412 |
ac_check_lib_save_LIBS=$LIBS
|
3515 | 4413 |
LIBS="-lz $LIBS"
|
|
3520 | 4418 |
cat >>conftest.$ac_ext <<_ACEOF
|
3521 | 4419 |
/* end confdefs.h. */
|
3522 | 4420 |
|
3523 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4421 |
/* Override any GCC internal prototype to avoid an error.
|
|
4422 |
Use char because int might match the return type of a GCC
|
|
4423 |
builtin and then its argument prototype would still apply. */
|
3524 | 4424 |
#ifdef __cplusplus
|
3525 | 4425 |
extern "C"
|
3526 | 4426 |
#endif
|
3527 | |
/* We use char because int might match the return type of a gcc2
|
3528 | |
builtin and then its argument prototype would still apply. */
|
3529 | 4427 |
char inflate ();
|
3530 | 4428 |
int
|
3531 | 4429 |
main ()
|
3532 | 4430 |
{
|
3533 | |
inflate ();
|
|
4431 |
return inflate ();
|
3534 | 4432 |
;
|
3535 | 4433 |
return 0;
|
3536 | 4434 |
}
|
3537 | 4435 |
_ACEOF
|
3538 | 4436 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3539 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3540 | |
(eval $ac_link) 2>conftest.er1
|
|
4437 |
if { (ac_try="$ac_link"
|
|
4438 |
case "(($ac_try" in
|
|
4439 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4440 |
*) ac_try_echo=$ac_try;;
|
|
4441 |
esac
|
|
4442 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4443 |
$as_echo "$ac_try_echo") >&5
|
|
4444 |
(eval "$ac_link") 2>conftest.er1
|
3541 | 4445 |
ac_status=$?
|
3542 | 4446 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3543 | 4447 |
rm -f conftest.er1
|
3544 | 4448 |
cat conftest.err >&5
|
3545 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3546 | |
(exit $ac_status); } &&
|
3547 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3548 | |
|| test ! -s conftest.err'
|
3549 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3550 | |
(eval $ac_try) 2>&5
|
3551 | |
ac_status=$?
|
3552 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3553 | |
(exit $ac_status); }; } &&
|
3554 | |
{ ac_try='test -s conftest$ac_exeext'
|
3555 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3556 | |
(eval $ac_try) 2>&5
|
3557 | |
ac_status=$?
|
3558 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3559 | |
(exit $ac_status); }; }; then
|
|
4449 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4450 |
(exit $ac_status); } && {
|
|
4451 |
test -z "$ac_c_werror_flag" ||
|
|
4452 |
test ! -s conftest.err
|
|
4453 |
} && test -s conftest$ac_exeext && {
|
|
4454 |
test "$cross_compiling" = yes ||
|
|
4455 |
$as_test_x conftest$ac_exeext
|
|
4456 |
}; then
|
3560 | 4457 |
ac_cv_lib_z_inflate=yes
|
3561 | 4458 |
else
|
3562 | |
echo "$as_me: failed program was:" >&5
|
|
4459 |
$as_echo "$as_me: failed program was:" >&5
|
3563 | 4460 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3564 | 4461 |
|
3565 | |
ac_cv_lib_z_inflate=no
|
3566 | |
fi
|
3567 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4462 |
ac_cv_lib_z_inflate=no
|
|
4463 |
fi
|
|
4464 |
|
|
4465 |
rm -rf conftest.dSYM
|
|
4466 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3568 | 4467 |
conftest$ac_exeext conftest.$ac_ext
|
3569 | 4468 |
LIBS=$ac_check_lib_save_LIBS
|
3570 | 4469 |
fi
|
3571 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
|
3572 | |
echo "${ECHO_T}$ac_cv_lib_z_inflate" >&6
|
3573 | |
if test $ac_cv_lib_z_inflate = yes; then
|
|
4470 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflate" >&5
|
|
4471 |
$as_echo "$ac_cv_lib_z_inflate" >&6; }
|
|
4472 |
if test "x$ac_cv_lib_z_inflate" = x""yes; then
|
3574 | 4473 |
ok=yes
|
3575 | 4474 |
else
|
3576 | 4475 |
ok=no
|
|
3579 | 4478 |
if test "$ok" = "yes"; then
|
3580 | 4479 |
LIBS="-lz $LIBS"
|
3581 | 4480 |
|
3582 | |
echo "$as_me:$LINENO: checking for png_create_write_struct in -lpng" >&5
|
3583 | |
echo $ECHO_N "checking for png_create_write_struct in -lpng... $ECHO_C" >&6
|
|
4481 |
{ $as_echo "$as_me:$LINENO: checking for png_create_write_struct in -lpng" >&5
|
|
4482 |
$as_echo_n "checking for png_create_write_struct in -lpng... " >&6; }
|
3584 | 4483 |
if test "${ac_cv_lib_png_png_create_write_struct+set}" = set; then
|
3585 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4484 |
$as_echo_n "(cached) " >&6
|
3586 | 4485 |
else
|
3587 | 4486 |
ac_check_lib_save_LIBS=$LIBS
|
3588 | 4487 |
LIBS="-lpng $LIBS"
|
|
3593 | 4492 |
cat >>conftest.$ac_ext <<_ACEOF
|
3594 | 4493 |
/* end confdefs.h. */
|
3595 | 4494 |
|
3596 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4495 |
/* Override any GCC internal prototype to avoid an error.
|
|
4496 |
Use char because int might match the return type of a GCC
|
|
4497 |
builtin and then its argument prototype would still apply. */
|
3597 | 4498 |
#ifdef __cplusplus
|
3598 | 4499 |
extern "C"
|
3599 | 4500 |
#endif
|
3600 | |
/* We use char because int might match the return type of a gcc2
|
3601 | |
builtin and then its argument prototype would still apply. */
|
3602 | 4501 |
char png_create_write_struct ();
|
3603 | 4502 |
int
|
3604 | 4503 |
main ()
|
3605 | 4504 |
{
|
3606 | |
png_create_write_struct ();
|
|
4505 |
return png_create_write_struct ();
|
3607 | 4506 |
;
|
3608 | 4507 |
return 0;
|
3609 | 4508 |
}
|
3610 | 4509 |
_ACEOF
|
3611 | 4510 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3612 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3613 | |
(eval $ac_link) 2>conftest.er1
|
|
4511 |
if { (ac_try="$ac_link"
|
|
4512 |
case "(($ac_try" in
|
|
4513 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4514 |
*) ac_try_echo=$ac_try;;
|
|
4515 |
esac
|
|
4516 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4517 |
$as_echo "$ac_try_echo") >&5
|
|
4518 |
(eval "$ac_link") 2>conftest.er1
|
3614 | 4519 |
ac_status=$?
|
3615 | 4520 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3616 | 4521 |
rm -f conftest.er1
|
3617 | 4522 |
cat conftest.err >&5
|
3618 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3619 | |
(exit $ac_status); } &&
|
3620 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3621 | |
|| test ! -s conftest.err'
|
3622 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3623 | |
(eval $ac_try) 2>&5
|
3624 | |
ac_status=$?
|
3625 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3626 | |
(exit $ac_status); }; } &&
|
3627 | |
{ ac_try='test -s conftest$ac_exeext'
|
3628 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3629 | |
(eval $ac_try) 2>&5
|
3630 | |
ac_status=$?
|
3631 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3632 | |
(exit $ac_status); }; }; then
|
|
4523 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4524 |
(exit $ac_status); } && {
|
|
4525 |
test -z "$ac_c_werror_flag" ||
|
|
4526 |
test ! -s conftest.err
|
|
4527 |
} && test -s conftest$ac_exeext && {
|
|
4528 |
test "$cross_compiling" = yes ||
|
|
4529 |
$as_test_x conftest$ac_exeext
|
|
4530 |
}; then
|
3633 | 4531 |
ac_cv_lib_png_png_create_write_struct=yes
|
3634 | 4532 |
else
|
3635 | |
echo "$as_me: failed program was:" >&5
|
|
4533 |
$as_echo "$as_me: failed program was:" >&5
|
3636 | 4534 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3637 | 4535 |
|
3638 | |
ac_cv_lib_png_png_create_write_struct=no
|
3639 | |
fi
|
3640 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4536 |
ac_cv_lib_png_png_create_write_struct=no
|
|
4537 |
fi
|
|
4538 |
|
|
4539 |
rm -rf conftest.dSYM
|
|
4540 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3641 | 4541 |
conftest$ac_exeext conftest.$ac_ext
|
3642 | 4542 |
LIBS=$ac_check_lib_save_LIBS
|
3643 | 4543 |
fi
|
3644 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_write_struct" >&5
|
3645 | |
echo "${ECHO_T}$ac_cv_lib_png_png_create_write_struct" >&6
|
3646 | |
if test $ac_cv_lib_png_png_create_write_struct = yes; then
|
|
4544 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_create_write_struct" >&5
|
|
4545 |
$as_echo "$ac_cv_lib_png_png_create_write_struct" >&6; }
|
|
4546 |
if test "x$ac_cv_lib_png_png_create_write_struct" = x""yes; then
|
3647 | 4547 |
ok=yes
|
3648 | 4548 |
else
|
3649 | 4549 |
ok=no
|
|
3652 | 4552 |
if test "$ok" = "yes"; then
|
3653 | 4553 |
PNG_LIBS="-lpng"
|
3654 | 4554 |
else
|
3655 | |
{ echo "$as_me:$LINENO: WARNING: can't find libpng: won't be able to compile h5topng" >&5
|
3656 | |
echo "$as_me: WARNING: can't find libpng: won't be able to compile h5topng" >&2;}
|
|
4555 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find libpng: won't be able to compile h5topng" >&5
|
|
4556 |
$as_echo "$as_me: WARNING: can't find libpng: won't be able to compile h5topng" >&2;}
|
3657 | 4557 |
H5TOPNG=no
|
3658 | 4558 |
fi
|
3659 | 4559 |
else
|
3660 | |
{ echo "$as_me:$LINENO: WARNING: can't find libz: won't be able to compile h5topng" >&5
|
3661 | |
echo "$as_me: WARNING: can't find libz: won't be able to compile h5topng" >&2;}
|
|
4560 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find libz: won't be able to compile h5topng" >&5
|
|
4561 |
$as_echo "$as_me: WARNING: can't find libz: won't be able to compile h5topng" >&2;}
|
3662 | 4562 |
H5TOPNG=no
|
3663 | 4563 |
fi
|
3664 | 4564 |
|
3665 | 4565 |
if test $H5TOPNG = yes; then
|
3666 | |
MORE_H5UTILS="h5topng $MORE_H5UTILS"
|
|
4566 |
MORE_H5UTILS="h5topng\$(EXEEXT) $MORE_H5UTILS"
|
3667 | 4567 |
H5TOPNG_MAN=h5topng.1
|
3668 | 4568 |
fi
|
3669 | 4569 |
|
|
3672 | 4572 |
|
3673 | 4573 |
###########################################################################
|
3674 | 4574 |
|
3675 | |
echo "$as_me:$LINENO: checking for evaluator_get_variables in -lmatheval" >&5
|
3676 | |
echo $ECHO_N "checking for evaluator_get_variables in -lmatheval... $ECHO_C" >&6
|
|
4575 |
{ $as_echo "$as_me:$LINENO: checking for evaluator_get_variables in -lmatheval" >&5
|
|
4576 |
$as_echo_n "checking for evaluator_get_variables in -lmatheval... " >&6; }
|
3677 | 4577 |
if test "${ac_cv_lib_matheval_evaluator_get_variables+set}" = set; then
|
3678 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4578 |
$as_echo_n "(cached) " >&6
|
3679 | 4579 |
else
|
3680 | 4580 |
ac_check_lib_save_LIBS=$LIBS
|
3681 | 4581 |
LIBS="-lmatheval $LIBS"
|
|
3686 | 4586 |
cat >>conftest.$ac_ext <<_ACEOF
|
3687 | 4587 |
/* end confdefs.h. */
|
3688 | 4588 |
|
3689 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4589 |
/* Override any GCC internal prototype to avoid an error.
|
|
4590 |
Use char because int might match the return type of a GCC
|
|
4591 |
builtin and then its argument prototype would still apply. */
|
3690 | 4592 |
#ifdef __cplusplus
|
3691 | 4593 |
extern "C"
|
3692 | 4594 |
#endif
|
3693 | |
/* We use char because int might match the return type of a gcc2
|
3694 | |
builtin and then its argument prototype would still apply. */
|
3695 | 4595 |
char evaluator_get_variables ();
|
3696 | 4596 |
int
|
3697 | 4597 |
main ()
|
3698 | 4598 |
{
|
3699 | |
evaluator_get_variables ();
|
|
4599 |
return evaluator_get_variables ();
|
3700 | 4600 |
;
|
3701 | 4601 |
return 0;
|
3702 | 4602 |
}
|
3703 | 4603 |
_ACEOF
|
3704 | 4604 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3705 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3706 | |
(eval $ac_link) 2>conftest.er1
|
|
4605 |
if { (ac_try="$ac_link"
|
|
4606 |
case "(($ac_try" in
|
|
4607 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4608 |
*) ac_try_echo=$ac_try;;
|
|
4609 |
esac
|
|
4610 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4611 |
$as_echo "$ac_try_echo") >&5
|
|
4612 |
(eval "$ac_link") 2>conftest.er1
|
3707 | 4613 |
ac_status=$?
|
3708 | 4614 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3709 | 4615 |
rm -f conftest.er1
|
3710 | 4616 |
cat conftest.err >&5
|
3711 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3712 | |
(exit $ac_status); } &&
|
3713 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3714 | |
|| test ! -s conftest.err'
|
3715 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3716 | |
(eval $ac_try) 2>&5
|
3717 | |
ac_status=$?
|
3718 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3719 | |
(exit $ac_status); }; } &&
|
3720 | |
{ ac_try='test -s conftest$ac_exeext'
|
3721 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3722 | |
(eval $ac_try) 2>&5
|
3723 | |
ac_status=$?
|
3724 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3725 | |
(exit $ac_status); }; }; then
|
|
4617 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4618 |
(exit $ac_status); } && {
|
|
4619 |
test -z "$ac_c_werror_flag" ||
|
|
4620 |
test ! -s conftest.err
|
|
4621 |
} && test -s conftest$ac_exeext && {
|
|
4622 |
test "$cross_compiling" = yes ||
|
|
4623 |
$as_test_x conftest$ac_exeext
|
|
4624 |
}; then
|
3726 | 4625 |
ac_cv_lib_matheval_evaluator_get_variables=yes
|
3727 | 4626 |
else
|
3728 | |
echo "$as_me: failed program was:" >&5
|
|
4627 |
$as_echo "$as_me: failed program was:" >&5
|
3729 | 4628 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3730 | 4629 |
|
3731 | |
ac_cv_lib_matheval_evaluator_get_variables=no
|
3732 | |
fi
|
3733 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4630 |
ac_cv_lib_matheval_evaluator_get_variables=no
|
|
4631 |
fi
|
|
4632 |
|
|
4633 |
rm -rf conftest.dSYM
|
|
4634 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3734 | 4635 |
conftest$ac_exeext conftest.$ac_ext
|
3735 | 4636 |
LIBS=$ac_check_lib_save_LIBS
|
3736 | 4637 |
fi
|
3737 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_matheval_evaluator_get_variables" >&5
|
3738 | |
echo "${ECHO_T}$ac_cv_lib_matheval_evaluator_get_variables" >&6
|
3739 | |
if test $ac_cv_lib_matheval_evaluator_get_variables = yes; then
|
|
4638 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_matheval_evaluator_get_variables" >&5
|
|
4639 |
$as_echo "$ac_cv_lib_matheval_evaluator_get_variables" >&6; }
|
|
4640 |
if test "x$ac_cv_lib_matheval_evaluator_get_variables" = x""yes; then
|
3740 | 4641 |
H5MATH=yes
|
3741 | 4642 |
else
|
3742 | 4643 |
H5MATH=no
|
|
3744 | 4645 |
|
3745 | 4646 |
|
3746 | 4647 |
if test $H5MATH = yes; then
|
3747 | |
MORE_H5UTILS="h5math $MORE_H5UTILS"
|
|
4648 |
MORE_H5UTILS="h5math\$(EXEEXT) $MORE_H5UTILS"
|
3748 | 4649 |
MORE_H5UTILS_MANS="h5math.1 $MORE_H5UTILS_MANS"
|
3749 | 4650 |
else
|
3750 | |
{ echo "$as_me:$LINENO: WARNING: can't find libmatheval: won't be able to compile h5math" >&5
|
3751 | |
echo "$as_me: WARNING: can't find libmatheval: won't be able to compile h5math" >&2;}
|
|
4651 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find libmatheval: won't be able to compile h5math" >&5
|
|
4652 |
$as_echo "$as_me: WARNING: can't find libmatheval: won't be able to compile h5math" >&2;}
|
3752 | 4653 |
fi
|
3753 | 4654 |
|
3754 | 4655 |
###########################################################################
|
|
3757 | 4658 |
# thus don't have the superior h4toh5 utility. Similarly for h5toh4.
|
3758 | 4659 |
# Extract the first word of "h4toh5", so it can be a program name with args.
|
3759 | 4660 |
set dummy h4toh5; ac_word=$2
|
3760 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3761 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
4661 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4662 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3762 | 4663 |
if test "${ac_cv_prog_H4TOH5+set}" = set; then
|
3763 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4664 |
$as_echo_n "(cached) " >&6
|
3764 | 4665 |
else
|
3765 | 4666 |
if test -n "$H4TOH5"; then
|
3766 | 4667 |
ac_cv_prog_H4TOH5="$H4TOH5" # Let the user override the test.
|
|
3771 | 4672 |
IFS=$as_save_IFS
|
3772 | 4673 |
test -z "$as_dir" && as_dir=.
|
3773 | 4674 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3774 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4675 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3775 | 4676 |
ac_cv_prog_H4TOH5="h4toh5"
|
3776 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4677 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3777 | 4678 |
break 2
|
3778 | 4679 |
fi
|
3779 | 4680 |
done
|
3780 | 4681 |
done
|
|
4682 |
IFS=$as_save_IFS
|
3781 | 4683 |
|
3782 | 4684 |
fi
|
3783 | 4685 |
fi
|
3784 | 4686 |
H4TOH5=$ac_cv_prog_H4TOH5
|
3785 | 4687 |
if test -n "$H4TOH5"; then
|
3786 | |
echo "$as_me:$LINENO: result: $H4TOH5" >&5
|
3787 | |
echo "${ECHO_T}$H4TOH5" >&6
|
3788 | |
else
|
3789 | |
echo "$as_me:$LINENO: result: no" >&5
|
3790 | |
echo "${ECHO_T}no" >&6
|
3791 | |
fi
|
|
4688 |
{ $as_echo "$as_me:$LINENO: result: $H4TOH5" >&5
|
|
4689 |
$as_echo "$H4TOH5" >&6; }
|
|
4690 |
else
|
|
4691 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4692 |
$as_echo "no" >&6; }
|
|
4693 |
fi
|
|
4694 |
|
3792 | 4695 |
|
3793 | 4696 |
# Extract the first word of "h5toh4", so it can be a program name with args.
|
3794 | 4697 |
set dummy h5toh4; ac_word=$2
|
3795 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3796 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
4698 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4699 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3797 | 4700 |
if test "${ac_cv_prog_H5TOH4+set}" = set; then
|
3798 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4701 |
$as_echo_n "(cached) " >&6
|
3799 | 4702 |
else
|
3800 | 4703 |
if test -n "$H5TOH4"; then
|
3801 | 4704 |
ac_cv_prog_H5TOH4="$H5TOH4" # Let the user override the test.
|
|
3806 | 4709 |
IFS=$as_save_IFS
|
3807 | 4710 |
test -z "$as_dir" && as_dir=.
|
3808 | 4711 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3809 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
4712 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3810 | 4713 |
ac_cv_prog_H5TOH4="h5toh4"
|
3811 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4714 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3812 | 4715 |
break 2
|
3813 | 4716 |
fi
|
3814 | 4717 |
done
|
3815 | 4718 |
done
|
|
4719 |
IFS=$as_save_IFS
|
3816 | 4720 |
|
3817 | 4721 |
fi
|
3818 | 4722 |
fi
|
3819 | 4723 |
H5TOH4=$ac_cv_prog_H5TOH4
|
3820 | 4724 |
if test -n "$H5TOH4"; then
|
3821 | |
echo "$as_me:$LINENO: result: $H5TOH4" >&5
|
3822 | |
echo "${ECHO_T}$H5TOH4" >&6
|
3823 | |
else
|
3824 | |
echo "$as_me:$LINENO: result: no" >&5
|
3825 | |
echo "${ECHO_T}no" >&6
|
3826 | |
fi
|
3827 | |
|
3828 | |
|
3829 | |
|
3830 | |
# Check whether --with-hdf4 or --without-hdf4 was given.
|
|
4725 |
{ $as_echo "$as_me:$LINENO: result: $H5TOH4" >&5
|
|
4726 |
$as_echo "$H5TOH4" >&6; }
|
|
4727 |
else
|
|
4728 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4729 |
$as_echo "no" >&6; }
|
|
4730 |
fi
|
|
4731 |
|
|
4732 |
|
|
4733 |
|
|
4734 |
|
|
4735 |
# Check whether --with-hdf4 was given.
|
3831 | 4736 |
if test "${with_hdf4+set}" = set; then
|
3832 | |
withval="$with_hdf4"
|
3833 | |
ok=$withval
|
|
4737 |
withval=$with_hdf4; ok=$withval
|
3834 | 4738 |
else
|
3835 | 4739 |
ok=maybe
|
3836 | |
fi;
|
|
4740 |
fi
|
|
4741 |
|
3837 | 4742 |
if test "x$ok" = xyes; then
|
3838 | 4743 |
H4TOH5=""
|
3839 | 4744 |
H5TOH4=""
|
|
3844 | 4749 |
|
3845 | 4750 |
HDF4=no
|
3846 | 4751 |
if test "x$H4TOH5" != xh4toh5 -o "x$H5TOH4" != xh5toh4; then
|
3847 | |
echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
|
3848 | |
echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6
|
|
4752 |
{ $as_echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
|
|
4753 |
$as_echo_n "checking for jpeg_start_compress in -ljpeg... " >&6; }
|
3849 | 4754 |
if test "${ac_cv_lib_jpeg_jpeg_start_compress+set}" = set; then
|
3850 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4755 |
$as_echo_n "(cached) " >&6
|
3851 | 4756 |
else
|
3852 | 4757 |
ac_check_lib_save_LIBS=$LIBS
|
3853 | 4758 |
LIBS="-ljpeg $LIBS"
|
|
3858 | 4763 |
cat >>conftest.$ac_ext <<_ACEOF
|
3859 | 4764 |
/* end confdefs.h. */
|
3860 | 4765 |
|
3861 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4766 |
/* Override any GCC internal prototype to avoid an error.
|
|
4767 |
Use char because int might match the return type of a GCC
|
|
4768 |
builtin and then its argument prototype would still apply. */
|
3862 | 4769 |
#ifdef __cplusplus
|
3863 | 4770 |
extern "C"
|
3864 | 4771 |
#endif
|
3865 | |
/* We use char because int might match the return type of a gcc2
|
3866 | |
builtin and then its argument prototype would still apply. */
|
3867 | 4772 |
char jpeg_start_compress ();
|
3868 | 4773 |
int
|
3869 | 4774 |
main ()
|
3870 | 4775 |
{
|
3871 | |
jpeg_start_compress ();
|
|
4776 |
return jpeg_start_compress ();
|
3872 | 4777 |
;
|
3873 | 4778 |
return 0;
|
3874 | 4779 |
}
|
3875 | 4780 |
_ACEOF
|
3876 | 4781 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3877 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3878 | |
(eval $ac_link) 2>conftest.er1
|
|
4782 |
if { (ac_try="$ac_link"
|
|
4783 |
case "(($ac_try" in
|
|
4784 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4785 |
*) ac_try_echo=$ac_try;;
|
|
4786 |
esac
|
|
4787 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4788 |
$as_echo "$ac_try_echo") >&5
|
|
4789 |
(eval "$ac_link") 2>conftest.er1
|
3879 | 4790 |
ac_status=$?
|
3880 | 4791 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3881 | 4792 |
rm -f conftest.er1
|
3882 | 4793 |
cat conftest.err >&5
|
3883 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3884 | |
(exit $ac_status); } &&
|
3885 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3886 | |
|| test ! -s conftest.err'
|
3887 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3888 | |
(eval $ac_try) 2>&5
|
3889 | |
ac_status=$?
|
3890 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3891 | |
(exit $ac_status); }; } &&
|
3892 | |
{ ac_try='test -s conftest$ac_exeext'
|
3893 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3894 | |
(eval $ac_try) 2>&5
|
3895 | |
ac_status=$?
|
3896 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3897 | |
(exit $ac_status); }; }; then
|
|
4794 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4795 |
(exit $ac_status); } && {
|
|
4796 |
test -z "$ac_c_werror_flag" ||
|
|
4797 |
test ! -s conftest.err
|
|
4798 |
} && test -s conftest$ac_exeext && {
|
|
4799 |
test "$cross_compiling" = yes ||
|
|
4800 |
$as_test_x conftest$ac_exeext
|
|
4801 |
}; then
|
3898 | 4802 |
ac_cv_lib_jpeg_jpeg_start_compress=yes
|
3899 | 4803 |
else
|
3900 | |
echo "$as_me: failed program was:" >&5
|
|
4804 |
$as_echo "$as_me: failed program was:" >&5
|
3901 | 4805 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3902 | 4806 |
|
3903 | |
ac_cv_lib_jpeg_jpeg_start_compress=no
|
3904 | |
fi
|
3905 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4807 |
ac_cv_lib_jpeg_jpeg_start_compress=no
|
|
4808 |
fi
|
|
4809 |
|
|
4810 |
rm -rf conftest.dSYM
|
|
4811 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3906 | 4812 |
conftest$ac_exeext conftest.$ac_ext
|
3907 | 4813 |
LIBS=$ac_check_lib_save_LIBS
|
3908 | 4814 |
fi
|
3909 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
|
3910 | |
echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_compress" >&6
|
3911 | |
if test $ac_cv_lib_jpeg_jpeg_start_compress = yes; then
|
3912 | |
echo "$as_me:$LINENO: checking for DFSDgetdata in -ldf" >&5
|
3913 | |
echo $ECHO_N "checking for DFSDgetdata in -ldf... $ECHO_C" >&6
|
|
4815 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_compress" >&5
|
|
4816 |
$as_echo "$ac_cv_lib_jpeg_jpeg_start_compress" >&6; }
|
|
4817 |
if test "x$ac_cv_lib_jpeg_jpeg_start_compress" = x""yes; then
|
|
4818 |
{ $as_echo "$as_me:$LINENO: checking for DFSDgetdata in -ldf" >&5
|
|
4819 |
$as_echo_n "checking for DFSDgetdata in -ldf... " >&6; }
|
3914 | 4820 |
if test "${ac_cv_lib_df_DFSDgetdata+set}" = set; then
|
3915 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4821 |
$as_echo_n "(cached) " >&6
|
3916 | 4822 |
else
|
3917 | 4823 |
ac_check_lib_save_LIBS=$LIBS
|
3918 | 4824 |
LIBS="-ldf -ljpeg $LIBS"
|
|
3923 | 4829 |
cat >>conftest.$ac_ext <<_ACEOF
|
3924 | 4830 |
/* end confdefs.h. */
|
3925 | 4831 |
|
3926 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4832 |
/* Override any GCC internal prototype to avoid an error.
|
|
4833 |
Use char because int might match the return type of a GCC
|
|
4834 |
builtin and then its argument prototype would still apply. */
|
3927 | 4835 |
#ifdef __cplusplus
|
3928 | 4836 |
extern "C"
|
3929 | 4837 |
#endif
|
3930 | |
/* We use char because int might match the return type of a gcc2
|
3931 | |
builtin and then its argument prototype would still apply. */
|
3932 | 4838 |
char DFSDgetdata ();
|
3933 | 4839 |
int
|
3934 | 4840 |
main ()
|
3935 | 4841 |
{
|
3936 | |
DFSDgetdata ();
|
|
4842 |
return DFSDgetdata ();
|
3937 | 4843 |
;
|
3938 | 4844 |
return 0;
|
3939 | 4845 |
}
|
3940 | 4846 |
_ACEOF
|
3941 | 4847 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3942 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3943 | |
(eval $ac_link) 2>conftest.er1
|
|
4848 |
if { (ac_try="$ac_link"
|
|
4849 |
case "(($ac_try" in
|
|
4850 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4851 |
*) ac_try_echo=$ac_try;;
|
|
4852 |
esac
|
|
4853 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4854 |
$as_echo "$ac_try_echo") >&5
|
|
4855 |
(eval "$ac_link") 2>conftest.er1
|
3944 | 4856 |
ac_status=$?
|
3945 | 4857 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3946 | 4858 |
rm -f conftest.er1
|
3947 | 4859 |
cat conftest.err >&5
|
3948 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3949 | |
(exit $ac_status); } &&
|
3950 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3951 | |
|| test ! -s conftest.err'
|
3952 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3953 | |
(eval $ac_try) 2>&5
|
3954 | |
ac_status=$?
|
3955 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3956 | |
(exit $ac_status); }; } &&
|
3957 | |
{ ac_try='test -s conftest$ac_exeext'
|
3958 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3959 | |
(eval $ac_try) 2>&5
|
3960 | |
ac_status=$?
|
3961 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3962 | |
(exit $ac_status); }; }; then
|
|
4860 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4861 |
(exit $ac_status); } && {
|
|
4862 |
test -z "$ac_c_werror_flag" ||
|
|
4863 |
test ! -s conftest.err
|
|
4864 |
} && test -s conftest$ac_exeext && {
|
|
4865 |
test "$cross_compiling" = yes ||
|
|
4866 |
$as_test_x conftest$ac_exeext
|
|
4867 |
}; then
|
3963 | 4868 |
ac_cv_lib_df_DFSDgetdata=yes
|
3964 | 4869 |
else
|
3965 | |
echo "$as_me: failed program was:" >&5
|
|
4870 |
$as_echo "$as_me: failed program was:" >&5
|
3966 | 4871 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3967 | 4872 |
|
3968 | |
ac_cv_lib_df_DFSDgetdata=no
|
3969 | |
fi
|
3970 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4873 |
ac_cv_lib_df_DFSDgetdata=no
|
|
4874 |
fi
|
|
4875 |
|
|
4876 |
rm -rf conftest.dSYM
|
|
4877 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3971 | 4878 |
conftest$ac_exeext conftest.$ac_ext
|
3972 | 4879 |
LIBS=$ac_check_lib_save_LIBS
|
3973 | 4880 |
fi
|
3974 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5
|
3975 | |
echo "${ECHO_T}$ac_cv_lib_df_DFSDgetdata" >&6
|
3976 | |
if test $ac_cv_lib_df_DFSDgetdata = yes; then
|
|
4881 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_df_DFSDgetdata" >&5
|
|
4882 |
$as_echo "$ac_cv_lib_df_DFSDgetdata" >&6; }
|
|
4883 |
if test "x$ac_cv_lib_df_DFSDgetdata" = x""yes; then
|
3977 | 4884 |
H4_LIBS="-ldf -ljpeg"; HDF4=yes
|
3978 | 4885 |
else
|
3979 | |
{ echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&5
|
3980 | |
echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&2;}
|
3981 | |
fi
|
3982 | |
|
3983 | |
else
|
3984 | |
{ echo "$as_me:$LINENO: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&5
|
3985 | |
echo "$as_me: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&2;}
|
|
4886 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&5
|
|
4887 |
$as_echo "$as_me: WARNING: can't find libdf (HDF4): won't be able to compile h5fromh4 or h4fromh5" >&2;}
|
|
4888 |
fi
|
|
4889 |
|
|
4890 |
else
|
|
4891 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&5
|
|
4892 |
$as_echo "$as_me: WARNING: can't find libjpeg: won't be able to compile h5fromh4 or h4fromh5" >&2;}
|
3986 | 4893 |
fi
|
3987 | 4894 |
|
3988 | 4895 |
|
3989 | 4896 |
if test $HDF4 = yes; then
|
3990 | 4897 |
if test "x$H4TOH5" != xh4toh5; then
|
3991 | |
MORE_H5UTILS="h5fromh4 $MORE_H5UTILS"
|
|
4898 |
MORE_H5UTILS="h5fromh4\$(EXEEXT) $MORE_H5UTILS"
|
3992 | 4899 |
MORE_H5UTILS_MANS="h5fromh4.1 $MORE_H5UTILS_MANS"
|
3993 | 4900 |
fi
|
3994 | 4901 |
if test "x$H5TOH4" != xh5toh4; then
|
3995 | |
MORE_H5UTILS="h4fromh5 $MORE_H5UTILS"
|
|
4902 |
MORE_H5UTILS="h4fromh5\$(EXEEXT) $MORE_H5UTILS"
|
3996 | 4903 |
# MORE_H5UTILS_MANS="h4fromh5.1 $MORE_H5UTILS_MANS"
|
3997 | 4904 |
fi
|
3998 | 4905 |
fi
|
|
4010 | 4917 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4011 | 4918 |
inttypes.h stdint.h unistd.h
|
4012 | 4919 |
do
|
4013 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4014 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4015 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4016 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4017 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4920 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4921 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4922 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
4923 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4924 |
$as_echo_n "(cached) " >&6
|
4018 | 4925 |
else
|
4019 | 4926 |
cat >conftest.$ac_ext <<_ACEOF
|
4020 | 4927 |
/* confdefs.h. */
|
|
4027 | 4934 |
#include <$ac_header>
|
4028 | 4935 |
_ACEOF
|
4029 | 4936 |
rm -f conftest.$ac_objext
|
4030 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4031 | |
(eval $ac_compile) 2>conftest.er1
|
|
4937 |
if { (ac_try="$ac_compile"
|
|
4938 |
case "(($ac_try" in
|
|
4939 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4940 |
*) ac_try_echo=$ac_try;;
|
|
4941 |
esac
|
|
4942 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
4943 |
$as_echo "$ac_try_echo") >&5
|
|
4944 |
(eval "$ac_compile") 2>conftest.er1
|
4032 | 4945 |
ac_status=$?
|
4033 | 4946 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4034 | 4947 |
rm -f conftest.er1
|
4035 | 4948 |
cat conftest.err >&5
|
4036 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4037 | |
(exit $ac_status); } &&
|
4038 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4039 | |
|| test ! -s conftest.err'
|
4040 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4041 | |
(eval $ac_try) 2>&5
|
4042 | |
ac_status=$?
|
4043 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4044 | |
(exit $ac_status); }; } &&
|
4045 | |
{ ac_try='test -s conftest.$ac_objext'
|
4046 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4047 | |
(eval $ac_try) 2>&5
|
4048 | |
ac_status=$?
|
4049 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4050 | |
(exit $ac_status); }; }; then
|
|
4949 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
4950 |
(exit $ac_status); } && {
|
|
4951 |
test -z "$ac_c_werror_flag" ||
|
|
4952 |
test ! -s conftest.err
|
|
4953 |
} && test -s conftest.$ac_objext; then
|
4051 | 4954 |
eval "$as_ac_Header=yes"
|
4052 | 4955 |
else
|
4053 | |
echo "$as_me: failed program was:" >&5
|
|
4956 |
$as_echo "$as_me: failed program was:" >&5
|
4054 | 4957 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4055 | 4958 |
|
4056 | |
eval "$as_ac_Header=no"
|
4057 | |
fi
|
4058 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4059 | |
fi
|
4060 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4061 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4062 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4959 |
eval "$as_ac_Header=no"
|
|
4960 |
fi
|
|
4961 |
|
|
4962 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4963 |
fi
|
|
4964 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
4965 |
$as_echo "$as_val"'`
|
|
4966 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4967 |
$as_echo "$ac_res" >&6; }
|
|
4968 |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
4969 |
$as_echo "$as_val"'`
|
|
4970 |
if test "x$as_val" = x""yes; then
|
4063 | 4971 |
cat >>confdefs.h <<_ACEOF
|
4064 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4972 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4065 | 4973 |
_ACEOF
|
4066 | 4974 |
|
4067 | 4975 |
fi
|
|
4073 | 4981 |
|
4074 | 4982 |
for ac_header in hdf.h hdf/hdf.h
|
4075 | 4983 |
do
|
4076 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4077 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4078 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4079 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4080 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4081 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4082 | |
fi
|
4083 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4084 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4984 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4985 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4986 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4987 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
4988 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4989 |
$as_echo_n "(cached) " >&6
|
|
4990 |
fi
|
|
4991 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
4992 |
$as_echo "$as_val"'`
|
|
4993 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4994 |
$as_echo "$ac_res" >&6; }
|
4085 | 4995 |
else
|
4086 | 4996 |
# Is the header compilable?
|
4087 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4088 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
4997 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4998 |
$as_echo_n "checking $ac_header usability... " >&6; }
|
4089 | 4999 |
cat >conftest.$ac_ext <<_ACEOF
|
4090 | 5000 |
/* confdefs.h. */
|
4091 | 5001 |
_ACEOF
|
|
4096 | 5006 |
#include <$ac_header>
|
4097 | 5007 |
_ACEOF
|
4098 | 5008 |
rm -f conftest.$ac_objext
|
4099 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4100 | |
(eval $ac_compile) 2>conftest.er1
|
|
5009 |
if { (ac_try="$ac_compile"
|
|
5010 |
case "(($ac_try" in
|
|
5011 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5012 |
*) ac_try_echo=$ac_try;;
|
|
5013 |
esac
|
|
5014 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5015 |
$as_echo "$ac_try_echo") >&5
|
|
5016 |
(eval "$ac_compile") 2>conftest.er1
|
4101 | 5017 |
ac_status=$?
|
4102 | 5018 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4103 | 5019 |
rm -f conftest.er1
|
4104 | 5020 |
cat conftest.err >&5
|
4105 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4106 | |
(exit $ac_status); } &&
|
4107 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4108 | |
|| test ! -s conftest.err'
|
4109 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4110 | |
(eval $ac_try) 2>&5
|
4111 | |
ac_status=$?
|
4112 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4113 | |
(exit $ac_status); }; } &&
|
4114 | |
{ ac_try='test -s conftest.$ac_objext'
|
4115 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4116 | |
(eval $ac_try) 2>&5
|
4117 | |
ac_status=$?
|
4118 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4119 | |
(exit $ac_status); }; }; then
|
|
5021 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5022 |
(exit $ac_status); } && {
|
|
5023 |
test -z "$ac_c_werror_flag" ||
|
|
5024 |
test ! -s conftest.err
|
|
5025 |
} && test -s conftest.$ac_objext; then
|
4120 | 5026 |
ac_header_compiler=yes
|
4121 | 5027 |
else
|
4122 | |
echo "$as_me: failed program was:" >&5
|
|
5028 |
$as_echo "$as_me: failed program was:" >&5
|
4123 | 5029 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4124 | 5030 |
|
4125 | |
ac_header_compiler=no
|
4126 | |
fi
|
4127 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4128 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4129 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
5031 |
ac_header_compiler=no
|
|
5032 |
fi
|
|
5033 |
|
|
5034 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5035 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5036 |
$as_echo "$ac_header_compiler" >&6; }
|
4130 | 5037 |
|
4131 | 5038 |
# Is the header present?
|
4132 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4133 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
5039 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
5040 |
$as_echo_n "checking $ac_header presence... " >&6; }
|
4134 | 5041 |
cat >conftest.$ac_ext <<_ACEOF
|
4135 | 5042 |
/* confdefs.h. */
|
4136 | 5043 |
_ACEOF
|
|
4139 | 5046 |
/* end confdefs.h. */
|
4140 | 5047 |
#include <$ac_header>
|
4141 | 5048 |
_ACEOF
|
4142 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4143 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5049 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5050 |
case "(($ac_try" in
|
|
5051 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5052 |
*) ac_try_echo=$ac_try;;
|
|
5053 |
esac
|
|
5054 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5055 |
$as_echo "$ac_try_echo") >&5
|
|
5056 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4144 | 5057 |
ac_status=$?
|
4145 | 5058 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4146 | 5059 |
rm -f conftest.er1
|
4147 | 5060 |
cat conftest.err >&5
|
4148 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4149 | |
(exit $ac_status); } >/dev/null; then
|
4150 | |
if test -s conftest.err; then
|
4151 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
4152 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
4153 | |
else
|
4154 | |
ac_cpp_err=
|
4155 | |
fi
|
4156 | |
else
|
4157 | |
ac_cpp_err=yes
|
4158 | |
fi
|
4159 | |
if test -z "$ac_cpp_err"; then
|
|
5061 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5062 |
(exit $ac_status); } >/dev/null && {
|
|
5063 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
5064 |
test ! -s conftest.err
|
|
5065 |
}; then
|
4160 | 5066 |
ac_header_preproc=yes
|
4161 | 5067 |
else
|
4162 | |
echo "$as_me: failed program was:" >&5
|
|
5068 |
$as_echo "$as_me: failed program was:" >&5
|
4163 | 5069 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4164 | 5070 |
|
4165 | 5071 |
ac_header_preproc=no
|
4166 | 5072 |
fi
|
|
5073 |
|
4167 | 5074 |
rm -f conftest.err conftest.$ac_ext
|
4168 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4169 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
5075 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5076 |
$as_echo "$ac_header_preproc" >&6; }
|
4170 | 5077 |
|
4171 | 5078 |
# So? What about this header?
|
4172 | 5079 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4173 | 5080 |
yes:no: )
|
4174 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4175 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4176 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
4177 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
5081 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
5082 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
5083 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
5084 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
4178 | 5085 |
ac_header_preproc=yes
|
4179 | 5086 |
;;
|
4180 | 5087 |
no:yes:* )
|
4181 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4182 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4183 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4184 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4185 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
4186 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
4187 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
4188 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4189 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4190 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4191 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4192 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4193 | |
(
|
4194 | |
cat <<\_ASBOX
|
|
5088 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
5089 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
5090 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
5091 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
5092 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
5093 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
5094 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
5095 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
5096 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
5097 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
5098 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
5099 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
5100 |
( cat <<\_ASBOX
|
4195 | 5101 |
## ----------------------------------- ##
|
4196 | 5102 |
## Report this to stevenj@alum.mit.edu ##
|
4197 | 5103 |
## ----------------------------------- ##
|
4198 | 5104 |
_ASBOX
|
4199 | |
) |
|
4200 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5105 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4201 | 5106 |
;;
|
4202 | 5107 |
esac
|
4203 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4204 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4205 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4206 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5108 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
5109 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
5110 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5111 |
$as_echo_n "(cached) " >&6
|
4207 | 5112 |
else
|
4208 | 5113 |
eval "$as_ac_Header=\$ac_header_preproc"
|
4209 | 5114 |
fi
|
4210 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4211 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4212 | |
|
4213 | |
fi
|
4214 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
5115 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
5116 |
$as_echo "$as_val"'`
|
|
5117 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5118 |
$as_echo "$ac_res" >&6; }
|
|
5119 |
|
|
5120 |
fi
|
|
5121 |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
5122 |
$as_echo "$as_val"'`
|
|
5123 |
if test "x$as_val" = x""yes; then
|
4215 | 5124 |
cat >>confdefs.h <<_ACEOF
|
4216 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5125 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4217 | 5126 |
_ACEOF
|
4218 | 5127 |
|
4219 | 5128 |
fi
|
|
4225 | 5134 |
|
4226 | 5135 |
###########################################################################
|
4227 | 5136 |
|
4228 | |
echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
|
4229 | |
echo $ECHO_N "checking for H5Fopen in -lhdf5... $ECHO_C" >&6
|
|
5137 |
{ $as_echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
|
|
5138 |
$as_echo_n "checking for H5Fopen in -lhdf5... " >&6; }
|
4230 | 5139 |
if test "${ac_cv_lib_hdf5_H5Fopen+set}" = set; then
|
4231 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5140 |
$as_echo_n "(cached) " >&6
|
4232 | 5141 |
else
|
4233 | 5142 |
ac_check_lib_save_LIBS=$LIBS
|
4234 | 5143 |
LIBS="-lhdf5 $LIBS"
|
|
4239 | 5148 |
cat >>conftest.$ac_ext <<_ACEOF
|
4240 | 5149 |
/* end confdefs.h. */
|
4241 | 5150 |
|
4242 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5151 |
/* Override any GCC internal prototype to avoid an error.
|
|
5152 |
Use char because int might match the return type of a GCC
|
|
5153 |
builtin and then its argument prototype would still apply. */
|
4243 | 5154 |
#ifdef __cplusplus
|
4244 | 5155 |
extern "C"
|
4245 | 5156 |
#endif
|
4246 | |
/* We use char because int might match the return type of a gcc2
|
4247 | |
builtin and then its argument prototype would still apply. */
|
4248 | 5157 |
char H5Fopen ();
|
4249 | 5158 |
int
|
4250 | 5159 |
main ()
|
4251 | 5160 |
{
|
4252 | |
H5Fopen ();
|
|
5161 |
return H5Fopen ();
|
4253 | 5162 |
;
|
4254 | 5163 |
return 0;
|
4255 | 5164 |
}
|
4256 | 5165 |
_ACEOF
|
4257 | 5166 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4258 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4259 | |
(eval $ac_link) 2>conftest.er1
|
|
5167 |
if { (ac_try="$ac_link"
|
|
5168 |
case "(($ac_try" in
|
|
5169 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5170 |
*) ac_try_echo=$ac_try;;
|
|
5171 |
esac
|
|
5172 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5173 |
$as_echo "$ac_try_echo") >&5
|
|
5174 |
(eval "$ac_link") 2>conftest.er1
|
4260 | 5175 |
ac_status=$?
|
4261 | 5176 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4262 | 5177 |
rm -f conftest.er1
|
4263 | 5178 |
cat conftest.err >&5
|
4264 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4265 | |
(exit $ac_status); } &&
|
4266 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4267 | |
|| test ! -s conftest.err'
|
4268 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4269 | |
(eval $ac_try) 2>&5
|
4270 | |
ac_status=$?
|
4271 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4272 | |
(exit $ac_status); }; } &&
|
4273 | |
{ ac_try='test -s conftest$ac_exeext'
|
4274 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4275 | |
(eval $ac_try) 2>&5
|
4276 | |
ac_status=$?
|
4277 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4278 | |
(exit $ac_status); }; }; then
|
|
5179 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5180 |
(exit $ac_status); } && {
|
|
5181 |
test -z "$ac_c_werror_flag" ||
|
|
5182 |
test ! -s conftest.err
|
|
5183 |
} && test -s conftest$ac_exeext && {
|
|
5184 |
test "$cross_compiling" = yes ||
|
|
5185 |
$as_test_x conftest$ac_exeext
|
|
5186 |
}; then
|
4279 | 5187 |
ac_cv_lib_hdf5_H5Fopen=yes
|
4280 | 5188 |
else
|
4281 | |
echo "$as_me: failed program was:" >&5
|
|
5189 |
$as_echo "$as_me: failed program was:" >&5
|
4282 | 5190 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4283 | 5191 |
|
4284 | |
ac_cv_lib_hdf5_H5Fopen=no
|
4285 | |
fi
|
4286 | |
rm -f conftest.err conftest.$ac_objext \
|
|
5192 |
ac_cv_lib_hdf5_H5Fopen=no
|
|
5193 |
fi
|
|
5194 |
|
|
5195 |
rm -rf conftest.dSYM
|
|
5196 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4287 | 5197 |
conftest$ac_exeext conftest.$ac_ext
|
4288 | 5198 |
LIBS=$ac_check_lib_save_LIBS
|
4289 | 5199 |
fi
|
4290 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_H5Fopen" >&5
|
4291 | |
echo "${ECHO_T}$ac_cv_lib_hdf5_H5Fopen" >&6
|
4292 | |
if test $ac_cv_lib_hdf5_H5Fopen = yes; then
|
|
5200 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_H5Fopen" >&5
|
|
5201 |
$as_echo "$ac_cv_lib_hdf5_H5Fopen" >&6; }
|
|
5202 |
if test "x$ac_cv_lib_hdf5_H5Fopen" = x""yes; then
|
4293 | 5203 |
LIBS="-lhdf5 $LIBS"
|
4294 | 5204 |
else
|
4295 | |
{ { echo "$as_me:$LINENO: error: hdf5 libraries are required for compilation" >&5
|
4296 | |
echo "$as_me: error: hdf5 libraries are required for compilation" >&2;}
|
|
5205 |
{ { $as_echo "$as_me:$LINENO: error: hdf5 libraries are required for compilation" >&5
|
|
5206 |
$as_echo "$as_me: error: hdf5 libraries are required for compilation" >&2;}
|
4297 | 5207 |
{ (exit 1); exit 1; }; }
|
4298 | 5208 |
fi
|
4299 | 5209 |
|
|
4301 | 5211 |
###########################################################################
|
4302 | 5212 |
|
4303 | 5213 |
|
4304 | |
# Check whether --with-octave or --without-octave was given.
|
|
5214 |
# Check whether --with-octave was given.
|
4305 | 5215 |
if test "${with_octave+set}" = set; then
|
4306 | |
withval="$with_octave"
|
4307 | |
ok=$withval
|
|
5216 |
withval=$with_octave; ok=$withval
|
4308 | 5217 |
else
|
4309 | 5218 |
ok=yes
|
4310 | |
fi;
|
|
5219 |
fi
|
|
5220 |
|
4311 | 5221 |
|
4312 | 5222 |
H5READ=""
|
4313 | 5223 |
OCT_INSTALL_DIR=""
|
|
4317 | 5227 |
do
|
4318 | 5228 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4319 | 5229 |
set dummy $ac_prog; ac_word=$2
|
4320 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4321 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
5230 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5231 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4322 | 5232 |
if test "${ac_cv_prog_MKOCTFILE+set}" = set; then
|
4323 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5233 |
$as_echo_n "(cached) " >&6
|
4324 | 5234 |
else
|
4325 | 5235 |
if test -n "$MKOCTFILE"; then
|
4326 | 5236 |
ac_cv_prog_MKOCTFILE="$MKOCTFILE" # Let the user override the test.
|
|
4331 | 5241 |
IFS=$as_save_IFS
|
4332 | 5242 |
test -z "$as_dir" && as_dir=.
|
4333 | 5243 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4334 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
5244 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4335 | 5245 |
ac_cv_prog_MKOCTFILE="$ac_prog"
|
4336 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5246 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4337 | 5247 |
break 2
|
4338 | 5248 |
fi
|
4339 | 5249 |
done
|
4340 | 5250 |
done
|
|
5251 |
IFS=$as_save_IFS
|
4341 | 5252 |
|
4342 | 5253 |
fi
|
4343 | 5254 |
fi
|
4344 | 5255 |
MKOCTFILE=$ac_cv_prog_MKOCTFILE
|
4345 | 5256 |
if test -n "$MKOCTFILE"; then
|
4346 | |
echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
|
4347 | |
echo "${ECHO_T}$MKOCTFILE" >&6
|
4348 | |
else
|
4349 | |
echo "$as_me:$LINENO: result: no" >&5
|
4350 | |
echo "${ECHO_T}no" >&6
|
4351 | |
fi
|
|
5257 |
{ $as_echo "$as_me:$LINENO: result: $MKOCTFILE" >&5
|
|
5258 |
$as_echo "$MKOCTFILE" >&6; }
|
|
5259 |
else
|
|
5260 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5261 |
$as_echo "no" >&6; }
|
|
5262 |
fi
|
|
5263 |
|
4352 | 5264 |
|
4353 | 5265 |
test -n "$MKOCTFILE" && break
|
4354 | 5266 |
done
|
4355 | 5267 |
test -n "$MKOCTFILE" || MKOCTFILE="echo"
|
4356 | 5268 |
|
4357 | 5269 |
if test "$MKOCTFILE" = "echo"; then
|
4358 | |
{ echo "$as_me:$LINENO: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&5
|
4359 | |
echo "$as_me: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&2;}
|
|
5270 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&5
|
|
5271 |
$as_echo "$as_me: WARNING: can't find mkoctfile: won't be able to compile h5read.oct" >&2;}
|
4360 | 5272 |
else
|
4361 | 5273 |
# try to find installation directory
|
4362 | 5274 |
for ac_prog in octave
|
4363 | 5275 |
do
|
4364 | 5276 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4365 | 5277 |
set dummy $ac_prog; ac_word=$2
|
4366 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4367 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
5278 |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5279 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4368 | 5280 |
if test "${ac_cv_prog_OCTAVE+set}" = set; then
|
4369 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5281 |
$as_echo_n "(cached) " >&6
|
4370 | 5282 |
else
|
4371 | 5283 |
if test -n "$OCTAVE"; then
|
4372 | 5284 |
ac_cv_prog_OCTAVE="$OCTAVE" # Let the user override the test.
|
|
4377 | 5289 |
IFS=$as_save_IFS
|
4378 | 5290 |
test -z "$as_dir" && as_dir=.
|
4379 | 5291 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4380 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
5292 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4381 | 5293 |
ac_cv_prog_OCTAVE="$ac_prog"
|
4382 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5294 |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4383 | 5295 |
break 2
|
4384 | 5296 |
fi
|
4385 | 5297 |
done
|
4386 | 5298 |
done
|
|
5299 |
IFS=$as_save_IFS
|
4387 | 5300 |
|
4388 | 5301 |
fi
|
4389 | 5302 |
fi
|
4390 | 5303 |
OCTAVE=$ac_cv_prog_OCTAVE
|
4391 | 5304 |
if test -n "$OCTAVE"; then
|
4392 | |
echo "$as_me:$LINENO: result: $OCTAVE" >&5
|
4393 | |
echo "${ECHO_T}$OCTAVE" >&6
|
4394 | |
else
|
4395 | |
echo "$as_me:$LINENO: result: no" >&5
|
4396 | |
echo "${ECHO_T}no" >&6
|
4397 | |
fi
|
|
5305 |
{ $as_echo "$as_me:$LINENO: result: $OCTAVE" >&5
|
|
5306 |
$as_echo "$OCTAVE" >&6; }
|
|
5307 |
else
|
|
5308 |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5309 |
$as_echo "no" >&6; }
|
|
5310 |
fi
|
|
5311 |
|
4398 | 5312 |
|
4399 | 5313 |
test -n "$OCTAVE" && break
|
4400 | 5314 |
done
|
4401 | 5315 |
test -n "$OCTAVE" || OCTAVE="echo"
|
4402 | 5316 |
|
4403 | |
echo "$as_me:$LINENO: checking where octave plugins go" >&5
|
4404 | |
echo $ECHO_N "checking where octave plugins go... $ECHO_C" >&6
|
4405 | |
OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q | tr ':' '\n' | grep "site/oct" | head -1`
|
|
5317 |
{ $as_echo "$as_me:$LINENO: checking where octave plugins go" >&5
|
|
5318 |
$as_echo_n "checking where octave plugins go... " >&6; }
|
|
5319 |
OCT_INSTALL_DIR=`echo "path" | $OCTAVE -q 2> /dev/null | grep "/oct/" | head -1`
|
|
5320 |
if test -z "$OCT_INSTALL_DIR"; then
|
|
5321 |
OCT_INSTALL_DIR=`echo "DEFAULT_LOADPATH" | $OCTAVE -q 2> /dev/null | tr ':' '\n' | grep "site/oct" | head -1`
|
|
5322 |
fi
|
4406 | 5323 |
if test -n "$OCT_INSTALL_DIR"; then
|
4407 | |
echo "$as_me:$LINENO: result: $OCT_INSTALL_DIR" >&5
|
4408 | |
echo "${ECHO_T}$OCT_INSTALL_DIR" >&6
|
|
5324 |
{ $as_echo "$as_me:$LINENO: result: $OCT_INSTALL_DIR" >&5
|
|
5325 |
$as_echo "$OCT_INSTALL_DIR" >&6; }
|
4409 | 5326 |
H5READ=h5read.oct
|
4410 | 5327 |
else
|
4411 | |
echo "$as_me:$LINENO: result: unknown" >&5
|
4412 | |
echo "${ECHO_T}unknown" >&6
|
4413 | |
{ echo "$as_me:$LINENO: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&5
|
4414 | |
echo "$as_me: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&2;}
|
|
5328 |
{ $as_echo "$as_me:$LINENO: result: unknown" >&5
|
|
5329 |
$as_echo "unknown" >&6; }
|
|
5330 |
{ $as_echo "$as_me:$LINENO: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&5
|
|
5331 |
$as_echo "$as_me: WARNING: can't find where to install octave plugins: won't be able to compile h5read.oct" >&2;}
|
4415 | 5332 |
fi
|
4416 | 5333 |
fi
|
4417 | 5334 |
fi
|
|
4422 | 5339 |
###########################################################################
|
4423 | 5340 |
|
4424 | 5341 |
|
4425 | |
# Check whether --with-v5d or --without-v5d was given.
|
|
5342 |
# Check whether --with-v5d was given.
|
4426 | 5343 |
if test "${with_v5d+set}" = set; then
|
4427 | |
withval="$with_v5d"
|
4428 | |
ok=$withval
|
|
5344 |
withval=$with_v5d; ok=$withval
|
4429 | 5345 |
else
|
4430 | 5346 |
ok=yes
|
4431 | |
fi;
|
|
5347 |
fi
|
|
5348 |
|
4432 | 5349 |
H5TOV5D=no
|
4433 | 5350 |
V5D_FILES=""
|
4434 | 5351 |
V5D_INCLUDES=""
|
4435 | 5352 |
if test "$ok" = "yes"; then
|
4436 | |
echo "$as_me:$LINENO: checking for v5dCreate in -lv5d" >&5
|
4437 | |
echo $ECHO_N "checking for v5dCreate in -lv5d... $ECHO_C" >&6
|
|
5353 |
{ $as_echo "$as_me:$LINENO: checking for v5dCreate in -lv5d" >&5
|
|
5354 |
$as_echo_n "checking for v5dCreate in -lv5d... " >&6; }
|
4438 | 5355 |
if test "${ac_cv_lib_v5d_v5dCreate+set}" = set; then
|
4439 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5356 |
$as_echo_n "(cached) " >&6
|
4440 | 5357 |
else
|
4441 | 5358 |
ac_check_lib_save_LIBS=$LIBS
|
4442 | 5359 |
LIBS="-lv5d $LIBS"
|
|
4447 | 5364 |
cat >>conftest.$ac_ext <<_ACEOF
|
4448 | 5365 |
/* end confdefs.h. */
|
4449 | 5366 |
|
4450 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
5367 |
/* Override any GCC internal prototype to avoid an error.
|
|
5368 |
Use char because int might match the return type of a GCC
|
|
5369 |
builtin and then its argument prototype would still apply. */
|
4451 | 5370 |
#ifdef __cplusplus
|
4452 | 5371 |
extern "C"
|
4453 | 5372 |
#endif
|
4454 | |
/* We use char because int might match the return type of a gcc2
|
4455 | |
builtin and then its argument prototype would still apply. */
|
4456 | 5373 |
char v5dCreate ();
|
4457 | 5374 |
int
|
4458 | 5375 |
main ()
|
4459 | 5376 |
{
|
4460 | |
v5dCreate ();
|
|
5377 |
return v5dCreate ();
|
4461 | 5378 |
;
|
4462 | 5379 |
return 0;
|
4463 | 5380 |
}
|
4464 | 5381 |
_ACEOF
|
4465 | 5382 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4466 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4467 | |
(eval $ac_link) 2>conftest.er1
|
|
5383 |
if { (ac_try="$ac_link"
|
|
5384 |
case "(($ac_try" in
|
|
5385 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5386 |
*) ac_try_echo=$ac_try;;
|
|
5387 |
esac
|
|
5388 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5389 |
$as_echo "$ac_try_echo") >&5
|
|
5390 |
(eval "$ac_link") 2>conftest.er1
|
4468 | 5391 |
ac_status=$?
|
4469 | 5392 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4470 | 5393 |
rm -f conftest.er1
|
4471 | 5394 |
cat conftest.err >&5
|
4472 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4473 | |
(exit $ac_status); } &&
|
4474 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4475 | |
|| test ! -s conftest.err'
|
4476 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4477 | |
(eval $ac_try) 2>&5
|
4478 | |
ac_status=$?
|
4479 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4480 | |
(exit $ac_status); }; } &&
|
4481 | |
{ ac_try='test -s conftest$ac_exeext'
|
4482 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4483 | |
(eval $ac_try) 2>&5
|
4484 | |
ac_status=$?
|
4485 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4486 | |
(exit $ac_status); }; }; then
|
|
5395 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5396 |
(exit $ac_status); } && {
|
|
5397 |
test -z "$ac_c_werror_flag" ||
|
|
5398 |
test ! -s conftest.err
|
|
5399 |
} && test -s conftest$ac_exeext && {
|
|
5400 |
test "$cross_compiling" = yes ||
|
|
5401 |
$as_test_x conftest$ac_exeext
|
|
5402 |
}; then
|
4487 | 5403 |
ac_cv_lib_v5d_v5dCreate=yes
|
4488 | 5404 |
else
|
4489 | |
echo "$as_me: failed program was:" >&5
|
|
5405 |
$as_echo "$as_me: failed program was:" >&5
|
4490 | 5406 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4491 | 5407 |
|
4492 | |
ac_cv_lib_v5d_v5dCreate=no
|
4493 | |
fi
|
4494 | |
rm -f conftest.err conftest.$ac_objext \
|
|
5408 |
ac_cv_lib_v5d_v5dCreate=no
|
|
5409 |
fi
|
|
5410 |
|
|
5411 |
rm -rf conftest.dSYM
|
|
5412 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4495 | 5413 |
conftest$ac_exeext conftest.$ac_ext
|
4496 | 5414 |
LIBS=$ac_check_lib_save_LIBS
|
4497 | 5415 |
fi
|
4498 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_v5d_v5dCreate" >&5
|
4499 | |
echo "${ECHO_T}$ac_cv_lib_v5d_v5dCreate" >&6
|
4500 | |
if test $ac_cv_lib_v5d_v5dCreate = yes; then
|
|
5416 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_v5d_v5dCreate" >&5
|
|
5417 |
$as_echo "$ac_cv_lib_v5d_v5dCreate" >&6; }
|
|
5418 |
if test "x$ac_cv_lib_v5d_v5dCreate" = x""yes; then
|
4501 | 5419 |
V5D_FILES="-lv5d"; H5TOV5D=yes
|
4502 | 5420 |
fi
|
4503 | 5421 |
|
4504 | 5422 |
|
4505 | 5423 |
for ac_header in vis5d/v5d.h
|
4506 | 5424 |
do
|
4507 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4508 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4509 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4510 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4511 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4512 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4513 | |
fi
|
4514 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4515 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
5425 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
5426 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5427 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
5428 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
5429 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5430 |
$as_echo_n "(cached) " >&6
|
|
5431 |
fi
|
|
5432 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
5433 |
$as_echo "$as_val"'`
|
|
5434 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5435 |
$as_echo "$ac_res" >&6; }
|
4516 | 5436 |
else
|
4517 | 5437 |
# Is the header compilable?
|
4518 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4519 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
5438 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
5439 |
$as_echo_n "checking $ac_header usability... " >&6; }
|
4520 | 5440 |
cat >conftest.$ac_ext <<_ACEOF
|
4521 | 5441 |
/* confdefs.h. */
|
4522 | 5442 |
_ACEOF
|
|
4527 | 5447 |
#include <$ac_header>
|
4528 | 5448 |
_ACEOF
|
4529 | 5449 |
rm -f conftest.$ac_objext
|
4530 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4531 | |
(eval $ac_compile) 2>conftest.er1
|
|
5450 |
if { (ac_try="$ac_compile"
|
|
5451 |
case "(($ac_try" in
|
|
5452 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5453 |
*) ac_try_echo=$ac_try;;
|
|
5454 |
esac
|
|
5455 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5456 |
$as_echo "$ac_try_echo") >&5
|
|
5457 |
(eval "$ac_compile") 2>conftest.er1
|
4532 | 5458 |
ac_status=$?
|
4533 | 5459 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4534 | 5460 |
rm -f conftest.er1
|
4535 | 5461 |
cat conftest.err >&5
|
4536 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4537 | |
(exit $ac_status); } &&
|
4538 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4539 | |
|| test ! -s conftest.err'
|
4540 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4541 | |
(eval $ac_try) 2>&5
|
4542 | |
ac_status=$?
|
4543 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4544 | |
(exit $ac_status); }; } &&
|
4545 | |
{ ac_try='test -s conftest.$ac_objext'
|
4546 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4547 | |
(eval $ac_try) 2>&5
|
4548 | |
ac_status=$?
|
4549 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4550 | |
(exit $ac_status); }; }; then
|
|
5462 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5463 |
(exit $ac_status); } && {
|
|
5464 |
test -z "$ac_c_werror_flag" ||
|
|
5465 |
test ! -s conftest.err
|
|
5466 |
} && test -s conftest.$ac_objext; then
|
4551 | 5467 |
ac_header_compiler=yes
|
4552 | 5468 |
else
|
4553 | |
echo "$as_me: failed program was:" >&5
|
|
5469 |
$as_echo "$as_me: failed program was:" >&5
|
4554 | 5470 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4555 | 5471 |
|
4556 | |
ac_header_compiler=no
|
4557 | |
fi
|
4558 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4559 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4560 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
5472 |
ac_header_compiler=no
|
|
5473 |
fi
|
|
5474 |
|
|
5475 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5476 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5477 |
$as_echo "$ac_header_compiler" >&6; }
|
4561 | 5478 |
|
4562 | 5479 |
# Is the header present?
|
4563 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4564 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
5480 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
5481 |
$as_echo_n "checking $ac_header presence... " >&6; }
|
4565 | 5482 |
cat >conftest.$ac_ext <<_ACEOF
|
4566 | 5483 |
/* confdefs.h. */
|
4567 | 5484 |
_ACEOF
|
|
4570 | 5487 |
/* end confdefs.h. */
|
4571 | 5488 |
#include <$ac_header>
|
4572 | 5489 |
_ACEOF
|
4573 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4574 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5490 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5491 |
case "(($ac_try" in
|
|
5492 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5493 |
*) ac_try_echo=$ac_try;;
|
|
5494 |
esac
|
|
5495 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5496 |
$as_echo "$ac_try_echo") >&5
|
|
5497 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4575 | 5498 |
ac_status=$?
|
4576 | 5499 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4577 | 5500 |
rm -f conftest.er1
|
4578 | 5501 |
cat conftest.err >&5
|
4579 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4580 | |
(exit $ac_status); } >/dev/null; then
|
4581 | |
if test -s conftest.err; then
|
4582 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
4583 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
4584 | |
else
|
4585 | |
ac_cpp_err=
|
4586 | |
fi
|
4587 | |
else
|
4588 | |
ac_cpp_err=yes
|
4589 | |
fi
|
4590 | |
if test -z "$ac_cpp_err"; then
|
|
5502 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5503 |
(exit $ac_status); } >/dev/null && {
|
|
5504 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
5505 |
test ! -s conftest.err
|
|
5506 |
}; then
|
4591 | 5507 |
ac_header_preproc=yes
|
4592 | 5508 |
else
|
4593 | |
echo "$as_me: failed program was:" >&5
|
|
5509 |
$as_echo "$as_me: failed program was:" >&5
|
4594 | 5510 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4595 | 5511 |
|
4596 | 5512 |
ac_header_preproc=no
|
4597 | 5513 |
fi
|
|
5514 |
|
4598 | 5515 |
rm -f conftest.err conftest.$ac_ext
|
4599 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4600 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
5516 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5517 |
$as_echo "$ac_header_preproc" >&6; }
|
4601 | 5518 |
|
4602 | 5519 |
# So? What about this header?
|
4603 | 5520 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4604 | 5521 |
yes:no: )
|
4605 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4606 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4607 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
4608 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
5522 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
5523 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
5524 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
5525 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
4609 | 5526 |
ac_header_preproc=yes
|
4610 | 5527 |
;;
|
4611 | 5528 |
no:yes:* )
|
4612 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4613 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4614 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4615 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4616 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
4617 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
4618 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
4619 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4620 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4621 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4622 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4623 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4624 | |
(
|
4625 | |
cat <<\_ASBOX
|
|
5529 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
5530 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
5531 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
5532 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
5533 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
5534 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
5535 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
5536 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
5537 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
5538 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
5539 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
5540 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
5541 |
( cat <<\_ASBOX
|
4626 | 5542 |
## ----------------------------------- ##
|
4627 | 5543 |
## Report this to stevenj@alum.mit.edu ##
|
4628 | 5544 |
## ----------------------------------- ##
|
4629 | 5545 |
_ASBOX
|
4630 | |
) |
|
4631 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5546 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4632 | 5547 |
;;
|
4633 | 5548 |
esac
|
4634 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4635 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4636 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4637 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5549 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
5550 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
5551 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5552 |
$as_echo_n "(cached) " >&6
|
4638 | 5553 |
else
|
4639 | 5554 |
eval "$as_ac_Header=\$ac_header_preproc"
|
4640 | 5555 |
fi
|
4641 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4642 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4643 | |
|
4644 | |
fi
|
4645 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
5556 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
5557 |
$as_echo "$as_val"'`
|
|
5558 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5559 |
$as_echo "$ac_res" >&6; }
|
|
5560 |
|
|
5561 |
fi
|
|
5562 |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
5563 |
$as_echo "$as_val"'`
|
|
5564 |
if test "x$as_val" = x""yes; then
|
4646 | 5565 |
cat >>confdefs.h <<_ACEOF
|
4647 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5566 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4648 | 5567 |
_ACEOF
|
4649 | 5568 |
|
4650 | 5569 |
fi
|
|
4652 | 5571 |
done
|
4653 | 5572 |
|
4654 | 5573 |
if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
|
4655 | |
echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
|
4656 | |
echo $ECHO_N "checking for vis5d+/v5d.h... $ECHO_C" >&6
|
|
5574 |
{ $as_echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
|
|
5575 |
$as_echo_n "checking for vis5d+/v5d.h... " >&6; }
|
4657 | 5576 |
if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
|
4658 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4659 | |
fi
|
4660 | |
echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
|
4661 | |
echo "${ECHO_T}$ac_cv_header_vis5dp_v5d_h" >&6
|
|
5577 |
$as_echo_n "(cached) " >&6
|
|
5578 |
fi
|
|
5579 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
|
|
5580 |
$as_echo "$ac_cv_header_vis5dp_v5d_h" >&6; }
|
4662 | 5581 |
else
|
4663 | 5582 |
# Is the header compilable?
|
4664 | |
echo "$as_me:$LINENO: checking vis5d+/v5d.h usability" >&5
|
4665 | |
echo $ECHO_N "checking vis5d+/v5d.h usability... $ECHO_C" >&6
|
|
5583 |
{ $as_echo "$as_me:$LINENO: checking vis5d+/v5d.h usability" >&5
|
|
5584 |
$as_echo_n "checking vis5d+/v5d.h usability... " >&6; }
|
4666 | 5585 |
cat >conftest.$ac_ext <<_ACEOF
|
4667 | 5586 |
/* confdefs.h. */
|
4668 | 5587 |
_ACEOF
|
|
4673 | 5592 |
#include <vis5d+/v5d.h>
|
4674 | 5593 |
_ACEOF
|
4675 | 5594 |
rm -f conftest.$ac_objext
|
4676 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4677 | |
(eval $ac_compile) 2>conftest.er1
|
|
5595 |
if { (ac_try="$ac_compile"
|
|
5596 |
case "(($ac_try" in
|
|
5597 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5598 |
*) ac_try_echo=$ac_try;;
|
|
5599 |
esac
|
|
5600 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5601 |
$as_echo "$ac_try_echo") >&5
|
|
5602 |
(eval "$ac_compile") 2>conftest.er1
|
4678 | 5603 |
ac_status=$?
|
4679 | 5604 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4680 | 5605 |
rm -f conftest.er1
|
4681 | 5606 |
cat conftest.err >&5
|
4682 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4683 | |
(exit $ac_status); } &&
|
4684 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4685 | |
|| test ! -s conftest.err'
|
4686 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4687 | |
(eval $ac_try) 2>&5
|
4688 | |
ac_status=$?
|
4689 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4690 | |
(exit $ac_status); }; } &&
|
4691 | |
{ ac_try='test -s conftest.$ac_objext'
|
4692 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4693 | |
(eval $ac_try) 2>&5
|
4694 | |
ac_status=$?
|
4695 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4696 | |
(exit $ac_status); }; }; then
|
|
5607 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5608 |
(exit $ac_status); } && {
|
|
5609 |
test -z "$ac_c_werror_flag" ||
|
|
5610 |
test ! -s conftest.err
|
|
5611 |
} && test -s conftest.$ac_objext; then
|
4697 | 5612 |
ac_header_compiler=yes
|
4698 | 5613 |
else
|
4699 | |
echo "$as_me: failed program was:" >&5
|
|
5614 |
$as_echo "$as_me: failed program was:" >&5
|
4700 | 5615 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4701 | 5616 |
|
4702 | |
ac_header_compiler=no
|
4703 | |
fi
|
4704 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4705 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4706 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
5617 |
ac_header_compiler=no
|
|
5618 |
fi
|
|
5619 |
|
|
5620 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5621 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5622 |
$as_echo "$ac_header_compiler" >&6; }
|
4707 | 5623 |
|
4708 | 5624 |
# Is the header present?
|
4709 | |
echo "$as_me:$LINENO: checking vis5d+/v5d.h presence" >&5
|
4710 | |
echo $ECHO_N "checking vis5d+/v5d.h presence... $ECHO_C" >&6
|
|
5625 |
{ $as_echo "$as_me:$LINENO: checking vis5d+/v5d.h presence" >&5
|
|
5626 |
$as_echo_n "checking vis5d+/v5d.h presence... " >&6; }
|
4711 | 5627 |
cat >conftest.$ac_ext <<_ACEOF
|
4712 | 5628 |
/* confdefs.h. */
|
4713 | 5629 |
_ACEOF
|
|
4716 | 5632 |
/* end confdefs.h. */
|
4717 | 5633 |
#include <vis5d+/v5d.h>
|
4718 | 5634 |
_ACEOF
|
4719 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4720 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5635 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5636 |
case "(($ac_try" in
|
|
5637 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5638 |
*) ac_try_echo=$ac_try;;
|
|
5639 |
esac
|
|
5640 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5641 |
$as_echo "$ac_try_echo") >&5
|
|
5642 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4721 | 5643 |
ac_status=$?
|
4722 | 5644 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4723 | 5645 |
rm -f conftest.er1
|
4724 | 5646 |
cat conftest.err >&5
|
4725 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4726 | |
(exit $ac_status); } >/dev/null; then
|
4727 | |
if test -s conftest.err; then
|
4728 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
4729 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
4730 | |
else
|
4731 | |
ac_cpp_err=
|
4732 | |
fi
|
4733 | |
else
|
4734 | |
ac_cpp_err=yes
|
4735 | |
fi
|
4736 | |
if test -z "$ac_cpp_err"; then
|
|
5647 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5648 |
(exit $ac_status); } >/dev/null && {
|
|
5649 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
5650 |
test ! -s conftest.err
|
|
5651 |
}; then
|
4737 | 5652 |
ac_header_preproc=yes
|
4738 | 5653 |
else
|
4739 | |
echo "$as_me: failed program was:" >&5
|
|
5654 |
$as_echo "$as_me: failed program was:" >&5
|
4740 | 5655 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4741 | 5656 |
|
4742 | 5657 |
ac_header_preproc=no
|
4743 | 5658 |
fi
|
|
5659 |
|
4744 | 5660 |
rm -f conftest.err conftest.$ac_ext
|
4745 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4746 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
5661 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5662 |
$as_echo "$ac_header_preproc" >&6; }
|
4747 | 5663 |
|
4748 | 5664 |
# So? What about this header?
|
4749 | 5665 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4750 | 5666 |
yes:no: )
|
4751 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4752 | |
echo "$as_me: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4753 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&5
|
4754 | |
echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&2;}
|
|
5667 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
5668 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
5669 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&5
|
|
5670 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the compiler's result" >&2;}
|
4755 | 5671 |
ac_header_preproc=yes
|
4756 | 5672 |
;;
|
4757 | 5673 |
no:yes:* )
|
4758 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&5
|
4759 | |
echo "$as_me: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&2;}
|
4760 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&5
|
4761 | |
echo "$as_me: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&2;}
|
4762 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&5
|
4763 | |
echo "$as_me: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&2;}
|
4764 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&5
|
4765 | |
echo "$as_me: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4766 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&5
|
4767 | |
echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&2;}
|
4768 | |
{ echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&5
|
4769 | |
echo "$as_me: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&2;}
|
4770 | |
(
|
4771 | |
cat <<\_ASBOX
|
|
5674 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&5
|
|
5675 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: present but cannot be compiled" >&2;}
|
|
5676 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&5
|
|
5677 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: check for missing prerequisite headers?" >&2;}
|
|
5678 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&5
|
|
5679 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: see the Autoconf documentation" >&2;}
|
|
5680 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&5
|
|
5681 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
5682 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&5
|
|
5683 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: proceeding with the preprocessor's result" >&2;}
|
|
5684 |
{ $as_echo "$as_me:$LINENO: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&5
|
|
5685 |
$as_echo "$as_me: WARNING: vis5d+/v5d.h: in the future, the compiler will take precedence" >&2;}
|
|
5686 |
( cat <<\_ASBOX
|
4772 | 5687 |
## ----------------------------------- ##
|
4773 | 5688 |
## Report this to stevenj@alum.mit.edu ##
|
4774 | 5689 |
## ----------------------------------- ##
|
4775 | 5690 |
_ASBOX
|
4776 | |
) |
|
4777 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5691 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4778 | 5692 |
;;
|
4779 | 5693 |
esac
|
4780 | |
echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
|
4781 | |
echo $ECHO_N "checking for vis5d+/v5d.h... $ECHO_C" >&6
|
|
5694 |
{ $as_echo "$as_me:$LINENO: checking for vis5d+/v5d.h" >&5
|
|
5695 |
$as_echo_n "checking for vis5d+/v5d.h... " >&6; }
|
4782 | 5696 |
if test "${ac_cv_header_vis5dp_v5d_h+set}" = set; then
|
4783 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5697 |
$as_echo_n "(cached) " >&6
|
4784 | 5698 |
else
|
4785 | 5699 |
ac_cv_header_vis5dp_v5d_h=$ac_header_preproc
|
4786 | 5700 |
fi
|
4787 | |
echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
|
4788 | |
echo "${ECHO_T}$ac_cv_header_vis5dp_v5d_h" >&6
|
4789 | |
|
4790 | |
fi
|
4791 | |
if test $ac_cv_header_vis5dp_v5d_h = yes; then
|
|
5701 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_vis5dp_v5d_h" >&5
|
|
5702 |
$as_echo "$ac_cv_header_vis5dp_v5d_h" >&6; }
|
|
5703 |
|
|
5704 |
fi
|
|
5705 |
if test "x$ac_cv_header_vis5dp_v5d_h" = x""yes; then
|
4792 | 5706 |
|
4793 | 5707 |
cat >>confdefs.h <<\_ACEOF
|
4794 | 5708 |
#define HAVE_VIS5Dp_V5D_H 1
|
|
4798 | 5712 |
|
4799 | 5713 |
|
4800 | 5714 |
elif test "$ok" != "no"; then
|
4801 | |
echo "$as_me:$LINENO: checking for Vis5d object files and headers" >&5
|
4802 | |
echo $ECHO_N "checking for Vis5d object files and headers... $ECHO_C" >&6
|
|
5715 |
{ $as_echo "$as_me:$LINENO: checking for Vis5d object files and headers" >&5
|
|
5716 |
$as_echo_n "checking for Vis5d object files and headers... " >&6; }
|
4803 | 5717 |
if test -r "$ok/src/v5d.o" -a -r "$ok/src/binio.o" -a -r "$ok/src/v5d.h" -a -r "$ok/src/binio.h"; then
|
4804 | 5718 |
V5D_FILES="$ok/src/v5d.o $ok/src/binio.o"
|
4805 | 5719 |
V5D_INCLUDES="-I$ok/src"
|
|
4808 | 5722 |
V5D_INCLUDES="-I$ok"
|
4809 | 5723 |
fi
|
4810 | 5724 |
if test -z "$V5D_FILES"; then
|
4811 | |
echo "$as_me:$LINENO: result: not found" >&5
|
4812 | |
echo "${ECHO_T}not found" >&6
|
4813 | |
{ { echo "$as_me:$LINENO: error: couldn't read Vis5D object files in $ok" >&5
|
4814 | |
echo "$as_me: error: couldn't read Vis5D object files in $ok" >&2;}
|
|
5725 |
{ $as_echo "$as_me:$LINENO: result: not found" >&5
|
|
5726 |
$as_echo "not found" >&6; }
|
|
5727 |
{ { $as_echo "$as_me:$LINENO: error: couldn't read Vis5D object files in $ok" >&5
|
|
5728 |
$as_echo "$as_me: error: couldn't read Vis5D object files in $ok" >&2;}
|
4815 | 5729 |
{ (exit 1); exit 1; }; }
|
4816 | 5730 |
else
|
4817 | |
echo "$as_me:$LINENO: result: found" >&5
|
4818 | |
echo "${ECHO_T}found" >&6
|
|
5731 |
{ $as_echo "$as_me:$LINENO: result: found" >&5
|
|
5732 |
$as_echo "found" >&6; }
|
4819 | 5733 |
fi
|
4820 | 5734 |
H5TOV5D=yes
|
4821 | 5735 |
fi
|
4822 | 5736 |
if test $H5TOV5D = yes; then
|
4823 | |
MORE_H5UTILS="h5tov5d $MORE_H5UTILS"
|
|
5737 |
MORE_H5UTILS="h5tov5d\$(EXEEXT) $MORE_H5UTILS"
|
4824 | 5738 |
MORE_H5UTILS_MANS="h5tov5d.1 $MORE_H5UTILS_MANS"
|
4825 | 5739 |
fi
|
4826 | 5740 |
|
|
4829 | 5743 |
###########################################################################
|
4830 | 5744 |
|
4831 | 5745 |
|
4832 | |
for ac_header in netinet/in.h
|
|
5746 |
|
|
5747 |
|
|
5748 |
|
|
5749 |
for ac_header in arpa/inet.h netinet/in.h stdint.h inttypes.h
|
4833 | 5750 |
do
|
4834 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4835 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4836 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4837 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4838 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4839 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4840 | |
fi
|
4841 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4842 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
5751 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
5752 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5753 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
5754 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
5755 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5756 |
$as_echo_n "(cached) " >&6
|
|
5757 |
fi
|
|
5758 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
5759 |
$as_echo "$as_val"'`
|
|
5760 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5761 |
$as_echo "$ac_res" >&6; }
|
4843 | 5762 |
else
|
4844 | 5763 |
# Is the header compilable?
|
4845 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4846 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
5764 |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
5765 |
$as_echo_n "checking $ac_header usability... " >&6; }
|
4847 | 5766 |
cat >conftest.$ac_ext <<_ACEOF
|
4848 | 5767 |
/* confdefs.h. */
|
4849 | 5768 |
_ACEOF
|
|
4854 | 5773 |
#include <$ac_header>
|
4855 | 5774 |
_ACEOF
|
4856 | 5775 |
rm -f conftest.$ac_objext
|
4857 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4858 | |
(eval $ac_compile) 2>conftest.er1
|
|
5776 |
if { (ac_try="$ac_compile"
|
|
5777 |
case "(($ac_try" in
|
|
5778 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5779 |
*) ac_try_echo=$ac_try;;
|
|
5780 |
esac
|
|
5781 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5782 |
$as_echo "$ac_try_echo") >&5
|
|
5783 |
(eval "$ac_compile") 2>conftest.er1
|
4859 | 5784 |
ac_status=$?
|
4860 | 5785 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4861 | 5786 |
rm -f conftest.er1
|
4862 | 5787 |
cat conftest.err >&5
|
4863 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4864 | |
(exit $ac_status); } &&
|
4865 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
4866 | |
|| test ! -s conftest.err'
|
4867 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4868 | |
(eval $ac_try) 2>&5
|
4869 | |
ac_status=$?
|
4870 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4871 | |
(exit $ac_status); }; } &&
|
4872 | |
{ ac_try='test -s conftest.$ac_objext'
|
4873 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4874 | |
(eval $ac_try) 2>&5
|
4875 | |
ac_status=$?
|
4876 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4877 | |
(exit $ac_status); }; }; then
|
|
5788 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5789 |
(exit $ac_status); } && {
|
|
5790 |
test -z "$ac_c_werror_flag" ||
|
|
5791 |
test ! -s conftest.err
|
|
5792 |
} && test -s conftest.$ac_objext; then
|
4878 | 5793 |
ac_header_compiler=yes
|
4879 | 5794 |
else
|
4880 | |
echo "$as_me: failed program was:" >&5
|
|
5795 |
$as_echo "$as_me: failed program was:" >&5
|
4881 | 5796 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4882 | 5797 |
|
4883 | |
ac_header_compiler=no
|
4884 | |
fi
|
4885 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4886 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4887 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
5798 |
ac_header_compiler=no
|
|
5799 |
fi
|
|
5800 |
|
|
5801 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5802 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
5803 |
$as_echo "$ac_header_compiler" >&6; }
|
4888 | 5804 |
|
4889 | 5805 |
# Is the header present?
|
4890 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4891 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
5806 |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
5807 |
$as_echo_n "checking $ac_header presence... " >&6; }
|
4892 | 5808 |
cat >conftest.$ac_ext <<_ACEOF
|
4893 | 5809 |
/* confdefs.h. */
|
4894 | 5810 |
_ACEOF
|
|
4897 | 5813 |
/* end confdefs.h. */
|
4898 | 5814 |
#include <$ac_header>
|
4899 | 5815 |
_ACEOF
|
4900 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4901 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
5816 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
5817 |
case "(($ac_try" in
|
|
5818 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5819 |
*) ac_try_echo=$ac_try;;
|
|
5820 |
esac
|
|
5821 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5822 |
$as_echo "$ac_try_echo") >&5
|
|
5823 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4902 | 5824 |
ac_status=$?
|
4903 | 5825 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4904 | 5826 |
rm -f conftest.er1
|
4905 | 5827 |
cat conftest.err >&5
|
4906 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4907 | |
(exit $ac_status); } >/dev/null; then
|
4908 | |
if test -s conftest.err; then
|
4909 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
4910 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
4911 | |
else
|
4912 | |
ac_cpp_err=
|
4913 | |
fi
|
4914 | |
else
|
4915 | |
ac_cpp_err=yes
|
4916 | |
fi
|
4917 | |
if test -z "$ac_cpp_err"; then
|
|
5828 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5829 |
(exit $ac_status); } >/dev/null && {
|
|
5830 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
5831 |
test ! -s conftest.err
|
|
5832 |
}; then
|
4918 | 5833 |
ac_header_preproc=yes
|
4919 | 5834 |
else
|
4920 | |
echo "$as_me: failed program was:" >&5
|
|
5835 |
$as_echo "$as_me: failed program was:" >&5
|
4921 | 5836 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4922 | 5837 |
|
4923 | 5838 |
ac_header_preproc=no
|
4924 | 5839 |
fi
|
|
5840 |
|
4925 | 5841 |
rm -f conftest.err conftest.$ac_ext
|
4926 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4927 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
5842 |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
5843 |
$as_echo "$ac_header_preproc" >&6; }
|
4928 | 5844 |
|
4929 | 5845 |
# So? What about this header?
|
4930 | 5846 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4931 | 5847 |
yes:no: )
|
4932 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
4933 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4934 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
4935 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
|
5848 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
5849 |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
5850 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
|
5851 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
4936 | 5852 |
ac_header_preproc=yes
|
4937 | 5853 |
;;
|
4938 | 5854 |
no:yes:* )
|
4939 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
4940 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
4941 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
4942 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
4943 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
4944 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
4945 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
4946 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
4947 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
4948 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4949 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4950 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4951 | |
(
|
4952 | |
cat <<\_ASBOX
|
|
5855 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
|
5856 |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
|
5857 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
|
5858 |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
|
5859 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
|
5860 |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
|
5861 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
|
5862 |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
5863 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
|
5864 |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
|
5865 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
|
5866 |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
|
5867 |
( cat <<\_ASBOX
|
4953 | 5868 |
## ----------------------------------- ##
|
4954 | 5869 |
## Report this to stevenj@alum.mit.edu ##
|
4955 | 5870 |
## ----------------------------------- ##
|
4956 | 5871 |
_ASBOX
|
4957 | |
) |
|
4958 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
5872 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4959 | 5873 |
;;
|
4960 | 5874 |
esac
|
4961 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4962 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4963 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4964 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5875 |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
5876 |
$as_echo_n "checking for $ac_header... " >&6; }
|
|
5877 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
5878 |
$as_echo_n "(cached) " >&6
|
4965 | 5879 |
else
|
4966 | 5880 |
eval "$as_ac_Header=\$ac_header_preproc"
|
4967 | 5881 |
fi
|
4968 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4969 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
4970 | |
|
4971 | |
fi
|
4972 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
5882 |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
|
5883 |
$as_echo "$as_val"'`
|
|
5884 |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
5885 |
$as_echo "$ac_res" >&6; }
|
|
5886 |
|
|
5887 |
fi
|
|
5888 |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
|
5889 |
$as_echo "$as_val"'`
|
|
5890 |
if test "x$as_val" = x""yes; then
|
4973 | 5891 |
cat >>confdefs.h <<_ACEOF
|
4974 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5892 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4975 | 5893 |
_ACEOF
|
4976 | 5894 |
|
4977 | 5895 |
fi
|
4978 | 5896 |
|
4979 | 5897 |
done
|
4980 | 5898 |
|
4981 | |
|
4982 | |
echo "$as_me:$LINENO: checking for htons" >&5
|
4983 | |
echo $ECHO_N "checking for htons... $ECHO_C" >&6
|
|
5899 |
{ $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
|
|
5900 |
$as_echo_n "checking for uint16_t... " >&6; }
|
|
5901 |
if test "${ac_cv_type_uint16_t+set}" = set; then
|
|
5902 |
$as_echo_n "(cached) " >&6
|
|
5903 |
else
|
|
5904 |
ac_cv_type_uint16_t=no
|
4984 | 5905 |
cat >conftest.$ac_ext <<_ACEOF
|
4985 | 5906 |
/* confdefs.h. */
|
4986 | 5907 |
_ACEOF
|
4987 | 5908 |
cat confdefs.h >>conftest.$ac_ext
|
4988 | 5909 |
cat >>conftest.$ac_ext <<_ACEOF
|
4989 | 5910 |
/* end confdefs.h. */
|
4990 | |
#ifdef HAVE_NETINET_IN_H
|
|
5911 |
$ac_includes_default
|
|
5912 |
int
|
|
5913 |
main ()
|
|
5914 |
{
|
|
5915 |
if (sizeof (uint16_t))
|
|
5916 |
return 0;
|
|
5917 |
;
|
|
5918 |
return 0;
|
|
5919 |
}
|
|
5920 |
_ACEOF
|
|
5921 |
rm -f conftest.$ac_objext
|
|
5922 |
if { (ac_try="$ac_compile"
|
|
5923 |
case "(($ac_try" in
|
|
5924 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5925 |
*) ac_try_echo=$ac_try;;
|
|
5926 |
esac
|
|
5927 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5928 |
$as_echo "$ac_try_echo") >&5
|
|
5929 |
(eval "$ac_compile") 2>conftest.er1
|
|
5930 |
ac_status=$?
|
|
5931 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5932 |
rm -f conftest.er1
|
|
5933 |
cat conftest.err >&5
|
|
5934 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5935 |
(exit $ac_status); } && {
|
|
5936 |
test -z "$ac_c_werror_flag" ||
|
|
5937 |
test ! -s conftest.err
|
|
5938 |
} && test -s conftest.$ac_objext; then
|
|
5939 |
cat >conftest.$ac_ext <<_ACEOF
|
|
5940 |
/* confdefs.h. */
|
|
5941 |
_ACEOF
|
|
5942 |
cat confdefs.h >>conftest.$ac_ext
|
|
5943 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5944 |
/* end confdefs.h. */
|
|
5945 |
$ac_includes_default
|
|
5946 |
int
|
|
5947 |
main ()
|
|
5948 |
{
|
|
5949 |
if (sizeof ((uint16_t)))
|
|
5950 |
return 0;
|
|
5951 |
;
|
|
5952 |
return 0;
|
|
5953 |
}
|
|
5954 |
_ACEOF
|
|
5955 |
rm -f conftest.$ac_objext
|
|
5956 |
if { (ac_try="$ac_compile"
|
|
5957 |
case "(($ac_try" in
|
|
5958 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
5959 |
*) ac_try_echo=$ac_try;;
|
|
5960 |
esac
|
|
5961 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
5962 |
$as_echo "$ac_try_echo") >&5
|
|
5963 |
(eval "$ac_compile") 2>conftest.er1
|
|
5964 |
ac_status=$?
|
|
5965 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
5966 |
rm -f conftest.er1
|
|
5967 |
cat conftest.err >&5
|
|
5968 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5969 |
(exit $ac_status); } && {
|
|
5970 |
test -z "$ac_c_werror_flag" ||
|
|
5971 |
test ! -s conftest.err
|
|
5972 |
} && test -s conftest.$ac_objext; then
|
|
5973 |
:
|
|
5974 |
else
|
|
5975 |
$as_echo "$as_me: failed program was:" >&5
|
|
5976 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5977 |
|
|
5978 |
ac_cv_type_uint16_t=yes
|
|
5979 |
fi
|
|
5980 |
|
|
5981 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5982 |
else
|
|
5983 |
$as_echo "$as_me: failed program was:" >&5
|
|
5984 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
5985 |
|
|
5986 |
|
|
5987 |
fi
|
|
5988 |
|
|
5989 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5990 |
fi
|
|
5991 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
|
|
5992 |
$as_echo "$ac_cv_type_uint16_t" >&6; }
|
|
5993 |
if test "x$ac_cv_type_uint16_t" = x""yes; then
|
|
5994 |
|
|
5995 |
cat >>confdefs.h <<_ACEOF
|
|
5996 |
#define HAVE_UINT16_T 1
|
|
5997 |
_ACEOF
|
|
5998 |
|
|
5999 |
|
|
6000 |
fi
|
|
6001 |
{ $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
|
|
6002 |
$as_echo_n "checking for uint32_t... " >&6; }
|
|
6003 |
if test "${ac_cv_type_uint32_t+set}" = set; then
|
|
6004 |
$as_echo_n "(cached) " >&6
|
|
6005 |
else
|
|
6006 |
ac_cv_type_uint32_t=no
|
|
6007 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6008 |
/* confdefs.h. */
|
|
6009 |
_ACEOF
|
|
6010 |
cat confdefs.h >>conftest.$ac_ext
|
|
6011 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6012 |
/* end confdefs.h. */
|
|
6013 |
$ac_includes_default
|
|
6014 |
int
|
|
6015 |
main ()
|
|
6016 |
{
|
|
6017 |
if (sizeof (uint32_t))
|
|
6018 |
return 0;
|
|
6019 |
;
|
|
6020 |
return 0;
|
|
6021 |
}
|
|
6022 |
_ACEOF
|
|
6023 |
rm -f conftest.$ac_objext
|
|
6024 |
if { (ac_try="$ac_compile"
|
|
6025 |
case "(($ac_try" in
|
|
6026 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6027 |
*) ac_try_echo=$ac_try;;
|
|
6028 |
esac
|
|
6029 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6030 |
$as_echo "$ac_try_echo") >&5
|
|
6031 |
(eval "$ac_compile") 2>conftest.er1
|
|
6032 |
ac_status=$?
|
|
6033 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6034 |
rm -f conftest.er1
|
|
6035 |
cat conftest.err >&5
|
|
6036 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6037 |
(exit $ac_status); } && {
|
|
6038 |
test -z "$ac_c_werror_flag" ||
|
|
6039 |
test ! -s conftest.err
|
|
6040 |
} && test -s conftest.$ac_objext; then
|
|
6041 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6042 |
/* confdefs.h. */
|
|
6043 |
_ACEOF
|
|
6044 |
cat confdefs.h >>conftest.$ac_ext
|
|
6045 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6046 |
/* end confdefs.h. */
|
|
6047 |
$ac_includes_default
|
|
6048 |
int
|
|
6049 |
main ()
|
|
6050 |
{
|
|
6051 |
if (sizeof ((uint32_t)))
|
|
6052 |
return 0;
|
|
6053 |
;
|
|
6054 |
return 0;
|
|
6055 |
}
|
|
6056 |
_ACEOF
|
|
6057 |
rm -f conftest.$ac_objext
|
|
6058 |
if { (ac_try="$ac_compile"
|
|
6059 |
case "(($ac_try" in
|
|
6060 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6061 |
*) ac_try_echo=$ac_try;;
|
|
6062 |
esac
|
|
6063 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6064 |
$as_echo "$ac_try_echo") >&5
|
|
6065 |
(eval "$ac_compile") 2>conftest.er1
|
|
6066 |
ac_status=$?
|
|
6067 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6068 |
rm -f conftest.er1
|
|
6069 |
cat conftest.err >&5
|
|
6070 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6071 |
(exit $ac_status); } && {
|
|
6072 |
test -z "$ac_c_werror_flag" ||
|
|
6073 |
test ! -s conftest.err
|
|
6074 |
} && test -s conftest.$ac_objext; then
|
|
6075 |
:
|
|
6076 |
else
|
|
6077 |
$as_echo "$as_me: failed program was:" >&5
|
|
6078 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6079 |
|
|
6080 |
ac_cv_type_uint32_t=yes
|
|
6081 |
fi
|
|
6082 |
|
|
6083 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6084 |
else
|
|
6085 |
$as_echo "$as_me: failed program was:" >&5
|
|
6086 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6087 |
|
|
6088 |
|
|
6089 |
fi
|
|
6090 |
|
|
6091 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6092 |
fi
|
|
6093 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
|
|
6094 |
$as_echo "$ac_cv_type_uint32_t" >&6; }
|
|
6095 |
if test "x$ac_cv_type_uint32_t" = x""yes; then
|
|
6096 |
|
|
6097 |
cat >>confdefs.h <<_ACEOF
|
|
6098 |
#define HAVE_UINT32_T 1
|
|
6099 |
_ACEOF
|
|
6100 |
|
|
6101 |
|
|
6102 |
fi
|
|
6103 |
|
|
6104 |
|
|
6105 |
{ $as_echo "$as_me:$LINENO: checking for htons" >&5
|
|
6106 |
$as_echo_n "checking for htons... " >&6; }
|
|
6107 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6108 |
/* confdefs.h. */
|
|
6109 |
_ACEOF
|
|
6110 |
cat confdefs.h >>conftest.$ac_ext
|
|
6111 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6112 |
/* end confdefs.h. */
|
|
6113 |
#if defined(HAVE_ARPA_INET_H)
|
|
6114 |
#include <arpa/inet.h>
|
|
6115 |
#elif defined(HAVE_NETINET_IN_H)
|
4991 | 6116 |
#include <netinet/in.h>
|
4992 | 6117 |
#endif
|
4993 | 6118 |
int
|
|
4999 | 6124 |
}
|
5000 | 6125 |
_ACEOF
|
5001 | 6126 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5002 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
5003 | |
(eval $ac_link) 2>conftest.er1
|
|
6127 |
if { (ac_try="$ac_link"
|
|
6128 |
case "(($ac_try" in
|
|
6129 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6130 |
*) ac_try_echo=$ac_try;;
|
|
6131 |
esac
|
|
6132 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6133 |
$as_echo "$ac_try_echo") >&5
|
|
6134 |
(eval "$ac_link") 2>conftest.er1
|
5004 | 6135 |
ac_status=$?
|
5005 | 6136 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5006 | 6137 |
rm -f conftest.er1
|
5007 | 6138 |
cat conftest.err >&5
|
5008 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5009 | |
(exit $ac_status); } &&
|
5010 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5011 | |
|| test ! -s conftest.err'
|
5012 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5013 | |
(eval $ac_try) 2>&5
|
5014 | |
ac_status=$?
|
5015 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5016 | |
(exit $ac_status); }; } &&
|
5017 | |
{ ac_try='test -s conftest$ac_exeext'
|
5018 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5019 | |
(eval $ac_try) 2>&5
|
5020 | |
ac_status=$?
|
5021 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5022 | |
(exit $ac_status); }; }; then
|
|
6139 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6140 |
(exit $ac_status); } && {
|
|
6141 |
test -z "$ac_c_werror_flag" ||
|
|
6142 |
test ! -s conftest.err
|
|
6143 |
} && test -s conftest$ac_exeext && {
|
|
6144 |
test "$cross_compiling" = yes ||
|
|
6145 |
$as_test_x conftest$ac_exeext
|
|
6146 |
}; then
|
5023 | 6147 |
htons=yes
|
5024 | 6148 |
|
5025 | 6149 |
cat >>confdefs.h <<\_ACEOF
|
|
5027 | 6151 |
_ACEOF
|
5028 | 6152 |
|
5029 | 6153 |
else
|
5030 | |
echo "$as_me: failed program was:" >&5
|
|
6154 |
$as_echo "$as_me: failed program was:" >&5
|
5031 | 6155 |
sed 's/^/| /' conftest.$ac_ext >&5
|
5032 | 6156 |
|
5033 | |
htons=no
|
5034 | |
fi
|
5035 | |
rm -f conftest.err conftest.$ac_objext \
|
|
6157 |
htons=no
|
|
6158 |
fi
|
|
6159 |
|
|
6160 |
rm -rf conftest.dSYM
|
|
6161 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5036 | 6162 |
conftest$ac_exeext conftest.$ac_ext
|
5037 | |
echo "$as_me:$LINENO: result: $htons" >&5
|
5038 | |
echo "${ECHO_T}$htons" >&6
|
5039 | |
|
5040 | |
echo "$as_me:$LINENO: checking for unsigned long" >&5
|
5041 | |
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
|
5042 | |
if test "${ac_cv_type_unsigned_long+set}" = set; then
|
5043 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5044 | |
else
|
5045 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6163 |
{ $as_echo "$as_me:$LINENO: result: $htons" >&5
|
|
6164 |
$as_echo "$htons" >&6; }
|
|
6165 |
|
|
6166 |
# The cast to long int works around a bug in the HP C Compiler
|
|
6167 |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
|
6168 |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
|
6169 |
# This bug is HP SR number 8606223364.
|
|
6170 |
{ $as_echo "$as_me:$LINENO: checking size of float" >&5
|
|
6171 |
$as_echo_n "checking size of float... " >&6; }
|
|
6172 |
if test "${ac_cv_sizeof_float+set}" = set; then
|
|
6173 |
$as_echo_n "(cached) " >&6
|
|
6174 |
else
|
|
6175 |
if test "$cross_compiling" = yes; then
|
|
6176 |
# Depending upon the size, compute the lo and hi bounds.
|
|
6177 |
cat >conftest.$ac_ext <<_ACEOF
|
5046 | 6178 |
/* confdefs.h. */
|
5047 | 6179 |
_ACEOF
|
5048 | 6180 |
cat confdefs.h >>conftest.$ac_ext
|
|
5052 | 6184 |
int
|
5053 | 6185 |
main ()
|
5054 | 6186 |
{
|
5055 | |
if ((unsigned long *) 0)
|
5056 | |
return 0;
|
5057 | |
if (sizeof (unsigned long))
|
5058 | |
return 0;
|
|
6187 |
static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
|
|
6188 |
test_array [0] = 0
|
|
6189 |
|
5059 | 6190 |
;
|
5060 | 6191 |
return 0;
|
5061 | 6192 |
}
|
5062 | 6193 |
_ACEOF
|
5063 | 6194 |
rm -f conftest.$ac_objext
|
5064 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5065 | |
(eval $ac_compile) 2>conftest.er1
|
|
6195 |
if { (ac_try="$ac_compile"
|
|
6196 |
case "(($ac_try" in
|
|
6197 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6198 |
*) ac_try_echo=$ac_try;;
|
|
6199 |
esac
|
|
6200 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6201 |
$as_echo "$ac_try_echo") >&5
|
|
6202 |
(eval "$ac_compile") 2>conftest.er1
|
5066 | 6203 |
ac_status=$?
|
5067 | 6204 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5068 | 6205 |
rm -f conftest.er1
|
5069 | 6206 |
cat conftest.err >&5
|
5070 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5071 | |
(exit $ac_status); } &&
|
5072 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5073 | |
|| test ! -s conftest.err'
|
5074 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5075 | |
(eval $ac_try) 2>&5
|
5076 | |
ac_status=$?
|
5077 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5078 | |
(exit $ac_status); }; } &&
|
5079 | |
{ ac_try='test -s conftest.$ac_objext'
|
5080 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5081 | |
(eval $ac_try) 2>&5
|
5082 | |
ac_status=$?
|
5083 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5084 | |
(exit $ac_status); }; }; then
|
5085 | |
ac_cv_type_unsigned_long=yes
|
5086 | |
else
|
5087 | |
echo "$as_me: failed program was:" >&5
|
5088 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5089 | |
|
5090 | |
ac_cv_type_unsigned_long=no
|
5091 | |
fi
|
5092 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5093 | |
fi
|
5094 | |
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
|
5095 | |
echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
|
5096 | |
|
5097 | |
echo "$as_me:$LINENO: checking size of unsigned long" >&5
|
5098 | |
echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
|
5099 | |
if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
|
5100 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5101 | |
else
|
5102 | |
if test "$ac_cv_type_unsigned_long" = yes; then
|
5103 | |
# The cast to unsigned long works around a bug in the HP C Compiler
|
5104 | |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
5105 | |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
5106 | |
# This bug is HP SR number 8606223364.
|
5107 | |
if test "$cross_compiling" = yes; then
|
5108 | |
# Depending upon the size, compute the lo and hi bounds.
|
5109 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6207 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6208 |
(exit $ac_status); } && {
|
|
6209 |
test -z "$ac_c_werror_flag" ||
|
|
6210 |
test ! -s conftest.err
|
|
6211 |
} && test -s conftest.$ac_objext; then
|
|
6212 |
ac_lo=0 ac_mid=0
|
|
6213 |
while :; do
|
|
6214 |
cat >conftest.$ac_ext <<_ACEOF
|
5110 | 6215 |
/* confdefs.h. */
|
5111 | 6216 |
_ACEOF
|
5112 | 6217 |
cat confdefs.h >>conftest.$ac_ext
|
|
5116 | 6221 |
int
|
5117 | 6222 |
main ()
|
5118 | 6223 |
{
|
5119 | |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
|
|
6224 |
static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
|
5120 | 6225 |
test_array [0] = 0
|
5121 | 6226 |
|
5122 | 6227 |
;
|
|
5124 | 6229 |
}
|
5125 | 6230 |
_ACEOF
|
5126 | 6231 |
rm -f conftest.$ac_objext
|
5127 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5128 | |
(eval $ac_compile) 2>conftest.er1
|
|
6232 |
if { (ac_try="$ac_compile"
|
|
6233 |
case "(($ac_try" in
|
|
6234 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6235 |
*) ac_try_echo=$ac_try;;
|
|
6236 |
esac
|
|
6237 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6238 |
$as_echo "$ac_try_echo") >&5
|
|
6239 |
(eval "$ac_compile") 2>conftest.er1
|
5129 | 6240 |
ac_status=$?
|
5130 | 6241 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5131 | 6242 |
rm -f conftest.er1
|
5132 | 6243 |
cat conftest.err >&5
|
5133 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5134 | |
(exit $ac_status); } &&
|
5135 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5136 | |
|| test ! -s conftest.err'
|
5137 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5138 | |
(eval $ac_try) 2>&5
|
5139 | |
ac_status=$?
|
5140 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5141 | |
(exit $ac_status); }; } &&
|
5142 | |
{ ac_try='test -s conftest.$ac_objext'
|
5143 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5144 | |
(eval $ac_try) 2>&5
|
5145 | |
ac_status=$?
|
5146 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5147 | |
(exit $ac_status); }; }; then
|
5148 | |
ac_lo=0 ac_mid=0
|
5149 | |
while :; do
|
5150 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6244 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6245 |
(exit $ac_status); } && {
|
|
6246 |
test -z "$ac_c_werror_flag" ||
|
|
6247 |
test ! -s conftest.err
|
|
6248 |
} && test -s conftest.$ac_objext; then
|
|
6249 |
ac_hi=$ac_mid; break
|
|
6250 |
else
|
|
6251 |
$as_echo "$as_me: failed program was:" >&5
|
|
6252 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6253 |
|
|
6254 |
ac_lo=`expr $ac_mid + 1`
|
|
6255 |
if test $ac_lo -le $ac_mid; then
|
|
6256 |
ac_lo= ac_hi=
|
|
6257 |
break
|
|
6258 |
fi
|
|
6259 |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
|
6260 |
fi
|
|
6261 |
|
|
6262 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6263 |
done
|
|
6264 |
else
|
|
6265 |
$as_echo "$as_me: failed program was:" >&5
|
|
6266 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6267 |
|
|
6268 |
cat >conftest.$ac_ext <<_ACEOF
|
5151 | 6269 |
/* confdefs.h. */
|
5152 | 6270 |
_ACEOF
|
5153 | 6271 |
cat confdefs.h >>conftest.$ac_ext
|
|
5157 | 6275 |
int
|
5158 | 6276 |
main ()
|
5159 | 6277 |
{
|
5160 | |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
|
|
6278 |
static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
|
5161 | 6279 |
test_array [0] = 0
|
5162 | 6280 |
|
5163 | 6281 |
;
|
|
5165 | 6283 |
}
|
5166 | 6284 |
_ACEOF
|
5167 | 6285 |
rm -f conftest.$ac_objext
|
5168 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5169 | |
(eval $ac_compile) 2>conftest.er1
|
|
6286 |
if { (ac_try="$ac_compile"
|
|
6287 |
case "(($ac_try" in
|
|
6288 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6289 |
*) ac_try_echo=$ac_try;;
|
|
6290 |
esac
|
|
6291 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6292 |
$as_echo "$ac_try_echo") >&5
|
|
6293 |
(eval "$ac_compile") 2>conftest.er1
|
5170 | 6294 |
ac_status=$?
|
5171 | 6295 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5172 | 6296 |
rm -f conftest.er1
|
5173 | 6297 |
cat conftest.err >&5
|
5174 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5175 | |
(exit $ac_status); } &&
|
5176 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5177 | |
|| test ! -s conftest.err'
|
5178 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5179 | |
(eval $ac_try) 2>&5
|
5180 | |
ac_status=$?
|
5181 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5182 | |
(exit $ac_status); }; } &&
|
5183 | |
{ ac_try='test -s conftest.$ac_objext'
|
5184 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5185 | |
(eval $ac_try) 2>&5
|
5186 | |
ac_status=$?
|
5187 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5188 | |
(exit $ac_status); }; }; then
|
5189 | |
ac_hi=$ac_mid; break
|
5190 | |
else
|
5191 | |
echo "$as_me: failed program was:" >&5
|
5192 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5193 | |
|
5194 | |
ac_lo=`expr $ac_mid + 1`
|
5195 | |
if test $ac_lo -le $ac_mid; then
|
5196 | |
ac_lo= ac_hi=
|
5197 | |
break
|
5198 | |
fi
|
5199 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
5200 | |
fi
|
5201 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5202 | |
done
|
5203 | |
else
|
5204 | |
echo "$as_me: failed program was:" >&5
|
5205 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5206 | |
|
5207 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6298 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6299 |
(exit $ac_status); } && {
|
|
6300 |
test -z "$ac_c_werror_flag" ||
|
|
6301 |
test ! -s conftest.err
|
|
6302 |
} && test -s conftest.$ac_objext; then
|
|
6303 |
ac_hi=-1 ac_mid=-1
|
|
6304 |
while :; do
|
|
6305 |
cat >conftest.$ac_ext <<_ACEOF
|
5208 | 6306 |
/* confdefs.h. */
|
5209 | 6307 |
_ACEOF
|
5210 | 6308 |
cat confdefs.h >>conftest.$ac_ext
|
|
5214 | 6312 |
int
|
5215 | 6313 |
main ()
|
5216 | 6314 |
{
|
5217 | |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
|
|
6315 |
static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
|
5218 | 6316 |
test_array [0] = 0
|
5219 | 6317 |
|
5220 | 6318 |
;
|
|
5222 | 6320 |
}
|
5223 | 6321 |
_ACEOF
|
5224 | 6322 |
rm -f conftest.$ac_objext
|
5225 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5226 | |
(eval $ac_compile) 2>conftest.er1
|
|
6323 |
if { (ac_try="$ac_compile"
|
|
6324 |
case "(($ac_try" in
|
|
6325 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6326 |
*) ac_try_echo=$ac_try;;
|
|
6327 |
esac
|
|
6328 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6329 |
$as_echo "$ac_try_echo") >&5
|
|
6330 |
(eval "$ac_compile") 2>conftest.er1
|
5227 | 6331 |
ac_status=$?
|
5228 | 6332 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5229 | 6333 |
rm -f conftest.er1
|
5230 | 6334 |
cat conftest.err >&5
|
5231 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5232 | |
(exit $ac_status); } &&
|
5233 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5234 | |
|| test ! -s conftest.err'
|
5235 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5236 | |
(eval $ac_try) 2>&5
|
5237 | |
ac_status=$?
|
5238 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5239 | |
(exit $ac_status); }; } &&
|
5240 | |
{ ac_try='test -s conftest.$ac_objext'
|
5241 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5242 | |
(eval $ac_try) 2>&5
|
5243 | |
ac_status=$?
|
5244 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5245 | |
(exit $ac_status); }; }; then
|
5246 | |
ac_hi=-1 ac_mid=-1
|
5247 | |
while :; do
|
5248 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6335 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6336 |
(exit $ac_status); } && {
|
|
6337 |
test -z "$ac_c_werror_flag" ||
|
|
6338 |
test ! -s conftest.err
|
|
6339 |
} && test -s conftest.$ac_objext; then
|
|
6340 |
ac_lo=$ac_mid; break
|
|
6341 |
else
|
|
6342 |
$as_echo "$as_me: failed program was:" >&5
|
|
6343 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6344 |
|
|
6345 |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
|
6346 |
if test $ac_mid -le $ac_hi; then
|
|
6347 |
ac_lo= ac_hi=
|
|
6348 |
break
|
|
6349 |
fi
|
|
6350 |
ac_mid=`expr 2 '*' $ac_mid`
|
|
6351 |
fi
|
|
6352 |
|
|
6353 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6354 |
done
|
|
6355 |
else
|
|
6356 |
$as_echo "$as_me: failed program was:" >&5
|
|
6357 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6358 |
|
|
6359 |
ac_lo= ac_hi=
|
|
6360 |
fi
|
|
6361 |
|
|
6362 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6363 |
fi
|
|
6364 |
|
|
6365 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6366 |
# Binary search between lo and hi bounds.
|
|
6367 |
while test "x$ac_lo" != "x$ac_hi"; do
|
|
6368 |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
6369 |
cat >conftest.$ac_ext <<_ACEOF
|
5249 | 6370 |
/* confdefs.h. */
|
5250 | 6371 |
_ACEOF
|
5251 | 6372 |
cat confdefs.h >>conftest.$ac_ext
|
|
5255 | 6376 |
int
|
5256 | 6377 |
main ()
|
5257 | 6378 |
{
|
5258 | |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
|
|
6379 |
static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
|
5259 | 6380 |
test_array [0] = 0
|
5260 | 6381 |
|
5261 | 6382 |
;
|
|
5263 | 6384 |
}
|
5264 | 6385 |
_ACEOF
|
5265 | 6386 |
rm -f conftest.$ac_objext
|
5266 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5267 | |
(eval $ac_compile) 2>conftest.er1
|
|
6387 |
if { (ac_try="$ac_compile"
|
|
6388 |
case "(($ac_try" in
|
|
6389 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6390 |
*) ac_try_echo=$ac_try;;
|
|
6391 |
esac
|
|
6392 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6393 |
$as_echo "$ac_try_echo") >&5
|
|
6394 |
(eval "$ac_compile") 2>conftest.er1
|
5268 | 6395 |
ac_status=$?
|
5269 | 6396 |
grep -v '^ *+' conftest.er1 >conftest.err
|
5270 | 6397 |
rm -f conftest.er1
|
5271 | 6398 |
cat conftest.err >&5
|
5272 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5273 | |
(exit $ac_status); } &&
|
5274 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5275 | |
|| test ! -s conftest.err'
|
5276 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5277 | |
(eval $ac_try) 2>&5
|
|
6399 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6400 |
(exit $ac_status); } && {
|
|
6401 |
test -z "$ac_c_werror_flag" ||
|
|
6402 |
test ! -s conftest.err
|
|
6403 |
} && test -s conftest.$ac_objext; then
|
|
6404 |
ac_hi=$ac_mid
|
|
6405 |
else
|
|
6406 |
$as_echo "$as_me: failed program was:" >&5
|
|
6407 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6408 |
|
|
6409 |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
|
6410 |
fi
|
|
6411 |
|
|
6412 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6413 |
done
|
|
6414 |
case $ac_lo in
|
|
6415 |
?*) ac_cv_sizeof_float=$ac_lo;;
|
|
6416 |
'') if test "$ac_cv_type_float" = yes; then
|
|
6417 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
6418 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6419 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
|
|
6420 |
See \`config.log' for more details." >&5
|
|
6421 |
$as_echo "$as_me: error: cannot compute sizeof (float)
|
|
6422 |
See \`config.log' for more details." >&2;}
|
|
6423 |
{ (exit 77); exit 77; }; }; }
|
|
6424 |
else
|
|
6425 |
ac_cv_sizeof_float=0
|
|
6426 |
fi ;;
|
|
6427 |
esac
|
|
6428 |
else
|
|
6429 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6430 |
/* confdefs.h. */
|
|
6431 |
_ACEOF
|
|
6432 |
cat confdefs.h >>conftest.$ac_ext
|
|
6433 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6434 |
/* end confdefs.h. */
|
|
6435 |
$ac_includes_default
|
|
6436 |
static long int longval () { return (long int) (sizeof (float)); }
|
|
6437 |
static unsigned long int ulongval () { return (long int) (sizeof (float)); }
|
|
6438 |
#include <stdio.h>
|
|
6439 |
#include <stdlib.h>
|
|
6440 |
int
|
|
6441 |
main ()
|
|
6442 |
{
|
|
6443 |
|
|
6444 |
FILE *f = fopen ("conftest.val", "w");
|
|
6445 |
if (! f)
|
|
6446 |
return 1;
|
|
6447 |
if (((long int) (sizeof (float))) < 0)
|
|
6448 |
{
|
|
6449 |
long int i = longval ();
|
|
6450 |
if (i != ((long int) (sizeof (float))))
|
|
6451 |
return 1;
|
|
6452 |
fprintf (f, "%ld", i);
|
|
6453 |
}
|
|
6454 |
else
|
|
6455 |
{
|
|
6456 |
unsigned long int i = ulongval ();
|
|
6457 |
if (i != ((long int) (sizeof (float))))
|
|
6458 |
return 1;
|
|
6459 |
fprintf (f, "%lu", i);
|
|
6460 |
}
|
|
6461 |
/* Do not output a trailing newline, as this causes \r\n confusion
|
|
6462 |
on some platforms. */
|
|
6463 |
return ferror (f) || fclose (f) != 0;
|
|
6464 |
|
|
6465 |
;
|
|
6466 |
return 0;
|
|
6467 |
}
|
|
6468 |
_ACEOF
|
|
6469 |
rm -f conftest$ac_exeext
|
|
6470 |
if { (ac_try="$ac_link"
|
|
6471 |
case "(($ac_try" in
|
|
6472 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6473 |
*) ac_try_echo=$ac_try;;
|
|
6474 |
esac
|
|
6475 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6476 |
$as_echo "$ac_try_echo") >&5
|
|
6477 |
(eval "$ac_link") 2>&5
|
5278 | 6478 |
ac_status=$?
|
5279 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5280 | |
(exit $ac_status); }; } &&
|
5281 | |
{ ac_try='test -s conftest.$ac_objext'
|
5282 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5283 | |
(eval $ac_try) 2>&5
|
|
6479 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6480 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
6481 |
{ (case "(($ac_try" in
|
|
6482 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6483 |
*) ac_try_echo=$ac_try;;
|
|
6484 |
esac
|
|
6485 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6486 |
$as_echo "$ac_try_echo") >&5
|
|
6487 |
(eval "$ac_try") 2>&5
|
5284 | 6488 |
ac_status=$?
|
5285 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6489 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5286 | 6490 |
(exit $ac_status); }; }; then
|
5287 | |
ac_lo=$ac_mid; break
|
5288 | |
else
|
5289 | |
echo "$as_me: failed program was:" >&5
|
|
6491 |
ac_cv_sizeof_float=`cat conftest.val`
|
|
6492 |
else
|
|
6493 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
6494 |
$as_echo "$as_me: failed program was:" >&5
|
5290 | 6495 |
sed 's/^/| /' conftest.$ac_ext >&5
|
5291 | 6496 |
|
5292 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
5293 | |
if test $ac_mid -le $ac_hi; then
|
5294 | |
ac_lo= ac_hi=
|
5295 | |
break
|
5296 | |
fi
|
5297 | |
ac_mid=`expr 2 '*' $ac_mid`
|
5298 | |
fi
|
5299 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5300 | |
done
|
5301 | |
else
|
5302 | |
echo "$as_me: failed program was:" >&5
|
|
6497 |
( exit $ac_status )
|
|
6498 |
if test "$ac_cv_type_float" = yes; then
|
|
6499 |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
6500 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
6501 |
{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
|
|
6502 |
See \`config.log' for more details." >&5
|
|
6503 |
$as_echo "$as_me: error: cannot compute sizeof (float)
|
|
6504 |
See \`config.log' for more details." >&2;}
|
|
6505 |
{ (exit 77); exit 77; }; }; }
|
|
6506 |
else
|
|
6507 |
ac_cv_sizeof_float=0
|
|
6508 |
fi
|
|
6509 |
fi
|
|
6510 |
rm -rf conftest.dSYM
|
|
6511 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
6512 |
fi
|
|
6513 |
rm -f conftest.val
|
|
6514 |
fi
|
|
6515 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
|
|
6516 |
$as_echo "$ac_cv_sizeof_float" >&6; }
|
|
6517 |
|
|
6518 |
|
|
6519 |
|
|
6520 |
cat >>confdefs.h <<_ACEOF
|
|
6521 |
#define SIZEOF_FLOAT $ac_cv_sizeof_float
|
|
6522 |
_ACEOF
|
|
6523 |
|
|
6524 |
|
|
6525 |
|
|
6526 |
{ $as_echo "$as_me:$LINENO: checking for htonl" >&5
|
|
6527 |
$as_echo_n "checking for htonl... " >&6; }
|
|
6528 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6529 |
/* confdefs.h. */
|
|
6530 |
_ACEOF
|
|
6531 |
cat confdefs.h >>conftest.$ac_ext
|
|
6532 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6533 |
/* end confdefs.h. */
|
|
6534 |
#if defined(HAVE_ARPA_INET_H)
|
|
6535 |
#include <arpa/inet.h>
|
|
6536 |
#elif defined(HAVE_NETINET_IN_H)
|
|
6537 |
#include <netinet/in.h>
|
|
6538 |
#endif
|
|
6539 |
int
|
|
6540 |
main ()
|
|
6541 |
{
|
|
6542 |
unsigned long i; htonl(i);
|
|
6543 |
;
|
|
6544 |
return 0;
|
|
6545 |
}
|
|
6546 |
_ACEOF
|
|
6547 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
6548 |
if { (ac_try="$ac_link"
|
|
6549 |
case "(($ac_try" in
|
|
6550 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6551 |
*) ac_try_echo=$ac_try;;
|
|
6552 |
esac
|
|
6553 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6554 |
$as_echo "$ac_try_echo") >&5
|
|
6555 |
(eval "$ac_link") 2>conftest.er1
|
|
6556 |
ac_status=$?
|
|
6557 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6558 |
rm -f conftest.er1
|
|
6559 |
cat conftest.err >&5
|
|
6560 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6561 |
(exit $ac_status); } && {
|
|
6562 |
test -z "$ac_c_werror_flag" ||
|
|
6563 |
test ! -s conftest.err
|
|
6564 |
} && test -s conftest$ac_exeext && {
|
|
6565 |
test "$cross_compiling" = yes ||
|
|
6566 |
$as_test_x conftest$ac_exeext
|
|
6567 |
}; then
|
|
6568 |
htonl=yes
|
|
6569 |
|
|
6570 |
cat >>confdefs.h <<\_ACEOF
|
|
6571 |
#define HAVE_HTONL 1
|
|
6572 |
_ACEOF
|
|
6573 |
|
|
6574 |
else
|
|
6575 |
$as_echo "$as_me: failed program was:" >&5
|
5303 | 6576 |
sed 's/^/| /' conftest.$ac_ext >&5
|
5304 | 6577 |
|
5305 | |
ac_lo= ac_hi=
|
5306 | |
fi
|
5307 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5308 | |
fi
|
5309 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5310 | |
# Binary search between lo and hi bounds.
|
5311 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
5312 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
|
6578 |
htonl=no
|
|
6579 |
fi
|
|
6580 |
|
|
6581 |
rm -rf conftest.dSYM
|
|
6582 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
|
6583 |
conftest$ac_exeext conftest.$ac_ext
|
|
6584 |
{ $as_echo "$as_me:$LINENO: result: $htonl" >&5
|
|
6585 |
$as_echo "$htonl" >&6; }
|
|
6586 |
|
|
6587 |
if test "x$htons" != xyes -o "x$htonl" != xyes; then
|
|
6588 |
|
|
6589 |
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
|
6590 |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
|
6591 |
if test "${ac_cv_c_bigendian+set}" = set; then
|
|
6592 |
$as_echo_n "(cached) " >&6
|
|
6593 |
else
|
|
6594 |
ac_cv_c_bigendian=unknown
|
|
6595 |
# See if we're dealing with a universal compiler.
|
|
6596 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6597 |
/* confdefs.h. */
|
|
6598 |
_ACEOF
|
|
6599 |
cat confdefs.h >>conftest.$ac_ext
|
|
6600 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6601 |
/* end confdefs.h. */
|
|
6602 |
#ifndef __APPLE_CC__
|
|
6603 |
not a universal capable compiler
|
|
6604 |
#endif
|
|
6605 |
typedef int dummy;
|
|
6606 |
|
|
6607 |
_ACEOF
|
|
6608 |
rm -f conftest.$ac_objext
|
|
6609 |
if { (ac_try="$ac_compile"
|
|
6610 |
case "(($ac_try" in
|
|
6611 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6612 |
*) ac_try_echo=$ac_try;;
|
|
6613 |
esac
|
|
6614 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6615 |
$as_echo "$ac_try_echo") >&5
|
|
6616 |
(eval "$ac_compile") 2>conftest.er1
|
|
6617 |
ac_status=$?
|
|
6618 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6619 |
rm -f conftest.er1
|
|
6620 |
cat conftest.err >&5
|
|
6621 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6622 |
(exit $ac_status); } && {
|
|
6623 |
test -z "$ac_c_werror_flag" ||
|
|
6624 |
test ! -s conftest.err
|
|
6625 |
} && test -s conftest.$ac_objext; then
|
|
6626 |
|
|
6627 |
# Check for potential -arch flags. It is not universal unless
|
|
6628 |
# there are some -arch flags. Note that *ppc* also matches
|
|
6629 |
# ppc64. This check is also rather less than ideal.
|
|
6630 |
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
|
|
6631 |
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
|
|
6632 |
esac
|
|
6633 |
else
|
|
6634 |
$as_echo "$as_me: failed program was:" >&5
|
|
6635 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6636 |
|
|
6637 |
|
|
6638 |
fi
|
|
6639 |
|
|
6640 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6641 |
if test $ac_cv_c_bigendian = unknown; then
|
|
6642 |
# See if sys/param.h defines the BYTE_ORDER macro.
|
|
6643 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6644 |
/* confdefs.h. */
|
|
6645 |
_ACEOF
|
|
6646 |
cat confdefs.h >>conftest.$ac_ext
|
|
6647 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6648 |
/* end confdefs.h. */
|
|
6649 |
#include <sys/types.h>
|
|
6650 |
#include <sys/param.h>
|
|
6651 |
|
|
6652 |
int
|
|
6653 |
main ()
|
|
6654 |
{
|
|
6655 |
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
|
6656 |
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
|
6657 |
&& LITTLE_ENDIAN)
|
|
6658 |
bogus endian macros
|
|
6659 |
#endif
|
|
6660 |
|
|
6661 |
;
|
|
6662 |
return 0;
|
|
6663 |
}
|
|
6664 |
_ACEOF
|
|
6665 |
rm -f conftest.$ac_objext
|
|
6666 |
if { (ac_try="$ac_compile"
|
|
6667 |
case "(($ac_try" in
|
|
6668 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6669 |
*) ac_try_echo=$ac_try;;
|
|
6670 |
esac
|
|
6671 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6672 |
$as_echo "$ac_try_echo") >&5
|
|
6673 |
(eval "$ac_compile") 2>conftest.er1
|
|
6674 |
ac_status=$?
|
|
6675 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6676 |
rm -f conftest.er1
|
|
6677 |
cat conftest.err >&5
|
|
6678 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6679 |
(exit $ac_status); } && {
|
|
6680 |
test -z "$ac_c_werror_flag" ||
|
|
6681 |
test ! -s conftest.err
|
|
6682 |
} && test -s conftest.$ac_objext; then
|
|
6683 |
# It does; now see whether it defined to BIG_ENDIAN or not.
|
|
6684 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6685 |
/* confdefs.h. */
|
|
6686 |
_ACEOF
|
|
6687 |
cat confdefs.h >>conftest.$ac_ext
|
|
6688 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6689 |
/* end confdefs.h. */
|
|
6690 |
#include <sys/types.h>
|
|
6691 |
#include <sys/param.h>
|
|
6692 |
|
|
6693 |
int
|
|
6694 |
main ()
|
|
6695 |
{
|
|
6696 |
#if BYTE_ORDER != BIG_ENDIAN
|
|
6697 |
not big endian
|
|
6698 |
#endif
|
|
6699 |
|
|
6700 |
;
|
|
6701 |
return 0;
|
|
6702 |
}
|
|
6703 |
_ACEOF
|
|
6704 |
rm -f conftest.$ac_objext
|
|
6705 |
if { (ac_try="$ac_compile"
|
|
6706 |
case "(($ac_try" in
|
|
6707 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6708 |
*) ac_try_echo=$ac_try;;
|
|
6709 |
esac
|
|
6710 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6711 |
$as_echo "$ac_try_echo") >&5
|
|
6712 |
(eval "$ac_compile") 2>conftest.er1
|
|
6713 |
ac_status=$?
|
|
6714 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6715 |
rm -f conftest.er1
|
|
6716 |
cat conftest.err >&5
|
|
6717 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6718 |
(exit $ac_status); } && {
|
|
6719 |
test -z "$ac_c_werror_flag" ||
|
|
6720 |
test ! -s conftest.err
|
|
6721 |
} && test -s conftest.$ac_objext; then
|
|
6722 |
ac_cv_c_bigendian=yes
|
|
6723 |
else
|
|
6724 |
$as_echo "$as_me: failed program was:" >&5
|
|
6725 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6726 |
|
|
6727 |
ac_cv_c_bigendian=no
|
|
6728 |
fi
|
|
6729 |
|
|
6730 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6731 |
else
|
|
6732 |
$as_echo "$as_me: failed program was:" >&5
|
|
6733 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6734 |
|
|
6735 |
|
|
6736 |
fi
|
|
6737 |
|
|
6738 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6739 |
fi
|
|
6740 |
if test $ac_cv_c_bigendian = unknown; then
|
|
6741 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
|
6742 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6743 |
/* confdefs.h. */
|
|
6744 |
_ACEOF
|
|
6745 |
cat confdefs.h >>conftest.$ac_ext
|
|
6746 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6747 |
/* end confdefs.h. */
|
|
6748 |
#include <limits.h>
|
|
6749 |
|
|
6750 |
int
|
|
6751 |
main ()
|
|
6752 |
{
|
|
6753 |
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
|
6754 |
bogus endian macros
|
|
6755 |
#endif
|
|
6756 |
|
|
6757 |
;
|
|
6758 |
return 0;
|
|
6759 |
}
|
|
6760 |
_ACEOF
|
|
6761 |
rm -f conftest.$ac_objext
|
|
6762 |
if { (ac_try="$ac_compile"
|
|
6763 |
case "(($ac_try" in
|
|
6764 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6765 |
*) ac_try_echo=$ac_try;;
|
|
6766 |
esac
|
|
6767 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6768 |
$as_echo "$ac_try_echo") >&5
|
|
6769 |
(eval "$ac_compile") 2>conftest.er1
|
|
6770 |
ac_status=$?
|
|
6771 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6772 |
rm -f conftest.er1
|
|
6773 |
cat conftest.err >&5
|
|
6774 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6775 |
(exit $ac_status); } && {
|
|
6776 |
test -z "$ac_c_werror_flag" ||
|
|
6777 |
test ! -s conftest.err
|
|
6778 |
} && test -s conftest.$ac_objext; then
|
|
6779 |
# It does; now see whether it defined to _BIG_ENDIAN or not.
|
|
6780 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6781 |
/* confdefs.h. */
|
|
6782 |
_ACEOF
|
|
6783 |
cat confdefs.h >>conftest.$ac_ext
|
|
6784 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6785 |
/* end confdefs.h. */
|
|
6786 |
#include <limits.h>
|
|
6787 |
|
|
6788 |
int
|
|
6789 |
main ()
|
|
6790 |
{
|
|
6791 |
#ifndef _BIG_ENDIAN
|
|
6792 |
not big endian
|
|
6793 |
#endif
|
|
6794 |
|
|
6795 |
;
|
|
6796 |
return 0;
|
|
6797 |
}
|
|
6798 |
_ACEOF
|
|
6799 |
rm -f conftest.$ac_objext
|
|
6800 |
if { (ac_try="$ac_compile"
|
|
6801 |
case "(($ac_try" in
|
|
6802 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6803 |
*) ac_try_echo=$ac_try;;
|
|
6804 |
esac
|
|
6805 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6806 |
$as_echo "$ac_try_echo") >&5
|
|
6807 |
(eval "$ac_compile") 2>conftest.er1
|
|
6808 |
ac_status=$?
|
|
6809 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6810 |
rm -f conftest.er1
|
|
6811 |
cat conftest.err >&5
|
|
6812 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6813 |
(exit $ac_status); } && {
|
|
6814 |
test -z "$ac_c_werror_flag" ||
|
|
6815 |
test ! -s conftest.err
|
|
6816 |
} && test -s conftest.$ac_objext; then
|
|
6817 |
ac_cv_c_bigendian=yes
|
|
6818 |
else
|
|
6819 |
$as_echo "$as_me: failed program was:" >&5
|
|
6820 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6821 |
|
|
6822 |
ac_cv_c_bigendian=no
|
|
6823 |
fi
|
|
6824 |
|
|
6825 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6826 |
else
|
|
6827 |
$as_echo "$as_me: failed program was:" >&5
|
|
6828 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6829 |
|
|
6830 |
|
|
6831 |
fi
|
|
6832 |
|
|
6833 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6834 |
fi
|
|
6835 |
if test $ac_cv_c_bigendian = unknown; then
|
|
6836 |
# Compile a test program.
|
|
6837 |
if test "$cross_compiling" = yes; then
|
|
6838 |
# Try to guess by grepping values from an object file.
|
|
6839 |
cat >conftest.$ac_ext <<_ACEOF
|
|
6840 |
/* confdefs.h. */
|
|
6841 |
_ACEOF
|
|
6842 |
cat confdefs.h >>conftest.$ac_ext
|
|
6843 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
6844 |
/* end confdefs.h. */
|
|
6845 |
short int ascii_mm[] =
|
|
6846 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
6847 |
short int ascii_ii[] =
|
|
6848 |
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
|
6849 |
int use_ascii (int i) {
|
|
6850 |
return ascii_mm[i] + ascii_ii[i];
|
|
6851 |
}
|
|
6852 |
short int ebcdic_ii[] =
|
|
6853 |
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
|
6854 |
short int ebcdic_mm[] =
|
|
6855 |
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
|
6856 |
int use_ebcdic (int i) {
|
|
6857 |
return ebcdic_mm[i] + ebcdic_ii[i];
|
|
6858 |
}
|
|
6859 |
extern int foo;
|
|
6860 |
|
|
6861 |
int
|
|
6862 |
main ()
|
|
6863 |
{
|
|
6864 |
return use_ascii (foo) == use_ebcdic (foo);
|
|
6865 |
;
|
|
6866 |
return 0;
|
|
6867 |
}
|
|
6868 |
_ACEOF
|
|
6869 |
rm -f conftest.$ac_objext
|
|
6870 |
if { (ac_try="$ac_compile"
|
|
6871 |
case "(($ac_try" in
|
|
6872 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6873 |
*) ac_try_echo=$ac_try;;
|
|
6874 |
esac
|
|
6875 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6876 |
$as_echo "$ac_try_echo") >&5
|
|
6877 |
(eval "$ac_compile") 2>conftest.er1
|
|
6878 |
ac_status=$?
|
|
6879 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
6880 |
rm -f conftest.er1
|
|
6881 |
cat conftest.err >&5
|
|
6882 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6883 |
(exit $ac_status); } && {
|
|
6884 |
test -z "$ac_c_werror_flag" ||
|
|
6885 |
test ! -s conftest.err
|
|
6886 |
} && test -s conftest.$ac_objext; then
|
|
6887 |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
|
6888 |
ac_cv_c_bigendian=yes
|
|
6889 |
fi
|
|
6890 |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
|
6891 |
if test "$ac_cv_c_bigendian" = unknown; then
|
|
6892 |
ac_cv_c_bigendian=no
|
|
6893 |
else
|
|
6894 |
# finding both strings is unlikely to happen, but who knows?
|
|
6895 |
ac_cv_c_bigendian=unknown
|
|
6896 |
fi
|
|
6897 |
fi
|
|
6898 |
else
|
|
6899 |
$as_echo "$as_me: failed program was:" >&5
|
|
6900 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
6901 |
|
|
6902 |
|
|
6903 |
fi
|
|
6904 |
|
|
6905 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
6906 |
else
|
5313 | 6907 |
cat >conftest.$ac_ext <<_ACEOF
|
5314 | 6908 |
/* confdefs.h. */
|
5315 | 6909 |
_ACEOF
|
|
5320 | 6914 |
int
|
5321 | 6915 |
main ()
|
5322 | 6916 |
{
|
5323 | |
static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
|
5324 | |
test_array [0] = 0
|
|
6917 |
|
|
6918 |
/* Are we little or big endian? From Harbison&Steele. */
|
|
6919 |
union
|
|
6920 |
{
|
|
6921 |
long int l;
|
|
6922 |
char c[sizeof (long int)];
|
|
6923 |
} u;
|
|
6924 |
u.l = 1;
|
|
6925 |
return u.c[sizeof (long int) - 1] == 1;
|
5325 | 6926 |
|
5326 | 6927 |
;
|
5327 | 6928 |
return 0;
|
5328 | 6929 |
}
|
5329 | 6930 |
_ACEOF
|
5330 | |
rm -f conftest.$ac_objext
|
5331 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5332 | |
(eval $ac_compile) 2>conftest.er1
|
|
6931 |
rm -f conftest$ac_exeext
|
|
6932 |
if { (ac_try="$ac_link"
|
|
6933 |
case "(($ac_try" in
|
|
6934 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6935 |
*) ac_try_echo=$ac_try;;
|
|
6936 |
esac
|
|
6937 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6938 |
$as_echo "$ac_try_echo") >&5
|
|
6939 |
(eval "$ac_link") 2>&5
|
5333 | 6940 |
ac_status=$?
|
5334 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5335 | |
rm -f conftest.er1
|
5336 | |
cat conftest.err >&5
|
5337 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5338 | |
(exit $ac_status); } &&
|
5339 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5340 | |
|| test ! -s conftest.err'
|
5341 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5342 | |
(eval $ac_try) 2>&5
|
|
6941 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6942 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
6943 |
{ (case "(($ac_try" in
|
|
6944 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
6945 |
*) ac_try_echo=$ac_try;;
|
|
6946 |
esac
|
|
6947 |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
6948 |
$as_echo "$ac_try_echo") >&5
|
|
6949 |
(eval "$ac_try") 2>&5
|
5343 | 6950 |
ac_status=$?
|
5344 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5345 | |
(exit $ac_status); }; } &&
|
5346 | |
{ ac_try='test -s conftest.$ac_objext'
|
5347 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5348 | |
(eval $ac_try) 2>&5
|
5349 | |
ac_status=$?
|
5350 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5351 | |
(exit $ac_status); }; }; then
|
5352 | |
ac_hi=$ac_mid
|
5353 | |
else
|
5354 | |
echo "$as_me: failed program was:" >&5
|
5355 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5356 | |
|
5357 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
5358 | |
fi
|
5359 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5360 | |
done
|
5361 | |
case $ac_lo in
|
5362 | |
?*) ac_cv_sizeof_unsigned_long=$ac_lo;;
|
5363 | |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
|
5364 | |
See \`config.log' for more details." >&5
|
5365 | |
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
|
5366 | |
See \`config.log' for more details." >&2;}
|
5367 | |
{ (exit 1); exit 1; }; } ;;
|
5368 | |
esac
|
5369 | |
else
|
5370 | |
if test "$cross_compiling" = yes; then
|
5371 | |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
5372 | |
See \`config.log' for more details." >&5
|
5373 | |
echo "$as_me: error: cannot run test program while cross compiling
|
5374 | |
See \`config.log' for more details." >&2;}
|
5375 | |
{ (exit 1); exit 1; }; }
|
5376 | |
else
|
5377 | |
cat >conftest.$ac_ext <<_ACEOF
|
5378 | |
/* confdefs.h. */
|
5379 | |
_ACEOF
|
5380 | |
cat confdefs.h >>conftest.$ac_ext
|
5381 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5382 | |
/* end confdefs.h. */
|
5383 | |
$ac_includes_default
|
5384 | |
long longval () { return (long) (sizeof (unsigned long)); }
|
5385 | |
unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
|
5386 | |
#include <stdio.h>
|
5387 | |
#include <stdlib.h>
|
5388 | |
int
|
5389 | |
main ()
|
5390 | |
{
|
5391 | |
|
5392 | |
FILE *f = fopen ("conftest.val", "w");
|
5393 | |
if (! f)
|
5394 | |
exit (1);
|
5395 | |
if (((long) (sizeof (unsigned long))) < 0)
|
5396 | |
{
|
5397 | |
long i = longval ();
|
5398 | |
if (i != ((long) (sizeof (unsigned long))))
|
5399 | |
exit (1);
|
5400 | |
fprintf (f, "%ld\n", i);
|
5401 | |
}
|
5402 | |
else
|
5403 | |
{
|
5404 | |
unsigned long i = ulongval ();
|
5405 | |
if (i != ((long) (sizeof (unsigned long))))
|
5406 | |
exit (1);
|
5407 | |
fprintf (f, "%lu\n", i);
|
5408 | |
}
|
5409 | |
exit (ferror (f) || fclose (f) != 0);
|
5410 | |
|
5411 | |
;
|
5412 | |
return 0;
|
5413 | |
}
|
5414 | |
_ACEOF
|
5415 | |
rm -f conftest$ac_exeext
|
5416 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
5417 | |
(eval $ac_link) 2>&5
|
5418 | |
ac_status=$?
|
5419 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5420 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5421 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5422 | |
(eval $ac_try) 2>&5
|
5423 | |
ac_status=$?
|
5424 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5425 | |
(exit $ac_status); }; }; then
|
5426 | |
ac_cv_sizeof_unsigned_long=`cat conftest.val`
|
5427 | |
else
|
5428 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5429 | |
echo "$as_me: failed program was:" >&5
|
5430 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5431 | |
|
5432 | |
( exit $ac_status )
|
5433 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
|
5434 | |
See \`config.log' for more details." >&5
|
5435 | |
echo "$as_me: error: cannot compute sizeof (unsigned long), 77
|
5436 | |
See \`config.log' for more details." >&2;}
|
5437 | |
{ (exit 1); exit 1; }; }
|
5438 | |
fi
|
5439 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5440 | |
fi
|
5441 | |
fi
|
5442 | |
rm -f conftest.val
|
5443 | |
else
|
5444 | |
ac_cv_sizeof_unsigned_long=0
|
5445 | |
fi
|
5446 | |
fi
|
5447 | |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
|
5448 | |
echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
|
5449 | |
cat >>confdefs.h <<_ACEOF
|
5450 | |
#define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
|
5451 | |
_ACEOF
|
5452 | |
|
5453 | |
|
5454 | |
echo "$as_me:$LINENO: checking for float" >&5
|
5455 | |
echo $ECHO_N "checking for float... $ECHO_C" >&6
|
5456 | |
if test "${ac_cv_type_float+set}" = set; then
|
5457 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5458 | |
else
|
5459 | |
cat >conftest.$ac_ext <<_ACEOF
|
5460 | |
/* confdefs.h. */
|
5461 | |
_ACEOF
|
5462 | |
cat confdefs.h >>conftest.$ac_ext
|
5463 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5464 | |
/* end confdefs.h. */
|
5465 | |
$ac_includes_default
|
5466 | |
int
|
5467 | |
main ()
|
5468 | |
{
|
5469 | |
if ((float *) 0)
|
5470 | |
return 0;
|
5471 | |
if (sizeof (float))
|
5472 | |
return 0;
|
5473 | |
;
|
5474 | |
return 0;
|
5475 | |
}
|
5476 | |
_ACEOF
|
5477 | |
rm -f conftest.$ac_objext
|
5478 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5479 | |
(eval $ac_compile) 2>conftest.er1
|
5480 | |
ac_status=$?
|
5481 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5482 | |
rm -f conftest.er1
|
5483 | |
cat conftest.err >&5
|
5484 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5485 | |
(exit $ac_status); } &&
|
5486 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5487 | |
|| test ! -s conftest.err'
|
5488 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5489 | |
(eval $ac_try) 2>&5
|
5490 | |
ac_status=$?
|
5491 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5492 | |
(exit $ac_status); }; } &&
|
5493 | |
{ ac_try='test -s conftest.$ac_objext'
|
5494 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5495 | |
(eval $ac_try) 2>&5
|
5496 | |
ac_status=$?
|
5497 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5498 | |
(exit $ac_status); }; }; then
|
5499 | |
ac_cv_type_float=yes
|
5500 | |
else
|
5501 | |
echo "$as_me: failed program was:" >&5
|
5502 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5503 | |
|
5504 | |
ac_cv_type_float=no
|
5505 | |
fi
|
5506 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5507 | |
fi
|
5508 | |
echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
|
5509 | |
echo "${ECHO_T}$ac_cv_type_float" >&6
|
5510 | |
|
5511 | |
echo "$as_me:$LINENO: checking size of float" >&5
|
5512 | |
echo $ECHO_N "checking size of float... $ECHO_C" >&6
|
5513 | |
if test "${ac_cv_sizeof_float+set}" = set; then
|
5514 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5515 | |
else
|
5516 | |
if test "$ac_cv_type_float" = yes; then
|
5517 | |
# The cast to unsigned long works around a bug in the HP C Compiler
|
5518 | |
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
|
5519 | |
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
|
5520 | |
# This bug is HP SR number 8606223364.
|
5521 | |
if test "$cross_compiling" = yes; then
|
5522 | |
# Depending upon the size, compute the lo and hi bounds.
|
5523 | |
cat >conftest.$ac_ext <<_ACEOF
|
5524 | |
/* confdefs.h. */
|
5525 | |
_ACEOF
|
5526 | |
cat confdefs.h >>conftest.$ac_ext
|
5527 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5528 | |
/* end confdefs.h. */
|
5529 | |
$ac_includes_default
|
5530 | |
int
|
5531 | |
main ()
|
5532 | |
{
|
5533 | |
static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)];
|
5534 | |
test_array [0] = 0
|
5535 | |
|
5536 | |
;
|
5537 | |
return 0;
|
5538 | |
}
|
5539 | |
_ACEOF
|
5540 | |
rm -f conftest.$ac_objext
|
5541 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5542 | |
(eval $ac_compile) 2>conftest.er1
|
5543 | |
ac_status=$?
|
5544 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5545 | |
rm -f conftest.er1
|
5546 | |
cat conftest.err >&5
|
5547 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5548 | |
(exit $ac_status); } &&
|
5549 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5550 | |
|| test ! -s conftest.err'
|
5551 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5552 | |
(eval $ac_try) 2>&5
|
5553 | |
ac_status=$?
|
5554 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5555 | |
(exit $ac_status); }; } &&
|
5556 | |
{ ac_try='test -s conftest.$ac_objext'
|
5557 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5558 | |
(eval $ac_try) 2>&5
|
5559 | |
ac_status=$?
|
5560 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5561 | |
(exit $ac_status); }; }; then
|
5562 | |
ac_lo=0 ac_mid=0
|
5563 | |
while :; do
|
5564 | |
cat >conftest.$ac_ext <<_ACEOF
|
5565 | |
/* confdefs.h. */
|
5566 | |
_ACEOF
|
5567 | |
cat confdefs.h >>conftest.$ac_ext
|
5568 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5569 | |
/* end confdefs.h. */
|
5570 | |
$ac_includes_default
|
5571 | |
int
|
5572 | |
main ()
|
5573 | |
{
|
5574 | |
static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
|
5575 | |
test_array [0] = 0
|
5576 | |
|
5577 | |
;
|
5578 | |
return 0;
|
5579 | |
}
|
5580 | |
_ACEOF
|
5581 | |
rm -f conftest.$ac_objext
|
5582 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5583 | |
(eval $ac_compile) 2>conftest.er1
|
5584 | |
ac_status=$?
|
5585 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5586 | |
rm -f conftest.er1
|
5587 | |
cat conftest.err >&5
|
5588 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5589 | |
(exit $ac_status); } &&
|
5590 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5591 | |
|| test ! -s conftest.err'
|
5592 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5593 | |
(eval $ac_try) 2>&5
|
5594 | |
ac_status=$?
|
5595 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5596 | |
(exit $ac_status); }; } &&
|
5597 | |
{ ac_try='test -s conftest.$ac_objext'
|
5598 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5599 | |
(eval $ac_try) 2>&5
|
5600 | |
ac_status=$?
|
5601 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5602 | |
(exit $ac_status); }; }; then
|
5603 | |
ac_hi=$ac_mid; break
|
5604 | |
else
|
5605 | |
echo "$as_me: failed program was:" >&5
|
5606 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5607 | |
|
5608 | |
ac_lo=`expr $ac_mid + 1`
|
5609 | |
if test $ac_lo -le $ac_mid; then
|
5610 | |
ac_lo= ac_hi=
|
5611 | |
break
|
5612 | |
fi
|
5613 | |
ac_mid=`expr 2 '*' $ac_mid + 1`
|
5614 | |
fi
|
5615 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5616 | |
done
|
5617 | |
else
|
5618 | |
echo "$as_me: failed program was:" >&5
|
5619 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5620 | |
|
5621 | |
cat >conftest.$ac_ext <<_ACEOF
|
5622 | |
/* confdefs.h. */
|
5623 | |
_ACEOF
|
5624 | |
cat confdefs.h >>conftest.$ac_ext
|
5625 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5626 | |
/* end confdefs.h. */
|
5627 | |
$ac_includes_default
|
5628 | |
int
|
5629 | |
main ()
|
5630 | |
{
|
5631 | |
static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)];
|
5632 | |
test_array [0] = 0
|
5633 | |
|
5634 | |
;
|
5635 | |
return 0;
|
5636 | |
}
|
5637 | |
_ACEOF
|
5638 | |
rm -f conftest.$ac_objext
|
5639 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5640 | |
(eval $ac_compile) 2>conftest.er1
|
5641 | |
ac_status=$?
|
5642 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5643 | |
rm -f conftest.er1
|
5644 | |
cat conftest.err >&5
|
5645 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5646 | |
(exit $ac_status); } &&
|
5647 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5648 | |
|| test ! -s conftest.err'
|
5649 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5650 | |
(eval $ac_try) 2>&5
|
5651 | |
ac_status=$?
|
5652 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5653 | |
(exit $ac_status); }; } &&
|
5654 | |
{ ac_try='test -s conftest.$ac_objext'
|
5655 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5656 | |
(eval $ac_try) 2>&5
|
5657 | |
ac_status=$?
|
5658 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5659 | |
(exit $ac_status); }; }; then
|
5660 | |
ac_hi=-1 ac_mid=-1
|
5661 | |
while :; do
|
5662 | |
cat >conftest.$ac_ext <<_ACEOF
|
5663 | |
/* confdefs.h. */
|
5664 | |
_ACEOF
|
5665 | |
cat confdefs.h >>conftest.$ac_ext
|
5666 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5667 | |
/* end confdefs.h. */
|
5668 | |
$ac_includes_default
|
5669 | |
int
|
5670 | |
main ()
|
5671 | |
{
|
5672 | |
static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)];
|
5673 | |
test_array [0] = 0
|
5674 | |
|
5675 | |
;
|
5676 | |
return 0;
|
5677 | |
}
|
5678 | |
_ACEOF
|
5679 | |
rm -f conftest.$ac_objext
|
5680 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5681 | |
(eval $ac_compile) 2>conftest.er1
|
5682 | |
ac_status=$?
|
5683 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5684 | |
rm -f conftest.er1
|
5685 | |
cat conftest.err >&5
|
5686 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5687 | |
(exit $ac_status); } &&
|
5688 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5689 | |
|| test ! -s conftest.err'
|
5690 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5691 | |
(eval $ac_try) 2>&5
|
5692 | |
ac_status=$?
|
5693 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5694 | |
(exit $ac_status); }; } &&
|
5695 | |
{ ac_try='test -s conftest.$ac_objext'
|
5696 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5697 | |
(eval $ac_try) 2>&5
|
5698 | |
ac_status=$?
|
5699 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5700 | |
(exit $ac_status); }; }; then
|
5701 | |
ac_lo=$ac_mid; break
|
5702 | |
else
|
5703 | |
echo "$as_me: failed program was:" >&5
|
5704 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5705 | |
|
5706 | |
ac_hi=`expr '(' $ac_mid ')' - 1`
|
5707 | |
if test $ac_mid -le $ac_hi; then
|
5708 | |
ac_lo= ac_hi=
|
5709 | |
break
|
5710 | |
fi
|
5711 | |
ac_mid=`expr 2 '*' $ac_mid`
|
5712 | |
fi
|
5713 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5714 | |
done
|
5715 | |
else
|
5716 | |
echo "$as_me: failed program was:" >&5
|
5717 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5718 | |
|
5719 | |
ac_lo= ac_hi=
|
5720 | |
fi
|
5721 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5722 | |
fi
|
5723 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5724 | |
# Binary search between lo and hi bounds.
|
5725 | |
while test "x$ac_lo" != "x$ac_hi"; do
|
5726 | |
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
|
5727 | |
cat >conftest.$ac_ext <<_ACEOF
|
5728 | |
/* confdefs.h. */
|
5729 | |
_ACEOF
|
5730 | |
cat confdefs.h >>conftest.$ac_ext
|
5731 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5732 | |
/* end confdefs.h. */
|
5733 | |
$ac_includes_default
|
5734 | |
int
|
5735 | |
main ()
|
5736 | |
{
|
5737 | |
static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
|
5738 | |
test_array [0] = 0
|
5739 | |
|
5740 | |
;
|
5741 | |
return 0;
|
5742 | |
}
|
5743 | |
_ACEOF
|
5744 | |
rm -f conftest.$ac_objext
|
5745 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5746 | |
(eval $ac_compile) 2>conftest.er1
|
5747 | |
ac_status=$?
|
5748 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5749 | |
rm -f conftest.er1
|
5750 | |
cat conftest.err >&5
|
5751 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5752 | |
(exit $ac_status); } &&
|
5753 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5754 | |
|| test ! -s conftest.err'
|
5755 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5756 | |
(eval $ac_try) 2>&5
|
5757 | |
ac_status=$?
|
5758 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5759 | |
(exit $ac_status); }; } &&
|
5760 | |
{ ac_try='test -s conftest.$ac_objext'
|
5761 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5762 | |
(eval $ac_try) 2>&5
|
5763 | |
ac_status=$?
|
5764 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5765 | |
(exit $ac_status); }; }; then
|
5766 | |
ac_hi=$ac_mid
|
5767 | |
else
|
5768 | |
echo "$as_me: failed program was:" >&5
|
5769 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5770 | |
|
5771 | |
ac_lo=`expr '(' $ac_mid ')' + 1`
|
5772 | |
fi
|
5773 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
5774 | |
done
|
5775 | |
case $ac_lo in
|
5776 | |
?*) ac_cv_sizeof_float=$ac_lo;;
|
5777 | |
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
|
5778 | |
See \`config.log' for more details." >&5
|
5779 | |
echo "$as_me: error: cannot compute sizeof (float), 77
|
5780 | |
See \`config.log' for more details." >&2;}
|
5781 | |
{ (exit 1); exit 1; }; } ;;
|
5782 | |
esac
|
5783 | |
else
|
5784 | |
if test "$cross_compiling" = yes; then
|
5785 | |
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
5786 | |
See \`config.log' for more details." >&5
|
5787 | |
echo "$as_me: error: cannot run test program while cross compiling
|
5788 | |
See \`config.log' for more details." >&2;}
|
5789 | |
{ (exit 1); exit 1; }; }
|
5790 | |
else
|
5791 | |
cat >conftest.$ac_ext <<_ACEOF
|
5792 | |
/* confdefs.h. */
|
5793 | |
_ACEOF
|
5794 | |
cat confdefs.h >>conftest.$ac_ext
|
5795 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5796 | |
/* end confdefs.h. */
|
5797 | |
$ac_includes_default
|
5798 | |
long longval () { return (long) (sizeof (float)); }
|
5799 | |
unsigned long ulongval () { return (long) (sizeof (float)); }
|
5800 | |
#include <stdio.h>
|
5801 | |
#include <stdlib.h>
|
5802 | |
int
|
5803 | |
main ()
|
5804 | |
{
|
5805 | |
|
5806 | |
FILE *f = fopen ("conftest.val", "w");
|
5807 | |
if (! f)
|
5808 | |
exit (1);
|
5809 | |
if (((long) (sizeof (float))) < 0)
|
5810 | |
{
|
5811 | |
long i = longval ();
|
5812 | |
if (i != ((long) (sizeof (float))))
|
5813 | |
exit (1);
|
5814 | |
fprintf (f, "%ld\n", i);
|
5815 | |
}
|
5816 | |
else
|
5817 | |
{
|
5818 | |
unsigned long i = ulongval ();
|
5819 | |
if (i != ((long) (sizeof (float))))
|
5820 | |
exit (1);
|
5821 | |
fprintf (f, "%lu\n", i);
|
5822 | |
}
|
5823 | |
exit (ferror (f) || fclose (f) != 0);
|
5824 | |
|
5825 | |
;
|
5826 | |
return 0;
|
5827 | |
}
|
5828 | |
_ACEOF
|
5829 | |
rm -f conftest$ac_exeext
|
5830 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
5831 | |
(eval $ac_link) 2>&5
|
5832 | |
ac_status=$?
|
5833 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5834 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5835 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5836 | |
(eval $ac_try) 2>&5
|
5837 | |
ac_status=$?
|
5838 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5839 | |
(exit $ac_status); }; }; then
|
5840 | |
ac_cv_sizeof_float=`cat conftest.val`
|
5841 | |
else
|
5842 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5843 | |
echo "$as_me: failed program was:" >&5
|
5844 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5845 | |
|
5846 | |
( exit $ac_status )
|
5847 | |
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
|
5848 | |
See \`config.log' for more details." >&5
|
5849 | |
echo "$as_me: error: cannot compute sizeof (float), 77
|
5850 | |
See \`config.log' for more details." >&2;}
|
5851 | |
{ (exit 1); exit 1; }; }
|
5852 | |
fi
|
5853 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5854 | |
fi
|
5855 | |
fi
|
5856 | |
rm -f conftest.val
|
5857 | |
else
|
5858 | |
ac_cv_sizeof_float=0
|
5859 | |
fi
|
5860 | |
fi
|
5861 | |
echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
|
5862 | |
echo "${ECHO_T}$ac_cv_sizeof_float" >&6
|
5863 | |
cat >>confdefs.h <<_ACEOF
|
5864 | |
#define SIZEOF_FLOAT $ac_cv_sizeof_float
|
5865 | |
_ACEOF
|
5866 | |
|
5867 | |
|
5868 | |
|
5869 | |
if test "x$ac_cv_sizeof_unsigned_long" = "x$ac_cv_sizeof_float"; then
|
5870 | |
echo "$as_me:$LINENO: checking for htonl" >&5
|
5871 | |
echo $ECHO_N "checking for htonl... $ECHO_C" >&6
|
5872 | |
cat >conftest.$ac_ext <<_ACEOF
|
5873 | |
/* confdefs.h. */
|
5874 | |
_ACEOF
|
5875 | |
cat confdefs.h >>conftest.$ac_ext
|
5876 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5877 | |
/* end confdefs.h. */
|
5878 | |
#ifdef HAVE_NETINET_IN_H
|
5879 | |
#include <netinet/in.h>
|
5880 | |
#endif
|
5881 | |
int
|
5882 | |
main ()
|
5883 | |
{
|
5884 | |
unsigned short i; htonl(i);
|
5885 | |
;
|
5886 | |
return 0;
|
5887 | |
}
|
5888 | |
_ACEOF
|
5889 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5890 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
5891 | |
(eval $ac_link) 2>conftest.er1
|
5892 | |
ac_status=$?
|
5893 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5894 | |
rm -f conftest.er1
|
5895 | |
cat conftest.err >&5
|
5896 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5897 | |
(exit $ac_status); } &&
|
5898 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5899 | |
|| test ! -s conftest.err'
|
5900 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5901 | |
(eval $ac_try) 2>&5
|
5902 | |
ac_status=$?
|
5903 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5904 | |
(exit $ac_status); }; } &&
|
5905 | |
{ ac_try='test -s conftest$ac_exeext'
|
5906 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5907 | |
(eval $ac_try) 2>&5
|
5908 | |
ac_status=$?
|
5909 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5910 | |
(exit $ac_status); }; }; then
|
5911 | |
htonl=yes
|
5912 | |
|
5913 | |
cat >>confdefs.h <<\_ACEOF
|
5914 | |
#define HAVE_HTONL 1
|
5915 | |
_ACEOF
|
5916 | |
|
5917 | |
else
|
5918 | |
echo "$as_me: failed program was:" >&5
|
5919 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5920 | |
|
5921 | |
htonl=no
|
5922 | |
fi
|
5923 | |
rm -f conftest.err conftest.$ac_objext \
|
5924 | |
conftest$ac_exeext conftest.$ac_ext
|
5925 | |
echo "$as_me:$LINENO: result: $htonl" >&5
|
5926 | |
echo "${ECHO_T}$htonl" >&6
|
5927 | |
fi
|
5928 | |
|
5929 | |
if test "x$htons" != xyes -o "x$htonl" != xyes; then
|
5930 | |
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
5931 | |
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
|
5932 | |
if test "${ac_cv_c_bigendian+set}" = set; then
|
5933 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5934 | |
else
|
5935 | |
# See if sys/param.h defines the BYTE_ORDER macro.
|
5936 | |
cat >conftest.$ac_ext <<_ACEOF
|
5937 | |
/* confdefs.h. */
|
5938 | |
_ACEOF
|
5939 | |
cat confdefs.h >>conftest.$ac_ext
|
5940 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5941 | |
/* end confdefs.h. */
|
5942 | |
#include <sys/types.h>
|
5943 | |
#include <sys/param.h>
|
5944 | |
|
5945 | |
int
|
5946 | |
main ()
|
5947 | |
{
|
5948 | |
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
|
5949 | |
bogus endian macros
|
5950 | |
#endif
|
5951 | |
|
5952 | |
;
|
5953 | |
return 0;
|
5954 | |
}
|
5955 | |
_ACEOF
|
5956 | |
rm -f conftest.$ac_objext
|
5957 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
5958 | |
(eval $ac_compile) 2>conftest.er1
|
5959 | |
ac_status=$?
|
5960 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5961 | |
rm -f conftest.er1
|
5962 | |
cat conftest.err >&5
|
5963 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5964 | |
(exit $ac_status); } &&
|
5965 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
5966 | |
|| test ! -s conftest.err'
|
5967 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5968 | |
(eval $ac_try) 2>&5
|
5969 | |
ac_status=$?
|
5970 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5971 | |
(exit $ac_status); }; } &&
|
5972 | |
{ ac_try='test -s conftest.$ac_objext'
|
5973 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
5974 | |
(eval $ac_try) 2>&5
|
5975 | |
ac_status=$?
|
5976 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5977 | |
(exit $ac_status); }; }; then
|
5978 | |
# It does; now see whether it defined to BIG_ENDIAN or not.
|
5979 | |
cat >conftest.$ac_ext <<_ACEOF
|
5980 | |
/* confdefs.h. */
|
5981 | |
_ACEOF
|
5982 | |
cat confdefs.h >>conftest.$ac_ext
|
5983 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5984 | |
/* end confdefs.h. */
|
5985 | |
#include <sys/types.h>
|
5986 | |
#include <sys/param.h>
|
5987 | |
|
5988 | |
int
|
5989 | |
main ()
|
5990 | |
{
|
5991 | |
#if BYTE_ORDER != BIG_ENDIAN
|
5992 | |
not big endian
|
5993 | |
#endif
|
5994 | |
|
5995 | |
;
|
5996 | |
return 0;
|
5997 | |
}
|
5998 | |
_ACEOF
|
5999 | |
rm -f conftest.$ac_objext
|
6000 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
6001 | |
(eval $ac_compile) 2>conftest.er1
|
6002 | |
ac_status=$?
|
6003 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6004 | |
rm -f conftest.er1
|
6005 | |
cat conftest.err >&5
|
6006 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6007 | |
(exit $ac_status); } &&
|
6008 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
6009 | |
|| test ! -s conftest.err'
|
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); }; } &&
|
6015 | |
{ ac_try='test -s conftest.$ac_objext'
|
6016 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
6017 | |
(eval $ac_try) 2>&5
|
6018 | |
ac_status=$?
|
6019 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6020 | |
(exit $ac_status); }; }; then
|
6021 | |
ac_cv_c_bigendian=yes
|
6022 | |
else
|
6023 | |
echo "$as_me: failed program was:" >&5
|
6024 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6025 | |
|
6026 | |
ac_cv_c_bigendian=no
|
6027 | |
fi
|
6028 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
6029 | |
else
|
6030 | |
echo "$as_me: failed program was:" >&5
|
6031 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6032 | |
|
6033 | |
# It does not; compile a test program.
|
6034 | |
if test "$cross_compiling" = yes; then
|
6035 | |
# try to guess the endianness by grepping values into an object file
|
6036 | |
ac_cv_c_bigendian=unknown
|
6037 | |
cat >conftest.$ac_ext <<_ACEOF
|
6038 | |
/* confdefs.h. */
|
6039 | |
_ACEOF
|
6040 | |
cat confdefs.h >>conftest.$ac_ext
|
6041 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6042 | |
/* end confdefs.h. */
|
6043 | |
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
6044 | |
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
6045 | |
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
|
6046 | |
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
6047 | |
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
6048 | |
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
|
6049 | |
int
|
6050 | |
main ()
|
6051 | |
{
|
6052 | |
_ascii (); _ebcdic ();
|
6053 | |
;
|
6054 | |
return 0;
|
6055 | |
}
|
6056 | |
_ACEOF
|
6057 | |
rm -f conftest.$ac_objext
|
6058 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
6059 | |
(eval $ac_compile) 2>conftest.er1
|
6060 | |
ac_status=$?
|
6061 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6062 | |
rm -f conftest.er1
|
6063 | |
cat conftest.err >&5
|
6064 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6065 | |
(exit $ac_status); } &&
|
6066 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
6067 | |
|| test ! -s conftest.err'
|
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); }; } &&
|
6073 | |
{ ac_try='test -s conftest.$ac_objext'
|
6074 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
6075 | |
(eval $ac_try) 2>&5
|
6076 | |
ac_status=$?
|
6077 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6078 | |
(exit $ac_status); }; }; then
|
6079 | |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
|
6080 | |
ac_cv_c_bigendian=yes
|
6081 | |
fi
|
6082 | |
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
6083 | |
if test "$ac_cv_c_bigendian" = unknown; then
|
6084 | |
ac_cv_c_bigendian=no
|
6085 | |
else
|
6086 | |
# finding both strings is unlikely to happen, but who knows?
|
6087 | |
ac_cv_c_bigendian=unknown
|
6088 | |
fi
|
6089 | |
fi
|
6090 | |
else
|
6091 | |
echo "$as_me: failed program was:" >&5
|
6092 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6093 | |
|
6094 | |
fi
|
6095 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
6096 | |
else
|
6097 | |
cat >conftest.$ac_ext <<_ACEOF
|
6098 | |
/* confdefs.h. */
|
6099 | |
_ACEOF
|
6100 | |
cat confdefs.h >>conftest.$ac_ext
|
6101 | |
cat >>conftest.$ac_ext <<_ACEOF
|
6102 | |
/* end confdefs.h. */
|
6103 | |
int
|
6104 | |
main ()
|
6105 | |
{
|
6106 | |
/* Are we little or big endian? From Harbison&Steele. */
|
6107 | |
union
|
6108 | |
{
|
6109 | |
long l;
|
6110 | |
char c[sizeof (long)];
|
6111 | |
} u;
|
6112 | |
u.l = 1;
|
6113 | |
exit (u.c[sizeof (long) - 1] == 1);
|
6114 | |
}
|
6115 | |
_ACEOF
|
6116 | |
rm -f conftest$ac_exeext
|
6117 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
6118 | |
(eval $ac_link) 2>&5
|
6119 | |
ac_status=$?
|
6120 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6121 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
6122 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
6123 | |
(eval $ac_try) 2>&5
|
6124 | |
ac_status=$?
|
6125 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
6951 |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6126 | 6952 |
(exit $ac_status); }; }; then
|
6127 | 6953 |
ac_cv_c_bigendian=no
|
6128 | 6954 |
else
|
6129 | |
echo "$as_me: program exited with status $ac_status" >&5
|
6130 | |
echo "$as_me: failed program was:" >&5
|
|
6955 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
6956 |
$as_echo "$as_me: failed program was:" >&5
|
6131 | 6957 |
sed 's/^/| /' conftest.$ac_ext >&5
|
6132 | 6958 |
|
6133 | 6959 |
( exit $ac_status )
|
6134 | 6960 |
ac_cv_c_bigendian=yes
|
6135 | 6961 |
fi
|
6136 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
6137 | |
fi
|
6138 | |
fi
|
6139 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
6140 | |
fi
|
6141 | |
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
6142 | |
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
|
6143 | |
case $ac_cv_c_bigendian in
|
6144 | |
yes)
|
|
6962 |
rm -rf conftest.dSYM
|
|
6963 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
6964 |
fi
|
|
6965 |
|
|
6966 |
|
|
6967 |
fi
|
|
6968 |
fi
|
|
6969 |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
|
6970 |
$as_echo "$ac_cv_c_bigendian" >&6; }
|
|
6971 |
case $ac_cv_c_bigendian in #(
|
|
6972 |
yes)
|
|
6973 |
cat >>confdefs.h <<\_ACEOF
|
|
6974 |
#define WORDS_BIGENDIAN 1
|
|
6975 |
_ACEOF
|
|
6976 |
;; #(
|
|
6977 |
no)
|
|
6978 |
;; #(
|
|
6979 |
universal)
|
6145 | 6980 |
|
6146 | 6981 |
cat >>confdefs.h <<\_ACEOF
|
6147 | |
#define WORDS_BIGENDIAN 1
|
6148 | |
_ACEOF
|
6149 | |
;;
|
6150 | |
no)
|
6151 | |
;;
|
6152 | |
*)
|
6153 | |
{ { echo "$as_me:$LINENO: error: unknown endianness
|
6154 | |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
6155 | |
echo "$as_me: error: unknown endianness
|
6156 | |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
|
6982 |
#define AC_APPLE_UNIVERSAL_BUILD 1
|
|
6983 |
_ACEOF
|
|
6984 |
|
|
6985 |
;; #(
|
|
6986 |
*)
|
|
6987 |
{ { $as_echo "$as_me:$LINENO: error: unknown endianness
|
|
6988 |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
|
6989 |
$as_echo "$as_me: error: unknown endianness
|
|
6990 |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
6157 | 6991 |
{ (exit 1); exit 1; }; } ;;
|
6158 | |
esac
|
|
6992 |
esac
|
6159 | 6993 |
|
6160 | 6994 |
fi
|
6161 | 6995 |
|
|
6167 | 7001 |
save_prefix=$prefix
|
6168 | 7002 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
6169 | 7003 |
eval datadir_val=$datadir
|
|
7004 |
eval datadir_val=$datadir_val
|
6170 | 7005 |
prefix=$save_prefix
|
6171 | 7006 |
|
6172 | 7007 |
|
|
6181 | 7016 |
|
6182 | 7017 |
###########################################################################
|
6183 | 7018 |
|
6184 | |
ac_config_files="$ac_config_files Makefile h5topng.1"
|
|
7019 |
ac_config_files="$ac_config_files Makefile h5topng.1"
|
6185 | 7020 |
|
6186 | 7021 |
cat >confcache <<\_ACEOF
|
6187 | 7022 |
# This file is a shell script that caches the results of configure
|
|
6201 | 7036 |
|
6202 | 7037 |
# The following way of writing the cache mishandles newlines in values,
|
6203 | 7038 |
# but we know of no workaround that is simple, portable, and efficient.
|
6204 | |
# So, don't put newlines in cache variables' values.
|
|
7039 |
# So, we kill variables containing newlines.
|
6205 | 7040 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
6206 | 7041 |
# and sets the high bit in the cache file unless we assign to the vars.
|
6207 | |
{
|
|
7042 |
(
|
|
7043 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|
7044 |
eval ac_val=\$$ac_var
|
|
7045 |
case $ac_val in #(
|
|
7046 |
*${as_nl}*)
|
|
7047 |
case $ac_var in #(
|
|
7048 |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
7049 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
7050 |
esac
|
|
7051 |
case $ac_var in #(
|
|
7052 |
_ | IFS | as_nl) ;; #(
|
|
7053 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
7054 |
*) $as_unset $ac_var ;;
|
|
7055 |
esac ;;
|
|
7056 |
esac
|
|
7057 |
done
|
|
7058 |
|
6208 | 7059 |
(set) 2>&1 |
|
6209 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
6210 | |
*ac_space=\ *)
|
|
7060 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|
7061 |
*${as_nl}ac_space=\ *)
|
6211 | 7062 |
# `set' does not quote correctly, so add quotes (double-quote
|
6212 | 7063 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
6213 | 7064 |
sed -n \
|
6214 | 7065 |
"s/'/'\\\\''/g;
|
6215 | 7066 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
6216 | |
;;
|
|
7067 |
;; #(
|
6217 | 7068 |
*)
|
6218 | 7069 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
6219 | |
sed -n \
|
6220 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
7070 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
6221 | 7071 |
;;
|
6222 | |
esac;
|
6223 | |
} |
|
|
7072 |
esac |
|
|
7073 |
sort
|
|
7074 |
) |
|
6224 | 7075 |
sed '
|
|
7076 |
/^ac_cv_env_/b end
|
6225 | 7077 |
t clear
|
6226 | |
: clear
|
|
7078 |
:clear
|
6227 | 7079 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
6228 | 7080 |
t end
|
6229 | |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
6230 | |
: end' >>confcache
|
6231 | |
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
6232 | |
if test -w $cache_file; then
|
6233 | |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|
7081 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
7082 |
:end' >>confcache
|
|
7083 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|
7084 |
if test -w "$cache_file"; then
|
|
7085 |
test "x$cache_file" != "x/dev/null" &&
|
|
7086 |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
7087 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
6234 | 7088 |
cat confcache >$cache_file
|
6235 | 7089 |
else
|
6236 | |
echo "not updating unwritable cache $cache_file"
|
|
7090 |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
7091 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
6237 | 7092 |
fi
|
6238 | 7093 |
fi
|
6239 | 7094 |
rm -f confcache
|
|
6241 | 7096 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
6242 | 7097 |
# Let make expand exec_prefix.
|
6243 | 7098 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
6244 | |
|
6245 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
6246 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
6247 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
6248 | |
# (actually we leave an empty line to preserve line numbers).
|
6249 | |
if test "x$srcdir" = x.; then
|
6250 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
6251 | |
s/:*\$(srcdir):*/:/;
|
6252 | |
s/:*\${srcdir}:*/:/;
|
6253 | |
s/:*@srcdir@:*/:/;
|
6254 | |
s/^\([^=]*=[ ]*\):*/\1/;
|
6255 | |
s/:*$//;
|
6256 | |
s/^[^=]*=[ ]*$//;
|
6257 | |
}'
|
6258 | |
fi
|
6259 | 7099 |
|
6260 | 7100 |
DEFS=-DHAVE_CONFIG_H
|
6261 | 7101 |
|
|
6263 | 7103 |
ac_ltlibobjs=
|
6264 | 7104 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
6265 | 7105 |
# 1. Remove the extension, and $U if already installed.
|
6266 | |
ac_i=`echo "$ac_i" |
|
6267 | |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
6268 | |
# 2. Add them.
|
6269 | |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
6270 | |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
7106 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
7107 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
7108 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|
7109 |
# will be set to the directory where LIBOBJS objects are built.
|
|
7110 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
7111 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
6271 | 7112 |
done
|
6272 | 7113 |
LIBOBJS=$ac_libobjs
|
6273 | 7114 |
|
6274 | 7115 |
LTLIBOBJS=$ac_ltlibobjs
|
6275 | 7116 |
|
6276 | 7117 |
|
|
7118 |
if test -n "$EXEEXT"; then
|
|
7119 |
am__EXEEXT_TRUE=
|
|
7120 |
am__EXEEXT_FALSE='#'
|
|
7121 |
else
|
|
7122 |
am__EXEEXT_TRUE='#'
|
|
7123 |
am__EXEEXT_FALSE=
|
|
7124 |
fi
|
|
7125 |
|
6277 | 7126 |
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
6278 | |
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
7127 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
|
6279 | 7128 |
Usually this means the macro was only invoked conditionally." >&5
|
6280 | |
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
|
7129 |
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
|
6281 | 7130 |
Usually this means the macro was only invoked conditionally." >&2;}
|
6282 | 7131 |
{ (exit 1); exit 1; }; }
|
6283 | 7132 |
fi
|
6284 | 7133 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
6285 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
|
7134 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
6286 | 7135 |
Usually this means the macro was only invoked conditionally." >&5
|
6287 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
|
7136 |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
6288 | 7137 |
Usually this means the macro was only invoked conditionally." >&2;}
|
6289 | 7138 |
{ (exit 1); exit 1; }; }
|
6290 | 7139 |
fi
|
6291 | 7140 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
6292 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
|
7141 |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
6293 | 7142 |
Usually this means the macro was only invoked conditionally." >&5
|
6294 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
|
7143 |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
6295 | 7144 |
Usually this means the macro was only invoked conditionally." >&2;}
|
6296 | 7145 |
{ (exit 1); exit 1; }; }
|
6297 | 7146 |
fi
|
6298 | 7147 |
|
|
7148 |
|
6299 | 7149 |
: ${CONFIG_STATUS=./config.status}
|
|
7150 |
ac_write_fail=0
|
6300 | 7151 |
ac_clean_files_save=$ac_clean_files
|
6301 | 7152 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
6302 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
6303 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
6304 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
7153 |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
7154 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
7155 |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6305 | 7156 |
#! $SHELL
|
6306 | 7157 |
# Generated by $as_me.
|
6307 | 7158 |
# Run this file to recreate the current configuration.
|
|
6314 | 7165 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
6315 | 7166 |
_ACEOF
|
6316 | 7167 |
|
6317 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7168 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6318 | 7169 |
## --------------------- ##
|
6319 | 7170 |
## M4sh Initialization. ##
|
6320 | 7171 |
## --------------------- ##
|
6321 | 7172 |
|
6322 | |
# Be Bourne compatible
|
|
7173 |
# Be more Bourne compatible
|
|
7174 |
DUALCASE=1; export DUALCASE # for MKS sh
|
6323 | 7175 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
6324 | 7176 |
emulate sh
|
6325 | 7177 |
NULLCMD=:
|
6326 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
7178 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
6327 | 7179 |
# is contrary to our usage. Disable this feature.
|
6328 | 7180 |
alias -g '${1+"$@"}'='"$@"'
|
6329 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
6330 | |
set -o posix
|
6331 | |
fi
|
6332 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
6333 | |
|
6334 | |
# Support unset when possible.
|
6335 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
6336 | |
as_unset=unset
|
6337 | |
else
|
6338 | |
as_unset=false
|
6339 | |
fi
|
6340 | |
|
6341 | |
|
6342 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
6343 | |
$as_unset ENV MAIL MAILPATH
|
6344 | |
PS1='$ '
|
6345 | |
PS2='> '
|
6346 | |
PS4='+ '
|
6347 | |
|
6348 | |
# NLS nuisances.
|
6349 | |
for as_var in \
|
6350 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
6351 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
6352 | |
LC_TELEPHONE LC_TIME
|
6353 | |
do
|
6354 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
6355 | |
eval $as_var=C; export $as_var
|
6356 | |
else
|
6357 | |
$as_unset $as_var
|
6358 | |
fi
|
6359 | |
done
|
6360 | |
|
6361 | |
# Required to use basename.
|
6362 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
6363 | |
as_expr=expr
|
6364 | |
else
|
6365 | |
as_expr=false
|
6366 | |
fi
|
6367 | |
|
6368 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
6369 | |
as_basename=basename
|
6370 | |
else
|
6371 | |
as_basename=false
|
6372 | |
fi
|
6373 | |
|
6374 | |
|
6375 | |
# Name of the executable.
|
6376 | |
as_me=`$as_basename "$0" ||
|
6377 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
6378 | |
X"$0" : 'X\(//\)$' \| \
|
6379 | |
X"$0" : 'X\(/\)$' \| \
|
6380 | |
. : '\(.\)' 2>/dev/null ||
|
6381 | |
echo X/"$0" |
|
6382 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
6383 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
6384 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
6385 | |
s/.*/./; q'`
|
6386 | |
|
6387 | |
|
6388 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
7181 |
setopt NO_GLOB_SUBST
|
|
7182 |
else
|
|
7183 |
case `(set -o) 2>/dev/null` in
|
|
7184 |
*posix*) set -o posix ;;
|
|
7185 |
esac
|
|
7186 |
|
|
7187 |
fi
|
|
7188 |
|
|
7189 |
|
|
7190 |
|
|
7191 |
|
|
7192 |
# PATH needs CR
|
6389 | 7193 |
# Avoid depending upon Character Ranges.
|
6390 | 7194 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
6391 | 7195 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6393 | 7197 |
as_cr_digits='0123456789'
|
6394 | 7198 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
6395 | 7199 |
|
|
7200 |
as_nl='
|
|
7201 |
'
|
|
7202 |
export as_nl
|
|
7203 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
7204 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
7205 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
7206 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
7207 |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
7208 |
as_echo='printf %s\n'
|
|
7209 |
as_echo_n='printf %s'
|
|
7210 |
else
|
|
7211 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
7212 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
7213 |
as_echo_n='/usr/ucb/echo -n'
|
|
7214 |
else
|
|
7215 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
7216 |
as_echo_n_body='eval
|
|
7217 |
arg=$1;
|
|
7218 |
case $arg in
|
|
7219 |
*"$as_nl"*)
|
|
7220 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
7221 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
7222 |
esac;
|
|
7223 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
7224 |
'
|
|
7225 |
export as_echo_n_body
|
|
7226 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
7227 |
fi
|
|
7228 |
export as_echo_body
|
|
7229 |
as_echo='sh -c $as_echo_body as_echo'
|
|
7230 |
fi
|
|
7231 |
|
6396 | 7232 |
# The user is always right.
|
6397 | 7233 |
if test "${PATH_SEPARATOR+set}" != set; then
|
6398 | |
echo "#! /bin/sh" >conf$$.sh
|
6399 | |
echo "exit 0" >>conf$$.sh
|
6400 | |
chmod +x conf$$.sh
|
6401 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
6402 | |
PATH_SEPARATOR=';'
|
6403 | |
else
|
6404 | |
PATH_SEPARATOR=:
|
6405 | |
fi
|
6406 | |
rm -f conf$$.sh
|
6407 | |
fi
|
6408 | |
|
6409 | |
|
6410 | |
as_lineno_1=$LINENO
|
6411 | |
as_lineno_2=$LINENO
|
6412 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
6413 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
6414 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
6415 | |
# Find who we are. Look in the path if we contain no path at all
|
6416 | |
# relative or not.
|
6417 | |
case $0 in
|
6418 | |
*[\\/]* ) as_myself=$0 ;;
|
6419 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
7234 |
PATH_SEPARATOR=:
|
|
7235 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
7236 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
7237 |
PATH_SEPARATOR=';'
|
|
7238 |
}
|
|
7239 |
fi
|
|
7240 |
|
|
7241 |
# Support unset when possible.
|
|
7242 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
7243 |
as_unset=unset
|
|
7244 |
else
|
|
7245 |
as_unset=false
|
|
7246 |
fi
|
|
7247 |
|
|
7248 |
|
|
7249 |
# IFS
|
|
7250 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
7251 |
# there to prevent editors from complaining about space-tab.
|
|
7252 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
7253 |
# splitting by setting IFS to empty value.)
|
|
7254 |
IFS=" "" $as_nl"
|
|
7255 |
|
|
7256 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
7257 |
case $0 in
|
|
7258 |
*[\\/]* ) as_myself=$0 ;;
|
|
7259 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6420 | 7260 |
for as_dir in $PATH
|
6421 | 7261 |
do
|
6422 | 7262 |
IFS=$as_save_IFS
|
6423 | 7263 |
test -z "$as_dir" && as_dir=.
|
6424 | 7264 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
6425 | 7265 |
done
|
6426 | |
|
6427 | |
;;
|
6428 | |
esac
|
6429 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
6430 | |
# in which case we are not to be found in the path.
|
6431 | |
if test "x$as_myself" = x; then
|
6432 | |
as_myself=$0
|
6433 | |
fi
|
6434 | |
if test ! -f "$as_myself"; then
|
6435 | |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
6436 | |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
6437 | |
{ (exit 1); exit 1; }; }
|
6438 | |
fi
|
6439 | |
case $CONFIG_SHELL in
|
6440 | |
'')
|
6441 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
6442 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
6443 | |
do
|
6444 | |
IFS=$as_save_IFS
|
6445 | |
test -z "$as_dir" && as_dir=.
|
6446 | |
for as_base in sh bash ksh sh5; do
|
6447 | |
case $as_dir in
|
6448 | |
/*)
|
6449 | |
if ("$as_dir/$as_base" -c '
|
|
7266 |
IFS=$as_save_IFS
|
|
7267 |
|
|
7268 |
;;
|
|
7269 |
esac
|
|
7270 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
7271 |
# in which case we are not to be found in the path.
|
|
7272 |
if test "x$as_myself" = x; then
|
|
7273 |
as_myself=$0
|
|
7274 |
fi
|
|
7275 |
if test ! -f "$as_myself"; then
|
|
7276 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
7277 |
{ (exit 1); exit 1; }
|
|
7278 |
fi
|
|
7279 |
|
|
7280 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
7281 |
for as_var in ENV MAIL MAILPATH
|
|
7282 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
7283 |
done
|
|
7284 |
PS1='$ '
|
|
7285 |
PS2='> '
|
|
7286 |
PS4='+ '
|
|
7287 |
|
|
7288 |
# NLS nuisances.
|
|
7289 |
LC_ALL=C
|
|
7290 |
export LC_ALL
|
|
7291 |
LANGUAGE=C
|
|
7292 |
export LANGUAGE
|
|
7293 |
|
|
7294 |
# Required to use basename.
|
|
7295 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
7296 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
7297 |
as_expr=expr
|
|
7298 |
else
|
|
7299 |
as_expr=false
|
|
7300 |
fi
|
|
7301 |
|
|
7302 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
7303 |
as_basename=basename
|
|
7304 |
else
|
|
7305 |
as_basename=false
|
|
7306 |
fi
|
|
7307 |
|
|
7308 |
|
|
7309 |
# Name of the executable.
|
|
7310 |
as_me=`$as_basename -- "$0" ||
|
|
7311 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
7312 |
X"$0" : 'X\(//\)$' \| \
|
|
7313 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7314 |
$as_echo X/"$0" |
|
|
7315 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
7316 |
s//\1/
|
|
7317 |
q
|
|
7318 |
}
|
|
7319 |
/^X\/\(\/\/\)$/{
|
|
7320 |
s//\1/
|
|
7321 |
q
|
|
7322 |
}
|
|
7323 |
/^X\/\(\/\).*/{
|
|
7324 |
s//\1/
|
|
7325 |
q
|
|
7326 |
}
|
|
7327 |
s/.*/./; q'`
|
|
7328 |
|
|
7329 |
# CDPATH.
|
|
7330 |
$as_unset CDPATH
|
|
7331 |
|
|
7332 |
|
|
7333 |
|
6450 | 7334 |
as_lineno_1=$LINENO
|
6451 | 7335 |
as_lineno_2=$LINENO
|
6452 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
6453 | 7336 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
6454 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
6455 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
6456 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
6457 | |
CONFIG_SHELL=$as_dir/$as_base
|
6458 | |
export CONFIG_SHELL
|
6459 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
6460 | |
fi;;
|
6461 | |
esac
|
6462 | |
done
|
6463 | |
done
|
6464 | |
;;
|
6465 | |
esac
|
|
7337 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
6466 | 7338 |
|
6467 | 7339 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
6468 | 7340 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
6469 | |
# line-number line before each line; the second 'sed' does the real
|
6470 | |
# work. The second script uses 'N' to pair each line-number line
|
6471 | |
# with the numbered line, and appends trailing '-' during
|
6472 | |
# substitution so that $LINENO is not a special case at line end.
|
|
7341 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
7342 |
# does the real work. The second script uses 'N' to pair each
|
|
7343 |
# line-number line with the line containing $LINENO, and appends
|
|
7344 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
7345 |
# case at line end.
|
6473 | 7346 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
6474 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
6475 | |
sed '=' <$as_myself |
|
|
7347 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
7348 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
7349 |
sed -n '
|
|
7350 |
p
|
|
7351 |
/[$]LINENO/=
|
|
7352 |
' <$as_myself |
|
6476 | 7353 |
sed '
|
|
7354 |
s/[$]LINENO.*/&-/
|
|
7355 |
t lineno
|
|
7356 |
b
|
|
7357 |
:lineno
|
6477 | 7358 |
N
|
6478 | |
s,$,-,
|
6479 | |
: loop
|
6480 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
7359 |
:loop
|
|
7360 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
6481 | 7361 |
t loop
|
6482 | |
s,-$,,
|
6483 | |
s,^['$as_cr_digits']*\n,,
|
|
7362 |
s/-\n.*//
|
6484 | 7363 |
' >$as_me.lineno &&
|
6485 | |
chmod +x $as_me.lineno ||
|
6486 | |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
6487 | |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|
7364 |
chmod +x "$as_me.lineno" ||
|
|
7365 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
6488 | 7366 |
{ (exit 1); exit 1; }; }
|
6489 | 7367 |
|
6490 | 7368 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
6491 | 7369 |
# (the dirname of $[0] is not the place where we might find the
|
6492 | |
# original and so on. Autoconf is especially sensible to this).
|
6493 | |
. ./$as_me.lineno
|
|
7370 |
# original and so on. Autoconf is especially sensitive to this).
|
|
7371 |
. "./$as_me.lineno"
|
6494 | 7372 |
# Exit status is that of the last command.
|
6495 | 7373 |
exit
|
6496 | 7374 |
}
|
6497 | 7375 |
|
6498 | 7376 |
|
6499 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
6500 | |
*c*,-n*) ECHO_N= ECHO_C='
|
6501 | |
' ECHO_T=' ' ;;
|
6502 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
6503 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
6504 | |
esac
|
6505 | |
|
6506 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
7377 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
7378 |
as_dirname=dirname
|
|
7379 |
else
|
|
7380 |
as_dirname=false
|
|
7381 |
fi
|
|
7382 |
|
|
7383 |
ECHO_C= ECHO_N= ECHO_T=
|
|
7384 |
case `echo -n x` in
|
|
7385 |
-n*)
|
|
7386 |
case `echo 'x\c'` in
|
|
7387 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
7388 |
*) ECHO_C='\c';;
|
|
7389 |
esac;;
|
|
7390 |
*)
|
|
7391 |
ECHO_N='-n';;
|
|
7392 |
esac
|
|
7393 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
7394 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
6507 | 7395 |
as_expr=expr
|
6508 | 7396 |
else
|
6509 | 7397 |
as_expr=false
|
6510 | 7398 |
fi
|
6511 | 7399 |
|
6512 | 7400 |
rm -f conf$$ conf$$.exe conf$$.file
|
6513 | |
echo >conf$$.file
|
6514 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
6515 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
6516 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
6517 | |
if test -f conf$$.exe; then
|
6518 | |
# Don't use ln at all; we don't have any links
|
|
7401 |
if test -d conf$$.dir; then
|
|
7402 |
rm -f conf$$.dir/conf$$.file
|
|
7403 |
else
|
|
7404 |
rm -f conf$$.dir
|
|
7405 |
mkdir conf$$.dir 2>/dev/null
|
|
7406 |
fi
|
|
7407 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
7408 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
7409 |
as_ln_s='ln -s'
|
|
7410 |
# ... but there are two gotchas:
|
|
7411 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
7412 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
7413 |
# In both cases, we have to default to `cp -p'.
|
|
7414 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
7415 |
as_ln_s='cp -p'
|
|
7416 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
7417 |
as_ln_s=ln
|
|
7418 |
else
|
6519 | 7419 |
as_ln_s='cp -p'
|
6520 | |
else
|
6521 | |
as_ln_s='ln -s'
|
6522 | 7420 |
fi
|
6523 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
6524 | |
as_ln_s=ln
|
6525 | 7421 |
else
|
6526 | 7422 |
as_ln_s='cp -p'
|
6527 | 7423 |
fi
|
6528 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
7424 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
7425 |
rmdir conf$$.dir 2>/dev/null
|
6529 | 7426 |
|
6530 | 7427 |
if mkdir -p . 2>/dev/null; then
|
6531 | 7428 |
as_mkdir_p=:
|
|
6534 | 7431 |
as_mkdir_p=false
|
6535 | 7432 |
fi
|
6536 | 7433 |
|
6537 | |
as_executable_p="test -f"
|
|
7434 |
if test -x / >/dev/null 2>&1; then
|
|
7435 |
as_test_x='test -x'
|
|
7436 |
else
|
|
7437 |
if ls -dL / >/dev/null 2>&1; then
|
|
7438 |
as_ls_L_option=L
|
|
7439 |
else
|
|
7440 |
as_ls_L_option=
|
|
7441 |
fi
|
|
7442 |
as_test_x='
|
|
7443 |
eval sh -c '\''
|
|
7444 |
if test -d "$1"; then
|
|
7445 |
test -d "$1/.";
|
|
7446 |
else
|
|
7447 |
case $1 in
|
|
7448 |
-*)set "./$1";;
|
|
7449 |
esac;
|
|
7450 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
7451 |
???[sx]*):;;*)false;;esac;fi
|
|
7452 |
'\'' sh
|
|
7453 |
'
|
|
7454 |
fi
|
|
7455 |
as_executable_p=$as_test_x
|
6538 | 7456 |
|
6539 | 7457 |
# Sed expression to map a string onto a valid CPP name.
|
6540 | 7458 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
6543 | 7461 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
6544 | 7462 |
|
6545 | 7463 |
|
6546 | |
# IFS
|
6547 | |
# We need space, tab and new line, in precisely that order.
|
6548 | |
as_nl='
|
6549 | |
'
|
6550 | |
IFS=" $as_nl"
|
6551 | |
|
6552 | |
# CDPATH.
|
6553 | |
$as_unset CDPATH
|
6554 | |
|
6555 | 7464 |
exec 6>&1
|
6556 | 7465 |
|
6557 | |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
7466 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
6558 | 7467 |
# report actual input values of CONFIG_FILES etc. instead of their
|
6559 | |
# values after options handling. Logging --version etc. is OK.
|
|
7468 |
# values after options handling.
|
|
7469 |
ac_log="
|
|
7470 |
This file was extended by h5utils $as_me 1.12, which was
|
|
7471 |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
7472 |
|
|
7473 |
CONFIG_FILES = $CONFIG_FILES
|
|
7474 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
7475 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
7476 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
7477 |
$ $0 $@
|
|
7478 |
|
|
7479 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
7480 |
"
|
|
7481 |
|
|
7482 |
_ACEOF
|
|
7483 |
|
|
7484 |
case $ac_config_files in *"
|
|
7485 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
7486 |
esac
|
|
7487 |
|
|
7488 |
case $ac_config_headers in *"
|
|
7489 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
7490 |
esac
|
|
7491 |
|
|
7492 |
|
|
7493 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7494 |
# Files that config.status was made for.
|
|
7495 |
config_files="$ac_config_files"
|
|
7496 |
config_headers="$ac_config_headers"
|
|
7497 |
config_commands="$ac_config_commands"
|
|
7498 |
|
|
7499 |
_ACEOF
|
|
7500 |
|
|
7501 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7502 |
ac_cs_usage="\
|
|
7503 |
\`$as_me' instantiates files from templates according to the
|
|
7504 |
current configuration.
|
|
7505 |
|
|
7506 |
Usage: $0 [OPTION]... [FILE]...
|
|
7507 |
|
|
7508 |
-h, --help print this help, then exit
|
|
7509 |
-V, --version print version number and configuration settings, then exit
|
|
7510 |
-q, --quiet, --silent
|
|
7511 |
do not print progress messages
|
|
7512 |
-d, --debug don't remove temporary files
|
|
7513 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
7514 |
--file=FILE[:TEMPLATE]
|
|
7515 |
instantiate the configuration file FILE
|
|
7516 |
--header=FILE[:TEMPLATE]
|
|
7517 |
instantiate the configuration header FILE
|
|
7518 |
|
|
7519 |
Configuration files:
|
|
7520 |
$config_files
|
|
7521 |
|
|
7522 |
Configuration headers:
|
|
7523 |
$config_headers
|
|
7524 |
|
|
7525 |
Configuration commands:
|
|
7526 |
$config_commands
|
|
7527 |
|
|
7528 |
Report bugs to <bug-autoconf@gnu.org>."
|
|
7529 |
|
|
7530 |
_ACEOF
|
|
7531 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7532 |
ac_cs_version="\\
|
|
7533 |
h5utils config.status 1.12
|
|
7534 |
configured by $0, generated by GNU Autoconf 2.63,
|
|
7535 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
7536 |
|
|
7537 |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
7538 |
This config.status script is free software; the Free Software Foundation
|
|
7539 |
gives unlimited permission to copy, distribute and modify it."
|
|
7540 |
|
|
7541 |
ac_pwd='$ac_pwd'
|
|
7542 |
srcdir='$srcdir'
|
|
7543 |
INSTALL='$INSTALL'
|
|
7544 |
MKDIR_P='$MKDIR_P'
|
|
7545 |
AWK='$AWK'
|
|
7546 |
test -n "\$AWK" || AWK=awk
|
|
7547 |
_ACEOF
|
|
7548 |
|
|
7549 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7550 |
# The default lists apply if the user does not specify any file.
|
|
7551 |
ac_need_defaults=:
|
|
7552 |
while test $# != 0
|
|
7553 |
do
|
|
7554 |
case $1 in
|
|
7555 |
--*=*)
|
|
7556 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
7557 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
7558 |
ac_shift=:
|
|
7559 |
;;
|
|
7560 |
*)
|
|
7561 |
ac_option=$1
|
|
7562 |
ac_optarg=$2
|
|
7563 |
ac_shift=shift
|
|
7564 |
;;
|
|
7565 |
esac
|
|
7566 |
|
|
7567 |
case $ac_option in
|
|
7568 |
# Handling of the options.
|
|
7569 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
7570 |
ac_cs_recheck=: ;;
|
|
7571 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
7572 |
$as_echo "$ac_cs_version"; exit ;;
|
|
7573 |
--debug | --debu | --deb | --de | --d | -d )
|
|
7574 |
debug=: ;;
|
|
7575 |
--file | --fil | --fi | --f )
|
|
7576 |
$ac_shift
|
|
7577 |
case $ac_optarg in
|
|
7578 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
7579 |
esac
|
|
7580 |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
7581 |
ac_need_defaults=false;;
|
|
7582 |
--header | --heade | --head | --hea )
|
|
7583 |
$ac_shift
|
|
7584 |
case $ac_optarg in
|
|
7585 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
7586 |
esac
|
|
7587 |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
7588 |
ac_need_defaults=false;;
|
|
7589 |
--he | --h)
|
|
7590 |
# Conflict between --help and --header
|
|
7591 |
{ $as_echo "$as_me: error: ambiguous option: $1
|
|
7592 |
Try \`$0 --help' for more information." >&2
|
|
7593 |
{ (exit 1); exit 1; }; };;
|
|
7594 |
--help | --hel | -h )
|
|
7595 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
7596 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
7597 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
7598 |
ac_cs_silent=: ;;
|
|
7599 |
|
|
7600 |
# This is an error.
|
|
7601 |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
|
7602 |
Try \`$0 --help' for more information." >&2
|
|
7603 |
{ (exit 1); exit 1; }; } ;;
|
|
7604 |
|
|
7605 |
*) ac_config_targets="$ac_config_targets $1"
|
|
7606 |
ac_need_defaults=false ;;
|
|
7607 |
|
|
7608 |
esac
|
|
7609 |
shift
|
|
7610 |
done
|
|
7611 |
|
|
7612 |
ac_configure_extra_args=
|
|
7613 |
|
|
7614 |
if $ac_cs_silent; then
|
|
7615 |
exec 6>/dev/null
|
|
7616 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
7617 |
fi
|
|
7618 |
|
|
7619 |
_ACEOF
|
|
7620 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7621 |
if \$ac_cs_recheck; then
|
|
7622 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
7623 |
shift
|
|
7624 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
7625 |
CONFIG_SHELL='$SHELL'
|
|
7626 |
export CONFIG_SHELL
|
|
7627 |
exec "\$@"
|
|
7628 |
fi
|
|
7629 |
|
|
7630 |
_ACEOF
|
|
7631 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6560 | 7632 |
exec 5>>config.log
|
6561 | 7633 |
{
|
6562 | 7634 |
echo
|
6563 | 7635 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
6564 | 7636 |
## Running $as_me. ##
|
6565 | 7637 |
_ASBOX
|
|
7638 |
$as_echo "$ac_log"
|
6566 | 7639 |
} >&5
|
6567 | |
cat >&5 <<_CSEOF
|
6568 | |
|
6569 | |
This file was extended by h5utils $as_me 1.10, which was
|
6570 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
6571 | |
|
6572 | |
CONFIG_FILES = $CONFIG_FILES
|
6573 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
6574 | |
CONFIG_LINKS = $CONFIG_LINKS
|
6575 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
6576 | |
$ $0 $@
|
6577 | |
|
6578 | |
_CSEOF
|
6579 | |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
6580 | |
echo >&5
|
6581 | |
_ACEOF
|
6582 | |
|
6583 | |
# Files that config.status was made for.
|
6584 | |
if test -n "$ac_config_files"; then
|
6585 | |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
6586 | |
fi
|
6587 | |
|
6588 | |
if test -n "$ac_config_headers"; then
|
6589 | |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
6590 | |
fi
|
6591 | |
|
6592 | |
if test -n "$ac_config_links"; then
|
6593 | |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
6594 | |
fi
|
6595 | |
|
6596 | |
if test -n "$ac_config_commands"; then
|
6597 | |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
6598 | |
fi
|
6599 | |
|
6600 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6601 | |
|
6602 | |
ac_cs_usage="\
|
6603 | |
\`$as_me' instantiates files from templates according to the
|
6604 | |
current configuration.
|
6605 | |
|
6606 | |
Usage: $0 [OPTIONS] [FILE]...
|
6607 | |
|
6608 | |
-h, --help print this help, then exit
|
6609 | |
-V, --version print version number, then exit
|
6610 | |
-q, --quiet do not print progress messages
|
6611 | |
-d, --debug don't remove temporary files
|
6612 | |
--recheck update $as_me by reconfiguring in the same conditions
|
6613 | |
--file=FILE[:TEMPLATE]
|
6614 | |
instantiate the configuration file FILE
|
6615 | |
--header=FILE[:TEMPLATE]
|
6616 | |
instantiate the configuration header FILE
|
6617 | |
|
6618 | |
Configuration files:
|
6619 | |
$config_files
|
6620 | |
|
6621 | |
Configuration headers:
|
6622 | |
$config_headers
|
6623 | |
|
6624 | |
Configuration commands:
|
6625 | |
$config_commands
|
6626 | |
|
6627 | |
Report bugs to <bug-autoconf@gnu.org>."
|
6628 | |
_ACEOF
|
6629 | |
|
6630 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6631 | |
ac_cs_version="\\
|
6632 | |
h5utils config.status 1.10
|
6633 | |
configured by $0, generated by GNU Autoconf 2.59,
|
6634 | |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
6635 | |
|
6636 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
6637 | |
This config.status script is free software; the Free Software Foundation
|
6638 | |
gives unlimited permission to copy, distribute and modify it."
|
6639 | |
srcdir=$srcdir
|
6640 | |
INSTALL="$INSTALL"
|
6641 | |
_ACEOF
|
6642 | |
|
6643 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6644 | |
# If no file are specified by the user, then we need to provide default
|
6645 | |
# value. By we need to know if files were specified by the user.
|
6646 | |
ac_need_defaults=:
|
6647 | |
while test $# != 0
|
6648 | |
do
|
6649 | |
case $1 in
|
6650 | |
--*=*)
|
6651 | |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
6652 | |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
6653 | |
ac_shift=:
|
6654 | |
;;
|
6655 | |
-*)
|
6656 | |
ac_option=$1
|
6657 | |
ac_optarg=$2
|
6658 | |
ac_shift=shift
|
6659 | |
;;
|
6660 | |
*) # This is not an option, so the user has probably given explicit
|
6661 | |
# arguments.
|
6662 | |
ac_option=$1
|
6663 | |
ac_need_defaults=false;;
|
6664 | |
esac
|
6665 | |
|
6666 | |
case $ac_option in
|
6667 | |
# Handling of the options.
|
6668 | |
_ACEOF
|
6669 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6670 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
6671 | |
ac_cs_recheck=: ;;
|
6672 | |
--version | --vers* | -V )
|
6673 | |
echo "$ac_cs_version"; exit 0 ;;
|
6674 | |
--he | --h)
|
6675 | |
# Conflict between --help and --header
|
6676 | |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
6677 | |
Try \`$0 --help' for more information." >&5
|
6678 | |
echo "$as_me: error: ambiguous option: $1
|
6679 | |
Try \`$0 --help' for more information." >&2;}
|
6680 | |
{ (exit 1); exit 1; }; };;
|
6681 | |
--help | --hel | -h )
|
6682 | |
echo "$ac_cs_usage"; exit 0 ;;
|
6683 | |
--debug | --d* | -d )
|
6684 | |
debug=: ;;
|
6685 | |
--file | --fil | --fi | --f )
|
6686 | |
$ac_shift
|
6687 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
6688 | |
ac_need_defaults=false;;
|
6689 | |
--header | --heade | --head | --hea )
|
6690 | |
$ac_shift
|
6691 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
6692 | |
ac_need_defaults=false;;
|
6693 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
6694 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
6695 | |
ac_cs_silent=: ;;
|
6696 | |
|
6697 | |
# This is an error.
|
6698 | |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
6699 | |
Try \`$0 --help' for more information." >&5
|
6700 | |
echo "$as_me: error: unrecognized option: $1
|
6701 | |
Try \`$0 --help' for more information." >&2;}
|
6702 | |
{ (exit 1); exit 1; }; } ;;
|
6703 | |
|
6704 | |
*) ac_config_targets="$ac_config_targets $1" ;;
|
6705 | |
|
6706 | |
esac
|
6707 | |
shift
|
6708 | |
done
|
6709 | |
|
6710 | |
ac_configure_extra_args=
|
6711 | |
|
6712 | |
if $ac_cs_silent; then
|
6713 | |
exec 6>/dev/null
|
6714 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
6715 | |
fi
|
6716 | |
|
6717 | |
_ACEOF
|
6718 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6719 | |
if \$ac_cs_recheck; then
|
6720 | |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
6721 | |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
6722 | |
fi
|
6723 | |
|
6724 | |
_ACEOF
|
6725 | |
|
6726 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
7640 |
|
|
7641 |
_ACEOF
|
|
7642 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6727 | 7643 |
#
|
6728 | |
# INIT-COMMANDS section.
|
|
7644 |
# INIT-COMMANDS
|
6729 | 7645 |
#
|
6730 | |
|
6731 | 7646 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
6732 | 7647 |
|
6733 | 7648 |
_ACEOF
|
6734 | 7649 |
|
6735 | |
|
6736 | |
|
6737 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7650 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7651 |
|
|
7652 |
# Handling of arguments.
|
6738 | 7653 |
for ac_config_target in $ac_config_targets
|
6739 | 7654 |
do
|
6740 | |
case "$ac_config_target" in
|
6741 | |
# Handling of arguments.
|
6742 | |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
6743 | |
"h5topng.1" ) CONFIG_FILES="$CONFIG_FILES h5topng.1" ;;
|
6744 | |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
6745 | |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
6746 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6747 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
|
7655 |
case $ac_config_target in
|
|
7656 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
7657 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
7658 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
7659 |
"h5topng.1") CONFIG_FILES="$CONFIG_FILES h5topng.1" ;;
|
|
7660 |
|
|
7661 |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
|
7662 |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
6748 | 7663 |
{ (exit 1); exit 1; }; };;
|
6749 | 7664 |
esac
|
6750 | 7665 |
done
|
|
7666 |
|
6751 | 7667 |
|
6752 | 7668 |
# If the user did not use the arguments to specify the items to instantiate,
|
6753 | 7669 |
# then the envvar interface is used. Set only those that are not.
|
|
6760 | 7676 |
fi
|
6761 | 7677 |
|
6762 | 7678 |
# Have a temporary directory for convenience. Make it in the build tree
|
6763 | |
# simply because there is no reason to put it here, and in addition,
|
|
7679 |
# simply because there is no reason against having it here, and in addition,
|
6764 | 7680 |
# creating and moving files from /tmp can sometimes cause problems.
|
6765 | |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
7681 |
# Hook for its removal unless debugging.
|
|
7682 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
7683 |
# after its creation but before its name has been assigned to `$tmp'.
|
6766 | 7684 |
$debug ||
|
6767 | 7685 |
{
|
6768 | |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
7686 |
tmp=
|
|
7687 |
trap 'exit_status=$?
|
|
7688 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
7689 |
' 0
|
6769 | 7690 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
6770 | 7691 |
}
|
6771 | |
|
6772 | 7692 |
# Create a (secure) tmp directory for tmp files.
|
6773 | 7693 |
|
6774 | 7694 |
{
|
6775 | |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
|
7695 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
6776 | 7696 |
test -n "$tmp" && test -d "$tmp"
|
6777 | 7697 |
} ||
|
6778 | 7698 |
{
|
6779 | |
tmp=./confstat$$-$RANDOM
|
6780 | |
(umask 077 && mkdir $tmp)
|
|
7699 |
tmp=./conf$$-$RANDOM
|
|
7700 |
(umask 077 && mkdir "$tmp")
|
6781 | 7701 |
} ||
|
6782 | 7702 |
{
|
6783 | |
echo "$me: cannot create a temporary directory in ." >&2
|
|
7703 |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
6784 | 7704 |
{ (exit 1); exit 1; }
|
6785 | 7705 |
}
|
6786 | 7706 |
|
6787 | |
_ACEOF
|
6788 | |
|
6789 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6790 | |
|
6791 | |
#
|
6792 | |
# CONFIG_FILES section.
|
6793 | |
#
|
6794 | |
|
6795 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
6796 | |
# This happens for instance when ./config.status config.h
|
6797 | |
if test -n "\$CONFIG_FILES"; then
|
6798 | |
# Protect against being on the right side of a sed subst in config.status.
|
6799 | |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
6800 | |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
6801 | |
s,@SHELL@,$SHELL,;t t
|
6802 | |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
6803 | |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
6804 | |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
6805 | |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
6806 | |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
6807 | |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
6808 | |
s,@exec_prefix@,$exec_prefix,;t t
|
6809 | |
s,@prefix@,$prefix,;t t
|
6810 | |
s,@program_transform_name@,$program_transform_name,;t t
|
6811 | |
s,@bindir@,$bindir,;t t
|
6812 | |
s,@sbindir@,$sbindir,;t t
|
6813 | |
s,@libexecdir@,$libexecdir,;t t
|
6814 | |
s,@datadir@,$datadir,;t t
|
6815 | |
s,@sysconfdir@,$sysconfdir,;t t
|
6816 | |
s,@sharedstatedir@,$sharedstatedir,;t t
|
6817 | |
s,@localstatedir@,$localstatedir,;t t
|
6818 | |
s,@libdir@,$libdir,;t t
|
6819 | |
s,@includedir@,$includedir,;t t
|
6820 | |
s,@oldincludedir@,$oldincludedir,;t t
|
6821 | |
s,@infodir@,$infodir,;t t
|
6822 | |
s,@mandir@,$mandir,;t t
|
6823 | |
s,@build_alias@,$build_alias,;t t
|
6824 | |
s,@host_alias@,$host_alias,;t t
|
6825 | |
s,@target_alias@,$target_alias,;t t
|
6826 | |
s,@DEFS@,$DEFS,;t t
|
6827 | |
s,@ECHO_C@,$ECHO_C,;t t
|
6828 | |
s,@ECHO_N@,$ECHO_N,;t t
|
6829 | |
s,@ECHO_T@,$ECHO_T,;t t
|
6830 | |
s,@LIBS@,$LIBS,;t t
|
6831 | |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
6832 | |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
6833 | |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
6834 | |
s,@CYGPATH_W@,$CYGPATH_W,;t t
|
6835 | |
s,@PACKAGE@,$PACKAGE,;t t
|
6836 | |
s,@VERSION@,$VERSION,;t t
|
6837 | |
s,@ACLOCAL@,$ACLOCAL,;t t
|
6838 | |
s,@AUTOCONF@,$AUTOCONF,;t t
|
6839 | |
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
6840 | |
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
6841 | |
s,@MAKEINFO@,$MAKEINFO,;t t
|
6842 | |
s,@install_sh@,$install_sh,;t t
|
6843 | |
s,@STRIP@,$STRIP,;t t
|
6844 | |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
6845 | |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
6846 | |
s,@mkdir_p@,$mkdir_p,;t t
|
6847 | |
s,@AWK@,$AWK,;t t
|
6848 | |
s,@SET_MAKE@,$SET_MAKE,;t t
|
6849 | |
s,@am__leading_dot@,$am__leading_dot,;t t
|
6850 | |
s,@AMTAR@,$AMTAR,;t t
|
6851 | |
s,@am__tar@,$am__tar,;t t
|
6852 | |
s,@am__untar@,$am__untar,;t t
|
6853 | |
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
|
6854 | |
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
|
6855 | |
s,@MAINT@,$MAINT,;t t
|
6856 | |
s,@CC@,$CC,;t t
|
6857 | |
s,@CFLAGS@,$CFLAGS,;t t
|
6858 | |
s,@LDFLAGS@,$LDFLAGS,;t t
|
6859 | |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
6860 | |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
6861 | |
s,@EXEEXT@,$EXEEXT,;t t
|
6862 | |
s,@OBJEXT@,$OBJEXT,;t t
|
6863 | |
s,@DEPDIR@,$DEPDIR,;t t
|
6864 | |
s,@am__include@,$am__include,;t t
|
6865 | |
s,@am__quote@,$am__quote,;t t
|
6866 | |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
6867 | |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
6868 | |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
6869 | |
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
6870 | |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
|
6871 | |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
6872 | |
s,@CPP@,$CPP,;t t
|
6873 | |
s,@EGREP@,$EGREP,;t t
|
6874 | |
s,@H5TOPNG_MAN@,$H5TOPNG_MAN,;t t
|
6875 | |
s,@PNG_LIBS@,$PNG_LIBS,;t t
|
6876 | |
s,@H4TOH5@,$H4TOH5,;t t
|
6877 | |
s,@H5TOH4@,$H5TOH4,;t t
|
6878 | |
s,@H4_LIBS@,$H4_LIBS,;t t
|
6879 | |
s,@MKOCTFILE@,$MKOCTFILE,;t t
|
6880 | |
s,@OCTAVE@,$OCTAVE,;t t
|
6881 | |
s,@H5READ@,$H5READ,;t t
|
6882 | |
s,@OCT_INSTALL_DIR@,$OCT_INSTALL_DIR,;t t
|
6883 | |
s,@V5D_FILES@,$V5D_FILES,;t t
|
6884 | |
s,@V5D_INCLUDES@,$V5D_INCLUDES,;t t
|
6885 | |
s,@datadir_val@,$datadir_val,;t t
|
6886 | |
s,@MORE_H5UTILS@,$MORE_H5UTILS,;t t
|
6887 | |
s,@MORE_H5UTILS_MANS@,$MORE_H5UTILS_MANS,;t t
|
6888 | |
s,@LIBOBJS@,$LIBOBJS,;t t
|
6889 | |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
6890 | |
CEOF
|
6891 | |
|
6892 | |
_ACEOF
|
6893 | |
|
6894 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6895 | |
# Split the substitutions into bite-sized pieces for seds with
|
6896 | |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
6897 | |
ac_max_sed_lines=48
|
6898 | |
ac_sed_frag=1 # Number of current file.
|
6899 | |
ac_beg=1 # First line for current file.
|
6900 | |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
6901 | |
ac_more_lines=:
|
6902 | |
ac_sed_cmds=
|
6903 | |
while $ac_more_lines; do
|
6904 | |
if test $ac_beg -gt 1; then
|
6905 | |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
6906 | |
else
|
6907 | |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
7707 |
# Set up the scripts for CONFIG_FILES section.
|
|
7708 |
# No need to generate them if there are no CONFIG_FILES.
|
|
7709 |
# This happens for instance with `./config.status config.h'.
|
|
7710 |
if test -n "$CONFIG_FILES"; then
|
|
7711 |
|
|
7712 |
|
|
7713 |
ac_cr='
⏎
|
|
7714 |
'
|
|
7715 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
7716 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
7717 |
ac_cs_awk_cr='\\r'
|
|
7718 |
else
|
|
7719 |
ac_cs_awk_cr=$ac_cr
|
|
7720 |
fi
|
|
7721 |
|
|
7722 |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
7723 |
_ACEOF
|
|
7724 |
|
|
7725 |
|
|
7726 |
{
|
|
7727 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
7728 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
7729 |
echo "_ACEOF"
|
|
7730 |
} >conf$$subs.sh ||
|
|
7731 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
7732 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
7733 |
{ (exit 1); exit 1; }; }
|
|
7734 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
7735 |
ac_delim='%!_!# '
|
|
7736 |
for ac_last_try in false false false false false :; do
|
|
7737 |
. ./conf$$subs.sh ||
|
|
7738 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
7739 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
7740 |
{ (exit 1); exit 1; }; }
|
|
7741 |
|
|
7742 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
7743 |
if test $ac_delim_n = $ac_delim_num; then
|
|
7744 |
break
|
|
7745 |
elif $ac_last_try; then
|
|
7746 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
7747 |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
7748 |
{ (exit 1); exit 1; }; }
|
|
7749 |
else
|
|
7750 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
7751 |
fi
|
|
7752 |
done
|
|
7753 |
rm -f conf$$subs.sh
|
|
7754 |
|
|
7755 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7756 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
7757 |
_ACEOF
|
|
7758 |
sed -n '
|
|
7759 |
h
|
|
7760 |
s/^/S["/; s/!.*/"]=/
|
|
7761 |
p
|
|
7762 |
g
|
|
7763 |
s/^[^!]*!//
|
|
7764 |
:repl
|
|
7765 |
t repl
|
|
7766 |
s/'"$ac_delim"'$//
|
|
7767 |
t delim
|
|
7768 |
:nl
|
|
7769 |
h
|
|
7770 |
s/\(.\{148\}\).*/\1/
|
|
7771 |
t more1
|
|
7772 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
7773 |
p
|
|
7774 |
n
|
|
7775 |
b repl
|
|
7776 |
:more1
|
|
7777 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7778 |
p
|
|
7779 |
g
|
|
7780 |
s/.\{148\}//
|
|
7781 |
t nl
|
|
7782 |
:delim
|
|
7783 |
h
|
|
7784 |
s/\(.\{148\}\).*/\1/
|
|
7785 |
t more2
|
|
7786 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
7787 |
p
|
|
7788 |
b
|
|
7789 |
:more2
|
|
7790 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7791 |
p
|
|
7792 |
g
|
|
7793 |
s/.\{148\}//
|
|
7794 |
t delim
|
|
7795 |
' <conf$$subs.awk | sed '
|
|
7796 |
/^[^""]/{
|
|
7797 |
N
|
|
7798 |
s/\n//
|
|
7799 |
}
|
|
7800 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
7801 |
rm -f conf$$subs.awk
|
|
7802 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7803 |
_ACAWK
|
|
7804 |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
7805 |
for (key in S) S_is_set[key] = 1
|
|
7806 |
FS = ""
|
|
7807 |
|
|
7808 |
}
|
|
7809 |
{
|
|
7810 |
line = $ 0
|
|
7811 |
nfields = split(line, field, "@")
|
|
7812 |
substed = 0
|
|
7813 |
len = length(field[1])
|
|
7814 |
for (i = 2; i < nfields; i++) {
|
|
7815 |
key = field[i]
|
|
7816 |
keylen = length(key)
|
|
7817 |
if (S_is_set[key]) {
|
|
7818 |
value = S[key]
|
|
7819 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
7820 |
len += length(value) + length(field[++i])
|
|
7821 |
substed = 1
|
|
7822 |
} else
|
|
7823 |
len += 1 + keylen
|
|
7824 |
}
|
|
7825 |
|
|
7826 |
print line
|
|
7827 |
}
|
|
7828 |
|
|
7829 |
_ACAWK
|
|
7830 |
_ACEOF
|
|
7831 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7832 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
7833 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
7834 |
else
|
|
7835 |
cat
|
|
7836 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
|
7837 |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
|
7838 |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
|
7839 |
{ (exit 1); exit 1; }; }
|
|
7840 |
_ACEOF
|
|
7841 |
|
|
7842 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
7843 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
7844 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
7845 |
# (actually we leave an empty line to preserve line numbers).
|
|
7846 |
if test "x$srcdir" = x.; then
|
|
7847 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
7848 |
s/:*\$(srcdir):*/:/
|
|
7849 |
s/:*\${srcdir}:*/:/
|
|
7850 |
s/:*@srcdir@:*/:/
|
|
7851 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
7852 |
s/:*$//
|
|
7853 |
s/^[^=]*=[ ]*$//
|
|
7854 |
}'
|
|
7855 |
fi
|
|
7856 |
|
|
7857 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7858 |
fi # test -n "$CONFIG_FILES"
|
|
7859 |
|
|
7860 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
7861 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
7862 |
# This happens for instance with `./config.status Makefile'.
|
|
7863 |
if test -n "$CONFIG_HEADERS"; then
|
|
7864 |
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
|
7865 |
BEGIN {
|
|
7866 |
_ACEOF
|
|
7867 |
|
|
7868 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
7869 |
# here-document in config.status, that substitutes the proper values into
|
|
7870 |
# config.h.in to produce config.h.
|
|
7871 |
|
|
7872 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
7873 |
# handling of long lines.
|
|
7874 |
ac_delim='%!_!# '
|
|
7875 |
for ac_last_try in false false :; do
|
|
7876 |
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
|
7877 |
if test -z "$ac_t"; then
|
|
7878 |
break
|
|
7879 |
elif $ac_last_try; then
|
|
7880 |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
|
7881 |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
|
7882 |
{ (exit 1); exit 1; }; }
|
|
7883 |
else
|
|
7884 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
7885 |
fi
|
|
7886 |
done
|
|
7887 |
|
|
7888 |
# For the awk script, D is an array of macro values keyed by name,
|
|
7889 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
7890 |
# newline sequences.
|
|
7891 |
|
|
7892 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
7893 |
sed -n '
|
|
7894 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
7895 |
t rset
|
|
7896 |
:rset
|
|
7897 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
7898 |
t def
|
|
7899 |
d
|
|
7900 |
:def
|
|
7901 |
s/\\$//
|
|
7902 |
t bsnl
|
|
7903 |
s/["\\]/\\&/g
|
|
7904 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
7905 |
D["\1"]=" \3"/p
|
|
7906 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
7907 |
d
|
|
7908 |
:bsnl
|
|
7909 |
s/["\\]/\\&/g
|
|
7910 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
7911 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
7912 |
t cont
|
|
7913 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
7914 |
t cont
|
|
7915 |
d
|
|
7916 |
:cont
|
|
7917 |
n
|
|
7918 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
7919 |
t clear
|
|
7920 |
:clear
|
|
7921 |
s/\\$//
|
|
7922 |
t bsnlc
|
|
7923 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
7924 |
d
|
|
7925 |
:bsnlc
|
|
7926 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
7927 |
b cont
|
|
7928 |
' <confdefs.h | sed '
|
|
7929 |
s/'"$ac_delim"'/"\\\
|
|
7930 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
7931 |
|
|
7932 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7933 |
for (key in D) D_is_set[key] = 1
|
|
7934 |
FS = ""
|
|
7935 |
}
|
|
7936 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
7937 |
line = \$ 0
|
|
7938 |
split(line, arg, " ")
|
|
7939 |
if (arg[1] == "#") {
|
|
7940 |
defundef = arg[2]
|
|
7941 |
mac1 = arg[3]
|
|
7942 |
} else {
|
|
7943 |
defundef = substr(arg[1], 2)
|
|
7944 |
mac1 = arg[2]
|
|
7945 |
}
|
|
7946 |
split(mac1, mac2, "(") #)
|
|
7947 |
macro = mac2[1]
|
|
7948 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
7949 |
if (D_is_set[macro]) {
|
|
7950 |
# Preserve the white space surrounding the "#".
|
|
7951 |
print prefix "define", macro P[macro] D[macro]
|
|
7952 |
next
|
|
7953 |
} else {
|
|
7954 |
# Replace #undef with comments. This is necessary, for example,
|
|
7955 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
7956 |
# on some systems where configure will not decide to define it.
|
|
7957 |
if (defundef == "undef") {
|
|
7958 |
print "/*", prefix defundef, macro, "*/"
|
|
7959 |
next
|
|
7960 |
}
|
|
7961 |
}
|
|
7962 |
}
|
|
7963 |
{ print }
|
|
7964 |
_ACAWK
|
|
7965 |
_ACEOF
|
|
7966 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7967 |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
|
7968 |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
|
7969 |
{ (exit 1); exit 1; }; }
|
|
7970 |
fi # test -n "$CONFIG_HEADERS"
|
|
7971 |
|
|
7972 |
|
|
7973 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
7974 |
shift
|
|
7975 |
for ac_tag
|
|
7976 |
do
|
|
7977 |
case $ac_tag in
|
|
7978 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
7979 |
esac
|
|
7980 |
case $ac_mode$ac_tag in
|
|
7981 |
:[FHL]*:*);;
|
|
7982 |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
|
7983 |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
|
7984 |
{ (exit 1); exit 1; }; };;
|
|
7985 |
:[FH]-) ac_tag=-:-;;
|
|
7986 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
7987 |
esac
|
|
7988 |
ac_save_IFS=$IFS
|
|
7989 |
IFS=:
|
|
7990 |
set x $ac_tag
|
|
7991 |
IFS=$ac_save_IFS
|
|
7992 |
shift
|
|
7993 |
ac_file=$1
|
|
7994 |
shift
|
|
7995 |
|
|
7996 |
case $ac_mode in
|
|
7997 |
:L) ac_source=$1;;
|
|
7998 |
:[FH])
|
|
7999 |
ac_file_inputs=
|
|
8000 |
for ac_f
|
|
8001 |
do
|
|
8002 |
case $ac_f in
|
|
8003 |
-) ac_f="$tmp/stdin";;
|
|
8004 |
*) # Look for the file first in the build tree, then in the source tree
|
|
8005 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
8006 |
# because $ac_f cannot contain `:'.
|
|
8007 |
test -f "$ac_f" ||
|
|
8008 |
case $ac_f in
|
|
8009 |
[\\/$]*) false;;
|
|
8010 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
8011 |
esac ||
|
|
8012 |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
8013 |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
8014 |
{ (exit 1); exit 1; }; };;
|
|
8015 |
esac
|
|
8016 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
8017 |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
8018 |
done
|
|
8019 |
|
|
8020 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
8021 |
# use $as_me), people would be surprised to read:
|
|
8022 |
# /* config.h. Generated by config.status. */
|
|
8023 |
configure_input='Generated from '`
|
|
8024 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
8025 |
`' by configure.'
|
|
8026 |
if test x"$ac_file" != x-; then
|
|
8027 |
configure_input="$ac_file. $configure_input"
|
|
8028 |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
8029 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
6908 | 8030 |
fi
|
6909 | |
if test ! -s $tmp/subs.frag; then
|
6910 | |
ac_more_lines=false
|
6911 | |
else
|
6912 | |
# The purpose of the label and of the branching condition is to
|
6913 | |
# speed up the sed processing (if there are no `@' at all, there
|
6914 | |
# is no need to browse any of the substitutions).
|
6915 | |
# These are the two extra sed commands mentioned above.
|
6916 | |
(echo ':t
|
6917 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
6918 | |
if test -z "$ac_sed_cmds"; then
|
6919 | |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
6920 | |
else
|
6921 | |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
6922 | |
fi
|
6923 | |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
6924 | |
ac_beg=$ac_end
|
6925 | |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
6926 | |
fi
|
6927 | |
done
|
6928 | |
if test -z "$ac_sed_cmds"; then
|
6929 | |
ac_sed_cmds=cat
|
6930 | |
fi
|
6931 | |
fi # test -n "$CONFIG_FILES"
|
6932 | |
|
6933 | |
_ACEOF
|
6934 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6935 | |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
6936 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
6937 | |
case $ac_file in
|
6938 | |
- | *:- | *:-:* ) # input from stdin
|
6939 | |
cat >$tmp/stdin
|
6940 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
6941 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
6942 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
6943 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
6944 | |
* ) ac_file_in=$ac_file.in ;;
|
|
8031 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
8032 |
case $configure_input in #(
|
|
8033 |
*\&* | *\|* | *\\* )
|
|
8034 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
8035 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
8036 |
*) ac_sed_conf_input=$configure_input;;
|
|
8037 |
esac
|
|
8038 |
|
|
8039 |
case $ac_tag in
|
|
8040 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
|
8041 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
8042 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
8043 |
{ (exit 1); exit 1; }; } ;;
|
|
8044 |
esac
|
|
8045 |
;;
|
6945 | 8046 |
esac
|
6946 | 8047 |
|
6947 | |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
6948 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
8048 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
6949 | 8049 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6950 | 8050 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6951 | 8051 |
X"$ac_file" : 'X\(//\)$' \| \
|
6952 | |
X"$ac_file" : 'X\(/\)' \| \
|
6953 | |
. : '\(.\)' 2>/dev/null ||
|
6954 | |
echo X"$ac_file" |
|
6955 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6956 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6957 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
6958 | |
/^X\(\/\).*/{ s//\1/; q; }
|
6959 | |
s/.*/./; q'`
|
6960 | |
{ if $as_mkdir_p; then
|
6961 | |
mkdir -p "$ac_dir"
|
6962 | |
else
|
6963 | |
as_dir="$ac_dir"
|
|
8052 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8053 |
$as_echo X"$ac_file" |
|
|
8054 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8055 |
s//\1/
|
|
8056 |
q
|
|
8057 |
}
|
|
8058 |
/^X\(\/\/\)[^/].*/{
|
|
8059 |
s//\1/
|
|
8060 |
q
|
|
8061 |
}
|
|
8062 |
/^X\(\/\/\)$/{
|
|
8063 |
s//\1/
|
|
8064 |
q
|
|
8065 |
}
|
|
8066 |
/^X\(\/\).*/{
|
|
8067 |
s//\1/
|
|
8068 |
q
|
|
8069 |
}
|
|
8070 |
s/.*/./; q'`
|
|
8071 |
{ as_dir="$ac_dir"
|
|
8072 |
case $as_dir in #(
|
|
8073 |
-*) as_dir=./$as_dir;;
|
|
8074 |
esac
|
|
8075 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6964 | 8076 |
as_dirs=
|
6965 | |
while test ! -d "$as_dir"; do
|
6966 | |
as_dirs="$as_dir $as_dirs"
|
6967 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
8077 |
while :; do
|
|
8078 |
case $as_dir in #(
|
|
8079 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
8080 |
*) as_qdir=$as_dir;;
|
|
8081 |
esac
|
|
8082 |
as_dirs="'$as_qdir' $as_dirs"
|
|
8083 |
as_dir=`$as_dirname -- "$as_dir" ||
|
6968 | 8084 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6969 | 8085 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6970 | 8086 |
X"$as_dir" : 'X\(//\)$' \| \
|
6971 | |
X"$as_dir" : 'X\(/\)' \| \
|
6972 | |
. : '\(.\)' 2>/dev/null ||
|
6973 | |
echo X"$as_dir" |
|
6974 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
6975 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
6976 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
6977 | |
/^X\(\/\).*/{ s//\1/; q; }
|
6978 | |
s/.*/./; q'`
|
|
8087 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8088 |
$as_echo X"$as_dir" |
|
|
8089 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8090 |
s//\1/
|
|
8091 |
q
|
|
8092 |
}
|
|
8093 |
/^X\(\/\/\)[^/].*/{
|
|
8094 |
s//\1/
|
|
8095 |
q
|
|
8096 |
}
|
|
8097 |
/^X\(\/\/\)$/{
|
|
8098 |
s//\1/
|
|
8099 |
q
|
|
8100 |
}
|
|
8101 |
/^X\(\/\).*/{
|
|
8102 |
s//\1/
|
|
8103 |
q
|
|
8104 |
}
|
|
8105 |
s/.*/./; q'`
|
|
8106 |
test -d "$as_dir" && break
|
6979 | 8107 |
done
|
6980 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
6981 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
6982 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
8108 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
8109 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
8110 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6983 | 8111 |
{ (exit 1); exit 1; }; }; }
|
6984 | |
|
6985 | 8112 |
ac_builddir=.
|
6986 | 8113 |
|
6987 | |
if test "$ac_dir" != .; then
|
6988 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
6989 | |
# A "../" for each directory in $ac_dir_suffix.
|
6990 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
6991 | |
else
|
6992 | |
ac_dir_suffix= ac_top_builddir=
|
6993 | |
fi
|
|
8114 |
case "$ac_dir" in
|
|
8115 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
8116 |
*)
|
|
8117 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
8118 |
# A ".." for each directory in $ac_dir_suffix.
|
|
8119 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
8120 |
case $ac_top_builddir_sub in
|
|
8121 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
8122 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
8123 |
esac ;;
|
|
8124 |
esac
|
|
8125 |
ac_abs_top_builddir=$ac_pwd
|
|
8126 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
8127 |
# for backward compatibility:
|
|
8128 |
ac_top_builddir=$ac_top_build_prefix
|
6994 | 8129 |
|
6995 | 8130 |
case $srcdir in
|
6996 | |
.) # No --srcdir option. We are building in place.
|
|
8131 |
.) # We are building in place.
|
6997 | 8132 |
ac_srcdir=.
|
6998 | |
if test -z "$ac_top_builddir"; then
|
6999 | |
ac_top_srcdir=.
|
7000 | |
else
|
7001 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
7002 | |
fi ;;
|
7003 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
8133 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
8134 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
8135 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
7004 | 8136 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
7005 | |
ac_top_srcdir=$srcdir ;;
|
7006 | |
*) # Relative path.
|
7007 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
7008 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
7009 | |
esac
|
7010 | |
|
7011 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
7012 | |
# the directories may not exist.
|
7013 | |
case `pwd` in
|
7014 | |
.) ac_abs_builddir="$ac_dir";;
|
7015 | |
*)
|
7016 | |
case "$ac_dir" in
|
7017 | |
.) ac_abs_builddir=`pwd`;;
|
7018 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
7019 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
7020 | |
esac;;
|
7021 | |
esac
|
7022 | |
case $ac_abs_builddir in
|
7023 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
7024 | |
*)
|
7025 | |
case ${ac_top_builddir}. in
|
7026 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
7027 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
7028 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
7029 | |
esac;;
|
7030 | |
esac
|
7031 | |
case $ac_abs_builddir in
|
7032 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
7033 | |
*)
|
7034 | |
case $ac_srcdir in
|
7035 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
7036 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
7037 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
7038 | |
esac;;
|
7039 | |
esac
|
7040 | |
case $ac_abs_builddir in
|
7041 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
7042 | |
*)
|
7043 | |
case $ac_top_srcdir in
|
7044 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
7045 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
7046 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
7047 | |
esac;;
|
7048 | |
esac
|
7049 | |
|
|
8137 |
ac_top_srcdir=$srcdir
|
|
8138 |
ac_abs_top_srcdir=$srcdir ;;
|
|
8139 |
*) # Relative name.
|
|
8140 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
8141 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
8142 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
8143 |
esac
|
|
8144 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
8145 |
|
|
8146 |
|
|
8147 |
case $ac_mode in
|
|
8148 |
:F)
|
|
8149 |
#
|
|
8150 |
# CONFIG_FILE
|
|
8151 |
#
|
7050 | 8152 |
|
7051 | 8153 |
case $INSTALL in
|
7052 | 8154 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
7053 | |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
8155 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
7054 | 8156 |
esac
|
7055 | |
|
7056 | |
if test x"$ac_file" != x-; then
|
7057 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
7058 | |
echo "$as_me: creating $ac_file" >&6;}
|
7059 | |
rm -f "$ac_file"
|
7060 | |
fi
|
7061 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
7062 | |
# use $as_me), people would be surprised to read:
|
7063 | |
# /* config.h. Generated by config.status. */
|
7064 | |
if test x"$ac_file" = x-; then
|
7065 | |
configure_input=
|
7066 | |
else
|
7067 | |
configure_input="$ac_file. "
|
7068 | |
fi
|
7069 | |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
7070 | |
sed 's,.*/,,'` by configure."
|
7071 | |
|
7072 | |
# First look for the input files in the build tree, otherwise in the
|
7073 | |
# src tree.
|
7074 | |
ac_file_inputs=`IFS=:
|
7075 | |
for f in $ac_file_in; do
|
7076 | |
case $f in
|
7077 | |
-) echo $tmp/stdin ;;
|
7078 | |
[\\/$]*)
|
7079 | |
# Absolute (can't be DOS-style, as IFS=:)
|
7080 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
7081 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
7082 | |
{ (exit 1); exit 1; }; }
|
7083 | |
echo "$f";;
|
7084 | |
*) # Relative
|
7085 | |
if test -f "$f"; then
|
7086 | |
# Build tree
|
7087 | |
echo "$f"
|
7088 | |
elif test -f "$srcdir/$f"; then
|
7089 | |
# Source tree
|
7090 | |
echo "$srcdir/$f"
|
7091 | |
else
|
7092 | |
# /dev/null tree
|
7093 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
7094 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
7095 | |
{ (exit 1); exit 1; }; }
|
7096 | |
fi;;
|
7097 | |
esac
|
7098 | |
done` || { (exit 1); exit 1; }
|
7099 | |
_ACEOF
|
7100 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
7101 | |
sed "$ac_vpsub
|
|
8157 |
ac_MKDIR_P=$MKDIR_P
|
|
8158 |
case $MKDIR_P in
|
|
8159 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
8160 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
8161 |
esac
|
|
8162 |
_ACEOF
|
|
8163 |
|
|
8164 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
8165 |
# If the template does not know about datarootdir, expand it.
|
|
8166 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
8167 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
8168 |
|
|
8169 |
ac_sed_dataroot='
|
|
8170 |
/datarootdir/ {
|
|
8171 |
p
|
|
8172 |
q
|
|
8173 |
}
|
|
8174 |
/@datadir@/p
|
|
8175 |
/@docdir@/p
|
|
8176 |
/@infodir@/p
|
|
8177 |
/@localedir@/p
|
|
8178 |
/@mandir@/p
|
|
8179 |
'
|
|
8180 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
|
8181 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
8182 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
8183 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
8184 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
8185 |
_ACEOF
|
|
8186 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
8187 |
ac_datarootdir_hack='
|
|
8188 |
s&@datadir@&$datadir&g
|
|
8189 |
s&@docdir@&$docdir&g
|
|
8190 |
s&@infodir@&$infodir&g
|
|
8191 |
s&@localedir@&$localedir&g
|
|
8192 |
s&@mandir@&$mandir&g
|
|
8193 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
8194 |
esac
|
|
8195 |
_ACEOF
|
|
8196 |
|
|
8197 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
8198 |
# Shell code in configure.ac might set extrasub.
|
|
8199 |
# FIXME: do we really want to maintain this feature?
|
|
8200 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
8201 |
ac_sed_extra="$ac_vpsub
|
7102 | 8202 |
$extrasub
|
7103 | 8203 |
_ACEOF
|
7104 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
8204 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7105 | 8205 |
:t
|
7106 | 8206 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
7107 | |
s,@configure_input@,$configure_input,;t t
|
7108 | |
s,@srcdir@,$ac_srcdir,;t t
|
7109 | |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
7110 | |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
7111 | |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
7112 | |
s,@builddir@,$ac_builddir,;t t
|
7113 | |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
7114 | |
s,@top_builddir@,$ac_top_builddir,;t t
|
7115 | |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
7116 | |
s,@INSTALL@,$ac_INSTALL,;t t
|
7117 | |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
7118 | |
rm -f $tmp/stdin
|
|
8207 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
|
8208 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
8209 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
|
8210 |
s&@srcdir@&$ac_srcdir&;t t
|
|
8211 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
8212 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
8213 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
8214 |
s&@builddir@&$ac_builddir&;t t
|
|
8215 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
8216 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
8217 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
8218 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
8219 |
$ac_datarootdir_hack
|
|
8220 |
"
|
|
8221 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
|
8222 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
8223 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
8224 |
{ (exit 1); exit 1; }; }
|
|
8225 |
|
|
8226 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
8227 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
8228 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
8229 |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
8230 |
which seems to be undefined. Please make sure it is defined." >&5
|
|
8231 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
8232 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
8233 |
|
|
8234 |
rm -f "$tmp/stdin"
|
|
8235 |
case $ac_file in
|
|
8236 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
|
8237 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
8238 |
esac \
|
|
8239 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
8240 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
|
8241 |
{ (exit 1); exit 1; }; }
|
|
8242 |
;;
|
|
8243 |
:H)
|
|
8244 |
#
|
|
8245 |
# CONFIG_HEADER
|
|
8246 |
#
|
7119 | 8247 |
if test x"$ac_file" != x-; then
|
7120 | |
mv $tmp/out $ac_file
|
7121 | |
else
|
7122 | |
cat $tmp/out
|
7123 | |
rm -f $tmp/out
|
7124 | |
fi
|
7125 | |
|
7126 | |
done
|
7127 | |
_ACEOF
|
7128 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
7129 | |
|
7130 | |
#
|
7131 | |
# CONFIG_HEADER section.
|
7132 | |
#
|
7133 | |
|
7134 | |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
7135 | |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
7136 | |
#
|
7137 | |
# ac_d sets the value in "#define NAME VALUE" lines.
|
7138 | |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
7139 | |
ac_dB='[ ].*$,\1#\2'
|
7140 | |
ac_dC=' '
|
7141 | |
ac_dD=',;t'
|
7142 | |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
7143 | |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
7144 | |
ac_uB='$,\1#\2define\3'
|
7145 | |
ac_uC=' '
|
7146 | |
ac_uD=',;t'
|
7147 | |
|
7148 | |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
7149 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
7150 | |
case $ac_file in
|
7151 | |
- | *:- | *:-:* ) # input from stdin
|
7152 | |
cat >$tmp/stdin
|
7153 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
7154 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
7155 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
7156 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
7157 | |
* ) ac_file_in=$ac_file.in ;;
|
7158 | |
esac
|
7159 | |
|
7160 | |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
7161 | |
echo "$as_me: creating $ac_file" >&6;}
|
7162 | |
|
7163 | |
# First look for the input files in the build tree, otherwise in the
|
7164 | |
# src tree.
|
7165 | |
ac_file_inputs=`IFS=:
|
7166 | |
for f in $ac_file_in; do
|
7167 | |
case $f in
|
7168 | |
-) echo $tmp/stdin ;;
|
7169 | |
[\\/$]*)
|
7170 | |
# Absolute (can't be DOS-style, as IFS=:)
|
7171 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
7172 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
8248 |
{
|
|
8249 |
$as_echo "/* $configure_input */" \
|
|
8250 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
|
8251 |
} >"$tmp/config.h" \
|
|
8252 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
8253 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7173 | 8254 |
{ (exit 1); exit 1; }; }
|
7174 | |
# Do quote $f, to prevent DOS paths from being IFS'd.
|
7175 | |
echo "$f";;
|
7176 | |
*) # Relative
|
7177 | |
if test -f "$f"; then
|
7178 | |
# Build tree
|
7179 | |
echo "$f"
|
7180 | |
elif test -f "$srcdir/$f"; then
|
7181 | |
# Source tree
|
7182 | |
echo "$srcdir/$f"
|
7183 | |
else
|
7184 | |
# /dev/null tree
|
7185 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
7186 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
|
8255 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
|
8256 |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
8257 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
|
8258 |
else
|
|
8259 |
rm -f "$ac_file"
|
|
8260 |
mv "$tmp/config.h" "$ac_file" \
|
|
8261 |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
|
8262 |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
7187 | 8263 |
{ (exit 1); exit 1; }; }
|
7188 | |
fi;;
|
7189 | |
esac
|
7190 | |
done` || { (exit 1); exit 1; }
|
7191 | |
# Remove the trailing spaces.
|
7192 | |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
7193 | |
|
7194 | |
_ACEOF
|
7195 | |
|
7196 | |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
7197 | |
# `conftest.undefs', that substitutes the proper values into
|
7198 | |
# config.h.in to produce config.h. The first handles `#define'
|
7199 | |
# templates, and the second `#undef' templates.
|
7200 | |
# And first: Protect against being on the right side of a sed subst in
|
7201 | |
# config.status. Protect against being in an unquoted here document
|
7202 | |
# in config.status.
|
7203 | |
rm -f conftest.defines conftest.undefs
|
7204 | |
# Using a here document instead of a string reduces the quoting nightmare.
|
7205 | |
# Putting comments in sed scripts is not portable.
|
7206 | |
#
|
7207 | |
# `end' is used to avoid that the second main sed command (meant for
|
7208 | |
# 0-ary CPP macros) applies to n-ary macro definitions.
|
7209 | |
# See the Autoconf documentation for `clear'.
|
7210 | |
cat >confdef2sed.sed <<\_ACEOF
|
7211 | |
s/[\\&,]/\\&/g
|
7212 | |
s,[\\$`],\\&,g
|
7213 | |
t clear
|
7214 | |
: clear
|
7215 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
7216 | |
t end
|
7217 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
7218 | |
: end
|
7219 | |
_ACEOF
|
7220 | |
# If some macros were called several times there might be several times
|
7221 | |
# the same #defines, which is useless. Nevertheless, we may not want to
|
7222 | |
# sort them, since we want the *last* AC-DEFINE to be honored.
|
7223 | |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
7224 | |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
7225 | |
rm -f confdef2sed.sed
|
7226 | |
|
7227 | |
# This sed command replaces #undef with comments. This is necessary, for
|
7228 | |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
7229 | |
# on some systems where configure will not decide to define it.
|
7230 | |
cat >>conftest.undefs <<\_ACEOF
|
7231 | |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
7232 | |
_ACEOF
|
7233 | |
|
7234 | |
# Break up conftest.defines because some shells have a limit on the size
|
7235 | |
# of here documents, and old seds have small limits too (100 cmds).
|
7236 | |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
7237 | |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
7238 | |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
7239 | |
echo ' :' >>$CONFIG_STATUS
|
7240 | |
rm -f conftest.tail
|
7241 | |
while grep . conftest.defines >/dev/null
|
7242 | |
do
|
7243 | |
# Write a limited-size here document to $tmp/defines.sed.
|
7244 | |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
7245 | |
# Speed up: don't consider the non `#define' lines.
|
7246 | |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
7247 | |
# Work around the forget-to-reset-the-flag bug.
|
7248 | |
echo 't clr' >>$CONFIG_STATUS
|
7249 | |
echo ': clr' >>$CONFIG_STATUS
|
7250 | |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
7251 | |
echo 'CEOF
|
7252 | |
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
7253 | |
rm -f $tmp/in
|
7254 | |
mv $tmp/out $tmp/in
|
7255 | |
' >>$CONFIG_STATUS
|
7256 | |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
7257 | |
rm -f conftest.defines
|
7258 | |
mv conftest.tail conftest.defines
|
7259 | |
done
|
7260 | |
rm -f conftest.defines
|
7261 | |
echo ' fi # grep' >>$CONFIG_STATUS
|
7262 | |
echo >>$CONFIG_STATUS
|
7263 | |
|
7264 | |
# Break up conftest.undefs because some shells have a limit on the size
|
7265 | |
# of here documents, and old seds have small limits too (100 cmds).
|
7266 | |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
7267 | |
rm -f conftest.tail
|
7268 | |
while grep . conftest.undefs >/dev/null
|
7269 | |
do
|
7270 | |
# Write a limited-size here document to $tmp/undefs.sed.
|
7271 | |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
7272 | |
# Speed up: don't consider the non `#undef'
|
7273 | |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
7274 | |
# Work around the forget-to-reset-the-flag bug.
|
7275 | |
echo 't clr' >>$CONFIG_STATUS
|
7276 | |
echo ': clr' >>$CONFIG_STATUS
|
7277 | |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
7278 | |
echo 'CEOF
|
7279 | |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
7280 | |
rm -f $tmp/in
|
7281 | |
mv $tmp/out $tmp/in
|
7282 | |
' >>$CONFIG_STATUS
|
7283 | |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
7284 | |
rm -f conftest.undefs
|
7285 | |
mv conftest.tail conftest.undefs
|
7286 | |
done
|
7287 | |
rm -f conftest.undefs
|
7288 | |
|
7289 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
7290 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
7291 | |
# use $as_me), people would be surprised to read:
|
7292 | |
# /* config.h. Generated by config.status. */
|
7293 | |
if test x"$ac_file" = x-; then
|
7294 | |
echo "/* Generated by configure. */" >$tmp/config.h
|
7295 | |
else
|
7296 | |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
7297 | |
fi
|
7298 | |
cat $tmp/in >>$tmp/config.h
|
7299 | |
rm -f $tmp/in
|
7300 | |
if test x"$ac_file" != x-; then
|
7301 | |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
7302 | |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
7303 | |
echo "$as_me: $ac_file is unchanged" >&6;}
|
7304 | |
else
|
7305 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
7306 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7307 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
7308 | |
X"$ac_file" : 'X\(//\)$' \| \
|
7309 | |
X"$ac_file" : 'X\(/\)' \| \
|
7310 | |
. : '\(.\)' 2>/dev/null ||
|
7311 | |
echo X"$ac_file" |
|
7312 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7313 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7314 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7315 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7316 | |
s/.*/./; q'`
|
7317 | |
{ if $as_mkdir_p; then
|
7318 | |
mkdir -p "$ac_dir"
|
7319 | |
else
|
7320 | |
as_dir="$ac_dir"
|
7321 | |
as_dirs=
|
7322 | |
while test ! -d "$as_dir"; do
|
7323 | |
as_dirs="$as_dir $as_dirs"
|
7324 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
7325 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7326 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7327 | |
X"$as_dir" : 'X\(//\)$' \| \
|
7328 | |
X"$as_dir" : 'X\(/\)' \| \
|
7329 | |
. : '\(.\)' 2>/dev/null ||
|
7330 | |
echo X"$as_dir" |
|
7331 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7332 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7333 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7334 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7335 | |
s/.*/./; q'`
|
7336 | |
done
|
7337 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
7338 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
7339 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
7340 | |
{ (exit 1); exit 1; }; }; }
|
7341 | |
|
7342 | |
rm -f $ac_file
|
7343 | |
mv $tmp/config.h $ac_file
|
7344 | 8264 |
fi
|
7345 | 8265 |
else
|
7346 | |
cat $tmp/config.h
|
7347 | |
rm -f $tmp/config.h
|
|
8266 |
$as_echo "/* $configure_input */" \
|
|
8267 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
|
8268 |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
|
8269 |
$as_echo "$as_me: error: could not create -" >&2;}
|
|
8270 |
{ (exit 1); exit 1; }; }
|
7348 | 8271 |
fi
|
7349 | |
# Compute $ac_file's index in $config_headers.
|
|
8272 |
# Compute "$ac_file"'s index in $config_headers.
|
|
8273 |
_am_arg="$ac_file"
|
7350 | 8274 |
_am_stamp_count=1
|
7351 | 8275 |
for _am_header in $config_headers :; do
|
7352 | 8276 |
case $_am_header in
|
7353 | |
$ac_file | $ac_file:* )
|
|
8277 |
$_am_arg | $_am_arg:* )
|
7354 | 8278 |
break ;;
|
7355 | 8279 |
* )
|
7356 | 8280 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
7357 | 8281 |
esac
|
7358 | 8282 |
done
|
7359 | |
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
|
7360 | |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7361 | |
X$ac_file : 'X\(//\)[^/]' \| \
|
7362 | |
X$ac_file : 'X\(//\)$' \| \
|
7363 | |
X$ac_file : 'X\(/\)' \| \
|
7364 | |
. : '\(.\)' 2>/dev/null ||
|
7365 | |
echo X$ac_file |
|
7366 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7367 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7368 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7369 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7370 | |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
7371 | |
done
|
7372 | |
_ACEOF
|
7373 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
7374 | |
|
7375 | |
#
|
7376 | |
# CONFIG_COMMANDS section.
|
7377 | |
#
|
7378 | |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
7379 | |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
7380 | |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
7381 | |
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
7382 | |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7383 | |
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
7384 | |
X"$ac_dest" : 'X\(//\)$' \| \
|
7385 | |
X"$ac_dest" : 'X\(/\)' \| \
|
7386 | |
. : '\(.\)' 2>/dev/null ||
|
7387 | |
echo X"$ac_dest" |
|
7388 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7389 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7390 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7391 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7392 | |
s/.*/./; q'`
|
7393 | |
{ if $as_mkdir_p; then
|
7394 | |
mkdir -p "$ac_dir"
|
7395 | |
else
|
7396 | |
as_dir="$ac_dir"
|
|
8283 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
8284 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8285 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
8286 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
8287 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8288 |
$as_echo X"$_am_arg" |
|
|
8289 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8290 |
s//\1/
|
|
8291 |
q
|
|
8292 |
}
|
|
8293 |
/^X\(\/\/\)[^/].*/{
|
|
8294 |
s//\1/
|
|
8295 |
q
|
|
8296 |
}
|
|
8297 |
/^X\(\/\/\)$/{
|
|
8298 |
s//\1/
|
|
8299 |
q
|
|
8300 |
}
|
|
8301 |
/^X\(\/\).*/{
|
|
8302 |
s//\1/
|
|
8303 |
q
|
|
8304 |
}
|
|
8305 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
|
8306 |
;;
|
|
8307 |
|
|
8308 |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
8309 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
8310 |
;;
|
|
8311 |
esac
|
|
8312 |
|
|
8313 |
|
|
8314 |
case $ac_file$ac_mode in
|
|
8315 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
8316 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
8317 |
# are listed without --file. Let's play safe and only enable the eval
|
|
8318 |
# if we detect the quoting.
|
|
8319 |
case $CONFIG_FILES in
|
|
8320 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
8321 |
*) set x $CONFIG_FILES ;;
|
|
8322 |
esac
|
|
8323 |
shift
|
|
8324 |
for mf
|
|
8325 |
do
|
|
8326 |
# Strip MF so we end up with the name of the file.
|
|
8327 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
8328 |
# Check whether this is an Automake generated Makefile or not.
|
|
8329 |
# We used to match only the files named `Makefile.in', but
|
|
8330 |
# some people rename them; so instead we look at the file content.
|
|
8331 |
# Grep'ing the first line is not enough: some people post-process
|
|
8332 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
8333 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
8334 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
8335 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
8336 |
dirpart=`$as_dirname -- "$mf" ||
|
|
8337 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8338 |
X"$mf" : 'X\(//\)[^/]' \| \
|
|
8339 |
X"$mf" : 'X\(//\)$' \| \
|
|
8340 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8341 |
$as_echo X"$mf" |
|
|
8342 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8343 |
s//\1/
|
|
8344 |
q
|
|
8345 |
}
|
|
8346 |
/^X\(\/\/\)[^/].*/{
|
|
8347 |
s//\1/
|
|
8348 |
q
|
|
8349 |
}
|
|
8350 |
/^X\(\/\/\)$/{
|
|
8351 |
s//\1/
|
|
8352 |
q
|
|
8353 |
}
|
|
8354 |
/^X\(\/\).*/{
|
|
8355 |
s//\1/
|
|
8356 |
q
|
|
8357 |
}
|
|
8358 |
s/.*/./; q'`
|
|
8359 |
else
|
|
8360 |
continue
|
|
8361 |
fi
|
|
8362 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
8363 |
# from the Makefile without running `make'.
|
|
8364 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
8365 |
test -z "$DEPDIR" && continue
|
|
8366 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
8367 |
test -z "am__include" && continue
|
|
8368 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
8369 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
8370 |
U=`sed -n 's/^U = //p' < "$mf"`
|
|
8371 |
# Find all dependency output files, they are included files with
|
|
8372 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
8373 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
8374 |
# expansion.
|
|
8375 |
for file in `sed -n "
|
|
8376 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
8377 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
8378 |
# Make sure the directory exists.
|
|
8379 |
test -f "$dirpart/$file" && continue
|
|
8380 |
fdir=`$as_dirname -- "$file" ||
|
|
8381 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
8382 |
X"$file" : 'X\(//\)[^/]' \| \
|
|
8383 |
X"$file" : 'X\(//\)$' \| \
|
|
8384 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8385 |
$as_echo X"$file" |
|
|
8386 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8387 |
s//\1/
|
|
8388 |
q
|
|
8389 |
}
|
|
8390 |
/^X\(\/\/\)[^/].*/{
|
|
8391 |
s//\1/
|
|
8392 |
q
|
|
8393 |
}
|
|
8394 |
/^X\(\/\/\)$/{
|
|
8395 |
s//\1/
|
|
8396 |
q
|
|
8397 |
}
|
|
8398 |
/^X\(\/\).*/{
|
|
8399 |
s//\1/
|
|
8400 |
q
|
|
8401 |
}
|
|
8402 |
s/.*/./; q'`
|
|
8403 |
{ as_dir=$dirpart/$fdir
|
|
8404 |
case $as_dir in #(
|
|
8405 |
-*) as_dir=./$as_dir;;
|
|
8406 |
esac
|
|
8407 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
7397 | 8408 |
as_dirs=
|
7398 | |
while test ! -d "$as_dir"; do
|
7399 | |
as_dirs="$as_dir $as_dirs"
|
7400 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
8409 |
while :; do
|
|
8410 |
case $as_dir in #(
|
|
8411 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
8412 |
*) as_qdir=$as_dir;;
|
|
8413 |
esac
|
|
8414 |
as_dirs="'$as_qdir' $as_dirs"
|
|
8415 |
as_dir=`$as_dirname -- "$as_dir" ||
|
7401 | 8416 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7402 | 8417 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7403 | 8418 |
X"$as_dir" : 'X\(//\)$' \| \
|
7404 | |
X"$as_dir" : 'X\(/\)' \| \
|
7405 | |
. : '\(.\)' 2>/dev/null ||
|
7406 | |
echo X"$as_dir" |
|
7407 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7408 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7409 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7410 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7411 | |
s/.*/./; q'`
|
|
8419 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
8420 |
$as_echo X"$as_dir" |
|
|
8421 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
8422 |
s//\1/
|
|
8423 |
q
|
|
8424 |
}
|
|
8425 |
/^X\(\/\/\)[^/].*/{
|
|
8426 |
s//\1/
|
|
8427 |
q
|
|
8428 |
}
|
|
8429 |
/^X\(\/\/\)$/{
|
|
8430 |
s//\1/
|
|
8431 |
q
|
|
8432 |
}
|
|
8433 |
/^X\(\/\).*/{
|
|
8434 |
s//\1/
|
|
8435 |
q
|
|
8436 |
}
|
|
8437 |
s/.*/./; q'`
|
|
8438 |
test -d "$as_dir" && break
|
7412 | 8439 |
done
|
7413 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
7414 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
7415 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
8440 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
8441 |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
8442 |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
7416 | 8443 |
{ (exit 1); exit 1; }; }; }
|
7417 | |
|
7418 | |
ac_builddir=.
|
7419 | |
|
7420 | |
if test "$ac_dir" != .; then
|
7421 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
7422 | |
# A "../" for each directory in $ac_dir_suffix.
|
7423 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
7424 | |
else
|
7425 | |
ac_dir_suffix= ac_top_builddir=
|
7426 | |
fi
|
7427 | |
|
7428 | |
case $srcdir in
|
7429 | |
.) # No --srcdir option. We are building in place.
|
7430 | |
ac_srcdir=.
|
7431 | |
if test -z "$ac_top_builddir"; then
|
7432 | |
ac_top_srcdir=.
|
7433 | |
else
|
7434 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
7435 | |
fi ;;
|
7436 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
7437 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
7438 | |
ac_top_srcdir=$srcdir ;;
|
7439 | |
*) # Relative path.
|
7440 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
7441 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
7442 | |
esac
|
7443 | |
|
7444 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
7445 | |
# the directories may not exist.
|
7446 | |
case `pwd` in
|
7447 | |
.) ac_abs_builddir="$ac_dir";;
|
7448 | |
*)
|
7449 | |
case "$ac_dir" in
|
7450 | |
.) ac_abs_builddir=`pwd`;;
|
7451 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
7452 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
7453 | |
esac;;
|
7454 | |
esac
|
7455 | |
case $ac_abs_builddir in
|
7456 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
7457 | |
*)
|
7458 | |
case ${ac_top_builddir}. in
|
7459 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
7460 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
7461 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
7462 | |
esac;;
|
7463 | |
esac
|
7464 | |
case $ac_abs_builddir in
|
7465 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
7466 | |
*)
|
7467 | |
case $ac_srcdir in
|
7468 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
7469 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
7470 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
7471 | |
esac;;
|
7472 | |
esac
|
7473 | |
case $ac_abs_builddir in
|
7474 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
7475 | |
*)
|
7476 | |
case $ac_top_srcdir in
|
7477 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
7478 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
7479 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
7480 | |
esac;;
|
7481 | |
esac
|
7482 | |
|
7483 | |
|
7484 | |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
7485 | |
echo "$as_me: executing $ac_dest commands" >&6;}
|
7486 | |
case $ac_dest in
|
7487 | |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
7488 | |
# Strip MF so we end up with the name of the file.
|
7489 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
7490 | |
# Check whether this is an Automake generated Makefile or not.
|
7491 | |
# We used to match only the files named `Makefile.in', but
|
7492 | |
# some people rename them; so instead we look at the file content.
|
7493 | |
# Grep'ing the first line is not enough: some people post-process
|
7494 | |
# each Makefile.in and add a new line on top of each file to say so.
|
7495 | |
# So let's grep whole file.
|
7496 | |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
7497 | |
dirpart=`(dirname "$mf") 2>/dev/null ||
|
7498 | |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7499 | |
X"$mf" : 'X\(//\)[^/]' \| \
|
7500 | |
X"$mf" : 'X\(//\)$' \| \
|
7501 | |
X"$mf" : 'X\(/\)' \| \
|
7502 | |
. : '\(.\)' 2>/dev/null ||
|
7503 | |
echo X"$mf" |
|
7504 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7505 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7506 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7507 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7508 | |
s/.*/./; q'`
|
7509 | |
else
|
7510 | |
continue
|
7511 | |
fi
|
7512 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
7513 | |
# from the Makefile without running `make'.
|
7514 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
7515 | |
test -z "$DEPDIR" && continue
|
7516 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
7517 | |
test -z "am__include" && continue
|
7518 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
7519 | |
# When using ansi2knr, U may be empty or an underscore; expand it
|
7520 | |
U=`sed -n 's/^U = //p' < "$mf"`
|
7521 | |
# Find all dependency output files, they are included files with
|
7522 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
7523 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
7524 | |
# expansion.
|
7525 | |
for file in `sed -n "
|
7526 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
7527 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
7528 | |
# Make sure the directory exists.
|
7529 | |
test -f "$dirpart/$file" && continue
|
7530 | |
fdir=`(dirname "$file") 2>/dev/null ||
|
7531 | |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7532 | |
X"$file" : 'X\(//\)[^/]' \| \
|
7533 | |
X"$file" : 'X\(//\)$' \| \
|
7534 | |
X"$file" : 'X\(/\)' \| \
|
7535 | |
. : '\(.\)' 2>/dev/null ||
|
7536 | |
echo X"$file" |
|
7537 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7538 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7539 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7540 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7541 | |
s/.*/./; q'`
|
7542 | |
{ if $as_mkdir_p; then
|
7543 | |
mkdir -p $dirpart/$fdir
|
7544 | |
else
|
7545 | |
as_dir=$dirpart/$fdir
|
7546 | |
as_dirs=
|
7547 | |
while test ! -d "$as_dir"; do
|
7548 | |
as_dirs="$as_dir $as_dirs"
|
7549 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
7550 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7551 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7552 | |
X"$as_dir" : 'X\(//\)$' \| \
|
7553 | |
X"$as_dir" : 'X\(/\)' \| \
|
7554 | |
. : '\(.\)' 2>/dev/null ||
|
7555 | |
echo X"$as_dir" |
|
7556 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
7557 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
7558 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
7559 | |
/^X\(\/\).*/{ s//\1/; q; }
|
7560 | |
s/.*/./; q'`
|
|
8444 |
# echo "creating $dirpart/$file"
|
|
8445 |
echo '# dummy' > "$dirpart/$file"
|
7561 | 8446 |
done
|
7562 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
7563 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
7564 | |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
7565 | |
{ (exit 1); exit 1; }; }; }
|
7566 | |
|
7567 | |
# echo "creating $dirpart/$file"
|
7568 | |
echo '# dummy' > "$dirpart/$file"
|
7569 | 8447 |
done
|
7570 | |
done
|
|
8448 |
}
|
7571 | 8449 |
;;
|
|
8450 |
|
7572 | 8451 |
esac
|
7573 | |
done
|
7574 | |
_ACEOF
|
7575 | |
|
7576 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
8452 |
done # for ac_tag
|
|
8453 |
|
7577 | 8454 |
|
7578 | 8455 |
{ (exit 0); exit 0; }
|
7579 | 8456 |
_ACEOF
|
7580 | 8457 |
chmod +x $CONFIG_STATUS
|
7581 | 8458 |
ac_clean_files=$ac_clean_files_save
|
|
8459 |
|
|
8460 |
test $ac_write_fail = 0 ||
|
|
8461 |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
|
8462 |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
|
8463 |
{ (exit 1); exit 1; }; }
|
7582 | 8464 |
|
7583 | 8465 |
|
7584 | 8466 |
# configure is writing to config.log, and then calls config.status.
|
|
7601 | 8483 |
# would make configure fail if this is the last instruction.
|
7602 | 8484 |
$ac_cs_success || { (exit 1); exit 1; }
|
7603 | 8485 |
fi
|
7604 | |
|
|
8486 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
8487 |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
8488 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
8489 |
fi
|
|
8490 |
|