0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.59.
|
|
2 |
# Generated by GNU Autoconf 2.61.
|
3 | 3 |
#
|
4 | |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
4 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
5 |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
5 | 6 |
# This configure script is free software; the Free Software Foundation
|
6 | 7 |
# gives unlimited permission to copy, distribute and modify it.
|
7 | 8 |
## --------------------- ##
|
8 | 9 |
## M4sh Initialization. ##
|
9 | 10 |
## --------------------- ##
|
10 | 11 |
|
11 | |
# Be Bourne compatible
|
|
12 |
# Be more Bourne compatible
|
|
13 |
DUALCASE=1; export DUALCASE # for MKS sh
|
12 | 14 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
13 | 15 |
emulate sh
|
14 | 16 |
NULLCMD=:
|
15 | 17 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
16 | 18 |
# is contrary to our usage. Disable this feature.
|
17 | 19 |
alias -g '${1+"$@"}'='"$@"'
|
18 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
19 | |
set -o posix
|
20 | |
fi
|
21 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
22 | |
|
23 | |
# Support unset when possible.
|
24 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
25 | |
as_unset=unset
|
26 | |
else
|
27 | |
as_unset=false
|
28 | |
fi
|
29 | |
|
30 | |
|
31 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
32 | |
$as_unset ENV MAIL MAILPATH
|
33 | |
PS1='$ '
|
34 | |
PS2='> '
|
35 | |
PS4='+ '
|
36 | |
|
37 | |
# NLS nuisances.
|
38 | |
for as_var in \
|
39 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
40 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
41 | |
LC_TELEPHONE LC_TIME
|
42 | |
do
|
43 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
44 | |
eval $as_var=C; export $as_var
|
45 | |
else
|
46 | |
$as_unset $as_var
|
47 | |
fi
|
48 | |
done
|
49 | |
|
50 | |
# Required to use basename.
|
51 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
52 | |
as_expr=expr
|
53 | |
else
|
54 | |
as_expr=false
|
55 | |
fi
|
56 | |
|
57 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
58 | |
as_basename=basename
|
59 | |
else
|
60 | |
as_basename=false
|
61 | |
fi
|
62 | |
|
63 | |
|
64 | |
# Name of the executable.
|
65 | |
as_me=`$as_basename "$0" ||
|
66 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
67 | |
X"$0" : 'X\(//\)$' \| \
|
68 | |
X"$0" : 'X\(/\)$' \| \
|
69 | |
. : '\(.\)' 2>/dev/null ||
|
70 | |
echo X/"$0" |
|
71 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
72 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
73 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
74 | |
s/.*/./; q'`
|
75 | |
|
76 | |
|
77 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
20 |
setopt NO_GLOB_SUBST
|
|
21 |
else
|
|
22 |
case `(set -o) 2>/dev/null` in
|
|
23 |
*posix*) set -o posix ;;
|
|
24 |
esac
|
|
25 |
|
|
26 |
fi
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
# PATH needs CR
|
78 | 32 |
# Avoid depending upon Character Ranges.
|
79 | 33 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
80 | 34 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
95 | 49 |
rm -f conf$$.sh
|
96 | 50 |
fi
|
97 | 51 |
|
98 | |
|
99 | |
as_lineno_1=$LINENO
|
100 | |
as_lineno_2=$LINENO
|
101 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
102 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
103 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
104 | |
# Find who we are. Look in the path if we contain no path at all
|
105 | |
# relative or not.
|
106 | |
case $0 in
|
107 | |
*[\\/]* ) as_myself=$0 ;;
|
108 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
52 |
# Support unset when possible.
|
|
53 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
54 |
as_unset=unset
|
|
55 |
else
|
|
56 |
as_unset=false
|
|
57 |
fi
|
|
58 |
|
|
59 |
|
|
60 |
# IFS
|
|
61 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
62 |
# there to prevent editors from complaining about space-tab.
|
|
63 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
64 |
# splitting by setting IFS to empty value.)
|
|
65 |
as_nl='
|
|
66 |
'
|
|
67 |
IFS=" "" $as_nl"
|
|
68 |
|
|
69 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
70 |
case $0 in
|
|
71 |
*[\\/]* ) as_myself=$0 ;;
|
|
72 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
109 | 73 |
for as_dir in $PATH
|
110 | 74 |
do
|
111 | 75 |
IFS=$as_save_IFS
|
112 | 76 |
test -z "$as_dir" && as_dir=.
|
113 | 77 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
114 | 78 |
done
|
115 | |
|
116 | |
;;
|
117 | |
esac
|
118 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
119 | |
# in which case we are not to be found in the path.
|
120 | |
if test "x$as_myself" = x; then
|
121 | |
as_myself=$0
|
|
79 |
IFS=$as_save_IFS
|
|
80 |
|
|
81 |
;;
|
|
82 |
esac
|
|
83 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
84 |
# in which case we are not to be found in the path.
|
|
85 |
if test "x$as_myself" = x; then
|
|
86 |
as_myself=$0
|
|
87 |
fi
|
|
88 |
if test ! -f "$as_myself"; then
|
|
89 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
90 |
{ (exit 1); exit 1; }
|
|
91 |
fi
|
|
92 |
|
|
93 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
94 |
for as_var in ENV MAIL MAILPATH
|
|
95 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
96 |
done
|
|
97 |
PS1='$ '
|
|
98 |
PS2='> '
|
|
99 |
PS4='+ '
|
|
100 |
|
|
101 |
# NLS nuisances.
|
|
102 |
for as_var in \
|
|
103 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
104 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
105 |
LC_TELEPHONE LC_TIME
|
|
106 |
do
|
|
107 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
108 |
eval $as_var=C; export $as_var
|
|
109 |
else
|
|
110 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
122 | 111 |
fi
|
123 | |
if test ! -f "$as_myself"; then
|
124 | |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
125 | |
{ (exit 1); exit 1; }; }
|
126 | |
fi
|
127 | |
case $CONFIG_SHELL in
|
128 | |
'')
|
|
112 |
done
|
|
113 |
|
|
114 |
# Required to use basename.
|
|
115 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
116 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
117 |
as_expr=expr
|
|
118 |
else
|
|
119 |
as_expr=false
|
|
120 |
fi
|
|
121 |
|
|
122 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
123 |
as_basename=basename
|
|
124 |
else
|
|
125 |
as_basename=false
|
|
126 |
fi
|
|
127 |
|
|
128 |
|
|
129 |
# Name of the executable.
|
|
130 |
as_me=`$as_basename -- "$0" ||
|
|
131 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
132 |
X"$0" : 'X\(//\)$' \| \
|
|
133 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
134 |
echo X/"$0" |
|
|
135 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
136 |
s//\1/
|
|
137 |
q
|
|
138 |
}
|
|
139 |
/^X\/\(\/\/\)$/{
|
|
140 |
s//\1/
|
|
141 |
q
|
|
142 |
}
|
|
143 |
/^X\/\(\/\).*/{
|
|
144 |
s//\1/
|
|
145 |
q
|
|
146 |
}
|
|
147 |
s/.*/./; q'`
|
|
148 |
|
|
149 |
# CDPATH.
|
|
150 |
$as_unset CDPATH
|
|
151 |
|
|
152 |
|
|
153 |
if test "x$CONFIG_SHELL" = x; then
|
|
154 |
if (eval ":") 2>/dev/null; then
|
|
155 |
as_have_required=yes
|
|
156 |
else
|
|
157 |
as_have_required=no
|
|
158 |
fi
|
|
159 |
|
|
160 |
if test $as_have_required = yes && (eval ":
|
|
161 |
(as_func_return () {
|
|
162 |
(exit \$1)
|
|
163 |
}
|
|
164 |
as_func_success () {
|
|
165 |
as_func_return 0
|
|
166 |
}
|
|
167 |
as_func_failure () {
|
|
168 |
as_func_return 1
|
|
169 |
}
|
|
170 |
as_func_ret_success () {
|
|
171 |
return 0
|
|
172 |
}
|
|
173 |
as_func_ret_failure () {
|
|
174 |
return 1
|
|
175 |
}
|
|
176 |
|
|
177 |
exitcode=0
|
|
178 |
if as_func_success; then
|
|
179 |
:
|
|
180 |
else
|
|
181 |
exitcode=1
|
|
182 |
echo as_func_success failed.
|
|
183 |
fi
|
|
184 |
|
|
185 |
if as_func_failure; then
|
|
186 |
exitcode=1
|
|
187 |
echo as_func_failure succeeded.
|
|
188 |
fi
|
|
189 |
|
|
190 |
if as_func_ret_success; then
|
|
191 |
:
|
|
192 |
else
|
|
193 |
exitcode=1
|
|
194 |
echo as_func_ret_success failed.
|
|
195 |
fi
|
|
196 |
|
|
197 |
if as_func_ret_failure; then
|
|
198 |
exitcode=1
|
|
199 |
echo as_func_ret_failure succeeded.
|
|
200 |
fi
|
|
201 |
|
|
202 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
203 |
:
|
|
204 |
else
|
|
205 |
exitcode=1
|
|
206 |
echo positional parameters were not saved.
|
|
207 |
fi
|
|
208 |
|
|
209 |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
|
210 |
|
|
211 |
(
|
|
212 |
as_lineno_1=\$LINENO
|
|
213 |
as_lineno_2=\$LINENO
|
|
214 |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
|
215 |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
|
216 |
") 2> /dev/null; then
|
|
217 |
:
|
|
218 |
else
|
|
219 |
as_candidate_shells=
|
129 | 220 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
130 | 221 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
131 | 222 |
do
|
132 | 223 |
IFS=$as_save_IFS
|
133 | 224 |
test -z "$as_dir" && as_dir=.
|
134 | |
for as_base in sh bash ksh sh5; do
|
135 | |
case $as_dir in
|
|
225 |
case $as_dir in
|
136 | 226 |
/*)
|
137 | |
if ("$as_dir/$as_base" -c '
|
|
227 |
for as_base in sh bash ksh sh5; do
|
|
228 |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
|
229 |
done;;
|
|
230 |
esac
|
|
231 |
done
|
|
232 |
IFS=$as_save_IFS
|
|
233 |
|
|
234 |
|
|
235 |
for as_shell in $as_candidate_shells $SHELL; do
|
|
236 |
# Try only shells that exist, to save several forks.
|
|
237 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
238 |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
|
239 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
240 |
emulate sh
|
|
241 |
NULLCMD=:
|
|
242 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
243 |
# is contrary to our usage. Disable this feature.
|
|
244 |
alias -g '${1+"$@"}'='"$@"'
|
|
245 |
setopt NO_GLOB_SUBST
|
|
246 |
else
|
|
247 |
case `(set -o) 2>/dev/null` in
|
|
248 |
*posix*) set -o posix ;;
|
|
249 |
esac
|
|
250 |
|
|
251 |
fi
|
|
252 |
|
|
253 |
|
|
254 |
:
|
|
255 |
_ASEOF
|
|
256 |
}; then
|
|
257 |
CONFIG_SHELL=$as_shell
|
|
258 |
as_have_required=yes
|
|
259 |
if { "$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 |
# Zsh 3.x and 4.x performs 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 |
(as_func_return () {
|
|
277 |
(exit $1)
|
|
278 |
}
|
|
279 |
as_func_success () {
|
|
280 |
as_func_return 0
|
|
281 |
}
|
|
282 |
as_func_failure () {
|
|
283 |
as_func_return 1
|
|
284 |
}
|
|
285 |
as_func_ret_success () {
|
|
286 |
return 0
|
|
287 |
}
|
|
288 |
as_func_ret_failure () {
|
|
289 |
return 1
|
|
290 |
}
|
|
291 |
|
|
292 |
exitcode=0
|
|
293 |
if as_func_success; then
|
|
294 |
:
|
|
295 |
else
|
|
296 |
exitcode=1
|
|
297 |
echo as_func_success failed.
|
|
298 |
fi
|
|
299 |
|
|
300 |
if as_func_failure; then
|
|
301 |
exitcode=1
|
|
302 |
echo as_func_failure succeeded.
|
|
303 |
fi
|
|
304 |
|
|
305 |
if as_func_ret_success; then
|
|
306 |
:
|
|
307 |
else
|
|
308 |
exitcode=1
|
|
309 |
echo as_func_ret_success failed.
|
|
310 |
fi
|
|
311 |
|
|
312 |
if as_func_ret_failure; then
|
|
313 |
exitcode=1
|
|
314 |
echo as_func_ret_failure succeeded.
|
|
315 |
fi
|
|
316 |
|
|
317 |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
|
318 |
:
|
|
319 |
else
|
|
320 |
exitcode=1
|
|
321 |
echo positional parameters were not saved.
|
|
322 |
fi
|
|
323 |
|
|
324 |
test $exitcode = 0) || { (exit 1); exit 1; }
|
|
325 |
|
|
326 |
(
|
138 | 327 |
as_lineno_1=$LINENO
|
139 | 328 |
as_lineno_2=$LINENO
|
140 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
141 | 329 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
142 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
143 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
144 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
145 | |
CONFIG_SHELL=$as_dir/$as_base
|
146 | |
export CONFIG_SHELL
|
147 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
148 | |
fi;;
|
149 | |
esac
|
150 | |
done
|
151 | |
done
|
152 | |
;;
|
153 | |
esac
|
|
330 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
|
331 |
|
|
332 |
_ASEOF
|
|
333 |
}; then
|
|
334 |
break
|
|
335 |
fi
|
|
336 |
|
|
337 |
fi
|
|
338 |
|
|
339 |
done
|
|
340 |
|
|
341 |
if test "x$CONFIG_SHELL" != x; then
|
|
342 |
for as_var in BASH_ENV ENV
|
|
343 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
344 |
done
|
|
345 |
export CONFIG_SHELL
|
|
346 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
347 |
fi
|
|
348 |
|
|
349 |
|
|
350 |
if test $as_have_required = no; then
|
|
351 |
echo This script requires a shell more modern than all the
|
|
352 |
echo shells that I found on your system. Please install a
|
|
353 |
echo modern shell, or manually run the script under such a
|
|
354 |
echo shell if you do have one.
|
|
355 |
{ (exit 1); exit 1; }
|
|
356 |
fi
|
|
357 |
|
|
358 |
|
|
359 |
fi
|
|
360 |
|
|
361 |
fi
|
|
362 |
|
|
363 |
|
|
364 |
|
|
365 |
(eval "as_func_return () {
|
|
366 |
(exit \$1)
|
|
367 |
}
|
|
368 |
as_func_success () {
|
|
369 |
as_func_return 0
|
|
370 |
}
|
|
371 |
as_func_failure () {
|
|
372 |
as_func_return 1
|
|
373 |
}
|
|
374 |
as_func_ret_success () {
|
|
375 |
return 0
|
|
376 |
}
|
|
377 |
as_func_ret_failure () {
|
|
378 |
return 1
|
|
379 |
}
|
|
380 |
|
|
381 |
exitcode=0
|
|
382 |
if as_func_success; then
|
|
383 |
:
|
|
384 |
else
|
|
385 |
exitcode=1
|
|
386 |
echo as_func_success failed.
|
|
387 |
fi
|
|
388 |
|
|
389 |
if as_func_failure; then
|
|
390 |
exitcode=1
|
|
391 |
echo as_func_failure succeeded.
|
|
392 |
fi
|
|
393 |
|
|
394 |
if as_func_ret_success; then
|
|
395 |
:
|
|
396 |
else
|
|
397 |
exitcode=1
|
|
398 |
echo as_func_ret_success failed.
|
|
399 |
fi
|
|
400 |
|
|
401 |
if as_func_ret_failure; then
|
|
402 |
exitcode=1
|
|
403 |
echo as_func_ret_failure succeeded.
|
|
404 |
fi
|
|
405 |
|
|
406 |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
|
407 |
:
|
|
408 |
else
|
|
409 |
exitcode=1
|
|
410 |
echo positional parameters were not saved.
|
|
411 |
fi
|
|
412 |
|
|
413 |
test \$exitcode = 0") || {
|
|
414 |
echo No shell found that supports shell functions.
|
|
415 |
echo Please tell autoconf@gnu.org about your system,
|
|
416 |
echo including any error possibly output before this
|
|
417 |
echo message
|
|
418 |
}
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
as_lineno_1=$LINENO
|
|
423 |
as_lineno_2=$LINENO
|
|
424 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
|
425 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
154 | 426 |
|
155 | 427 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
156 | 428 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
157 | |
# line-number line before each line; the second 'sed' does the real
|
158 | |
# work. The second script uses 'N' to pair each line-number line
|
159 | |
# with the numbered line, and appends trailing '-' during
|
160 | |
# substitution so that $LINENO is not a special case at line end.
|
|
429 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
430 |
# does the real work. The second script uses 'N' to pair each
|
|
431 |
# line-number line with the line containing $LINENO, and appends
|
|
432 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
433 |
# case at line end.
|
161 | 434 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
162 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
163 | |
sed '=' <$as_myself |
|
|
435 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
436 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
437 |
sed -n '
|
|
438 |
p
|
|
439 |
/[$]LINENO/=
|
|
440 |
' <$as_myself |
|
164 | 441 |
sed '
|
|
442 |
s/[$]LINENO.*/&-/
|
|
443 |
t lineno
|
|
444 |
b
|
|
445 |
:lineno
|
165 | 446 |
N
|
166 | |
s,$,-,
|
167 | |
: loop
|
168 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
447 |
:loop
|
|
448 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
169 | 449 |
t loop
|
170 | |
s,-$,,
|
171 | |
s,^['$as_cr_digits']*\n,,
|
|
450 |
s/-\n.*//
|
172 | 451 |
' >$as_me.lineno &&
|
173 | |
chmod +x $as_me.lineno ||
|
|
452 |
chmod +x "$as_me.lineno" ||
|
174 | 453 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
175 | 454 |
{ (exit 1); exit 1; }; }
|
176 | 455 |
|
177 | 456 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
178 | 457 |
# (the dirname of $[0] is not the place where we might find the
|
179 | |
# original and so on. Autoconf is especially sensible to this).
|
180 | |
. ./$as_me.lineno
|
|
458 |
# original and so on. Autoconf is especially sensitive to this).
|
|
459 |
. "./$as_me.lineno"
|
181 | 460 |
# Exit status is that of the last command.
|
182 | 461 |
exit
|
183 | 462 |
}
|
184 | 463 |
|
185 | 464 |
|
186 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
187 | |
*c*,-n*) ECHO_N= ECHO_C='
|
188 | |
' ECHO_T=' ' ;;
|
189 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
190 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|
465 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
466 |
as_dirname=dirname
|
|
467 |
else
|
|
468 |
as_dirname=false
|
|
469 |
fi
|
|
470 |
|
|
471 |
ECHO_C= ECHO_N= ECHO_T=
|
|
472 |
case `echo -n x` in
|
|
473 |
-n*)
|
|
474 |
case `echo 'x\c'` in
|
|
475 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
476 |
*) ECHO_C='\c';;
|
|
477 |
esac;;
|
|
478 |
*)
|
|
479 |
ECHO_N='-n';;
|
191 | 480 |
esac
|
192 | 481 |
|
193 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
482 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
483 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
194 | 484 |
as_expr=expr
|
195 | 485 |
else
|
196 | 486 |
as_expr=false
|
197 | 487 |
fi
|
198 | 488 |
|
199 | 489 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
490 |
if test -d conf$$.dir; then
|
|
491 |
rm -f conf$$.dir/conf$$.file
|
|
492 |
else
|
|
493 |
rm -f conf$$.dir
|
|
494 |
mkdir conf$$.dir
|
|
495 |
fi
|
200 | 496 |
echo >conf$$.file
|
201 | 497 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
202 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
203 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
204 | |
if test -f conf$$.exe; then
|
205 | |
# Don't use ln at all; we don't have any links
|
|
498 |
as_ln_s='ln -s'
|
|
499 |
# ... but there are two gotchas:
|
|
500 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
501 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
502 |
# In both cases, we have to default to `cp -p'.
|
|
503 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
206 | 504 |
as_ln_s='cp -p'
|
207 | |
else
|
208 | |
as_ln_s='ln -s'
|
209 | |
fi
|
210 | 505 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
211 | 506 |
as_ln_s=ln
|
212 | 507 |
else
|
213 | 508 |
as_ln_s='cp -p'
|
214 | 509 |
fi
|
215 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
510 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
511 |
rmdir conf$$.dir 2>/dev/null
|
216 | 512 |
|
217 | 513 |
if mkdir -p . 2>/dev/null; then
|
218 | 514 |
as_mkdir_p=:
|
|
221 | 517 |
as_mkdir_p=false
|
222 | 518 |
fi
|
223 | 519 |
|
224 | |
as_executable_p="test -f"
|
|
520 |
if test -x / >/dev/null 2>&1; then
|
|
521 |
as_test_x='test -x'
|
|
522 |
else
|
|
523 |
if ls -dL / >/dev/null 2>&1; then
|
|
524 |
as_ls_L_option=L
|
|
525 |
else
|
|
526 |
as_ls_L_option=
|
|
527 |
fi
|
|
528 |
as_test_x='
|
|
529 |
eval sh -c '\''
|
|
530 |
if test -d "$1"; then
|
|
531 |
test -d "$1/.";
|
|
532 |
else
|
|
533 |
case $1 in
|
|
534 |
-*)set "./$1";;
|
|
535 |
esac;
|
|
536 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
537 |
???[sx]*):;;*)false;;esac;fi
|
|
538 |
'\'' sh
|
|
539 |
'
|
|
540 |
fi
|
|
541 |
as_executable_p=$as_test_x
|
225 | 542 |
|
226 | 543 |
# Sed expression to map a string onto a valid CPP name.
|
227 | 544 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
230 | 547 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
231 | 548 |
|
232 | 549 |
|
233 | |
# IFS
|
234 | |
# We need space, tab and new line, in precisely that order.
|
235 | |
as_nl='
|
236 | |
'
|
237 | |
IFS=" $as_nl"
|
238 | |
|
239 | |
# CDPATH.
|
240 | |
$as_unset CDPATH
|
241 | |
|
|
550 |
|
|
551 |
exec 7<&0 </dev/null 6>&1
|
242 | 552 |
|
243 | 553 |
# Name of the host.
|
244 | 554 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
245 | 555 |
# so uname gets run too.
|
246 | 556 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
247 | 557 |
|
248 | |
exec 6>&1
|
249 | |
|
250 | 558 |
#
|
251 | 559 |
# Initializations.
|
252 | 560 |
#
|
253 | 561 |
ac_default_prefix=/usr/local
|
|
562 |
ac_clean_files=
|
254 | 563 |
ac_config_libobj_dir=.
|
|
564 |
LIBOBJS=
|
255 | 565 |
cross_compiling=no
|
256 | 566 |
subdirs=
|
257 | 567 |
MFLAGS=
|
258 | 568 |
MAKEFLAGS=
|
259 | 569 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
260 | |
|
261 | |
# Maximum number of lines to put in a shell here document.
|
262 | |
# This variable seems obsolete. It should probably be removed, and
|
263 | |
# only ac_max_sed_lines should be used.
|
264 | |
: ${ac_max_here_lines=38}
|
265 | 570 |
|
266 | 571 |
# Identity of this package.
|
267 | 572 |
PACKAGE_NAME=
|
|
274 | 579 |
# Factoring default headers for most tests.
|
275 | 580 |
ac_includes_default="\
|
276 | 581 |
#include <stdio.h>
|
277 | |
#if HAVE_SYS_TYPES_H
|
|
582 |
#ifdef HAVE_SYS_TYPES_H
|
278 | 583 |
# include <sys/types.h>
|
279 | 584 |
#endif
|
280 | |
#if HAVE_SYS_STAT_H
|
|
585 |
#ifdef HAVE_SYS_STAT_H
|
281 | 586 |
# include <sys/stat.h>
|
282 | 587 |
#endif
|
283 | |
#if STDC_HEADERS
|
|
588 |
#ifdef STDC_HEADERS
|
284 | 589 |
# include <stdlib.h>
|
285 | 590 |
# include <stddef.h>
|
286 | 591 |
#else
|
287 | |
# if HAVE_STDLIB_H
|
|
592 |
# ifdef HAVE_STDLIB_H
|
288 | 593 |
# include <stdlib.h>
|
289 | 594 |
# endif
|
290 | 595 |
#endif
|
291 | |
#if HAVE_STRING_H
|
292 | |
# if !STDC_HEADERS && HAVE_MEMORY_H
|
|
596 |
#ifdef HAVE_STRING_H
|
|
597 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
293 | 598 |
# include <memory.h>
|
294 | 599 |
# endif
|
295 | 600 |
# include <string.h>
|
296 | 601 |
#endif
|
297 | |
#if HAVE_STRINGS_H
|
|
602 |
#ifdef HAVE_STRINGS_H
|
298 | 603 |
# include <strings.h>
|
299 | 604 |
#endif
|
300 | |
#if HAVE_INTTYPES_H
|
|
605 |
#ifdef HAVE_INTTYPES_H
|
301 | 606 |
# include <inttypes.h>
|
302 | |
#else
|
303 | |
# if HAVE_STDINT_H
|
304 | |
# include <stdint.h>
|
305 | |
# endif
|
306 | 607 |
#endif
|
307 | |
#if HAVE_UNISTD_H
|
|
608 |
#ifdef HAVE_STDINT_H
|
|
609 |
# include <stdint.h>
|
|
610 |
#endif
|
|
611 |
#ifdef HAVE_UNISTD_H
|
308 | 612 |
# include <unistd.h>
|
309 | 613 |
#endif"
|
310 | 614 |
|
311 | |
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os VERSION_MAJOR VERSION_MINOR VERSION_POINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX_WFLAGS C_WFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB CXX_PIC C_PIC LD_SHARED SO_EXT GEOTIFF_SO GEOTIFF_IMP GEOTIFF_DLL CPP EGREP ZIP_INC TIFF_INC PROJ_INC CSV_SOURCE LIBOBJS LTLIBOBJS'
|
|
615 |
ac_subst_vars='SHELL
|
|
616 |
PATH_SEPARATOR
|
|
617 |
PACKAGE_NAME
|
|
618 |
PACKAGE_TARNAME
|
|
619 |
PACKAGE_VERSION
|
|
620 |
PACKAGE_STRING
|
|
621 |
PACKAGE_BUGREPORT
|
|
622 |
exec_prefix
|
|
623 |
prefix
|
|
624 |
program_transform_name
|
|
625 |
bindir
|
|
626 |
sbindir
|
|
627 |
libexecdir
|
|
628 |
datarootdir
|
|
629 |
datadir
|
|
630 |
sysconfdir
|
|
631 |
sharedstatedir
|
|
632 |
localstatedir
|
|
633 |
includedir
|
|
634 |
oldincludedir
|
|
635 |
docdir
|
|
636 |
infodir
|
|
637 |
htmldir
|
|
638 |
dvidir
|
|
639 |
pdfdir
|
|
640 |
psdir
|
|
641 |
libdir
|
|
642 |
localedir
|
|
643 |
mandir
|
|
644 |
DEFS
|
|
645 |
ECHO_C
|
|
646 |
ECHO_N
|
|
647 |
ECHO_T
|
|
648 |
LIBS
|
|
649 |
build_alias
|
|
650 |
host_alias
|
|
651 |
target_alias
|
|
652 |
build
|
|
653 |
build_cpu
|
|
654 |
build_vendor
|
|
655 |
build_os
|
|
656 |
host
|
|
657 |
host_cpu
|
|
658 |
host_vendor
|
|
659 |
host_os
|
|
660 |
target
|
|
661 |
target_cpu
|
|
662 |
target_vendor
|
|
663 |
target_os
|
|
664 |
VERSION_MAJOR
|
|
665 |
VERSION_MINOR
|
|
666 |
VERSION_POINT
|
|
667 |
CC
|
|
668 |
CFLAGS
|
|
669 |
LDFLAGS
|
|
670 |
CPPFLAGS
|
|
671 |
ac_ct_CC
|
|
672 |
EXEEXT
|
|
673 |
OBJEXT
|
|
674 |
CXX_WFLAGS
|
|
675 |
C_WFLAGS
|
|
676 |
INSTALL_PROGRAM
|
|
677 |
INSTALL_SCRIPT
|
|
678 |
INSTALL_DATA
|
|
679 |
LN_S
|
|
680 |
RANLIB
|
|
681 |
CXX_PIC
|
|
682 |
C_PIC
|
|
683 |
LD_SHARED
|
|
684 |
SO_EXT
|
|
685 |
GEOTIFF_SO
|
|
686 |
GEOTIFF_IMP
|
|
687 |
GEOTIFF_DLL
|
|
688 |
CPP
|
|
689 |
GREP
|
|
690 |
EGREP
|
|
691 |
ZIP_INC
|
|
692 |
TIFF_INC
|
|
693 |
PROJ_INC
|
|
694 |
CSV_SOURCE
|
|
695 |
LIBOBJS
|
|
696 |
LTLIBOBJS'
|
312 | 697 |
ac_subst_files=''
|
|
698 |
ac_precious_vars='build_alias
|
|
699 |
host_alias
|
|
700 |
target_alias
|
|
701 |
CC
|
|
702 |
CFLAGS
|
|
703 |
LDFLAGS
|
|
704 |
LIBS
|
|
705 |
CPPFLAGS
|
|
706 |
CPP'
|
|
707 |
|
313 | 708 |
|
314 | 709 |
# Initialize some variables set by options.
|
315 | 710 |
ac_init_help=
|
|
336 | 731 |
# and all the variables that are supposed to be based on exec_prefix
|
337 | 732 |
# by default will actually change.
|
338 | 733 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
734 |
# (The list follows the same order as the GNU Coding Standards.)
|
339 | 735 |
bindir='${exec_prefix}/bin'
|
340 | 736 |
sbindir='${exec_prefix}/sbin'
|
341 | 737 |
libexecdir='${exec_prefix}/libexec'
|
342 | |
datadir='${prefix}/share'
|
|
738 |
datarootdir='${prefix}/share'
|
|
739 |
datadir='${datarootdir}'
|
343 | 740 |
sysconfdir='${prefix}/etc'
|
344 | 741 |
sharedstatedir='${prefix}/com'
|
345 | 742 |
localstatedir='${prefix}/var'
|
346 | |
libdir='${exec_prefix}/lib'
|
347 | 743 |
includedir='${prefix}/include'
|
348 | 744 |
oldincludedir='/usr/include'
|
349 | |
infodir='${prefix}/info'
|
350 | |
mandir='${prefix}/man'
|
|
745 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
746 |
infodir='${datarootdir}/info'
|
|
747 |
htmldir='${docdir}'
|
|
748 |
dvidir='${docdir}'
|
|
749 |
pdfdir='${docdir}'
|
|
750 |
psdir='${docdir}'
|
|
751 |
libdir='${exec_prefix}/lib'
|
|
752 |
localedir='${datarootdir}/locale'
|
|
753 |
mandir='${datarootdir}/man'
|
351 | 754 |
|
352 | 755 |
ac_prev=
|
|
756 |
ac_dashdash=
|
353 | 757 |
for ac_option
|
354 | 758 |
do
|
355 | 759 |
# If the previous option needs an argument, assign it.
|
356 | 760 |
if test -n "$ac_prev"; then
|
357 | |
eval "$ac_prev=\$ac_option"
|
|
761 |
eval $ac_prev=\$ac_option
|
358 | 762 |
ac_prev=
|
359 | 763 |
continue
|
360 | 764 |
fi
|
361 | 765 |
|
362 | |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
766 |
case $ac_option in
|
|
767 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
768 |
*) ac_optarg=yes ;;
|
|
769 |
esac
|
363 | 770 |
|
364 | 771 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
365 | 772 |
|
366 | |
case $ac_option in
|
|
773 |
case $ac_dashdash$ac_option in
|
|
774 |
--)
|
|
775 |
ac_dashdash=yes ;;
|
367 | 776 |
|
368 | 777 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
369 | 778 |
ac_prev=bindir ;;
|
|
385 | 794 |
--config-cache | -C)
|
386 | 795 |
cache_file=config.cache ;;
|
387 | 796 |
|
388 | |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
797 |
-datadir | --datadir | --datadi | --datad)
|
389 | 798 |
ac_prev=datadir ;;
|
390 | |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
391 | |
| --da=*)
|
|
799 |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
392 | 800 |
datadir=$ac_optarg ;;
|
|
801 |
|
|
802 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|
803 |
| --dataroo | --dataro | --datar)
|
|
804 |
ac_prev=datarootdir ;;
|
|
805 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|
806 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|
807 |
datarootdir=$ac_optarg ;;
|
393 | 808 |
|
394 | 809 |
-disable-* | --disable-*)
|
395 | 810 |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
396 | 811 |
# Reject names that are not valid shell variable names.
|
397 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
812 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
398 | 813 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
399 | 814 |
{ (exit 1); exit 1; }; }
|
400 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
401 | |
eval "enable_$ac_feature=no" ;;
|
|
815 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
816 |
eval enable_$ac_feature=no ;;
|
|
817 |
|
|
818 |
-docdir | --docdir | --docdi | --doc | --do)
|
|
819 |
ac_prev=docdir ;;
|
|
820 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|
821 |
docdir=$ac_optarg ;;
|
|
822 |
|
|
823 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|
824 |
ac_prev=dvidir ;;
|
|
825 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|
826 |
dvidir=$ac_optarg ;;
|
402 | 827 |
|
403 | 828 |
-enable-* | --enable-*)
|
404 | 829 |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
405 | 830 |
# Reject names that are not valid shell variable names.
|
406 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
831 |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
407 | 832 |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
408 | 833 |
{ (exit 1); exit 1; }; }
|
409 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
410 | |
case $ac_option in
|
411 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
412 | |
*) ac_optarg=yes ;;
|
413 | |
esac
|
414 | |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
834 |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
|
835 |
eval enable_$ac_feature=\$ac_optarg ;;
|
415 | 836 |
|
416 | 837 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
417 | 838 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
438 | 859 |
-host=* | --host=* | --hos=* | --ho=*)
|
439 | 860 |
host_alias=$ac_optarg ;;
|
440 | 861 |
|
|
862 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|
863 |
ac_prev=htmldir ;;
|
|
864 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|
865 |
| --ht=*)
|
|
866 |
htmldir=$ac_optarg ;;
|
|
867 |
|
441 | 868 |
-includedir | --includedir | --includedi | --included | --include \
|
442 | 869 |
| --includ | --inclu | --incl | --inc)
|
443 | 870 |
ac_prev=includedir ;;
|
|
462 | 889 |
| --libexe=* | --libex=* | --libe=*)
|
463 | 890 |
libexecdir=$ac_optarg ;;
|
464 | 891 |
|
|
892 |
-localedir | --localedir | --localedi | --localed | --locale)
|
|
893 |
ac_prev=localedir ;;
|
|
894 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|
895 |
localedir=$ac_optarg ;;
|
|
896 |
|
465 | 897 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
466 | |
| --localstate | --localstat | --localsta | --localst \
|
467 | |
| --locals | --local | --loca | --loc | --lo)
|
|
898 |
| --localstate | --localstat | --localsta | --localst | --locals)
|
468 | 899 |
ac_prev=localstatedir ;;
|
469 | 900 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
470 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
471 | |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
901 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
472 | 902 |
localstatedir=$ac_optarg ;;
|
473 | 903 |
|
474 | 904 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
533 | 963 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
534 | 964 |
program_transform_name=$ac_optarg ;;
|
535 | 965 |
|
|
966 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|
967 |
ac_prev=pdfdir ;;
|
|
968 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|
969 |
pdfdir=$ac_optarg ;;
|
|
970 |
|
|
971 |
-psdir | --psdir | --psdi | --psd | --ps)
|
|
972 |
ac_prev=psdir ;;
|
|
973 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|
974 |
psdir=$ac_optarg ;;
|
|
975 |
|
536 | 976 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
537 | 977 |
| -silent | --silent | --silen | --sile | --sil)
|
538 | 978 |
silent=yes ;;
|
|
585 | 1025 |
-with-* | --with-*)
|
586 | 1026 |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
587 | 1027 |
# Reject names that are not valid shell variable names.
|
588 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
1028 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
589 | 1029 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
590 | 1030 |
{ (exit 1); exit 1; }; }
|
591 | |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
592 | |
case $ac_option in
|
593 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
594 | |
*) ac_optarg=yes ;;
|
595 | |
esac
|
596 | |
eval "with_$ac_package='$ac_optarg'" ;;
|
|
1031 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1032 |
eval with_$ac_package=\$ac_optarg ;;
|
597 | 1033 |
|
598 | 1034 |
-without-* | --without-*)
|
599 | 1035 |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
600 | 1036 |
# Reject names that are not valid shell variable names.
|
601 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
|
1037 |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
602 | 1038 |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
603 | 1039 |
{ (exit 1); exit 1; }; }
|
604 | |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
605 | |
eval "with_$ac_package=no" ;;
|
|
1040 |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
|
1041 |
eval with_$ac_package=no ;;
|
606 | 1042 |
|
607 | 1043 |
--x)
|
608 | 1044 |
# Obsolete; use --with-x.
|
|
633 | 1069 |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
634 | 1070 |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
635 | 1071 |
{ (exit 1); exit 1; }; }
|
636 | |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
637 | |
eval "$ac_envvar='$ac_optarg'"
|
|
1072 |
eval $ac_envvar=\$ac_optarg
|
638 | 1073 |
export $ac_envvar ;;
|
639 | 1074 |
|
640 | 1075 |
*)
|
|
654 | 1089 |
{ (exit 1); exit 1; }; }
|
655 | 1090 |
fi
|
656 | 1091 |
|
657 | |
# Be sure to have absolute paths.
|
658 | |
for ac_var in exec_prefix prefix
|
|
1092 |
# Be sure to have absolute directory names.
|
|
1093 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
1094 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1095 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1096 |
libdir localedir mandir
|
659 | 1097 |
do
|
660 | |
eval ac_val=$`echo $ac_var`
|
|
1098 |
eval ac_val=\$$ac_var
|
661 | 1099 |
case $ac_val in
|
662 | |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
663 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
664 | |
{ (exit 1); exit 1; }; };;
|
|
1100 |
[\\/$]* | ?:[\\/]* ) continue;;
|
|
1101 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
665 | 1102 |
esac
|
666 | |
done
|
667 | |
|
668 | |
# Be sure to have absolute paths.
|
669 | |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
670 | |
localstatedir libdir includedir oldincludedir infodir mandir
|
671 | |
do
|
672 | |
eval ac_val=$`echo $ac_var`
|
673 | |
case $ac_val in
|
674 | |
[\\/$]* | ?:[\\/]* ) ;;
|
675 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
676 | |
{ (exit 1); exit 1; }; };;
|
677 | |
esac
|
|
1103 |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
|
1104 |
{ (exit 1); exit 1; }; }
|
678 | 1105 |
done
|
679 | 1106 |
|
680 | 1107 |
# There might be people who depend on the old broken behavior: `$host'
|
|
701 | 1128 |
test "$silent" = yes && exec 6>/dev/null
|
702 | 1129 |
|
703 | 1130 |
|
|
1131 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|
1132 |
ac_ls_di=`ls -di .` &&
|
|
1133 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|
1134 |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
|
1135 |
{ (exit 1); exit 1; }; }
|
|
1136 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|
1137 |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
|
1138 |
{ (exit 1); exit 1; }; }
|
|
1139 |
|
|
1140 |
|
704 | 1141 |
# Find the source files, if location was not specified.
|
705 | 1142 |
if test -z "$srcdir"; then
|
706 | 1143 |
ac_srcdir_defaulted=yes
|
707 | |
# Try the directory containing this script, then its parent.
|
708 | |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
|
1144 |
# Try the directory containing this script, then the parent directory.
|
|
1145 |
ac_confdir=`$as_dirname -- "$0" ||
|
709 | 1146 |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
710 | 1147 |
X"$0" : 'X\(//\)[^/]' \| \
|
711 | 1148 |
X"$0" : 'X\(//\)$' \| \
|
712 | |
X"$0" : 'X\(/\)' \| \
|
713 | |
. : '\(.\)' 2>/dev/null ||
|
|
1149 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
714 | 1150 |
echo X"$0" |
|
715 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
716 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
717 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
718 | |
/^X\(\/\).*/{ s//\1/; q; }
|
719 | |
s/.*/./; q'`
|
|
1151 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
1152 |
s//\1/
|
|
1153 |
q
|
|
1154 |
}
|
|
1155 |
/^X\(\/\/\)[^/].*/{
|
|
1156 |
s//\1/
|
|
1157 |
q
|
|
1158 |
}
|
|
1159 |
/^X\(\/\/\)$/{
|
|
1160 |
s//\1/
|
|
1161 |
q
|
|
1162 |
}
|
|
1163 |
/^X\(\/\).*/{
|
|
1164 |
s//\1/
|
|
1165 |
q
|
|
1166 |
}
|
|
1167 |
s/.*/./; q'`
|
720 | 1168 |
srcdir=$ac_confdir
|
721 | |
if test ! -r $srcdir/$ac_unique_file; then
|
|
1169 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
722 | 1170 |
srcdir=..
|
723 | 1171 |
fi
|
724 | 1172 |
else
|
725 | 1173 |
ac_srcdir_defaulted=no
|
726 | 1174 |
fi
|
727 | |
if test ! -r $srcdir/$ac_unique_file; then
|
728 | |
if test "$ac_srcdir_defaulted" = yes; then
|
729 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
|
1175 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
|
1176 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|
1177 |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
730 | 1178 |
{ (exit 1); exit 1; }; }
|
731 | |
else
|
732 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
|
1179 |
fi
|
|
1180 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|
1181 |
ac_abs_confdir=`(
|
|
1182 |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
733 | 1183 |
{ (exit 1); exit 1; }; }
|
734 | |
fi
|
735 | |
fi
|
736 | |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
737 | |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
738 | |
{ (exit 1); exit 1; }; }
|
739 | |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
740 | |
ac_env_build_alias_set=${build_alias+set}
|
741 | |
ac_env_build_alias_value=$build_alias
|
742 | |
ac_cv_env_build_alias_set=${build_alias+set}
|
743 | |
ac_cv_env_build_alias_value=$build_alias
|
744 | |
ac_env_host_alias_set=${host_alias+set}
|
745 | |
ac_env_host_alias_value=$host_alias
|
746 | |
ac_cv_env_host_alias_set=${host_alias+set}
|
747 | |
ac_cv_env_host_alias_value=$host_alias
|
748 | |
ac_env_target_alias_set=${target_alias+set}
|
749 | |
ac_env_target_alias_value=$target_alias
|
750 | |
ac_cv_env_target_alias_set=${target_alias+set}
|
751 | |
ac_cv_env_target_alias_value=$target_alias
|
752 | |
ac_env_CC_set=${CC+set}
|
753 | |
ac_env_CC_value=$CC
|
754 | |
ac_cv_env_CC_set=${CC+set}
|
755 | |
ac_cv_env_CC_value=$CC
|
756 | |
ac_env_CFLAGS_set=${CFLAGS+set}
|
757 | |
ac_env_CFLAGS_value=$CFLAGS
|
758 | |
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
759 | |
ac_cv_env_CFLAGS_value=$CFLAGS
|
760 | |
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
761 | |
ac_env_LDFLAGS_value=$LDFLAGS
|
762 | |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
763 | |
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
764 | |
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
765 | |
ac_env_CPPFLAGS_value=$CPPFLAGS
|
766 | |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
767 | |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
768 | |
ac_env_CPP_set=${CPP+set}
|
769 | |
ac_env_CPP_value=$CPP
|
770 | |
ac_cv_env_CPP_set=${CPP+set}
|
771 | |
ac_cv_env_CPP_value=$CPP
|
|
1184 |
pwd)`
|
|
1185 |
# When building in place, set srcdir=.
|
|
1186 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1187 |
srcdir=.
|
|
1188 |
fi
|
|
1189 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1190 |
# Double slashes in file names in object file debugging info
|
|
1191 |
# mess up M-x gdb in Emacs.
|
|
1192 |
case $srcdir in
|
|
1193 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|
1194 |
esac
|
|
1195 |
for ac_var in $ac_precious_vars; do
|
|
1196 |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|
1197 |
eval ac_env_${ac_var}_value=\$${ac_var}
|
|
1198 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|
1199 |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|
1200 |
done
|
772 | 1201 |
|
773 | 1202 |
#
|
774 | 1203 |
# Report the --help message.
|
|
797 | 1226 |
-n, --no-create do not create output files
|
798 | 1227 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
799 | 1228 |
|
800 | |
_ACEOF
|
801 | |
|
802 | |
cat <<_ACEOF
|
803 | 1229 |
Installation directories:
|
804 | 1230 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
805 | 1231 |
[$ac_default_prefix]
|
|
817 | 1243 |
--bindir=DIR user executables [EPREFIX/bin]
|
818 | 1244 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
819 | 1245 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
820 | |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
821 | 1246 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
822 | 1247 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
823 | 1248 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
824 | 1249 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
825 | 1250 |
--includedir=DIR C header files [PREFIX/include]
|
826 | 1251 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
827 | |
--infodir=DIR info documentation [PREFIX/info]
|
828 | |
--mandir=DIR man documentation [PREFIX/man]
|
|
1252 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1253 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1254 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1255 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1256 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1257 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1258 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1259 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1260 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1261 |
--psdir=DIR ps documentation [DOCDIR]
|
829 | 1262 |
_ACEOF
|
830 | 1263 |
|
831 | 1264 |
cat <<\_ACEOF
|
|
860 | 1293 |
CFLAGS C compiler flags
|
861 | 1294 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
862 | 1295 |
nonstandard directory <lib dir>
|
863 | |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
864 | |
headers in a nonstandard directory <include dir>
|
|
1296 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
1297 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1298 |
you have headers in a nonstandard directory <include dir>
|
865 | 1299 |
CPP C preprocessor
|
866 | 1300 |
|
867 | 1301 |
Use these variables to override the choices made by `configure' or to help
|
868 | 1302 |
it to find libraries and programs with nonstandard names/locations.
|
869 | 1303 |
|
870 | 1304 |
_ACEOF
|
|
1305 |
ac_status=$?
|
871 | 1306 |
fi
|
872 | 1307 |
|
873 | 1308 |
if test "$ac_init_help" = "recursive"; then
|
874 | 1309 |
# If there are subdirs, report their specific --help.
|
875 | |
ac_popdir=`pwd`
|
876 | 1310 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
877 | |
test -d $ac_dir || continue
|
|
1311 |
test -d "$ac_dir" || continue
|
878 | 1312 |
ac_builddir=.
|
879 | 1313 |
|
880 | |
if test "$ac_dir" != .; then
|
|
1314 |
case "$ac_dir" in
|
|
1315 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1316 |
*)
|
881 | 1317 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
882 | |
# A "../" for each directory in $ac_dir_suffix.
|
883 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
884 | |
else
|
885 | |
ac_dir_suffix= ac_top_builddir=
|
886 | |
fi
|
|
1318 |
# A ".." for each directory in $ac_dir_suffix.
|
|
1319 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1320 |
case $ac_top_builddir_sub in
|
|
1321 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1322 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1323 |
esac ;;
|
|
1324 |
esac
|
|
1325 |
ac_abs_top_builddir=$ac_pwd
|
|
1326 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
1327 |
# for backward compatibility:
|
|
1328 |
ac_top_builddir=$ac_top_build_prefix
|
887 | 1329 |
|
888 | 1330 |
case $srcdir in
|
889 | |
.) # No --srcdir option. We are building in place.
|
|
1331 |
.) # We are building in place.
|
890 | 1332 |
ac_srcdir=.
|
891 | |
if test -z "$ac_top_builddir"; then
|
892 | |
ac_top_srcdir=.
|
893 | |
else
|
894 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
895 | |
fi ;;
|
896 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
1333 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
1334 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
1335 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
897 | 1336 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
898 | |
ac_top_srcdir=$srcdir ;;
|
899 | |
*) # Relative path.
|
900 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
901 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
1337 |
ac_top_srcdir=$srcdir
|
|
1338 |
ac_abs_top_srcdir=$srcdir ;;
|
|
1339 |
*) # Relative name.
|
|
1340 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
1341 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
1342 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
902 | 1343 |
esac
|
903 | |
|
904 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
905 | |
# the directories may not exist.
|
906 | |
case `pwd` in
|
907 | |
.) ac_abs_builddir="$ac_dir";;
|
908 | |
*)
|
909 | |
case "$ac_dir" in
|
910 | |
.) ac_abs_builddir=`pwd`;;
|
911 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
912 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
913 | |
esac;;
|
914 | |
esac
|
915 | |
case $ac_abs_builddir in
|
916 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
917 | |
*)
|
918 | |
case ${ac_top_builddir}. in
|
919 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
920 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
921 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
922 | |
esac;;
|
923 | |
esac
|
924 | |
case $ac_abs_builddir in
|
925 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
926 | |
*)
|
927 | |
case $ac_srcdir in
|
928 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
929 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
930 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
931 | |
esac;;
|
932 | |
esac
|
933 | |
case $ac_abs_builddir in
|
934 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
935 | |
*)
|
936 | |
case $ac_top_srcdir in
|
937 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
938 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
939 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
940 | |
esac;;
|
941 | |
esac
|
942 | |
|
943 | |
cd $ac_dir
|
944 | |
# Check for guested configure; otherwise get Cygnus style configure.
|
945 | |
if test -f $ac_srcdir/configure.gnu; then
|
946 | |
echo
|
947 | |
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
948 | |
elif test -f $ac_srcdir/configure; then
|
949 | |
echo
|
950 | |
$SHELL $ac_srcdir/configure --help=recursive
|
951 | |
elif test -f $ac_srcdir/configure.ac ||
|
952 | |
test -f $ac_srcdir/configure.in; then
|
953 | |
echo
|
954 | |
$ac_configure --help
|
|
1344 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1345 |
|
|
1346 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
|
1347 |
# Check for guested configure.
|
|
1348 |
if test -f "$ac_srcdir/configure.gnu"; then
|
|
1349 |
echo &&
|
|
1350 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1351 |
elif test -f "$ac_srcdir/configure"; then
|
|
1352 |
echo &&
|
|
1353 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
955 | 1354 |
else
|
956 | 1355 |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
957 | |
fi
|
958 | |
cd "$ac_popdir"
|
|
1356 |
fi || ac_status=$?
|
|
1357 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
959 | 1358 |
done
|
960 | 1359 |
fi
|
961 | 1360 |
|
962 | |
test -n "$ac_init_help" && exit 0
|
|
1361 |
test -n "$ac_init_help" && exit $ac_status
|
963 | 1362 |
if $ac_init_version; then
|
964 | 1363 |
cat <<\_ACEOF
|
965 | |
|
966 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
1364 |
configure
|
|
1365 |
generated by GNU Autoconf 2.61
|
|
1366 |
|
|
1367 |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
1368 |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
967 | 1369 |
This configure script is free software; the Free Software Foundation
|
968 | 1370 |
gives unlimited permission to copy, distribute and modify it.
|
969 | 1371 |
_ACEOF
|
970 | |
exit 0
|
971 | |
fi
|
972 | |
exec 5>config.log
|
973 | |
cat >&5 <<_ACEOF
|
|
1372 |
exit
|
|
1373 |
fi
|
|
1374 |
cat >config.log <<_ACEOF
|
974 | 1375 |
This file contains any messages produced by compilers while
|
975 | 1376 |
running configure, to aid debugging if configure makes a mistake.
|
976 | 1377 |
|
977 | 1378 |
It was created by $as_me, which was
|
978 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
1379 |
generated by GNU Autoconf 2.61. Invocation command line was
|
979 | 1380 |
|
980 | 1381 |
$ $0 $@
|
981 | 1382 |
|
982 | 1383 |
_ACEOF
|
|
1384 |
exec 5>>config.log
|
983 | 1385 |
{
|
984 | 1386 |
cat <<_ASUNAME
|
985 | 1387 |
## --------- ##
|
|
998 | 1400 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
999 | 1401 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
1000 | 1402 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
1001 | |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
1403 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
1002 | 1404 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
1003 | 1405 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
1004 | 1406 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
1012 | 1414 |
test -z "$as_dir" && as_dir=.
|
1013 | 1415 |
echo "PATH: $as_dir"
|
1014 | 1416 |
done
|
|
1417 |
IFS=$as_save_IFS
|
1015 | 1418 |
|
1016 | 1419 |
} >&5
|
1017 | 1420 |
|
|
1033 | 1436 |
ac_configure_args=
|
1034 | 1437 |
ac_configure_args0=
|
1035 | 1438 |
ac_configure_args1=
|
1036 | |
ac_sep=
|
1037 | 1439 |
ac_must_keep_next=false
|
1038 | 1440 |
for ac_pass in 1 2
|
1039 | 1441 |
do
|
|
1044 | 1446 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1045 | 1447 |
| -silent | --silent | --silen | --sile | --sil)
|
1046 | 1448 |
continue ;;
|
1047 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
|
1449 |
*\'*)
|
1048 | 1450 |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1049 | 1451 |
esac
|
1050 | 1452 |
case $ac_pass in
|
|
1066 | 1468 |
-* ) ac_must_keep_next=true ;;
|
1067 | 1469 |
esac
|
1068 | 1470 |
fi
|
1069 | |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1070 | |
# Get rid of the leading space.
|
1071 | |
ac_sep=" "
|
|
1471 |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
1072 | 1472 |
;;
|
1073 | 1473 |
esac
|
1074 | 1474 |
done
|
|
1079 | 1479 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1080 | 1480 |
# config.log. We remove comments because anyway the quotes in there
|
1081 | 1481 |
# would cause problems or look ugly.
|
1082 | |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1083 | |
# such as our DU 5.0 friend, will then `close' the trap.
|
|
1482 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1483 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1084 | 1484 |
trap 'exit_status=$?
|
1085 | 1485 |
# Save into config.log some information that might help in debugging.
|
1086 | 1486 |
{
|
|
1093 | 1493 |
_ASBOX
|
1094 | 1494 |
echo
|
1095 | 1495 |
# The following way of writing the cache mishandles newlines in values,
|
1096 | |
{
|
|
1496 |
(
|
|
1497 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|
1498 |
eval ac_val=\$$ac_var
|
|
1499 |
case $ac_val in #(
|
|
1500 |
*${as_nl}*)
|
|
1501 |
case $ac_var in #(
|
|
1502 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
1503 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
1504 |
esac
|
|
1505 |
case $ac_var in #(
|
|
1506 |
_ | IFS | as_nl) ;; #(
|
|
1507 |
*) $as_unset $ac_var ;;
|
|
1508 |
esac ;;
|
|
1509 |
esac
|
|
1510 |
done
|
1097 | 1511 |
(set) 2>&1 |
|
1098 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1099 | |
*ac_space=\ *)
|
|
1512 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
1513 |
*${as_nl}ac_space=\ *)
|
1100 | 1514 |
sed -n \
|
1101 | |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1102 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
1515 |
"s/'\''/'\''\\\\'\'''\''/g;
|
|
1516 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|
1517 |
;; #(
|
|
1518 |
*)
|
|
1519 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1103 | 1520 |
;;
|
1104 | |
*)
|
1105 | |
sed -n \
|
1106 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1107 | |
;;
|
1108 | |
esac;
|
1109 | |
}
|
|
1521 |
esac |
|
|
1522 |
sort
|
|
1523 |
)
|
1110 | 1524 |
echo
|
1111 | 1525 |
|
1112 | 1526 |
cat <<\_ASBOX
|
|
1117 | 1531 |
echo
|
1118 | 1532 |
for ac_var in $ac_subst_vars
|
1119 | 1533 |
do
|
1120 | |
eval ac_val=$`echo $ac_var`
|
1121 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1534 |
eval ac_val=\$$ac_var
|
|
1535 |
case $ac_val in
|
|
1536 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1537 |
esac
|
|
1538 |
echo "$ac_var='\''$ac_val'\''"
|
1122 | 1539 |
done | sort
|
1123 | 1540 |
echo
|
1124 | 1541 |
|
1125 | 1542 |
if test -n "$ac_subst_files"; then
|
1126 | 1543 |
cat <<\_ASBOX
|
1127 | |
## ------------- ##
|
1128 | |
## Output files. ##
|
1129 | |
## ------------- ##
|
|
1544 |
## ------------------- ##
|
|
1545 |
## File substitutions. ##
|
|
1546 |
## ------------------- ##
|
1130 | 1547 |
_ASBOX
|
1131 | 1548 |
echo
|
1132 | 1549 |
for ac_var in $ac_subst_files
|
1133 | 1550 |
do
|
1134 | |
eval ac_val=$`echo $ac_var`
|
1135 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1551 |
eval ac_val=\$$ac_var
|
|
1552 |
case $ac_val in
|
|
1553 |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1554 |
esac
|
|
1555 |
echo "$ac_var='\''$ac_val'\''"
|
1136 | 1556 |
done | sort
|
1137 | 1557 |
echo
|
1138 | 1558 |
fi
|
|
1144 | 1564 |
## ----------- ##
|
1145 | 1565 |
_ASBOX
|
1146 | 1566 |
echo
|
1147 | |
sed "/^$/d" confdefs.h | sort
|
|
1567 |
cat confdefs.h
|
1148 | 1568 |
echo
|
1149 | 1569 |
fi
|
1150 | 1570 |
test "$ac_signal" != 0 &&
|
1151 | 1571 |
echo "$as_me: caught signal $ac_signal"
|
1152 | 1572 |
echo "$as_me: exit $exit_status"
|
1153 | 1573 |
} >&5
|
1154 | |
rm -f core *.core &&
|
1155 | |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1574 |
rm -f core *.core core.conftest.* &&
|
|
1575 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1156 | 1576 |
exit $exit_status
|
1157 | |
' 0
|
|
1577 |
' 0
|
1158 | 1578 |
for ac_signal in 1 2 13 15; do
|
1159 | 1579 |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
1160 | 1580 |
done
|
1161 | 1581 |
ac_signal=0
|
1162 | 1582 |
|
1163 | 1583 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1164 | |
rm -rf conftest* confdefs.h
|
1165 | |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1166 | |
echo >confdefs.h
|
|
1584 |
rm -f -r conftest* confdefs.h
|
1167 | 1585 |
|
1168 | 1586 |
# Predefined preprocessor variables.
|
1169 | 1587 |
|
|
1194 | 1612 |
|
1195 | 1613 |
# Let the site file select an alternate cache file if it wants to.
|
1196 | 1614 |
# Prefer explicitly selected file to automatically selected ones.
|
1197 | |
if test -z "$CONFIG_SITE"; then
|
1198 | |
if test "x$prefix" != xNONE; then
|
1199 | |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1200 | |
else
|
1201 | |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1202 | |
fi
|
1203 | |
fi
|
1204 | |
for ac_site_file in $CONFIG_SITE; do
|
|
1615 |
if test -n "$CONFIG_SITE"; then
|
|
1616 |
set x "$CONFIG_SITE"
|
|
1617 |
elif test "x$prefix" != xNONE; then
|
|
1618 |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
|
1619 |
else
|
|
1620 |
set x "$ac_default_prefix/share/config.site" \
|
|
1621 |
"$ac_default_prefix/etc/config.site"
|
|
1622 |
fi
|
|
1623 |
shift
|
|
1624 |
for ac_site_file
|
|
1625 |
do
|
1205 | 1626 |
if test -r "$ac_site_file"; then
|
1206 | 1627 |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1207 | 1628 |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1217 | 1638 |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1218 | 1639 |
echo "$as_me: loading cache $cache_file" >&6;}
|
1219 | 1640 |
case $cache_file in
|
1220 | |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1221 | |
*) . ./$cache_file;;
|
|
1641 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1642 |
*) . "./$cache_file";;
|
1222 | 1643 |
esac
|
1223 | 1644 |
fi
|
1224 | 1645 |
else
|
|
1230 | 1651 |
# Check that the precious variables saved in the cache have kept the same
|
1231 | 1652 |
# value.
|
1232 | 1653 |
ac_cache_corrupted=false
|
1233 | |
for ac_var in `(set) 2>&1 |
|
1234 | |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
1654 |
for ac_var in $ac_precious_vars; do
|
1235 | 1655 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1236 | 1656 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1237 | |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1238 | |
eval ac_new_val="\$ac_env_${ac_var}_value"
|
|
1657 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|
1658 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1239 | 1659 |
case $ac_old_set,$ac_new_set in
|
1240 | 1660 |
set,)
|
1241 | 1661 |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1260 | 1680 |
# Pass precious variables to config.status.
|
1261 | 1681 |
if test "$ac_new_set" = set; then
|
1262 | 1682 |
case $ac_new_val in
|
1263 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1264 | |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1683 |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1265 | 1684 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1266 | 1685 |
esac
|
1267 | 1686 |
case " $ac_configure_args " in
|
|
1278 | 1697 |
{ (exit 1); exit 1; }; }
|
1279 | 1698 |
fi
|
1280 | 1699 |
|
|
1700 |
|
|
1701 |
|
|
1702 |
|
|
1703 |
|
|
1704 |
|
|
1705 |
|
|
1706 |
|
|
1707 |
|
|
1708 |
|
|
1709 |
|
|
1710 |
|
|
1711 |
|
|
1712 |
|
|
1713 |
|
|
1714 |
|
|
1715 |
|
1281 | 1716 |
ac_ext=c
|
1282 | 1717 |
ac_cpp='$CPP $CPPFLAGS'
|
1283 | 1718 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
1285 | 1720 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1286 | 1721 |
|
1287 | 1722 |
|
1288 | |
|
1289 | |
|
1290 | |
|
1291 | |
|
1292 | |
|
1293 | |
|
1294 | |
|
1295 | |
|
1296 | |
|
1297 | |
|
1298 | |
|
1299 | |
|
1300 | |
|
1301 | |
|
1302 | |
|
1303 | |
|
1304 | |
|
1305 | |
ac_config_headers="$ac_config_headers geo_config.h"
|
|
1723 |
ac_config_headers="$ac_config_headers geo_config.h"
|
1306 | 1724 |
|
1307 | 1725 |
ac_aux_dir=
|
1308 | |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1309 | |
if test -f $ac_dir/install-sh; then
|
|
1726 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1727 |
if test -f "$ac_dir/install-sh"; then
|
1310 | 1728 |
ac_aux_dir=$ac_dir
|
1311 | 1729 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1312 | 1730 |
break
|
1313 | |
elif test -f $ac_dir/install.sh; then
|
|
1731 |
elif test -f "$ac_dir/install.sh"; then
|
1314 | 1732 |
ac_aux_dir=$ac_dir
|
1315 | 1733 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1316 | 1734 |
break
|
1317 | |
elif test -f $ac_dir/shtool; then
|
|
1735 |
elif test -f "$ac_dir/shtool"; then
|
1318 | 1736 |
ac_aux_dir=$ac_dir
|
1319 | 1737 |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1320 | 1738 |
break
|
1321 | 1739 |
fi
|
1322 | 1740 |
done
|
1323 | 1741 |
if test -z "$ac_aux_dir"; then
|
1324 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1325 | |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
|
1742 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
|
1743 |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1326 | 1744 |
{ (exit 1); exit 1; }; }
|
1327 | 1745 |
fi
|
1328 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1329 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1330 | |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
1746 |
|
|
1747 |
# These three variables are undocumented and unsupported,
|
|
1748 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
1749 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
1750 |
# whose full name contains unusual characters.
|
|
1751 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
1752 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
1753 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1754 |
|
1331 | 1755 |
|
1332 | 1756 |
# Make sure we can run config.sub.
|
1333 | |
$ac_config_sub sun4 >/dev/null 2>&1 ||
|
1334 | |
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
|
1335 | |
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
|
|
1757 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
|
1758 |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
|
1759 |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
1336 | 1760 |
{ (exit 1); exit 1; }; }
|
1337 | 1761 |
|
1338 | |
echo "$as_me:$LINENO: checking build system type" >&5
|
1339 | |
echo $ECHO_N "checking build system type... $ECHO_C" >&6
|
|
1762 |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
|
1763 |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
1340 | 1764 |
if test "${ac_cv_build+set}" = set; then
|
1341 | 1765 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1342 | 1766 |
else
|
1343 | |
ac_cv_build_alias=$build_alias
|
1344 | |
test -z "$ac_cv_build_alias" &&
|
1345 | |
ac_cv_build_alias=`$ac_config_guess`
|
1346 | |
test -z "$ac_cv_build_alias" &&
|
|
1767 |
ac_build_alias=$build_alias
|
|
1768 |
test "x$ac_build_alias" = x &&
|
|
1769 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
|
1770 |
test "x$ac_build_alias" = x &&
|
1347 | 1771 |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1348 | 1772 |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1349 | 1773 |
{ (exit 1); exit 1; }; }
|
1350 | |
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
|
1351 | |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
|
1352 | |
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
|
|
1774 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
|
1775 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
|
1776 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
1353 | 1777 |
{ (exit 1); exit 1; }; }
|
1354 | 1778 |
|
1355 | 1779 |
fi
|
1356 | |
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1357 | |
echo "${ECHO_T}$ac_cv_build" >&6
|
|
1780 |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|
1781 |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
|
1782 |
case $ac_cv_build in
|
|
1783 |
*-*-*) ;;
|
|
1784 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
|
1785 |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
|
1786 |
{ (exit 1); exit 1; }; };;
|
|
1787 |
esac
|
1358 | 1788 |
build=$ac_cv_build
|
1359 | |
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1360 | |
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1361 | |
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1362 | |
|
1363 | |
|
1364 | |
echo "$as_me:$LINENO: checking host system type" >&5
|
1365 | |
echo $ECHO_N "checking host system type... $ECHO_C" >&6
|
|
1789 |
ac_save_IFS=$IFS; IFS='-'
|
|
1790 |
set x $ac_cv_build
|
|
1791 |
shift
|
|
1792 |
build_cpu=$1
|
|
1793 |
build_vendor=$2
|
|
1794 |
shift; shift
|
|
1795 |
# Remember, the first character of IFS is used to create $*,
|
|
1796 |
# except with old shells:
|
|
1797 |
build_os=$*
|
|
1798 |
IFS=$ac_save_IFS
|
|
1799 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
|
1800 |
|
|
1801 |
|
|
1802 |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
|
1803 |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
1366 | 1804 |
if test "${ac_cv_host+set}" = set; then
|
1367 | 1805 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1368 | 1806 |
else
|
1369 | |
ac_cv_host_alias=$host_alias
|
1370 | |
test -z "$ac_cv_host_alias" &&
|
1371 | |
ac_cv_host_alias=$ac_cv_build_alias
|
1372 | |
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
|
1373 | |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
|
1374 | |
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
|
|
1807 |
if test "x$host_alias" = x; then
|
|
1808 |
ac_cv_host=$ac_cv_build
|
|
1809 |
else
|
|
1810 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
|
1811 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
|
1812 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
1375 | 1813 |
{ (exit 1); exit 1; }; }
|
1376 | |
|
1377 | |
fi
|
1378 | |
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1379 | |
echo "${ECHO_T}$ac_cv_host" >&6
|
|
1814 |
fi
|
|
1815 |
|
|
1816 |
fi
|
|
1817 |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|
1818 |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
|
1819 |
case $ac_cv_host in
|
|
1820 |
*-*-*) ;;
|
|
1821 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
|
1822 |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
|
1823 |
{ (exit 1); exit 1; }; };;
|
|
1824 |
esac
|
1380 | 1825 |
host=$ac_cv_host
|
1381 | |
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1382 | |
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1383 | |
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
1384 | |
|
1385 | |
|
1386 | |
echo "$as_me:$LINENO: checking target system type" >&5
|
1387 | |
echo $ECHO_N "checking target system type... $ECHO_C" >&6
|
|
1826 |
ac_save_IFS=$IFS; IFS='-'
|
|
1827 |
set x $ac_cv_host
|
|
1828 |
shift
|
|
1829 |
host_cpu=$1
|
|
1830 |
host_vendor=$2
|
|
1831 |
shift; shift
|
|
1832 |
# Remember, the first character of IFS is used to create $*,
|
|
1833 |
# except with old shells:
|
|
1834 |
host_os=$*
|
|
1835 |
IFS=$ac_save_IFS
|
|
1836 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
|
1837 |
|
|
1838 |
|
|
1839 |
{ echo "$as_me:$LINENO: checking target system type" >&5
|
|
1840 |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
1388 | 1841 |
if test "${ac_cv_target+set}" = set; then
|
1389 | 1842 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1390 | 1843 |
else
|
1391 | |
ac_cv_target_alias=$target_alias
|
1392 | |
test "x$ac_cv_target_alias" = "x" &&
|
1393 | |
ac_cv_target_alias=$ac_cv_host_alias
|
1394 | |
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
|
1395 | |
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
|
1396 | |
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
|
|
1844 |
if test "x$target_alias" = x; then
|
|
1845 |
ac_cv_target=$ac_cv_host
|
|
1846 |
else
|
|
1847 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
|
1848 |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
|
1849 |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
1397 | 1850 |
{ (exit 1); exit 1; }; }
|
1398 | |
|
1399 | |
fi
|
1400 | |
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1401 | |
echo "${ECHO_T}$ac_cv_target" >&6
|
|
1851 |
fi
|
|
1852 |
|
|
1853 |
fi
|
|
1854 |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
|
1855 |
echo "${ECHO_T}$ac_cv_target" >&6; }
|
|
1856 |
case $ac_cv_target in
|
|
1857 |
*-*-*) ;;
|
|
1858 |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
|
1859 |
echo "$as_me: error: invalid value of canonical target" >&2;}
|
|
1860 |
{ (exit 1); exit 1; }; };;
|
|
1861 |
esac
|
1402 | 1862 |
target=$ac_cv_target
|
1403 | |
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
1404 | |
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
1405 | |
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
|
1863 |
ac_save_IFS=$IFS; IFS='-'
|
|
1864 |
set x $ac_cv_target
|
|
1865 |
shift
|
|
1866 |
target_cpu=$1
|
|
1867 |
target_vendor=$2
|
|
1868 |
shift; shift
|
|
1869 |
# Remember, the first character of IFS is used to create $*,
|
|
1870 |
# except with old shells:
|
|
1871 |
target_os=$*
|
|
1872 |
IFS=$ac_save_IFS
|
|
1873 |
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
1406 | 1874 |
|
1407 | 1875 |
|
1408 | 1876 |
# The aliases save the names the user supplied, while $host etc.
|
|
1414 | 1882 |
|
1415 | 1883 |
VERSION_MAJOR=1
|
1416 | 1884 |
VERSION_MINOR=2
|
1417 | |
VERSION_POINT=4
|
|
1885 |
VERSION_POINT=5
|
1418 | 1886 |
VERSION_MAJOR=$VERSION_MAJOR
|
1419 | 1887 |
|
1420 | 1888 |
VERSION_MINOR=$VERSION_MINOR
|
|
1430 | 1898 |
if test -n "$ac_tool_prefix"; then
|
1431 | 1899 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1432 | 1900 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1433 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1434 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1901 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1902 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1435 | 1903 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1436 | 1904 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1437 | 1905 |
else
|
|
1444 | 1912 |
IFS=$as_save_IFS
|
1445 | 1913 |
test -z "$as_dir" && as_dir=.
|
1446 | 1914 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1447 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
1915 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1448 | 1916 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1449 | 1917 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1450 | 1918 |
break 2
|
1451 | 1919 |
fi
|
1452 | 1920 |
done
|
1453 | 1921 |
done
|
|
1922 |
IFS=$as_save_IFS
|
1454 | 1923 |
|
1455 | 1924 |
fi
|
1456 | 1925 |
fi
|
1457 | 1926 |
CC=$ac_cv_prog_CC
|
1458 | 1927 |
if test -n "$CC"; then
|
1459 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1460 | |
echo "${ECHO_T}$CC" >&6
|
1461 | |
else
|
1462 | |
echo "$as_me:$LINENO: result: no" >&5
|
1463 | |
echo "${ECHO_T}no" >&6
|
1464 | |
fi
|
|
1928 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
1929 |
echo "${ECHO_T}$CC" >&6; }
|
|
1930 |
else
|
|
1931 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
1932 |
echo "${ECHO_T}no" >&6; }
|
|
1933 |
fi
|
|
1934 |
|
1465 | 1935 |
|
1466 | 1936 |
fi
|
1467 | 1937 |
if test -z "$ac_cv_prog_CC"; then
|
1468 | 1938 |
ac_ct_CC=$CC
|
1469 | 1939 |
# Extract the first word of "gcc", so it can be a program name with args.
|
1470 | 1940 |
set dummy gcc; ac_word=$2
|
1471 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1472 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1941 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1942 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1473 | 1943 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1474 | 1944 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1475 | 1945 |
else
|
|
1482 | 1952 |
IFS=$as_save_IFS
|
1483 | 1953 |
test -z "$as_dir" && as_dir=.
|
1484 | 1954 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1485 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
1955 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1486 | 1956 |
ac_cv_prog_ac_ct_CC="gcc"
|
1487 | 1957 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1488 | 1958 |
break 2
|
1489 | 1959 |
fi
|
1490 | 1960 |
done
|
1491 | 1961 |
done
|
|
1962 |
IFS=$as_save_IFS
|
1492 | 1963 |
|
1493 | 1964 |
fi
|
1494 | 1965 |
fi
|
1495 | 1966 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1496 | 1967 |
if test -n "$ac_ct_CC"; then
|
1497 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1498 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1499 | |
else
|
1500 | |
echo "$as_me:$LINENO: result: no" >&5
|
1501 | |
echo "${ECHO_T}no" >&6
|
1502 | |
fi
|
1503 | |
|
1504 | |
CC=$ac_ct_CC
|
|
1968 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
1969 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
1970 |
else
|
|
1971 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
1972 |
echo "${ECHO_T}no" >&6; }
|
|
1973 |
fi
|
|
1974 |
|
|
1975 |
if test "x$ac_ct_CC" = x; then
|
|
1976 |
CC=""
|
|
1977 |
else
|
|
1978 |
case $cross_compiling:$ac_tool_warned in
|
|
1979 |
yes:)
|
|
1980 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
1981 |
whose name does not start with the host triplet. If you think this
|
|
1982 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
1983 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
1984 |
whose name does not start with the host triplet. If you think this
|
|
1985 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
1986 |
ac_tool_warned=yes ;;
|
|
1987 |
esac
|
|
1988 |
CC=$ac_ct_CC
|
|
1989 |
fi
|
1505 | 1990 |
else
|
1506 | 1991 |
CC="$ac_cv_prog_CC"
|
1507 | 1992 |
fi
|
1508 | 1993 |
|
1509 | 1994 |
if test -z "$CC"; then
|
1510 | |
if test -n "$ac_tool_prefix"; then
|
1511 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
1995 |
if test -n "$ac_tool_prefix"; then
|
|
1996 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1512 | 1997 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1513 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1514 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
1998 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
1999 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1515 | 2000 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1516 | 2001 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1517 | 2002 |
else
|
|
1524 | 2009 |
IFS=$as_save_IFS
|
1525 | 2010 |
test -z "$as_dir" && as_dir=.
|
1526 | 2011 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1527 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2012 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1528 | 2013 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1529 | 2014 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1530 | 2015 |
break 2
|
1531 | 2016 |
fi
|
1532 | 2017 |
done
|
1533 | 2018 |
done
|
|
2019 |
IFS=$as_save_IFS
|
1534 | 2020 |
|
1535 | 2021 |
fi
|
1536 | 2022 |
fi
|
1537 | 2023 |
CC=$ac_cv_prog_CC
|
1538 | 2024 |
if test -n "$CC"; then
|
1539 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1540 | |
echo "${ECHO_T}$CC" >&6
|
1541 | |
else
|
1542 | |
echo "$as_me:$LINENO: result: no" >&5
|
1543 | |
echo "${ECHO_T}no" >&6
|
1544 | |
fi
|
1545 | |
|
1546 | |
fi
|
1547 | |
if test -z "$ac_cv_prog_CC"; then
|
1548 | |
ac_ct_CC=$CC
|
1549 | |
# Extract the first word of "cc", so it can be a program name with args.
|
1550 | |
set dummy cc; ac_word=$2
|
1551 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1552 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1553 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1554 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1555 | |
else
|
1556 | |
if test -n "$ac_ct_CC"; then
|
1557 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1558 | |
else
|
1559 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1560 | |
for as_dir in $PATH
|
1561 | |
do
|
1562 | |
IFS=$as_save_IFS
|
1563 | |
test -z "$as_dir" && as_dir=.
|
1564 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1565 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1566 | |
ac_cv_prog_ac_ct_CC="cc"
|
1567 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1568 | |
break 2
|
|
2025 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2026 |
echo "${ECHO_T}$CC" >&6; }
|
|
2027 |
else
|
|
2028 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2029 |
echo "${ECHO_T}no" >&6; }
|
|
2030 |
fi
|
|
2031 |
|
|
2032 |
|
1569 | 2033 |
fi
|
1570 | |
done
|
1571 | |
done
|
1572 | |
|
1573 | |
fi
|
1574 | |
fi
|
1575 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1576 | |
if test -n "$ac_ct_CC"; then
|
1577 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1578 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1579 | |
else
|
1580 | |
echo "$as_me:$LINENO: result: no" >&5
|
1581 | |
echo "${ECHO_T}no" >&6
|
1582 | |
fi
|
1583 | |
|
1584 | |
CC=$ac_ct_CC
|
1585 | |
else
|
1586 | |
CC="$ac_cv_prog_CC"
|
1587 | |
fi
|
1588 | |
|
1589 | 2034 |
fi
|
1590 | 2035 |
if test -z "$CC"; then
|
1591 | 2036 |
# Extract the first word of "cc", so it can be a program name with args.
|
1592 | 2037 |
set dummy cc; ac_word=$2
|
1593 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1594 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2038 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2039 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1595 | 2040 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1596 | 2041 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1597 | 2042 |
else
|
|
1605 | 2050 |
IFS=$as_save_IFS
|
1606 | 2051 |
test -z "$as_dir" && as_dir=.
|
1607 | 2052 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1608 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2053 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1609 | 2054 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1610 | 2055 |
ac_prog_rejected=yes
|
1611 | 2056 |
continue
|
|
1616 | 2061 |
fi
|
1617 | 2062 |
done
|
1618 | 2063 |
done
|
|
2064 |
IFS=$as_save_IFS
|
1619 | 2065 |
|
1620 | 2066 |
if test $ac_prog_rejected = yes; then
|
1621 | 2067 |
# We found a bogon in the path, so make sure we never use it.
|
|
1633 | 2079 |
fi
|
1634 | 2080 |
CC=$ac_cv_prog_CC
|
1635 | 2081 |
if test -n "$CC"; then
|
1636 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1637 | |
echo "${ECHO_T}$CC" >&6
|
1638 | |
else
|
1639 | |
echo "$as_me:$LINENO: result: no" >&5
|
1640 | |
echo "${ECHO_T}no" >&6
|
1641 | |
fi
|
|
2082 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2083 |
echo "${ECHO_T}$CC" >&6; }
|
|
2084 |
else
|
|
2085 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2086 |
echo "${ECHO_T}no" >&6; }
|
|
2087 |
fi
|
|
2088 |
|
1642 | 2089 |
|
1643 | 2090 |
fi
|
1644 | 2091 |
if test -z "$CC"; then
|
1645 | 2092 |
if test -n "$ac_tool_prefix"; then
|
1646 | |
for ac_prog in cl
|
|
2093 |
for ac_prog in cl.exe
|
1647 | 2094 |
do
|
1648 | 2095 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1649 | 2096 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1650 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1651 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2097 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2098 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1652 | 2099 |
if test "${ac_cv_prog_CC+set}" = set; then
|
1653 | 2100 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1654 | 2101 |
else
|
|
1661 | 2108 |
IFS=$as_save_IFS
|
1662 | 2109 |
test -z "$as_dir" && as_dir=.
|
1663 | 2110 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1664 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2111 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1665 | 2112 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
1666 | 2113 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1667 | 2114 |
break 2
|
1668 | 2115 |
fi
|
1669 | 2116 |
done
|
1670 | 2117 |
done
|
|
2118 |
IFS=$as_save_IFS
|
1671 | 2119 |
|
1672 | 2120 |
fi
|
1673 | 2121 |
fi
|
1674 | 2122 |
CC=$ac_cv_prog_CC
|
1675 | 2123 |
if test -n "$CC"; then
|
1676 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1677 | |
echo "${ECHO_T}$CC" >&6
|
1678 | |
else
|
1679 | |
echo "$as_me:$LINENO: result: no" >&5
|
1680 | |
echo "${ECHO_T}no" >&6
|
1681 | |
fi
|
|
2124 |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
|
2125 |
echo "${ECHO_T}$CC" >&6; }
|
|
2126 |
else
|
|
2127 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2128 |
echo "${ECHO_T}no" >&6; }
|
|
2129 |
fi
|
|
2130 |
|
1682 | 2131 |
|
1683 | 2132 |
test -n "$CC" && break
|
1684 | 2133 |
done
|
1685 | 2134 |
fi
|
1686 | 2135 |
if test -z "$CC"; then
|
1687 | 2136 |
ac_ct_CC=$CC
|
1688 | |
for ac_prog in cl
|
|
2137 |
for ac_prog in cl.exe
|
1689 | 2138 |
do
|
1690 | 2139 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1691 | 2140 |
set dummy $ac_prog; ac_word=$2
|
1692 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1693 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2141 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2142 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1694 | 2143 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1695 | 2144 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1696 | 2145 |
else
|
|
1703 | 2152 |
IFS=$as_save_IFS
|
1704 | 2153 |
test -z "$as_dir" && as_dir=.
|
1705 | 2154 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1706 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2155 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1707 | 2156 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
1708 | 2157 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1709 | 2158 |
break 2
|
1710 | 2159 |
fi
|
1711 | 2160 |
done
|
1712 | 2161 |
done
|
|
2162 |
IFS=$as_save_IFS
|
1713 | 2163 |
|
1714 | 2164 |
fi
|
1715 | 2165 |
fi
|
1716 | 2166 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1717 | 2167 |
if test -n "$ac_ct_CC"; then
|
1718 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1719 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1720 | |
else
|
1721 | |
echo "$as_me:$LINENO: result: no" >&5
|
1722 | |
echo "${ECHO_T}no" >&6
|
1723 | |
fi
|
|
2168 |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
2169 |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
|
2170 |
else
|
|
2171 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2172 |
echo "${ECHO_T}no" >&6; }
|
|
2173 |
fi
|
|
2174 |
|
1724 | 2175 |
|
1725 | 2176 |
test -n "$ac_ct_CC" && break
|
1726 | 2177 |
done
|
1727 | 2178 |
|
1728 | |
CC=$ac_ct_CC
|
|
2179 |
if test "x$ac_ct_CC" = x; then
|
|
2180 |
CC=""
|
|
2181 |
else
|
|
2182 |
case $cross_compiling:$ac_tool_warned in
|
|
2183 |
yes:)
|
|
2184 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2185 |
whose name does not start with the host triplet. If you think this
|
|
2186 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
2187 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
2188 |
whose name does not start with the host triplet. If you think this
|
|
2189 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
2190 |
ac_tool_warned=yes ;;
|
|
2191 |
esac
|
|
2192 |
CC=$ac_ct_CC
|
|
2193 |
fi
|
1729 | 2194 |
fi
|
1730 | 2195 |
|
1731 | 2196 |
fi
|
|
1738 | 2203 |
{ (exit 1); exit 1; }; }
|
1739 | 2204 |
|
1740 | 2205 |
# Provide some information about the compiler.
|
1741 | |
echo "$as_me:$LINENO:" \
|
1742 | |
"checking for C compiler version" >&5
|
|
2206 |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
1743 | 2207 |
ac_compiler=`set X $ac_compile; echo $2`
|
1744 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
1745 | |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
2208 |
{ (ac_try="$ac_compiler --version >&5"
|
|
2209 |
case "(($ac_try" in
|
|
2210 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2211 |
*) ac_try_echo=$ac_try;;
|
|
2212 |
esac
|
|
2213 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2214 |
(eval "$ac_compiler --version >&5") 2>&5
|
1746 | 2215 |
ac_status=$?
|
1747 | 2216 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1748 | 2217 |
(exit $ac_status); }
|
1749 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
1750 | |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
|
2218 |
{ (ac_try="$ac_compiler -v >&5"
|
|
2219 |
case "(($ac_try" in
|
|
2220 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2221 |
*) ac_try_echo=$ac_try;;
|
|
2222 |
esac
|
|
2223 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2224 |
(eval "$ac_compiler -v >&5") 2>&5
|
1751 | 2225 |
ac_status=$?
|
1752 | 2226 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1753 | 2227 |
(exit $ac_status); }
|
1754 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
1755 | |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
|
2228 |
{ (ac_try="$ac_compiler -V >&5"
|
|
2229 |
case "(($ac_try" in
|
|
2230 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2231 |
*) ac_try_echo=$ac_try;;
|
|
2232 |
esac
|
|
2233 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2234 |
(eval "$ac_compiler -V >&5") 2>&5
|
1756 | 2235 |
ac_status=$?
|
1757 | 2236 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1758 | 2237 |
(exit $ac_status); }
|
|
1777 | 2256 |
# Try to create an executable without -o first, disregard a.out.
|
1778 | 2257 |
# It will help us diagnose broken compilers, and finding out an intuition
|
1779 | 2258 |
# of exeext.
|
1780 | |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
1781 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
|
2259 |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
|
2260 |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
1782 | 2261 |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
1783 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
1784 | |
(eval $ac_link_default) 2>&5
|
|
2262 |
#
|
|
2263 |
# List of possible output files, starting from the most likely.
|
|
2264 |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
|
2265 |
# only as a last resort. b.out is created by i960 compilers.
|
|
2266 |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
|
2267 |
#
|
|
2268 |
# The IRIX 6 linker writes into existing files which may not be
|
|
2269 |
# executable, retaining their permissions. Remove them first so a
|
|
2270 |
# subsequent execution test works.
|
|
2271 |
ac_rmfiles=
|
|
2272 |
for ac_file in $ac_files
|
|
2273 |
do
|
|
2274 |
case $ac_file in
|
|
2275 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
2276 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2277 |
esac
|
|
2278 |
done
|
|
2279 |
rm -f $ac_rmfiles
|
|
2280 |
|
|
2281 |
if { (ac_try="$ac_link_default"
|
|
2282 |
case "(($ac_try" in
|
|
2283 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2284 |
*) ac_try_echo=$ac_try;;
|
|
2285 |
esac
|
|
2286 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2287 |
(eval "$ac_link_default") 2>&5
|
1785 | 2288 |
ac_status=$?
|
1786 | 2289 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1787 | 2290 |
(exit $ac_status); }; then
|
1788 | |
# Find the output, starting from the most likely. This scheme is
|
1789 | |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
1790 | |
# resort.
|
1791 | |
|
1792 | |
# Be careful to initialize this variable, since it used to be cached.
|
1793 | |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
1794 | |
ac_cv_exeext=
|
1795 | |
# b.out is created by i960 compilers.
|
1796 | |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
|
2291 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
2292 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
2293 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2294 |
# so that the user can short-circuit this test for compilers unknown to
|
|
2295 |
# Autoconf.
|
|
2296 |
for ac_file in $ac_files ''
|
1797 | 2297 |
do
|
1798 | 2298 |
test -f "$ac_file" || continue
|
1799 | 2299 |
case $ac_file in
|
1800 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
1801 | |
;;
|
1802 | |
conftest.$ac_ext )
|
1803 | |
# This is the source file.
|
|
2300 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
1804 | 2301 |
;;
|
1805 | 2302 |
[ab].out )
|
1806 | 2303 |
# We found the default executable, but exeext='' is most
|
1807 | 2304 |
# certainly right.
|
1808 | 2305 |
break;;
|
1809 | 2306 |
*.* )
|
1810 | |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1811 | |
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
1812 | |
# but it would be cool to find out if it's true. Does anybody
|
1813 | |
# maintain Libtool? --akim.
|
1814 | |
export ac_cv_exeext
|
|
2307 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2308 |
then :; else
|
|
2309 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2310 |
fi
|
|
2311 |
# We set ac_cv_exeext here because the later test for it is not
|
|
2312 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
2313 |
# argument, so we may need to know it at that point already.
|
|
2314 |
# Even if this section looks crufty: it has the advantage of
|
|
2315 |
# actually working.
|
1815 | 2316 |
break;;
|
1816 | 2317 |
* )
|
1817 | 2318 |
break;;
|
1818 | 2319 |
esac
|
1819 | 2320 |
done
|
1820 | |
else
|
|
2321 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
2322 |
|
|
2323 |
else
|
|
2324 |
ac_file=''
|
|
2325 |
fi
|
|
2326 |
|
|
2327 |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
2328 |
echo "${ECHO_T}$ac_file" >&6; }
|
|
2329 |
if test -z "$ac_file"; then
|
1821 | 2330 |
echo "$as_me: failed program was:" >&5
|
1822 | 2331 |
sed 's/^/| /' conftest.$ac_ext >&5
|
1823 | 2332 |
|
|
1829 | 2338 |
fi
|
1830 | 2339 |
|
1831 | 2340 |
ac_exeext=$ac_cv_exeext
|
1832 | |
echo "$as_me:$LINENO: result: $ac_file" >&5
|
1833 | |
echo "${ECHO_T}$ac_file" >&6
|
1834 | |
|
1835 | |
# Check the compiler produces executables we can run. If not, either
|
|
2341 |
|
|
2342 |
# Check that the compiler produces executables we can run. If not, either
|
1836 | 2343 |
# the compiler is broken, or we cross compile.
|
1837 | |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
1838 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
|
2344 |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
|
2345 |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
1839 | 2346 |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
1840 | 2347 |
# If not cross compiling, check that we can run a simple program.
|
1841 | 2348 |
if test "$cross_compiling" != yes; then
|
1842 | 2349 |
if { ac_try='./$ac_file'
|
1843 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1844 | |
(eval $ac_try) 2>&5
|
|
2350 |
{ (case "(($ac_try" in
|
|
2351 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2352 |
*) ac_try_echo=$ac_try;;
|
|
2353 |
esac
|
|
2354 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2355 |
(eval "$ac_try") 2>&5
|
1845 | 2356 |
ac_status=$?
|
1846 | 2357 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1847 | 2358 |
(exit $ac_status); }; }; then
|
|
1860 | 2371 |
fi
|
1861 | 2372 |
fi
|
1862 | 2373 |
fi
|
1863 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1864 | |
echo "${ECHO_T}yes" >&6
|
|
2374 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2375 |
echo "${ECHO_T}yes" >&6; }
|
1865 | 2376 |
|
1866 | 2377 |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
1867 | 2378 |
ac_clean_files=$ac_clean_files_save
|
1868 | |
# Check the compiler produces executables we can run. If not, either
|
|
2379 |
# Check that the compiler produces executables we can run. If not, either
|
1869 | 2380 |
# the compiler is broken, or we cross compile.
|
1870 | |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
1871 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
1872 | |
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
1873 | |
echo "${ECHO_T}$cross_compiling" >&6
|
1874 | |
|
1875 | |
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
1876 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
1877 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
1878 | |
(eval $ac_link) 2>&5
|
|
2381 |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
|
2382 |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
|
2383 |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
|
2384 |
echo "${ECHO_T}$cross_compiling" >&6; }
|
|
2385 |
|
|
2386 |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
2387 |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
|
2388 |
if { (ac_try="$ac_link"
|
|
2389 |
case "(($ac_try" in
|
|
2390 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2391 |
*) ac_try_echo=$ac_try;;
|
|
2392 |
esac
|
|
2393 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2394 |
(eval "$ac_link") 2>&5
|
1879 | 2395 |
ac_status=$?
|
1880 | 2396 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1881 | 2397 |
(exit $ac_status); }; then
|
|
1886 | 2402 |
for ac_file in conftest.exe conftest conftest.*; do
|
1887 | 2403 |
test -f "$ac_file" || continue
|
1888 | 2404 |
case $ac_file in
|
1889 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
2405 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
1890 | 2406 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
1891 | |
export ac_cv_exeext
|
1892 | 2407 |
break;;
|
1893 | 2408 |
* ) break;;
|
1894 | 2409 |
esac
|
|
1902 | 2417 |
fi
|
1903 | 2418 |
|
1904 | 2419 |
rm -f conftest$ac_cv_exeext
|
1905 | |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
1906 | |
echo "${ECHO_T}$ac_cv_exeext" >&6
|
|
2420 |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
2421 |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
1907 | 2422 |
|
1908 | 2423 |
rm -f conftest.$ac_ext
|
1909 | 2424 |
EXEEXT=$ac_cv_exeext
|
1910 | 2425 |
ac_exeext=$EXEEXT
|
1911 | |
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
1912 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
|
2426 |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
2427 |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
1913 | 2428 |
if test "${ac_cv_objext+set}" = set; then
|
1914 | 2429 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1915 | 2430 |
else
|
|
1929 | 2444 |
}
|
1930 | 2445 |
_ACEOF
|
1931 | 2446 |
rm -f conftest.o conftest.obj
|
1932 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1933 | |
(eval $ac_compile) 2>&5
|
|
2447 |
if { (ac_try="$ac_compile"
|
|
2448 |
case "(($ac_try" in
|
|
2449 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2450 |
*) ac_try_echo=$ac_try;;
|
|
2451 |
esac
|
|
2452 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2453 |
(eval "$ac_compile") 2>&5
|
1934 | 2454 |
ac_status=$?
|
1935 | 2455 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1936 | 2456 |
(exit $ac_status); }; then
|
1937 | |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
|
2457 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
|
2458 |
test -f "$ac_file" || continue;
|
1938 | 2459 |
case $ac_file in
|
1939 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
|
2460 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
1940 | 2461 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
1941 | 2462 |
break;;
|
1942 | 2463 |
esac
|
|
1954 | 2475 |
|
1955 | 2476 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
1956 | 2477 |
fi
|
1957 | |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
1958 | |
echo "${ECHO_T}$ac_cv_objext" >&6
|
|
2478 |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
2479 |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
1959 | 2480 |
OBJEXT=$ac_cv_objext
|
1960 | 2481 |
ac_objext=$OBJEXT
|
1961 | |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
1962 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
|
2482 |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
2483 |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
1963 | 2484 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
1964 | 2485 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1965 | 2486 |
else
|
|
1982 | 2503 |
}
|
1983 | 2504 |
_ACEOF
|
1984 | 2505 |
rm -f conftest.$ac_objext
|
1985 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
1986 | |
(eval $ac_compile) 2>conftest.er1
|
|
2506 |
if { (ac_try="$ac_compile"
|
|
2507 |
case "(($ac_try" in
|
|
2508 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2509 |
*) ac_try_echo=$ac_try;;
|
|
2510 |
esac
|
|
2511 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2512 |
(eval "$ac_compile") 2>conftest.er1
|
1987 | 2513 |
ac_status=$?
|
1988 | 2514 |
grep -v '^ *+' conftest.er1 >conftest.err
|
1989 | 2515 |
rm -f conftest.er1
|
1990 | 2516 |
cat conftest.err >&5
|
1991 | 2517 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1992 | |
(exit $ac_status); } &&
|
1993 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
1994 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
1995 | |
(eval $ac_try) 2>&5
|
1996 | |
ac_status=$?
|
1997 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
1998 | |
(exit $ac_status); }; } &&
|
1999 | |
{ ac_try='test -s conftest.$ac_objext'
|
2000 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2001 | |
(eval $ac_try) 2>&5
|
2002 | |
ac_status=$?
|
2003 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2004 | |
(exit $ac_status); }; }; then
|
|
2518 |
(exit $ac_status); } && {
|
|
2519 |
test -z "$ac_c_werror_flag" ||
|
|
2520 |
test ! -s conftest.err
|
|
2521 |
} && test -s conftest.$ac_objext; then
|
2005 | 2522 |
ac_compiler_gnu=yes
|
2006 | 2523 |
else
|
2007 | 2524 |
echo "$as_me: failed program was:" >&5
|
2008 | 2525 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2009 | 2526 |
|
2010 | |
ac_compiler_gnu=no
|
2011 | |
fi
|
2012 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2527 |
ac_compiler_gnu=no
|
|
2528 |
fi
|
|
2529 |
|
|
2530 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2013 | 2531 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2014 | 2532 |
|
2015 | 2533 |
fi
|
2016 | |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2017 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
|
2534 |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
2535 |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2018 | 2536 |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
2019 | 2537 |
ac_test_CFLAGS=${CFLAGS+set}
|
2020 | 2538 |
ac_save_CFLAGS=$CFLAGS
|
2021 | |
CFLAGS="-g"
|
2022 | |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2023 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
|
2539 |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
2540 |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2024 | 2541 |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2025 | 2542 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2026 | 2543 |
else
|
2027 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
2544 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
2545 |
ac_c_werror_flag=yes
|
|
2546 |
ac_cv_prog_cc_g=no
|
|
2547 |
CFLAGS="-g"
|
|
2548 |
cat >conftest.$ac_ext <<_ACEOF
|
2028 | 2549 |
/* confdefs.h. */
|
2029 | 2550 |
_ACEOF
|
2030 | 2551 |
cat confdefs.h >>conftest.$ac_ext
|
|
2040 | 2561 |
}
|
2041 | 2562 |
_ACEOF
|
2042 | 2563 |
rm -f conftest.$ac_objext
|
2043 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2044 | |
(eval $ac_compile) 2>conftest.er1
|
|
2564 |
if { (ac_try="$ac_compile"
|
|
2565 |
case "(($ac_try" in
|
|
2566 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2567 |
*) ac_try_echo=$ac_try;;
|
|
2568 |
esac
|
|
2569 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2570 |
(eval "$ac_compile") 2>conftest.er1
|
2045 | 2571 |
ac_status=$?
|
2046 | 2572 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2047 | 2573 |
rm -f conftest.er1
|
2048 | 2574 |
cat conftest.err >&5
|
2049 | 2575 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2050 | |
(exit $ac_status); } &&
|
2051 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2052 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2053 | |
(eval $ac_try) 2>&5
|
2054 | |
ac_status=$?
|
2055 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2056 | |
(exit $ac_status); }; } &&
|
2057 | |
{ ac_try='test -s conftest.$ac_objext'
|
2058 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2059 | |
(eval $ac_try) 2>&5
|
2060 | |
ac_status=$?
|
2061 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2062 | |
(exit $ac_status); }; }; then
|
|
2576 |
(exit $ac_status); } && {
|
|
2577 |
test -z "$ac_c_werror_flag" ||
|
|
2578 |
test ! -s conftest.err
|
|
2579 |
} && test -s conftest.$ac_objext; then
|
2063 | 2580 |
ac_cv_prog_cc_g=yes
|
2064 | 2581 |
else
|
2065 | 2582 |
echo "$as_me: failed program was:" >&5
|
2066 | 2583 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2067 | 2584 |
|
2068 | |
ac_cv_prog_cc_g=no
|
2069 | |
fi
|
2070 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2071 | |
fi
|
2072 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2073 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
2585 |
CFLAGS=""
|
|
2586 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2587 |
/* confdefs.h. */
|
|
2588 |
_ACEOF
|
|
2589 |
cat confdefs.h >>conftest.$ac_ext
|
|
2590 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2591 |
/* end confdefs.h. */
|
|
2592 |
|
|
2593 |
int
|
|
2594 |
main ()
|
|
2595 |
{
|
|
2596 |
|
|
2597 |
;
|
|
2598 |
return 0;
|
|
2599 |
}
|
|
2600 |
_ACEOF
|
|
2601 |
rm -f conftest.$ac_objext
|
|
2602 |
if { (ac_try="$ac_compile"
|
|
2603 |
case "(($ac_try" in
|
|
2604 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2605 |
*) ac_try_echo=$ac_try;;
|
|
2606 |
esac
|
|
2607 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2608 |
(eval "$ac_compile") 2>conftest.er1
|
|
2609 |
ac_status=$?
|
|
2610 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2611 |
rm -f conftest.er1
|
|
2612 |
cat conftest.err >&5
|
|
2613 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2614 |
(exit $ac_status); } && {
|
|
2615 |
test -z "$ac_c_werror_flag" ||
|
|
2616 |
test ! -s conftest.err
|
|
2617 |
} && test -s conftest.$ac_objext; then
|
|
2618 |
:
|
|
2619 |
else
|
|
2620 |
echo "$as_me: failed program was:" >&5
|
|
2621 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2622 |
|
|
2623 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
2624 |
CFLAGS="-g"
|
|
2625 |
cat >conftest.$ac_ext <<_ACEOF
|
|
2626 |
/* confdefs.h. */
|
|
2627 |
_ACEOF
|
|
2628 |
cat confdefs.h >>conftest.$ac_ext
|
|
2629 |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2630 |
/* end confdefs.h. */
|
|
2631 |
|
|
2632 |
int
|
|
2633 |
main ()
|
|
2634 |
{
|
|
2635 |
|
|
2636 |
;
|
|
2637 |
return 0;
|
|
2638 |
}
|
|
2639 |
_ACEOF
|
|
2640 |
rm -f conftest.$ac_objext
|
|
2641 |
if { (ac_try="$ac_compile"
|
|
2642 |
case "(($ac_try" in
|
|
2643 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2644 |
*) ac_try_echo=$ac_try;;
|
|
2645 |
esac
|
|
2646 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2647 |
(eval "$ac_compile") 2>conftest.er1
|
|
2648 |
ac_status=$?
|
|
2649 |
grep -v '^ *+' conftest.er1 >conftest.err
|
|
2650 |
rm -f conftest.er1
|
|
2651 |
cat conftest.err >&5
|
|
2652 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
2653 |
(exit $ac_status); } && {
|
|
2654 |
test -z "$ac_c_werror_flag" ||
|
|
2655 |
test ! -s conftest.err
|
|
2656 |
} && test -s conftest.$ac_objext; then
|
|
2657 |
ac_cv_prog_cc_g=yes
|
|
2658 |
else
|
|
2659 |
echo "$as_me: failed program was:" >&5
|
|
2660 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2661 |
|
|
2662 |
|
|
2663 |
fi
|
|
2664 |
|
|
2665 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2666 |
fi
|
|
2667 |
|
|
2668 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2669 |
fi
|
|
2670 |
|
|
2671 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2672 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
2673 |
fi
|
|
2674 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
2675 |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
2074 | 2676 |
if test "$ac_test_CFLAGS" = set; then
|
2075 | 2677 |
CFLAGS=$ac_save_CFLAGS
|
2076 | 2678 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2086 | 2688 |
CFLAGS=
|
2087 | 2689 |
fi
|
2088 | 2690 |
fi
|
2089 | |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
2090 | |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2091 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
|
2691 |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
2692 |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
|
2693 |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2092 | 2694 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2093 | 2695 |
else
|
2094 | |
ac_cv_prog_cc_stdc=no
|
|
2696 |
ac_cv_prog_cc_c89=no
|
2095 | 2697 |
ac_save_CC=$CC
|
2096 | 2698 |
cat >conftest.$ac_ext <<_ACEOF
|
2097 | 2699 |
/* confdefs.h. */
|
|
2125 | 2727 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
2126 | 2728 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
2127 | 2729 |
These don't provoke an error unfortunately, instead are silently treated
|
2128 | |
as 'x'. The following induces an error, until -std1 is added to get
|
|
2730 |
as 'x'. The following induces an error, until -std is added to get
|
2129 | 2731 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
2130 | 2732 |
array size at least. It's necessary to write '\x00'==0 to get something
|
2131 | |
that's true only with -std1. */
|
|
2733 |
that's true only with -std. */
|
2132 | 2734 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
2735 |
|
|
2736 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
2737 |
inside strings and character constants. */
|
|
2738 |
#define FOO(x) 'x'
|
|
2739 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
2133 | 2740 |
|
2134 | 2741 |
int test (int i, double x);
|
2135 | 2742 |
struct s1 {int (*f) (int a);};
|
|
2145 | 2752 |
return 0;
|
2146 | 2753 |
}
|
2147 | 2754 |
_ACEOF
|
2148 | |
# Don't try gcc -ansi; that turns off useful extensions and
|
2149 | |
# breaks some systems' header files.
|
2150 | |
# AIX -qlanglvl=ansi
|
2151 | |
# Ultrix and OSF/1 -std1
|
2152 | |
# HP-UX 10.20 and later -Ae
|
2153 | |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2154 | |
# SVR4 -Xc -D__EXTENSIONS__
|
2155 | |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
2755 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
2756 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2156 | 2757 |
do
|
2157 | 2758 |
CC="$ac_save_CC $ac_arg"
|
2158 | 2759 |
rm -f conftest.$ac_objext
|
2159 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2160 | |
(eval $ac_compile) 2>conftest.er1
|
|
2760 |
if { (ac_try="$ac_compile"
|
|
2761 |
case "(($ac_try" in
|
|
2762 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2763 |
*) ac_try_echo=$ac_try;;
|
|
2764 |
esac
|
|
2765 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
2766 |
(eval "$ac_compile") 2>conftest.er1
|
2161 | 2767 |
ac_status=$?
|
2162 | 2768 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2163 | 2769 |
rm -f conftest.er1
|
2164 | 2770 |
cat conftest.err >&5
|
2165 | 2771 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2166 | |
(exit $ac_status); } &&
|
2167 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2168 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2169 | |
(eval $ac_try) 2>&5
|
2170 | |
ac_status=$?
|
2171 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2172 | |
(exit $ac_status); }; } &&
|
2173 | |
{ ac_try='test -s conftest.$ac_objext'
|
2174 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2175 | |
(eval $ac_try) 2>&5
|
2176 | |
ac_status=$?
|
2177 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2178 | |
(exit $ac_status); }; }; then
|
2179 | |
ac_cv_prog_cc_stdc=$ac_arg
|
2180 | |
break
|
|
2772 |
(exit $ac_status); } && {
|
|
2773 |
test -z "$ac_c_werror_flag" ||
|
|
2774 |
test ! -s conftest.err
|
|
2775 |
} && test -s conftest.$ac_objext; then
|
|
2776 |
ac_cv_prog_cc_c89=$ac_arg
|
2181 | 2777 |
else
|
2182 | 2778 |
echo "$as_me: failed program was:" >&5
|
2183 | 2779 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2184 | 2780 |
|
2185 | |
fi
|
2186 | |
rm -f conftest.err conftest.$ac_objext
|
|
2781 |
|
|
2782 |
fi
|
|
2783 |
|
|
2784 |
rm -f core conftest.err conftest.$ac_objext
|
|
2785 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2187 | 2786 |
done
|
2188 | |
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
2787 |
rm -f conftest.$ac_ext
|
2189 | 2788 |
CC=$ac_save_CC
|
2190 | 2789 |
|
2191 | 2790 |
fi
|
2192 | |
|
2193 | |
case "x$ac_cv_prog_cc_stdc" in
|
2194 | |
x|xno)
|
2195 | |
echo "$as_me:$LINENO: result: none needed" >&5
|
2196 | |
echo "${ECHO_T}none needed" >&6 ;;
|
|
2791 |
# AC_CACHE_VAL
|
|
2792 |
case "x$ac_cv_prog_cc_c89" in
|
|
2793 |
x)
|
|
2794 |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
|
2795 |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
2796 |
xno)
|
|
2797 |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
|
2798 |
echo "${ECHO_T}unsupported" >&6; } ;;
|
2197 | 2799 |
*)
|
2198 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2199 | |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2200 | |
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
|
2800 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
2801 |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
2802 |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
2201 | 2803 |
esac
|
2202 | 2804 |
|
2203 | |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2204 | |
# in C++ we need to declare it. In case someone uses the same compiler
|
2205 | |
# for both compiling C and C++ we need to have the C++ compiler decide
|
2206 | |
# the declaration of exit, since it's the most demanding environment.
|
2207 | |
cat >conftest.$ac_ext <<_ACEOF
|
2208 | |
#ifndef __cplusplus
|
2209 | |
choke me
|
2210 | |
#endif
|
2211 | |
_ACEOF
|
2212 | |
rm -f conftest.$ac_objext
|
2213 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2214 | |
(eval $ac_compile) 2>conftest.er1
|
2215 | |
ac_status=$?
|
2216 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2217 | |
rm -f conftest.er1
|
2218 | |
cat conftest.err >&5
|
2219 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2220 | |
(exit $ac_status); } &&
|
2221 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2222 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2223 | |
(eval $ac_try) 2>&5
|
2224 | |
ac_status=$?
|
2225 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2226 | |
(exit $ac_status); }; } &&
|
2227 | |
{ ac_try='test -s conftest.$ac_objext'
|
2228 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2229 | |
(eval $ac_try) 2>&5
|
2230 | |
ac_status=$?
|
2231 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2232 | |
(exit $ac_status); }; }; then
|
2233 | |
for ac_declaration in \
|
2234 | |
'' \
|
2235 | |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2236 | |
'extern "C" void std::exit (int); using std::exit;' \
|
2237 | |
'extern "C" void exit (int) throw ();' \
|
2238 | |
'extern "C" void exit (int);' \
|
2239 | |
'void exit (int);'
|
2240 | |
do
|
2241 | |
cat >conftest.$ac_ext <<_ACEOF
|
2242 | |
/* confdefs.h. */
|
2243 | |
_ACEOF
|
2244 | |
cat confdefs.h >>conftest.$ac_ext
|
2245 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2246 | |
/* end confdefs.h. */
|
2247 | |
$ac_declaration
|
2248 | |
#include <stdlib.h>
|
2249 | |
int
|
2250 | |
main ()
|
2251 | |
{
|
2252 | |
exit (42);
|
2253 | |
;
|
2254 | |
return 0;
|
2255 | |
}
|
2256 | |
_ACEOF
|
2257 | |
rm -f conftest.$ac_objext
|
2258 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2259 | |
(eval $ac_compile) 2>conftest.er1
|
2260 | |
ac_status=$?
|
2261 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2262 | |
rm -f conftest.er1
|
2263 | |
cat conftest.err >&5
|
2264 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2265 | |
(exit $ac_status); } &&
|
2266 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2267 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2268 | |
(eval $ac_try) 2>&5
|
2269 | |
ac_status=$?
|
2270 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2271 | |
(exit $ac_status); }; } &&
|
2272 | |
{ ac_try='test -s conftest.$ac_objext'
|
2273 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2274 | |
(eval $ac_try) 2>&5
|
2275 | |
ac_status=$?
|
2276 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2277 | |
(exit $ac_status); }; }; then
|
2278 | |
:
|
2279 | |
else
|
2280 | |
echo "$as_me: failed program was:" >&5
|
2281 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2282 | |
|
2283 | |
continue
|
2284 | |
fi
|
2285 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2286 | |
cat >conftest.$ac_ext <<_ACEOF
|
2287 | |
/* confdefs.h. */
|
2288 | |
_ACEOF
|
2289 | |
cat confdefs.h >>conftest.$ac_ext
|
2290 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2291 | |
/* end confdefs.h. */
|
2292 | |
$ac_declaration
|
2293 | |
int
|
2294 | |
main ()
|
2295 | |
{
|
2296 | |
exit (42);
|
2297 | |
;
|
2298 | |
return 0;
|
2299 | |
}
|
2300 | |
_ACEOF
|
2301 | |
rm -f conftest.$ac_objext
|
2302 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2303 | |
(eval $ac_compile) 2>conftest.er1
|
2304 | |
ac_status=$?
|
2305 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2306 | |
rm -f conftest.er1
|
2307 | |
cat conftest.err >&5
|
2308 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2309 | |
(exit $ac_status); } &&
|
2310 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2311 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2312 | |
(eval $ac_try) 2>&5
|
2313 | |
ac_status=$?
|
2314 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2315 | |
(exit $ac_status); }; } &&
|
2316 | |
{ ac_try='test -s conftest.$ac_objext'
|
2317 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2318 | |
(eval $ac_try) 2>&5
|
2319 | |
ac_status=$?
|
2320 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2321 | |
(exit $ac_status); }; }; then
|
2322 | |
break
|
2323 | |
else
|
2324 | |
echo "$as_me: failed program was:" >&5
|
2325 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2326 | |
|
2327 | |
fi
|
2328 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2329 | |
done
|
2330 | |
rm -f conftest*
|
2331 | |
if test -n "$ac_declaration"; then
|
2332 | |
echo '#ifdef __cplusplus' >>confdefs.h
|
2333 | |
echo $ac_declaration >>confdefs.h
|
2334 | |
echo '#endif' >>confdefs.h
|
2335 | |
fi
|
2336 | |
|
2337 | |
else
|
2338 | |
echo "$as_me: failed program was:" >&5
|
2339 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2340 | |
|
2341 | |
fi
|
2342 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2805 |
|
2343 | 2806 |
ac_ext=c
|
2344 | 2807 |
ac_cpp='$CPP $CPPFLAGS'
|
2345 | 2808 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2346 | 2809 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2347 | 2810 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2348 | 2811 |
|
2349 | |
|
2350 | |
# Remove -g from compile flags, we will add via CFG variable if
|
2351 | |
# we need it.
|
2352 | |
CXXFLAGS=`echo "$CXXFLAGS " | sed "s/-g //"`
|
2353 | |
CFLAGS=`echo "$CFLAGS " | sed "s/-g //"`
|
2354 | 2812 |
|
2355 | 2813 |
# check for GNU compiler, and use -Wall
|
2356 | 2814 |
if test "$GCC" = "yes"; then
|
|
2388 | 2846 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2389 | 2847 |
# OS/2's system install, which has a completely different semantic
|
2390 | 2848 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2391 | |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
2392 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
2849 |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2850 |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
2393 | 2851 |
if test -z "$INSTALL"; then
|
2394 | 2852 |
if test "${ac_cv_path_install+set}" = set; then
|
2395 | 2853 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2411 | 2869 |
# by default.
|
2412 | 2870 |
for ac_prog in ginstall scoinst install; do
|
2413 | 2871 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2414 | |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
2872 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
2415 | 2873 |
if test $ac_prog = install &&
|
2416 | 2874 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2417 | 2875 |
# AIX install. It has an incompatible calling convention.
|
|
2430 | 2888 |
;;
|
2431 | 2889 |
esac
|
2432 | 2890 |
done
|
|
2891 |
IFS=$as_save_IFS
|
2433 | 2892 |
|
2434 | 2893 |
|
2435 | 2894 |
fi
|
2436 | 2895 |
if test "${ac_cv_path_install+set}" = set; then
|
2437 | 2896 |
INSTALL=$ac_cv_path_install
|
2438 | 2897 |
else
|
2439 | |
# As a last resort, use the slow shell script. We don't cache a
|
2440 | |
# path for INSTALL within a source directory, because that will
|
|
2898 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2899 |
# value for INSTALL within a source directory, because that will
|
2441 | 2900 |
# break other packages using the cache if that directory is
|
2442 | |
# removed, or if the path is relative.
|
|
2901 |
# removed, or if the value is a relative name.
|
2443 | 2902 |
INSTALL=$ac_install_sh
|
2444 | 2903 |
fi
|
2445 | 2904 |
fi
|
2446 | |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
2447 | |
echo "${ECHO_T}$INSTALL" >&6
|
|
2905 |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2906 |
echo "${ECHO_T}$INSTALL" >&6; }
|
2448 | 2907 |
|
2449 | 2908 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2450 | 2909 |
# It thinks the first close brace ends the variable substitution.
|
|
2454 | 2913 |
|
2455 | 2914 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2456 | 2915 |
|
2457 | |
echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
2458 | |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
|
|
2916 |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
|
2917 |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
2459 | 2918 |
LN_S=$as_ln_s
|
2460 | 2919 |
if test "$LN_S" = "ln -s"; then
|
2461 | |
echo "$as_me:$LINENO: result: yes" >&5
|
2462 | |
echo "${ECHO_T}yes" >&6
|
2463 | |
else
|
2464 | |
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
2465 | |
echo "${ECHO_T}no, using $LN_S" >&6
|
|
2920 |
{ echo "$as_me:$LINENO: result: yes" >&5
|
|
2921 |
echo "${ECHO_T}yes" >&6; }
|
|
2922 |
else
|
|
2923 |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
|
2924 |
echo "${ECHO_T}no, using $LN_S" >&6; }
|
2466 | 2925 |
fi
|
2467 | 2926 |
|
2468 | 2927 |
if test -n "$ac_tool_prefix"; then
|
2469 | 2928 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
2470 | 2929 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
2471 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2472 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2930 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2931 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2473 | 2932 |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
2474 | 2933 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2475 | 2934 |
else
|
|
2482 | 2941 |
IFS=$as_save_IFS
|
2483 | 2942 |
test -z "$as_dir" && as_dir=.
|
2484 | 2943 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2485 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2944 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2486 | 2945 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
2487 | 2946 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2488 | 2947 |
break 2
|
2489 | 2948 |
fi
|
2490 | 2949 |
done
|
2491 | 2950 |
done
|
|
2951 |
IFS=$as_save_IFS
|
2492 | 2952 |
|
2493 | 2953 |
fi
|
2494 | 2954 |
fi
|
2495 | 2955 |
RANLIB=$ac_cv_prog_RANLIB
|
2496 | 2956 |
if test -n "$RANLIB"; then
|
2497 | |
echo "$as_me:$LINENO: result: $RANLIB" >&5
|
2498 | |
echo "${ECHO_T}$RANLIB" >&6
|
2499 | |
else
|
2500 | |
echo "$as_me:$LINENO: result: no" >&5
|
2501 | |
echo "${ECHO_T}no" >&6
|
2502 | |
fi
|
|
2957 |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
2958 |
echo "${ECHO_T}$RANLIB" >&6; }
|
|
2959 |
else
|
|
2960 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
2961 |
echo "${ECHO_T}no" >&6; }
|
|
2962 |
fi
|
|
2963 |
|
2503 | 2964 |
|
2504 | 2965 |
fi
|
2505 | 2966 |
if test -z "$ac_cv_prog_RANLIB"; then
|
2506 | 2967 |
ac_ct_RANLIB=$RANLIB
|
2507 | 2968 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
2508 | 2969 |
set dummy ranlib; ac_word=$2
|
2509 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2510 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
|
2970 |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2971 |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2511 | 2972 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
2512 | 2973 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2513 | 2974 |
else
|
|
2520 | 2981 |
IFS=$as_save_IFS
|
2521 | 2982 |
test -z "$as_dir" && as_dir=.
|
2522 | 2983 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2523 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2984 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2524 | 2985 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
2525 | 2986 |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2526 | 2987 |
break 2
|
2527 | 2988 |
fi
|
2528 | 2989 |
done
|
2529 | 2990 |
done
|
2530 | |
|
2531 | |
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
|
|
2991 |
IFS=$as_save_IFS
|
|
2992 |
|
2532 | 2993 |
fi
|
2533 | 2994 |
fi
|
2534 | 2995 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
2535 | 2996 |
if test -n "$ac_ct_RANLIB"; then
|
2536 | |
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
2537 | |
echo "${ECHO_T}$ac_ct_RANLIB" >&6
|
2538 | |
else
|
2539 | |
echo "$as_me:$LINENO: result: no" >&5
|
2540 | |
echo "${ECHO_T}no" >&6
|
2541 | |
fi
|
2542 | |
|
2543 | |
RANLIB=$ac_ct_RANLIB
|
|
2997 |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
2998 |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
|
2999 |
else
|
|
3000 |
{ echo "$as_me:$LINENO: result: no" >&5
|
|
3001 |
echo "${ECHO_T}no" >&6; }
|
|
3002 |
fi
|
|
3003 |
|
|
3004 |
if test "x$ac_ct_RANLIB" = x; then
|
|
3005 |
RANLIB=":"
|
|
3006 |
else
|
|
3007 |
case $cross_compiling:$ac_tool_warned in
|
|
3008 |
yes:)
|
|
3009 |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3010 |
whose name does not start with the host triplet. If you think this
|
|
3011 |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
|
3012 |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
|
3013 |
whose name does not start with the host triplet. If you think this
|
|
3014 |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3015 |
ac_tool_warned=yes ;;
|
|
3016 |
esac
|
|
3017 |
RANLIB=$ac_ct_RANLIB
|
|
3018 |
fi
|
2544 | 3019 |
else
|
2545 | 3020 |
RANLIB="$ac_cv_prog_RANLIB"
|
2546 | 3021 |
fi
|
|
2581 | 3056 |
fi
|
2582 | 3057 |
|
2583 | 3058 |
|
2584 | |
# Check whether --with-ld-shared or --without-ld-shared was given.
|
|
3059 |
# Check whether --with-ld-shared was given.
|
2585 | 3060 |
if test "${with_ld_shared+set}" = set; then
|
2586 | |
withval="$with_ld_shared"
|
2587 | |
|
2588 | |
fi;
|
|
3061 |
withval=$with_ld_shared;
|
|
3062 |
fi
|
|
3063 |
|
2589 | 3064 |
|
2590 | 3065 |
if test "$with_ld_shared" != "" ; then
|
2591 | 3066 |
if test "$with_ld_shared" = "no" ; then
|
|
2735 | 3210 |
|
2736 | 3211 |
|
2737 | 3212 |
|
2738 | |
echo "$as_me:$LINENO: checking for exp in -lm" >&5
|
2739 | |
echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
|
|
3213 |
{ echo "$as_me:$LINENO: checking for exp in -lm" >&5
|
|
3214 |
echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6; }
|
2740 | 3215 |
if test "${ac_cv_lib_m_exp+set}" = set; then
|
2741 | 3216 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2742 | 3217 |
else
|
|
2749 | 3224 |
cat >>conftest.$ac_ext <<_ACEOF
|
2750 | 3225 |
/* end confdefs.h. */
|
2751 | 3226 |
|
2752 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
3227 |
/* Override any GCC internal prototype to avoid an error.
|
|
3228 |
Use char because int might match the return type of a GCC
|
|
3229 |
builtin and then its argument prototype would still apply. */
|
2753 | 3230 |
#ifdef __cplusplus
|
2754 | 3231 |
extern "C"
|
2755 | 3232 |
#endif
|
2756 | |
/* We use char because int might match the return type of a gcc2
|
2757 | |
builtin and then its argument prototype would still apply. */
|
2758 | 3233 |
char exp ();
|
2759 | 3234 |
int
|
2760 | 3235 |
main ()
|
2761 | 3236 |
{
|
2762 | |
exp ();
|
|
3237 |
return exp ();
|
2763 | 3238 |
;
|
2764 | 3239 |
return 0;
|
2765 | 3240 |
}
|
2766 | 3241 |
_ACEOF
|
2767 | 3242 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
2768 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2769 | |
(eval $ac_link) 2>conftest.er1
|
|
3243 |
if { (ac_try="$ac_link"
|
|
3244 |
case "(($ac_try" in
|
|
3245 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3246 |
*) ac_try_echo=$ac_try;;
|
|
3247 |
esac
|
|
3248 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3249 |
(eval "$ac_link") 2>conftest.er1
|
2770 | 3250 |
ac_status=$?
|
2771 | 3251 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2772 | 3252 |
rm -f conftest.er1
|
2773 | 3253 |
cat conftest.err >&5
|
2774 | 3254 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2775 | |
(exit $ac_status); } &&
|
2776 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
2777 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2778 | |
(eval $ac_try) 2>&5
|
2779 | |
ac_status=$?
|
2780 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2781 | |
(exit $ac_status); }; } &&
|
2782 | |
{ ac_try='test -s conftest$ac_exeext'
|
2783 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2784 | |
(eval $ac_try) 2>&5
|
2785 | |
ac_status=$?
|
2786 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2787 | |
(exit $ac_status); }; }; then
|
|
3255 |
(exit $ac_status); } && {
|
|
3256 |
test -z "$ac_c_werror_flag" ||
|
|
3257 |
test ! -s conftest.err
|
|
3258 |
} && test -s conftest$ac_exeext &&
|
|
3259 |
$as_test_x conftest$ac_exeext; then
|
2788 | 3260 |
ac_cv_lib_m_exp=yes
|
2789 | 3261 |
else
|
2790 | 3262 |
echo "$as_me: failed program was:" >&5
|
2791 | 3263 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2792 | 3264 |
|
2793 | |
ac_cv_lib_m_exp=no
|
2794 | |
fi
|
2795 | |
rm -f conftest.err conftest.$ac_objext \
|
|
3265 |
ac_cv_lib_m_exp=no
|
|
3266 |
fi
|
|
3267 |
|
|
3268 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
2796 | 3269 |
conftest$ac_exeext conftest.$ac_ext
|
2797 | 3270 |
LIBS=$ac_check_lib_save_LIBS
|
2798 | 3271 |
fi
|
2799 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
|
2800 | |
echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
|
|
3272 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
|
|
3273 |
echo "${ECHO_T}$ac_cv_lib_m_exp" >&6; }
|
2801 | 3274 |
if test $ac_cv_lib_m_exp = yes; then
|
2802 | 3275 |
cat >>confdefs.h <<_ACEOF
|
2803 | 3276 |
#define HAVE_LIBM 1
|
|
2815 | 3288 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2816 | 3289 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2817 | 3290 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2818 | |
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2819 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
|
|
3291 |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
3292 |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
2820 | 3293 |
# On Suns, sometimes $CPP names a directory.
|
2821 | 3294 |
if test -n "$CPP" && test -d "$CPP"; then
|
2822 | 3295 |
CPP=
|
|
2850 | 3323 |
#endif
|
2851 | 3324 |
Syntax error
|
2852 | 3325 |
_ACEOF
|
2853 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2854 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3326 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3327 |
case "(($ac_try" in
|
|
3328 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3329 |
*) ac_try_echo=$ac_try;;
|
|
3330 |
esac
|
|
3331 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3332 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2855 | 3333 |
ac_status=$?
|
2856 | 3334 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2857 | 3335 |
rm -f conftest.er1
|
2858 | 3336 |
cat conftest.err >&5
|
2859 | 3337 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2860 | |
(exit $ac_status); } >/dev/null; then
|
2861 | |
if test -s conftest.err; then
|
2862 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
2863 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2864 | |
else
|
2865 | |
ac_cpp_err=
|
2866 | |
fi
|
2867 | |
else
|
2868 | |
ac_cpp_err=yes
|
2869 | |
fi
|
2870 | |
if test -z "$ac_cpp_err"; then
|
|
3338 |
(exit $ac_status); } >/dev/null && {
|
|
3339 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3340 |
test ! -s conftest.err
|
|
3341 |
}; then
|
2871 | 3342 |
:
|
2872 | 3343 |
else
|
2873 | 3344 |
echo "$as_me: failed program was:" >&5
|
|
2876 | 3347 |
# Broken: fails on valid input.
|
2877 | 3348 |
continue
|
2878 | 3349 |
fi
|
|
3350 |
|
2879 | 3351 |
rm -f conftest.err conftest.$ac_ext
|
2880 | 3352 |
|
2881 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3353 |
# OK, works on sane cases. Now check whether nonexistent headers
|
2882 | 3354 |
# can be detected and how.
|
2883 | 3355 |
cat >conftest.$ac_ext <<_ACEOF
|
2884 | 3356 |
/* confdefs.h. */
|
|
2888 | 3360 |
/* end confdefs.h. */
|
2889 | 3361 |
#include <ac_nonexistent.h>
|
2890 | 3362 |
_ACEOF
|
2891 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2892 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3363 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3364 |
case "(($ac_try" in
|
|
3365 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3366 |
*) ac_try_echo=$ac_try;;
|
|
3367 |
esac
|
|
3368 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3369 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2893 | 3370 |
ac_status=$?
|
2894 | 3371 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2895 | 3372 |
rm -f conftest.er1
|
2896 | 3373 |
cat conftest.err >&5
|
2897 | 3374 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2898 | |
(exit $ac_status); } >/dev/null; then
|
2899 | |
if test -s conftest.err; then
|
2900 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
2901 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2902 | |
else
|
2903 | |
ac_cpp_err=
|
2904 | |
fi
|
2905 | |
else
|
2906 | |
ac_cpp_err=yes
|
2907 | |
fi
|
2908 | |
if test -z "$ac_cpp_err"; then
|
|
3375 |
(exit $ac_status); } >/dev/null && {
|
|
3376 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3377 |
test ! -s conftest.err
|
|
3378 |
}; then
|
2909 | 3379 |
# Broken: success on invalid input.
|
2910 | 3380 |
continue
|
2911 | 3381 |
else
|
|
2916 | 3386 |
ac_preproc_ok=:
|
2917 | 3387 |
break
|
2918 | 3388 |
fi
|
|
3389 |
|
2919 | 3390 |
rm -f conftest.err conftest.$ac_ext
|
2920 | 3391 |
|
2921 | 3392 |
done
|
|
2933 | 3404 |
else
|
2934 | 3405 |
ac_cv_prog_CPP=$CPP
|
2935 | 3406 |
fi
|
2936 | |
echo "$as_me:$LINENO: result: $CPP" >&5
|
2937 | |
echo "${ECHO_T}$CPP" >&6
|
|
3407 |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
|
3408 |
echo "${ECHO_T}$CPP" >&6; }
|
2938 | 3409 |
ac_preproc_ok=false
|
2939 | 3410 |
for ac_c_preproc_warn_flag in '' yes
|
2940 | 3411 |
do
|
|
2957 | 3428 |
#endif
|
2958 | 3429 |
Syntax error
|
2959 | 3430 |
_ACEOF
|
2960 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2961 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3431 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3432 |
case "(($ac_try" in
|
|
3433 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3434 |
*) ac_try_echo=$ac_try;;
|
|
3435 |
esac
|
|
3436 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3437 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2962 | 3438 |
ac_status=$?
|
2963 | 3439 |
grep -v '^ *+' conftest.er1 >conftest.err
|
2964 | 3440 |
rm -f conftest.er1
|
2965 | 3441 |
cat conftest.err >&5
|
2966 | 3442 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2967 | |
(exit $ac_status); } >/dev/null; then
|
2968 | |
if test -s conftest.err; then
|
2969 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
2970 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
2971 | |
else
|
2972 | |
ac_cpp_err=
|
2973 | |
fi
|
2974 | |
else
|
2975 | |
ac_cpp_err=yes
|
2976 | |
fi
|
2977 | |
if test -z "$ac_cpp_err"; then
|
|
3443 |
(exit $ac_status); } >/dev/null && {
|
|
3444 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3445 |
test ! -s conftest.err
|
|
3446 |
}; then
|
2978 | 3447 |
:
|
2979 | 3448 |
else
|
2980 | 3449 |
echo "$as_me: failed program was:" >&5
|
|
2983 | 3452 |
# Broken: fails on valid input.
|
2984 | 3453 |
continue
|
2985 | 3454 |
fi
|
|
3455 |
|
2986 | 3456 |
rm -f conftest.err conftest.$ac_ext
|
2987 | 3457 |
|
2988 | |
# OK, works on sane cases. Now check whether non-existent headers
|
|
3458 |
# OK, works on sane cases. Now check whether nonexistent headers
|
2989 | 3459 |
# can be detected and how.
|
2990 | 3460 |
cat >conftest.$ac_ext <<_ACEOF
|
2991 | 3461 |
/* confdefs.h. */
|
|
2995 | 3465 |
/* end confdefs.h. */
|
2996 | 3466 |
#include <ac_nonexistent.h>
|
2997 | 3467 |
_ACEOF
|
2998 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
2999 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3468 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3469 |
case "(($ac_try" in
|
|
3470 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3471 |
*) ac_try_echo=$ac_try;;
|
|
3472 |
esac
|
|
3473 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3474 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3000 | 3475 |
ac_status=$?
|
3001 | 3476 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3002 | 3477 |
rm -f conftest.er1
|
3003 | 3478 |
cat conftest.err >&5
|
3004 | 3479 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3005 | |
(exit $ac_status); } >/dev/null; then
|
3006 | |
if test -s conftest.err; then
|
3007 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
3008 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3009 | |
else
|
3010 | |
ac_cpp_err=
|
3011 | |
fi
|
3012 | |
else
|
3013 | |
ac_cpp_err=yes
|
3014 | |
fi
|
3015 | |
if test -z "$ac_cpp_err"; then
|
|
3480 |
(exit $ac_status); } >/dev/null && {
|
|
3481 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
3482 |
test ! -s conftest.err
|
|
3483 |
}; then
|
3016 | 3484 |
# Broken: success on invalid input.
|
3017 | 3485 |
continue
|
3018 | 3486 |
else
|
|
3023 | 3491 |
ac_preproc_ok=:
|
3024 | 3492 |
break
|
3025 | 3493 |
fi
|
|
3494 |
|
3026 | 3495 |
rm -f conftest.err conftest.$ac_ext
|
3027 | 3496 |
|
3028 | 3497 |
done
|
|
3045 | 3514 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3046 | 3515 |
|
3047 | 3516 |
|
3048 | |
echo "$as_me:$LINENO: checking for egrep" >&5
|
3049 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
|
3050 | |
if test "${ac_cv_prog_egrep+set}" = set; then
|
|
3517 |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
3518 |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
|
3519 |
if test "${ac_cv_path_GREP+set}" = set; then
|
3051 | 3520 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3052 | 3521 |
else
|
3053 | |
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
|
3054 | |
then ac_cv_prog_egrep='grep -E'
|
3055 | |
else ac_cv_prog_egrep='egrep'
|
|
3522 |
# Extract the first word of "grep ggrep" to use in msg output
|
|
3523 |
if test -z "$GREP"; then
|
|
3524 |
set dummy grep ggrep; ac_prog_name=$2
|
|
3525 |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
3526 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3527 |
else
|
|
3528 |
ac_path_GREP_found=false
|
|
3529 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3530 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3531 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3532 |
do
|
|
3533 |
IFS=$as_save_IFS
|
|
3534 |
test -z "$as_dir" && as_dir=.
|
|
3535 |
for ac_prog in grep ggrep; do
|
|
3536 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3537 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3538 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
3539 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
3540 |
# Check for GNU $ac_path_GREP
|
|
3541 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
3542 |
*GNU*)
|
|
3543 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
3544 |
*)
|
|
3545 |
ac_count=0
|
|
3546 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3547 |
while :
|
|
3548 |
do
|
|
3549 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3550 |
mv "conftest.tmp" "conftest.in"
|
|
3551 |
cp "conftest.in" "conftest.nl"
|
|
3552 |
echo 'GREP' >> "conftest.nl"
|
|
3553 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3554 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3555 |
ac_count=`expr $ac_count + 1`
|
|
3556 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
3557 |
# Best one so far, save it but keep looking for a better one
|
|
3558 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3559 |
ac_path_GREP_max=$ac_count
|
3056 | 3560 |
fi
|
3057 | |
fi
|
3058 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
|
3059 | |
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
|
3060 | |
EGREP=$ac_cv_prog_egrep
|
3061 | |
|
3062 | |
|
3063 | |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3064 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
|
|
3561 |
# 10*(2^10) chars as input seems more than enough
|
|
3562 |
test $ac_count -gt 10 && break
|
|
3563 |
done
|
|
3564 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3565 |
esac
|
|
3566 |
|
|
3567 |
|
|
3568 |
$ac_path_GREP_found && break 3
|
|
3569 |
done
|
|
3570 |
done
|
|
3571 |
|
|
3572 |
done
|
|
3573 |
IFS=$as_save_IFS
|
|
3574 |
|
|
3575 |
|
|
3576 |
fi
|
|
3577 |
|
|
3578 |
GREP="$ac_cv_path_GREP"
|
|
3579 |
if test -z "$GREP"; then
|
|
3580 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3581 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3582 |
{ (exit 1); exit 1; }; }
|
|
3583 |
fi
|
|
3584 |
|
|
3585 |
else
|
|
3586 |
ac_cv_path_GREP=$GREP
|
|
3587 |
fi
|
|
3588 |
|
|
3589 |
|
|
3590 |
fi
|
|
3591 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
3592 |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
3593 |
GREP="$ac_cv_path_GREP"
|
|
3594 |
|
|
3595 |
|
|
3596 |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
|
3597 |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
|
3598 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3599 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3600 |
else
|
|
3601 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
3602 |
then ac_cv_path_EGREP="$GREP -E"
|
|
3603 |
else
|
|
3604 |
# Extract the first word of "egrep" to use in msg output
|
|
3605 |
if test -z "$EGREP"; then
|
|
3606 |
set dummy egrep; ac_prog_name=$2
|
|
3607 |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
3608 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3609 |
else
|
|
3610 |
ac_path_EGREP_found=false
|
|
3611 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
3612 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3613 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
3614 |
do
|
|
3615 |
IFS=$as_save_IFS
|
|
3616 |
test -z "$as_dir" && as_dir=.
|
|
3617 |
for ac_prog in egrep; do
|
|
3618 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3619 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
3620 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
3621 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
3622 |
# Check for GNU $ac_path_EGREP
|
|
3623 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
3624 |
*GNU*)
|
|
3625 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
3626 |
*)
|
|
3627 |
ac_count=0
|
|
3628 |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
3629 |
while :
|
|
3630 |
do
|
|
3631 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
3632 |
mv "conftest.tmp" "conftest.in"
|
|
3633 |
cp "conftest.in" "conftest.nl"
|
|
3634 |
echo 'EGREP' >> "conftest.nl"
|
|
3635 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
3636 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
3637 |
ac_count=`expr $ac_count + 1`
|
|
3638 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
3639 |
# Best one so far, save it but keep looking for a better one
|
|
3640 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
3641 |
ac_path_EGREP_max=$ac_count
|
|
3642 |
fi
|
|
3643 |
# 10*(2^10) chars as input seems more than enough
|
|
3644 |
test $ac_count -gt 10 && break
|
|
3645 |
done
|
|
3646 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
3647 |
esac
|
|
3648 |
|
|
3649 |
|
|
3650 |
$ac_path_EGREP_found && break 3
|
|
3651 |
done
|
|
3652 |
done
|
|
3653 |
|
|
3654 |
done
|
|
3655 |
IFS=$as_save_IFS
|
|
3656 |
|
|
3657 |
|
|
3658 |
fi
|
|
3659 |
|
|
3660 |
EGREP="$ac_cv_path_EGREP"
|
|
3661 |
if test -z "$EGREP"; then
|
|
3662 |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
|
3663 |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
|
3664 |
{ (exit 1); exit 1; }; }
|
|
3665 |
fi
|
|
3666 |
|
|
3667 |
else
|
|
3668 |
ac_cv_path_EGREP=$EGREP
|
|
3669 |
fi
|
|
3670 |
|
|
3671 |
|
|
3672 |
fi
|
|
3673 |
fi
|
|
3674 |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
3675 |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
3676 |
EGREP="$ac_cv_path_EGREP"
|
|
3677 |
|
|
3678 |
|
|
3679 |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
3680 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3065 | 3681 |
if test "${ac_cv_header_stdc+set}" = set; then
|
3066 | 3682 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3067 | 3683 |
else
|
|
3085 | 3701 |
}
|
3086 | 3702 |
_ACEOF
|
3087 | 3703 |
rm -f conftest.$ac_objext
|
3088 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3089 | |
(eval $ac_compile) 2>conftest.er1
|
|
3704 |
if { (ac_try="$ac_compile"
|
|
3705 |
case "(($ac_try" in
|
|
3706 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3707 |
*) ac_try_echo=$ac_try;;
|
|
3708 |
esac
|
|
3709 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3710 |
(eval "$ac_compile") 2>conftest.er1
|
3090 | 3711 |
ac_status=$?
|
3091 | 3712 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3092 | 3713 |
rm -f conftest.er1
|
3093 | 3714 |
cat conftest.err >&5
|
3094 | 3715 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3095 | |
(exit $ac_status); } &&
|
3096 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3097 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3098 | |
(eval $ac_try) 2>&5
|
3099 | |
ac_status=$?
|
3100 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3101 | |
(exit $ac_status); }; } &&
|
3102 | |
{ ac_try='test -s conftest.$ac_objext'
|
3103 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3104 | |
(eval $ac_try) 2>&5
|
3105 | |
ac_status=$?
|
3106 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3107 | |
(exit $ac_status); }; }; then
|
|
3716 |
(exit $ac_status); } && {
|
|
3717 |
test -z "$ac_c_werror_flag" ||
|
|
3718 |
test ! -s conftest.err
|
|
3719 |
} && test -s conftest.$ac_objext; then
|
3108 | 3720 |
ac_cv_header_stdc=yes
|
3109 | 3721 |
else
|
3110 | 3722 |
echo "$as_me: failed program was:" >&5
|
3111 | 3723 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3112 | 3724 |
|
3113 | |
ac_cv_header_stdc=no
|
3114 | |
fi
|
3115 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3725 |
ac_cv_header_stdc=no
|
|
3726 |
fi
|
|
3727 |
|
|
3728 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3116 | 3729 |
|
3117 | 3730 |
if test $ac_cv_header_stdc = yes; then
|
3118 | 3731 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
3168 | 3781 |
cat >>conftest.$ac_ext <<_ACEOF
|
3169 | 3782 |
/* end confdefs.h. */
|
3170 | 3783 |
#include <ctype.h>
|
|
3784 |
#include <stdlib.h>
|
3171 | 3785 |
#if ((' ' & 0x0FF) == 0x020)
|
3172 | 3786 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3173 | 3787 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
3187 | 3801 |
for (i = 0; i < 256; i++)
|
3188 | 3802 |
if (XOR (islower (i), ISLOWER (i))
|
3189 | 3803 |
|| toupper (i) != TOUPPER (i))
|
3190 | |
exit(2);
|
3191 | |
exit (0);
|
|
3804 |
return 2;
|
|
3805 |
return 0;
|
3192 | 3806 |
}
|
3193 | 3807 |
_ACEOF
|
3194 | 3808 |
rm -f conftest$ac_exeext
|
3195 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3196 | |
(eval $ac_link) 2>&5
|
|
3809 |
if { (ac_try="$ac_link"
|
|
3810 |
case "(($ac_try" in
|
|
3811 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3812 |
*) ac_try_echo=$ac_try;;
|
|
3813 |
esac
|
|
3814 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3815 |
(eval "$ac_link") 2>&5
|
3197 | 3816 |
ac_status=$?
|
3198 | 3817 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3199 | 3818 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3200 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3201 | |
(eval $ac_try) 2>&5
|
|
3819 |
{ (case "(($ac_try" in
|
|
3820 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3821 |
*) ac_try_echo=$ac_try;;
|
|
3822 |
esac
|
|
3823 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3824 |
(eval "$ac_try") 2>&5
|
3202 | 3825 |
ac_status=$?
|
3203 | 3826 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3204 | 3827 |
(exit $ac_status); }; }; then
|
|
3211 | 3834 |
( exit $ac_status )
|
3212 | 3835 |
ac_cv_header_stdc=no
|
3213 | 3836 |
fi
|
3214 | |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3215 | |
fi
|
3216 | |
fi
|
3217 | |
fi
|
3218 | |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3219 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6
|
|
3837 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
3838 |
fi
|
|
3839 |
|
|
3840 |
|
|
3841 |
fi
|
|
3842 |
fi
|
|
3843 |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
3844 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
3220 | 3845 |
if test $ac_cv_header_stdc = yes; then
|
3221 | 3846 |
|
3222 | 3847 |
cat >>confdefs.h <<\_ACEOF
|
|
3239 | 3864 |
inttypes.h stdint.h unistd.h
|
3240 | 3865 |
do
|
3241 | 3866 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3242 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3243 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3244 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
3867 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
3868 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
3869 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3245 | 3870 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3246 | 3871 |
else
|
3247 | 3872 |
cat >conftest.$ac_ext <<_ACEOF
|
|
3255 | 3880 |
#include <$ac_header>
|
3256 | 3881 |
_ACEOF
|
3257 | 3882 |
rm -f conftest.$ac_objext
|
3258 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3259 | |
(eval $ac_compile) 2>conftest.er1
|
|
3883 |
if { (ac_try="$ac_compile"
|
|
3884 |
case "(($ac_try" in
|
|
3885 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3886 |
*) ac_try_echo=$ac_try;;
|
|
3887 |
esac
|
|
3888 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3889 |
(eval "$ac_compile") 2>conftest.er1
|
3260 | 3890 |
ac_status=$?
|
3261 | 3891 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3262 | 3892 |
rm -f conftest.er1
|
3263 | 3893 |
cat conftest.err >&5
|
3264 | 3894 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3265 | |
(exit $ac_status); } &&
|
3266 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3267 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3268 | |
(eval $ac_try) 2>&5
|
3269 | |
ac_status=$?
|
3270 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3271 | |
(exit $ac_status); }; } &&
|
3272 | |
{ ac_try='test -s conftest.$ac_objext'
|
3273 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3274 | |
(eval $ac_try) 2>&5
|
3275 | |
ac_status=$?
|
3276 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3277 | |
(exit $ac_status); }; }; then
|
|
3895 |
(exit $ac_status); } && {
|
|
3896 |
test -z "$ac_c_werror_flag" ||
|
|
3897 |
test ! -s conftest.err
|
|
3898 |
} && test -s conftest.$ac_objext; then
|
3278 | 3899 |
eval "$as_ac_Header=yes"
|
3279 | 3900 |
else
|
3280 | 3901 |
echo "$as_me: failed program was:" >&5
|
3281 | 3902 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3282 | 3903 |
|
3283 | |
eval "$as_ac_Header=no"
|
3284 | |
fi
|
3285 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3286 | |
fi
|
3287 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3288 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
3904 |
eval "$as_ac_Header=no"
|
|
3905 |
fi
|
|
3906 |
|
|
3907 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3908 |
fi
|
|
3909 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
3910 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
3911 |
echo "${ECHO_T}$ac_res" >&6; }
|
3289 | 3912 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3290 | 3913 |
cat >>confdefs.h <<_ACEOF
|
3291 | 3914 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
3302 | 3925 |
for ac_header in string.h strings.h stdlib.h
|
3303 | 3926 |
do
|
3304 | 3927 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3305 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3306 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3307 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3308 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
3928 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
3929 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
3930 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
3931 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3309 | 3932 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3310 | 3933 |
fi
|
3311 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3312 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
3934 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
3935 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
3936 |
echo "${ECHO_T}$ac_res" >&6; }
|
3313 | 3937 |
else
|
3314 | 3938 |
# Is the header compilable?
|
3315 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
3316 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
3939 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
3940 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
3317 | 3941 |
cat >conftest.$ac_ext <<_ACEOF
|
3318 | 3942 |
/* confdefs.h. */
|
3319 | 3943 |
_ACEOF
|
|
3324 | 3948 |
#include <$ac_header>
|
3325 | 3949 |
_ACEOF
|
3326 | 3950 |
rm -f conftest.$ac_objext
|
3327 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3328 | |
(eval $ac_compile) 2>conftest.er1
|
|
3951 |
if { (ac_try="$ac_compile"
|
|
3952 |
case "(($ac_try" in
|
|
3953 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3954 |
*) ac_try_echo=$ac_try;;
|
|
3955 |
esac
|
|
3956 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3957 |
(eval "$ac_compile") 2>conftest.er1
|
3329 | 3958 |
ac_status=$?
|
3330 | 3959 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3331 | 3960 |
rm -f conftest.er1
|
3332 | 3961 |
cat conftest.err >&5
|
3333 | 3962 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3334 | |
(exit $ac_status); } &&
|
3335 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3336 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3337 | |
(eval $ac_try) 2>&5
|
3338 | |
ac_status=$?
|
3339 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3340 | |
(exit $ac_status); }; } &&
|
3341 | |
{ ac_try='test -s conftest.$ac_objext'
|
3342 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3343 | |
(eval $ac_try) 2>&5
|
3344 | |
ac_status=$?
|
3345 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3346 | |
(exit $ac_status); }; }; then
|
|
3963 |
(exit $ac_status); } && {
|
|
3964 |
test -z "$ac_c_werror_flag" ||
|
|
3965 |
test ! -s conftest.err
|
|
3966 |
} && test -s conftest.$ac_objext; then
|
3347 | 3967 |
ac_header_compiler=yes
|
3348 | 3968 |
else
|
3349 | 3969 |
echo "$as_me: failed program was:" >&5
|
3350 | 3970 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3351 | 3971 |
|
3352 | |
ac_header_compiler=no
|
3353 | |
fi
|
3354 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3355 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3356 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
3972 |
ac_header_compiler=no
|
|
3973 |
fi
|
|
3974 |
|
|
3975 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3976 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
3977 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3357 | 3978 |
|
3358 | 3979 |
# Is the header present?
|
3359 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
3360 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
3980 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
3981 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
3361 | 3982 |
cat >conftest.$ac_ext <<_ACEOF
|
3362 | 3983 |
/* confdefs.h. */
|
3363 | 3984 |
_ACEOF
|
|
3366 | 3987 |
/* end confdefs.h. */
|
3367 | 3988 |
#include <$ac_header>
|
3368 | 3989 |
_ACEOF
|
3369 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3370 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
3990 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
3991 |
case "(($ac_try" in
|
|
3992 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3993 |
*) ac_try_echo=$ac_try;;
|
|
3994 |
esac
|
|
3995 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3996 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3371 | 3997 |
ac_status=$?
|
3372 | 3998 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3373 | 3999 |
rm -f conftest.er1
|
3374 | 4000 |
cat conftest.err >&5
|
3375 | 4001 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3376 | |
(exit $ac_status); } >/dev/null; then
|
3377 | |
if test -s conftest.err; then
|
3378 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
3379 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3380 | |
else
|
3381 | |
ac_cpp_err=
|
3382 | |
fi
|
3383 | |
else
|
3384 | |
ac_cpp_err=yes
|
3385 | |
fi
|
3386 | |
if test -z "$ac_cpp_err"; then
|
|
4002 |
(exit $ac_status); } >/dev/null && {
|
|
4003 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4004 |
test ! -s conftest.err
|
|
4005 |
}; then
|
3387 | 4006 |
ac_header_preproc=yes
|
3388 | 4007 |
else
|
3389 | 4008 |
echo "$as_me: failed program was:" >&5
|
|
3391 | 4010 |
|
3392 | 4011 |
ac_header_preproc=no
|
3393 | 4012 |
fi
|
|
4013 |
|
3394 | 4014 |
rm -f conftest.err conftest.$ac_ext
|
3395 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3396 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4015 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4016 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3397 | 4017 |
|
3398 | 4018 |
# So? What about this header?
|
3399 | 4019 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
3417 | 4037 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
3418 | 4038 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
3419 | 4039 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
3420 | |
(
|
3421 | |
cat <<\_ASBOX
|
3422 | |
## ------------------------------------------ ##
|
3423 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
3424 | |
## ------------------------------------------ ##
|
3425 | |
_ASBOX
|
3426 | |
) |
|
3427 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
4040 |
|
3428 | 4041 |
;;
|
3429 | 4042 |
esac
|
3430 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3431 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3432 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4043 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4044 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4045 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3433 | 4046 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3434 | 4047 |
else
|
3435 | 4048 |
eval "$as_ac_Header=\$ac_header_preproc"
|
3436 | 4049 |
fi
|
3437 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3438 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4050 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4051 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4052 |
echo "${ECHO_T}$ac_res" >&6; }
|
3439 | 4053 |
|
3440 | 4054 |
fi
|
3441 | 4055 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
3449 | 4063 |
|
3450 | 4064 |
|
3451 | 4065 |
|
3452 | |
# Check whether --with-zip or --without-zip was given.
|
|
4066 |
# Check whether --with-zip was given.
|
3453 | 4067 |
if test "${with_zip+set}" = set; then
|
3454 | |
withval="$with_zip"
|
3455 | |
ZIP=$withval
|
|
4068 |
withval=$with_zip; ZIP=$withval
|
3456 | 4069 |
else
|
3457 | 4070 |
ZIP=yes
|
3458 | |
fi;
|
|
4071 |
fi
|
|
4072 |
|
3459 | 4073 |
if test "$ZIP" = "yes" ; then
|
3460 | 4074 |
|
3461 | |
echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
|
3462 | |
echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6
|
|
4075 |
{ echo "$as_me:$LINENO: checking for inflateInit_ in -lz" >&5
|
|
4076 |
echo $ECHO_N "checking for inflateInit_ in -lz... $ECHO_C" >&6; }
|
3463 | 4077 |
if test "${ac_cv_lib_z_inflateInit_+set}" = set; then
|
3464 | 4078 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3465 | 4079 |
else
|
|
3472 | 4086 |
cat >>conftest.$ac_ext <<_ACEOF
|
3473 | 4087 |
/* end confdefs.h. */
|
3474 | 4088 |
|
3475 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4089 |
/* Override any GCC internal prototype to avoid an error.
|
|
4090 |
Use char because int might match the return type of a GCC
|
|
4091 |
builtin and then its argument prototype would still apply. */
|
3476 | 4092 |
#ifdef __cplusplus
|
3477 | 4093 |
extern "C"
|
3478 | 4094 |
#endif
|
3479 | |
/* We use char because int might match the return type of a gcc2
|
3480 | |
builtin and then its argument prototype would still apply. */
|
3481 | 4095 |
char inflateInit_ ();
|
3482 | 4096 |
int
|
3483 | 4097 |
main ()
|
3484 | 4098 |
{
|
3485 | |
inflateInit_ ();
|
|
4099 |
return inflateInit_ ();
|
3486 | 4100 |
;
|
3487 | 4101 |
return 0;
|
3488 | 4102 |
}
|
3489 | 4103 |
_ACEOF
|
3490 | 4104 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3491 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3492 | |
(eval $ac_link) 2>conftest.er1
|
|
4105 |
if { (ac_try="$ac_link"
|
|
4106 |
case "(($ac_try" in
|
|
4107 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4108 |
*) ac_try_echo=$ac_try;;
|
|
4109 |
esac
|
|
4110 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4111 |
(eval "$ac_link") 2>conftest.er1
|
3493 | 4112 |
ac_status=$?
|
3494 | 4113 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3495 | 4114 |
rm -f conftest.er1
|
3496 | 4115 |
cat conftest.err >&5
|
3497 | 4116 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3498 | |
(exit $ac_status); } &&
|
3499 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3500 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3501 | |
(eval $ac_try) 2>&5
|
3502 | |
ac_status=$?
|
3503 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3504 | |
(exit $ac_status); }; } &&
|
3505 | |
{ ac_try='test -s conftest$ac_exeext'
|
3506 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3507 | |
(eval $ac_try) 2>&5
|
3508 | |
ac_status=$?
|
3509 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3510 | |
(exit $ac_status); }; }; then
|
|
4117 |
(exit $ac_status); } && {
|
|
4118 |
test -z "$ac_c_werror_flag" ||
|
|
4119 |
test ! -s conftest.err
|
|
4120 |
} && test -s conftest$ac_exeext &&
|
|
4121 |
$as_test_x conftest$ac_exeext; then
|
3511 | 4122 |
ac_cv_lib_z_inflateInit_=yes
|
3512 | 4123 |
else
|
3513 | 4124 |
echo "$as_me: failed program was:" >&5
|
3514 | 4125 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3515 | 4126 |
|
3516 | |
ac_cv_lib_z_inflateInit_=no
|
3517 | |
fi
|
3518 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4127 |
ac_cv_lib_z_inflateInit_=no
|
|
4128 |
fi
|
|
4129 |
|
|
4130 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3519 | 4131 |
conftest$ac_exeext conftest.$ac_ext
|
3520 | 4132 |
LIBS=$ac_check_lib_save_LIBS
|
3521 | 4133 |
fi
|
3522 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
|
3523 | |
echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6
|
|
4134 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateInit_" >&5
|
|
4135 |
echo "${ECHO_T}$ac_cv_lib_z_inflateInit_" >&6; }
|
3524 | 4136 |
if test $ac_cv_lib_z_inflateInit_ = yes; then
|
3525 | 4137 |
cat >>confdefs.h <<_ACEOF
|
3526 | 4138 |
#define HAVE_LIBZ 1
|
|
3534 | 4146 |
for ac_header in zlib.h
|
3535 | 4147 |
do
|
3536 | 4148 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3537 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
3538 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3539 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3540 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4149 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4150 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4151 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4152 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3541 | 4153 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3542 | 4154 |
fi
|
3543 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3544 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4155 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4156 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4157 |
echo "${ECHO_T}$ac_res" >&6; }
|
3545 | 4158 |
else
|
3546 | 4159 |
# Is the header compilable?
|
3547 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
3548 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
4160 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4161 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
3549 | 4162 |
cat >conftest.$ac_ext <<_ACEOF
|
3550 | 4163 |
/* confdefs.h. */
|
3551 | 4164 |
_ACEOF
|
|
3556 | 4169 |
#include <$ac_header>
|
3557 | 4170 |
_ACEOF
|
3558 | 4171 |
rm -f conftest.$ac_objext
|
3559 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
3560 | |
(eval $ac_compile) 2>conftest.er1
|
|
4172 |
if { (ac_try="$ac_compile"
|
|
4173 |
case "(($ac_try" in
|
|
4174 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4175 |
*) ac_try_echo=$ac_try;;
|
|
4176 |
esac
|
|
4177 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4178 |
(eval "$ac_compile") 2>conftest.er1
|
3561 | 4179 |
ac_status=$?
|
3562 | 4180 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3563 | 4181 |
rm -f conftest.er1
|
3564 | 4182 |
cat conftest.err >&5
|
3565 | 4183 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3566 | |
(exit $ac_status); } &&
|
3567 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3568 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3569 | |
(eval $ac_try) 2>&5
|
3570 | |
ac_status=$?
|
3571 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3572 | |
(exit $ac_status); }; } &&
|
3573 | |
{ ac_try='test -s conftest.$ac_objext'
|
3574 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3575 | |
(eval $ac_try) 2>&5
|
3576 | |
ac_status=$?
|
3577 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3578 | |
(exit $ac_status); }; }; then
|
|
4184 |
(exit $ac_status); } && {
|
|
4185 |
test -z "$ac_c_werror_flag" ||
|
|
4186 |
test ! -s conftest.err
|
|
4187 |
} && test -s conftest.$ac_objext; then
|
3579 | 4188 |
ac_header_compiler=yes
|
3580 | 4189 |
else
|
3581 | 4190 |
echo "$as_me: failed program was:" >&5
|
3582 | 4191 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3583 | 4192 |
|
3584 | |
ac_header_compiler=no
|
3585 | |
fi
|
3586 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
3587 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3588 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
4193 |
ac_header_compiler=no
|
|
4194 |
fi
|
|
4195 |
|
|
4196 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4197 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4198 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3589 | 4199 |
|
3590 | 4200 |
# Is the header present?
|
3591 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
3592 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
4201 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
4202 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
3593 | 4203 |
cat >conftest.$ac_ext <<_ACEOF
|
3594 | 4204 |
/* confdefs.h. */
|
3595 | 4205 |
_ACEOF
|
|
3598 | 4208 |
/* end confdefs.h. */
|
3599 | 4209 |
#include <$ac_header>
|
3600 | 4210 |
_ACEOF
|
3601 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
3602 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4211 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4212 |
case "(($ac_try" in
|
|
4213 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4214 |
*) ac_try_echo=$ac_try;;
|
|
4215 |
esac
|
|
4216 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4217 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3603 | 4218 |
ac_status=$?
|
3604 | 4219 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3605 | 4220 |
rm -f conftest.er1
|
3606 | 4221 |
cat conftest.err >&5
|
3607 | 4222 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3608 | |
(exit $ac_status); } >/dev/null; then
|
3609 | |
if test -s conftest.err; then
|
3610 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
3611 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
3612 | |
else
|
3613 | |
ac_cpp_err=
|
3614 | |
fi
|
3615 | |
else
|
3616 | |
ac_cpp_err=yes
|
3617 | |
fi
|
3618 | |
if test -z "$ac_cpp_err"; then
|
|
4223 |
(exit $ac_status); } >/dev/null && {
|
|
4224 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4225 |
test ! -s conftest.err
|
|
4226 |
}; then
|
3619 | 4227 |
ac_header_preproc=yes
|
3620 | 4228 |
else
|
3621 | 4229 |
echo "$as_me: failed program was:" >&5
|
|
3623 | 4231 |
|
3624 | 4232 |
ac_header_preproc=no
|
3625 | 4233 |
fi
|
|
4234 |
|
3626 | 4235 |
rm -f conftest.err conftest.$ac_ext
|
3627 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3628 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4236 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4237 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3629 | 4238 |
|
3630 | 4239 |
# So? What about this header?
|
3631 | 4240 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
3649 | 4258 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
3650 | 4259 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
3651 | 4260 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
3652 | |
(
|
3653 | |
cat <<\_ASBOX
|
3654 | |
## ------------------------------------------ ##
|
3655 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
3656 | |
## ------------------------------------------ ##
|
3657 | |
_ASBOX
|
3658 | |
) |
|
3659 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
4261 |
|
3660 | 4262 |
;;
|
3661 | 4263 |
esac
|
3662 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3663 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
3664 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4264 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4265 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4266 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3665 | 4267 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3666 | 4268 |
else
|
3667 | 4269 |
eval "$as_ac_Header=\$ac_header_preproc"
|
3668 | 4270 |
fi
|
3669 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
3670 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4271 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4272 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4273 |
echo "${ECHO_T}$ac_res" >&6; }
|
3671 | 4274 |
|
3672 | 4275 |
fi
|
3673 | 4276 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
3698 | 4301 |
fi
|
3699 | 4302 |
|
3700 | 4303 |
|
3701 | |
# Check whether --with-jpeg or --without-jpeg was given.
|
|
4304 |
# Check whether --with-jpeg was given.
|
3702 | 4305 |
if test "${with_jpeg+set}" = set; then
|
3703 | |
withval="$with_jpeg"
|
3704 | |
JPEG=$withval
|
|
4306 |
withval=$with_jpeg; JPEG=$withval
|
3705 | 4307 |
else
|
3706 | 4308 |
JPEG=yes
|
3707 | |
fi;
|
|
4309 |
fi
|
|
4310 |
|
3708 | 4311 |
if test "$JPEG" = "yes" ; then
|
3709 | 4312 |
|
3710 | |
echo "$as_me:$LINENO: checking for jinit_compress_master in -ljpeg" >&5
|
3711 | |
echo $ECHO_N "checking for jinit_compress_master in -ljpeg... $ECHO_C" >&6
|
|
4313 |
{ echo "$as_me:$LINENO: checking for jinit_compress_master in -ljpeg" >&5
|
|
4314 |
echo $ECHO_N "checking for jinit_compress_master in -ljpeg... $ECHO_C" >&6; }
|
3712 | 4315 |
if test "${ac_cv_lib_jpeg_jinit_compress_master+set}" = set; then
|
3713 | 4316 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3714 | 4317 |
else
|
|
3721 | 4324 |
cat >>conftest.$ac_ext <<_ACEOF
|
3722 | 4325 |
/* end confdefs.h. */
|
3723 | 4326 |
|
3724 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4327 |
/* Override any GCC internal prototype to avoid an error.
|
|
4328 |
Use char because int might match the return type of a GCC
|
|
4329 |
builtin and then its argument prototype would still apply. */
|
3725 | 4330 |
#ifdef __cplusplus
|
3726 | 4331 |
extern "C"
|
3727 | 4332 |
#endif
|
3728 | |
/* We use char because int might match the return type of a gcc2
|
3729 | |
builtin and then its argument prototype would still apply. */
|
3730 | 4333 |
char jinit_compress_master ();
|
3731 | 4334 |
int
|
3732 | 4335 |
main ()
|
3733 | 4336 |
{
|
3734 | |
jinit_compress_master ();
|
|
4337 |
return jinit_compress_master ();
|
3735 | 4338 |
;
|
3736 | 4339 |
return 0;
|
3737 | 4340 |
}
|
3738 | 4341 |
_ACEOF
|
3739 | 4342 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3740 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3741 | |
(eval $ac_link) 2>conftest.er1
|
|
4343 |
if { (ac_try="$ac_link"
|
|
4344 |
case "(($ac_try" in
|
|
4345 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4346 |
*) ac_try_echo=$ac_try;;
|
|
4347 |
esac
|
|
4348 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4349 |
(eval "$ac_link") 2>conftest.er1
|
3742 | 4350 |
ac_status=$?
|
3743 | 4351 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3744 | 4352 |
rm -f conftest.er1
|
3745 | 4353 |
cat conftest.err >&5
|
3746 | 4354 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3747 | |
(exit $ac_status); } &&
|
3748 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3749 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3750 | |
(eval $ac_try) 2>&5
|
3751 | |
ac_status=$?
|
3752 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3753 | |
(exit $ac_status); }; } &&
|
3754 | |
{ ac_try='test -s conftest$ac_exeext'
|
3755 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3756 | |
(eval $ac_try) 2>&5
|
3757 | |
ac_status=$?
|
3758 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3759 | |
(exit $ac_status); }; }; then
|
|
4355 |
(exit $ac_status); } && {
|
|
4356 |
test -z "$ac_c_werror_flag" ||
|
|
4357 |
test ! -s conftest.err
|
|
4358 |
} && test -s conftest$ac_exeext &&
|
|
4359 |
$as_test_x conftest$ac_exeext; then
|
3760 | 4360 |
ac_cv_lib_jpeg_jinit_compress_master=yes
|
3761 | 4361 |
else
|
3762 | 4362 |
echo "$as_me: failed program was:" >&5
|
3763 | 4363 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3764 | 4364 |
|
3765 | |
ac_cv_lib_jpeg_jinit_compress_master=no
|
3766 | |
fi
|
3767 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4365 |
ac_cv_lib_jpeg_jinit_compress_master=no
|
|
4366 |
fi
|
|
4367 |
|
|
4368 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3768 | 4369 |
conftest$ac_exeext conftest.$ac_ext
|
3769 | 4370 |
LIBS=$ac_check_lib_save_LIBS
|
3770 | 4371 |
fi
|
3771 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jinit_compress_master" >&5
|
3772 | |
echo "${ECHO_T}$ac_cv_lib_jpeg_jinit_compress_master" >&6
|
|
4372 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jinit_compress_master" >&5
|
|
4373 |
echo "${ECHO_T}$ac_cv_lib_jpeg_jinit_compress_master" >&6; }
|
3773 | 4374 |
if test $ac_cv_lib_jpeg_jinit_compress_master = yes; then
|
3774 | 4375 |
cat >>confdefs.h <<_ACEOF
|
3775 | 4376 |
#define HAVE_LIBJPEG 1
|
|
3795 | 4396 |
fi
|
3796 | 4397 |
|
3797 | 4398 |
|
3798 | |
# Check whether --with-libtiff or --without-libtiff was given.
|
|
4399 |
# Check whether --with-libtiff was given.
|
3799 | 4400 |
if test "${with_libtiff+set}" = set; then
|
3800 | |
withval="$with_libtiff"
|
3801 | |
|
3802 | |
fi;
|
|
4401 |
withval=$with_libtiff;
|
|
4402 |
fi
|
|
4403 |
|
3803 | 4404 |
|
3804 | 4405 |
if test "$with_libtiff" != "" ; then
|
3805 | 4406 |
if test -f $with_libtiff/include/tiffio.h -a -d $with_libtiff/lib ; then
|
|
3811 | 4412 |
fi
|
3812 | 4413 |
LIBS_SAVED="$LIBS"
|
3813 | 4414 |
|
3814 | |
echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
|
3815 | |
echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6
|
|
4415 |
{ echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
|
|
4416 |
echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6; }
|
3816 | 4417 |
if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then
|
3817 | 4418 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3818 | 4419 |
else
|
|
3825 | 4426 |
cat >>conftest.$ac_ext <<_ACEOF
|
3826 | 4427 |
/* end confdefs.h. */
|
3827 | 4428 |
|
3828 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4429 |
/* Override any GCC internal prototype to avoid an error.
|
|
4430 |
Use char because int might match the return type of a GCC
|
|
4431 |
builtin and then its argument prototype would still apply. */
|
3829 | 4432 |
#ifdef __cplusplus
|
3830 | 4433 |
extern "C"
|
3831 | 4434 |
#endif
|
3832 | |
/* We use char because int might match the return type of a gcc2
|
3833 | |
builtin and then its argument prototype would still apply. */
|
3834 | 4435 |
char TIFFOpen ();
|
3835 | 4436 |
int
|
3836 | 4437 |
main ()
|
3837 | 4438 |
{
|
3838 | |
TIFFOpen ();
|
|
4439 |
return TIFFOpen ();
|
3839 | 4440 |
;
|
3840 | 4441 |
return 0;
|
3841 | 4442 |
}
|
3842 | 4443 |
_ACEOF
|
3843 | 4444 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3844 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3845 | |
(eval $ac_link) 2>conftest.er1
|
|
4445 |
if { (ac_try="$ac_link"
|
|
4446 |
case "(($ac_try" in
|
|
4447 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4448 |
*) ac_try_echo=$ac_try;;
|
|
4449 |
esac
|
|
4450 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4451 |
(eval "$ac_link") 2>conftest.er1
|
3846 | 4452 |
ac_status=$?
|
3847 | 4453 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3848 | 4454 |
rm -f conftest.er1
|
3849 | 4455 |
cat conftest.err >&5
|
3850 | 4456 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3851 | |
(exit $ac_status); } &&
|
3852 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3853 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3854 | |
(eval $ac_try) 2>&5
|
3855 | |
ac_status=$?
|
3856 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3857 | |
(exit $ac_status); }; } &&
|
3858 | |
{ ac_try='test -s conftest$ac_exeext'
|
3859 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3860 | |
(eval $ac_try) 2>&5
|
3861 | |
ac_status=$?
|
3862 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3863 | |
(exit $ac_status); }; }; then
|
|
4457 |
(exit $ac_status); } && {
|
|
4458 |
test -z "$ac_c_werror_flag" ||
|
|
4459 |
test ! -s conftest.err
|
|
4460 |
} && test -s conftest$ac_exeext &&
|
|
4461 |
$as_test_x conftest$ac_exeext; then
|
3864 | 4462 |
ac_cv_lib_tiff_TIFFOpen=yes
|
3865 | 4463 |
else
|
3866 | 4464 |
echo "$as_me: failed program was:" >&5
|
3867 | 4465 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3868 | 4466 |
|
3869 | |
ac_cv_lib_tiff_TIFFOpen=no
|
3870 | |
fi
|
3871 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4467 |
ac_cv_lib_tiff_TIFFOpen=no
|
|
4468 |
fi
|
|
4469 |
|
|
4470 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3872 | 4471 |
conftest$ac_exeext conftest.$ac_ext
|
3873 | 4472 |
LIBS=$ac_check_lib_save_LIBS
|
3874 | 4473 |
fi
|
3875 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
|
3876 | |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6
|
|
4474 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
|
|
4475 |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6; }
|
3877 | 4476 |
if test $ac_cv_lib_tiff_TIFFOpen = yes; then
|
3878 | 4477 |
cat >>confdefs.h <<_ACEOF
|
3879 | 4478 |
#define HAVE_LIBTIFF 1
|
|
3888 | 4487 |
fi
|
3889 | 4488 |
|
3890 | 4489 |
|
3891 | |
echo "$as_me:$LINENO: checking for TIFFMergeFieldInfo in -ltiff" >&5
|
3892 | |
echo $ECHO_N "checking for TIFFMergeFieldInfo in -ltiff... $ECHO_C" >&6
|
|
4490 |
{ echo "$as_me:$LINENO: checking for TIFFMergeFieldInfo in -ltiff" >&5
|
|
4491 |
echo $ECHO_N "checking for TIFFMergeFieldInfo in -ltiff... $ECHO_C" >&6; }
|
3893 | 4492 |
if test "${ac_cv_lib_tiff_TIFFMergeFieldInfo+set}" = set; then
|
3894 | 4493 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3895 | 4494 |
else
|
|
3902 | 4501 |
cat >>conftest.$ac_ext <<_ACEOF
|
3903 | 4502 |
/* end confdefs.h. */
|
3904 | 4503 |
|
3905 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4504 |
/* Override any GCC internal prototype to avoid an error.
|
|
4505 |
Use char because int might match the return type of a GCC
|
|
4506 |
builtin and then its argument prototype would still apply. */
|
3906 | 4507 |
#ifdef __cplusplus
|
3907 | 4508 |
extern "C"
|
3908 | 4509 |
#endif
|
3909 | |
/* We use char because int might match the return type of a gcc2
|
3910 | |
builtin and then its argument prototype would still apply. */
|
3911 | 4510 |
char TIFFMergeFieldInfo ();
|
3912 | 4511 |
int
|
3913 | 4512 |
main ()
|
3914 | 4513 |
{
|
3915 | |
TIFFMergeFieldInfo ();
|
|
4514 |
return TIFFMergeFieldInfo ();
|
3916 | 4515 |
;
|
3917 | 4516 |
return 0;
|
3918 | 4517 |
}
|
3919 | 4518 |
_ACEOF
|
3920 | 4519 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3921 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3922 | |
(eval $ac_link) 2>conftest.er1
|
|
4520 |
if { (ac_try="$ac_link"
|
|
4521 |
case "(($ac_try" in
|
|
4522 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4523 |
*) ac_try_echo=$ac_try;;
|
|
4524 |
esac
|
|
4525 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4526 |
(eval "$ac_link") 2>conftest.er1
|
3923 | 4527 |
ac_status=$?
|
3924 | 4528 |
grep -v '^ *+' conftest.er1 >conftest.err
|
3925 | 4529 |
rm -f conftest.er1
|
3926 | 4530 |
cat conftest.err >&5
|
3927 | 4531 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3928 | |
(exit $ac_status); } &&
|
3929 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
3930 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3931 | |
(eval $ac_try) 2>&5
|
3932 | |
ac_status=$?
|
3933 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3934 | |
(exit $ac_status); }; } &&
|
3935 | |
{ ac_try='test -s conftest$ac_exeext'
|
3936 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3937 | |
(eval $ac_try) 2>&5
|
3938 | |
ac_status=$?
|
3939 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3940 | |
(exit $ac_status); }; }; then
|
|
4532 |
(exit $ac_status); } && {
|
|
4533 |
test -z "$ac_c_werror_flag" ||
|
|
4534 |
test ! -s conftest.err
|
|
4535 |
} && test -s conftest$ac_exeext &&
|
|
4536 |
$as_test_x conftest$ac_exeext; then
|
3941 | 4537 |
ac_cv_lib_tiff_TIFFMergeFieldInfo=yes
|
3942 | 4538 |
else
|
3943 | 4539 |
echo "$as_me: failed program was:" >&5
|
3944 | 4540 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3945 | 4541 |
|
3946 | |
ac_cv_lib_tiff_TIFFMergeFieldInfo=no
|
3947 | |
fi
|
3948 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4542 |
ac_cv_lib_tiff_TIFFMergeFieldInfo=no
|
|
4543 |
fi
|
|
4544 |
|
|
4545 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
3949 | 4546 |
conftest$ac_exeext conftest.$ac_ext
|
3950 | 4547 |
LIBS=$ac_check_lib_save_LIBS
|
3951 | 4548 |
fi
|
3952 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
|
3953 | |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6
|
|
4549 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
|
|
4550 |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6; }
|
3954 | 4551 |
if test $ac_cv_lib_tiff_TIFFMergeFieldInfo = yes; then
|
3955 | 4552 |
cat >>confdefs.h <<_ACEOF
|
3956 | 4553 |
#define HAVE_LIBTIFF 1
|
|
3969 | 4566 |
LIBS="$LIBS_SAVED"
|
3970 | 4567 |
else
|
3971 | 4568 |
|
3972 | |
echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
|
3973 | |
echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6
|
|
4569 |
{ echo "$as_me:$LINENO: checking for TIFFOpen in -ltiff" >&5
|
|
4570 |
echo $ECHO_N "checking for TIFFOpen in -ltiff... $ECHO_C" >&6; }
|
3974 | 4571 |
if test "${ac_cv_lib_tiff_TIFFOpen+set}" = set; then
|
3975 | 4572 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3976 | 4573 |
else
|
|
3983 | 4580 |
cat >>conftest.$ac_ext <<_ACEOF
|
3984 | 4581 |
/* end confdefs.h. */
|
3985 | 4582 |
|
3986 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4583 |
/* Override any GCC internal prototype to avoid an error.
|
|
4584 |
Use char because int might match the return type of a GCC
|
|
4585 |
builtin and then its argument prototype would still apply. */
|
3987 | 4586 |
#ifdef __cplusplus
|
3988 | 4587 |
extern "C"
|
3989 | 4588 |
#endif
|
3990 | |
/* We use char because int might match the return type of a gcc2
|
3991 | |
builtin and then its argument prototype would still apply. */
|
3992 | 4589 |
char TIFFOpen ();
|
3993 | 4590 |
int
|
3994 | 4591 |
main ()
|
3995 | 4592 |
{
|
3996 | |
TIFFOpen ();
|
|
4593 |
return TIFFOpen ();
|
3997 | 4594 |
;
|
3998 | 4595 |
return 0;
|
3999 | 4596 |
}
|
4000 | 4597 |
_ACEOF
|
4001 | 4598 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4002 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4003 | |
(eval $ac_link) 2>conftest.er1
|
|
4599 |
if { (ac_try="$ac_link"
|
|
4600 |
case "(($ac_try" in
|
|
4601 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4602 |
*) ac_try_echo=$ac_try;;
|
|
4603 |
esac
|
|
4604 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4605 |
(eval "$ac_link") 2>conftest.er1
|
4004 | 4606 |
ac_status=$?
|
4005 | 4607 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4006 | 4608 |
rm -f conftest.er1
|
4007 | 4609 |
cat conftest.err >&5
|
4008 | 4610 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4009 | |
(exit $ac_status); } &&
|
4010 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
4011 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4012 | |
(eval $ac_try) 2>&5
|
4013 | |
ac_status=$?
|
4014 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4015 | |
(exit $ac_status); }; } &&
|
4016 | |
{ ac_try='test -s conftest$ac_exeext'
|
4017 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4018 | |
(eval $ac_try) 2>&5
|
4019 | |
ac_status=$?
|
4020 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4021 | |
(exit $ac_status); }; }; then
|
|
4611 |
(exit $ac_status); } && {
|
|
4612 |
test -z "$ac_c_werror_flag" ||
|
|
4613 |
test ! -s conftest.err
|
|
4614 |
} && test -s conftest$ac_exeext &&
|
|
4615 |
$as_test_x conftest$ac_exeext; then
|
4022 | 4616 |
ac_cv_lib_tiff_TIFFOpen=yes
|
4023 | 4617 |
else
|
4024 | 4618 |
echo "$as_me: failed program was:" >&5
|
4025 | 4619 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4026 | 4620 |
|
4027 | |
ac_cv_lib_tiff_TIFFOpen=no
|
4028 | |
fi
|
4029 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4621 |
ac_cv_lib_tiff_TIFFOpen=no
|
|
4622 |
fi
|
|
4623 |
|
|
4624 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4030 | 4625 |
conftest$ac_exeext conftest.$ac_ext
|
4031 | 4626 |
LIBS=$ac_check_lib_save_LIBS
|
4032 | 4627 |
fi
|
4033 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
|
4034 | |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6
|
|
4628 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFOpen" >&5
|
|
4629 |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFOpen" >&6; }
|
4035 | 4630 |
if test $ac_cv_lib_tiff_TIFFOpen = yes; then
|
4036 | 4631 |
cat >>confdefs.h <<_ACEOF
|
4037 | 4632 |
#define HAVE_LIBTIFF 1
|
|
4049 | 4644 |
|
4050 | 4645 |
LIBS_SAVED="$LIBS"
|
4051 | 4646 |
|
4052 | |
echo "$as_me:$LINENO: checking for TIFFMergeFieldInfo in -ltiff" >&5
|
4053 | |
echo $ECHO_N "checking for TIFFMergeFieldInfo in -ltiff... $ECHO_C" >&6
|
|
4647 |
{ echo "$as_me:$LINENO: checking for TIFFMergeFieldInfo in -ltiff" >&5
|
|
4648 |
echo $ECHO_N "checking for TIFFMergeFieldInfo in -ltiff... $ECHO_C" >&6; }
|
4054 | 4649 |
if test "${ac_cv_lib_tiff_TIFFMergeFieldInfo+set}" = set; then
|
4055 | 4650 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4056 | 4651 |
else
|
|
4063 | 4658 |
cat >>conftest.$ac_ext <<_ACEOF
|
4064 | 4659 |
/* end confdefs.h. */
|
4065 | 4660 |
|
4066 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4661 |
/* Override any GCC internal prototype to avoid an error.
|
|
4662 |
Use char because int might match the return type of a GCC
|
|
4663 |
builtin and then its argument prototype would still apply. */
|
4067 | 4664 |
#ifdef __cplusplus
|
4068 | 4665 |
extern "C"
|
4069 | 4666 |
#endif
|
4070 | |
/* We use char because int might match the return type of a gcc2
|
4071 | |
builtin and then its argument prototype would still apply. */
|
4072 | 4667 |
char TIFFMergeFieldInfo ();
|
4073 | 4668 |
int
|
4074 | 4669 |
main ()
|
4075 | 4670 |
{
|
4076 | |
TIFFMergeFieldInfo ();
|
|
4671 |
return TIFFMergeFieldInfo ();
|
4077 | 4672 |
;
|
4078 | 4673 |
return 0;
|
4079 | 4674 |
}
|
4080 | 4675 |
_ACEOF
|
4081 | 4676 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4082 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4083 | |
(eval $ac_link) 2>conftest.er1
|
|
4677 |
if { (ac_try="$ac_link"
|
|
4678 |
case "(($ac_try" in
|
|
4679 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4680 |
*) ac_try_echo=$ac_try;;
|
|
4681 |
esac
|
|
4682 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4683 |
(eval "$ac_link") 2>conftest.er1
|
4084 | 4684 |
ac_status=$?
|
4085 | 4685 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4086 | 4686 |
rm -f conftest.er1
|
4087 | 4687 |
cat conftest.err >&5
|
4088 | 4688 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4089 | |
(exit $ac_status); } &&
|
4090 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
4091 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4092 | |
(eval $ac_try) 2>&5
|
4093 | |
ac_status=$?
|
4094 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4095 | |
(exit $ac_status); }; } &&
|
4096 | |
{ ac_try='test -s conftest$ac_exeext'
|
4097 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4098 | |
(eval $ac_try) 2>&5
|
4099 | |
ac_status=$?
|
4100 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4101 | |
(exit $ac_status); }; }; then
|
|
4689 |
(exit $ac_status); } && {
|
|
4690 |
test -z "$ac_c_werror_flag" ||
|
|
4691 |
test ! -s conftest.err
|
|
4692 |
} && test -s conftest$ac_exeext &&
|
|
4693 |
$as_test_x conftest$ac_exeext; then
|
4102 | 4694 |
ac_cv_lib_tiff_TIFFMergeFieldInfo=yes
|
4103 | 4695 |
else
|
4104 | 4696 |
echo "$as_me: failed program was:" >&5
|
4105 | 4697 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4106 | 4698 |
|
4107 | |
ac_cv_lib_tiff_TIFFMergeFieldInfo=no
|
4108 | |
fi
|
4109 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4699 |
ac_cv_lib_tiff_TIFFMergeFieldInfo=no
|
|
4700 |
fi
|
|
4701 |
|
|
4702 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4110 | 4703 |
conftest$ac_exeext conftest.$ac_ext
|
4111 | 4704 |
LIBS=$ac_check_lib_save_LIBS
|
4112 | 4705 |
fi
|
4113 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
|
4114 | |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6
|
|
4706 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFMergeFieldInfo" >&5
|
|
4707 |
echo "${ECHO_T}$ac_cv_lib_tiff_TIFFMergeFieldInfo" >&6; }
|
4115 | 4708 |
if test $ac_cv_lib_tiff_TIFFMergeFieldInfo = yes; then
|
4116 | 4709 |
cat >>confdefs.h <<_ACEOF
|
4117 | 4710 |
#define HAVE_LIBTIFF 1
|
|
4136 | 4729 |
|
4137 | 4730 |
|
4138 | 4731 |
|
4139 | |
# Check whether --with-proj or --without-proj was given.
|
|
4732 |
# Check whether --with-proj was given.
|
4140 | 4733 |
if test "${with_proj+set}" = set; then
|
4141 | |
withval="$with_proj"
|
4142 | |
PROJ_HOME=$withval
|
|
4734 |
withval=$with_proj; PROJ_HOME=$withval
|
4143 | 4735 |
else
|
4144 | 4736 |
PROJ_HOME=
|
4145 | |
fi;
|
|
4737 |
fi
|
|
4738 |
|
4146 | 4739 |
|
4147 | 4740 |
if test "$PROJ_HOME" != "" -a "$PROJ_HOME" != "no" ; then
|
4148 | 4741 |
if test -d "$PROJ_HOME/src/pj_init.c" ; then
|
|
4187 | 4780 |
|
4188 | 4781 |
else
|
4189 | 4782 |
|
4190 | |
echo "$as_me:$LINENO: checking for pj_init in -lproj" >&5
|
4191 | |
echo $ECHO_N "checking for pj_init in -lproj... $ECHO_C" >&6
|
|
4783 |
{ echo "$as_me:$LINENO: checking for pj_init in -lproj" >&5
|
|
4784 |
echo $ECHO_N "checking for pj_init in -lproj... $ECHO_C" >&6; }
|
4192 | 4785 |
if test "${ac_cv_lib_proj_pj_init+set}" = set; then
|
4193 | 4786 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4194 | 4787 |
else
|
|
4201 | 4794 |
cat >>conftest.$ac_ext <<_ACEOF
|
4202 | 4795 |
/* end confdefs.h. */
|
4203 | 4796 |
|
4204 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
4797 |
/* Override any GCC internal prototype to avoid an error.
|
|
4798 |
Use char because int might match the return type of a GCC
|
|
4799 |
builtin and then its argument prototype would still apply. */
|
4205 | 4800 |
#ifdef __cplusplus
|
4206 | 4801 |
extern "C"
|
4207 | 4802 |
#endif
|
4208 | |
/* We use char because int might match the return type of a gcc2
|
4209 | |
builtin and then its argument prototype would still apply. */
|
4210 | 4803 |
char pj_init ();
|
4211 | 4804 |
int
|
4212 | 4805 |
main ()
|
4213 | 4806 |
{
|
4214 | |
pj_init ();
|
|
4807 |
return pj_init ();
|
4215 | 4808 |
;
|
4216 | 4809 |
return 0;
|
4217 | 4810 |
}
|
4218 | 4811 |
_ACEOF
|
4219 | 4812 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4220 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
4221 | |
(eval $ac_link) 2>conftest.er1
|
|
4813 |
if { (ac_try="$ac_link"
|
|
4814 |
case "(($ac_try" in
|
|
4815 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4816 |
*) ac_try_echo=$ac_try;;
|
|
4817 |
esac
|
|
4818 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4819 |
(eval "$ac_link") 2>conftest.er1
|
4222 | 4820 |
ac_status=$?
|
4223 | 4821 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4224 | 4822 |
rm -f conftest.er1
|
4225 | 4823 |
cat conftest.err >&5
|
4226 | 4824 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4227 | |
(exit $ac_status); } &&
|
4228 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
4229 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4230 | |
(eval $ac_try) 2>&5
|
4231 | |
ac_status=$?
|
4232 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4233 | |
(exit $ac_status); }; } &&
|
4234 | |
{ ac_try='test -s conftest$ac_exeext'
|
4235 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4236 | |
(eval $ac_try) 2>&5
|
4237 | |
ac_status=$?
|
4238 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4239 | |
(exit $ac_status); }; }; then
|
|
4825 |
(exit $ac_status); } && {
|
|
4826 |
test -z "$ac_c_werror_flag" ||
|
|
4827 |
test ! -s conftest.err
|
|
4828 |
} && test -s conftest$ac_exeext &&
|
|
4829 |
$as_test_x conftest$ac_exeext; then
|
4240 | 4830 |
ac_cv_lib_proj_pj_init=yes
|
4241 | 4831 |
else
|
4242 | 4832 |
echo "$as_me: failed program was:" >&5
|
4243 | 4833 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4244 | 4834 |
|
4245 | |
ac_cv_lib_proj_pj_init=no
|
4246 | |
fi
|
4247 | |
rm -f conftest.err conftest.$ac_objext \
|
|
4835 |
ac_cv_lib_proj_pj_init=no
|
|
4836 |
fi
|
|
4837 |
|
|
4838 |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4248 | 4839 |
conftest$ac_exeext conftest.$ac_ext
|
4249 | 4840 |
LIBS=$ac_check_lib_save_LIBS
|
4250 | 4841 |
fi
|
4251 | |
echo "$as_me:$LINENO: result: $ac_cv_lib_proj_pj_init" >&5
|
4252 | |
echo "${ECHO_T}$ac_cv_lib_proj_pj_init" >&6
|
|
4842 |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_proj_pj_init" >&5
|
|
4843 |
echo "${ECHO_T}$ac_cv_lib_proj_pj_init" >&6; }
|
4253 | 4844 |
if test $ac_cv_lib_proj_pj_init = yes; then
|
4254 | 4845 |
cat >>confdefs.h <<_ACEOF
|
4255 | 4846 |
#define HAVE_LIBPROJ 1
|
|
4263 | 4854 |
for ac_header in projects.h
|
4264 | 4855 |
do
|
4265 | 4856 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4266 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
4267 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4268 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4269 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4857 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4858 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4859 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4860 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4270 | 4861 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4271 | 4862 |
fi
|
4272 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4273 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4863 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4864 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4865 |
echo "${ECHO_T}$ac_res" >&6; }
|
4274 | 4866 |
else
|
4275 | 4867 |
# Is the header compilable?
|
4276 | |
echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
4277 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
|
|
4868 |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
|
4869 |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
4278 | 4870 |
cat >conftest.$ac_ext <<_ACEOF
|
4279 | 4871 |
/* confdefs.h. */
|
4280 | 4872 |
_ACEOF
|
|
4285 | 4877 |
#include <$ac_header>
|
4286 | 4878 |
_ACEOF
|
4287 | 4879 |
rm -f conftest.$ac_objext
|
4288 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
4289 | |
(eval $ac_compile) 2>conftest.er1
|
|
4880 |
if { (ac_try="$ac_compile"
|
|
4881 |
case "(($ac_try" in
|
|
4882 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4883 |
*) ac_try_echo=$ac_try;;
|
|
4884 |
esac
|
|
4885 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4886 |
(eval "$ac_compile") 2>conftest.er1
|
4290 | 4887 |
ac_status=$?
|
4291 | 4888 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4292 | 4889 |
rm -f conftest.er1
|
4293 | 4890 |
cat conftest.err >&5
|
4294 | 4891 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4295 | |
(exit $ac_status); } &&
|
4296 | |
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
4297 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4298 | |
(eval $ac_try) 2>&5
|
4299 | |
ac_status=$?
|
4300 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4301 | |
(exit $ac_status); }; } &&
|
4302 | |
{ ac_try='test -s conftest.$ac_objext'
|
4303 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
4304 | |
(eval $ac_try) 2>&5
|
4305 | |
ac_status=$?
|
4306 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4307 | |
(exit $ac_status); }; }; then
|
|
4892 |
(exit $ac_status); } && {
|
|
4893 |
test -z "$ac_c_werror_flag" ||
|
|
4894 |
test ! -s conftest.err
|
|
4895 |
} && test -s conftest.$ac_objext; then
|
4308 | 4896 |
ac_header_compiler=yes
|
4309 | 4897 |
else
|
4310 | 4898 |
echo "$as_me: failed program was:" >&5
|
4311 | 4899 |
sed 's/^/| /' conftest.$ac_ext >&5
|
4312 | 4900 |
|
4313 | |
ac_header_compiler=no
|
4314 | |
fi
|
4315 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
4316 | |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4317 | |
echo "${ECHO_T}$ac_header_compiler" >&6
|
|
4901 |
ac_header_compiler=no
|
|
4902 |
fi
|
|
4903 |
|
|
4904 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4905 |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
|
4906 |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
4318 | 4907 |
|
4319 | 4908 |
# Is the header present?
|
4320 | |
echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
4321 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
|
|
4909 |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
|
4910 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
4322 | 4911 |
cat >conftest.$ac_ext <<_ACEOF
|
4323 | 4912 |
/* confdefs.h. */
|
4324 | 4913 |
_ACEOF
|
|
4327 | 4916 |
/* end confdefs.h. */
|
4328 | 4917 |
#include <$ac_header>
|
4329 | 4918 |
_ACEOF
|
4330 | |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
|
4331 | |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
|
|
4919 |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
|
4920 |
case "(($ac_try" in
|
|
4921 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
4922 |
*) ac_try_echo=$ac_try;;
|
|
4923 |
esac
|
|
4924 |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
4925 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4332 | 4926 |
ac_status=$?
|
4333 | 4927 |
grep -v '^ *+' conftest.er1 >conftest.err
|
4334 | 4928 |
rm -f conftest.er1
|
4335 | 4929 |
cat conftest.err >&5
|
4336 | 4930 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4337 | |
(exit $ac_status); } >/dev/null; then
|
4338 | |
if test -s conftest.err; then
|
4339 | |
ac_cpp_err=$ac_c_preproc_warn_flag
|
4340 | |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
|
4341 | |
else
|
4342 | |
ac_cpp_err=
|
4343 | |
fi
|
4344 | |
else
|
4345 | |
ac_cpp_err=yes
|
4346 | |
fi
|
4347 | |
if test -z "$ac_cpp_err"; then
|
|
4931 |
(exit $ac_status); } >/dev/null && {
|
|
4932 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
4933 |
test ! -s conftest.err
|
|
4934 |
}; then
|
4348 | 4935 |
ac_header_preproc=yes
|
4349 | 4936 |
else
|
4350 | 4937 |
echo "$as_me: failed program was:" >&5
|
|
4352 | 4939 |
|
4353 | 4940 |
ac_header_preproc=no
|
4354 | 4941 |
fi
|
|
4942 |
|
4355 | 4943 |
rm -f conftest.err conftest.$ac_ext
|
4356 | |
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4357 | |
echo "${ECHO_T}$ac_header_preproc" >&6
|
|
4944 |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
|
4945 |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
4358 | 4946 |
|
4359 | 4947 |
# So? What about this header?
|
4360 | 4948 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
|
4378 | 4966 |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
4379 | 4967 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
4380 | 4968 |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
4381 | |
(
|
4382 | |
cat <<\_ASBOX
|
4383 | |
## ------------------------------------------ ##
|
4384 | |
## Report this to the AC_PACKAGE_NAME lists. ##
|
4385 | |
## ------------------------------------------ ##
|
4386 | |
_ASBOX
|
4387 | |
) |
|
4388 | |
sed "s/^/$as_me: WARNING: /" >&2
|
|
4969 |
|
4389 | 4970 |
;;
|
4390 | 4971 |
esac
|
4391 | |
echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4392 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
|
4393 | |
if eval "test \"\${$as_ac_Header+set}\" = set"; then
|
|
4972 |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
|
4973 |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
|
4974 |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4394 | 4975 |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4395 | 4976 |
else
|
4396 | 4977 |
eval "$as_ac_Header=\$ac_header_preproc"
|
4397 | 4978 |
fi
|
4398 | |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
|
4399 | |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
|
|
4979 |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
|
4980 |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
|
4981 |
echo "${ECHO_T}$ac_res" >&6; }
|
4400 | 4982 |
|
4401 | 4983 |
fi
|
4402 | 4984 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
4411 | 4993 |
fi
|
4412 | 4994 |
|
4413 | 4995 |
|
4414 | |
# Check whether --enable-incode-epsg or --disable-incode-epsg was given.
|
|
4996 |
# Check whether --enable-incode-epsg was given.
|
4415 | 4997 |
if test "${enable_incode_epsg+set}" = set; then
|
4416 | |
enableval="$enable_incode_epsg"
|
4417 | |
|
|
4998 |
enableval=$enable_incode_epsg;
|
4418 | 4999 |
else
|
4419 | 5000 |
enable_incode_epsg=no
|
4420 | |
fi;
|
|
5001 |
fi
|
|
5002 |
|
4421 | 5003 |
|
4422 | 5004 |
if test "$enable_incode_epsg" != "yes" ; then
|
4423 | 5005 |
echo "EPSG tables will be read from .csv files."
|
|
4432 | 5014 |
|
4433 | 5015 |
|
4434 | 5016 |
|
4435 | |
ac_config_files="$ac_config_files Makefile bin/Makefile"
|
|
5017 |
ac_config_files="$ac_config_files Makefile bin/Makefile"
|
|
5018 |
|
4436 | 5019 |
cat >confcache <<\_ACEOF
|
4437 | 5020 |
# This file is a shell script that caches the results of configure
|
4438 | 5021 |
# tests run on this system so they can be shared between configure
|
|
4451 | 5034 |
|
4452 | 5035 |
# The following way of writing the cache mishandles newlines in values,
|
4453 | 5036 |
# but we know of no workaround that is simple, portable, and efficient.
|
4454 | |
# So, don't put newlines in cache variables' values.
|
|
5037 |
# So, we kill variables containing newlines.
|
4455 | 5038 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
4456 | 5039 |
# and sets the high bit in the cache file unless we assign to the vars.
|
4457 | |
{
|
|
5040 |
(
|
|
5041 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|
5042 |
eval ac_val=\$$ac_var
|
|
5043 |
case $ac_val in #(
|
|
5044 |
*${as_nl}*)
|
|
5045 |
case $ac_var in #(
|
|
5046 |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
|
5047 |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
5048 |
esac
|
|
5049 |
case $ac_var in #(
|
|
5050 |
_ | IFS | as_nl) ;; #(
|
|
5051 |
*) $as_unset $ac_var ;;
|
|
5052 |
esac ;;
|
|
5053 |
esac
|
|
5054 |
done
|
|
5055 |
|
4458 | 5056 |
(set) 2>&1 |
|
4459 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
4460 | |
*ac_space=\ *)
|
|
5057 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|
5058 |
*${as_nl}ac_space=\ *)
|
4461 | 5059 |
# `set' does not quote correctly, so add quotes (double-quote
|
4462 | 5060 |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
4463 | 5061 |
sed -n \
|
4464 | 5062 |
"s/'/'\\\\''/g;
|
4465 | 5063 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
4466 | |
;;
|
|
5064 |
;; #(
|
4467 | 5065 |
*)
|
4468 | 5066 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
4469 | |
sed -n \
|
4470 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
5067 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
4471 | 5068 |
;;
|
4472 | |
esac;
|
4473 | |
} |
|
|
5069 |
esac |
|
|
5070 |
sort
|
|
5071 |
) |
|
4474 | 5072 |
sed '
|
|
5073 |
/^ac_cv_env_/b end
|
4475 | 5074 |
t clear
|
4476 | |
: clear
|
|
5075 |
:clear
|
4477 | 5076 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
4478 | 5077 |
t end
|
4479 | |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
4480 | |
: end' >>confcache
|
4481 | |
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
4482 | |
if test -w $cache_file; then
|
4483 | |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|
5078 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
5079 |
:end' >>confcache
|
|
5080 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|
5081 |
if test -w "$cache_file"; then
|
|
5082 |
test "x$cache_file" != "x/dev/null" &&
|
|
5083 |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
5084 |
echo "$as_me: updating cache $cache_file" >&6;}
|
4484 | 5085 |
cat confcache >$cache_file
|
4485 | 5086 |
else
|
4486 | |
echo "not updating unwritable cache $cache_file"
|
|
5087 |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
5088 |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
4487 | 5089 |
fi
|
4488 | 5090 |
fi
|
4489 | 5091 |
rm -f confcache
|
|
4491 | 5093 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
4492 | 5094 |
# Let make expand exec_prefix.
|
4493 | 5095 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
4494 | |
|
4495 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
4496 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
4497 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
4498 | |
# (actually we leave an empty line to preserve line numbers).
|
4499 | |
if test "x$srcdir" = x.; then
|
4500 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
4501 | |
s/:*\$(srcdir):*/:/;
|
4502 | |
s/:*\${srcdir}:*/:/;
|
4503 | |
s/:*@srcdir@:*/:/;
|
4504 | |
s/^\([^=]*=[ ]*\):*/\1/;
|
4505 | |
s/:*$//;
|
4506 | |
s/^[^=]*=[ ]*$//;
|
4507 | |
}'
|
4508 | |
fi
|
4509 | 5096 |
|
4510 | 5097 |
DEFS=-DHAVE_CONFIG_H
|
4511 | 5098 |
|
|
4513 | 5100 |
ac_ltlibobjs=
|
4514 | 5101 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
4515 | 5102 |
# 1. Remove the extension, and $U if already installed.
|
4516 | |
ac_i=`echo "$ac_i" |
|
4517 | |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
4518 | |
# 2. Add them.
|
4519 | |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
4520 | |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
5103 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
5104 |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
5105 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|
5106 |
# will be set to the directory where LIBOBJS objects are built.
|
|
5107 |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
5108 |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
4521 | 5109 |
done
|
4522 | 5110 |
LIBOBJS=$ac_libobjs
|
4523 | 5111 |
|
|
4548 | 5136 |
## M4sh Initialization. ##
|
4549 | 5137 |
## --------------------- ##
|
4550 | 5138 |
|
4551 | |
# Be Bourne compatible
|
|
5139 |
# Be more Bourne compatible
|
|
5140 |
DUALCASE=1; export DUALCASE # for MKS sh
|
4552 | 5141 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
4553 | 5142 |
emulate sh
|
4554 | 5143 |
NULLCMD=:
|
4555 | 5144 |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
4556 | 5145 |
# is contrary to our usage. Disable this feature.
|
4557 | 5146 |
alias -g '${1+"$@"}'='"$@"'
|
4558 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
4559 | |
set -o posix
|
4560 | |
fi
|
4561 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
4562 | |
|
4563 | |
# Support unset when possible.
|
4564 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
4565 | |
as_unset=unset
|
4566 | |
else
|
4567 | |
as_unset=false
|
4568 | |
fi
|
4569 | |
|
4570 | |
|
4571 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
4572 | |
$as_unset ENV MAIL MAILPATH
|
4573 | |
PS1='$ '
|
4574 | |
PS2='> '
|
4575 | |
PS4='+ '
|
4576 | |
|
4577 | |
# NLS nuisances.
|
4578 | |
for as_var in \
|
4579 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
4580 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
4581 | |
LC_TELEPHONE LC_TIME
|
4582 | |
do
|
4583 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
4584 | |
eval $as_var=C; export $as_var
|
4585 | |
else
|
4586 | |
$as_unset $as_var
|
4587 | |
fi
|
4588 | |
done
|
4589 | |
|
4590 | |
# Required to use basename.
|
4591 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
4592 | |
as_expr=expr
|
4593 | |
else
|
4594 | |
as_expr=false
|
4595 | |
fi
|
4596 | |
|
4597 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
4598 | |
as_basename=basename
|
4599 | |
else
|
4600 | |
as_basename=false
|
4601 | |
fi
|
4602 | |
|
4603 | |
|
4604 | |
# Name of the executable.
|
4605 | |
as_me=`$as_basename "$0" ||
|
4606 | |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
4607 | |
X"$0" : 'X\(//\)$' \| \
|
4608 | |
X"$0" : 'X\(/\)$' \| \
|
4609 | |
. : '\(.\)' 2>/dev/null ||
|
4610 | |
echo X/"$0" |
|
4611 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
4612 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
4613 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
4614 | |
s/.*/./; q'`
|
4615 | |
|
4616 | |
|
4617 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
5147 |
setopt NO_GLOB_SUBST
|
|
5148 |
else
|
|
5149 |
case `(set -o) 2>/dev/null` in
|
|
5150 |
*posix*) set -o posix ;;
|
|
5151 |
esac
|
|
5152 |
|
|
5153 |
fi
|
|
5154 |
|
|
5155 |
|
|
5156 |
|
|
5157 |
|
|
5158 |
# PATH needs CR
|
4618 | 5159 |
# Avoid depending upon Character Ranges.
|
4619 | 5160 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
4620 | 5161 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
4635 | 5176 |
rm -f conf$$.sh
|
4636 | 5177 |
fi
|
4637 | 5178 |
|
4638 | |
|
4639 | |
as_lineno_1=$LINENO
|
4640 | |
as_lineno_2=$LINENO
|
4641 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
4642 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
4643 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
4644 | |
# Find who we are. Look in the path if we contain no path at all
|
4645 | |
# relative or not.
|
4646 | |
case $0 in
|
4647 | |
*[\\/]* ) as_myself=$0 ;;
|
4648 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
5179 |
# Support unset when possible.
|
|
5180 |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
|
5181 |
as_unset=unset
|
|
5182 |
else
|
|
5183 |
as_unset=false
|
|
5184 |
fi
|
|
5185 |
|
|
5186 |
|
|
5187 |
# IFS
|
|
5188 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
5189 |
# there to prevent editors from complaining about space-tab.
|
|
5190 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
5191 |
# splitting by setting IFS to empty value.)
|
|
5192 |
as_nl='
|
|
5193 |
'
|
|
5194 |
IFS=" "" $as_nl"
|
|
5195 |
|
|
5196 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
5197 |
case $0 in
|
|
5198 |
*[\\/]* ) as_myself=$0 ;;
|
|
5199 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4649 | 5200 |
for as_dir in $PATH
|
4650 | 5201 |
do
|
4651 | 5202 |
IFS=$as_save_IFS
|
4652 | 5203 |
test -z "$as_dir" && as_dir=.
|
4653 | 5204 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
4654 | 5205 |
done
|
4655 | |
|
4656 | |
;;
|
4657 | |
esac
|
4658 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
4659 | |
# in which case we are not to be found in the path.
|
4660 | |
if test "x$as_myself" = x; then
|
4661 | |
as_myself=$0
|
|
5206 |
IFS=$as_save_IFS
|
|
5207 |
|
|
5208 |
;;
|
|
5209 |
esac
|
|
5210 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
5211 |
# in which case we are not to be found in the path.
|
|
5212 |
if test "x$as_myself" = x; then
|
|
5213 |
as_myself=$0
|
|
5214 |
fi
|
|
5215 |
if test ! -f "$as_myself"; then
|
|
5216 |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
5217 |
{ (exit 1); exit 1; }
|
|
5218 |
fi
|
|
5219 |
|
|
5220 |
# Work around bugs in pre-3.0 UWIN ksh.
|
|
5221 |
for as_var in ENV MAIL MAILPATH
|
|
5222 |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
5223 |
done
|
|
5224 |
PS1='$ '
|
|
5225 |
PS2='> '
|
|
5226 |
PS4='+ '
|
|
5227 |
|
|
5228 |
# NLS nuisances.
|
|
5229 |
for as_var in \
|
|
5230 |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
|
5231 |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
|
5232 |
LC_TELEPHONE LC_TIME
|
|
5233 |
do
|
|
5234 |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
|
5235 |
eval $as_var=C; export $as_var
|
|
5236 |
else
|
|
5237 |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
4662 | 5238 |
fi
|
4663 | |
if test ! -f "$as_myself"; then
|
4664 | |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
4665 | |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
4666 | |
{ (exit 1); exit 1; }; }
|
4667 | |
fi
|
4668 | |
case $CONFIG_SHELL in
|
4669 | |
'')
|
4670 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4671 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
4672 | |
do
|
4673 | |
IFS=$as_save_IFS
|
4674 | |
test -z "$as_dir" && as_dir=.
|
4675 | |
for as_base in sh bash ksh sh5; do
|
4676 | |
case $as_dir in
|
4677 | |
/*)
|
4678 | |
if ("$as_dir/$as_base" -c '
|
|
5239 |
done
|
|
5240 |
|
|
5241 |
# Required to use basename.
|
|
5242 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
5243 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
|
5244 |
as_expr=expr
|
|
5245 |
else
|
|
5246 |
as_expr=false
|
|
5247 |
fi
|
|
5248 |
|
|
5249 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
|
5250 |
as_basename=basename
|
|
5251 |
else
|
|
5252 |
as_basename=false
|
|
5253 |
fi
|
|
5254 |
|
|
5255 |
|
|
5256 |
# Name of the executable.
|
|
5257 |
as_me=`$as_basename -- "$0" ||
|
|
5258 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
|
5259 |
X"$0" : 'X\(//\)$' \| \
|
|
5260 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
5261 |
echo X/"$0" |
|
|
5262 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
5263 |
s//\1/
|
|
5264 |
q
|
|
5265 |
}
|
|
5266 |
/^X\/\(\/\/\)$/{
|
|
5267 |
s//\1/
|
|
5268 |
q
|
|
5269 |
}
|
|
5270 |
/^X\/\(\/\).*/{
|
|
5271 |
s//\1/
|
|
5272 |
q
|
|
5273 |
}
|
|
5274 |
s/.*/./; q'`
|
|
5275 |
|
|
5276 |
# CDPATH.
|
|
5277 |
$as_unset CDPATH
|
|
5278 |
|
|
5279 |
|
|
5280 |
|
4679 | 5281 |
as_lineno_1=$LINENO
|
4680 | 5282 |
as_lineno_2=$LINENO
|
4681 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
4682 | 5283 |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
4683 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
4684 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
4685 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
4686 | |
CONFIG_SHELL=$as_dir/$as_base
|
4687 | |
export CONFIG_SHELL
|
4688 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
4689 | |
fi;;
|
4690 | |
esac
|
4691 | |
done
|
4692 | |
done
|
4693 | |
;;
|
4694 | |
esac
|
|
5284 |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
4695 | 5285 |
|
4696 | 5286 |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
4697 | 5287 |
# uniformly replaced by the line number. The first 'sed' inserts a
|
4698 | |
# line-number line before each line; the second 'sed' does the real
|
4699 | |
# work. The second script uses 'N' to pair each line-number line
|
4700 | |
# with the numbered line, and appends trailing '-' during
|
4701 | |
# substitution so that $LINENO is not a special case at line end.
|
|
5288 |
# line-number line after each line using $LINENO; the second 'sed'
|
|
5289 |
# does the real work. The second script uses 'N' to pair each
|
|
5290 |
# line-number line with the line containing $LINENO, and appends
|
|
5291 |
# trailing '-' during substitution so that $LINENO is not a special
|
|
5292 |
# case at line end.
|
4702 | 5293 |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
4703 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
4704 | |
sed '=' <$as_myself |
|
|
5294 |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
|
5295 |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
5296 |
sed -n '
|
|
5297 |
p
|
|
5298 |
/[$]LINENO/=
|
|
5299 |
' <$as_myself |
|
4705 | 5300 |
sed '
|
|
5301 |
s/[$]LINENO.*/&-/
|
|
5302 |
t lineno
|
|
5303 |
b
|
|
5304 |
:lineno
|
4706 | 5305 |
N
|
4707 | |
s,$,-,
|
4708 | |
: loop
|
4709 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
5306 |
:loop
|
|
5307 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
4710 | 5308 |
t loop
|
4711 | |
s,-$,,
|
4712 | |
s,^['$as_cr_digits']*\n,,
|
|
5309 |
s/-\n.*//
|
4713 | 5310 |
' >$as_me.lineno &&
|
4714 | |
chmod +x $as_me.lineno ||
|
4715 | |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
4716 | |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
|
5311 |
chmod +x "$as_me.lineno" ||
|
|
5312 |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
4717 | 5313 |
{ (exit 1); exit 1; }; }
|
4718 | 5314 |
|
4719 | 5315 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
4720 | 5316 |
# (the dirname of $[0] is not the place where we might find the
|
4721 | |
# original and so on. Autoconf is especially sensible to this).
|
4722 | |
. ./$as_me.lineno
|
|
5317 |
# original and so on. Autoconf is especially sensitive to this).
|
|
5318 |
. "./$as_me.lineno"
|
4723 | 5319 |
# Exit status is that of the last command.
|
4724 | 5320 |
exit
|
4725 | 5321 |
}
|
4726 | 5322 |
|
4727 | 5323 |
|
4728 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
4729 | |
*c*,-n*) ECHO_N= ECHO_C='
|
4730 | |
' ECHO_T=' ' ;;
|
4731 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
4732 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|
5324 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
5325 |
as_dirname=dirname
|
|
5326 |
else
|
|
5327 |
as_dirname=false
|
|
5328 |
fi
|
|
5329 |
|
|
5330 |
ECHO_C= ECHO_N= ECHO_T=
|
|
5331 |
case `echo -n x` in
|
|
5332 |
-n*)
|
|
5333 |
case `echo 'x\c'` in
|
|
5334 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
5335 |
*) ECHO_C='\c';;
|
|
5336 |
esac;;
|
|
5337 |
*)
|
|
5338 |
ECHO_N='-n';;
|
4733 | 5339 |
esac
|
4734 | 5340 |
|
4735 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
5341 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
5342 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
4736 | 5343 |
as_expr=expr
|
4737 | 5344 |
else
|
4738 | 5345 |
as_expr=false
|
4739 | 5346 |
fi
|
4740 | 5347 |
|
4741 | 5348 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
5349 |
if test -d conf$$.dir; then
|
|
5350 |
rm -f conf$$.dir/conf$$.file
|
|
5351 |
else
|
|
5352 |
rm -f conf$$.dir
|
|
5353 |
mkdir conf$$.dir
|
|
5354 |
fi
|
4742 | 5355 |
echo >conf$$.file
|
4743 | 5356 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
4744 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
4745 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
4746 | |
if test -f conf$$.exe; then
|
4747 | |
# Don't use ln at all; we don't have any links
|
|
5357 |
as_ln_s='ln -s'
|
|
5358 |
# ... but there are two gotchas:
|
|
5359 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
5360 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
5361 |
# In both cases, we have to default to `cp -p'.
|
|
5362 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
4748 | 5363 |
as_ln_s='cp -p'
|
4749 | |
else
|
4750 | |
as_ln_s='ln -s'
|
4751 | |
fi
|
4752 | 5364 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
4753 | 5365 |
as_ln_s=ln
|
4754 | 5366 |
else
|
4755 | 5367 |
as_ln_s='cp -p'
|
4756 | 5368 |
fi
|
4757 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
5369 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
5370 |
rmdir conf$$.dir 2>/dev/null
|
4758 | 5371 |
|
4759 | 5372 |
if mkdir -p . 2>/dev/null; then
|
4760 | 5373 |
as_mkdir_p=:
|
|
4763 | 5376 |
as_mkdir_p=false
|
4764 | 5377 |
fi
|
4765 | 5378 |
|
4766 | |
as_executable_p="test -f"
|
|
5379 |
if test -x / >/dev/null 2>&1; then
|
|
5380 |
as_test_x='test -x'
|
|
5381 |
else
|
|
5382 |
if ls -dL / >/dev/null 2>&1; then
|
|
5383 |
as_ls_L_option=L
|
|
5384 |
else
|
|
5385 |
as_ls_L_option=
|
|
5386 |
fi
|
|
5387 |
as_test_x='
|
|
5388 |
eval sh -c '\''
|
|
5389 |
if test -d "$1"; then
|
|
5390 |
test -d "$1/.";
|
|
5391 |
else
|
|
5392 |
case $1 in
|
|
5393 |
-*)set "./$1";;
|
|
5394 |
esac;
|
|
5395 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
5396 |
???[sx]*):;;*)false;;esac;fi
|
|
5397 |
'\'' sh
|
|
5398 |
'
|
|
5399 |
fi
|
|
5400 |
as_executable_p=$as_test_x
|
4767 | 5401 |
|
4768 | 5402 |
# Sed expression to map a string onto a valid CPP name.
|
4769 | 5403 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
4772 | 5406 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
4773 | 5407 |
|
4774 | 5408 |
|
4775 | |
# IFS
|
4776 | |
# We need space, tab and new line, in precisely that order.
|
4777 | |
as_nl='
|
4778 | |
'
|
4779 | |
IFS=" $as_nl"
|
4780 | |
|
4781 | |
# CDPATH.
|
4782 | |
$as_unset CDPATH
|
4783 | |
|
4784 | 5409 |
exec 6>&1
|
4785 | 5410 |
|
4786 | |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
5411 |
# Save the log message, to keep $[0] and so on meaningful, and to
|
4787 | 5412 |
# report actual input values of CONFIG_FILES etc. instead of their
|
4788 | |
# values after options handling. Logging --version etc. is OK.
|
4789 | |
exec 5>>config.log
|
4790 | |
{
|
4791 | |
echo
|
4792 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
4793 | |
## Running $as_me. ##
|
4794 | |
_ASBOX
|
4795 | |
} >&5
|
4796 | |
cat >&5 <<_CSEOF
|
4797 | |
|
|
5413 |
# values after options handling.
|
|
5414 |
ac_log="
|
4798 | 5415 |
This file was extended by $as_me, which was
|
4799 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
5416 |
generated by GNU Autoconf 2.61. Invocation command line was
|
4800 | 5417 |
|
4801 | 5418 |
CONFIG_FILES = $CONFIG_FILES
|
4802 | 5419 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
4804 | 5421 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
4805 | 5422 |
$ $0 $@
|
4806 | 5423 |
|
4807 | |
_CSEOF
|
4808 | |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
4809 | |
echo >&5
|
4810 | |
_ACEOF
|
4811 | |
|
|
5424 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
5425 |
"
|
|
5426 |
|
|
5427 |
_ACEOF
|
|
5428 |
|
|
5429 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4812 | 5430 |
# Files that config.status was made for.
|
4813 | |
if test -n "$ac_config_files"; then
|
4814 | |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
4815 | |
fi
|
4816 | |
|
4817 | |
if test -n "$ac_config_headers"; then
|
4818 | |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
4819 | |
fi
|
4820 | |
|
4821 | |
if test -n "$ac_config_links"; then
|
4822 | |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
4823 | |
fi
|
4824 | |
|
4825 | |
if test -n "$ac_config_commands"; then
|
4826 | |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
4827 | |
fi
|
|
5431 |
config_files="$ac_config_files"
|
|
5432 |
config_headers="$ac_config_headers"
|
|
5433 |
|
|
5434 |
_ACEOF
|
4828 | 5435 |
|
4829 | 5436 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4830 | |
|
4831 | 5437 |
ac_cs_usage="\
|
4832 | 5438 |
\`$as_me' instantiates files from templates according to the
|
4833 | 5439 |
current configuration.
|
|
4835 | 5441 |
Usage: $0 [OPTIONS] [FILE]...
|
4836 | 5442 |
|
4837 | 5443 |
-h, --help print this help, then exit
|
4838 | |
-V, --version print version number, then exit
|
|
5444 |
-V, --version print version number and configuration settings, then exit
|
4839 | 5445 |
-q, --quiet do not print progress messages
|
4840 | 5446 |
-d, --debug don't remove temporary files
|
4841 | 5447 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
4851 | 5457 |
$config_headers
|
4852 | 5458 |
|
4853 | 5459 |
Report bugs to <bug-autoconf@gnu.org>."
|
4854 | |
_ACEOF
|
4855 | |
|
|
5460 |
|
|
5461 |
_ACEOF
|
4856 | 5462 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4857 | 5463 |
ac_cs_version="\\
|
4858 | 5464 |
config.status
|
4859 | |
configured by $0, generated by GNU Autoconf 2.59,
|
4860 | |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
4861 | |
|
4862 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
5465 |
configured by $0, generated by GNU Autoconf 2.61,
|
|
5466 |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
5467 |
|
|
5468 |
Copyright (C) 2006 Free Software Foundation, Inc.
|
4863 | 5469 |
This config.status script is free software; the Free Software Foundation
|
4864 | 5470 |
gives unlimited permission to copy, distribute and modify it."
|
4865 | |
srcdir=$srcdir
|
4866 | |
INSTALL="$INSTALL"
|
|
5471 |
|
|
5472 |
ac_pwd='$ac_pwd'
|
|
5473 |
srcdir='$srcdir'
|
|
5474 |
INSTALL='$INSTALL'
|
4867 | 5475 |
_ACEOF
|
4868 | 5476 |
|
4869 | 5477 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
4874 | 5482 |
do
|
4875 | 5483 |
case $1 in
|
4876 | 5484 |
--*=*)
|
4877 | |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
4878 | |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
|
5485 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
5486 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
4879 | 5487 |
ac_shift=:
|
4880 | 5488 |
;;
|
4881 | |
-*)
|
|
5489 |
*)
|
4882 | 5490 |
ac_option=$1
|
4883 | 5491 |
ac_optarg=$2
|
4884 | 5492 |
ac_shift=shift
|
4885 | 5493 |
;;
|
4886 | |
*) # This is not an option, so the user has probably given explicit
|
4887 | |
# arguments.
|
4888 | |
ac_option=$1
|
4889 | |
ac_need_defaults=false;;
|
4890 | 5494 |
esac
|
4891 | 5495 |
|
4892 | 5496 |
case $ac_option in
|
4893 | 5497 |
# Handling of the options.
|
4894 | |
_ACEOF
|
4895 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4896 | 5498 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
4897 | 5499 |
ac_cs_recheck=: ;;
|
4898 | |
--version | --vers* | -V )
|
4899 | |
echo "$ac_cs_version"; exit 0 ;;
|
4900 | |
--he | --h)
|
4901 | |
# Conflict between --help and --header
|
4902 | |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
4903 | |
Try \`$0 --help' for more information." >&5
|
4904 | |
echo "$as_me: error: ambiguous option: $1
|
4905 | |
Try \`$0 --help' for more information." >&2;}
|
4906 | |
{ (exit 1); exit 1; }; };;
|
4907 | |
--help | --hel | -h )
|
4908 | |
echo "$ac_cs_usage"; exit 0 ;;
|
4909 | |
--debug | --d* | -d )
|
|
5500 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
5501 |
echo "$ac_cs_version"; exit ;;
|
|
5502 |
--debug | --debu | --deb | --de | --d | -d )
|
4910 | 5503 |
debug=: ;;
|
4911 | 5504 |
--file | --fil | --fi | --f )
|
4912 | 5505 |
$ac_shift
|
|
4916 | 5509 |
$ac_shift
|
4917 | 5510 |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
4918 | 5511 |
ac_need_defaults=false;;
|
|
5512 |
--he | --h)
|
|
5513 |
# Conflict between --help and --header
|
|
5514 |
{ echo "$as_me: error: ambiguous option: $1
|
|
5515 |
Try \`$0 --help' for more information." >&2
|
|
5516 |
{ (exit 1); exit 1; }; };;
|
|
5517 |
--help | --hel | -h )
|
|
5518 |
echo "$ac_cs_usage"; exit ;;
|
4919 | 5519 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
4920 | 5520 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
4921 | 5521 |
ac_cs_silent=: ;;
|
4922 | 5522 |
|
4923 | 5523 |
# This is an error.
|
4924 | |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
4925 | |
Try \`$0 --help' for more information." >&5
|
4926 | |
echo "$as_me: error: unrecognized option: $1
|
4927 | |
Try \`$0 --help' for more information." >&2;}
|
|
5524 |
-*) { echo "$as_me: error: unrecognized option: $1
|
|
5525 |
Try \`$0 --help' for more information." >&2
|
4928 | 5526 |
{ (exit 1); exit 1; }; } ;;
|
4929 | 5527 |
|
4930 | |
*) ac_config_targets="$ac_config_targets $1" ;;
|
|
5528 |
*) ac_config_targets="$ac_config_targets $1"
|
|
5529 |
ac_need_defaults=false ;;
|
4931 | 5530 |
|
4932 | 5531 |
esac
|
4933 | 5532 |
shift
|
|
4943 | 5542 |
_ACEOF
|
4944 | 5543 |
cat >>$CONFIG_STATUS <<_ACEOF
|
4945 | 5544 |
if \$ac_cs_recheck; then
|
4946 | |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
4947 | |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
4948 | |
fi
|
4949 | |
|
4950 | |
_ACEOF
|
4951 | |
|
4952 | |
|
4953 | |
|
4954 | |
|
4955 | |
|
|
5545 |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
|
5546 |
CONFIG_SHELL=$SHELL
|
|
5547 |
export CONFIG_SHELL
|
|
5548 |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
5549 |
fi
|
|
5550 |
|
|
5551 |
_ACEOF
|
4956 | 5552 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5553 |
exec 5>>config.log
|
|
5554 |
{
|
|
5555 |
echo
|
|
5556 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
5557 |
## Running $as_me. ##
|
|
5558 |
_ASBOX
|
|
5559 |
echo "$ac_log"
|
|
5560 |
} >&5
|
|
5561 |
|
|
5562 |
_ACEOF
|
|
5563 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5564 |
_ACEOF
|
|
5565 |
|
|
5566 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5567 |
|
|
5568 |
# Handling of arguments.
|
4957 | 5569 |
for ac_config_target in $ac_config_targets
|
4958 | 5570 |
do
|
4959 | |
case "$ac_config_target" in
|
4960 | |
# Handling of arguments.
|
4961 | |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
4962 | |
"bin/Makefile" ) CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
|
4963 | |
"geo_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS geo_config.h" ;;
|
|
5571 |
case $ac_config_target in
|
|
5572 |
"geo_config.h") CONFIG_HEADERS="$CONFIG_HEADERS geo_config.h" ;;
|
|
5573 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
5574 |
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
|
|
5575 |
|
4964 | 5576 |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
4965 | 5577 |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
4966 | 5578 |
{ (exit 1); exit 1; }; };;
|
4967 | 5579 |
esac
|
4968 | 5580 |
done
|
|
5581 |
|
4969 | 5582 |
|
4970 | 5583 |
# If the user did not use the arguments to specify the items to instantiate,
|
4971 | 5584 |
# then the envvar interface is used. Set only those that are not.
|
|
4977 | 5590 |
fi
|
4978 | 5591 |
|
4979 | 5592 |
# Have a temporary directory for convenience. Make it in the build tree
|
4980 | |
# simply because there is no reason to put it here, and in addition,
|
|
5593 |
# simply because there is no reason against having it here, and in addition,
|
4981 | 5594 |
# creating and moving files from /tmp can sometimes cause problems.
|
4982 | |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
5595 |
# Hook for its removal unless debugging.
|
|
5596 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
5597 |
# after its creation but before its name has been assigned to `$tmp'.
|
4983 | 5598 |
$debug ||
|
4984 | 5599 |
{
|
4985 | |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
|
5600 |
tmp=
|
|
5601 |
trap 'exit_status=$?
|
|
5602 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
5603 |
' 0
|
4986 | 5604 |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
4987 | 5605 |
}
|
4988 | |
|
4989 | 5606 |
# Create a (secure) tmp directory for tmp files.
|
4990 | 5607 |
|
4991 | 5608 |
{
|
4992 | |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
|
5609 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
4993 | 5610 |
test -n "$tmp" && test -d "$tmp"
|
4994 | 5611 |
} ||
|
4995 | 5612 |
{
|
4996 | |
tmp=./confstat$$-$RANDOM
|
4997 | |
(umask 077 && mkdir $tmp)
|
|
5613 |
tmp=./conf$$-$RANDOM
|
|
5614 |
(umask 077 && mkdir "$tmp")
|
4998 | 5615 |
} ||
|
4999 | 5616 |
{
|
5000 | 5617 |
echo "$me: cannot create a temporary directory in ." >&2
|
5001 | 5618 |
{ (exit 1); exit 1; }
|
5002 | 5619 |
}
|
5003 | 5620 |
|
5004 | |
_ACEOF
|
5005 | |
|
5006 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
5007 | |
|
5008 | 5621 |
#
|
5009 | |
# CONFIG_FILES section.
|
|
5622 |
# Set up the sed scripts for CONFIG_FILES section.
|
5010 | 5623 |
#
|
5011 | 5624 |
|
5012 | 5625 |
# No need to generate the scripts if there are no CONFIG_FILES.
|
5013 | 5626 |
# This happens for instance when ./config.status config.h
|
5014 | |
if test -n "\$CONFIG_FILES"; then
|
5015 | |
# Protect against being on the right side of a sed subst in config.status.
|
5016 | |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
5017 | |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
5018 | |
s,@SHELL@,$SHELL,;t t
|
5019 | |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
5020 | |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
5021 | |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
5022 | |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
5023 | |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
5024 | |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
5025 | |
s,@exec_prefix@,$exec_prefix,;t t
|
5026 | |
s,@prefix@,$prefix,;t t
|
5027 | |
s,@program_transform_name@,$program_transform_name,;t t
|
5028 | |
s,@bindir@,$bindir,;t t
|
5029 | |
s,@sbindir@,$sbindir,;t t
|
5030 | |
s,@libexecdir@,$libexecdir,;t t
|
5031 | |
s,@datadir@,$datadir,;t t
|
5032 | |
s,@sysconfdir@,$sysconfdir,;t t
|
5033 | |
s,@sharedstatedir@,$sharedstatedir,;t t
|
5034 | |
s,@localstatedir@,$localstatedir,;t t
|
5035 | |
s,@libdir@,$libdir,;t t
|
5036 | |
s,@includedir@,$includedir,;t t
|
5037 | |
s,@oldincludedir@,$oldincludedir,;t t
|
5038 | |
s,@infodir@,$infodir,;t t
|
5039 | |
s,@mandir@,$mandir,;t t
|
5040 | |
s,@build_alias@,$build_alias,;t t
|
5041 | |
s,@host_alias@,$host_alias,;t t
|
5042 | |
s,@target_alias@,$target_alias,;t t
|
5043 | |
s,@DEFS@,$DEFS,;t t
|
5044 | |
s,@ECHO_C@,$ECHO_C,;t t
|
5045 | |
s,@ECHO_N@,$ECHO_N,;t t
|
5046 | |
s,@ECHO_T@,$ECHO_T,;t t
|
5047 | |
s,@LIBS@,$LIBS,;t t
|
5048 | |
s,@build@,$build,;t t
|
5049 | |
s,@build_cpu@,$build_cpu,;t t
|
5050 | |
s,@build_vendor@,$build_vendor,;t t
|
5051 | |
s,@build_os@,$build_os,;t t
|
5052 | |
s,@host@,$host,;t t
|
5053 | |
s,@host_cpu@,$host_cpu,;t t
|
5054 | |
s,@host_vendor@,$host_vendor,;t t
|
5055 | |
s,@host_os@,$host_os,;t t
|
5056 | |
s,@target@,$target,;t t
|
5057 | |
s,@target_cpu@,$target_cpu,;t t
|
5058 | |
s,@target_vendor@,$target_vendor,;t t
|
5059 | |
s,@target_os@,$target_os,;t t
|
5060 | |
s,@VERSION_MAJOR@,$VERSION_MAJOR,;t t
|
5061 | |
s,@VERSION_MINOR@,$VERSION_MINOR,;t t
|
5062 | |
s,@VERSION_POINT@,$VERSION_POINT,;t t
|
5063 | |
s,@CC@,$CC,;t t
|
5064 | |
s,@CFLAGS@,$CFLAGS,;t t
|
5065 | |
s,@LDFLAGS@,$LDFLAGS,;t t
|
5066 | |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
5067 | |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
5068 | |
s,@EXEEXT@,$EXEEXT,;t t
|
5069 | |
s,@OBJEXT@,$OBJEXT,;t t
|
5070 | |
s,@CXX_WFLAGS@,$CXX_WFLAGS,;t t
|
5071 | |
s,@C_WFLAGS@,$C_WFLAGS,;t t
|
5072 | |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
5073 | |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
5074 | |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
5075 | |
s,@LN_S@,$LN_S,;t t
|
5076 | |
s,@RANLIB@,$RANLIB,;t t
|
5077 | |
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
|
5078 | |
s,@CXX_PIC@,$CXX_PIC,;t t
|
5079 | |
s,@C_PIC@,$C_PIC,;t t
|
5080 | |
s,@LD_SHARED@,$LD_SHARED,;t t
|
5081 | |
s,@SO_EXT@,$SO_EXT,;t t
|
5082 | |
s,@GEOTIFF_SO@,$GEOTIFF_SO,;t t
|
5083 | |
s,@GEOTIFF_IMP@,$GEOTIFF_IMP,;t t
|
5084 | |
s,@GEOTIFF_DLL@,$GEOTIFF_DLL,;t t
|
5085 | |
s,@CPP@,$CPP,;t t
|
5086 | |
s,@EGREP@,$EGREP,;t t
|
5087 | |
s,@ZIP_INC@,$ZIP_INC,;t t
|
5088 | |
s,@TIFF_INC@,$TIFF_INC,;t t
|
5089 | |
s,@PROJ_INC@,$PROJ_INC,;t t
|
5090 | |
s,@CSV_SOURCE@,$CSV_SOURCE,;t t
|
5091 | |
s,@LIBOBJS@,$LIBOBJS,;t t
|
5092 | |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
5093 | |
CEOF
|
5094 | |
|
5095 | |
_ACEOF
|
5096 | |
|
5097 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5098 | |
# Split the substitutions into bite-sized pieces for seds with
|
5099 | |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
5100 | |
ac_max_sed_lines=48
|
5101 | |
ac_sed_frag=1 # Number of current file.
|
5102 | |
ac_beg=1 # First line for current file.
|
5103 | |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
5104 | |
ac_more_lines=:
|
5105 | |
ac_sed_cmds=
|
5106 | |
while $ac_more_lines; do
|
5107 | |
if test $ac_beg -gt 1; then
|
5108 | |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
5109 | |
else
|
5110 | |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
5627 |
if test -n "$CONFIG_FILES"; then
|
|
5628 |
|
|
5629 |
_ACEOF
|
|
5630 |
|
|
5631 |
|
|
5632 |
|
|
5633 |
ac_delim='%!_!# '
|
|
5634 |
for ac_last_try in false false false false false :; do
|
|
5635 |
cat >conf$$subs.sed <<_ACEOF
|
|
5636 |
SHELL!$SHELL$ac_delim
|
|
5637 |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
|
5638 |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
|
5639 |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
|
5640 |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
|
5641 |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
|
5642 |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
|
5643 |
exec_prefix!$exec_prefix$ac_delim
|
|
5644 |
prefix!$prefix$ac_delim
|
|
5645 |
program_transform_name!$program_transform_name$ac_delim
|
|
5646 |
bindir!$bindir$ac_delim
|
|
5647 |
sbindir!$sbindir$ac_delim
|
|
5648 |
libexecdir!$libexecdir$ac_delim
|
|
5649 |
datarootdir!$datarootdir$ac_delim
|
|
5650 |
datadir!$datadir$ac_delim
|
|
5651 |
sysconfdir!$sysconfdir$ac_delim
|
|
5652 |
sharedstatedir!$sharedstatedir$ac_delim
|
|
5653 |
localstatedir!$localstatedir$ac_delim
|
|
5654 |
includedir!$includedir$ac_delim
|
|
5655 |
oldincludedir!$oldincludedir$ac_delim
|
|
5656 |
docdir!$docdir$ac_delim
|
|
5657 |
infodir!$infodir$ac_delim
|
|
5658 |
htmldir!$htmldir$ac_delim
|
|
5659 |
dvidir!$dvidir$ac_delim
|
|
5660 |
pdfdir!$pdfdir$ac_delim
|
|
5661 |
psdir!$psdir$ac_delim
|
|
5662 |
libdir!$libdir$ac_delim
|
|
5663 |
localedir!$localedir$ac_delim
|
|
5664 |
mandir!$mandir$ac_delim
|
|
5665 |
DEFS!$DEFS$ac_delim
|
|
5666 |
ECHO_C!$ECHO_C$ac_delim
|
|
5667 |
ECHO_N!$ECHO_N$ac_delim
|
|
5668 |
ECHO_T!$ECHO_T$ac_delim
|
|
5669 |
LIBS!$LIBS$ac_delim
|
|
5670 |
build_alias!$build_alias$ac_delim
|
|
5671 |
host_alias!$host_alias$ac_delim
|
|
5672 |
target_alias!$target_alias$ac_delim
|
|
5673 |
build!$build$ac_delim
|
|
5674 |
build_cpu!$build_cpu$ac_delim
|
|
5675 |
build_vendor!$build_vendor$ac_delim
|
|
5676 |
build_os!$build_os$ac_delim
|
|
5677 |
host!$host$ac_delim
|
|
5678 |
host_cpu!$host_cpu$ac_delim
|
|
5679 |
host_vendor!$host_vendor$ac_delim
|
|
5680 |
host_os!$host_os$ac_delim
|
|
5681 |
target!$target$ac_delim
|
|
5682 |
target_cpu!$target_cpu$ac_delim
|
|
5683 |
target_vendor!$target_vendor$ac_delim
|
|
5684 |
target_os!$target_os$ac_delim
|
|
5685 |
VERSION_MAJOR!$VERSION_MAJOR$ac_delim
|
|
5686 |
VERSION_MINOR!$VERSION_MINOR$ac_delim
|
|
5687 |
VERSION_POINT!$VERSION_POINT$ac_delim
|
|
5688 |
CC!$CC$ac_delim
|
|
5689 |
CFLAGS!$CFLAGS$ac_delim
|
|
5690 |
LDFLAGS!$LDFLAGS$ac_delim
|
|
5691 |
CPPFLAGS!$CPPFLAGS$ac_delim
|
|
5692 |
ac_ct_CC!$ac_ct_CC$ac_delim
|
|
5693 |
EXEEXT!$EXEEXT$ac_delim
|
|
5694 |
OBJEXT!$OBJEXT$ac_delim
|
|
5695 |
CXX_WFLAGS!$CXX_WFLAGS$ac_delim
|
|
5696 |
C_WFLAGS!$C_WFLAGS$ac_delim
|
|
5697 |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
|
5698 |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
|
5699 |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
|
5700 |
LN_S!$LN_S$ac_delim
|
|
5701 |
RANLIB!$RANLIB$ac_delim
|
|
5702 |
CXX_PIC!$CXX_PIC$ac_delim
|
|
5703 |
C_PIC!$C_PIC$ac_delim
|
|
5704 |
LD_SHARED!$LD_SHARED$ac_delim
|
|
5705 |
SO_EXT!$SO_EXT$ac_delim
|
|
5706 |
GEOTIFF_SO!$GEOTIFF_SO$ac_delim
|
|
5707 |
GEOTIFF_IMP!$GEOTIFF_IMP$ac_delim
|
|
5708 |
GEOTIFF_DLL!$GEOTIFF_DLL$ac_delim
|
|
5709 |
CPP!$CPP$ac_delim
|
|
5710 |
GREP!$GREP$ac_delim
|
|
5711 |
EGREP!$EGREP$ac_delim
|
|
5712 |
ZIP_INC!$ZIP_INC$ac_delim
|
|
5713 |
TIFF_INC!$TIFF_INC$ac_delim
|
|
5714 |
PROJ_INC!$PROJ_INC$ac_delim
|
|
5715 |
CSV_SOURCE!$CSV_SOURCE$ac_delim
|
|
5716 |
LIBOBJS!$LIBOBJS$ac_delim
|
|
5717 |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
|
5718 |
_ACEOF
|
|
5719 |
|
|
5720 |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
|
|
5721 |
break
|
|
5722 |
elif $ac_last_try; then
|
|
5723 |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
|
5724 |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
|
5725 |
{ (exit 1); exit 1; }; }
|
|
5726 |
else
|
|
5727 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
5728 |
fi
|
|
5729 |
done
|
|
5730 |
|
|
5731 |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
|
5732 |
if test -n "$ac_eof"; then
|
|
5733 |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
|
5734 |
ac_eof=`expr $ac_eof + 1`
|
|
5735 |
fi
|
|
5736 |
|
|
5737 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5738 |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
|
5739 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
|
5740 |
_ACEOF
|
|
5741 |
sed '
|
|
5742 |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
|
5743 |
s/^/s,@/; s/!/@,|#_!!_#|/
|
|
5744 |
:n
|
|
5745 |
t n
|
|
5746 |
s/'"$ac_delim"'$/,g/; t
|
|
5747 |
s/$/\\/; p
|
|
5748 |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
|
5749 |
' >>$CONFIG_STATUS <conf$$subs.sed
|
|
5750 |
rm -f conf$$subs.sed
|
|
5751 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5752 |
:end
|
|
5753 |
s/|#_!!_#|//g
|
|
5754 |
CEOF$ac_eof
|
|
5755 |
_ACEOF
|
|
5756 |
|
|
5757 |
|
|
5758 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
5759 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
5760 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
5761 |
# (actually we leave an empty line to preserve line numbers).
|
|
5762 |
if test "x$srcdir" = x.; then
|
|
5763 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
5764 |
s/:*\$(srcdir):*/:/
|
|
5765 |
s/:*\${srcdir}:*/:/
|
|
5766 |
s/:*@srcdir@:*/:/
|
|
5767 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
5768 |
s/:*$//
|
|
5769 |
s/^[^=]*=[ ]*$//
|
|
5770 |
}'
|
|
5771 |
fi
|
|
5772 |
|
|
5773 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5774 |
fi # test -n "$CONFIG_FILES"
|
|
5775 |
|
|
5776 |
|
|
5777 |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
|
|
5778 |
do
|
|
5779 |
case $ac_tag in
|
|
5780 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
5781 |
esac
|
|
5782 |
case $ac_mode$ac_tag in
|
|
5783 |
:[FHL]*:*);;
|
|
5784 |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
|
5785 |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
|
5786 |
{ (exit 1); exit 1; }; };;
|
|
5787 |
:[FH]-) ac_tag=-:-;;
|
|
5788 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
5789 |
esac
|
|
5790 |
ac_save_IFS=$IFS
|
|
5791 |
IFS=:
|
|
5792 |
set x $ac_tag
|
|
5793 |
IFS=$ac_save_IFS
|
|
5794 |
shift
|
|
5795 |
ac_file=$1
|
|
5796 |
shift
|
|
5797 |
|
|
5798 |
case $ac_mode in
|
|
5799 |
:L) ac_source=$1;;
|
|
5800 |
:[FH])
|
|
5801 |
ac_file_inputs=
|
|
5802 |
for ac_f
|
|
5803 |
do
|
|
5804 |
case $ac_f in
|
|
5805 |
-) ac_f="$tmp/stdin";;
|
|
5806 |
*) # Look for the file first in the build tree, then in the source tree
|
|
5807 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
5808 |
# because $ac_f cannot contain `:'.
|
|
5809 |
test -f "$ac_f" ||
|
|
5810 |
case $ac_f in
|
|
5811 |
[\\/$]*) false;;
|
|
5812 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
5813 |
esac ||
|
|
5814 |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
|
5815 |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
|
5816 |
{ (exit 1); exit 1; }; };;
|
|
5817 |
esac
|
|
5818 |
ac_file_inputs="$ac_file_inputs $ac_f"
|
|
5819 |
done
|
|
5820 |
|
|
5821 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
5822 |
# use $as_me), people would be surprised to read:
|
|
5823 |
# /* config.h. Generated by config.status. */
|
|
5824 |
configure_input="Generated from "`IFS=:
|
|
5825 |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
|
5826 |
if test x"$ac_file" != x-; then
|
|
5827 |
configure_input="$ac_file. $configure_input"
|
|
5828 |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
5829 |
echo "$as_me: creating $ac_file" >&6;}
|
5111 | 5830 |
fi
|
5112 | |
if test ! -s $tmp/subs.frag; then
|
5113 | |
ac_more_lines=false
|
5114 | |
else
|
5115 | |
# The purpose of the label and of the branching condition is to
|
5116 | |
# speed up the sed processing (if there are no `@' at all, there
|
5117 | |
# is no need to browse any of the substitutions).
|
5118 | |
# These are the two extra sed commands mentioned above.
|
5119 | |
(echo ':t
|
5120 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
5121 | |
if test -z "$ac_sed_cmds"; then
|
5122 | |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
5123 | |
else
|
5124 | |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
5125 | |
fi
|
5126 | |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
5127 | |
ac_beg=$ac_end
|
5128 | |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
5129 | |
fi
|
5130 | |
done
|
5131 | |
if test -z "$ac_sed_cmds"; then
|
5132 | |
ac_sed_cmds=cat
|
5133 | |
fi
|
5134 | |
fi # test -n "$CONFIG_FILES"
|
5135 | |
|
5136 | |
_ACEOF
|
5137 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5138 | |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
5139 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5140 | |
case $ac_file in
|
5141 | |
- | *:- | *:-:* ) # input from stdin
|
5142 | |
cat >$tmp/stdin
|
5143 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5144 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5145 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5146 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5147 | |
* ) ac_file_in=$ac_file.in ;;
|
|
5831 |
|
|
5832 |
case $ac_tag in
|
|
5833 |
*:-:* | *:-) cat >"$tmp/stdin";;
|
|
5834 |
esac
|
|
5835 |
;;
|
5148 | 5836 |
esac
|
5149 | 5837 |
|
5150 | |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
5151 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
5838 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
5152 | 5839 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5153 | 5840 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
5154 | 5841 |
X"$ac_file" : 'X\(//\)$' \| \
|
5155 | |
X"$ac_file" : 'X\(/\)' \| \
|
5156 | |
. : '\(.\)' 2>/dev/null ||
|
|
5842 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
5157 | 5843 |
echo X"$ac_file" |
|
5158 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5159 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5160 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5161 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5162 | |
s/.*/./; q'`
|
5163 | |
{ if $as_mkdir_p; then
|
5164 | |
mkdir -p "$ac_dir"
|
5165 | |
else
|
5166 | |
as_dir="$ac_dir"
|
|
5844 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
5845 |
s//\1/
|
|
5846 |
q
|
|
5847 |
}
|
|
5848 |
/^X\(\/\/\)[^/].*/{
|
|
5849 |
s//\1/
|
|
5850 |
q
|
|
5851 |
}
|
|
5852 |
/^X\(\/\/\)$/{
|
|
5853 |
s//\1/
|
|
5854 |
q
|
|
5855 |
}
|
|
5856 |
/^X\(\/\).*/{
|
|
5857 |
s//\1/
|
|
5858 |
q
|
|
5859 |
}
|
|
5860 |
s/.*/./; q'`
|
|
5861 |
{ as_dir="$ac_dir"
|
|
5862 |
case $as_dir in #(
|
|
5863 |
-*) as_dir=./$as_dir;;
|
|
5864 |
esac
|
|
5865 |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
5167 | 5866 |
as_dirs=
|
5168 | |
while test ! -d "$as_dir"; do
|
5169 | |
as_dirs="$as_dir $as_dirs"
|
5170 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
|
5867 |
while :; do
|
|
5868 |
case $as_dir in #(
|
|
5869 |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
5870 |
*) as_qdir=$as_dir;;
|
|
5871 |
esac
|
|
5872 |
as_dirs="'$as_qdir' $as_dirs"
|
|
5873 |
as_dir=`$as_dirname -- "$as_dir" ||
|
5171 | 5874 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5172 | 5875 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5173 | 5876 |
X"$as_dir" : 'X\(//\)$' \| \
|
5174 | |
X"$as_dir" : 'X\(/\)' \| \
|
5175 | |
. : '\(.\)' 2>/dev/null ||
|
|
5877 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
5176 | 5878 |
echo X"$as_dir" |
|
5177 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5178 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5179 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5180 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5181 | |
s/.*/./; q'`
|
|
5879 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
5880 |
s//\1/
|
|
5881 |
q
|
|
5882 |
}
|
|
5883 |
/^X\(\/\/\)[^/].*/{
|
|
5884 |
s//\1/
|
|
5885 |
q
|
|
5886 |
}
|
|
5887 |
/^X\(\/\/\)$/{
|
|
5888 |
s//\1/
|
|
5889 |
q
|
|
5890 |
}
|
|
5891 |
/^X\(\/\).*/{
|
|
5892 |
s//\1/
|
|
5893 |
q
|
|
5894 |
}
|
|
5895 |
s/.*/./; q'`
|
|
5896 |
test -d "$as_dir" && break
|
5182 | 5897 |
done
|
5183 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
5184 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5185 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
|
5898 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
5899 |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
|
5900 |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
5186 | 5901 |
{ (exit 1); exit 1; }; }; }
|
5187 | |
|
5188 | 5902 |
ac_builddir=.
|
5189 | 5903 |
|
5190 | |
if test "$ac_dir" != .; then
|
|
5904 |
case "$ac_dir" in
|
|
5905 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
5906 |
*)
|
5191 | 5907 |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
5192 | |
# A "../" for each directory in $ac_dir_suffix.
|
5193 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
5194 | |
else
|
5195 | |
ac_dir_suffix= ac_top_builddir=
|
5196 | |
fi
|
|
5908 |
# A ".." for each directory in $ac_dir_suffix.
|
|
5909 |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
5910 |
case $ac_top_builddir_sub in
|
|
5911 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
5912 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
5913 |
esac ;;
|
|
5914 |
esac
|
|
5915 |
ac_abs_top_builddir=$ac_pwd
|
|
5916 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
5917 |
# for backward compatibility:
|
|
5918 |
ac_top_builddir=$ac_top_build_prefix
|
5197 | 5919 |
|
5198 | 5920 |
case $srcdir in
|
5199 | |
.) # No --srcdir option. We are building in place.
|
|
5921 |
.) # We are building in place.
|
5200 | 5922 |
ac_srcdir=.
|
5201 | |
if test -z "$ac_top_builddir"; then
|
5202 | |
ac_top_srcdir=.
|
5203 | |
else
|
5204 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
5205 | |
fi ;;
|
5206 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
5923 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
5924 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
5925 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
5207 | 5926 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
5208 | |
ac_top_srcdir=$srcdir ;;
|
5209 | |
*) # Relative path.
|
5210 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
5211 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
5927 |
ac_top_srcdir=$srcdir
|
|
5928 |
ac_abs_top_srcdir=$srcdir ;;
|
|
5929 |
*) # Relative name.
|
|
5930 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
5931 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
5932 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
5212 | 5933 |
esac
|
5213 | |
|
5214 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
5215 | |
# the directories may not exist.
|
5216 | |
case `pwd` in
|
5217 | |
.) ac_abs_builddir="$ac_dir";;
|
5218 | |
*)
|
5219 | |
case "$ac_dir" in
|
5220 | |
.) ac_abs_builddir=`pwd`;;
|
5221 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
5222 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
5223 | |
esac;;
|
5224 | |
esac
|
5225 | |
case $ac_abs_builddir in
|
5226 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5227 | |
*)
|
5228 | |
case ${ac_top_builddir}. in
|
5229 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
5230 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
5231 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
5232 | |
esac;;
|
5233 | |
esac
|
5234 | |
case $ac_abs_builddir in
|
5235 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
5236 | |
*)
|
5237 | |
case $ac_srcdir in
|
5238 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
5239 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
5240 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
5241 | |
esac;;
|
5242 | |
esac
|
5243 | |
case $ac_abs_builddir in
|
5244 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5245 | |
*)
|
5246 | |
case $ac_top_srcdir in
|
5247 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
5248 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
5249 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
5250 | |
esac;;
|
5251 | |
esac
|
5252 | |
|
|
5934 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
5935 |
|
|
5936 |
|
|
5937 |
case $ac_mode in
|
|
5938 |
:F)
|
|
5939 |
#
|
|
5940 |
# CONFIG_FILE
|
|
5941 |
#
|
5253 | 5942 |
|
5254 | 5943 |
case $INSTALL in
|
5255 | 5944 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
5256 | |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
5945 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
5257 | 5946 |
esac
|
5258 | |
|
5259 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5260 | |
# use $as_me), people would be surprised to read:
|
5261 | |
# /* config.h. Generated by config.status. */
|
5262 | |
if test x"$ac_file" = x-; then
|
5263 | |
configure_input=
|
5264 | |
else
|
5265 | |
configure_input="$ac_file. "
|
5266 | |
fi
|
5267 | |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
5268 | |
sed 's,.*/,,'` by configure."
|
5269 | |
|
5270 | |
# First look for the input files in the build tree, otherwise in the
|
5271 | |
# src tree.
|
5272 | |
ac_file_inputs=`IFS=:
|
5273 | |
for f in $ac_file_in; do
|
5274 | |
case $f in
|
5275 | |
-) echo $tmp/stdin ;;
|
5276 | |
[\\/$]*)
|
5277 | |
# Absolute (can't be DOS-style, as IFS=:)
|
5278 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5279 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5280 | |
{ (exit 1); exit 1; }; }
|
5281 | |
echo "$f";;
|
5282 | |
*) # Relative
|
5283 | |
if test -f "$f"; then
|
5284 | |
# Build tree
|
5285 | |
echo "$f"
|
5286 | |
elif test -f "$srcdir/$f"; then
|
5287 | |
# Source tree
|
5288 | |
echo "$srcdir/$f"
|
5289 | |
else
|
5290 | |
# /dev/null tree
|
5291 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5292 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5293 | |
{ (exit 1); exit 1; }; }
|
5294 | |
fi;;
|
5295 | |
esac
|
5296 | |
done` || { (exit 1); exit 1; }
|
5297 | |
|
5298 | |
if test x"$ac_file" != x-; then
|
5299 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
5300 | |
echo "$as_me: creating $ac_file" >&6;}
|
5301 | |
rm -f "$ac_file"
|
5302 | |
fi
|
5303 | |
_ACEOF
|
|
5947 |
_ACEOF
|
|
5948 |
|
|
5949 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
5950 |
# If the template does not know about datarootdir, expand it.
|
|
5951 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
5952 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
5953 |
|
|
5954 |
case `sed -n '/datarootdir/ {
|
|
5955 |
p
|
|
5956 |
q
|
|
5957 |
}
|
|
5958 |
/@datadir@/p
|
|
5959 |
/@docdir@/p
|
|
5960 |
/@infodir@/p
|
|
5961 |
/@localedir@/p
|
|
5962 |
/@mandir@/p
|
|
5963 |
' $ac_file_inputs` in
|
|
5964 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
5965 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
5966 |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
5967 |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
5968 |
_ACEOF
|
|
5969 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
5970 |
ac_datarootdir_hack='
|
|
5971 |
s&@datadir@&$datadir&g
|
|
5972 |
s&@docdir@&$docdir&g
|
|
5973 |
s&@infodir@&$infodir&g
|
|
5974 |
s&@localedir@&$localedir&g
|
|
5975 |
s&@mandir@&$mandir&g
|
|
5976 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
5977 |
esac
|
|
5978 |
_ACEOF
|
|
5979 |
|
|
5980 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
5981 |
# Shell code in configure.ac might set extrasub.
|
|
5982 |
# FIXME: do we really want to maintain this feature?
|
5304 | 5983 |
cat >>$CONFIG_STATUS <<_ACEOF
|
5305 | 5984 |
sed "$ac_vpsub
|
5306 | 5985 |
$extrasub
|
|
5308 | 5987 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5309 | 5988 |
:t
|
5310 | 5989 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
5311 | |
s,@configure_input@,$configure_input,;t t
|
5312 | |
s,@srcdir@,$ac_srcdir,;t t
|
5313 | |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
5314 | |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
5315 | |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
5316 | |
s,@builddir@,$ac_builddir,;t t
|
5317 | |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
5318 | |
s,@top_builddir@,$ac_top_builddir,;t t
|
5319 | |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
5320 | |
s,@INSTALL@,$ac_INSTALL,;t t
|
5321 | |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
5322 | |
rm -f $tmp/stdin
|
5323 | |
if test x"$ac_file" != x-; then
|
5324 | |
mv $tmp/out $ac_file
|
5325 | |
else
|
5326 | |
cat $tmp/out
|
5327 | |
rm -f $tmp/out
|
5328 | |
fi
|
5329 | |
|
5330 | |
done
|
5331 | |
_ACEOF
|
5332 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5333 | |
|
5334 | |
#
|
5335 | |
# CONFIG_HEADER section.
|
5336 | |
#
|
5337 | |
|
5338 | |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
5339 | |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
5340 | |
#
|
5341 | |
# ac_d sets the value in "#define NAME VALUE" lines.
|
5342 | |
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
5343 | |
ac_dB='[ ].*$,\1#\2'
|
|
5990 |
s&@configure_input@&$configure_input&;t t
|
|
5991 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
5992 |
s&@srcdir@&$ac_srcdir&;t t
|
|
5993 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
5994 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
5995 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
5996 |
s&@builddir@&$ac_builddir&;t t
|
|
5997 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
5998 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
5999 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
6000 |
$ac_datarootdir_hack
|
|
6001 |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
|
|
6002 |
|
|
6003 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
6004 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
6005 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
6006 |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6007 |
which seems to be undefined. Please make sure it is defined." >&5
|
|
6008 |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
6009 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
6010 |
|
|
6011 |
rm -f "$tmp/stdin"
|
|
6012 |
case $ac_file in
|
|
6013 |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
|
6014 |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
|
6015 |
esac
|
|
6016 |
;;
|
|
6017 |
:H)
|
|
6018 |
#
|
|
6019 |
# CONFIG_HEADER
|
|
6020 |
#
|
|
6021 |
_ACEOF
|
|
6022 |
|
|
6023 |
# Transform confdefs.h into a sed script `conftest.defines', that
|
|
6024 |
# substitutes the proper values into config.h.in to produce config.h.
|
|
6025 |
rm -f conftest.defines conftest.tail
|
|
6026 |
# First, append a space to every undef/define line, to ease matching.
|
|
6027 |
echo 's/$/ /' >conftest.defines
|
|
6028 |
# Then, protect against being on the right side of a sed subst, or in
|
|
6029 |
# an unquoted here document, in config.status. If some macros were
|
|
6030 |
# called several times there might be several #defines for the same
|
|
6031 |
# symbol, which is useless. But do not sort them, since the last
|
|
6032 |
# AC_DEFINE must be honored.
|
|
6033 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
6034 |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
|
6035 |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
|
6036 |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
|
6037 |
# just an empty string.
|
|
6038 |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
|
6039 |
ac_dB='\\)[ (].*,\\1define\\2'
|
5344 | 6040 |
ac_dC=' '
|
5345 | |
ac_dD=',;t'
|
5346 | |
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
5347 | |
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
5348 | |
ac_uB='$,\1#\2define\3'
|
5349 | |
ac_uC=' '
|
5350 | |
ac_uD=',;t'
|
5351 | |
|
5352 | |
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
|
5353 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
5354 | |
case $ac_file in
|
5355 | |
- | *:- | *:-:* ) # input from stdin
|
5356 | |
cat >$tmp/stdin
|
5357 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5358 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5359 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
5360 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
5361 | |
* ) ac_file_in=$ac_file.in ;;
|
5362 | |
esac
|
5363 | |
|
5364 | |
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
|
5365 | |
echo "$as_me: creating $ac_file" >&6;}
|
5366 | |
|
5367 | |
# First look for the input files in the build tree, otherwise in the
|
5368 | |
# src tree.
|
5369 | |
ac_file_inputs=`IFS=:
|
5370 | |
for f in $ac_file_in; do
|
5371 | |
case $f in
|
5372 | |
-) echo $tmp/stdin ;;
|
5373 | |
[\\/$]*)
|
5374 | |
# Absolute (can't be DOS-style, as IFS=:)
|
5375 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5376 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5377 | |
{ (exit 1); exit 1; }; }
|
5378 | |
# Do quote $f, to prevent DOS paths from being IFS'd.
|
5379 | |
echo "$f";;
|
5380 | |
*) # Relative
|
5381 | |
if test -f "$f"; then
|
5382 | |
# Build tree
|
5383 | |
echo "$f"
|
5384 | |
elif test -f "$srcdir/$f"; then
|
5385 | |
# Source tree
|
5386 | |
echo "$srcdir/$f"
|
5387 | |
else
|
5388 | |
# /dev/null tree
|
5389 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
5390 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
5391 | |
{ (exit 1); exit 1; }; }
|
5392 | |
fi;;
|
5393 | |
esac
|
5394 | |
done` || { (exit 1); exit 1; }
|
5395 | |
# Remove the trailing spaces.
|
5396 | |
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
|
5397 | |
|
5398 | |
_ACEOF
|
5399 | |
|
5400 | |
# Transform confdefs.h into two sed scripts, `conftest.defines' and
|
5401 | |
# `conftest.undefs', that substitutes the proper values into
|
5402 | |
# config.h.in to produce config.h. The first handles `#define'
|
5403 | |
# templates, and the second `#undef' templates.
|
5404 | |
# And first: Protect against being on the right side of a sed subst in
|
5405 | |
# config.status. Protect against being in an unquoted here document
|
5406 | |
# in config.status.
|
5407 | |
rm -f conftest.defines conftest.undefs
|
5408 | |
# Using a here document instead of a string reduces the quoting nightmare.
|
5409 | |
# Putting comments in sed scripts is not portable.
|
5410 | |
#
|
5411 | |
# `end' is used to avoid that the second main sed command (meant for
|
5412 | |
# 0-ary CPP macros) applies to n-ary macro definitions.
|
5413 | |
# See the Autoconf documentation for `clear'.
|
5414 | |
cat >confdef2sed.sed <<\_ACEOF
|
5415 | |
s/[\\&,]/\\&/g
|
5416 | |
s,[\\$`],\\&,g
|
5417 | |
t clear
|
5418 | |
: clear
|
5419 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
|
5420 | |
t end
|
5421 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
|
5422 | |
: end
|
5423 | |
_ACEOF
|
5424 | |
# If some macros were called several times there might be several times
|
5425 | |
# the same #defines, which is useless. Nevertheless, we may not want to
|
5426 | |
# sort them, since we want the *last* AC-DEFINE to be honored.
|
5427 | |
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
|
5428 | |
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
|
5429 | |
rm -f confdef2sed.sed
|
5430 | |
|
5431 | |
# This sed command replaces #undef with comments. This is necessary, for
|
|
6041 |
ac_dD=' ,'
|
|
6042 |
|
|
6043 |
uniq confdefs.h |
|
|
6044 |
sed -n '
|
|
6045 |
t rset
|
|
6046 |
:rset
|
|
6047 |
s/^[ ]*#[ ]*define[ ][ ]*//
|
|
6048 |
t ok
|
|
6049 |
d
|
|
6050 |
:ok
|
|
6051 |
s/[\\&,]/\\&/g
|
|
6052 |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
|
6053 |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
|
6054 |
' >>conftest.defines
|
|
6055 |
|
|
6056 |
# Remove the space that was appended to ease matching.
|
|
6057 |
# Then replace #undef with comments. This is necessary, for
|
5432 | 6058 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
5433 | 6059 |
# on some systems where configure will not decide to define it.
|
5434 | |
cat >>conftest.undefs <<\_ACEOF
|
5435 | |
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
|
5436 | |
_ACEOF
|
5437 | |
|
5438 | |
# Break up conftest.defines because some shells have a limit on the size
|
5439 | |
# of here documents, and old seds have small limits too (100 cmds).
|
5440 | |
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
|
5441 | |
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
|
5442 | |
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
|
5443 | |
echo ' :' >>$CONFIG_STATUS
|
5444 | |
rm -f conftest.tail
|
5445 | |
while grep . conftest.defines >/dev/null
|
|
6060 |
# (The regexp can be short, since the line contains either #define or #undef.)
|
|
6061 |
echo 's/ $//
|
|
6062 |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
|
6063 |
|
|
6064 |
# Break up conftest.defines:
|
|
6065 |
ac_max_sed_lines=50
|
|
6066 |
|
|
6067 |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
|
6068 |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
|
6069 |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
|
6070 |
# et cetera.
|
|
6071 |
ac_in='$ac_file_inputs'
|
|
6072 |
ac_out='"$tmp/out1"'
|
|
6073 |
ac_nxt='"$tmp/out2"'
|
|
6074 |
|
|
6075 |
while :
|
5446 | 6076 |
do
|
5447 | |
# Write a limited-size here document to $tmp/defines.sed.
|
5448 | |
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
|
5449 | |
# Speed up: don't consider the non `#define' lines.
|
5450 | |
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
|
5451 | |
# Work around the forget-to-reset-the-flag bug.
|
5452 | |
echo 't clr' >>$CONFIG_STATUS
|
5453 | |
echo ': clr' >>$CONFIG_STATUS
|
5454 | |
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
|
|
6077 |
# Write a here document:
|
|
6078 |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
6079 |
# First, check the format of the line:
|
|
6080 |
cat >"\$tmp/defines.sed" <<\\CEOF
|
|
6081 |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
|
6082 |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
|
6083 |
b
|
|
6084 |
:def
|
|
6085 |
_ACEOF
|
|
6086 |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
5455 | 6087 |
echo 'CEOF
|
5456 | |
sed -f $tmp/defines.sed $tmp/in >$tmp/out
|
5457 | |
rm -f $tmp/in
|
5458 | |
mv $tmp/out $tmp/in
|
5459 | |
' >>$CONFIG_STATUS
|
5460 | |
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
|
|
6088 |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
|
6089 |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
|
6090 |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
|
6091 |
grep . conftest.tail >/dev/null || break
|
5461 | 6092 |
rm -f conftest.defines
|
5462 | 6093 |
mv conftest.tail conftest.defines
|
5463 | 6094 |
done
|
5464 | |
rm -f conftest.defines
|
5465 | |
echo ' fi # grep' >>$CONFIG_STATUS
|
5466 | |
echo >>$CONFIG_STATUS
|
5467 | |
|
5468 | |
# Break up conftest.undefs because some shells have a limit on the size
|
5469 | |
# of here documents, and old seds have small limits too (100 cmds).
|
5470 | |
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
|
5471 | |
rm -f conftest.tail
|
5472 | |
while grep . conftest.undefs >/dev/null
|
5473 | |
do
|
5474 | |
# Write a limited-size here document to $tmp/undefs.sed.
|
5475 | |
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
|
5476 | |
# Speed up: don't consider the non `#undef'
|
5477 | |
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
|
5478 | |
# Work around the forget-to-reset-the-flag bug.
|
5479 | |
echo 't clr' >>$CONFIG_STATUS
|
5480 | |
echo ': clr' >>$CONFIG_STATUS
|
5481 | |
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
|
5482 | |
echo 'CEOF
|
5483 | |
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
|
5484 | |
rm -f $tmp/in
|
5485 | |
mv $tmp/out $tmp/in
|
5486 | |
' >>$CONFIG_STATUS
|
5487 | |
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
|
5488 | |
rm -f conftest.undefs
|
5489 | |
mv conftest.tail conftest.undefs
|
5490 | |
done
|
5491 | |
rm -f conftest.undefs
|
5492 | |
|
|
6095 |
rm -f conftest.defines conftest.tail
|
|
6096 |
|
|
6097 |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
5493 | 6098 |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5494 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
5495 | |
# use $as_me), people would be surprised to read:
|
5496 | |
# /* config.h. Generated by config.status. */
|
5497 | |
if test x"$ac_file" = x-; then
|
5498 | |
echo "/* Generated by configure. */" >$tmp/config.h
|
5499 | |
else
|
5500 | |
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
|
5501 | |
fi
|
5502 | |
cat $tmp/in >>$tmp/config.h
|
5503 | |
rm -f $tmp/in
|
5504 | 6099 |
if test x"$ac_file" != x-; then
|
5505 | |
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
|
|
6100 |
echo "/* $configure_input */" >"$tmp/config.h"
|
|
6101 |
cat "$ac_result" >>"$tmp/config.h"
|
|
6102 |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
5506 | 6103 |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
5507 | 6104 |
echo "$as_me: $ac_file is unchanged" >&6;}
|
5508 | 6105 |
else
|
5509 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
5510 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5511 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
5512 | |
X"$ac_file" : 'X\(//\)$' \| \
|
5513 | |
X"$ac_file" : 'X\(/\)' \| \
|
5514 | |
. : '\(.\)' 2>/dev/null ||
|
5515 | |
echo X"$ac_file" |
|
5516 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5517 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5518 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5519 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5520 | |
s/.*/./; q'`
|
5521 | |
{ if $as_mkdir_p; then
|
5522 | |
mkdir -p "$ac_dir"
|
5523 | |
else
|
5524 | |
as_dir="$ac_dir"
|
5525 | |
as_dirs=
|
5526 | |
while test ! -d "$as_dir"; do
|
5527 | |
as_dirs="$as_dir $as_dirs"
|
5528 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
5529 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
5530 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
5531 | |
X"$as_dir" : 'X\(//\)$' \| \
|
5532 | |
X"$as_dir" : 'X\(/\)' \| \
|
5533 | |
. : '\(.\)' 2>/dev/null ||
|
5534 | |
echo X"$as_dir" |
|
5535 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
5536 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
5537 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
5538 | |
/^X\(\/\).*/{ s//\1/; q; }
|
5539 | |
s/.*/./; q'`
|
5540 | |
done
|
5541 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
5542 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
5543 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
5544 | |
{ (exit 1); exit 1; }; }; }
|
5545 | |
|
5546 | 6106 |
rm -f $ac_file
|
5547 | |
mv $tmp/config.h $ac_file
|
|
6107 |
mv "$tmp/config.h" $ac_file
|
5548 | 6108 |
fi
|
5549 | 6109 |
else
|
5550 | |
cat $tmp/config.h
|
5551 | |
rm -f $tmp/config.h
|
|
6110 |
echo "/* $configure_input */"
|
|
6111 |
cat "$ac_result"
|
5552 | 6112 |
fi
|
5553 | |
done
|
5554 | |
_ACEOF
|
5555 | |
|
5556 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
6113 |
rm -f "$tmp/out12"
|
|
6114 |
;;
|
|
6115 |
|
|
6116 |
|
|
6117 |
esac
|
|
6118 |
|
|
6119 |
done # for ac_tag
|
|
6120 |
|
5557 | 6121 |
|
5558 | 6122 |
{ (exit 0); exit 0; }
|
5559 | 6123 |
_ACEOF
|