0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.63 for libatasmart 0.17.
|
|
2 |
# Generated by GNU Autoconf 2.65 for libatasmart 0.17.
|
3 | 3 |
#
|
4 | 4 |
# Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>.
|
5 | 5 |
#
|
|
6 |
#
|
6 | 7 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
7 | |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
8 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
9 |
# Inc.
|
|
10 |
#
|
|
11 |
#
|
8 | 12 |
# This configure script is free software; the Free Software Foundation
|
9 | 13 |
# gives unlimited permission to copy, distribute and modify it.
|
10 | |
## --------------------- ##
|
11 | |
## M4sh Initialization. ##
|
12 | |
## --------------------- ##
|
|
14 |
## -------------------- ##
|
|
15 |
## M4sh Initialization. ##
|
|
16 |
## -------------------- ##
|
13 | 17 |
|
14 | 18 |
# Be more Bourne compatible
|
15 | 19 |
DUALCASE=1; export DUALCASE # for MKS sh
|
16 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
20 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
17 | 21 |
emulate sh
|
18 | 22 |
NULLCMD=:
|
19 | 23 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
21 | 25 |
alias -g '${1+"$@"}'='"$@"'
|
22 | 26 |
setopt NO_GLOB_SUBST
|
23 | 27 |
else
|
24 | |
case `(set -o) 2>/dev/null` in
|
25 | |
*posix*) set -o posix ;;
|
|
28 |
case `(set -o) 2>/dev/null` in #(
|
|
29 |
*posix*) :
|
|
30 |
set -o posix ;; #(
|
|
31 |
*) :
|
|
32 |
;;
|
26 | 33 |
esac
|
27 | |
|
28 | |
fi
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
# PATH needs CR
|
34 | |
# Avoid depending upon Character Ranges.
|
35 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
36 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
37 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
38 | |
as_cr_digits='0123456789'
|
39 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
34 |
fi
|
|
35 |
|
40 | 36 |
|
41 | 37 |
as_nl='
|
42 | 38 |
'
|
|
45 | 41 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
46 | 42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
47 | 43 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
48 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
44 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
45 |
# but without wasting forks for bash or zsh.
|
|
46 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
47 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
48 |
as_echo='print -r --'
|
|
49 |
as_echo_n='print -rn --'
|
|
50 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
49 | 51 |
as_echo='printf %s\n'
|
50 | 52 |
as_echo_n='printf %s'
|
51 | 53 |
else
|
|
56 | 58 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
57 | 59 |
as_echo_n_body='eval
|
58 | 60 |
arg=$1;
|
59 | |
case $arg in
|
|
61 |
case $arg in #(
|
60 | 62 |
*"$as_nl"*)
|
61 | 63 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
62 | 64 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
79 | 81 |
}
|
80 | 82 |
fi
|
81 | 83 |
|
82 | |
# Support unset when possible.
|
83 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
84 | |
as_unset=unset
|
85 | |
else
|
86 | |
as_unset=false
|
87 | |
fi
|
88 | |
|
89 | 84 |
|
90 | 85 |
# IFS
|
91 | 86 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
95 | 90 |
IFS=" "" $as_nl"
|
96 | 91 |
|
97 | 92 |
# Find who we are. Look in the path if we contain no directory separator.
|
98 | |
case $0 in
|
|
93 |
case $0 in #((
|
99 | 94 |
*[\\/]* ) as_myself=$0 ;;
|
100 | 95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
101 | 96 |
for as_dir in $PATH
|
102 | 97 |
do
|
103 | 98 |
IFS=$as_save_IFS
|
104 | 99 |
test -z "$as_dir" && as_dir=.
|
105 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
106 | |
done
|
|
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
101 |
done
|
107 | 102 |
IFS=$as_save_IFS
|
108 | 103 |
|
109 | 104 |
;;
|
|
115 | 110 |
fi
|
116 | 111 |
if test ! -f "$as_myself"; then
|
117 | 112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
118 | |
{ (exit 1); exit 1; }
|
119 | |
fi
|
120 | |
|
121 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
122 | |
for as_var in ENV MAIL MAILPATH
|
123 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
113 |
exit 1
|
|
114 |
fi
|
|
115 |
|
|
116 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
118 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
119 |
# trigger a bug in pdksh 5.2.14.
|
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
121 |
do eval test x\${$as_var+set} = xset \
|
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
124 | 123 |
done
|
125 | 124 |
PS1='$ '
|
126 | 125 |
PS2='> '
|
|
132 | 131 |
LANGUAGE=C
|
133 | 132 |
export LANGUAGE
|
134 | 133 |
|
135 | |
# Required to use basename.
|
|
134 |
# CDPATH.
|
|
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
136 |
|
|
137 |
if test "x$CONFIG_SHELL" = x; then
|
|
138 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
139 |
emulate sh
|
|
140 |
NULLCMD=:
|
|
141 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
142 |
# is contrary to our usage. Disable this feature.
|
|
143 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
144 |
setopt NO_GLOB_SUBST
|
|
145 |
else
|
|
146 |
case \`(set -o) 2>/dev/null\` in #(
|
|
147 |
*posix*) :
|
|
148 |
set -o posix ;; #(
|
|
149 |
*) :
|
|
150 |
;;
|
|
151 |
esac
|
|
152 |
fi
|
|
153 |
"
|
|
154 |
as_required="as_fn_return () { (exit \$1); }
|
|
155 |
as_fn_success () { as_fn_return 0; }
|
|
156 |
as_fn_failure () { as_fn_return 1; }
|
|
157 |
as_fn_ret_success () { return 0; }
|
|
158 |
as_fn_ret_failure () { return 1; }
|
|
159 |
|
|
160 |
exitcode=0
|
|
161 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
162 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
163 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
164 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
165 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
166 |
|
|
167 |
else
|
|
168 |
exitcode=1; echo positional parameters were not saved.
|
|
169 |
fi
|
|
170 |
test x\$exitcode = x0 || exit 1"
|
|
171 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
172 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
173 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
174 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
175 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
176 |
if (eval "$as_required") 2>/dev/null; then :
|
|
177 |
as_have_required=yes
|
|
178 |
else
|
|
179 |
as_have_required=no
|
|
180 |
fi
|
|
181 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
182 |
|
|
183 |
else
|
|
184 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
185 |
as_found=false
|
|
186 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
|
187 |
do
|
|
188 |
IFS=$as_save_IFS
|
|
189 |
test -z "$as_dir" && as_dir=.
|
|
190 |
as_found=:
|
|
191 |
case $as_dir in #(
|
|
192 |
/*)
|
|
193 |
for as_base in sh bash ksh sh5; do
|
|
194 |
# Try only shells that exist, to save several forks.
|
|
195 |
as_shell=$as_dir/$as_base
|
|
196 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
197 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
198 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
199 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
200 |
break 2
|
|
201 |
fi
|
|
202 |
fi
|
|
203 |
done;;
|
|
204 |
esac
|
|
205 |
as_found=false
|
|
206 |
done
|
|
207 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
208 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
209 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
210 |
fi; }
|
|
211 |
IFS=$as_save_IFS
|
|
212 |
|
|
213 |
|
|
214 |
if test "x$CONFIG_SHELL" != x; then :
|
|
215 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
216 |
# neutralization value for shells without unset; and this also
|
|
217 |
# works around shells that cannot unset nonexistent variables.
|
|
218 |
BASH_ENV=/dev/null
|
|
219 |
ENV=/dev/null
|
|
220 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
221 |
export CONFIG_SHELL
|
|
222 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
223 |
fi
|
|
224 |
|
|
225 |
if test x$as_have_required = xno; then :
|
|
226 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
227 |
$as_echo "$0: the shells that I found on your system."
|
|
228 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
229 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
230 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
|
231 |
else
|
|
232 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and mzyvongnfzneg (at)
|
|
233 |
$0: 0pointer (dot) net about your system, including any
|
|
234 |
$0: error possibly output before this message. Then install
|
|
235 |
$0: a modern shell, or manually run the script under such a
|
|
236 |
$0: shell if you do have one."
|
|
237 |
fi
|
|
238 |
exit 1
|
|
239 |
fi
|
|
240 |
fi
|
|
241 |
fi
|
|
242 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
243 |
export SHELL
|
|
244 |
# Unset more variables known to interfere with behavior of common tools.
|
|
245 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
246 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
247 |
|
|
248 |
## --------------------- ##
|
|
249 |
## M4sh Shell Functions. ##
|
|
250 |
## --------------------- ##
|
|
251 |
# as_fn_unset VAR
|
|
252 |
# ---------------
|
|
253 |
# Portably unset VAR.
|
|
254 |
as_fn_unset ()
|
|
255 |
{
|
|
256 |
{ eval $1=; unset $1;}
|
|
257 |
}
|
|
258 |
as_unset=as_fn_unset
|
|
259 |
|
|
260 |
# as_fn_set_status STATUS
|
|
261 |
# -----------------------
|
|
262 |
# Set $? to STATUS, without forking.
|
|
263 |
as_fn_set_status ()
|
|
264 |
{
|
|
265 |
return $1
|
|
266 |
} # as_fn_set_status
|
|
267 |
|
|
268 |
# as_fn_exit STATUS
|
|
269 |
# -----------------
|
|
270 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
271 |
as_fn_exit ()
|
|
272 |
{
|
|
273 |
set +e
|
|
274 |
as_fn_set_status $1
|
|
275 |
exit $1
|
|
276 |
} # as_fn_exit
|
|
277 |
|
|
278 |
# as_fn_mkdir_p
|
|
279 |
# -------------
|
|
280 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
281 |
as_fn_mkdir_p ()
|
|
282 |
{
|
|
283 |
|
|
284 |
case $as_dir in #(
|
|
285 |
-*) as_dir=./$as_dir;;
|
|
286 |
esac
|
|
287 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
288 |
as_dirs=
|
|
289 |
while :; do
|
|
290 |
case $as_dir in #(
|
|
291 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
292 |
*) as_qdir=$as_dir;;
|
|
293 |
esac
|
|
294 |
as_dirs="'$as_qdir' $as_dirs"
|
|
295 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
296 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
297 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
298 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
299 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
300 |
$as_echo X"$as_dir" |
|
|
301 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
302 |
s//\1/
|
|
303 |
q
|
|
304 |
}
|
|
305 |
/^X\(\/\/\)[^/].*/{
|
|
306 |
s//\1/
|
|
307 |
q
|
|
308 |
}
|
|
309 |
/^X\(\/\/\)$/{
|
|
310 |
s//\1/
|
|
311 |
q
|
|
312 |
}
|
|
313 |
/^X\(\/\).*/{
|
|
314 |
s//\1/
|
|
315 |
q
|
|
316 |
}
|
|
317 |
s/.*/./; q'`
|
|
318 |
test -d "$as_dir" && break
|
|
319 |
done
|
|
320 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
321 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
322 |
|
|
323 |
|
|
324 |
} # as_fn_mkdir_p
|
|
325 |
# as_fn_append VAR VALUE
|
|
326 |
# ----------------------
|
|
327 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
328 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
329 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
330 |
# implementations.
|
|
331 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
332 |
eval 'as_fn_append ()
|
|
333 |
{
|
|
334 |
eval $1+=\$2
|
|
335 |
}'
|
|
336 |
else
|
|
337 |
as_fn_append ()
|
|
338 |
{
|
|
339 |
eval $1=\$$1\$2
|
|
340 |
}
|
|
341 |
fi # as_fn_append
|
|
342 |
|
|
343 |
# as_fn_arith ARG...
|
|
344 |
# ------------------
|
|
345 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
346 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
347 |
# must be portable across $(()) and expr.
|
|
348 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
349 |
eval 'as_fn_arith ()
|
|
350 |
{
|
|
351 |
as_val=$(( $* ))
|
|
352 |
}'
|
|
353 |
else
|
|
354 |
as_fn_arith ()
|
|
355 |
{
|
|
356 |
as_val=`expr "$@" || test $? -eq 1`
|
|
357 |
}
|
|
358 |
fi # as_fn_arith
|
|
359 |
|
|
360 |
|
|
361 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
362 |
# ---------------------------------
|
|
363 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
364 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
365 |
# script with status $?, using 1 if that was 0.
|
|
366 |
as_fn_error ()
|
|
367 |
{
|
|
368 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
369 |
if test "$3"; then
|
|
370 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
371 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
372 |
fi
|
|
373 |
$as_echo "$as_me: error: $1" >&2
|
|
374 |
as_fn_exit $as_status
|
|
375 |
} # as_fn_error
|
|
376 |
|
136 | 377 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
137 | 378 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
138 | 379 |
as_expr=expr
|
|
146 | 387 |
as_basename=false
|
147 | 388 |
fi
|
148 | 389 |
|
149 | |
|
150 | |
# Name of the executable.
|
|
390 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
391 |
as_dirname=dirname
|
|
392 |
else
|
|
393 |
as_dirname=false
|
|
394 |
fi
|
|
395 |
|
151 | 396 |
as_me=`$as_basename -- "$0" ||
|
152 | 397 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
153 | 398 |
X"$0" : 'X\(//\)$' \| \
|
|
167 | 412 |
}
|
168 | 413 |
s/.*/./; q'`
|
169 | 414 |
|
170 | |
# CDPATH.
|
171 | |
$as_unset CDPATH
|
172 | |
|
173 | |
|
174 | |
if test "x$CONFIG_SHELL" = x; then
|
175 | |
if (eval ":") 2>/dev/null; then
|
176 | |
as_have_required=yes
|
177 | |
else
|
178 | |
as_have_required=no
|
179 | |
fi
|
180 | |
|
181 | |
if test $as_have_required = yes && (eval ":
|
182 | |
(as_func_return () {
|
183 | |
(exit \$1)
|
184 | |
}
|
185 | |
as_func_success () {
|
186 | |
as_func_return 0
|
187 | |
}
|
188 | |
as_func_failure () {
|
189 | |
as_func_return 1
|
190 | |
}
|
191 | |
as_func_ret_success () {
|
192 | |
return 0
|
193 | |
}
|
194 | |
as_func_ret_failure () {
|
195 | |
return 1
|
196 | |
}
|
197 | |
|
198 | |
exitcode=0
|
199 | |
if as_func_success; then
|
200 | |
:
|
201 | |
else
|
202 | |
exitcode=1
|
203 | |
echo as_func_success failed.
|
204 | |
fi
|
205 | |
|
206 | |
if as_func_failure; then
|
207 | |
exitcode=1
|
208 | |
echo as_func_failure succeeded.
|
209 | |
fi
|
210 | |
|
211 | |
if as_func_ret_success; then
|
212 | |
:
|
213 | |
else
|
214 | |
exitcode=1
|
215 | |
echo as_func_ret_success failed.
|
216 | |
fi
|
217 | |
|
218 | |
if as_func_ret_failure; then
|
219 | |
exitcode=1
|
220 | |
echo as_func_ret_failure succeeded.
|
221 | |
fi
|
222 | |
|
223 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
224 | |
:
|
225 | |
else
|
226 | |
exitcode=1
|
227 | |
echo positional parameters were not saved.
|
228 | |
fi
|
229 | |
|
230 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
231 | |
|
232 | |
(
|
233 | |
as_lineno_1=\$LINENO
|
234 | |
as_lineno_2=\$LINENO
|
235 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
236 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
237 | |
") 2> /dev/null; then
|
238 | |
:
|
239 | |
else
|
240 | |
as_candidate_shells=
|
241 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
242 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
243 | |
do
|
244 | |
IFS=$as_save_IFS
|
245 | |
test -z "$as_dir" && as_dir=.
|
246 | |
case $as_dir in
|
247 | |
/*)
|
248 | |
for as_base in sh bash ksh sh5; do
|
249 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
250 | |
done;;
|
251 | |
esac
|
252 | |
done
|
253 | |
IFS=$as_save_IFS
|
254 | |
|
255 | |
|
256 | |
for as_shell in $as_candidate_shells $SHELL; do
|
257 | |
# Try only shells that exist, to save several forks.
|
258 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
259 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
260 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
261 | |
emulate sh
|
262 | |
NULLCMD=:
|
263 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
264 | |
# is contrary to our usage. Disable this feature.
|
265 | |
alias -g '${1+"$@"}'='"$@"'
|
266 | |
setopt NO_GLOB_SUBST
|
267 | |
else
|
268 | |
case `(set -o) 2>/dev/null` in
|
269 | |
*posix*) set -o posix ;;
|
270 | |
esac
|
271 | |
|
272 | |
fi
|
273 | |
|
274 | |
|
275 | |
:
|
276 | |
_ASEOF
|
277 | |
}; then
|
278 | |
CONFIG_SHELL=$as_shell
|
279 | |
as_have_required=yes
|
280 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
281 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
282 | |
emulate sh
|
283 | |
NULLCMD=:
|
284 | |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
285 | |
# is contrary to our usage. Disable this feature.
|
286 | |
alias -g '${1+"$@"}'='"$@"'
|
287 | |
setopt NO_GLOB_SUBST
|
288 | |
else
|
289 | |
case `(set -o) 2>/dev/null` in
|
290 | |
*posix*) set -o posix ;;
|
291 | |
esac
|
292 | |
|
293 | |
fi
|
294 | |
|
295 | |
|
296 | |
:
|
297 | |
(as_func_return () {
|
298 | |
(exit $1)
|
299 | |
}
|
300 | |
as_func_success () {
|
301 | |
as_func_return 0
|
302 | |
}
|
303 | |
as_func_failure () {
|
304 | |
as_func_return 1
|
305 | |
}
|
306 | |
as_func_ret_success () {
|
307 | |
return 0
|
308 | |
}
|
309 | |
as_func_ret_failure () {
|
310 | |
return 1
|
311 | |
}
|
312 | |
|
313 | |
exitcode=0
|
314 | |
if as_func_success; then
|
315 | |
:
|
316 | |
else
|
317 | |
exitcode=1
|
318 | |
echo as_func_success failed.
|
319 | |
fi
|
320 | |
|
321 | |
if as_func_failure; then
|
322 | |
exitcode=1
|
323 | |
echo as_func_failure succeeded.
|
324 | |
fi
|
325 | |
|
326 | |
if as_func_ret_success; then
|
327 | |
:
|
328 | |
else
|
329 | |
exitcode=1
|
330 | |
echo as_func_ret_success failed.
|
331 | |
fi
|
332 | |
|
333 | |
if as_func_ret_failure; then
|
334 | |
exitcode=1
|
335 | |
echo as_func_ret_failure succeeded.
|
336 | |
fi
|
337 | |
|
338 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
339 | |
:
|
340 | |
else
|
341 | |
exitcode=1
|
342 | |
echo positional parameters were not saved.
|
343 | |
fi
|
344 | |
|
345 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
346 | |
|
347 | |
(
|
348 | |
as_lineno_1=$LINENO
|
349 | |
as_lineno_2=$LINENO
|
350 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
351 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
352 | |
|
353 | |
_ASEOF
|
354 | |
}; then
|
355 | |
break
|
356 | |
fi
|
357 | |
|
358 | |
fi
|
359 | |
|
360 | |
done
|
361 | |
|
362 | |
if test "x$CONFIG_SHELL" != x; then
|
363 | |
for as_var in BASH_ENV ENV
|
364 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
365 | |
done
|
366 | |
export CONFIG_SHELL
|
367 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
368 | |
fi
|
369 | |
|
370 | |
|
371 | |
if test $as_have_required = no; then
|
372 | |
echo This script requires a shell more modern than all the
|
373 | |
echo shells that I found on your system. Please install a
|
374 | |
echo modern shell, or manually run the script under such a
|
375 | |
echo shell if you do have one.
|
376 | |
{ (exit 1); exit 1; }
|
377 | |
fi
|
378 | |
|
379 | |
|
380 | |
fi
|
381 | |
|
382 | |
fi
|
383 | |
|
384 | |
|
385 | |
|
386 | |
(eval "as_func_return () {
|
387 | |
(exit \$1)
|
388 | |
}
|
389 | |
as_func_success () {
|
390 | |
as_func_return 0
|
391 | |
}
|
392 | |
as_func_failure () {
|
393 | |
as_func_return 1
|
394 | |
}
|
395 | |
as_func_ret_success () {
|
396 | |
return 0
|
397 | |
}
|
398 | |
as_func_ret_failure () {
|
399 | |
return 1
|
400 | |
}
|
401 | |
|
402 | |
exitcode=0
|
403 | |
if as_func_success; then
|
404 | |
:
|
405 | |
else
|
406 | |
exitcode=1
|
407 | |
echo as_func_success failed.
|
408 | |
fi
|
409 | |
|
410 | |
if as_func_failure; then
|
411 | |
exitcode=1
|
412 | |
echo as_func_failure succeeded.
|
413 | |
fi
|
414 | |
|
415 | |
if as_func_ret_success; then
|
416 | |
:
|
417 | |
else
|
418 | |
exitcode=1
|
419 | |
echo as_func_ret_success failed.
|
420 | |
fi
|
421 | |
|
422 | |
if as_func_ret_failure; then
|
423 | |
exitcode=1
|
424 | |
echo as_func_ret_failure succeeded.
|
425 | |
fi
|
426 | |
|
427 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
428 | |
:
|
429 | |
else
|
430 | |
exitcode=1
|
431 | |
echo positional parameters were not saved.
|
432 | |
fi
|
433 | |
|
434 | |
test \$exitcode = 0") || {
|
435 | |
echo No shell found that supports shell functions.
|
436 | |
echo Please tell bug-autoconf@gnu.org about your system,
|
437 | |
echo including any error possibly output before this message.
|
438 | |
echo This can help us improve future autoconf versions.
|
439 | |
echo Configuration will now proceed without shell functions.
|
440 | |
}
|
441 | |
|
442 | |
|
443 | |
|
444 | |
as_lineno_1=$LINENO
|
445 | |
as_lineno_2=$LINENO
|
446 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
447 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
448 | |
|
449 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
450 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
451 | |
# line-number line after each line using $LINENO; the second 'sed'
|
452 | |
# does the real work. The second script uses 'N' to pair each
|
453 | |
# line-number line with the line containing $LINENO, and appends
|
454 | |
# trailing '-' during substitution so that $LINENO is not a special
|
455 | |
# case at line end.
|
456 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
457 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
458 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
415 |
# Avoid depending upon Character Ranges.
|
|
416 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
417 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
418 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
419 |
as_cr_digits='0123456789'
|
|
420 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
421 |
|
|
422 |
|
|
423 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
424 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
425 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
426 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
427 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
459 | 428 |
sed -n '
|
460 | 429 |
p
|
461 | 430 |
/[$]LINENO/=
|
|
472 | 441 |
s/-\n.*//
|
473 | 442 |
' >$as_me.lineno &&
|
474 | 443 |
chmod +x "$as_me.lineno" ||
|
475 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
476 | |
{ (exit 1); exit 1; }; }
|
|
444 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
477 | 445 |
|
478 | 446 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
479 | 447 |
# (the dirname of $[0] is not the place where we might find the
|
|
483 | 451 |
exit
|
484 | 452 |
}
|
485 | 453 |
|
486 | |
|
487 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
488 | |
as_dirname=dirname
|
489 | |
else
|
490 | |
as_dirname=false
|
491 | |
fi
|
492 | |
|
493 | 454 |
ECHO_C= ECHO_N= ECHO_T=
|
494 | |
case `echo -n x` in
|
|
455 |
case `echo -n x` in #(((((
|
495 | 456 |
-n*)
|
496 | |
case `echo 'x\c'` in
|
|
457 |
case `echo 'xy\c'` in
|
497 | 458 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
498 | |
*) ECHO_C='\c';;
|
|
459 |
xy) ECHO_C='\c';;
|
|
460 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
461 |
ECHO_T=' ';;
|
499 | 462 |
esac;;
|
500 | 463 |
*)
|
501 | 464 |
ECHO_N='-n';;
|
502 | 465 |
esac
|
503 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
504 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
505 | |
as_expr=expr
|
506 | |
else
|
507 | |
as_expr=false
|
508 | |
fi
|
509 | 466 |
|
510 | 467 |
rm -f conf$$ conf$$.exe conf$$.file
|
511 | 468 |
if test -d conf$$.dir; then
|
|
535 | 492 |
rmdir conf$$.dir 2>/dev/null
|
536 | 493 |
|
537 | 494 |
if mkdir -p . 2>/dev/null; then
|
538 | |
as_mkdir_p=:
|
|
495 |
as_mkdir_p='mkdir -p "$as_dir"'
|
539 | 496 |
else
|
540 | 497 |
test -d ./-p && rmdir ./-p
|
541 | 498 |
as_mkdir_p=false
|
|
554 | 511 |
if test -d "$1"; then
|
555 | 512 |
test -d "$1/.";
|
556 | 513 |
else
|
557 | |
case $1 in
|
|
514 |
case $1 in #(
|
558 | 515 |
-*)set "./$1";;
|
559 | 516 |
esac;
|
560 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
517 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
561 | 518 |
???[sx]*):;;*)false;;esac;fi
|
562 | 519 |
'\'' sh
|
563 | 520 |
'
|
|
569 | 526 |
|
570 | 527 |
# Sed expression to map a string onto a valid variable name.
|
571 | 528 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
572 | |
|
573 | 529 |
|
574 | 530 |
|
575 | 531 |
|
|
721 | 677 |
|
722 | 678 |
|
723 | 679 |
|
724 | |
exec 7<&0 </dev/null 6>&1
|
|
680 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
681 |
exec 6>&1
|
725 | 682 |
|
726 | 683 |
# Name of the host.
|
727 | 684 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
739 | 696 |
subdirs=
|
740 | 697 |
MFLAGS=
|
741 | 698 |
MAKEFLAGS=
|
742 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
743 | 699 |
|
744 | 700 |
# Identity of this package.
|
745 | 701 |
PACKAGE_NAME='libatasmart'
|
|
747 | 703 |
PACKAGE_VERSION='0.17'
|
748 | 704 |
PACKAGE_STRING='libatasmart 0.17'
|
749 | 705 |
PACKAGE_BUGREPORT='mzyvongnfzneg (at) 0pointer (dot) net'
|
|
706 |
PACKAGE_URL=''
|
750 | 707 |
|
751 | 708 |
ac_unique_file="atasmart.c"
|
752 | 709 |
# Factoring default headers for most tests.
|
|
844 | 801 |
build_cpu
|
845 | 802 |
build
|
846 | 803 |
LIBATASMART_VERSION_INFO
|
847 | |
PACKAGE_URL
|
848 | 804 |
AM_BACKSLASH
|
849 | 805 |
AM_DEFAULT_VERBOSITY
|
850 | 806 |
am__untar
|
|
900 | 856 |
program_transform_name
|
901 | 857 |
prefix
|
902 | 858 |
exec_prefix
|
|
859 |
PACKAGE_URL
|
903 | 860 |
PACKAGE_BUGREPORT
|
904 | 861 |
PACKAGE_STRING
|
905 | 862 |
PACKAGE_VERSION
|
|
1044 | 1001 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
1045 | 1002 |
# Reject names that are not valid shell variable names.
|
1046 | 1003 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1047 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
1048 | |
{ (exit 1); exit 1; }; }
|
|
1004 |
as_fn_error "invalid feature name: $ac_useropt"
|
1049 | 1005 |
ac_useropt_orig=$ac_useropt
|
1050 | 1006 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1051 | 1007 |
case $ac_user_opts in
|
|
1071 | 1027 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
1072 | 1028 |
# Reject names that are not valid shell variable names.
|
1073 | 1029 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1074 | |
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
|
1075 | |
{ (exit 1); exit 1; }; }
|
|
1030 |
as_fn_error "invalid feature name: $ac_useropt"
|
1076 | 1031 |
ac_useropt_orig=$ac_useropt
|
1077 | 1032 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1078 | 1033 |
case $ac_user_opts in
|
|
1276 | 1231 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1277 | 1232 |
# Reject names that are not valid shell variable names.
|
1278 | 1233 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1279 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1280 | |
{ (exit 1); exit 1; }; }
|
|
1234 |
as_fn_error "invalid package name: $ac_useropt"
|
1281 | 1235 |
ac_useropt_orig=$ac_useropt
|
1282 | 1236 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1283 | 1237 |
case $ac_user_opts in
|
|
1293 | 1247 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1294 | 1248 |
# Reject names that are not valid shell variable names.
|
1295 | 1249 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1296 | |
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
|
1297 | |
{ (exit 1); exit 1; }; }
|
|
1250 |
as_fn_error "invalid package name: $ac_useropt"
|
1298 | 1251 |
ac_useropt_orig=$ac_useropt
|
1299 | 1252 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1300 | 1253 |
case $ac_user_opts in
|
|
1324 | 1277 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1325 | 1278 |
x_libraries=$ac_optarg ;;
|
1326 | 1279 |
|
1327 | |
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
|
1328 | |
Try \`$0 --help' for more information." >&2
|
1329 | |
{ (exit 1); exit 1; }; }
|
|
1280 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1281 |
Try \`$0 --help' for more information."
|
1330 | 1282 |
;;
|
1331 | 1283 |
|
1332 | 1284 |
*=*)
|
1333 | 1285 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1334 | 1286 |
# Reject names that are not valid shell variable names.
|
1335 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1336 | |
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1337 | |
{ (exit 1); exit 1; }; }
|
|
1287 |
case $ac_envvar in #(
|
|
1288 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1289 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1290 |
esac
|
1338 | 1291 |
eval $ac_envvar=\$ac_optarg
|
1339 | 1292 |
export $ac_envvar ;;
|
1340 | 1293 |
|
|
1351 | 1304 |
|
1352 | 1305 |
if test -n "$ac_prev"; then
|
1353 | 1306 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1354 | |
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
|
1355 | |
{ (exit 1); exit 1; }; }
|
|
1307 |
as_fn_error "missing argument to $ac_option"
|
1356 | 1308 |
fi
|
1357 | 1309 |
|
1358 | 1310 |
if test -n "$ac_unrecognized_opts"; then
|
1359 | 1311 |
case $enable_option_checking in
|
1360 | 1312 |
no) ;;
|
1361 | |
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
|
1362 | |
{ (exit 1); exit 1; }; } ;;
|
|
1313 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1363 | 1314 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1364 | 1315 |
esac
|
1365 | 1316 |
fi
|
|
1382 | 1333 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1383 | 1334 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1384 | 1335 |
esac
|
1385 | |
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1386 | |
{ (exit 1); exit 1; }; }
|
|
1336 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1387 | 1337 |
done
|
1388 | 1338 |
|
1389 | 1339 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1413 | 1363 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1414 | 1364 |
ac_ls_di=`ls -di .` &&
|
1415 | 1365 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1416 | |
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
|
1417 | |
{ (exit 1); exit 1; }; }
|
|
1366 |
as_fn_error "working directory cannot be determined"
|
1418 | 1367 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1419 | |
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
|
1420 | |
{ (exit 1); exit 1; }; }
|
|
1368 |
as_fn_error "pwd does not report name of working directory"
|
1421 | 1369 |
|
1422 | 1370 |
|
1423 | 1371 |
# Find the source files, if location was not specified.
|
|
1456 | 1404 |
fi
|
1457 | 1405 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1458 | 1406 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1459 | |
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1460 | |
{ (exit 1); exit 1; }; }
|
|
1407 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1461 | 1408 |
fi
|
1462 | 1409 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1463 | 1410 |
ac_abs_confdir=`(
|
1464 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
|
1465 | |
{ (exit 1); exit 1; }; }
|
|
1411 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1466 | 1412 |
pwd)`
|
1467 | 1413 |
# When building in place, set srcdir=.
|
1468 | 1414 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1590 | 1536 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1591 | 1537 |
nonstandard directory <lib dir>
|
1592 | 1538 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1593 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1539 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1594 | 1540 |
you have headers in a nonstandard directory <include dir>
|
1595 | 1541 |
CPP C preprocessor
|
1596 | 1542 |
CXX C++ compiler command
|
|
1669 | 1615 |
if $ac_init_version; then
|
1670 | 1616 |
cat <<\_ACEOF
|
1671 | 1617 |
libatasmart configure 0.17
|
1672 | |
generated by GNU Autoconf 2.63
|
1673 | |
|
1674 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1675 | |
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
|
1618 |
generated by GNU Autoconf 2.65
|
|
1619 |
|
|
1620 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
1676 | 1621 |
This configure script is free software; the Free Software Foundation
|
1677 | 1622 |
gives unlimited permission to copy, distribute and modify it.
|
1678 | 1623 |
_ACEOF
|
1679 | 1624 |
exit
|
1680 | 1625 |
fi
|
|
1626 |
|
|
1627 |
## ------------------------ ##
|
|
1628 |
## Autoconf initialization. ##
|
|
1629 |
## ------------------------ ##
|
|
1630 |
|
|
1631 |
# ac_fn_c_try_compile LINENO
|
|
1632 |
# --------------------------
|
|
1633 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1634 |
ac_fn_c_try_compile ()
|
|
1635 |
{
|
|
1636 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1637 |
rm -f conftest.$ac_objext
|
|
1638 |
if { { ac_try="$ac_compile"
|
|
1639 |
case "(($ac_try" in
|
|
1640 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1641 |
*) ac_try_echo=$ac_try;;
|
|
1642 |
esac
|
|
1643 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1644 |
$as_echo "$ac_try_echo"; } >&5
|
|
1645 |
(eval "$ac_compile") 2>conftest.err
|
|
1646 |
ac_status=$?
|
|
1647 |
if test -s conftest.err; then
|
|
1648 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1649 |
cat conftest.er1 >&5
|
|
1650 |
mv -f conftest.er1 conftest.err
|
|
1651 |
fi
|
|
1652 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1653 |
test $ac_status = 0; } && {
|
|
1654 |
test -z "$ac_c_werror_flag" ||
|
|
1655 |
test ! -s conftest.err
|
|
1656 |
} && test -s conftest.$ac_objext; then :
|
|
1657 |
ac_retval=0
|
|
1658 |
else
|
|
1659 |
$as_echo "$as_me: failed program was:" >&5
|
|
1660 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1661 |
|
|
1662 |
ac_retval=1
|
|
1663 |
fi
|
|
1664 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1665 |
as_fn_set_status $ac_retval
|
|
1666 |
|
|
1667 |
} # ac_fn_c_try_compile
|
|
1668 |
|
|
1669 |
# ac_fn_c_try_cpp LINENO
|
|
1670 |
# ----------------------
|
|
1671 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1672 |
ac_fn_c_try_cpp ()
|
|
1673 |
{
|
|
1674 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1675 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1676 |
case "(($ac_try" in
|
|
1677 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1678 |
*) ac_try_echo=$ac_try;;
|
|
1679 |
esac
|
|
1680 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1681 |
$as_echo "$ac_try_echo"; } >&5
|
|
1682 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1683 |
ac_status=$?
|
|
1684 |
if test -s conftest.err; then
|
|
1685 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1686 |
cat conftest.er1 >&5
|
|
1687 |
mv -f conftest.er1 conftest.err
|
|
1688 |
fi
|
|
1689 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1690 |
test $ac_status = 0; } >/dev/null && {
|
|
1691 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1692 |
test ! -s conftest.err
|
|
1693 |
}; then :
|
|
1694 |
ac_retval=0
|
|
1695 |
else
|
|
1696 |
$as_echo "$as_me: failed program was:" >&5
|
|
1697 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1698 |
|
|
1699 |
ac_retval=1
|
|
1700 |
fi
|
|
1701 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1702 |
as_fn_set_status $ac_retval
|
|
1703 |
|
|
1704 |
} # ac_fn_c_try_cpp
|
|
1705 |
|
|
1706 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1707 |
# -------------------------------------------------------
|
|
1708 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1709 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1710 |
# accordingly.
|
|
1711 |
ac_fn_c_check_header_mongrel ()
|
|
1712 |
{
|
|
1713 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1714 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1715 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1716 |
$as_echo_n "checking for $2... " >&6; }
|
|
1717 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1718 |
$as_echo_n "(cached) " >&6
|
|
1719 |
fi
|
|
1720 |
eval ac_res=\$$3
|
|
1721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1722 |
$as_echo "$ac_res" >&6; }
|
|
1723 |
else
|
|
1724 |
# Is the header compilable?
|
|
1725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1726 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1727 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1728 |
/* end confdefs.h. */
|
|
1729 |
$4
|
|
1730 |
#include <$2>
|
|
1731 |
_ACEOF
|
|
1732 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1733 |
ac_header_compiler=yes
|
|
1734 |
else
|
|
1735 |
ac_header_compiler=no
|
|
1736 |
fi
|
|
1737 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1739 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1740 |
|
|
1741 |
# Is the header present?
|
|
1742 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1743 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1744 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1745 |
/* end confdefs.h. */
|
|
1746 |
#include <$2>
|
|
1747 |
_ACEOF
|
|
1748 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1749 |
ac_header_preproc=yes
|
|
1750 |
else
|
|
1751 |
ac_header_preproc=no
|
|
1752 |
fi
|
|
1753 |
rm -f conftest.err conftest.$ac_ext
|
|
1754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1755 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1756 |
|
|
1757 |
# So? What about this header?
|
|
1758 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1759 |
yes:no: )
|
|
1760 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1761 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1763 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1764 |
;;
|
|
1765 |
no:yes:* )
|
|
1766 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1767 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1769 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1771 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1773 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1774 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1775 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1776 |
( cat <<\_ASBOX
|
|
1777 |
## ---------------------------------------------------- ##
|
|
1778 |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
|
1779 |
## ---------------------------------------------------- ##
|
|
1780 |
_ASBOX
|
|
1781 |
) | sed "s/^/$as_me: WARNING: /" >&2
|
|
1782 |
;;
|
|
1783 |
esac
|
|
1784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1785 |
$as_echo_n "checking for $2... " >&6; }
|
|
1786 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1787 |
$as_echo_n "(cached) " >&6
|
|
1788 |
else
|
|
1789 |
eval "$3=\$ac_header_compiler"
|
|
1790 |
fi
|
|
1791 |
eval ac_res=\$$3
|
|
1792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1793 |
$as_echo "$ac_res" >&6; }
|
|
1794 |
fi
|
|
1795 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1796 |
|
|
1797 |
} # ac_fn_c_check_header_mongrel
|
|
1798 |
|
|
1799 |
# ac_fn_c_try_run LINENO
|
|
1800 |
# ----------------------
|
|
1801 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1802 |
# that executables *can* be run.
|
|
1803 |
ac_fn_c_try_run ()
|
|
1804 |
{
|
|
1805 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1806 |
if { { ac_try="$ac_link"
|
|
1807 |
case "(($ac_try" in
|
|
1808 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1809 |
*) ac_try_echo=$ac_try;;
|
|
1810 |
esac
|
|
1811 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1812 |
$as_echo "$ac_try_echo"; } >&5
|
|
1813 |
(eval "$ac_link") 2>&5
|
|
1814 |
ac_status=$?
|
|
1815 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1816 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1817 |
{ { case "(($ac_try" in
|
|
1818 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1819 |
*) ac_try_echo=$ac_try;;
|
|
1820 |
esac
|
|
1821 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1822 |
$as_echo "$ac_try_echo"; } >&5
|
|
1823 |
(eval "$ac_try") 2>&5
|
|
1824 |
ac_status=$?
|
|
1825 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1826 |
test $ac_status = 0; }; }; then :
|
|
1827 |
ac_retval=0
|
|
1828 |
else
|
|
1829 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1830 |
$as_echo "$as_me: failed program was:" >&5
|
|
1831 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1832 |
|
|
1833 |
ac_retval=$ac_status
|
|
1834 |
fi
|
|
1835 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1836 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1837 |
as_fn_set_status $ac_retval
|
|
1838 |
|
|
1839 |
} # ac_fn_c_try_run
|
|
1840 |
|
|
1841 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1842 |
# -------------------------------------------------------
|
|
1843 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1844 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1845 |
ac_fn_c_check_header_compile ()
|
|
1846 |
{
|
|
1847 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1849 |
$as_echo_n "checking for $2... " >&6; }
|
|
1850 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1851 |
$as_echo_n "(cached) " >&6
|
|
1852 |
else
|
|
1853 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1854 |
/* end confdefs.h. */
|
|
1855 |
$4
|
|
1856 |
#include <$2>
|
|
1857 |
_ACEOF
|
|
1858 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1859 |
eval "$3=yes"
|
|
1860 |
else
|
|
1861 |
eval "$3=no"
|
|
1862 |
fi
|
|
1863 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1864 |
fi
|
|
1865 |
eval ac_res=\$$3
|
|
1866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1867 |
$as_echo "$ac_res" >&6; }
|
|
1868 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1869 |
|
|
1870 |
} # ac_fn_c_check_header_compile
|
|
1871 |
|
|
1872 |
# ac_fn_cxx_try_compile LINENO
|
|
1873 |
# ----------------------------
|
|
1874 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1875 |
ac_fn_cxx_try_compile ()
|
|
1876 |
{
|
|
1877 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1878 |
rm -f conftest.$ac_objext
|
|
1879 |
if { { ac_try="$ac_compile"
|
|
1880 |
case "(($ac_try" in
|
|
1881 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1882 |
*) ac_try_echo=$ac_try;;
|
|
1883 |
esac
|
|
1884 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1885 |
$as_echo "$ac_try_echo"; } >&5
|
|
1886 |
(eval "$ac_compile") 2>conftest.err
|
|
1887 |
ac_status=$?
|
|
1888 |
if test -s conftest.err; then
|
|
1889 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1890 |
cat conftest.er1 >&5
|
|
1891 |
mv -f conftest.er1 conftest.err
|
|
1892 |
fi
|
|
1893 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1894 |
test $ac_status = 0; } && {
|
|
1895 |
test -z "$ac_cxx_werror_flag" ||
|
|
1896 |
test ! -s conftest.err
|
|
1897 |
} && test -s conftest.$ac_objext; then :
|
|
1898 |
ac_retval=0
|
|
1899 |
else
|
|
1900 |
$as_echo "$as_me: failed program was:" >&5
|
|
1901 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1902 |
|
|
1903 |
ac_retval=1
|
|
1904 |
fi
|
|
1905 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1906 |
as_fn_set_status $ac_retval
|
|
1907 |
|
|
1908 |
} # ac_fn_cxx_try_compile
|
|
1909 |
|
|
1910 |
# ac_fn_c_try_link LINENO
|
|
1911 |
# -----------------------
|
|
1912 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1913 |
ac_fn_c_try_link ()
|
|
1914 |
{
|
|
1915 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1916 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1917 |
if { { ac_try="$ac_link"
|
|
1918 |
case "(($ac_try" in
|
|
1919 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1920 |
*) ac_try_echo=$ac_try;;
|
|
1921 |
esac
|
|
1922 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1923 |
$as_echo "$ac_try_echo"; } >&5
|
|
1924 |
(eval "$ac_link") 2>conftest.err
|
|
1925 |
ac_status=$?
|
|
1926 |
if test -s conftest.err; then
|
|
1927 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1928 |
cat conftest.er1 >&5
|
|
1929 |
mv -f conftest.er1 conftest.err
|
|
1930 |
fi
|
|
1931 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1932 |
test $ac_status = 0; } && {
|
|
1933 |
test -z "$ac_c_werror_flag" ||
|
|
1934 |
test ! -s conftest.err
|
|
1935 |
} && test -s conftest$ac_exeext && {
|
|
1936 |
test "$cross_compiling" = yes ||
|
|
1937 |
$as_test_x conftest$ac_exeext
|
|
1938 |
}; then :
|
|
1939 |
ac_retval=0
|
|
1940 |
else
|
|
1941 |
$as_echo "$as_me: failed program was:" >&5
|
|
1942 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1943 |
|
|
1944 |
ac_retval=1
|
|
1945 |
fi
|
|
1946 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1947 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1948 |
# interfere with the next link command; also delete a directory that is
|
|
1949 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1950 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1951 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1952 |
as_fn_set_status $ac_retval
|
|
1953 |
|
|
1954 |
} # ac_fn_c_try_link
|
|
1955 |
|
|
1956 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1957 |
# ----------------------------------
|
|
1958 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1959 |
ac_fn_c_check_func ()
|
|
1960 |
{
|
|
1961 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1963 |
$as_echo_n "checking for $2... " >&6; }
|
|
1964 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1965 |
$as_echo_n "(cached) " >&6
|
|
1966 |
else
|
|
1967 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1968 |
/* end confdefs.h. */
|
|
1969 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1970 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1971 |
#define $2 innocuous_$2
|
|
1972 |
|
|
1973 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1974 |
which can conflict with char $2 (); below.
|
|
1975 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1976 |
<limits.h> exists even on freestanding compilers. */
|
|
1977 |
|
|
1978 |
#ifdef __STDC__
|
|
1979 |
# include <limits.h>
|
|
1980 |
#else
|
|
1981 |
# include <assert.h>
|
|
1982 |
#endif
|
|
1983 |
|
|
1984 |
#undef $2
|
|
1985 |
|
|
1986 |
/* Override any GCC internal prototype to avoid an error.
|
|
1987 |
Use char because int might match the return type of a GCC
|
|
1988 |
builtin and then its argument prototype would still apply. */
|
|
1989 |
#ifdef __cplusplus
|
|
1990 |
extern "C"
|
|
1991 |
#endif
|
|
1992 |
char $2 ();
|
|
1993 |
/* The GNU C library defines this for functions which it implements
|
|
1994 |
to always fail with ENOSYS. Some functions are actually named
|
|
1995 |
something starting with __ and the normal name is an alias. */
|
|
1996 |
#if defined __stub_$2 || defined __stub___$2
|
|
1997 |
choke me
|
|
1998 |
#endif
|
|
1999 |
|
|
2000 |
int
|
|
2001 |
main ()
|
|
2002 |
{
|
|
2003 |
return $2 ();
|
|
2004 |
;
|
|
2005 |
return 0;
|
|
2006 |
}
|
|
2007 |
_ACEOF
|
|
2008 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
2009 |
eval "$3=yes"
|
|
2010 |
else
|
|
2011 |
eval "$3=no"
|
|
2012 |
fi
|
|
2013 |
rm -f core conftest.err conftest.$ac_objext \
|
|
2014 |
conftest$ac_exeext conftest.$ac_ext
|
|
2015 |
fi
|
|
2016 |
eval ac_res=\$$3
|
|
2017 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2018 |
$as_echo "$ac_res" >&6; }
|
|
2019 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2020 |
|
|
2021 |
} # ac_fn_c_check_func
|
|
2022 |
|
|
2023 |
# ac_fn_cxx_try_cpp LINENO
|
|
2024 |
# ------------------------
|
|
2025 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
2026 |
ac_fn_cxx_try_cpp ()
|
|
2027 |
{
|
|
2028 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2029 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
2030 |
case "(($ac_try" in
|
|
2031 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2032 |
*) ac_try_echo=$ac_try;;
|
|
2033 |
esac
|
|
2034 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2035 |
$as_echo "$ac_try_echo"; } >&5
|
|
2036 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
2037 |
ac_status=$?
|
|
2038 |
if test -s conftest.err; then
|
|
2039 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2040 |
cat conftest.er1 >&5
|
|
2041 |
mv -f conftest.er1 conftest.err
|
|
2042 |
fi
|
|
2043 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2044 |
test $ac_status = 0; } >/dev/null && {
|
|
2045 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
2046 |
test ! -s conftest.err
|
|
2047 |
}; then :
|
|
2048 |
ac_retval=0
|
|
2049 |
else
|
|
2050 |
$as_echo "$as_me: failed program was:" >&5
|
|
2051 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2052 |
|
|
2053 |
ac_retval=1
|
|
2054 |
fi
|
|
2055 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2056 |
as_fn_set_status $ac_retval
|
|
2057 |
|
|
2058 |
} # ac_fn_cxx_try_cpp
|
|
2059 |
|
|
2060 |
# ac_fn_cxx_try_link LINENO
|
|
2061 |
# -------------------------
|
|
2062 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
2063 |
ac_fn_cxx_try_link ()
|
|
2064 |
{
|
|
2065 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2066 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
2067 |
if { { ac_try="$ac_link"
|
|
2068 |
case "(($ac_try" in
|
|
2069 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2070 |
*) ac_try_echo=$ac_try;;
|
|
2071 |
esac
|
|
2072 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2073 |
$as_echo "$ac_try_echo"; } >&5
|
|
2074 |
(eval "$ac_link") 2>conftest.err
|
|
2075 |
ac_status=$?
|
|
2076 |
if test -s conftest.err; then
|
|
2077 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2078 |
cat conftest.er1 >&5
|
|
2079 |
mv -f conftest.er1 conftest.err
|
|
2080 |
fi
|
|
2081 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2082 |
test $ac_status = 0; } && {
|
|
2083 |
test -z "$ac_cxx_werror_flag" ||
|
|
2084 |
test ! -s conftest.err
|
|
2085 |
} && test -s conftest$ac_exeext && {
|
|
2086 |
test "$cross_compiling" = yes ||
|
|
2087 |
$as_test_x conftest$ac_exeext
|
|
2088 |
}; then :
|
|
2089 |
ac_retval=0
|
|
2090 |
else
|
|
2091 |
$as_echo "$as_me: failed program was:" >&5
|
|
2092 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2093 |
|
|
2094 |
ac_retval=1
|
|
2095 |
fi
|
|
2096 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
2097 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
2098 |
# interfere with the next link command; also delete a directory that is
|
|
2099 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
2100 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
2101 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2102 |
as_fn_set_status $ac_retval
|
|
2103 |
|
|
2104 |
} # ac_fn_cxx_try_link
|
|
2105 |
|
|
2106 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
2107 |
# -------------------------------------------
|
|
2108 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
2109 |
# variable VAR accordingly.
|
|
2110 |
ac_fn_c_check_type ()
|
|
2111 |
{
|
|
2112 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
2114 |
$as_echo_n "checking for $2... " >&6; }
|
|
2115 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
2116 |
$as_echo_n "(cached) " >&6
|
|
2117 |
else
|
|
2118 |
eval "$3=no"
|
|
2119 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2120 |
/* end confdefs.h. */
|
|
2121 |
$4
|
|
2122 |
int
|
|
2123 |
main ()
|
|
2124 |
{
|
|
2125 |
if (sizeof ($2))
|
|
2126 |
return 0;
|
|
2127 |
;
|
|
2128 |
return 0;
|
|
2129 |
}
|
|
2130 |
_ACEOF
|
|
2131 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2132 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2133 |
/* end confdefs.h. */
|
|
2134 |
$4
|
|
2135 |
int
|
|
2136 |
main ()
|
|
2137 |
{
|
|
2138 |
if (sizeof (($2)))
|
|
2139 |
return 0;
|
|
2140 |
;
|
|
2141 |
return 0;
|
|
2142 |
}
|
|
2143 |
_ACEOF
|
|
2144 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2145 |
|
|
2146 |
else
|
|
2147 |
eval "$3=yes"
|
|
2148 |
fi
|
|
2149 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2150 |
fi
|
|
2151 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2152 |
fi
|
|
2153 |
eval ac_res=\$$3
|
|
2154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2155 |
$as_echo "$ac_res" >&6; }
|
|
2156 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
2157 |
|
|
2158 |
} # ac_fn_c_check_type
|
1681 | 2159 |
cat >config.log <<_ACEOF
|
1682 | 2160 |
This file contains any messages produced by compilers while
|
1683 | 2161 |
running configure, to aid debugging if configure makes a mistake.
|
1684 | 2162 |
|
1685 | 2163 |
It was created by libatasmart $as_me 0.17, which was
|
1686 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
2164 |
generated by GNU Autoconf 2.65. Invocation command line was
|
1687 | 2165 |
|
1688 | 2166 |
$ $0 $@
|
1689 | 2167 |
|
|
1719 | 2197 |
do
|
1720 | 2198 |
IFS=$as_save_IFS
|
1721 | 2199 |
test -z "$as_dir" && as_dir=.
|
1722 | |
$as_echo "PATH: $as_dir"
|
1723 | |
done
|
|
2200 |
$as_echo "PATH: $as_dir"
|
|
2201 |
done
|
1724 | 2202 |
IFS=$as_save_IFS
|
1725 | 2203 |
|
1726 | 2204 |
} >&5
|
|
1757 | 2235 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1758 | 2236 |
esac
|
1759 | 2237 |
case $ac_pass in
|
1760 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2238 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1761 | 2239 |
2)
|
1762 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
2240 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1763 | 2241 |
if test $ac_must_keep_next = true; then
|
1764 | 2242 |
ac_must_keep_next=false # Got value, back to normal.
|
1765 | 2243 |
else
|
|
1775 | 2253 |
-* ) ac_must_keep_next=true ;;
|
1776 | 2254 |
esac
|
1777 | 2255 |
fi
|
1778 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
2256 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1779 | 2257 |
;;
|
1780 | 2258 |
esac
|
1781 | 2259 |
done
|
1782 | 2260 |
done
|
1783 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1784 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
2261 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
2262 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1785 | 2263 |
|
1786 | 2264 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1787 | 2265 |
# config.log. We remove comments because anyway the quotes in there
|
|
1806 | 2284 |
case $ac_val in #(
|
1807 | 2285 |
*${as_nl}*)
|
1808 | 2286 |
case $ac_var in #(
|
1809 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2287 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
1810 | 2288 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1811 | 2289 |
esac
|
1812 | 2290 |
case $ac_var in #(
|
1813 | 2291 |
_ | IFS | as_nl) ;; #(
|
1814 | 2292 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
1815 | |
*) $as_unset $ac_var ;;
|
|
2293 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1816 | 2294 |
esac ;;
|
1817 | 2295 |
esac
|
1818 | 2296 |
done
|
|
1884 | 2362 |
exit $exit_status
|
1885 | 2363 |
' 0
|
1886 | 2364 |
for ac_signal in 1 2 13 15; do
|
1887 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2365 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1888 | 2366 |
done
|
1889 | 2367 |
ac_signal=0
|
1890 | 2368 |
|
1891 | 2369 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1892 | 2370 |
rm -f -r conftest* confdefs.h
|
|
2371 |
|
|
2372 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1893 | 2373 |
|
1894 | 2374 |
# Predefined preprocessor variables.
|
1895 | 2375 |
|
|
1897 | 2377 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1898 | 2378 |
_ACEOF
|
1899 | 2379 |
|
1900 | |
|
1901 | 2380 |
cat >>confdefs.h <<_ACEOF
|
1902 | 2381 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1903 | 2382 |
_ACEOF
|
1904 | 2383 |
|
1905 | |
|
1906 | 2384 |
cat >>confdefs.h <<_ACEOF
|
1907 | 2385 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1908 | 2386 |
_ACEOF
|
1909 | 2387 |
|
1910 | |
|
1911 | 2388 |
cat >>confdefs.h <<_ACEOF
|
1912 | 2389 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1913 | 2390 |
_ACEOF
|
1914 | 2391 |
|
1915 | |
|
1916 | 2392 |
cat >>confdefs.h <<_ACEOF
|
1917 | 2393 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
|
2394 |
_ACEOF
|
|
2395 |
|
|
2396 |
cat >>confdefs.h <<_ACEOF
|
|
2397 |
#define PACKAGE_URL "$PACKAGE_URL"
|
1918 | 2398 |
_ACEOF
|
1919 | 2399 |
|
1920 | 2400 |
|
|
1934 | 2414 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1935 | 2415 |
do
|
1936 | 2416 |
test "x$ac_site_file" = xNONE && continue
|
1937 | |
if test -r "$ac_site_file"; then
|
1938 | |
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
|
2417 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
1939 | 2419 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1940 | 2420 |
sed 's/^/| /' "$ac_site_file" >&5
|
1941 | 2421 |
. "$ac_site_file"
|
|
1943 | 2423 |
done
|
1944 | 2424 |
|
1945 | 2425 |
if test -r "$cache_file"; then
|
1946 | |
# Some versions of bash will fail to source /dev/null (special
|
1947 | |
# files actually), so we avoid doing that.
|
1948 | |
if test -f "$cache_file"; then
|
1949 | |
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
|
2426 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2427 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2428 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
1950 | 2430 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1951 | 2431 |
case $cache_file in
|
1952 | 2432 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1954 | 2434 |
esac
|
1955 | 2435 |
fi
|
1956 | 2436 |
else
|
1957 | |
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
|
2437 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
1958 | 2438 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1959 | 2439 |
>$cache_file
|
1960 | 2440 |
fi
|
|
1969 | 2449 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1970 | 2450 |
case $ac_old_set,$ac_new_set in
|
1971 | 2451 |
set,)
|
1972 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1973 | 2453 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1974 | 2454 |
ac_cache_corrupted=: ;;
|
1975 | 2455 |
,set)
|
1976 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
|
2456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
1977 | 2457 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1978 | 2458 |
ac_cache_corrupted=: ;;
|
1979 | 2459 |
,);;
|
|
1983 | 2463 |
ac_old_val_w=`echo x $ac_old_val`
|
1984 | 2464 |
ac_new_val_w=`echo x $ac_new_val`
|
1985 | 2465 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
1986 | |
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
1987 | 2467 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1988 | 2468 |
ac_cache_corrupted=:
|
1989 | 2469 |
else
|
1990 | |
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
1991 | 2471 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
1992 | 2472 |
eval $ac_var=\$ac_old_val
|
1993 | 2473 |
fi
|
1994 | |
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
|
|
2474 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
1995 | 2475 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
1996 | |
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
|
|
2476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
1997 | 2477 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1998 | 2478 |
fi;;
|
1999 | 2479 |
esac
|
|
2005 | 2485 |
esac
|
2006 | 2486 |
case " $ac_configure_args " in
|
2007 | 2487 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2008 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2488 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
2009 | 2489 |
esac
|
2010 | 2490 |
fi
|
2011 | 2491 |
done
|
2012 | 2492 |
if $ac_cache_corrupted; then
|
2013 | |
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
2493 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2014 | 2494 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2015 | |
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
|
2495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2016 | 2496 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2017 | |
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
2018 | |
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
2019 | |
{ (exit 1); exit 1; }; }
|
2020 | |
fi
|
2021 | |
|
2022 | |
|
2023 | |
|
2024 | |
|
2025 | |
|
2026 | |
|
2027 | |
|
2028 | |
|
2029 | |
|
2030 | |
|
2031 | |
|
2032 | |
|
2033 | |
|
2034 | |
|
2035 | |
|
2036 | |
|
2037 | |
|
2038 | |
|
2039 | |
|
2040 | |
|
2041 | |
|
2042 | |
|
2043 | |
|
2044 | |
|
|
2497 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2498 |
fi
|
|
2499 |
## -------------------- ##
|
|
2500 |
## Main body of script. ##
|
|
2501 |
## -------------------- ##
|
2045 | 2502 |
|
2046 | 2503 |
ac_ext=c
|
2047 | 2504 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2059 | 2516 |
|
2060 | 2517 |
ac_aux_dir=
|
2061 | 2518 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2062 | |
if test -f "$ac_dir/install-sh"; then
|
2063 | |
ac_aux_dir=$ac_dir
|
2064 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
2065 | |
break
|
2066 | |
elif test -f "$ac_dir/install.sh"; then
|
2067 | |
ac_aux_dir=$ac_dir
|
2068 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
2069 | |
break
|
2070 | |
elif test -f "$ac_dir/shtool"; then
|
2071 | |
ac_aux_dir=$ac_dir
|
2072 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
2073 | |
break
|
2074 | |
fi
|
|
2519 |
for ac_t in install-sh install.sh shtool; do
|
|
2520 |
if test -f "$ac_dir/$ac_t"; then
|
|
2521 |
ac_aux_dir=$ac_dir
|
|
2522 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
2523 |
break 2
|
|
2524 |
fi
|
|
2525 |
done
|
2075 | 2526 |
done
|
2076 | 2527 |
if test -z "$ac_aux_dir"; then
|
2077 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
2078 | |
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
2079 | |
{ (exit 1); exit 1; }; }
|
|
2528 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2080 | 2529 |
fi
|
2081 | 2530 |
|
2082 | 2531 |
# These three variables are undocumented and unsupported,
|
|
2102 | 2551 |
# OS/2's system install, which has a completely different semantic
|
2103 | 2552 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2104 | 2553 |
# Reject install programs that cannot install multiple files.
|
2105 | |
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
|
2554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2106 | 2555 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2107 | 2556 |
if test -z "$INSTALL"; then
|
2108 | |
if test "${ac_cv_path_install+set}" = set; then
|
|
2557 |
if test "${ac_cv_path_install+set}" = set; then :
|
2109 | 2558 |
$as_echo_n "(cached) " >&6
|
2110 | 2559 |
else
|
2111 | 2560 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2113 | 2562 |
do
|
2114 | 2563 |
IFS=$as_save_IFS
|
2115 | 2564 |
test -z "$as_dir" && as_dir=.
|
2116 | |
# Account for people who put trailing slashes in PATH elements.
|
2117 | |
case $as_dir/ in
|
2118 | |
./ | .// | /cC/* | \
|
|
2565 |
# Account for people who put trailing slashes in PATH elements.
|
|
2566 |
case $as_dir/ in #((
|
|
2567 |
./ | .// | /[cC]/* | \
|
2119 | 2568 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2120 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2569 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2121 | 2570 |
/usr/ucb/* ) ;;
|
2122 | 2571 |
*)
|
2123 | 2572 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2154 | 2603 |
;;
|
2155 | 2604 |
esac
|
2156 | 2605 |
|
2157 | |
done
|
|
2606 |
done
|
2158 | 2607 |
IFS=$as_save_IFS
|
2159 | 2608 |
|
2160 | 2609 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2170 | 2619 |
INSTALL=$ac_install_sh
|
2171 | 2620 |
fi
|
2172 | 2621 |
fi
|
2173 | |
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
|
|
2622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2174 | 2623 |
$as_echo "$INSTALL" >&6; }
|
2175 | 2624 |
|
2176 | 2625 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2181 | 2630 |
|
2182 | 2631 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2183 | 2632 |
|
2184 | |
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
|
2633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2185 | 2634 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2186 | 2635 |
# Just in case
|
2187 | 2636 |
sleep 1
|
|
2192 | 2641 |
'
|
2193 | 2642 |
case `pwd` in
|
2194 | 2643 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
2195 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
|
2196 | |
$as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
|
2197 | |
{ (exit 1); exit 1; }; };;
|
|
2644 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
2198 | 2645 |
esac
|
2199 | 2646 |
case $srcdir in
|
2200 | 2647 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
2201 | |
{ { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
|
2202 | |
$as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
|
2203 | |
{ (exit 1); exit 1; }; };;
|
|
2648 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
2204 | 2649 |
esac
|
2205 | 2650 |
|
2206 | 2651 |
# Do `set' in a subshell so we don't clobber the current shell's
|
|
2222 | 2667 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2223 | 2668 |
# broken ls alias from the environment. This has actually
|
2224 | 2669 |
# happened. Such a system could not be considered "sane".
|
2225 | |
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
2226 | |
alias in your environment" >&5
|
2227 | |
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
2228 | |
alias in your environment" >&2;}
|
2229 | |
{ (exit 1); exit 1; }; }
|
|
2670 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2671 |
alias in your environment" "$LINENO" 5
|
2230 | 2672 |
fi
|
2231 | 2673 |
|
2232 | 2674 |
test "$2" = conftest.file
|
|
2235 | 2677 |
# Ok.
|
2236 | 2678 |
:
|
2237 | 2679 |
else
|
2238 | |
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
2239 | |
Check your system clock" >&5
|
2240 | |
$as_echo "$as_me: error: newly created file is older than distributed files!
|
2241 | |
Check your system clock" >&2;}
|
2242 | |
{ (exit 1); exit 1; }; }
|
2243 | |
fi
|
2244 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2680 |
as_fn_error "newly created file is older than distributed files!
|
|
2681 |
Check your system clock" "$LINENO" 5
|
|
2682 |
fi
|
|
2683 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2245 | 2684 |
$as_echo "yes" >&6; }
|
2246 | 2685 |
test "$program_prefix" != NONE &&
|
2247 | 2686 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2269 | 2708 |
am_missing_run="$MISSING --run "
|
2270 | 2709 |
else
|
2271 | 2710 |
am_missing_run=
|
2272 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
|
2711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2273 | 2712 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2274 | 2713 |
fi
|
2275 | 2714 |
|
|
2290 | 2729 |
if test -n "$ac_tool_prefix"; then
|
2291 | 2730 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2292 | 2731 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2293 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2294 | 2733 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2295 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
2734 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2296 | 2735 |
$as_echo_n "(cached) " >&6
|
2297 | 2736 |
else
|
2298 | 2737 |
if test -n "$STRIP"; then
|
|
2303 | 2742 |
do
|
2304 | 2743 |
IFS=$as_save_IFS
|
2305 | 2744 |
test -z "$as_dir" && as_dir=.
|
2306 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2745 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2307 | 2746 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2308 | 2747 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2309 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2748 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2310 | 2749 |
break 2
|
2311 | 2750 |
fi
|
2312 | 2751 |
done
|
2313 | |
done
|
|
2752 |
done
|
2314 | 2753 |
IFS=$as_save_IFS
|
2315 | 2754 |
|
2316 | 2755 |
fi
|
2317 | 2756 |
fi
|
2318 | 2757 |
STRIP=$ac_cv_prog_STRIP
|
2319 | 2758 |
if test -n "$STRIP"; then
|
2320 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
2759 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2321 | 2760 |
$as_echo "$STRIP" >&6; }
|
2322 | 2761 |
else
|
2323 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2324 | 2763 |
$as_echo "no" >&6; }
|
2325 | 2764 |
fi
|
2326 | 2765 |
|
|
2330 | 2769 |
ac_ct_STRIP=$STRIP
|
2331 | 2770 |
# Extract the first word of "strip", so it can be a program name with args.
|
2332 | 2771 |
set dummy strip; ac_word=$2
|
2333 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2334 | 2773 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2335 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
2774 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2336 | 2775 |
$as_echo_n "(cached) " >&6
|
2337 | 2776 |
else
|
2338 | 2777 |
if test -n "$ac_ct_STRIP"; then
|
|
2343 | 2782 |
do
|
2344 | 2783 |
IFS=$as_save_IFS
|
2345 | 2784 |
test -z "$as_dir" && as_dir=.
|
2346 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2785 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2347 | 2786 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2348 | 2787 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2349 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2788 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2350 | 2789 |
break 2
|
2351 | 2790 |
fi
|
2352 | 2791 |
done
|
2353 | |
done
|
|
2792 |
done
|
2354 | 2793 |
IFS=$as_save_IFS
|
2355 | 2794 |
|
2356 | 2795 |
fi
|
2357 | 2796 |
fi
|
2358 | 2797 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2359 | 2798 |
if test -n "$ac_ct_STRIP"; then
|
2360 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
2799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2361 | 2800 |
$as_echo "$ac_ct_STRIP" >&6; }
|
2362 | 2801 |
else
|
2363 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2802 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2364 | 2803 |
$as_echo "no" >&6; }
|
2365 | 2804 |
fi
|
2366 | 2805 |
|
|
2369 | 2808 |
else
|
2370 | 2809 |
case $cross_compiling:$ac_tool_warned in
|
2371 | 2810 |
yes:)
|
2372 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2811 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2373 | 2812 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2374 | 2813 |
ac_tool_warned=yes ;;
|
2375 | 2814 |
esac
|
|
2382 | 2821 |
fi
|
2383 | 2822 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
2384 | 2823 |
|
2385 | |
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
|
|
2824 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
2386 | 2825 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
2387 | 2826 |
if test -z "$MKDIR_P"; then
|
2388 | |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2827 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
2389 | 2828 |
$as_echo_n "(cached) " >&6
|
2390 | 2829 |
else
|
2391 | 2830 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2393 | 2832 |
do
|
2394 | 2833 |
IFS=$as_save_IFS
|
2395 | 2834 |
test -z "$as_dir" && as_dir=.
|
2396 | |
for ac_prog in mkdir gmkdir; do
|
|
2835 |
for ac_prog in mkdir gmkdir; do
|
2397 | 2836 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2398 | 2837 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
2399 | 2838 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2405 | 2844 |
esac
|
2406 | 2845 |
done
|
2407 | 2846 |
done
|
2408 | |
done
|
|
2847 |
done
|
2409 | 2848 |
IFS=$as_save_IFS
|
2410 | 2849 |
|
2411 | 2850 |
fi
|
2412 | 2851 |
|
|
2852 |
test -d ./--version && rmdir ./--version
|
2413 | 2853 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
2414 | 2854 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
2415 | 2855 |
else
|
|
2417 | 2857 |
# value for MKDIR_P within a source directory, because that will
|
2418 | 2858 |
# break other packages using the cache if that directory is
|
2419 | 2859 |
# removed, or if the value is a relative name.
|
2420 | |
test -d ./--version && rmdir ./--version
|
2421 | 2860 |
MKDIR_P="$ac_install_sh -d"
|
2422 | 2861 |
fi
|
2423 | 2862 |
fi
|
2424 | |
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
|
|
2863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
2425 | 2864 |
$as_echo "$MKDIR_P" >&6; }
|
2426 | 2865 |
|
2427 | 2866 |
mkdir_p="$MKDIR_P"
|
|
2434 | 2873 |
do
|
2435 | 2874 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2436 | 2875 |
set dummy $ac_prog; ac_word=$2
|
2437 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
2876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2438 | 2877 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2439 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
|
2878 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
2440 | 2879 |
$as_echo_n "(cached) " >&6
|
2441 | 2880 |
else
|
2442 | 2881 |
if test -n "$AWK"; then
|
|
2447 | 2886 |
do
|
2448 | 2887 |
IFS=$as_save_IFS
|
2449 | 2888 |
test -z "$as_dir" && as_dir=.
|
2450 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2889 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2451 | 2890 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2452 | 2891 |
ac_cv_prog_AWK="$ac_prog"
|
2453 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2892 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2454 | 2893 |
break 2
|
2455 | 2894 |
fi
|
2456 | 2895 |
done
|
2457 | |
done
|
|
2896 |
done
|
2458 | 2897 |
IFS=$as_save_IFS
|
2459 | 2898 |
|
2460 | 2899 |
fi
|
2461 | 2900 |
fi
|
2462 | 2901 |
AWK=$ac_cv_prog_AWK
|
2463 | 2902 |
if test -n "$AWK"; then
|
2464 | |
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
|
|
2903 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
2465 | 2904 |
$as_echo "$AWK" >&6; }
|
2466 | 2905 |
else
|
2467 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2906 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2468 | 2907 |
$as_echo "no" >&6; }
|
2469 | 2908 |
fi
|
2470 | 2909 |
|
|
2472 | 2911 |
test -n "$AWK" && break
|
2473 | 2912 |
done
|
2474 | 2913 |
|
2475 | |
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2476 | 2915 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
2477 | 2916 |
set x ${MAKE-make}
|
2478 | 2917 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2479 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
2918 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2480 | 2919 |
$as_echo_n "(cached) " >&6
|
2481 | 2920 |
else
|
2482 | 2921 |
cat >conftest.make <<\_ACEOF
|
|
2494 | 2933 |
rm -f conftest.make
|
2495 | 2934 |
fi
|
2496 | 2935 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2497 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
2936 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2498 | 2937 |
$as_echo "yes" >&6; }
|
2499 | 2938 |
SET_MAKE=
|
2500 | 2939 |
else
|
2501 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
2940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2502 | 2941 |
$as_echo "no" >&6; }
|
2503 | 2942 |
SET_MAKE="MAKE=${MAKE-make}"
|
2504 | 2943 |
fi
|
|
2513 | 2952 |
rmdir .tst 2>/dev/null
|
2514 | 2953 |
|
2515 | 2954 |
# Check whether --enable-silent-rules was given.
|
2516 | |
if test "${enable_silent_rules+set}" = set; then
|
|
2955 |
if test "${enable_silent_rules+set}" = set; then :
|
2517 | 2956 |
enableval=$enable_silent_rules;
|
2518 | 2957 |
fi
|
2519 | 2958 |
|
|
2530 | 2969 |
am__isrc=' -I$(srcdir)'
|
2531 | 2970 |
# test to see if srcdir already configured
|
2532 | 2971 |
if test -f $srcdir/config.status; then
|
2533 | |
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2534 | |
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2535 | |
{ (exit 1); exit 1; }; }
|
|
2972 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2536 | 2973 |
fi
|
2537 | 2974 |
fi
|
2538 | 2975 |
|
|
2583 | 3020 |
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
2584 | 3021 |
|
2585 | 3022 |
|
2586 | |
{ $as_echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
|
|
3023 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
|
2587 | 3024 |
$as_echo_n "checking how to create a pax tar archive... " >&6; }
|
2588 | 3025 |
# Loop over all known methods to create a tar archive until one works.
|
2589 | 3026 |
_am_tools='gnutar pax cpio none'
|
|
2656 | 3093 |
done
|
2657 | 3094 |
rm -rf conftest.dir
|
2658 | 3095 |
|
2659 | |
if test "${am_cv_prog_tar_pax+set}" = set; then
|
|
3096 |
if test "${am_cv_prog_tar_pax+set}" = set; then :
|
2660 | 3097 |
$as_echo_n "(cached) " >&6
|
2661 | 3098 |
else
|
2662 | 3099 |
am_cv_prog_tar_pax=$_am_tool
|
2663 | 3100 |
fi
|
2664 | 3101 |
|
2665 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
|
|
3102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
|
2666 | 3103 |
$as_echo "$am_cv_prog_tar_pax" >&6; }
|
2667 | 3104 |
|
2668 | 3105 |
|
|
2678 | 3115 |
|
2679 | 3116 |
# Make sure we can run config.sub.
|
2680 | 3117 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2681 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
2682 | |
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
2683 | |
{ (exit 1); exit 1; }; }
|
2684 | |
|
2685 | |
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
|
|
3118 |
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
3119 |
|
|
3120 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2686 | 3121 |
$as_echo_n "checking build system type... " >&6; }
|
2687 | |
if test "${ac_cv_build+set}" = set; then
|
|
3122 |
if test "${ac_cv_build+set}" = set; then :
|
2688 | 3123 |
$as_echo_n "(cached) " >&6
|
2689 | 3124 |
else
|
2690 | 3125 |
ac_build_alias=$build_alias
|
2691 | 3126 |
test "x$ac_build_alias" = x &&
|
2692 | 3127 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2693 | 3128 |
test "x$ac_build_alias" = x &&
|
2694 | |
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
2695 | |
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
2696 | |
{ (exit 1); exit 1; }; }
|
|
3129 |
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
2697 | 3130 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2698 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
2699 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
2700 | |
{ (exit 1); exit 1; }; }
|
2701 | |
|
2702 | |
fi
|
2703 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
|
3131 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
3132 |
|
|
3133 |
fi
|
|
3134 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2704 | 3135 |
$as_echo "$ac_cv_build" >&6; }
|
2705 | 3136 |
case $ac_cv_build in
|
2706 | 3137 |
*-*-*) ;;
|
2707 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
2708 | |
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
|
2709 | |
{ (exit 1); exit 1; }; };;
|
|
3138 |
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
2710 | 3139 |
esac
|
2711 | 3140 |
build=$ac_cv_build
|
2712 | 3141 |
ac_save_IFS=$IFS; IFS='-'
|
|
2722 | 3151 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2723 | 3152 |
|
2724 | 3153 |
|
2725 | |
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
|
|
3154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2726 | 3155 |
$as_echo_n "checking host system type... " >&6; }
|
2727 | |
if test "${ac_cv_host+set}" = set; then
|
|
3156 |
if test "${ac_cv_host+set}" = set; then :
|
2728 | 3157 |
$as_echo_n "(cached) " >&6
|
2729 | 3158 |
else
|
2730 | 3159 |
if test "x$host_alias" = x; then
|
2731 | 3160 |
ac_cv_host=$ac_cv_build
|
2732 | 3161 |
else
|
2733 | 3162 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2734 | |
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
2735 | |
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
2736 | |
{ (exit 1); exit 1; }; }
|
2737 | |
fi
|
2738 | |
|
2739 | |
fi
|
2740 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
|
3163 |
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
3164 |
fi
|
|
3165 |
|
|
3166 |
fi
|
|
3167 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2741 | 3168 |
$as_echo "$ac_cv_host" >&6; }
|
2742 | 3169 |
case $ac_cv_host in
|
2743 | 3170 |
*-*-*) ;;
|
2744 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
2745 | |
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
|
2746 | |
{ (exit 1); exit 1; }; };;
|
|
3171 |
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
2747 | 3172 |
esac
|
2748 | 3173 |
host=$ac_cv_host
|
2749 | 3174 |
ac_save_IFS=$IFS; IFS='-'
|
|
2761 | 3186 |
|
2762 | 3187 |
|
2763 | 3188 |
# Check whether --enable-silent-rules was given.
|
2764 | |
if test "${enable_silent_rules+set}" = set; then
|
|
3189 |
if test "${enable_silent_rules+set}" = set; then :
|
2765 | 3190 |
enableval=$enable_silent_rules;
|
2766 | 3191 |
fi
|
2767 | 3192 |
|
|
2774 | 3199 |
|
2775 | 3200 |
|
2776 | 3201 |
if type -p stow > /dev/null && test -d /usr/local/stow ; then
|
2777 | |
{ $as_echo "$as_me:$LINENO: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
|
|
3202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
|
2778 | 3203 |
$as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
|
2779 | 3204 |
ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
|
2780 | 3205 |
fi
|
|
2791 | 3216 |
if test -n "$ac_tool_prefix"; then
|
2792 | 3217 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2793 | 3218 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2794 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2795 | 3220 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2796 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3221 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2797 | 3222 |
$as_echo_n "(cached) " >&6
|
2798 | 3223 |
else
|
2799 | 3224 |
if test -n "$CC"; then
|
|
2804 | 3229 |
do
|
2805 | 3230 |
IFS=$as_save_IFS
|
2806 | 3231 |
test -z "$as_dir" && as_dir=.
|
2807 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3232 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2808 | 3233 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2809 | 3234 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2810 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3235 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2811 | 3236 |
break 2
|
2812 | 3237 |
fi
|
2813 | 3238 |
done
|
2814 | |
done
|
|
3239 |
done
|
2815 | 3240 |
IFS=$as_save_IFS
|
2816 | 3241 |
|
2817 | 3242 |
fi
|
2818 | 3243 |
fi
|
2819 | 3244 |
CC=$ac_cv_prog_CC
|
2820 | 3245 |
if test -n "$CC"; then
|
2821 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2822 | 3247 |
$as_echo "$CC" >&6; }
|
2823 | 3248 |
else
|
2824 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3249 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2825 | 3250 |
$as_echo "no" >&6; }
|
2826 | 3251 |
fi
|
2827 | 3252 |
|
|
2831 | 3256 |
ac_ct_CC=$CC
|
2832 | 3257 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2833 | 3258 |
set dummy gcc; ac_word=$2
|
2834 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2835 | 3260 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2836 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
3261 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
2837 | 3262 |
$as_echo_n "(cached) " >&6
|
2838 | 3263 |
else
|
2839 | 3264 |
if test -n "$ac_ct_CC"; then
|
|
2844 | 3269 |
do
|
2845 | 3270 |
IFS=$as_save_IFS
|
2846 | 3271 |
test -z "$as_dir" && as_dir=.
|
2847 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3272 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2848 | 3273 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2849 | 3274 |
ac_cv_prog_ac_ct_CC="gcc"
|
2850 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3275 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2851 | 3276 |
break 2
|
2852 | 3277 |
fi
|
2853 | 3278 |
done
|
2854 | |
done
|
|
3279 |
done
|
2855 | 3280 |
IFS=$as_save_IFS
|
2856 | 3281 |
|
2857 | 3282 |
fi
|
2858 | 3283 |
fi
|
2859 | 3284 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2860 | 3285 |
if test -n "$ac_ct_CC"; then
|
2861 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
3286 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
2862 | 3287 |
$as_echo "$ac_ct_CC" >&6; }
|
2863 | 3288 |
else
|
2864 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3289 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2865 | 3290 |
$as_echo "no" >&6; }
|
2866 | 3291 |
fi
|
2867 | 3292 |
|
|
2870 | 3295 |
else
|
2871 | 3296 |
case $cross_compiling:$ac_tool_warned in
|
2872 | 3297 |
yes:)
|
2873 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
2874 | 3299 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2875 | 3300 |
ac_tool_warned=yes ;;
|
2876 | 3301 |
esac
|
|
2884 | 3309 |
if test -n "$ac_tool_prefix"; then
|
2885 | 3310 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2886 | 3311 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2887 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2888 | 3313 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2889 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3314 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2890 | 3315 |
$as_echo_n "(cached) " >&6
|
2891 | 3316 |
else
|
2892 | 3317 |
if test -n "$CC"; then
|
|
2897 | 3322 |
do
|
2898 | 3323 |
IFS=$as_save_IFS
|
2899 | 3324 |
test -z "$as_dir" && as_dir=.
|
2900 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3325 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2901 | 3326 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2902 | 3327 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2903 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3328 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2904 | 3329 |
break 2
|
2905 | 3330 |
fi
|
2906 | 3331 |
done
|
2907 | |
done
|
|
3332 |
done
|
2908 | 3333 |
IFS=$as_save_IFS
|
2909 | 3334 |
|
2910 | 3335 |
fi
|
2911 | 3336 |
fi
|
2912 | 3337 |
CC=$ac_cv_prog_CC
|
2913 | 3338 |
if test -n "$CC"; then
|
2914 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3339 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2915 | 3340 |
$as_echo "$CC" >&6; }
|
2916 | 3341 |
else
|
2917 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2918 | 3343 |
$as_echo "no" >&6; }
|
2919 | 3344 |
fi
|
2920 | 3345 |
|
|
2924 | 3349 |
if test -z "$CC"; then
|
2925 | 3350 |
# Extract the first word of "cc", so it can be a program name with args.
|
2926 | 3351 |
set dummy cc; ac_word=$2
|
2927 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2928 | 3353 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2929 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3354 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2930 | 3355 |
$as_echo_n "(cached) " >&6
|
2931 | 3356 |
else
|
2932 | 3357 |
if test -n "$CC"; then
|
|
2938 | 3363 |
do
|
2939 | 3364 |
IFS=$as_save_IFS
|
2940 | 3365 |
test -z "$as_dir" && as_dir=.
|
2941 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3366 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2942 | 3367 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2943 | 3368 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2944 | 3369 |
ac_prog_rejected=yes
|
2945 | 3370 |
continue
|
2946 | 3371 |
fi
|
2947 | 3372 |
ac_cv_prog_CC="cc"
|
2948 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3373 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2949 | 3374 |
break 2
|
2950 | 3375 |
fi
|
2951 | 3376 |
done
|
2952 | |
done
|
|
3377 |
done
|
2953 | 3378 |
IFS=$as_save_IFS
|
2954 | 3379 |
|
2955 | 3380 |
if test $ac_prog_rejected = yes; then
|
|
2968 | 3393 |
fi
|
2969 | 3394 |
CC=$ac_cv_prog_CC
|
2970 | 3395 |
if test -n "$CC"; then
|
2971 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
2972 | 3397 |
$as_echo "$CC" >&6; }
|
2973 | 3398 |
else
|
2974 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2975 | 3400 |
$as_echo "no" >&6; }
|
2976 | 3401 |
fi
|
2977 | 3402 |
|
|
2983 | 3408 |
do
|
2984 | 3409 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2985 | 3410 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2986 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3411 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2987 | 3412 |
$as_echo_n "checking for $ac_word... " >&6; }
|
2988 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
|
3413 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
2989 | 3414 |
$as_echo_n "(cached) " >&6
|
2990 | 3415 |
else
|
2991 | 3416 |
if test -n "$CC"; then
|
|
2996 | 3421 |
do
|
2997 | 3422 |
IFS=$as_save_IFS
|
2998 | 3423 |
test -z "$as_dir" && as_dir=.
|
2999 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3424 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3000 | 3425 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3001 | 3426 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3002 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3427 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3003 | 3428 |
break 2
|
3004 | 3429 |
fi
|
3005 | 3430 |
done
|
3006 | |
done
|
|
3431 |
done
|
3007 | 3432 |
IFS=$as_save_IFS
|
3008 | 3433 |
|
3009 | 3434 |
fi
|
3010 | 3435 |
fi
|
3011 | 3436 |
CC=$ac_cv_prog_CC
|
3012 | 3437 |
if test -n "$CC"; then
|
3013 | |
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
|
|
3438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3014 | 3439 |
$as_echo "$CC" >&6; }
|
3015 | 3440 |
else
|
3016 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3017 | 3442 |
$as_echo "no" >&6; }
|
3018 | 3443 |
fi
|
3019 | 3444 |
|
|
3027 | 3452 |
do
|
3028 | 3453 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3029 | 3454 |
set dummy $ac_prog; ac_word=$2
|
3030 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
3455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3031 | 3456 |
$as_echo_n "checking for $ac_word... " >&6; }
|
3032 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
|
3457 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3033 | 3458 |
$as_echo_n "(cached) " >&6
|
3034 | 3459 |
else
|
3035 | 3460 |
if test -n "$ac_ct_CC"; then
|
|
3040 | 3465 |
do
|
3041 | 3466 |
IFS=$as_save_IFS
|
3042 | 3467 |
test -z "$as_dir" && as_dir=.
|
3043 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3468 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3044 | 3469 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3045 | 3470 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3046 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3471 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3047 | 3472 |
break 2
|
3048 | 3473 |
fi
|
3049 | 3474 |
done
|
3050 | |
done
|
|
3475 |
done
|
3051 | 3476 |
IFS=$as_save_IFS
|
3052 | 3477 |
|
3053 | 3478 |
fi
|
3054 | 3479 |
fi
|
3055 | 3480 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3056 | 3481 |
if test -n "$ac_ct_CC"; then
|
3057 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
|
3482 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3058 | 3483 |
$as_echo "$ac_ct_CC" >&6; }
|
3059 | 3484 |
else
|
3060 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
3485 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3061 | 3486 |
$as_echo "no" >&6; }
|
3062 | 3487 |
fi
|
3063 | 3488 |
|
|
3070 | 3495 |
else
|
3071 | 3496 |
case $cross_compiling:$ac_tool_warned in
|
3072 | 3497 |
yes:)
|
3073 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3074 | 3499 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3075 | 3500 |
ac_tool_warned=yes ;;
|
3076 | 3501 |
esac
|
|
3081 | 3506 |
fi
|
3082 | 3507 |
|
3083 | 3508 |
|
3084 | |
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3509 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3085 | 3510 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3086 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
3087 | |
See \`config.log' for more details." >&5
|
3088 | |
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
|
3089 | |
See \`config.log' for more details." >&2;}
|
3090 | |
{ (exit 1); exit 1; }; }; }
|
|
3511 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
3512 |
See \`config.log' for more details." "$LINENO" 5; }
|
3091 | 3513 |
|
3092 | 3514 |
# Provide some information about the compiler.
|
3093 | |
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
|
|
3515 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3094 | 3516 |
set X $ac_compile
|
3095 | 3517 |
ac_compiler=$2
|
3096 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3518 |
for ac_option in --version -v -V -qversion; do
|
|
3519 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
3097 | 3520 |
case "(($ac_try" in
|
3098 | 3521 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3099 | 3522 |
*) ac_try_echo=$ac_try;;
|
3100 | 3523 |
esac
|
3101 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3102 | |
$as_echo "$ac_try_echo") >&5
|
3103 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3524 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3525 |
$as_echo "$ac_try_echo"; } >&5
|
|
3526 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3104 | 3527 |
ac_status=$?
|
3105 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3106 | |
(exit $ac_status); }
|
3107 | |
{ (ac_try="$ac_compiler -v >&5"
|
3108 | |
case "(($ac_try" in
|
3109 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3110 | |
*) ac_try_echo=$ac_try;;
|
3111 | |
esac
|
3112 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3113 | |
$as_echo "$ac_try_echo") >&5
|
3114 | |
(eval "$ac_compiler -v >&5") 2>&5
|
3115 | |
ac_status=$?
|
3116 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3117 | |
(exit $ac_status); }
|
3118 | |
{ (ac_try="$ac_compiler -V >&5"
|
3119 | |
case "(($ac_try" in
|
3120 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3121 | |
*) ac_try_echo=$ac_try;;
|
3122 | |
esac
|
3123 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3124 | |
$as_echo "$ac_try_echo") >&5
|
3125 | |
(eval "$ac_compiler -V >&5") 2>&5
|
3126 | |
ac_status=$?
|
3127 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3128 | |
(exit $ac_status); }
|
3129 | |
|
3130 | |
cat >conftest.$ac_ext <<_ACEOF
|
3131 | |
/* confdefs.h. */
|
3132 | |
_ACEOF
|
3133 | |
cat confdefs.h >>conftest.$ac_ext
|
3134 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3528 |
if test -s conftest.err; then
|
|
3529 |
sed '10a\
|
|
3530 |
... rest of stderr output deleted ...
|
|
3531 |
10q' conftest.err >conftest.er1
|
|
3532 |
cat conftest.er1 >&5
|
|
3533 |
fi
|
|
3534 |
rm -f conftest.er1 conftest.err
|
|
3535 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3536 |
test $ac_status = 0; }
|
|
3537 |
done
|
|
3538 |
|
|
3539 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3135 | 3540 |
/* end confdefs.h. */
|
3136 | 3541 |
|
3137 | 3542 |
int
|
|
3147 | 3552 |
# Try to create an executable without -o first, disregard a.out.
|
3148 | 3553 |
# It will help us diagnose broken compilers, and finding out an intuition
|
3149 | 3554 |
# of exeext.
|
3150 | |
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
3151 | |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3556 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3152 | 3557 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3153 | 3558 |
|
3154 | 3559 |
# The possible output files:
|
|
3164 | 3569 |
done
|
3165 | 3570 |
rm -f $ac_rmfiles
|
3166 | 3571 |
|
3167 | |
if { (ac_try="$ac_link_default"
|
|
3572 |
if { { ac_try="$ac_link_default"
|
3168 | 3573 |
case "(($ac_try" in
|
3169 | 3574 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3170 | 3575 |
*) ac_try_echo=$ac_try;;
|
3171 | 3576 |
esac
|
3172 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3173 | |
$as_echo "$ac_try_echo") >&5
|
|
3577 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3578 |
$as_echo "$ac_try_echo"; } >&5
|
3174 | 3579 |
(eval "$ac_link_default") 2>&5
|
3175 | 3580 |
ac_status=$?
|
3176 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3177 | |
(exit $ac_status); }; then
|
|
3581 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3582 |
test $ac_status = 0; }; then :
|
3178 | 3583 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3179 | 3584 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3180 | 3585 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
3191 | 3596 |
# certainly right.
|
3192 | 3597 |
break;;
|
3193 | 3598 |
*.* )
|
3194 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3599 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
3195 | 3600 |
then :; else
|
3196 | 3601 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3197 | 3602 |
fi
|
|
3210 | 3615 |
else
|
3211 | 3616 |
ac_file=''
|
3212 | 3617 |
fi
|
3213 | |
|
3214 | |
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
|
|
3618 |
if test -z "$ac_file"; then :
|
|
3619 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3620 |
$as_echo "no" >&6; }
|
|
3621 |
$as_echo "$as_me: failed program was:" >&5
|
|
3622 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
3623 |
|
|
3624 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3625 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3626 |
{ as_fn_set_status 77
|
|
3627 |
as_fn_error "C compiler cannot create executables
|
|
3628 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
3629 |
else
|
|
3630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3631 |
$as_echo "yes" >&6; }
|
|
3632 |
fi
|
|
3633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3634 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3635 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3215 | 3636 |
$as_echo "$ac_file" >&6; }
|
3216 | |
if test -z "$ac_file"; then
|
3217 | |
$as_echo "$as_me: failed program was:" >&5
|
3218 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3219 | |
|
3220 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
3221 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3222 | |
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
|
3223 | |
See \`config.log' for more details." >&5
|
3224 | |
$as_echo "$as_me: error: C compiler cannot create executables
|
3225 | |
See \`config.log' for more details." >&2;}
|
3226 | |
{ (exit 77); exit 77; }; }; }
|
3227 | |
fi
|
3228 | |
|
3229 | 3637 |
ac_exeext=$ac_cv_exeext
|
3230 | |
|
3231 | |
# Check that the compiler produces executables we can run. If not, either
|
3232 | |
# the compiler is broken, or we cross compile.
|
3233 | |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
3234 | |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3235 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
3236 | |
# If not cross compiling, check that we can run a simple program.
|
3237 | |
if test "$cross_compiling" != yes; then
|
3238 | |
if { ac_try='./$ac_file'
|
3239 | |
{ (case "(($ac_try" in
|
3240 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3241 | |
*) ac_try_echo=$ac_try;;
|
3242 | |
esac
|
3243 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3244 | |
$as_echo "$ac_try_echo") >&5
|
3245 | |
(eval "$ac_try") 2>&5
|
3246 | |
ac_status=$?
|
3247 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3248 | |
(exit $ac_status); }; }; then
|
3249 | |
cross_compiling=no
|
3250 | |
else
|
3251 | |
if test "$cross_compiling" = maybe; then
|
3252 | |
cross_compiling=yes
|
3253 | |
else
|
3254 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
3255 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3256 | |
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
3257 | |
If you meant to cross compile, use \`--host'.
|
3258 | |
See \`config.log' for more details." >&5
|
3259 | |
$as_echo "$as_me: error: cannot run C compiled programs.
|
3260 | |
If you meant to cross compile, use \`--host'.
|
3261 | |
See \`config.log' for more details." >&2;}
|
3262 | |
{ (exit 1); exit 1; }; }; }
|
3263 | |
fi
|
3264 | |
fi
|
3265 | |
fi
|
3266 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
3267 | |
$as_echo "yes" >&6; }
|
3268 | 3638 |
|
3269 | 3639 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3270 | 3640 |
ac_clean_files=$ac_clean_files_save
|
3271 | |
# Check that the compiler produces executables we can run. If not, either
|
3272 | |
# the compiler is broken, or we cross compile.
|
3273 | |
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
3274 | |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
3275 | |
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
3276 | |
$as_echo "$cross_compiling" >&6; }
|
3277 | |
|
3278 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
|
3641 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3279 | 3642 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
3280 | |
if { (ac_try="$ac_link"
|
|
3643 |
if { { ac_try="$ac_link"
|
3281 | 3644 |
case "(($ac_try" in
|
3282 | 3645 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3283 | 3646 |
*) ac_try_echo=$ac_try;;
|
3284 | 3647 |
esac
|
3285 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3286 | |
$as_echo "$ac_try_echo") >&5
|
|
3648 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3649 |
$as_echo "$ac_try_echo"; } >&5
|
3287 | 3650 |
(eval "$ac_link") 2>&5
|
3288 | 3651 |
ac_status=$?
|
3289 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3290 | |
(exit $ac_status); }; then
|
|
3652 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3653 |
test $ac_status = 0; }; then :
|
3291 | 3654 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3292 | 3655 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3293 | 3656 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3302 | 3665 |
esac
|
3303 | 3666 |
done
|
3304 | 3667 |
else
|
3305 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3668 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3306 | 3669 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3307 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
3308 | |
See \`config.log' for more details." >&5
|
3309 | |
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
3310 | |
See \`config.log' for more details." >&2;}
|
3311 | |
{ (exit 1); exit 1; }; }; }
|
3312 | |
fi
|
3313 | |
|
3314 | |
rm -f conftest$ac_cv_exeext
|
3315 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
|
3670 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
3671 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3672 |
fi
|
|
3673 |
rm -f conftest conftest$ac_cv_exeext
|
|
3674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
3316 | 3675 |
$as_echo "$ac_cv_exeext" >&6; }
|
3317 | 3676 |
|
3318 | 3677 |
rm -f conftest.$ac_ext
|
3319 | 3678 |
EXEEXT=$ac_cv_exeext
|
3320 | 3679 |
ac_exeext=$EXEEXT
|
3321 | |
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
|
3680 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3681 |
/* end confdefs.h. */
|
|
3682 |
#include <stdio.h>
|
|
3683 |
int
|
|
3684 |
main ()
|
|
3685 |
{
|
|
3686 |
FILE *f = fopen ("conftest.out", "w");
|
|
3687 |
return ferror (f) || fclose (f) != 0;
|
|
3688 |
|
|
3689 |
;
|
|
3690 |
return 0;
|
|
3691 |
}
|
|
3692 |
_ACEOF
|
|
3693 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3694 |
# Check that the compiler produces executables we can run. If not, either
|
|
3695 |
# the compiler is broken, or we cross compile.
|
|
3696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3697 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3698 |
if test "$cross_compiling" != yes; then
|
|
3699 |
{ { ac_try="$ac_link"
|
|
3700 |
case "(($ac_try" in
|
|
3701 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3702 |
*) ac_try_echo=$ac_try;;
|
|
3703 |
esac
|
|
3704 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3705 |
$as_echo "$ac_try_echo"; } >&5
|
|
3706 |
(eval "$ac_link") 2>&5
|
|
3707 |
ac_status=$?
|
|
3708 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3709 |
test $ac_status = 0; }
|
|
3710 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3711 |
{ { case "(($ac_try" in
|
|
3712 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3713 |
*) ac_try_echo=$ac_try;;
|
|
3714 |
esac
|
|
3715 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3716 |
$as_echo "$ac_try_echo"; } >&5
|
|
3717 |
(eval "$ac_try") 2>&5
|
|
3718 |
ac_status=$?
|
|
3719 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3720 |
test $ac_status = 0; }; }; then
|
|
3721 |
cross_compiling=no
|
|
3722 |
else
|
|
3723 |
if test "$cross_compiling" = maybe; then
|
|
3724 |
cross_compiling=yes
|
|
3725 |
else
|
|
3726 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3727 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3728 |
as_fn_error "cannot run C compiled programs.
|
|
3729 |
If you meant to cross compile, use \`--host'.
|
|
3730 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3731 |
fi
|
|
3732 |
fi
|
|
3733 |
fi
|
|
3734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3735 |
$as_echo "$cross_compiling" >&6; }
|
|
3736 |
|
|
3737 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3738 |
ac_clean_files=$ac_clean_files_save
|
|
3739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
3322 | 3740 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
3323 | |
if test "${ac_cv_objext+set}" = set; then
|
|
3741 |
if test "${ac_cv_objext+set}" = set; then :
|
3324 | 3742 |
$as_echo_n "(cached) " >&6
|
3325 | 3743 |
else
|
3326 | |
cat >conftest.$ac_ext <<_ACEOF
|
3327 | |
/* confdefs.h. */
|
3328 | |
_ACEOF
|
3329 | |
cat confdefs.h >>conftest.$ac_ext
|
3330 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3744 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3331 | 3745 |
/* end confdefs.h. */
|
3332 | 3746 |
|
3333 | 3747 |
int
|
|
3339 | 3753 |
}
|
3340 | 3754 |
_ACEOF
|
3341 | 3755 |
rm -f conftest.o conftest.obj
|
3342 | |
if { (ac_try="$ac_compile"
|
|
3756 |
if { { ac_try="$ac_compile"
|
3343 | 3757 |
case "(($ac_try" in
|
3344 | 3758 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3345 | 3759 |
*) ac_try_echo=$ac_try;;
|
3346 | 3760 |
esac
|
3347 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3348 | |
$as_echo "$ac_try_echo") >&5
|
|
3761 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3762 |
$as_echo "$ac_try_echo"; } >&5
|
3349 | 3763 |
(eval "$ac_compile") 2>&5
|
3350 | 3764 |
ac_status=$?
|
3351 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3352 | |
(exit $ac_status); }; then
|
|
3765 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3766 |
test $ac_status = 0; }; then :
|
3353 | 3767 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3354 | 3768 |
test -f "$ac_file" || continue;
|
3355 | 3769 |
case $ac_file in
|
|
3362 | 3776 |
$as_echo "$as_me: failed program was:" >&5
|
3363 | 3777 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3364 | 3778 |
|
3365 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
3779 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3366 | 3780 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3367 | |
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
3368 | |
See \`config.log' for more details." >&5
|
3369 | |
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
3370 | |
See \`config.log' for more details." >&2;}
|
3371 | |
{ (exit 1); exit 1; }; }; }
|
3372 | |
fi
|
3373 | |
|
|
3781 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
3782 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
3783 |
fi
|
3374 | 3784 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3375 | 3785 |
fi
|
3376 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
|
3786 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
3377 | 3787 |
$as_echo "$ac_cv_objext" >&6; }
|
3378 | 3788 |
OBJEXT=$ac_cv_objext
|
3379 | 3789 |
ac_objext=$OBJEXT
|
3380 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
|
3790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
3381 | 3791 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
3382 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
|
3792 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
3383 | 3793 |
$as_echo_n "(cached) " >&6
|
3384 | 3794 |
else
|
3385 | |
cat >conftest.$ac_ext <<_ACEOF
|
3386 | |
/* confdefs.h. */
|
3387 | |
_ACEOF
|
3388 | |
cat confdefs.h >>conftest.$ac_ext
|
3389 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3795 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3390 | 3796 |
/* end confdefs.h. */
|
3391 | 3797 |
|
3392 | 3798 |
int
|
|
3400 | 3806 |
return 0;
|
3401 | 3807 |
}
|
3402 | 3808 |
_ACEOF
|
3403 | |
rm -f conftest.$ac_objext
|
3404 | |
if { (ac_try="$ac_compile"
|
3405 | |
case "(($ac_try" in
|
3406 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3407 | |
*) ac_try_echo=$ac_try;;
|
3408 | |
esac
|
3409 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3410 | |
$as_echo "$ac_try_echo") >&5
|
3411 | |
(eval "$ac_compile") 2>conftest.er1
|
3412 | |
ac_status=$?
|
3413 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3414 | |
rm -f conftest.er1
|
3415 | |
cat conftest.err >&5
|
3416 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3417 | |
(exit $ac_status); } && {
|
3418 | |
test -z "$ac_c_werror_flag" ||
|
3419 | |
test ! -s conftest.err
|
3420 | |
} && test -s conftest.$ac_objext; then
|
|
3809 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3421 | 3810 |
ac_compiler_gnu=yes
|
3422 | 3811 |
else
|
3423 | |
$as_echo "$as_me: failed program was:" >&5
|
3424 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3425 | |
|
3426 | |
ac_compiler_gnu=no
|
3427 | |
fi
|
3428 | |
|
|
3812 |
ac_compiler_gnu=no
|
|
3813 |
fi
|
3429 | 3814 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3430 | 3815 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3431 | 3816 |
|
3432 | 3817 |
fi
|
3433 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
|
3818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
3434 | 3819 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
3435 | 3820 |
if test $ac_compiler_gnu = yes; then
|
3436 | 3821 |
GCC=yes
|
|
3439 | 3824 |
fi
|
3440 | 3825 |
ac_test_CFLAGS=${CFLAGS+set}
|
3441 | 3826 |
ac_save_CFLAGS=$CFLAGS
|
3442 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
|
3827 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
3443 | 3828 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
3444 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
|
3829 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
3445 | 3830 |
$as_echo_n "(cached) " >&6
|
3446 | 3831 |
else
|
3447 | 3832 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3448 | 3833 |
ac_c_werror_flag=yes
|
3449 | 3834 |
ac_cv_prog_cc_g=no
|
3450 | 3835 |
CFLAGS="-g"
|
3451 | |
cat >conftest.$ac_ext <<_ACEOF
|
3452 | |
/* confdefs.h. */
|
3453 | |
_ACEOF
|
3454 | |
cat confdefs.h >>conftest.$ac_ext
|
3455 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3836 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3456 | 3837 |
/* end confdefs.h. */
|
3457 | 3838 |
|
3458 | 3839 |
int
|
|
3463 | 3844 |
return 0;
|
3464 | 3845 |
}
|
3465 | 3846 |
_ACEOF
|
3466 | |
rm -f conftest.$ac_objext
|
3467 | |
if { (ac_try="$ac_compile"
|
3468 | |
case "(($ac_try" in
|
3469 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3470 | |
*) ac_try_echo=$ac_try;;
|
3471 | |
esac
|
3472 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3473 | |
$as_echo "$ac_try_echo") >&5
|
3474 | |
(eval "$ac_compile") 2>conftest.er1
|
3475 | |
ac_status=$?
|
3476 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3477 | |
rm -f conftest.er1
|
3478 | |
cat conftest.err >&5
|
3479 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3480 | |
(exit $ac_status); } && {
|
3481 | |
test -z "$ac_c_werror_flag" ||
|
3482 | |
test ! -s conftest.err
|
3483 | |
} && test -s conftest.$ac_objext; then
|
|
3847 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3484 | 3848 |
ac_cv_prog_cc_g=yes
|
3485 | 3849 |
else
|
3486 | |
$as_echo "$as_me: failed program was:" >&5
|
3487 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3488 | |
|
3489 | |
CFLAGS=""
|
3490 | |
cat >conftest.$ac_ext <<_ACEOF
|
3491 | |
/* confdefs.h. */
|
3492 | |
_ACEOF
|
3493 | |
cat confdefs.h >>conftest.$ac_ext
|
3494 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3850 |
CFLAGS=""
|
|
3851 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3495 | 3852 |
/* end confdefs.h. */
|
3496 | 3853 |
|
3497 | 3854 |
int
|
|
3502 | 3859 |
return 0;
|
3503 | 3860 |
}
|
3504 | 3861 |
_ACEOF
|
3505 | |
rm -f conftest.$ac_objext
|
3506 | |
if { (ac_try="$ac_compile"
|
3507 | |
case "(($ac_try" in
|
3508 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3509 | |
*) ac_try_echo=$ac_try;;
|
3510 | |
esac
|
3511 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3512 | |
$as_echo "$ac_try_echo") >&5
|
3513 | |
(eval "$ac_compile") 2>conftest.er1
|
3514 | |
ac_status=$?
|
3515 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3516 | |
rm -f conftest.er1
|
3517 | |
cat conftest.err >&5
|
3518 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3519 | |
(exit $ac_status); } && {
|
3520 | |
test -z "$ac_c_werror_flag" ||
|
3521 | |
test ! -s conftest.err
|
3522 | |
} && test -s conftest.$ac_objext; then
|
3523 | |
:
|
3524 | |
else
|
3525 | |
$as_echo "$as_me: failed program was:" >&5
|
3526 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3527 | |
|
3528 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3862 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3863 |
|
|
3864 |
else
|
|
3865 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3529 | 3866 |
CFLAGS="-g"
|
3530 | |
cat >conftest.$ac_ext <<_ACEOF
|
3531 | |
/* confdefs.h. */
|
3532 | |
_ACEOF
|
3533 | |
cat confdefs.h >>conftest.$ac_ext
|
3534 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3867 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3535 | 3868 |
/* end confdefs.h. */
|
3536 | 3869 |
|
3537 | 3870 |
int
|
|
3542 | 3875 |
return 0;
|
3543 | 3876 |
}
|
3544 | 3877 |
_ACEOF
|
3545 | |
rm -f conftest.$ac_objext
|
3546 | |
if { (ac_try="$ac_compile"
|
3547 | |
case "(($ac_try" in
|
3548 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3549 | |
*) ac_try_echo=$ac_try;;
|
3550 | |
esac
|
3551 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3552 | |
$as_echo "$ac_try_echo") >&5
|
3553 | |
(eval "$ac_compile") 2>conftest.er1
|
3554 | |
ac_status=$?
|
3555 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3556 | |
rm -f conftest.er1
|
3557 | |
cat conftest.err >&5
|
3558 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3559 | |
(exit $ac_status); } && {
|
3560 | |
test -z "$ac_c_werror_flag" ||
|
3561 | |
test ! -s conftest.err
|
3562 | |
} && test -s conftest.$ac_objext; then
|
|
3878 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3563 | 3879 |
ac_cv_prog_cc_g=yes
|
3564 | |
else
|
3565 | |
$as_echo "$as_me: failed program was:" >&5
|
3566 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3567 | |
|
3568 | |
|
3569 | |
fi
|
3570 | |
|
|
3880 |
fi
|
3571 | 3881 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3572 | 3882 |
fi
|
3573 | |
|
3574 | 3883 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3575 | 3884 |
fi
|
3576 | |
|
3577 | 3885 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3578 | 3886 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3579 | 3887 |
fi
|
3580 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
|
3888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
3581 | 3889 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3582 | 3890 |
if test "$ac_test_CFLAGS" = set; then
|
3583 | 3891 |
CFLAGS=$ac_save_CFLAGS
|
|
3594 | 3902 |
CFLAGS=
|
3595 | 3903 |
fi
|
3596 | 3904 |
fi
|
3597 | |
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
|
3905 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
3598 | 3906 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
3599 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
|
3907 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
3600 | 3908 |
$as_echo_n "(cached) " >&6
|
3601 | 3909 |
else
|
3602 | 3910 |
ac_cv_prog_cc_c89=no
|
3603 | 3911 |
ac_save_CC=$CC
|
3604 | |
cat >conftest.$ac_ext <<_ACEOF
|
3605 | |
/* confdefs.h. */
|
3606 | |
_ACEOF
|
3607 | |
cat confdefs.h >>conftest.$ac_ext
|
3608 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3912 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3609 | 3913 |
/* end confdefs.h. */
|
3610 | 3914 |
#include <stdarg.h>
|
3611 | 3915 |
#include <stdio.h>
|
|
3662 | 3966 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3663 | 3967 |
do
|
3664 | 3968 |
CC="$ac_save_CC $ac_arg"
|
3665 | |
rm -f conftest.$ac_objext
|
3666 | |
if { (ac_try="$ac_compile"
|
3667 | |
case "(($ac_try" in
|
3668 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3669 | |
*) ac_try_echo=$ac_try;;
|
3670 | |
esac
|
3671 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3672 | |
$as_echo "$ac_try_echo") >&5
|
3673 | |
(eval "$ac_compile") 2>conftest.er1
|
3674 | |
ac_status=$?
|
3675 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3676 | |
rm -f conftest.er1
|
3677 | |
cat conftest.err >&5
|
3678 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3679 | |
(exit $ac_status); } && {
|
3680 | |
test -z "$ac_c_werror_flag" ||
|
3681 | |
test ! -s conftest.err
|
3682 | |
} && test -s conftest.$ac_objext; then
|
|
3969 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3683 | 3970 |
ac_cv_prog_cc_c89=$ac_arg
|
3684 | |
else
|
3685 | |
$as_echo "$as_me: failed program was:" >&5
|
3686 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3687 | |
|
3688 | |
|
3689 | |
fi
|
3690 | |
|
|
3971 |
fi
|
3691 | 3972 |
rm -f core conftest.err conftest.$ac_objext
|
3692 | 3973 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3693 | 3974 |
done
|
|
3698 | 3979 |
# AC_CACHE_VAL
|
3699 | 3980 |
case "x$ac_cv_prog_cc_c89" in
|
3700 | 3981 |
x)
|
3701 | |
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
|
|
3982 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
3702 | 3983 |
$as_echo "none needed" >&6; } ;;
|
3703 | 3984 |
xno)
|
3704 | |
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
|
|
3985 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
3705 | 3986 |
$as_echo "unsupported" >&6; } ;;
|
3706 | 3987 |
*)
|
3707 | 3988 |
CC="$CC $ac_cv_prog_cc_c89"
|
3708 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
|
3989 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
3709 | 3990 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3710 | 3991 |
esac
|
3711 | |
|
|
3992 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3993 |
|
|
3994 |
fi
|
3712 | 3995 |
|
3713 | 3996 |
ac_ext=c
|
3714 | 3997 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3727 | 4010 |
.PHONY: am__doit
|
3728 | 4011 |
END
|
3729 | 4012 |
# If we don't find an include directive, just comment out the code.
|
3730 | |
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
|
4013 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
3731 | 4014 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3732 | 4015 |
am__include="#"
|
3733 | 4016 |
am__quote=
|
|
3755 | 4038 |
fi
|
3756 | 4039 |
|
3757 | 4040 |
|
3758 | |
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
|
|
4041 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
3759 | 4042 |
$as_echo "$_am_result" >&6; }
|
3760 | 4043 |
rm -f confinc confmf
|
3761 | 4044 |
|
3762 | 4045 |
# Check whether --enable-dependency-tracking was given.
|
3763 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
4046 |
if test "${enable_dependency_tracking+set}" = set; then :
|
3764 | 4047 |
enableval=$enable_dependency_tracking;
|
3765 | 4048 |
fi
|
3766 | 4049 |
|
|
3780 | 4063 |
|
3781 | 4064 |
depcc="$CC" am_compiler_list=
|
3782 | 4065 |
|
3783 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
4066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
3784 | 4067 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
3785 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
|
4068 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
3786 | 4069 |
$as_echo_n "(cached) " >&6
|
3787 | 4070 |
else
|
3788 | 4071 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
3890 | 4173 |
fi
|
3891 | 4174 |
|
3892 | 4175 |
fi
|
3893 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
4176 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3894 | 4177 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3895 | 4178 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3896 | 4179 |
|
|
3906 | 4189 |
|
3907 | 4190 |
|
3908 | 4191 |
if test "x$CC" != xcc; then
|
3909 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
|
|
4192 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
|
3910 | 4193 |
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
|
3911 | 4194 |
else
|
3912 | |
{ $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
|
|
4195 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
|
3913 | 4196 |
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
|
3914 | 4197 |
fi
|
3915 | 4198 |
set dummy $CC; ac_cc=`$as_echo "$2" |
|
3916 | 4199 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
|
3917 | |
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
4200 |
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
|
3918 | 4201 |
$as_echo_n "(cached) " >&6
|
3919 | 4202 |
else
|
3920 | |
cat >conftest.$ac_ext <<_ACEOF
|
3921 | |
/* confdefs.h. */
|
3922 | |
_ACEOF
|
3923 | |
cat confdefs.h >>conftest.$ac_ext
|
3924 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4203 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3925 | 4204 |
/* end confdefs.h. */
|
3926 | 4205 |
|
3927 | 4206 |
int
|
|
3937 | 4216 |
# existing .o file with -o, though they will create one.
|
3938 | 4217 |
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
3939 | 4218 |
rm -f conftest2.*
|
3940 | |
if { (case "(($ac_try" in
|
|
4219 |
if { { case "(($ac_try" in
|
3941 | 4220 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3942 | 4221 |
*) ac_try_echo=$ac_try;;
|
3943 | 4222 |
esac
|
3944 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3945 | |
$as_echo "$ac_try_echo") >&5
|
|
4223 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4224 |
$as_echo "$ac_try_echo"; } >&5
|
3946 | 4225 |
(eval "$ac_try") 2>&5
|
3947 | 4226 |
ac_status=$?
|
3948 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3949 | |
(exit $ac_status); } &&
|
3950 | |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
4227 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4228 |
test $ac_status = 0; } &&
|
|
4229 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in
|
3951 | 4230 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3952 | 4231 |
*) ac_try_echo=$ac_try;;
|
3953 | 4232 |
esac
|
3954 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3955 | |
$as_echo "$ac_try_echo") >&5
|
|
4233 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4234 |
$as_echo "$ac_try_echo"; } >&5
|
3956 | 4235 |
(eval "$ac_try") 2>&5
|
3957 | 4236 |
ac_status=$?
|
3958 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3959 | |
(exit $ac_status); };
|
|
4237 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4238 |
test $ac_status = 0; };
|
3960 | 4239 |
then
|
3961 | 4240 |
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
|
3962 | 4241 |
if test "x$CC" != xcc; then
|
3963 | 4242 |
# Test first that cc exists at all.
|
3964 | 4243 |
if { ac_try='cc -c conftest.$ac_ext >&5'
|
3965 | |
{ (case "(($ac_try" in
|
|
4244 |
{ { case "(($ac_try" in
|
3966 | 4245 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3967 | 4246 |
*) ac_try_echo=$ac_try;;
|
3968 | 4247 |
esac
|
3969 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3970 | |
$as_echo "$ac_try_echo") >&5
|
|
4248 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4249 |
$as_echo "$ac_try_echo"; } >&5
|
3971 | 4250 |
(eval "$ac_try") 2>&5
|
3972 | 4251 |
ac_status=$?
|
3973 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3974 | |
(exit $ac_status); }; }; then
|
|
4252 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4253 |
test $ac_status = 0; }; }; then
|
3975 | 4254 |
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
|
3976 | 4255 |
rm -f conftest2.*
|
3977 | |
if { (case "(($ac_try" in
|
|
4256 |
if { { case "(($ac_try" in
|
3978 | 4257 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3979 | 4258 |
*) ac_try_echo=$ac_try;;
|
3980 | 4259 |
esac
|
3981 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3982 | |
$as_echo "$ac_try_echo") >&5
|
|
4260 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4261 |
$as_echo "$ac_try_echo"; } >&5
|
3983 | 4262 |
(eval "$ac_try") 2>&5
|
3984 | 4263 |
ac_status=$?
|
3985 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3986 | |
(exit $ac_status); } &&
|
3987 | |
test -f conftest2.$ac_objext && { (case "(($ac_try" in
|
|
4264 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4265 |
test $ac_status = 0; } &&
|
|
4266 |
test -f conftest2.$ac_objext && { { case "(($ac_try" in
|
3988 | 4267 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3989 | 4268 |
*) ac_try_echo=$ac_try;;
|
3990 | 4269 |
esac
|
3991 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
3992 | |
$as_echo "$ac_try_echo") >&5
|
|
4270 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4271 |
$as_echo "$ac_try_echo"; } >&5
|
3993 | 4272 |
(eval "$ac_try") 2>&5
|
3994 | 4273 |
ac_status=$?
|
3995 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3996 | |
(exit $ac_status); };
|
|
4274 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4275 |
test $ac_status = 0; };
|
3997 | 4276 |
then
|
3998 | 4277 |
# cc works too.
|
3999 | 4278 |
:
|
|
4010 | 4289 |
|
4011 | 4290 |
fi
|
4012 | 4291 |
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
|
4013 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
4292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
4014 | 4293 |
$as_echo "yes" >&6; }
|
4015 | 4294 |
else
|
4016 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4295 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4017 | 4296 |
$as_echo "no" >&6; }
|
4018 | 4297 |
|
4019 | |
cat >>confdefs.h <<\_ACEOF
|
4020 | |
#define NO_MINUS_C_MINUS_O 1
|
4021 | |
_ACEOF
|
|
4298 |
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
|
4022 | 4299 |
|
4023 | 4300 |
fi
|
4024 | 4301 |
|
|
4043 | 4320 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4044 | 4321 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4045 | 4322 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4046 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
|
4323 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
4047 | 4324 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
4048 | 4325 |
# On Suns, sometimes $CPP names a directory.
|
4049 | 4326 |
if test -n "$CPP" && test -d "$CPP"; then
|
4050 | 4327 |
CPP=
|
4051 | 4328 |
fi
|
4052 | 4329 |
if test -z "$CPP"; then
|
4053 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
|
4330 |
if test "${ac_cv_prog_CPP+set}" = set; then :
|
4054 | 4331 |
$as_echo_n "(cached) " >&6
|
4055 | 4332 |
else
|
4056 | 4333 |
# Double quotes because CPP needs to be expanded
|
|
4065 | 4342 |
# <limits.h> exists even on freestanding compilers.
|
4066 | 4343 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4067 | 4344 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4068 | |
cat >conftest.$ac_ext <<_ACEOF
|
4069 | |
/* confdefs.h. */
|
4070 | |
_ACEOF
|
4071 | |
cat confdefs.h >>conftest.$ac_ext
|
4072 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4345 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4073 | 4346 |
/* end confdefs.h. */
|
4074 | 4347 |
#ifdef __STDC__
|
4075 | 4348 |
# include <limits.h>
|
|
4078 | 4351 |
#endif
|
4079 | 4352 |
Syntax error
|
4080 | 4353 |
_ACEOF
|
4081 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4082 | |
case "(($ac_try" in
|
4083 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4084 | |
*) ac_try_echo=$ac_try;;
|
4085 | |
esac
|
4086 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4087 | |
$as_echo "$ac_try_echo") >&5
|
4088 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4089 | |
ac_status=$?
|
4090 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4091 | |
rm -f conftest.er1
|
4092 | |
cat conftest.err >&5
|
4093 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4094 | |
(exit $ac_status); } >/dev/null && {
|
4095 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4096 | |
test ! -s conftest.err
|
4097 | |
}; then
|
4098 | |
:
|
4099 | |
else
|
4100 | |
$as_echo "$as_me: failed program was:" >&5
|
4101 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4102 | |
|
|
4354 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4355 |
|
|
4356 |
else
|
4103 | 4357 |
# Broken: fails on valid input.
|
4104 | 4358 |
continue
|
4105 | 4359 |
fi
|
4106 | |
|
4107 | 4360 |
rm -f conftest.err conftest.$ac_ext
|
4108 | 4361 |
|
4109 | 4362 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4110 | 4363 |
# can be detected and how.
|
4111 | |
cat >conftest.$ac_ext <<_ACEOF
|
4112 | |
/* confdefs.h. */
|
4113 | |
_ACEOF
|
4114 | |
cat confdefs.h >>conftest.$ac_ext
|
4115 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4364 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4116 | 4365 |
/* end confdefs.h. */
|
4117 | 4366 |
#include <ac_nonexistent.h>
|
4118 | 4367 |
_ACEOF
|
4119 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4120 | |
case "(($ac_try" in
|
4121 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4122 | |
*) ac_try_echo=$ac_try;;
|
4123 | |
esac
|
4124 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4125 | |
$as_echo "$ac_try_echo") >&5
|
4126 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4127 | |
ac_status=$?
|
4128 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4129 | |
rm -f conftest.er1
|
4130 | |
cat conftest.err >&5
|
4131 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4132 | |
(exit $ac_status); } >/dev/null && {
|
4133 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4134 | |
test ! -s conftest.err
|
4135 | |
}; then
|
|
4368 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4136 | 4369 |
# Broken: success on invalid input.
|
4137 | 4370 |
continue
|
4138 | 4371 |
else
|
4139 | |
$as_echo "$as_me: failed program was:" >&5
|
4140 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4141 | |
|
4142 | 4372 |
# Passes both tests.
|
4143 | 4373 |
ac_preproc_ok=:
|
4144 | 4374 |
break
|
4145 | 4375 |
fi
|
4146 | |
|
4147 | 4376 |
rm -f conftest.err conftest.$ac_ext
|
4148 | 4377 |
|
4149 | 4378 |
done
|
4150 | 4379 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4151 | 4380 |
rm -f conftest.err conftest.$ac_ext
|
4152 | |
if $ac_preproc_ok; then
|
|
4381 |
if $ac_preproc_ok; then :
|
4153 | 4382 |
break
|
4154 | 4383 |
fi
|
4155 | 4384 |
|
|
4161 | 4390 |
else
|
4162 | 4391 |
ac_cv_prog_CPP=$CPP
|
4163 | 4392 |
fi
|
4164 | |
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
|
|
4393 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
4165 | 4394 |
$as_echo "$CPP" >&6; }
|
4166 | 4395 |
ac_preproc_ok=false
|
4167 | 4396 |
for ac_c_preproc_warn_flag in '' yes
|
|
4172 | 4401 |
# <limits.h> exists even on freestanding compilers.
|
4173 | 4402 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4174 | 4403 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4175 | |
cat >conftest.$ac_ext <<_ACEOF
|
4176 | |
/* confdefs.h. */
|
4177 | |
_ACEOF
|
4178 | |
cat confdefs.h >>conftest.$ac_ext
|
4179 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4404 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4180 | 4405 |
/* end confdefs.h. */
|
4181 | 4406 |
#ifdef __STDC__
|
4182 | 4407 |
# include <limits.h>
|
|
4185 | 4410 |
#endif
|
4186 | 4411 |
Syntax error
|
4187 | 4412 |
_ACEOF
|
4188 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4189 | |
case "(($ac_try" in
|
4190 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4191 | |
*) ac_try_echo=$ac_try;;
|
4192 | |
esac
|
4193 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4194 | |
$as_echo "$ac_try_echo") >&5
|
4195 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4196 | |
ac_status=$?
|
4197 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4198 | |
rm -f conftest.er1
|
4199 | |
cat conftest.err >&5
|
4200 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4201 | |
(exit $ac_status); } >/dev/null && {
|
4202 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4203 | |
test ! -s conftest.err
|
4204 | |
}; then
|
4205 | |
:
|
4206 | |
else
|
4207 | |
$as_echo "$as_me: failed program was:" >&5
|
4208 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4209 | |
|
|
4413 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4414 |
|
|
4415 |
else
|
4210 | 4416 |
# Broken: fails on valid input.
|
4211 | 4417 |
continue
|
4212 | 4418 |
fi
|
4213 | |
|
4214 | 4419 |
rm -f conftest.err conftest.$ac_ext
|
4215 | 4420 |
|
4216 | 4421 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4217 | 4422 |
# can be detected and how.
|
4218 | |
cat >conftest.$ac_ext <<_ACEOF
|
4219 | |
/* confdefs.h. */
|
4220 | |
_ACEOF
|
4221 | |
cat confdefs.h >>conftest.$ac_ext
|
4222 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4423 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4223 | 4424 |
/* end confdefs.h. */
|
4224 | 4425 |
#include <ac_nonexistent.h>
|
4225 | 4426 |
_ACEOF
|
4226 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4227 | |
case "(($ac_try" in
|
4228 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4229 | |
*) ac_try_echo=$ac_try;;
|
4230 | |
esac
|
4231 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4232 | |
$as_echo "$ac_try_echo") >&5
|
4233 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4234 | |
ac_status=$?
|
4235 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4236 | |
rm -f conftest.er1
|
4237 | |
cat conftest.err >&5
|
4238 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4239 | |
(exit $ac_status); } >/dev/null && {
|
4240 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4241 | |
test ! -s conftest.err
|
4242 | |
}; then
|
|
4427 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4243 | 4428 |
# Broken: success on invalid input.
|
4244 | 4429 |
continue
|
4245 | 4430 |
else
|
4246 | |
$as_echo "$as_me: failed program was:" >&5
|
4247 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4248 | |
|
4249 | 4431 |
# Passes both tests.
|
4250 | 4432 |
ac_preproc_ok=:
|
4251 | 4433 |
break
|
4252 | 4434 |
fi
|
4253 | |
|
4254 | 4435 |
rm -f conftest.err conftest.$ac_ext
|
4255 | 4436 |
|
4256 | 4437 |
done
|
4257 | 4438 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4258 | 4439 |
rm -f conftest.err conftest.$ac_ext
|
4259 | |
if $ac_preproc_ok; then
|
4260 | |
:
|
4261 | |
else
|
4262 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
4440 |
if $ac_preproc_ok; then :
|
|
4441 |
|
|
4442 |
else
|
|
4443 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4263 | 4444 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4264 | |
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4265 | |
See \`config.log' for more details." >&5
|
4266 | |
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4267 | |
See \`config.log' for more details." >&2;}
|
4268 | |
{ (exit 1); exit 1; }; }; }
|
|
4445 |
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
|
4446 |
See \`config.log' for more details." "$LINENO" 5; }
|
4269 | 4447 |
fi
|
4270 | 4448 |
|
4271 | 4449 |
ac_ext=c
|
|
4275 | 4453 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4276 | 4454 |
|
4277 | 4455 |
|
4278 | |
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
|
4456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
4279 | 4457 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
4280 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
|
4458 |
if test "${ac_cv_path_GREP+set}" = set; then :
|
4281 | 4459 |
$as_echo_n "(cached) " >&6
|
4282 | 4460 |
else
|
4283 | 4461 |
if test -z "$GREP"; then
|
|
4288 | 4466 |
do
|
4289 | 4467 |
IFS=$as_save_IFS
|
4290 | 4468 |
test -z "$as_dir" && as_dir=.
|
4291 | |
for ac_prog in grep ggrep; do
|
|
4469 |
for ac_prog in grep ggrep; do
|
4292 | 4470 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4293 | 4471 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
4294 | 4472 |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
|
4308 | 4486 |
$as_echo 'GREP' >> "conftest.nl"
|
4309 | 4487 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4310 | 4488 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4311 | |
ac_count=`expr $ac_count + 1`
|
|
4489 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4312 | 4490 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
4313 | 4491 |
# Best one so far, save it but keep looking for a better one
|
4314 | 4492 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
4323 | 4501 |
$ac_path_GREP_found && break 3
|
4324 | 4502 |
done
|
4325 | 4503 |
done
|
4326 | |
done
|
|
4504 |
done
|
4327 | 4505 |
IFS=$as_save_IFS
|
4328 | 4506 |
if test -z "$ac_cv_path_GREP"; then
|
4329 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4330 | |
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4331 | |
{ (exit 1); exit 1; }; }
|
|
4507 |
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4332 | 4508 |
fi
|
4333 | 4509 |
else
|
4334 | 4510 |
ac_cv_path_GREP=$GREP
|
4335 | 4511 |
fi
|
4336 | 4512 |
|
4337 | 4513 |
fi
|
4338 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
|
4514 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
4339 | 4515 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
4340 | 4516 |
GREP="$ac_cv_path_GREP"
|
4341 | 4517 |
|
4342 | 4518 |
|
4343 | |
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
|
|
4519 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
4344 | 4520 |
$as_echo_n "checking for egrep... " >&6; }
|
4345 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
|
4521 |
if test "${ac_cv_path_EGREP+set}" = set; then :
|
4346 | 4522 |
$as_echo_n "(cached) " >&6
|
4347 | 4523 |
else
|
4348 | 4524 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4356 | 4532 |
do
|
4357 | 4533 |
IFS=$as_save_IFS
|
4358 | 4534 |
test -z "$as_dir" && as_dir=.
|
4359 | |
for ac_prog in egrep; do
|
|
4535 |
for ac_prog in egrep; do
|
4360 | 4536 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4361 | 4537 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4362 | 4538 |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
|
4376 | 4552 |
$as_echo 'EGREP' >> "conftest.nl"
|
4377 | 4553 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4378 | 4554 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4379 | |
ac_count=`expr $ac_count + 1`
|
|
4555 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4380 | 4556 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4381 | 4557 |
# Best one so far, save it but keep looking for a better one
|
4382 | 4558 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4391 | 4567 |
$ac_path_EGREP_found && break 3
|
4392 | 4568 |
done
|
4393 | 4569 |
done
|
4394 | |
done
|
|
4570 |
done
|
4395 | 4571 |
IFS=$as_save_IFS
|
4396 | 4572 |
if test -z "$ac_cv_path_EGREP"; then
|
4397 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4398 | |
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4399 | |
{ (exit 1); exit 1; }; }
|
|
4573 |
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
4400 | 4574 |
fi
|
4401 | 4575 |
else
|
4402 | 4576 |
ac_cv_path_EGREP=$EGREP
|
|
4404 | 4578 |
|
4405 | 4579 |
fi
|
4406 | 4580 |
fi
|
4407 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
|
4581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
4408 | 4582 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
4409 | 4583 |
EGREP="$ac_cv_path_EGREP"
|
4410 | 4584 |
|
4411 | 4585 |
|
4412 | 4586 |
if test $ac_cv_c_compiler_gnu = yes; then
|
4413 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
|
|
4587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
|
4414 | 4588 |
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
|
4415 | |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
|
|
4589 |
if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
|
4416 | 4590 |
$as_echo_n "(cached) " >&6
|
4417 | 4591 |
else
|
4418 | 4592 |
ac_pattern="Autoconf.*'x'"
|
4419 | |
cat >conftest.$ac_ext <<_ACEOF
|
4420 | |
/* confdefs.h. */
|
4421 | |
_ACEOF
|
4422 | |
cat confdefs.h >>conftest.$ac_ext
|
4423 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4593 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4424 | 4594 |
/* end confdefs.h. */
|
4425 | 4595 |
#include <sgtty.h>
|
4426 | 4596 |
Autoconf TIOCGETP
|
4427 | 4597 |
_ACEOF
|
4428 | 4598 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4429 | |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
|
4599 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
4430 | 4600 |
ac_cv_prog_gcc_traditional=yes
|
4431 | 4601 |
else
|
4432 | 4602 |
ac_cv_prog_gcc_traditional=no
|
|
4435 | 4605 |
|
4436 | 4606 |
|
4437 | 4607 |
if test $ac_cv_prog_gcc_traditional = no; then
|
4438 | |
cat >conftest.$ac_ext <<_ACEOF
|
4439 | |
/* confdefs.h. */
|
4440 | |
_ACEOF
|
4441 | |
cat confdefs.h >>conftest.$ac_ext
|
4442 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4608 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4443 | 4609 |
/* end confdefs.h. */
|
4444 | 4610 |
#include <termio.h>
|
4445 | 4611 |
Autoconf TCGETA
|
4446 | 4612 |
_ACEOF
|
4447 | 4613 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4448 | |
$EGREP "$ac_pattern" >/dev/null 2>&1; then
|
|
4614 |
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
|
4449 | 4615 |
ac_cv_prog_gcc_traditional=yes
|
4450 | 4616 |
fi
|
4451 | 4617 |
rm -f conftest*
|
4452 | 4618 |
|
4453 | 4619 |
fi
|
4454 | 4620 |
fi
|
4455 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
|
|
4621 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
|
4456 | 4622 |
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
|
4457 | 4623 |
if test $ac_cv_prog_gcc_traditional = yes; then
|
4458 | 4624 |
CC="$CC -traditional"
|
4459 | 4625 |
fi
|
4460 | 4626 |
fi
|
4461 | 4627 |
|
4462 | |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
4628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
4463 | 4629 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
4464 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
4630 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
4465 | 4631 |
$as_echo_n "(cached) " >&6
|
4466 | 4632 |
else
|
4467 | |
cat >conftest.$ac_ext <<_ACEOF
|
4468 | |
/* confdefs.h. */
|
4469 | |
_ACEOF
|
4470 | |
cat confdefs.h >>conftest.$ac_ext
|
4471 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4633 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4472 | 4634 |
/* end confdefs.h. */
|
4473 | 4635 |
#include <stdlib.h>
|
4474 | 4636 |
#include <stdarg.h>
|
|
4483 | 4645 |
return 0;
|
4484 | 4646 |
}
|
4485 | 4647 |
_ACEOF
|
4486 | |
rm -f conftest.$ac_objext
|
4487 | |
if { (ac_try="$ac_compile"
|
4488 | |
case "(($ac_try" in
|
4489 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4490 | |
*) ac_try_echo=$ac_try;;
|
4491 | |
esac
|
4492 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4493 | |
$as_echo "$ac_try_echo") >&5
|
4494 | |
(eval "$ac_compile") 2>conftest.er1
|
4495 | |
ac_status=$?
|
4496 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4497 | |
rm -f conftest.er1
|
4498 | |
cat conftest.err >&5
|
4499 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4500 | |
(exit $ac_status); } && {
|
4501 | |
test -z "$ac_c_werror_flag" ||
|
4502 | |
test ! -s conftest.err
|
4503 | |
} && test -s conftest.$ac_objext; then
|
|
4648 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4504 | 4649 |
ac_cv_header_stdc=yes
|
4505 | 4650 |
else
|
4506 | |
$as_echo "$as_me: failed program was:" >&5
|
4507 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4508 | |
|
4509 | |
ac_cv_header_stdc=no
|
4510 | |
fi
|
4511 | |
|
|
4651 |
ac_cv_header_stdc=no
|
|
4652 |
fi
|
4512 | 4653 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4513 | 4654 |
|
4514 | 4655 |
if test $ac_cv_header_stdc = yes; then
|
4515 | 4656 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
4516 | |
cat >conftest.$ac_ext <<_ACEOF
|
4517 | |
/* confdefs.h. */
|
4518 | |
_ACEOF
|
4519 | |
cat confdefs.h >>conftest.$ac_ext
|
4520 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4657 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4521 | 4658 |
/* end confdefs.h. */
|
4522 | 4659 |
#include <string.h>
|
4523 | 4660 |
|
4524 | 4661 |
_ACEOF
|
4525 | 4662 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4526 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
4527 | |
:
|
|
4663 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
4664 |
|
4528 | 4665 |
else
|
4529 | 4666 |
ac_cv_header_stdc=no
|
4530 | 4667 |
fi
|
|
4534 | 4671 |
|
4535 | 4672 |
if test $ac_cv_header_stdc = yes; then
|
4536 | 4673 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4537 | |
cat >conftest.$ac_ext <<_ACEOF
|
4538 | |
/* confdefs.h. */
|
4539 | |
_ACEOF
|
4540 | |
cat confdefs.h >>conftest.$ac_ext
|
4541 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4674 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4542 | 4675 |
/* end confdefs.h. */
|
4543 | 4676 |
#include <stdlib.h>
|
4544 | 4677 |
|
4545 | 4678 |
_ACEOF
|
4546 | 4679 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4547 | |
$EGREP "free" >/dev/null 2>&1; then
|
4548 | |
:
|
|
4680 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
4681 |
|
4549 | 4682 |
else
|
4550 | 4683 |
ac_cv_header_stdc=no
|
4551 | 4684 |
fi
|
|
4555 | 4688 |
|
4556 | 4689 |
if test $ac_cv_header_stdc = yes; then
|
4557 | 4690 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
4558 | |
if test "$cross_compiling" = yes; then
|
|
4691 |
if test "$cross_compiling" = yes; then :
|
4559 | 4692 |
:
|
4560 | 4693 |
else
|
4561 | |
cat >conftest.$ac_ext <<_ACEOF
|
4562 | |
/* confdefs.h. */
|
4563 | |
_ACEOF
|
4564 | |
cat confdefs.h >>conftest.$ac_ext
|
4565 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4694 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4566 | 4695 |
/* end confdefs.h. */
|
4567 | 4696 |
#include <ctype.h>
|
4568 | 4697 |
#include <stdlib.h>
|
|
4589 | 4718 |
return 0;
|
4590 | 4719 |
}
|
4591 | 4720 |
_ACEOF
|
4592 | |
rm -f conftest$ac_exeext
|
4593 | |
if { (ac_try="$ac_link"
|
4594 | |
case "(($ac_try" in
|
4595 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4596 | |
*) ac_try_echo=$ac_try;;
|
4597 | |
esac
|
4598 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4599 | |
$as_echo "$ac_try_echo") >&5
|
4600 | |
(eval "$ac_link") 2>&5
|
4601 | |
ac_status=$?
|
4602 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4603 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
4604 | |
{ (case "(($ac_try" in
|
4605 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4606 | |
*) ac_try_echo=$ac_try;;
|
4607 | |
esac
|
4608 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4609 | |
$as_echo "$ac_try_echo") >&5
|
4610 | |
(eval "$ac_try") 2>&5
|
4611 | |
ac_status=$?
|
4612 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4613 | |
(exit $ac_status); }; }; then
|
4614 | |
:
|
4615 | |
else
|
4616 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
4617 | |
$as_echo "$as_me: failed program was:" >&5
|
4618 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4619 | |
|
4620 | |
( exit $ac_status )
|
4621 | |
ac_cv_header_stdc=no
|
4622 | |
fi
|
4623 | |
rm -rf conftest.dSYM
|
4624 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
4625 | |
fi
|
4626 | |
|
4627 | |
|
4628 | |
fi
|
4629 | |
fi
|
4630 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
4721 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4722 |
|
|
4723 |
else
|
|
4724 |
ac_cv_header_stdc=no
|
|
4725 |
fi
|
|
4726 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4727 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4728 |
fi
|
|
4729 |
|
|
4730 |
fi
|
|
4731 |
fi
|
|
4732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
4631 | 4733 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
4632 | 4734 |
if test $ac_cv_header_stdc = yes; then
|
4633 | 4735 |
|
4634 | |
cat >>confdefs.h <<\_ACEOF
|
4635 | |
#define STDC_HEADERS 1
|
4636 | |
_ACEOF
|
|
4736 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
4637 | 4737 |
|
4638 | 4738 |
fi
|
4639 | 4739 |
|
4640 | 4740 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
4641 | |
|
4642 | |
|
4643 | |
|
4644 | |
|
4645 | |
|
4646 | |
|
4647 | |
|
4648 | |
|
4649 | |
|
4650 | 4741 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
4651 | 4742 |
inttypes.h stdint.h unistd.h
|
4652 | |
do
|
4653 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
4654 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
4655 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
4656 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
4657 | |
$as_echo_n "(cached) " >&6
|
4658 | |
else
|
4659 | |
cat >conftest.$ac_ext <<_ACEOF
|
4660 | |
/* confdefs.h. */
|
4661 | |
_ACEOF
|
4662 | |
cat confdefs.h >>conftest.$ac_ext
|
4663 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4664 | |
/* end confdefs.h. */
|
4665 | |
$ac_includes_default
|
4666 | |
|
4667 | |
#include <$ac_header>
|
4668 | |
_ACEOF
|
4669 | |
rm -f conftest.$ac_objext
|
4670 | |
if { (ac_try="$ac_compile"
|
4671 | |
case "(($ac_try" in
|
4672 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4673 | |
*) ac_try_echo=$ac_try;;
|
4674 | |
esac
|
4675 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4676 | |
$as_echo "$ac_try_echo") >&5
|
4677 | |
(eval "$ac_compile") 2>conftest.er1
|
4678 | |
ac_status=$?
|
4679 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4680 | |
rm -f conftest.er1
|
4681 | |
cat conftest.err >&5
|
4682 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4683 | |
(exit $ac_status); } && {
|
4684 | |
test -z "$ac_c_werror_flag" ||
|
4685 | |
test ! -s conftest.err
|
4686 | |
} && test -s conftest.$ac_objext; then
|
4687 | |
eval "$as_ac_Header=yes"
|
4688 | |
else
|
4689 | |
$as_echo "$as_me: failed program was:" >&5
|
4690 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4691 | |
|
4692 | |
eval "$as_ac_Header=no"
|
4693 | |
fi
|
4694 | |
|
4695 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4696 | |
fi
|
4697 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
4698 | |
$as_echo "$as_val"'`
|
4699 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
4700 | |
$as_echo "$ac_res" >&6; }
|
4701 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
4702 | |
$as_echo "$as_val"'`
|
4703 | |
if test "x$as_val" = x""yes; then
|
|
4743 |
do :
|
|
4744 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4745 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4746 |
"
|
|
4747 |
eval as_val=\$$as_ac_Header
|
|
4748 |
if test "x$as_val" = x""yes; then :
|
4704 | 4749 |
cat >>confdefs.h <<_ACEOF
|
4705 | 4750 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
4706 | 4751 |
_ACEOF
|
|
4711 | 4756 |
|
4712 | 4757 |
|
4713 | 4758 |
|
4714 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
4715 | |
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
4716 | |
$as_echo_n "checking for minix/config.h... " >&6; }
|
4717 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
|
4759 |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
|
4760 |
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
|
4761 |
MINIX=yes
|
|
4762 |
else
|
|
4763 |
MINIX=
|
|
4764 |
fi
|
|
4765 |
|
|
4766 |
|
|
4767 |
if test "$MINIX" = yes; then
|
|
4768 |
|
|
4769 |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
|
4770 |
|
|
4771 |
|
|
4772 |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
|
4773 |
|
|
4774 |
|
|
4775 |
$as_echo "#define _MINIX 1" >>confdefs.h
|
|
4776 |
|
|
4777 |
fi
|
|
4778 |
|
|
4779 |
|
|
4780 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
|
4781 |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
|
4782 |
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
4718 | 4783 |
$as_echo_n "(cached) " >&6
|
4719 | |
fi
|
4720 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
4721 | |
$as_echo "$ac_cv_header_minix_config_h" >&6; }
|
4722 | |
else
|
4723 | |
# Is the header compilable?
|
4724 | |
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
4725 | |
$as_echo_n "checking minix/config.h usability... " >&6; }
|
4726 | |
cat >conftest.$ac_ext <<_ACEOF
|
4727 | |
/* confdefs.h. */
|
4728 | |
_ACEOF
|
4729 | |
cat confdefs.h >>conftest.$ac_ext
|
4730 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4731 | |
/* end confdefs.h. */
|
4732 | |
$ac_includes_default
|
4733 | |
#include <minix/config.h>
|
4734 | |
_ACEOF
|
4735 | |
rm -f conftest.$ac_objext
|
4736 | |
if { (ac_try="$ac_compile"
|
4737 | |
case "(($ac_try" in
|
4738 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4739 | |
*) ac_try_echo=$ac_try;;
|
4740 | |
esac
|
4741 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4742 | |
$as_echo "$ac_try_echo") >&5
|
4743 | |
(eval "$ac_compile") 2>conftest.er1
|
4744 | |
ac_status=$?
|
4745 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4746 | |
rm -f conftest.er1
|
4747 | |
cat conftest.err >&5
|
4748 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4749 | |
(exit $ac_status); } && {
|
4750 | |
test -z "$ac_c_werror_flag" ||
|
4751 | |
test ! -s conftest.err
|
4752 | |
} && test -s conftest.$ac_objext; then
|
4753 | |
ac_header_compiler=yes
|
4754 | |
else
|
4755 | |
$as_echo "$as_me: failed program was:" >&5
|
4756 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4757 | |
|
4758 | |
ac_header_compiler=no
|
4759 | |
fi
|
4760 | |
|
4761 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4762 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
4763 | |
$as_echo "$ac_header_compiler" >&6; }
|
4764 | |
|
4765 | |
# Is the header present?
|
4766 | |
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
4767 | |
$as_echo_n "checking minix/config.h presence... " >&6; }
|
4768 | |
cat >conftest.$ac_ext <<_ACEOF
|
4769 | |
/* confdefs.h. */
|
4770 | |
_ACEOF
|
4771 | |
cat confdefs.h >>conftest.$ac_ext
|
4772 | |
cat >>conftest.$ac_ext <<_ACEOF
|
4773 | |
/* end confdefs.h. */
|
4774 | |
#include <minix/config.h>
|
4775 | |
_ACEOF
|
4776 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4777 | |
case "(($ac_try" in
|
4778 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4779 | |
*) ac_try_echo=$ac_try;;
|
4780 | |
esac
|
4781 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4782 | |
$as_echo "$ac_try_echo") >&5
|
4783 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4784 | |
ac_status=$?
|
4785 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4786 | |
rm -f conftest.er1
|
4787 | |
cat conftest.err >&5
|
4788 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4789 | |
(exit $ac_status); } >/dev/null && {
|
4790 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4791 | |
test ! -s conftest.err
|
4792 | |
}; then
|
4793 | |
ac_header_preproc=yes
|
4794 | |
else
|
4795 | |
$as_echo "$as_me: failed program was:" >&5
|
4796 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4797 | |
|
4798 | |
ac_header_preproc=no
|
4799 | |
fi
|
4800 | |
|
4801 | |
rm -f conftest.err conftest.$ac_ext
|
4802 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
4803 | |
$as_echo "$ac_header_preproc" >&6; }
|
4804 | |
|
4805 | |
# So? What about this header?
|
4806 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
4807 | |
yes:no: )
|
4808 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
4809 | |
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
4810 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
4811 | |
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
4812 | |
ac_header_preproc=yes
|
4813 | |
;;
|
4814 | |
no:yes:* )
|
4815 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
4816 | |
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
4817 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
4818 | |
$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
4819 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
4820 | |
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
4821 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
4822 | |
$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
4823 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
4824 | |
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
4825 | |
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
4826 | |
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
4827 | |
( cat <<\_ASBOX
|
4828 | |
## ---------------------------------------------------- ##
|
4829 | |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
4830 | |
## ---------------------------------------------------- ##
|
4831 | |
_ASBOX
|
4832 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
4833 | |
;;
|
4834 | |
esac
|
4835 | |
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
4836 | |
$as_echo_n "checking for minix/config.h... " >&6; }
|
4837 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
4838 | |
$as_echo_n "(cached) " >&6
|
4839 | |
else
|
4840 | |
ac_cv_header_minix_config_h=$ac_header_preproc
|
4841 | |
fi
|
4842 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
4843 | |
$as_echo "$ac_cv_header_minix_config_h" >&6; }
|
4844 | |
|
4845 | |
fi
|
4846 | |
if test "x$ac_cv_header_minix_config_h" = x""yes; then
|
4847 | |
MINIX=yes
|
4848 | |
else
|
4849 | |
MINIX=
|
4850 | |
fi
|
4851 | |
|
4852 | |
|
4853 | |
if test "$MINIX" = yes; then
|
4854 | |
|
4855 | |
cat >>confdefs.h <<\_ACEOF
|
4856 | |
#define _POSIX_SOURCE 1
|
4857 | |
_ACEOF
|
4858 | |
|
4859 | |
|
4860 | |
cat >>confdefs.h <<\_ACEOF
|
4861 | |
#define _POSIX_1_SOURCE 2
|
4862 | |
_ACEOF
|
4863 | |
|
4864 | |
|
4865 | |
cat >>confdefs.h <<\_ACEOF
|
4866 | |
#define _MINIX 1
|
4867 | |
_ACEOF
|
4868 | |
|
4869 | |
fi
|
4870 | |
|
4871 | |
|
4872 | |
|
4873 | |
{ $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
|
4874 | |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
4875 | |
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
|
4876 | |
$as_echo_n "(cached) " >&6
|
4877 | |
else
|
4878 | |
cat >conftest.$ac_ext <<_ACEOF
|
4879 | |
/* confdefs.h. */
|
4880 | |
_ACEOF
|
4881 | |
cat confdefs.h >>conftest.$ac_ext
|
4882 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4784 |
else
|
|
4785 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4883 | 4786 |
/* end confdefs.h. */
|
4884 | 4787 |
|
4885 | 4788 |
# define __EXTENSIONS__ 1
|
|
4892 | 4795 |
return 0;
|
4893 | 4796 |
}
|
4894 | 4797 |
_ACEOF
|
4895 | |
rm -f conftest.$ac_objext
|
4896 | |
if { (ac_try="$ac_compile"
|
4897 | |
case "(($ac_try" in
|
4898 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4899 | |
*) ac_try_echo=$ac_try;;
|
4900 | |
esac
|
4901 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
4902 | |
$as_echo "$ac_try_echo") >&5
|
4903 | |
(eval "$ac_compile") 2>conftest.er1
|
4904 | |
ac_status=$?
|
4905 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4906 | |
rm -f conftest.er1
|
4907 | |
cat conftest.err >&5
|
4908 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4909 | |
(exit $ac_status); } && {
|
4910 | |
test -z "$ac_c_werror_flag" ||
|
4911 | |
test ! -s conftest.err
|
4912 | |
} && test -s conftest.$ac_objext; then
|
|
4798 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4913 | 4799 |
ac_cv_safe_to_define___extensions__=yes
|
4914 | 4800 |
else
|
4915 | |
$as_echo "$as_me: failed program was:" >&5
|
4916 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4917 | |
|
4918 | |
ac_cv_safe_to_define___extensions__=no
|
4919 | |
fi
|
4920 | |
|
|
4801 |
ac_cv_safe_to_define___extensions__=no
|
|
4802 |
fi
|
4921 | 4803 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4922 | 4804 |
fi
|
4923 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
|
|
4805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
4924 | 4806 |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
4925 | 4807 |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
4926 | |
cat >>confdefs.h <<\_ACEOF
|
4927 | |
#define __EXTENSIONS__ 1
|
4928 | |
_ACEOF
|
4929 | |
|
4930 | |
cat >>confdefs.h <<\_ACEOF
|
4931 | |
#define _ALL_SOURCE 1
|
4932 | |
_ACEOF
|
4933 | |
|
4934 | |
cat >>confdefs.h <<\_ACEOF
|
4935 | |
#define _GNU_SOURCE 1
|
4936 | |
_ACEOF
|
4937 | |
|
4938 | |
cat >>confdefs.h <<\_ACEOF
|
4939 | |
#define _POSIX_PTHREAD_SEMANTICS 1
|
4940 | |
_ACEOF
|
4941 | |
|
4942 | |
cat >>confdefs.h <<\_ACEOF
|
4943 | |
#define _TANDEM_SOURCE 1
|
4944 | |
_ACEOF
|
|
4808 |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
|
4809 |
|
|
4810 |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
|
4811 |
|
|
4812 |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
|
4813 |
|
|
4814 |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
4815 |
|
|
4816 |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
4945 | 4817 |
|
4946 | 4818 |
|
4947 | 4819 |
|
|
4961 | 4833 |
do
|
4962 | 4834 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4963 | 4835 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4964 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4965 | 4837 |
$as_echo_n "checking for $ac_word... " >&6; }
|
4966 | |
if test "${ac_cv_prog_CXX+set}" = set; then
|
|
4838 |
if test "${ac_cv_prog_CXX+set}" = set; then :
|
4967 | 4839 |
$as_echo_n "(cached) " >&6
|
4968 | 4840 |
else
|
4969 | 4841 |
if test -n "$CXX"; then
|
|
4974 | 4846 |
do
|
4975 | 4847 |
IFS=$as_save_IFS
|
4976 | 4848 |
test -z "$as_dir" && as_dir=.
|
4977 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4849 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4978 | 4850 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4979 | 4851 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
4980 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4852 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4981 | 4853 |
break 2
|
4982 | 4854 |
fi
|
4983 | 4855 |
done
|
4984 | |
done
|
|
4856 |
done
|
4985 | 4857 |
IFS=$as_save_IFS
|
4986 | 4858 |
|
4987 | 4859 |
fi
|
4988 | 4860 |
fi
|
4989 | 4861 |
CXX=$ac_cv_prog_CXX
|
4990 | 4862 |
if test -n "$CXX"; then
|
4991 | |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
|
4863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
4992 | 4864 |
$as_echo "$CXX" >&6; }
|
4993 | 4865 |
else
|
4994 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4866 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4995 | 4867 |
$as_echo "no" >&6; }
|
4996 | 4868 |
fi
|
4997 | 4869 |
|
|
5005 | 4877 |
do
|
5006 | 4878 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5007 | 4879 |
set dummy $ac_prog; ac_word=$2
|
5008 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
4880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5009 | 4881 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5010 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
|
4882 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
5011 | 4883 |
$as_echo_n "(cached) " >&6
|
5012 | 4884 |
else
|
5013 | 4885 |
if test -n "$ac_ct_CXX"; then
|
|
5018 | 4890 |
do
|
5019 | 4891 |
IFS=$as_save_IFS
|
5020 | 4892 |
test -z "$as_dir" && as_dir=.
|
5021 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4893 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5022 | 4894 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5023 | 4895 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
5024 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4896 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5025 | 4897 |
break 2
|
5026 | 4898 |
fi
|
5027 | 4899 |
done
|
5028 | |
done
|
|
4900 |
done
|
5029 | 4901 |
IFS=$as_save_IFS
|
5030 | 4902 |
|
5031 | 4903 |
fi
|
5032 | 4904 |
fi
|
5033 | 4905 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
5034 | 4906 |
if test -n "$ac_ct_CXX"; then
|
5035 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
|
4907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
5036 | 4908 |
$as_echo "$ac_ct_CXX" >&6; }
|
5037 | 4909 |
else
|
5038 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
4910 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5039 | 4911 |
$as_echo "no" >&6; }
|
5040 | 4912 |
fi
|
5041 | 4913 |
|
|
5048 | 4920 |
else
|
5049 | 4921 |
case $cross_compiling:$ac_tool_warned in
|
5050 | 4922 |
yes:)
|
5051 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4923 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5052 | 4924 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5053 | 4925 |
ac_tool_warned=yes ;;
|
5054 | 4926 |
esac
|
|
5059 | 4931 |
fi
|
5060 | 4932 |
fi
|
5061 | 4933 |
# Provide some information about the compiler.
|
5062 | |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
|
4934 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
5063 | 4935 |
set X $ac_compile
|
5064 | 4936 |
ac_compiler=$2
|
5065 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
4937 |
for ac_option in --version -v -V -qversion; do
|
|
4938 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
5066 | 4939 |
case "(($ac_try" in
|
5067 | 4940 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5068 | 4941 |
*) ac_try_echo=$ac_try;;
|
5069 | 4942 |
esac
|
5070 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5071 | |
$as_echo "$ac_try_echo") >&5
|
5072 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
4943 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4944 |
$as_echo "$ac_try_echo"; } >&5
|
|
4945 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
5073 | 4946 |
ac_status=$?
|
5074 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5075 | |
(exit $ac_status); }
|
5076 | |
{ (ac_try="$ac_compiler -v >&5"
|
5077 | |
case "(($ac_try" in
|
5078 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5079 | |
*) ac_try_echo=$ac_try;;
|
5080 | |
esac
|
5081 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5082 | |
$as_echo "$ac_try_echo") >&5
|
5083 | |
(eval "$ac_compiler -v >&5") 2>&5
|
5084 | |
ac_status=$?
|
5085 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5086 | |
(exit $ac_status); }
|
5087 | |
{ (ac_try="$ac_compiler -V >&5"
|
5088 | |
case "(($ac_try" in
|
5089 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5090 | |
*) ac_try_echo=$ac_try;;
|
5091 | |
esac
|
5092 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5093 | |
$as_echo "$ac_try_echo") >&5
|
5094 | |
(eval "$ac_compiler -V >&5") 2>&5
|
5095 | |
ac_status=$?
|
5096 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5097 | |
(exit $ac_status); }
|
5098 | |
|
5099 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
|
4947 |
if test -s conftest.err; then
|
|
4948 |
sed '10a\
|
|
4949 |
... rest of stderr output deleted ...
|
|
4950 |
10q' conftest.err >conftest.er1
|
|
4951 |
cat conftest.er1 >&5
|
|
4952 |
fi
|
|
4953 |
rm -f conftest.er1 conftest.err
|
|
4954 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4955 |
test $ac_status = 0; }
|
|
4956 |
done
|
|
4957 |
|
|
4958 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
5100 | 4959 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
5101 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
|
4960 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
5102 | 4961 |
$as_echo_n "(cached) " >&6
|
5103 | 4962 |
else
|
5104 | |
cat >conftest.$ac_ext <<_ACEOF
|
5105 | |
/* confdefs.h. */
|
5106 | |
_ACEOF
|
5107 | |
cat confdefs.h >>conftest.$ac_ext
|
5108 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4963 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5109 | 4964 |
/* end confdefs.h. */
|
5110 | 4965 |
|
5111 | 4966 |
int
|
|
5119 | 4974 |
return 0;
|
5120 | 4975 |
}
|
5121 | 4976 |
_ACEOF
|
5122 | |
rm -f conftest.$ac_objext
|
5123 | |
if { (ac_try="$ac_compile"
|
5124 | |
case "(($ac_try" in
|
5125 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5126 | |
*) ac_try_echo=$ac_try;;
|
5127 | |
esac
|
5128 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5129 | |
$as_echo "$ac_try_echo") >&5
|
5130 | |
(eval "$ac_compile") 2>conftest.er1
|
5131 | |
ac_status=$?
|
5132 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5133 | |
rm -f conftest.er1
|
5134 | |
cat conftest.err >&5
|
5135 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5136 | |
(exit $ac_status); } && {
|
5137 | |
test -z "$ac_cxx_werror_flag" ||
|
5138 | |
test ! -s conftest.err
|
5139 | |
} && test -s conftest.$ac_objext; then
|
|
4977 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5140 | 4978 |
ac_compiler_gnu=yes
|
5141 | 4979 |
else
|
5142 | |
$as_echo "$as_me: failed program was:" >&5
|
5143 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5144 | |
|
5145 | |
ac_compiler_gnu=no
|
5146 | |
fi
|
5147 | |
|
|
4980 |
ac_compiler_gnu=no
|
|
4981 |
fi
|
5148 | 4982 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5149 | 4983 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
5150 | 4984 |
|
5151 | 4985 |
fi
|
5152 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
4986 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
5153 | 4987 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
5154 | 4988 |
if test $ac_compiler_gnu = yes; then
|
5155 | 4989 |
GXX=yes
|
|
5158 | 4992 |
fi
|
5159 | 4993 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
5160 | 4994 |
ac_save_CXXFLAGS=$CXXFLAGS
|
5161 | |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
|
4995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
5162 | 4996 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
5163 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
|
4997 |
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
5164 | 4998 |
$as_echo_n "(cached) " >&6
|
5165 | 4999 |
else
|
5166 | 5000 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
5167 | 5001 |
ac_cxx_werror_flag=yes
|
5168 | 5002 |
ac_cv_prog_cxx_g=no
|
5169 | 5003 |
CXXFLAGS="-g"
|
5170 | |
cat >conftest.$ac_ext <<_ACEOF
|
5171 | |
/* confdefs.h. */
|
5172 | |
_ACEOF
|
5173 | |
cat confdefs.h >>conftest.$ac_ext
|
5174 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5004 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5175 | 5005 |
/* end confdefs.h. */
|
5176 | 5006 |
|
5177 | 5007 |
int
|
|
5182 | 5012 |
return 0;
|
5183 | 5013 |
}
|
5184 | 5014 |
_ACEOF
|
5185 | |
rm -f conftest.$ac_objext
|
5186 | |
if { (ac_try="$ac_compile"
|
5187 | |
case "(($ac_try" in
|
5188 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5189 | |
*) ac_try_echo=$ac_try;;
|
5190 | |
esac
|
5191 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5192 | |
$as_echo "$ac_try_echo") >&5
|
5193 | |
(eval "$ac_compile") 2>conftest.er1
|
5194 | |
ac_status=$?
|
5195 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5196 | |
rm -f conftest.er1
|
5197 | |
cat conftest.err >&5
|
5198 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5199 | |
(exit $ac_status); } && {
|
5200 | |
test -z "$ac_cxx_werror_flag" ||
|
5201 | |
test ! -s conftest.err
|
5202 | |
} && test -s conftest.$ac_objext; then
|
|
5015 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5203 | 5016 |
ac_cv_prog_cxx_g=yes
|
5204 | 5017 |
else
|
5205 | |
$as_echo "$as_me: failed program was:" >&5
|
5206 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5207 | |
|
5208 | |
CXXFLAGS=""
|
5209 | |
cat >conftest.$ac_ext <<_ACEOF
|
5210 | |
/* confdefs.h. */
|
5211 | |
_ACEOF
|
5212 | |
cat confdefs.h >>conftest.$ac_ext
|
5213 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5018 |
CXXFLAGS=""
|
|
5019 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5214 | 5020 |
/* end confdefs.h. */
|
5215 | 5021 |
|
5216 | 5022 |
int
|
|
5221 | 5027 |
return 0;
|
5222 | 5028 |
}
|
5223 | 5029 |
_ACEOF
|
5224 | |
rm -f conftest.$ac_objext
|
5225 | |
if { (ac_try="$ac_compile"
|
5226 | |
case "(($ac_try" in
|
5227 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5228 | |
*) ac_try_echo=$ac_try;;
|
5229 | |
esac
|
5230 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5231 | |
$as_echo "$ac_try_echo") >&5
|
5232 | |
(eval "$ac_compile") 2>conftest.er1
|
5233 | |
ac_status=$?
|
5234 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5235 | |
rm -f conftest.er1
|
5236 | |
cat conftest.err >&5
|
5237 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5238 | |
(exit $ac_status); } && {
|
5239 | |
test -z "$ac_cxx_werror_flag" ||
|
5240 | |
test ! -s conftest.err
|
5241 | |
} && test -s conftest.$ac_objext; then
|
5242 | |
:
|
5243 | |
else
|
5244 | |
$as_echo "$as_me: failed program was:" >&5
|
5245 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5246 | |
|
5247 | |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
5030 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
5031 |
|
|
5032 |
else
|
|
5033 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
5248 | 5034 |
CXXFLAGS="-g"
|
5249 | |
cat >conftest.$ac_ext <<_ACEOF
|
5250 | |
/* confdefs.h. */
|
5251 | |
_ACEOF
|
5252 | |
cat confdefs.h >>conftest.$ac_ext
|
5253 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5035 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5254 | 5036 |
/* end confdefs.h. */
|
5255 | 5037 |
|
5256 | 5038 |
int
|
|
5261 | 5043 |
return 0;
|
5262 | 5044 |
}
|
5263 | 5045 |
_ACEOF
|
5264 | |
rm -f conftest.$ac_objext
|
5265 | |
if { (ac_try="$ac_compile"
|
5266 | |
case "(($ac_try" in
|
5267 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5268 | |
*) ac_try_echo=$ac_try;;
|
5269 | |
esac
|
5270 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
5271 | |
$as_echo "$ac_try_echo") >&5
|
5272 | |
(eval "$ac_compile") 2>conftest.er1
|
5273 | |
ac_status=$?
|
5274 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5275 | |
rm -f conftest.er1
|
5276 | |
cat conftest.err >&5
|
5277 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5278 | |
(exit $ac_status); } && {
|
5279 | |
test -z "$ac_cxx_werror_flag" ||
|
5280 | |
test ! -s conftest.err
|
5281 | |
} && test -s conftest.$ac_objext; then
|
|
5046 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5282 | 5047 |
ac_cv_prog_cxx_g=yes
|
5283 | |
else
|
5284 | |
$as_echo "$as_me: failed program was:" >&5
|
5285 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5286 | |
|
5287 | |
|
5288 | |
fi
|
5289 | |
|
|
5048 |
fi
|
5290 | 5049 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5291 | 5050 |
fi
|
5292 | |
|
5293 | 5051 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5294 | 5052 |
fi
|
5295 | |
|
5296 | 5053 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5297 | 5054 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
5298 | 5055 |
fi
|
5299 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
|
5056 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
5300 | 5057 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
5301 | 5058 |
if test "$ac_test_CXXFLAGS" = set; then
|
5302 | 5059 |
CXXFLAGS=$ac_save_CXXFLAGS
|
|
5321 | 5078 |
|
5322 | 5079 |
depcc="$CXX" am_compiler_list=
|
5323 | 5080 |
|
5324 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
5081 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
5325 | 5082 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
5326 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
|
5083 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
5327 | 5084 |
$as_echo_n "(cached) " >&6
|
5328 | 5085 |
else
|
5329 | 5086 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
5431 | 5188 |
fi
|
5432 | 5189 |
|
5433 | 5190 |
fi
|
5434 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
5191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
5435 | 5192 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
5436 | 5193 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
5437 | 5194 |
|
|
5450 | 5207 |
# GCC flags
|
5451 | 5208 |
|
5452 | 5209 |
test_gcc_flag() {
|
5453 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
5210 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5211 |
/* end confdefs.h. */
|
5454 | 5212 |
int main(int argc, char*argv) {}
|
5455 | 5213 |
_ACEOF
|
5456 | 5214 |
$CC -c conftest.c $CFLAGS "$1" -o conftest.o > /dev/null 2> /dev/null
|
|
5467 | 5225 |
DESIRED_FLAGS="-std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math"
|
5468 | 5226 |
|
5469 | 5227 |
for flag in $DESIRED_FLAGS ; do
|
5470 | |
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts $flag" >&5
|
|
5228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $flag" >&5
|
5471 | 5229 |
$as_echo_n "checking whether $CC accepts $flag... " >&6; }
|
5472 | 5230 |
if test_gcc_flag $flag ; then
|
5473 | 5231 |
CFLAGS="$CFLAGS $flag"
|
5474 | 5232 |
CXXFLAGS="$CXXFLAGS $flag"
|
5475 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
5233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5476 | 5234 |
$as_echo "yes" >&6; }
|
5477 | 5235 |
else
|
5478 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5236 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5479 | 5237 |
$as_echo "no" >&6; }
|
5480 | 5238 |
fi
|
5481 | 5239 |
done
|
|
5485 | 5243 |
|
5486 | 5244 |
case `pwd` in
|
5487 | 5245 |
*\ * | *\ *)
|
5488 | |
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
|
5246 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
|
5489 | 5247 |
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
|
5490 | 5248 |
esac
|
5491 | 5249 |
|
5492 | 5250 |
|
5493 | 5251 |
|
5494 | |
macro_version='2.2.6'
|
5495 | |
macro_revision='1.3012'
|
|
5252 |
macro_version='2.2.6b'
|
|
5253 |
macro_revision='1.3017'
|
5496 | 5254 |
|
5497 | 5255 |
|
5498 | 5256 |
|
|
5508 | 5266 |
|
5509 | 5267 |
ltmain="$ac_aux_dir/ltmain.sh"
|
5510 | 5268 |
|
5511 | |
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
|
5269 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
5512 | 5270 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
5513 | |
if test "${ac_cv_path_SED+set}" = set; then
|
|
5271 |
if test "${ac_cv_path_SED+set}" = set; then :
|
5514 | 5272 |
$as_echo_n "(cached) " >&6
|
5515 | 5273 |
else
|
5516 | 5274 |
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
|
|
5518 | 5276 |
ac_script="$ac_script$as_nl$ac_script"
|
5519 | 5277 |
done
|
5520 | 5278 |
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
|
5521 | |
$as_unset ac_script || ac_script=
|
|
5279 |
{ ac_script=; unset ac_script;}
|
5522 | 5280 |
if test -z "$SED"; then
|
5523 | 5281 |
ac_path_SED_found=false
|
5524 | 5282 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
5527 | 5285 |
do
|
5528 | 5286 |
IFS=$as_save_IFS
|
5529 | 5287 |
test -z "$as_dir" && as_dir=.
|
5530 | |
for ac_prog in sed gsed; do
|
|
5288 |
for ac_prog in sed gsed; do
|
5531 | 5289 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5532 | 5290 |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
|
5533 | 5291 |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
|
|
5547 | 5305 |
$as_echo '' >> "conftest.nl"
|
5548 | 5306 |
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5549 | 5307 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5550 | |
ac_count=`expr $ac_count + 1`
|
|
5308 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5551 | 5309 |
if test $ac_count -gt ${ac_path_SED_max-0}; then
|
5552 | 5310 |
# Best one so far, save it but keep looking for a better one
|
5553 | 5311 |
ac_cv_path_SED="$ac_path_SED"
|
|
5562 | 5320 |
$ac_path_SED_found && break 3
|
5563 | 5321 |
done
|
5564 | 5322 |
done
|
5565 | |
done
|
|
5323 |
done
|
5566 | 5324 |
IFS=$as_save_IFS
|
5567 | 5325 |
if test -z "$ac_cv_path_SED"; then
|
5568 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
|
5569 | |
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
|
5570 | |
{ (exit 1); exit 1; }; }
|
|
5326 |
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
|
5571 | 5327 |
fi
|
5572 | 5328 |
else
|
5573 | 5329 |
ac_cv_path_SED=$SED
|
5574 | 5330 |
fi
|
5575 | 5331 |
|
5576 | 5332 |
fi
|
5577 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
|
|
5333 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
|
5578 | 5334 |
$as_echo "$ac_cv_path_SED" >&6; }
|
5579 | 5335 |
SED="$ac_cv_path_SED"
|
5580 | 5336 |
rm -f conftest.sed
|
|
5592 | 5348 |
|
5593 | 5349 |
|
5594 | 5350 |
|
5595 | |
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
|
|
5351 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
|
5596 | 5352 |
$as_echo_n "checking for fgrep... " >&6; }
|
5597 | |
if test "${ac_cv_path_FGREP+set}" = set; then
|
|
5353 |
if test "${ac_cv_path_FGREP+set}" = set; then :
|
5598 | 5354 |
$as_echo_n "(cached) " >&6
|
5599 | 5355 |
else
|
5600 | 5356 |
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
|
|
5608 | 5364 |
do
|
5609 | 5365 |
IFS=$as_save_IFS
|
5610 | 5366 |
test -z "$as_dir" && as_dir=.
|
5611 | |
for ac_prog in fgrep; do
|
|
5367 |
for ac_prog in fgrep; do
|
5612 | 5368 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5613 | 5369 |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
|
5614 | 5370 |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
|
|
5628 | 5384 |
$as_echo 'FGREP' >> "conftest.nl"
|
5629 | 5385 |
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5630 | 5386 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5631 | |
ac_count=`expr $ac_count + 1`
|
|
5387 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5632 | 5388 |
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
|
5633 | 5389 |
# Best one so far, save it but keep looking for a better one
|
5634 | 5390 |
ac_cv_path_FGREP="$ac_path_FGREP"
|
|
5643 | 5399 |
$ac_path_FGREP_found && break 3
|
5644 | 5400 |
done
|
5645 | 5401 |
done
|
5646 | |
done
|
|
5402 |
done
|
5647 | 5403 |
IFS=$as_save_IFS
|
5648 | 5404 |
if test -z "$ac_cv_path_FGREP"; then
|
5649 | |
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
5650 | |
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
5651 | |
{ (exit 1); exit 1; }; }
|
|
5405 |
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5652 | 5406 |
fi
|
5653 | 5407 |
else
|
5654 | 5408 |
ac_cv_path_FGREP=$FGREP
|
|
5656 | 5410 |
|
5657 | 5411 |
fi
|
5658 | 5412 |
fi
|
5659 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
|
|
5413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
|
5660 | 5414 |
$as_echo "$ac_cv_path_FGREP" >&6; }
|
5661 | 5415 |
FGREP="$ac_cv_path_FGREP"
|
5662 | 5416 |
|
|
5682 | 5436 |
|
5683 | 5437 |
|
5684 | 5438 |
# Check whether --with-gnu-ld was given.
|
5685 | |
if test "${with_gnu_ld+set}" = set; then
|
|
5439 |
if test "${with_gnu_ld+set}" = set; then :
|
5686 | 5440 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
5687 | 5441 |
else
|
5688 | 5442 |
with_gnu_ld=no
|
|
5691 | 5445 |
ac_prog=ld
|
5692 | 5446 |
if test "$GCC" = yes; then
|
5693 | 5447 |
# Check if gcc -print-prog-name=ld gives a path.
|
5694 | |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
|
|
5448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
5695 | 5449 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
5696 | 5450 |
case $host in
|
5697 | 5451 |
*-*-mingw*)
|
|
5721 | 5475 |
;;
|
5722 | 5476 |
esac
|
5723 | 5477 |
elif test "$with_gnu_ld" = yes; then
|
5724 | |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
|
|
5478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
5725 | 5479 |
$as_echo_n "checking for GNU ld... " >&6; }
|
5726 | 5480 |
else
|
5727 | |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
|
5481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
5728 | 5482 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
5729 | 5483 |
fi
|
5730 | |
if test "${lt_cv_path_LD+set}" = set; then
|
|
5484 |
if test "${lt_cv_path_LD+set}" = set; then :
|
5731 | 5485 |
$as_echo_n "(cached) " >&6
|
5732 | 5486 |
else
|
5733 | 5487 |
if test -z "$LD"; then
|
|
5758 | 5512 |
|
5759 | 5513 |
LD="$lt_cv_path_LD"
|
5760 | 5514 |
if test -n "$LD"; then
|
5761 | |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
|
|
5515 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
5762 | 5516 |
$as_echo "$LD" >&6; }
|
5763 | 5517 |
else
|
5764 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5518 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5765 | 5519 |
$as_echo "no" >&6; }
|
5766 | 5520 |
fi
|
5767 | |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
5768 | |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
5769 | |
{ (exit 1); exit 1; }; }
|
5770 | |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
|
5521 |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
|
|
5522 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
5771 | 5523 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
5772 | |
if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
|
5524 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
|
5773 | 5525 |
$as_echo_n "(cached) " >&6
|
5774 | 5526 |
else
|
5775 | 5527 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
|
5782 | 5534 |
;;
|
5783 | 5535 |
esac
|
5784 | 5536 |
fi
|
5785 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
|
5537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
5786 | 5538 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
5787 | 5539 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
5788 | 5540 |
|
|
5794 | 5546 |
|
5795 | 5547 |
|
5796 | 5548 |
|
5797 | |
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
|
|
5549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
|
5798 | 5550 |
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
|
5799 | |
if test "${lt_cv_path_NM+set}" = set; then
|
|
5551 |
if test "${lt_cv_path_NM+set}" = set; then :
|
5800 | 5552 |
$as_echo_n "(cached) " >&6
|
5801 | 5553 |
else
|
5802 | 5554 |
if test -n "$NM"; then
|
|
5843 | 5595 |
: ${lt_cv_path_NM=no}
|
5844 | 5596 |
fi
|
5845 | 5597 |
fi
|
5846 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
|
|
5598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
5847 | 5599 |
$as_echo "$lt_cv_path_NM" >&6; }
|
5848 | 5600 |
if test "$lt_cv_path_NM" != "no"; then
|
5849 | 5601 |
NM="$lt_cv_path_NM"
|
|
5854 | 5606 |
do
|
5855 | 5607 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
5856 | 5608 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
5857 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5609 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5858 | 5610 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5859 | |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
|
|
5611 |
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
|
5860 | 5612 |
$as_echo_n "(cached) " >&6
|
5861 | 5613 |
else
|
5862 | 5614 |
if test -n "$DUMPBIN"; then
|
|
5867 | 5619 |
do
|
5868 | 5620 |
IFS=$as_save_IFS
|
5869 | 5621 |
test -z "$as_dir" && as_dir=.
|
5870 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5622 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5871 | 5623 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5872 | 5624 |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
|
5873 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5625 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5874 | 5626 |
break 2
|
5875 | 5627 |
fi
|
5876 | 5628 |
done
|
5877 | |
done
|
|
5629 |
done
|
5878 | 5630 |
IFS=$as_save_IFS
|
5879 | 5631 |
|
5880 | 5632 |
fi
|
5881 | 5633 |
fi
|
5882 | 5634 |
DUMPBIN=$ac_cv_prog_DUMPBIN
|
5883 | 5635 |
if test -n "$DUMPBIN"; then
|
5884 | |
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
|
|
5636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
|
5885 | 5637 |
$as_echo "$DUMPBIN" >&6; }
|
5886 | 5638 |
else
|
5887 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5639 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5888 | 5640 |
$as_echo "no" >&6; }
|
5889 | 5641 |
fi
|
5890 | 5642 |
|
|
5898 | 5650 |
do
|
5899 | 5651 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5900 | 5652 |
set dummy $ac_prog; ac_word=$2
|
5901 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5902 | 5654 |
$as_echo_n "checking for $ac_word... " >&6; }
|
5903 | |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
|
|
5655 |
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
|
5904 | 5656 |
$as_echo_n "(cached) " >&6
|
5905 | 5657 |
else
|
5906 | 5658 |
if test -n "$ac_ct_DUMPBIN"; then
|
|
5911 | 5663 |
do
|
5912 | 5664 |
IFS=$as_save_IFS
|
5913 | 5665 |
test -z "$as_dir" && as_dir=.
|
5914 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5666 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5915 | 5667 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5916 | 5668 |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
|
5917 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5669 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5918 | 5670 |
break 2
|
5919 | 5671 |
fi
|
5920 | 5672 |
done
|
5921 | |
done
|
|
5673 |
done
|
5922 | 5674 |
IFS=$as_save_IFS
|
5923 | 5675 |
|
5924 | 5676 |
fi
|
5925 | 5677 |
fi
|
5926 | 5678 |
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
|
5927 | 5679 |
if test -n "$ac_ct_DUMPBIN"; then
|
5928 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
|
|
5680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
|
5929 | 5681 |
$as_echo "$ac_ct_DUMPBIN" >&6; }
|
5930 | 5682 |
else
|
5931 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
5683 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5932 | 5684 |
$as_echo "no" >&6; }
|
5933 | 5685 |
fi
|
5934 | 5686 |
|
|
5941 | 5693 |
else
|
5942 | 5694 |
case $cross_compiling:$ac_tool_warned in
|
5943 | 5695 |
yes:)
|
5944 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
5945 | 5697 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5946 | 5698 |
ac_tool_warned=yes ;;
|
5947 | 5699 |
esac
|
|
5961 | 5713 |
|
5962 | 5714 |
|
5963 | 5715 |
|
5964 | |
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
|
|
5716 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
|
5965 | 5717 |
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
|
5966 | |
if test "${lt_cv_nm_interface+set}" = set; then
|
|
5718 |
if test "${lt_cv_nm_interface+set}" = set; then :
|
5967 | 5719 |
$as_echo_n "(cached) " >&6
|
5968 | 5720 |
else
|
5969 | 5721 |
lt_cv_nm_interface="BSD nm"
|
5970 | 5722 |
echo "int some_variable = 0;" > conftest.$ac_ext
|
5971 | |
(eval echo "\"\$as_me:5972: $ac_compile\"" >&5)
|
|
5723 |
(eval echo "\"\$as_me:5724: $ac_compile\"" >&5)
|
5972 | 5724 |
(eval "$ac_compile" 2>conftest.err)
|
5973 | 5725 |
cat conftest.err >&5
|
5974 | |
(eval echo "\"\$as_me:5975: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
|
5726 |
(eval echo "\"\$as_me:5727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
5975 | 5727 |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
5976 | 5728 |
cat conftest.err >&5
|
5977 | |
(eval echo "\"\$as_me:5978: output\"" >&5)
|
|
5729 |
(eval echo "\"\$as_me:5730: output\"" >&5)
|
5978 | 5730 |
cat conftest.out >&5
|
5979 | 5731 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
5980 | 5732 |
lt_cv_nm_interface="MS dumpbin"
|
5981 | 5733 |
fi
|
5982 | 5734 |
rm -f conftest*
|
5983 | 5735 |
fi
|
5984 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
|
|
5736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
|
5985 | 5737 |
$as_echo "$lt_cv_nm_interface" >&6; }
|
5986 | 5738 |
|
5987 | |
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
|
5739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
5988 | 5740 |
$as_echo_n "checking whether ln -s works... " >&6; }
|
5989 | 5741 |
LN_S=$as_ln_s
|
5990 | 5742 |
if test "$LN_S" = "ln -s"; then
|
5991 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
5743 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5992 | 5744 |
$as_echo "yes" >&6; }
|
5993 | 5745 |
else
|
5994 | |
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
|
5746 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
5995 | 5747 |
$as_echo "no, using $LN_S" >&6; }
|
5996 | 5748 |
fi
|
5997 | 5749 |
|
5998 | 5750 |
# find the maximum length of command line arguments
|
5999 | |
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
|
|
5751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
6000 | 5752 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
6001 | |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
|
|
5753 |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
|
6002 | 5754 |
$as_echo_n "(cached) " >&6
|
6003 | 5755 |
else
|
6004 | 5756 |
i=0
|
|
6116 | 5868 |
fi
|
6117 | 5869 |
|
6118 | 5870 |
if test -n $lt_cv_sys_max_cmd_len ; then
|
6119 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
|
|
5871 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
6120 | 5872 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
6121 | 5873 |
else
|
6122 | |
{ $as_echo "$as_me:$LINENO: result: none" >&5
|
|
5874 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
6123 | 5875 |
$as_echo "none" >&6; }
|
6124 | 5876 |
fi
|
6125 | 5877 |
max_cmd_len=$lt_cv_sys_max_cmd_len
|
|
6133 | 5885 |
: ${MV="mv -f"}
|
6134 | 5886 |
: ${RM="rm -f"}
|
6135 | 5887 |
|
6136 | |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
|
|
5888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
|
6137 | 5889 |
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
|
6138 | 5890 |
# Try some XSI features
|
6139 | 5891 |
xsi_shell=no
|
|
6143 | 5895 |
&& eval 'test $(( 1 + 1 )) -eq 2 \
|
6144 | 5896 |
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
|
6145 | 5897 |
&& xsi_shell=yes
|
6146 | |
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
|
|
5898 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
|
6147 | 5899 |
$as_echo "$xsi_shell" >&6; }
|
6148 | 5900 |
|
6149 | 5901 |
|
6150 | |
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
|
|
5902 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
|
6151 | 5903 |
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
|
6152 | 5904 |
lt_shell_append=no
|
6153 | 5905 |
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
|
6154 | 5906 |
>/dev/null 2>&1 \
|
6155 | 5907 |
&& lt_shell_append=yes
|
6156 | |
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
|
|
5908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
|
6157 | 5909 |
$as_echo "$lt_shell_append" >&6; }
|
6158 | 5910 |
|
6159 | 5911 |
|
|
6188 | 5940 |
|
6189 | 5941 |
|
6190 | 5942 |
|
6191 | |
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
|
|
5943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
6192 | 5944 |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
6193 | |
if test "${lt_cv_ld_reload_flag+set}" = set; then
|
|
5945 |
if test "${lt_cv_ld_reload_flag+set}" = set; then :
|
6194 | 5946 |
$as_echo_n "(cached) " >&6
|
6195 | 5947 |
else
|
6196 | 5948 |
lt_cv_ld_reload_flag='-r'
|
6197 | 5949 |
fi
|
6198 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
|
|
5950 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
6199 | 5951 |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
6200 | 5952 |
reload_flag=$lt_cv_ld_reload_flag
|
6201 | 5953 |
case $reload_flag in
|
|
6224 | 5976 |
if test -n "$ac_tool_prefix"; then
|
6225 | 5977 |
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
|
6226 | 5978 |
set dummy ${ac_tool_prefix}objdump; ac_word=$2
|
6227 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
5979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6228 | 5980 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6229 | |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
|
|
5981 |
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
|
6230 | 5982 |
$as_echo_n "(cached) " >&6
|
6231 | 5983 |
else
|
6232 | 5984 |
if test -n "$OBJDUMP"; then
|
|
6237 | 5989 |
do
|
6238 | 5990 |
IFS=$as_save_IFS
|
6239 | 5991 |
test -z "$as_dir" && as_dir=.
|
6240 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5992 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6241 | 5993 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6242 | 5994 |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
|
6243 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5995 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6244 | 5996 |
break 2
|
6245 | 5997 |
fi
|
6246 | 5998 |
done
|
6247 | |
done
|
|
5999 |
done
|
6248 | 6000 |
IFS=$as_save_IFS
|
6249 | 6001 |
|
6250 | 6002 |
fi
|
6251 | 6003 |
fi
|
6252 | 6004 |
OBJDUMP=$ac_cv_prog_OBJDUMP
|
6253 | 6005 |
if test -n "$OBJDUMP"; then
|
6254 | |
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
|
|
6006 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
|
6255 | 6007 |
$as_echo "$OBJDUMP" >&6; }
|
6256 | 6008 |
else
|
6257 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6258 | 6010 |
$as_echo "no" >&6; }
|
6259 | 6011 |
fi
|
6260 | 6012 |
|
|
6264 | 6016 |
ac_ct_OBJDUMP=$OBJDUMP
|
6265 | 6017 |
# Extract the first word of "objdump", so it can be a program name with args.
|
6266 | 6018 |
set dummy objdump; ac_word=$2
|
6267 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6019 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6268 | 6020 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6269 | |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
|
|
6021 |
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
|
6270 | 6022 |
$as_echo_n "(cached) " >&6
|
6271 | 6023 |
else
|
6272 | 6024 |
if test -n "$ac_ct_OBJDUMP"; then
|
|
6277 | 6029 |
do
|
6278 | 6030 |
IFS=$as_save_IFS
|
6279 | 6031 |
test -z "$as_dir" && as_dir=.
|
6280 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6032 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6281 | 6033 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6282 | 6034 |
ac_cv_prog_ac_ct_OBJDUMP="objdump"
|
6283 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6035 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6284 | 6036 |
break 2
|
6285 | 6037 |
fi
|
6286 | 6038 |
done
|
6287 | |
done
|
|
6039 |
done
|
6288 | 6040 |
IFS=$as_save_IFS
|
6289 | 6041 |
|
6290 | 6042 |
fi
|
6291 | 6043 |
fi
|
6292 | 6044 |
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
|
6293 | 6045 |
if test -n "$ac_ct_OBJDUMP"; then
|
6294 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
|
|
6046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
|
6295 | 6047 |
$as_echo "$ac_ct_OBJDUMP" >&6; }
|
6296 | 6048 |
else
|
6297 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6298 | 6050 |
$as_echo "no" >&6; }
|
6299 | 6051 |
fi
|
6300 | 6052 |
|
|
6303 | 6055 |
else
|
6304 | 6056 |
case $cross_compiling:$ac_tool_warned in
|
6305 | 6057 |
yes:)
|
6306 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6058 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6307 | 6059 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6308 | 6060 |
ac_tool_warned=yes ;;
|
6309 | 6061 |
esac
|
|
6323 | 6075 |
|
6324 | 6076 |
|
6325 | 6077 |
|
6326 | |
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
|
|
6078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
6327 | 6079 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
6328 | |
if test "${lt_cv_deplibs_check_method+set}" = set; then
|
|
6080 |
if test "${lt_cv_deplibs_check_method+set}" = set; then :
|
6329 | 6081 |
$as_echo_n "(cached) " >&6
|
6330 | 6082 |
else
|
6331 | 6083 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
|
6440 | 6192 |
;;
|
6441 | 6193 |
|
6442 | 6194 |
# This must be Linux ELF.
|
6443 | |
linux* | k*bsd*-gnu)
|
|
6195 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
6444 | 6196 |
lt_cv_deplibs_check_method=pass_all
|
6445 | 6197 |
;;
|
6446 | 6198 |
|
6447 | |
netbsd*)
|
|
6199 |
netbsd* | netbsdelf*-gnu)
|
6448 | 6200 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
|
6449 | 6201 |
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
6450 | 6202 |
else
|
|
6519 | 6271 |
esac
|
6520 | 6272 |
|
6521 | 6273 |
fi
|
6522 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
|
|
6274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
6523 | 6275 |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
6524 | 6276 |
file_magic_cmd=$lt_cv_file_magic_cmd
|
6525 | 6277 |
deplibs_check_method=$lt_cv_deplibs_check_method
|
|
6539 | 6291 |
if test -n "$ac_tool_prefix"; then
|
6540 | 6292 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
6541 | 6293 |
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
6542 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6294 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6543 | 6295 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6544 | |
if test "${ac_cv_prog_AR+set}" = set; then
|
|
6296 |
if test "${ac_cv_prog_AR+set}" = set; then :
|
6545 | 6297 |
$as_echo_n "(cached) " >&6
|
6546 | 6298 |
else
|
6547 | 6299 |
if test -n "$AR"; then
|
|
6552 | 6304 |
do
|
6553 | 6305 |
IFS=$as_save_IFS
|
6554 | 6306 |
test -z "$as_dir" && as_dir=.
|
6555 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6307 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6556 | 6308 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6557 | 6309 |
ac_cv_prog_AR="${ac_tool_prefix}ar"
|
6558 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6310 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6559 | 6311 |
break 2
|
6560 | 6312 |
fi
|
6561 | 6313 |
done
|
6562 | |
done
|
|
6314 |
done
|
6563 | 6315 |
IFS=$as_save_IFS
|
6564 | 6316 |
|
6565 | 6317 |
fi
|
6566 | 6318 |
fi
|
6567 | 6319 |
AR=$ac_cv_prog_AR
|
6568 | 6320 |
if test -n "$AR"; then
|
6569 | |
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
|
|
6321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
6570 | 6322 |
$as_echo "$AR" >&6; }
|
6571 | 6323 |
else
|
6572 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6573 | 6325 |
$as_echo "no" >&6; }
|
6574 | 6326 |
fi
|
6575 | 6327 |
|
|
6579 | 6331 |
ac_ct_AR=$AR
|
6580 | 6332 |
# Extract the first word of "ar", so it can be a program name with args.
|
6581 | 6333 |
set dummy ar; ac_word=$2
|
6582 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6583 | 6335 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6584 | |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
|
|
6336 |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
|
6585 | 6337 |
$as_echo_n "(cached) " >&6
|
6586 | 6338 |
else
|
6587 | 6339 |
if test -n "$ac_ct_AR"; then
|
|
6592 | 6344 |
do
|
6593 | 6345 |
IFS=$as_save_IFS
|
6594 | 6346 |
test -z "$as_dir" && as_dir=.
|
6595 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6347 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6596 | 6348 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6597 | 6349 |
ac_cv_prog_ac_ct_AR="ar"
|
6598 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6350 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6599 | 6351 |
break 2
|
6600 | 6352 |
fi
|
6601 | 6353 |
done
|
6602 | |
done
|
|
6354 |
done
|
6603 | 6355 |
IFS=$as_save_IFS
|
6604 | 6356 |
|
6605 | 6357 |
fi
|
6606 | 6358 |
fi
|
6607 | 6359 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
6608 | 6360 |
if test -n "$ac_ct_AR"; then
|
6609 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
|
|
6361 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
6610 | 6362 |
$as_echo "$ac_ct_AR" >&6; }
|
6611 | 6363 |
else
|
6612 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6613 | 6365 |
$as_echo "no" >&6; }
|
6614 | 6366 |
fi
|
6615 | 6367 |
|
|
6618 | 6370 |
else
|
6619 | 6371 |
case $cross_compiling:$ac_tool_warned in
|
6620 | 6372 |
yes:)
|
6621 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6622 | 6374 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6623 | 6375 |
ac_tool_warned=yes ;;
|
6624 | 6376 |
esac
|
|
6644 | 6396 |
if test -n "$ac_tool_prefix"; then
|
6645 | 6397 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
6646 | 6398 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
6647 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6648 | 6400 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6649 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
|
6401 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
6650 | 6402 |
$as_echo_n "(cached) " >&6
|
6651 | 6403 |
else
|
6652 | 6404 |
if test -n "$STRIP"; then
|
|
6657 | 6409 |
do
|
6658 | 6410 |
IFS=$as_save_IFS
|
6659 | 6411 |
test -z "$as_dir" && as_dir=.
|
6660 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6412 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6661 | 6413 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6662 | 6414 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
6663 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6415 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6664 | 6416 |
break 2
|
6665 | 6417 |
fi
|
6666 | 6418 |
done
|
6667 | |
done
|
|
6419 |
done
|
6668 | 6420 |
IFS=$as_save_IFS
|
6669 | 6421 |
|
6670 | 6422 |
fi
|
6671 | 6423 |
fi
|
6672 | 6424 |
STRIP=$ac_cv_prog_STRIP
|
6673 | 6425 |
if test -n "$STRIP"; then
|
6674 | |
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
|
|
6426 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
6675 | 6427 |
$as_echo "$STRIP" >&6; }
|
6676 | 6428 |
else
|
6677 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6678 | 6430 |
$as_echo "no" >&6; }
|
6679 | 6431 |
fi
|
6680 | 6432 |
|
|
6684 | 6436 |
ac_ct_STRIP=$STRIP
|
6685 | 6437 |
# Extract the first word of "strip", so it can be a program name with args.
|
6686 | 6438 |
set dummy strip; ac_word=$2
|
6687 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6439 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6688 | 6440 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6689 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
|
6441 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
6690 | 6442 |
$as_echo_n "(cached) " >&6
|
6691 | 6443 |
else
|
6692 | 6444 |
if test -n "$ac_ct_STRIP"; then
|
|
6697 | 6449 |
do
|
6698 | 6450 |
IFS=$as_save_IFS
|
6699 | 6451 |
test -z "$as_dir" && as_dir=.
|
6700 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6452 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6701 | 6453 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6702 | 6454 |
ac_cv_prog_ac_ct_STRIP="strip"
|
6703 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6455 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6704 | 6456 |
break 2
|
6705 | 6457 |
fi
|
6706 | 6458 |
done
|
6707 | |
done
|
|
6459 |
done
|
6708 | 6460 |
IFS=$as_save_IFS
|
6709 | 6461 |
|
6710 | 6462 |
fi
|
6711 | 6463 |
fi
|
6712 | 6464 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
6713 | 6465 |
if test -n "$ac_ct_STRIP"; then
|
6714 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
|
6466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
6715 | 6467 |
$as_echo "$ac_ct_STRIP" >&6; }
|
6716 | 6468 |
else
|
6717 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6718 | 6470 |
$as_echo "no" >&6; }
|
6719 | 6471 |
fi
|
6720 | 6472 |
|
|
6723 | 6475 |
else
|
6724 | 6476 |
case $cross_compiling:$ac_tool_warned in
|
6725 | 6477 |
yes:)
|
6726 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6478 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6727 | 6479 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6728 | 6480 |
ac_tool_warned=yes ;;
|
6729 | 6481 |
esac
|
|
6743 | 6495 |
if test -n "$ac_tool_prefix"; then
|
6744 | 6496 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
6745 | 6497 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6746 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6747 | 6499 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6748 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
|
6500 |
if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
6749 | 6501 |
$as_echo_n "(cached) " >&6
|
6750 | 6502 |
else
|
6751 | 6503 |
if test -n "$RANLIB"; then
|
|
6756 | 6508 |
do
|
6757 | 6509 |
IFS=$as_save_IFS
|
6758 | 6510 |
test -z "$as_dir" && as_dir=.
|
6759 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6511 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6760 | 6512 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6761 | 6513 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
6762 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6514 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6763 | 6515 |
break 2
|
6764 | 6516 |
fi
|
6765 | 6517 |
done
|
6766 | |
done
|
|
6518 |
done
|
6767 | 6519 |
IFS=$as_save_IFS
|
6768 | 6520 |
|
6769 | 6521 |
fi
|
6770 | 6522 |
fi
|
6771 | 6523 |
RANLIB=$ac_cv_prog_RANLIB
|
6772 | 6524 |
if test -n "$RANLIB"; then
|
6773 | |
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
|
|
6525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
6774 | 6526 |
$as_echo "$RANLIB" >&6; }
|
6775 | 6527 |
else
|
6776 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6777 | 6529 |
$as_echo "no" >&6; }
|
6778 | 6530 |
fi
|
6779 | 6531 |
|
|
6783 | 6535 |
ac_ct_RANLIB=$RANLIB
|
6784 | 6536 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
6785 | 6537 |
set dummy ranlib; ac_word=$2
|
6786 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
6538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
6787 | 6539 |
$as_echo_n "checking for $ac_word... " >&6; }
|
6788 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
|
6540 |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
6789 | 6541 |
$as_echo_n "(cached) " >&6
|
6790 | 6542 |
else
|
6791 | 6543 |
if test -n "$ac_ct_RANLIB"; then
|
|
6796 | 6548 |
do
|
6797 | 6549 |
IFS=$as_save_IFS
|
6798 | 6550 |
test -z "$as_dir" && as_dir=.
|
6799 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6551 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6800 | 6552 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
6801 | 6553 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
6802 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6554 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6803 | 6555 |
break 2
|
6804 | 6556 |
fi
|
6805 | 6557 |
done
|
6806 | |
done
|
|
6558 |
done
|
6807 | 6559 |
IFS=$as_save_IFS
|
6808 | 6560 |
|
6809 | 6561 |
fi
|
6810 | 6562 |
fi
|
6811 | 6563 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
6812 | 6564 |
if test -n "$ac_ct_RANLIB"; then
|
6813 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
|
6565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
6814 | 6566 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
6815 | 6567 |
else
|
6816 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
6568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
6817 | 6569 |
$as_echo "no" >&6; }
|
6818 | 6570 |
fi
|
6819 | 6571 |
|
|
6822 | 6574 |
else
|
6823 | 6575 |
case $cross_compiling:$ac_tool_warned in
|
6824 | 6576 |
yes:)
|
6825 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
6826 | 6578 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6827 | 6579 |
ac_tool_warned=yes ;;
|
6828 | 6580 |
esac
|
|
6900 | 6652 |
|
6901 | 6653 |
|
6902 | 6654 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
6903 | |
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
|
|
6655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
6904 | 6656 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
6905 | |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
|
|
6657 |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
|
6906 | 6658 |
$as_echo_n "(cached) " >&6
|
6907 | 6659 |
else
|
6908 | 6660 |
|
|
7018 | 6770 |
int main(){nm_test_var='a';nm_test_func();return(0);}
|
7019 | 6771 |
_LT_EOF
|
7020 | 6772 |
|
7021 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6773 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7022 | 6774 |
(eval $ac_compile) 2>&5
|
7023 | 6775 |
ac_status=$?
|
7024 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7025 | |
(exit $ac_status); }; then
|
|
6776 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6777 |
test $ac_status = 0; }; then
|
7026 | 6778 |
# Now try to grab the symbols.
|
7027 | 6779 |
nlist=conftest.nm
|
7028 | |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
|
|
6780 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
|
7029 | 6781 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
|
7030 | 6782 |
ac_status=$?
|
7031 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7032 | |
(exit $ac_status); } && test -s "$nlist"; then
|
|
6783 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6784 |
test $ac_status = 0; } && test -s "$nlist"; then
|
7033 | 6785 |
# Try sorting and uniquifying the output.
|
7034 | 6786 |
if sort "$nlist" | uniq > "$nlist"T; then
|
7035 | 6787 |
mv -f "$nlist"T "$nlist"
|
|
7050 | 6802 |
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
|
7051 | 6803 |
|
7052 | 6804 |
cat <<_LT_EOF >> conftest.$ac_ext
|
|
6805 |
|
7053 | 6806 |
/* The mapping between symbol names and symbols. */
|
7054 | 6807 |
const struct {
|
7055 | 6808 |
const char *name;
|
|
7081 | 6834 |
lt_save_CFLAGS="$CFLAGS"
|
7082 | 6835 |
LIBS="conftstm.$ac_objext"
|
7083 | 6836 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
7084 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6837 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
7085 | 6838 |
(eval $ac_link) 2>&5
|
7086 | 6839 |
ac_status=$?
|
7087 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7088 | |
(exit $ac_status); } && test -s conftest${ac_exeext}; then
|
|
6840 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6841 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
7089 | 6842 |
pipe_works=yes
|
7090 | 6843 |
fi
|
7091 | 6844 |
LIBS="$lt_save_LIBS"
|
|
7119 | 6872 |
lt_cv_sys_global_symbol_to_cdecl=
|
7120 | 6873 |
fi
|
7121 | 6874 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
7122 | |
{ $as_echo "$as_me:$LINENO: result: failed" >&5
|
|
6875 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
7123 | 6876 |
$as_echo "failed" >&6; }
|
7124 | 6877 |
else
|
7125 | |
{ $as_echo "$as_me:$LINENO: result: ok" >&5
|
|
6878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
7126 | 6879 |
$as_echo "ok" >&6; }
|
7127 | 6880 |
fi
|
7128 | 6881 |
|
|
7148 | 6901 |
|
7149 | 6902 |
|
7150 | 6903 |
# Check whether --enable-libtool-lock was given.
|
7151 | |
if test "${enable_libtool_lock+set}" = set; then
|
|
6904 |
if test "${enable_libtool_lock+set}" = set; then :
|
7152 | 6905 |
enableval=$enable_libtool_lock;
|
7153 | 6906 |
fi
|
7154 | 6907 |
|
|
7160 | 6913 |
ia64-*-hpux*)
|
7161 | 6914 |
# Find out which ABI we are using.
|
7162 | 6915 |
echo 'int i;' > conftest.$ac_ext
|
7163 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6916 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7164 | 6917 |
(eval $ac_compile) 2>&5
|
7165 | 6918 |
ac_status=$?
|
7166 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7167 | |
(exit $ac_status); }; then
|
|
6919 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6920 |
test $ac_status = 0; }; then
|
7168 | 6921 |
case `/usr/bin/file conftest.$ac_objext` in
|
7169 | 6922 |
*ELF-32*)
|
7170 | 6923 |
HPUX_IA64_MODE="32"
|
|
7178 | 6931 |
;;
|
7179 | 6932 |
*-*-irix6*)
|
7180 | 6933 |
# Find out which ABI we are using.
|
7181 | |
echo '#line 7182 "configure"' > conftest.$ac_ext
|
7182 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6934 |
echo '#line 6935 "configure"' > conftest.$ac_ext
|
|
6935 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7183 | 6936 |
(eval $ac_compile) 2>&5
|
7184 | 6937 |
ac_status=$?
|
7185 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7186 | |
(exit $ac_status); }; then
|
|
6938 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6939 |
test $ac_status = 0; }; then
|
7187 | 6940 |
if test "$lt_cv_prog_gnu_ld" = yes; then
|
7188 | 6941 |
case `/usr/bin/file conftest.$ac_objext` in
|
7189 | 6942 |
*32-bit*)
|
|
7217 | 6970 |
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
|
7218 | 6971 |
# Find out which ABI we are using.
|
7219 | 6972 |
echo 'int i;' > conftest.$ac_ext
|
7220 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6973 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7221 | 6974 |
(eval $ac_compile) 2>&5
|
7222 | 6975 |
ac_status=$?
|
7223 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7224 | |
(exit $ac_status); }; then
|
|
6976 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6977 |
test $ac_status = 0; }; then
|
7225 | 6978 |
case `/usr/bin/file conftest.o` in
|
7226 | 6979 |
*32-bit*)
|
7227 | 6980 |
case $host in
|
|
7270 | 7023 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
7271 | 7024 |
SAVE_CFLAGS="$CFLAGS"
|
7272 | 7025 |
CFLAGS="$CFLAGS -belf"
|
7273 | |
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
|
|
7026 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
7274 | 7027 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
7275 | |
if test "${lt_cv_cc_needs_belf+set}" = set; then
|
|
7028 |
if test "${lt_cv_cc_needs_belf+set}" = set; then :
|
7276 | 7029 |
$as_echo_n "(cached) " >&6
|
7277 | 7030 |
else
|
7278 | 7031 |
ac_ext=c
|
|
7281 | 7034 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
7282 | 7035 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7283 | 7036 |
|
7284 | |
cat >conftest.$ac_ext <<_ACEOF
|
7285 | |
/* confdefs.h. */
|
7286 | |
_ACEOF
|
7287 | |
cat confdefs.h >>conftest.$ac_ext
|
7288 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7037 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7289 | 7038 |
/* end confdefs.h. */
|
7290 | 7039 |
|
7291 | 7040 |
int
|
|
7296 | 7045 |
return 0;
|
7297 | 7046 |
}
|
7298 | 7047 |
_ACEOF
|
7299 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7300 | |
if { (ac_try="$ac_link"
|
7301 | |
case "(($ac_try" in
|
7302 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7303 | |
*) ac_try_echo=$ac_try;;
|
7304 | |
esac
|
7305 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
7306 | |
$as_echo "$ac_try_echo") >&5
|
7307 | |
(eval "$ac_link") 2>conftest.er1
|
7308 | |
ac_status=$?
|
7309 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7310 | |
rm -f conftest.er1
|
7311 | |
cat conftest.err >&5
|
7312 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7313 | |
(exit $ac_status); } && {
|
7314 | |
test -z "$ac_c_werror_flag" ||
|
7315 | |
test ! -s conftest.err
|
7316 | |
} && test -s conftest$ac_exeext && {
|
7317 | |
test "$cross_compiling" = yes ||
|
7318 | |
$as_test_x conftest$ac_exeext
|
7319 | |
}; then
|
|
7048 |
if ac_fn_c_try_link "$LINENO"; then :
|
7320 | 7049 |
lt_cv_cc_needs_belf=yes
|
7321 | 7050 |
else
|
7322 | |
$as_echo "$as_me: failed program was:" >&5
|
7323 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7324 | |
|
7325 | |
lt_cv_cc_needs_belf=no
|
7326 | |
fi
|
7327 | |
|
7328 | |
rm -rf conftest.dSYM
|
7329 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7330 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7051 |
lt_cv_cc_needs_belf=no
|
|
7052 |
fi
|
|
7053 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7054 |
conftest$ac_exeext conftest.$ac_ext
|
7331 | 7055 |
ac_ext=c
|
7332 | 7056 |
ac_cpp='$CPP $CPPFLAGS'
|
7333 | 7057 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
7335 | 7059 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7336 | 7060 |
|
7337 | 7061 |
fi
|
7338 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
|
|
7062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
7339 | 7063 |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
7340 | 7064 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
7341 | 7065 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
|
7345 | 7069 |
sparc*-*solaris*)
|
7346 | 7070 |
# Find out which ABI we are using.
|
7347 | 7071 |
echo 'int i;' > conftest.$ac_ext
|
7348 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
7072 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
7349 | 7073 |
(eval $ac_compile) 2>&5
|
7350 | 7074 |
ac_status=$?
|
7351 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7352 | |
(exit $ac_status); }; then
|
|
7075 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7076 |
test $ac_status = 0; }; then
|
7353 | 7077 |
case `/usr/bin/file conftest.o` in
|
7354 | 7078 |
*64-bit*)
|
7355 | 7079 |
case $lt_cv_prog_gnu_ld in
|
|
7375 | 7099 |
if test -n "$ac_tool_prefix"; then
|
7376 | 7100 |
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
|
7377 | 7101 |
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
|
7378 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7379 | 7103 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7380 | |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
|
|
7104 |
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
|
7381 | 7105 |
$as_echo_n "(cached) " >&6
|
7382 | 7106 |
else
|
7383 | 7107 |
if test -n "$DSYMUTIL"; then
|
|
7388 | 7112 |
do
|
7389 | 7113 |
IFS=$as_save_IFS
|
7390 | 7114 |
test -z "$as_dir" && as_dir=.
|
7391 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7115 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7392 | 7116 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7393 | 7117 |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
|
7394 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7118 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7395 | 7119 |
break 2
|
7396 | 7120 |
fi
|
7397 | 7121 |
done
|
7398 | |
done
|
|
7122 |
done
|
7399 | 7123 |
IFS=$as_save_IFS
|
7400 | 7124 |
|
7401 | 7125 |
fi
|
7402 | 7126 |
fi
|
7403 | 7127 |
DSYMUTIL=$ac_cv_prog_DSYMUTIL
|
7404 | 7128 |
if test -n "$DSYMUTIL"; then
|
7405 | |
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
|
|
7129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
|
7406 | 7130 |
$as_echo "$DSYMUTIL" >&6; }
|
7407 | 7131 |
else
|
7408 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7132 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7409 | 7133 |
$as_echo "no" >&6; }
|
7410 | 7134 |
fi
|
7411 | 7135 |
|
|
7415 | 7139 |
ac_ct_DSYMUTIL=$DSYMUTIL
|
7416 | 7140 |
# Extract the first word of "dsymutil", so it can be a program name with args.
|
7417 | 7141 |
set dummy dsymutil; ac_word=$2
|
7418 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7419 | 7143 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7420 | |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
|
|
7144 |
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
|
7421 | 7145 |
$as_echo_n "(cached) " >&6
|
7422 | 7146 |
else
|
7423 | 7147 |
if test -n "$ac_ct_DSYMUTIL"; then
|
|
7428 | 7152 |
do
|
7429 | 7153 |
IFS=$as_save_IFS
|
7430 | 7154 |
test -z "$as_dir" && as_dir=.
|
7431 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7155 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7432 | 7156 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7433 | 7157 |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
|
7434 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7158 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7435 | 7159 |
break 2
|
7436 | 7160 |
fi
|
7437 | 7161 |
done
|
7438 | |
done
|
|
7162 |
done
|
7439 | 7163 |
IFS=$as_save_IFS
|
7440 | 7164 |
|
7441 | 7165 |
fi
|
7442 | 7166 |
fi
|
7443 | 7167 |
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
|
7444 | 7168 |
if test -n "$ac_ct_DSYMUTIL"; then
|
7445 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
|
|
7169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
|
7446 | 7170 |
$as_echo "$ac_ct_DSYMUTIL" >&6; }
|
7447 | 7171 |
else
|
7448 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7449 | 7173 |
$as_echo "no" >&6; }
|
7450 | 7174 |
fi
|
7451 | 7175 |
|
|
7454 | 7178 |
else
|
7455 | 7179 |
case $cross_compiling:$ac_tool_warned in
|
7456 | 7180 |
yes:)
|
7457 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7181 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7458 | 7182 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7459 | 7183 |
ac_tool_warned=yes ;;
|
7460 | 7184 |
esac
|
|
7467 | 7191 |
if test -n "$ac_tool_prefix"; then
|
7468 | 7192 |
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
|
7469 | 7193 |
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
|
7470 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7471 | 7195 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7472 | |
if test "${ac_cv_prog_NMEDIT+set}" = set; then
|
|
7196 |
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
|
7473 | 7197 |
$as_echo_n "(cached) " >&6
|
7474 | 7198 |
else
|
7475 | 7199 |
if test -n "$NMEDIT"; then
|
|
7480 | 7204 |
do
|
7481 | 7205 |
IFS=$as_save_IFS
|
7482 | 7206 |
test -z "$as_dir" && as_dir=.
|
7483 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7207 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7484 | 7208 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7485 | 7209 |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
|
7486 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7210 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7487 | 7211 |
break 2
|
7488 | 7212 |
fi
|
7489 | 7213 |
done
|
7490 | |
done
|
|
7214 |
done
|
7491 | 7215 |
IFS=$as_save_IFS
|
7492 | 7216 |
|
7493 | 7217 |
fi
|
7494 | 7218 |
fi
|
7495 | 7219 |
NMEDIT=$ac_cv_prog_NMEDIT
|
7496 | 7220 |
if test -n "$NMEDIT"; then
|
7497 | |
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
|
|
7221 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
|
7498 | 7222 |
$as_echo "$NMEDIT" >&6; }
|
7499 | 7223 |
else
|
7500 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7224 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7501 | 7225 |
$as_echo "no" >&6; }
|
7502 | 7226 |
fi
|
7503 | 7227 |
|
|
7507 | 7231 |
ac_ct_NMEDIT=$NMEDIT
|
7508 | 7232 |
# Extract the first word of "nmedit", so it can be a program name with args.
|
7509 | 7233 |
set dummy nmedit; ac_word=$2
|
7510 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7234 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7511 | 7235 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7512 | |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
|
|
7236 |
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
|
7513 | 7237 |
$as_echo_n "(cached) " >&6
|
7514 | 7238 |
else
|
7515 | 7239 |
if test -n "$ac_ct_NMEDIT"; then
|
|
7520 | 7244 |
do
|
7521 | 7245 |
IFS=$as_save_IFS
|
7522 | 7246 |
test -z "$as_dir" && as_dir=.
|
7523 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7247 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7524 | 7248 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7525 | 7249 |
ac_cv_prog_ac_ct_NMEDIT="nmedit"
|
7526 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7250 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7527 | 7251 |
break 2
|
7528 | 7252 |
fi
|
7529 | 7253 |
done
|
7530 | |
done
|
|
7254 |
done
|
7531 | 7255 |
IFS=$as_save_IFS
|
7532 | 7256 |
|
7533 | 7257 |
fi
|
7534 | 7258 |
fi
|
7535 | 7259 |
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
|
7536 | 7260 |
if test -n "$ac_ct_NMEDIT"; then
|
7537 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
|
|
7261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
|
7538 | 7262 |
$as_echo "$ac_ct_NMEDIT" >&6; }
|
7539 | 7263 |
else
|
7540 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7541 | 7265 |
$as_echo "no" >&6; }
|
7542 | 7266 |
fi
|
7543 | 7267 |
|
|
7546 | 7270 |
else
|
7547 | 7271 |
case $cross_compiling:$ac_tool_warned in
|
7548 | 7272 |
yes:)
|
7549 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7273 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7550 | 7274 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7551 | 7275 |
ac_tool_warned=yes ;;
|
7552 | 7276 |
esac
|
|
7559 | 7283 |
if test -n "$ac_tool_prefix"; then
|
7560 | 7284 |
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
|
7561 | 7285 |
set dummy ${ac_tool_prefix}lipo; ac_word=$2
|
7562 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7286 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7563 | 7287 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7564 | |
if test "${ac_cv_prog_LIPO+set}" = set; then
|
|
7288 |
if test "${ac_cv_prog_LIPO+set}" = set; then :
|
7565 | 7289 |
$as_echo_n "(cached) " >&6
|
7566 | 7290 |
else
|
7567 | 7291 |
if test -n "$LIPO"; then
|
|
7572 | 7296 |
do
|
7573 | 7297 |
IFS=$as_save_IFS
|
7574 | 7298 |
test -z "$as_dir" && as_dir=.
|
7575 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7299 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7576 | 7300 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7577 | 7301 |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
|
7578 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7302 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7579 | 7303 |
break 2
|
7580 | 7304 |
fi
|
7581 | 7305 |
done
|
7582 | |
done
|
|
7306 |
done
|
7583 | 7307 |
IFS=$as_save_IFS
|
7584 | 7308 |
|
7585 | 7309 |
fi
|
7586 | 7310 |
fi
|
7587 | 7311 |
LIPO=$ac_cv_prog_LIPO
|
7588 | 7312 |
if test -n "$LIPO"; then
|
7589 | |
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
|
|
7313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
|
7590 | 7314 |
$as_echo "$LIPO" >&6; }
|
7591 | 7315 |
else
|
7592 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7316 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7593 | 7317 |
$as_echo "no" >&6; }
|
7594 | 7318 |
fi
|
7595 | 7319 |
|
|
7599 | 7323 |
ac_ct_LIPO=$LIPO
|
7600 | 7324 |
# Extract the first word of "lipo", so it can be a program name with args.
|
7601 | 7325 |
set dummy lipo; ac_word=$2
|
7602 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7326 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7603 | 7327 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7604 | |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
|
|
7328 |
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
|
7605 | 7329 |
$as_echo_n "(cached) " >&6
|
7606 | 7330 |
else
|
7607 | 7331 |
if test -n "$ac_ct_LIPO"; then
|
|
7612 | 7336 |
do
|
7613 | 7337 |
IFS=$as_save_IFS
|
7614 | 7338 |
test -z "$as_dir" && as_dir=.
|
7615 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7339 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7616 | 7340 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7617 | 7341 |
ac_cv_prog_ac_ct_LIPO="lipo"
|
7618 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7342 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7619 | 7343 |
break 2
|
7620 | 7344 |
fi
|
7621 | 7345 |
done
|
7622 | |
done
|
|
7346 |
done
|
7623 | 7347 |
IFS=$as_save_IFS
|
7624 | 7348 |
|
7625 | 7349 |
fi
|
7626 | 7350 |
fi
|
7627 | 7351 |
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
|
7628 | 7352 |
if test -n "$ac_ct_LIPO"; then
|
7629 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
|
|
7353 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
|
7630 | 7354 |
$as_echo "$ac_ct_LIPO" >&6; }
|
7631 | 7355 |
else
|
7632 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7633 | 7357 |
$as_echo "no" >&6; }
|
7634 | 7358 |
fi
|
7635 | 7359 |
|
|
7638 | 7362 |
else
|
7639 | 7363 |
case $cross_compiling:$ac_tool_warned in
|
7640 | 7364 |
yes:)
|
7641 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7365 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7642 | 7366 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7643 | 7367 |
ac_tool_warned=yes ;;
|
7644 | 7368 |
esac
|
|
7651 | 7375 |
if test -n "$ac_tool_prefix"; then
|
7652 | 7376 |
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
|
7653 | 7377 |
set dummy ${ac_tool_prefix}otool; ac_word=$2
|
7654 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7378 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7655 | 7379 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7656 | |
if test "${ac_cv_prog_OTOOL+set}" = set; then
|
|
7380 |
if test "${ac_cv_prog_OTOOL+set}" = set; then :
|
7657 | 7381 |
$as_echo_n "(cached) " >&6
|
7658 | 7382 |
else
|
7659 | 7383 |
if test -n "$OTOOL"; then
|
|
7664 | 7388 |
do
|
7665 | 7389 |
IFS=$as_save_IFS
|
7666 | 7390 |
test -z "$as_dir" && as_dir=.
|
7667 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7391 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7668 | 7392 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7669 | 7393 |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
|
7670 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7394 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7671 | 7395 |
break 2
|
7672 | 7396 |
fi
|
7673 | 7397 |
done
|
7674 | |
done
|
|
7398 |
done
|
7675 | 7399 |
IFS=$as_save_IFS
|
7676 | 7400 |
|
7677 | 7401 |
fi
|
7678 | 7402 |
fi
|
7679 | 7403 |
OTOOL=$ac_cv_prog_OTOOL
|
7680 | 7404 |
if test -n "$OTOOL"; then
|
7681 | |
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
|
|
7405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
|
7682 | 7406 |
$as_echo "$OTOOL" >&6; }
|
7683 | 7407 |
else
|
7684 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7685 | 7409 |
$as_echo "no" >&6; }
|
7686 | 7410 |
fi
|
7687 | 7411 |
|
|
7691 | 7415 |
ac_ct_OTOOL=$OTOOL
|
7692 | 7416 |
# Extract the first word of "otool", so it can be a program name with args.
|
7693 | 7417 |
set dummy otool; ac_word=$2
|
7694 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7695 | 7419 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7696 | |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
|
|
7420 |
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
|
7697 | 7421 |
$as_echo_n "(cached) " >&6
|
7698 | 7422 |
else
|
7699 | 7423 |
if test -n "$ac_ct_OTOOL"; then
|
|
7704 | 7428 |
do
|
7705 | 7429 |
IFS=$as_save_IFS
|
7706 | 7430 |
test -z "$as_dir" && as_dir=.
|
7707 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7431 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7708 | 7432 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7709 | 7433 |
ac_cv_prog_ac_ct_OTOOL="otool"
|
7710 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7434 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7711 | 7435 |
break 2
|
7712 | 7436 |
fi
|
7713 | 7437 |
done
|
7714 | |
done
|
|
7438 |
done
|
7715 | 7439 |
IFS=$as_save_IFS
|
7716 | 7440 |
|
7717 | 7441 |
fi
|
7718 | 7442 |
fi
|
7719 | 7443 |
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
|
7720 | 7444 |
if test -n "$ac_ct_OTOOL"; then
|
7721 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
|
|
7445 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
|
7722 | 7446 |
$as_echo "$ac_ct_OTOOL" >&6; }
|
7723 | 7447 |
else
|
7724 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7725 | 7449 |
$as_echo "no" >&6; }
|
7726 | 7450 |
fi
|
7727 | 7451 |
|
|
7730 | 7454 |
else
|
7731 | 7455 |
case $cross_compiling:$ac_tool_warned in
|
7732 | 7456 |
yes:)
|
7733 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7734 | 7458 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7735 | 7459 |
ac_tool_warned=yes ;;
|
7736 | 7460 |
esac
|
|
7743 | 7467 |
if test -n "$ac_tool_prefix"; then
|
7744 | 7468 |
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
|
7745 | 7469 |
set dummy ${ac_tool_prefix}otool64; ac_word=$2
|
7746 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7470 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7747 | 7471 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7748 | |
if test "${ac_cv_prog_OTOOL64+set}" = set; then
|
|
7472 |
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
|
7749 | 7473 |
$as_echo_n "(cached) " >&6
|
7750 | 7474 |
else
|
7751 | 7475 |
if test -n "$OTOOL64"; then
|
|
7756 | 7480 |
do
|
7757 | 7481 |
IFS=$as_save_IFS
|
7758 | 7482 |
test -z "$as_dir" && as_dir=.
|
7759 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7483 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7760 | 7484 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7761 | 7485 |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
|
7762 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7486 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7763 | 7487 |
break 2
|
7764 | 7488 |
fi
|
7765 | 7489 |
done
|
7766 | |
done
|
|
7490 |
done
|
7767 | 7491 |
IFS=$as_save_IFS
|
7768 | 7492 |
|
7769 | 7493 |
fi
|
7770 | 7494 |
fi
|
7771 | 7495 |
OTOOL64=$ac_cv_prog_OTOOL64
|
7772 | 7496 |
if test -n "$OTOOL64"; then
|
7773 | |
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
|
|
7497 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
|
7774 | 7498 |
$as_echo "$OTOOL64" >&6; }
|
7775 | 7499 |
else
|
7776 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7500 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7777 | 7501 |
$as_echo "no" >&6; }
|
7778 | 7502 |
fi
|
7779 | 7503 |
|
|
7783 | 7507 |
ac_ct_OTOOL64=$OTOOL64
|
7784 | 7508 |
# Extract the first word of "otool64", so it can be a program name with args.
|
7785 | 7509 |
set dummy otool64; ac_word=$2
|
7786 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
7787 | 7511 |
$as_echo_n "checking for $ac_word... " >&6; }
|
7788 | |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
|
|
7512 |
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
|
7789 | 7513 |
$as_echo_n "(cached) " >&6
|
7790 | 7514 |
else
|
7791 | 7515 |
if test -n "$ac_ct_OTOOL64"; then
|
|
7796 | 7520 |
do
|
7797 | 7521 |
IFS=$as_save_IFS
|
7798 | 7522 |
test -z "$as_dir" && as_dir=.
|
7799 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7523 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
7800 | 7524 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
7801 | 7525 |
ac_cv_prog_ac_ct_OTOOL64="otool64"
|
7802 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7526 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
7803 | 7527 |
break 2
|
7804 | 7528 |
fi
|
7805 | 7529 |
done
|
7806 | |
done
|
|
7530 |
done
|
7807 | 7531 |
IFS=$as_save_IFS
|
7808 | 7532 |
|
7809 | 7533 |
fi
|
7810 | 7534 |
fi
|
7811 | 7535 |
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
|
7812 | 7536 |
if test -n "$ac_ct_OTOOL64"; then
|
7813 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
|
|
7537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
|
7814 | 7538 |
$as_echo "$ac_ct_OTOOL64" >&6; }
|
7815 | 7539 |
else
|
7816 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7540 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
7817 | 7541 |
$as_echo "no" >&6; }
|
7818 | 7542 |
fi
|
7819 | 7543 |
|
|
7822 | 7546 |
else
|
7823 | 7547 |
case $cross_compiling:$ac_tool_warned in
|
7824 | 7548 |
yes:)
|
7825 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
7826 | 7550 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
7827 | 7551 |
ac_tool_warned=yes ;;
|
7828 | 7552 |
esac
|
|
7858 | 7582 |
|
7859 | 7583 |
|
7860 | 7584 |
|
7861 | |
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
|
|
7585 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
|
7862 | 7586 |
$as_echo_n "checking for -single_module linker flag... " >&6; }
|
7863 | |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
|
|
7587 |
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
|
7864 | 7588 |
$as_echo_n "(cached) " >&6
|
7865 | 7589 |
else
|
7866 | 7590 |
lt_cv_apple_cc_single_mod=no
|
|
7885 | 7609 |
rm -f conftest.*
|
7886 | 7610 |
fi
|
7887 | 7611 |
fi
|
7888 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
|
|
7612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
|
7889 | 7613 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
|
7890 | |
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
|
|
7614 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
|
7891 | 7615 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
|
7892 | |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
|
|
7616 |
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
|
7893 | 7617 |
$as_echo_n "(cached) " >&6
|
7894 | 7618 |
else
|
7895 | 7619 |
lt_cv_ld_exported_symbols_list=no
|
7896 | 7620 |
save_LDFLAGS=$LDFLAGS
|
7897 | 7621 |
echo "_main" > conftest.sym
|
7898 | 7622 |
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
|
7899 | |
cat >conftest.$ac_ext <<_ACEOF
|
7900 | |
/* confdefs.h. */
|
7901 | |
_ACEOF
|
7902 | |
cat confdefs.h >>conftest.$ac_ext
|
7903 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7623 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7904 | 7624 |
/* end confdefs.h. */
|
7905 | 7625 |
|
7906 | 7626 |
int
|
|
7911 | 7631 |
return 0;
|
7912 | 7632 |
}
|
7913 | 7633 |
_ACEOF
|
7914 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
7915 | |
if { (ac_try="$ac_link"
|
7916 | |
case "(($ac_try" in
|
7917 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
7918 | |
*) ac_try_echo=$ac_try;;
|
7919 | |
esac
|
7920 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
7921 | |
$as_echo "$ac_try_echo") >&5
|
7922 | |
(eval "$ac_link") 2>conftest.er1
|
7923 | |
ac_status=$?
|
7924 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
7925 | |
rm -f conftest.er1
|
7926 | |
cat conftest.err >&5
|
7927 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
7928 | |
(exit $ac_status); } && {
|
7929 | |
test -z "$ac_c_werror_flag" ||
|
7930 | |
test ! -s conftest.err
|
7931 | |
} && test -s conftest$ac_exeext && {
|
7932 | |
test "$cross_compiling" = yes ||
|
7933 | |
$as_test_x conftest$ac_exeext
|
7934 | |
}; then
|
|
7634 |
if ac_fn_c_try_link "$LINENO"; then :
|
7935 | 7635 |
lt_cv_ld_exported_symbols_list=yes
|
7936 | 7636 |
else
|
7937 | |
$as_echo "$as_me: failed program was:" >&5
|
7938 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
7939 | |
|
7940 | |
lt_cv_ld_exported_symbols_list=no
|
7941 | |
fi
|
7942 | |
|
7943 | |
rm -rf conftest.dSYM
|
7944 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
7945 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7637 |
lt_cv_ld_exported_symbols_list=no
|
|
7638 |
fi
|
|
7639 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7640 |
conftest$ac_exeext conftest.$ac_ext
|
7946 | 7641 |
LDFLAGS="$save_LDFLAGS"
|
7947 | 7642 |
|
7948 | 7643 |
fi
|
7949 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
|
|
7644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
|
7950 | 7645 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
|
7951 | 7646 |
case $host_os in
|
7952 | 7647 |
rhapsody* | darwin1.[012])
|
|
7983 | 7678 |
;;
|
7984 | 7679 |
esac
|
7985 | 7680 |
|
7986 | |
|
7987 | 7681 |
for ac_header in dlfcn.h
|
7988 | |
do
|
7989 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
7990 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
7991 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
7992 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
7993 | |
$as_echo_n "(cached) " >&6
|
7994 | |
else
|
7995 | |
cat >conftest.$ac_ext <<_ACEOF
|
7996 | |
/* confdefs.h. */
|
7997 | |
_ACEOF
|
7998 | |
cat confdefs.h >>conftest.$ac_ext
|
7999 | |
cat >>conftest.$ac_ext <<_ACEOF
|
8000 | |
/* end confdefs.h. */
|
8001 | |
$ac_includes_default
|
8002 | |
|
8003 | |
#include <$ac_header>
|
8004 | |
_ACEOF
|
8005 | |
rm -f conftest.$ac_objext
|
8006 | |
if { (ac_try="$ac_compile"
|
8007 | |
case "(($ac_try" in
|
8008 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8009 | |
*) ac_try_echo=$ac_try;;
|
8010 | |
esac
|
8011 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8012 | |
$as_echo "$ac_try_echo") >&5
|
8013 | |
(eval "$ac_compile") 2>conftest.er1
|
8014 | |
ac_status=$?
|
8015 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8016 | |
rm -f conftest.er1
|
8017 | |
cat conftest.err >&5
|
8018 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8019 | |
(exit $ac_status); } && {
|
8020 | |
test -z "$ac_c_werror_flag" ||
|
8021 | |
test ! -s conftest.err
|
8022 | |
} && test -s conftest.$ac_objext; then
|
8023 | |
eval "$as_ac_Header=yes"
|
8024 | |
else
|
8025 | |
$as_echo "$as_me: failed program was:" >&5
|
8026 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8027 | |
|
8028 | |
eval "$as_ac_Header=no"
|
8029 | |
fi
|
8030 | |
|
8031 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8032 | |
fi
|
8033 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
8034 | |
$as_echo "$as_val"'`
|
8035 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
8036 | |
$as_echo "$ac_res" >&6; }
|
8037 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
8038 | |
$as_echo "$as_val"'`
|
8039 | |
if test "x$as_val" = x""yes; then
|
|
7682 |
do :
|
|
7683 |
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
|
|
7684 |
"
|
|
7685 |
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
|
8040 | 7686 |
cat >>confdefs.h <<_ACEOF
|
8041 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
7687 |
#define HAVE_DLFCN_H 1
|
8042 | 7688 |
_ACEOF
|
8043 | 7689 |
|
8044 | 7690 |
fi
|
|
8061 | 7707 |
do
|
8062 | 7708 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
8063 | 7709 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
8064 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7710 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8065 | 7711 |
$as_echo_n "checking for $ac_word... " >&6; }
|
8066 | |
if test "${ac_cv_prog_CXX+set}" = set; then
|
|
7712 |
if test "${ac_cv_prog_CXX+set}" = set; then :
|
8067 | 7713 |
$as_echo_n "(cached) " >&6
|
8068 | 7714 |
else
|
8069 | 7715 |
if test -n "$CXX"; then
|
|
8074 | 7720 |
do
|
8075 | 7721 |
IFS=$as_save_IFS
|
8076 | 7722 |
test -z "$as_dir" && as_dir=.
|
8077 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7723 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8078 | 7724 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
8079 | 7725 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
8080 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7726 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
8081 | 7727 |
break 2
|
8082 | 7728 |
fi
|
8083 | 7729 |
done
|
8084 | |
done
|
|
7730 |
done
|
8085 | 7731 |
IFS=$as_save_IFS
|
8086 | 7732 |
|
8087 | 7733 |
fi
|
8088 | 7734 |
fi
|
8089 | 7735 |
CXX=$ac_cv_prog_CXX
|
8090 | 7736 |
if test -n "$CXX"; then
|
8091 | |
{ $as_echo "$as_me:$LINENO: result: $CXX" >&5
|
|
7737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
8092 | 7738 |
$as_echo "$CXX" >&6; }
|
8093 | 7739 |
else
|
8094 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7740 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8095 | 7741 |
$as_echo "no" >&6; }
|
8096 | 7742 |
fi
|
8097 | 7743 |
|
|
8105 | 7751 |
do
|
8106 | 7752 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
8107 | 7753 |
set dummy $ac_prog; ac_word=$2
|
8108 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
7754 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
8109 | 7755 |
$as_echo_n "checking for $ac_word... " >&6; }
|
8110 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
|
7756 |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
8111 | 7757 |
$as_echo_n "(cached) " >&6
|
8112 | 7758 |
else
|
8113 | 7759 |
if test -n "$ac_ct_CXX"; then
|
|
8118 | 7764 |
do
|
8119 | 7765 |
IFS=$as_save_IFS
|
8120 | 7766 |
test -z "$as_dir" && as_dir=.
|
8121 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
7767 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
8122 | 7768 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
8123 | 7769 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
8124 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
7770 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
8125 | 7771 |
break 2
|
8126 | 7772 |
fi
|
8127 | 7773 |
done
|
8128 | |
done
|
|
7774 |
done
|
8129 | 7775 |
IFS=$as_save_IFS
|
8130 | 7776 |
|
8131 | 7777 |
fi
|
8132 | 7778 |
fi
|
8133 | 7779 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
8134 | 7780 |
if test -n "$ac_ct_CXX"; then
|
8135 | |
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
|
7781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
8136 | 7782 |
$as_echo "$ac_ct_CXX" >&6; }
|
8137 | 7783 |
else
|
8138 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
7784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8139 | 7785 |
$as_echo "no" >&6; }
|
8140 | 7786 |
fi
|
8141 | 7787 |
|
|
8148 | 7794 |
else
|
8149 | 7795 |
case $cross_compiling:$ac_tool_warned in
|
8150 | 7796 |
yes:)
|
8151 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
7797 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
8152 | 7798 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
8153 | 7799 |
ac_tool_warned=yes ;;
|
8154 | 7800 |
esac
|
|
8159 | 7805 |
fi
|
8160 | 7806 |
fi
|
8161 | 7807 |
# Provide some information about the compiler.
|
8162 | |
$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
|
7808 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
8163 | 7809 |
set X $ac_compile
|
8164 | 7810 |
ac_compiler=$2
|
8165 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
7811 |
for ac_option in --version -v -V -qversion; do
|
|
7812 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
8166 | 7813 |
case "(($ac_try" in
|
8167 | 7814 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8168 | 7815 |
*) ac_try_echo=$ac_try;;
|
8169 | 7816 |
esac
|
8170 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8171 | |
$as_echo "$ac_try_echo") >&5
|
8172 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
7817 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
7818 |
$as_echo "$ac_try_echo"; } >&5
|
|
7819 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
8173 | 7820 |
ac_status=$?
|
8174 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8175 | |
(exit $ac_status); }
|
8176 | |
{ (ac_try="$ac_compiler -v >&5"
|
8177 | |
case "(($ac_try" in
|
8178 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8179 | |
*) ac_try_echo=$ac_try;;
|
8180 | |
esac
|
8181 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8182 | |
$as_echo "$ac_try_echo") >&5
|
8183 | |
(eval "$ac_compiler -v >&5") 2>&5
|
8184 | |
ac_status=$?
|
8185 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8186 | |
(exit $ac_status); }
|
8187 | |
{ (ac_try="$ac_compiler -V >&5"
|
8188 | |
case "(($ac_try" in
|
8189 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8190 | |
*) ac_try_echo=$ac_try;;
|
8191 | |
esac
|
8192 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8193 | |
$as_echo "$ac_try_echo") >&5
|
8194 | |
(eval "$ac_compiler -V >&5") 2>&5
|
8195 | |
ac_status=$?
|
8196 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8197 | |
(exit $ac_status); }
|
8198 | |
|
8199 | |
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
|
7821 |
if test -s conftest.err; then
|
|
7822 |
sed '10a\
|
|
7823 |
... rest of stderr output deleted ...
|
|
7824 |
10q' conftest.err >conftest.er1
|
|
7825 |
cat conftest.er1 >&5
|
|
7826 |
fi
|
|
7827 |
rm -f conftest.er1 conftest.err
|
|
7828 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
7829 |
test $ac_status = 0; }
|
|
7830 |
done
|
|
7831 |
|
|
7832 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
8200 | 7833 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
8201 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
|
7834 |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
8202 | 7835 |
$as_echo_n "(cached) " >&6
|
8203 | 7836 |
else
|
8204 | |
cat >conftest.$ac_ext <<_ACEOF
|
8205 | |
/* confdefs.h. */
|
8206 | |
_ACEOF
|
8207 | |
cat confdefs.h >>conftest.$ac_ext
|
8208 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7837 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8209 | 7838 |
/* end confdefs.h. */
|
8210 | 7839 |
|
8211 | 7840 |
int
|
|
8219 | 7848 |
return 0;
|
8220 | 7849 |
}
|
8221 | 7850 |
_ACEOF
|
8222 | |
rm -f conftest.$ac_objext
|
8223 | |
if { (ac_try="$ac_compile"
|
8224 | |
case "(($ac_try" in
|
8225 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8226 | |
*) ac_try_echo=$ac_try;;
|
8227 | |
esac
|
8228 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8229 | |
$as_echo "$ac_try_echo") >&5
|
8230 | |
(eval "$ac_compile") 2>conftest.er1
|
8231 | |
ac_status=$?
|
8232 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8233 | |
rm -f conftest.er1
|
8234 | |
cat conftest.err >&5
|
8235 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8236 | |
(exit $ac_status); } && {
|
8237 | |
test -z "$ac_cxx_werror_flag" ||
|
8238 | |
test ! -s conftest.err
|
8239 | |
} && test -s conftest.$ac_objext; then
|
|
7851 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
8240 | 7852 |
ac_compiler_gnu=yes
|
8241 | 7853 |
else
|
8242 | |
$as_echo "$as_me: failed program was:" >&5
|
8243 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8244 | |
|
8245 | |
ac_compiler_gnu=no
|
8246 | |
fi
|
8247 | |
|
|
7854 |
ac_compiler_gnu=no
|
|
7855 |
fi
|
8248 | 7856 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8249 | 7857 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
8250 | 7858 |
|
8251 | 7859 |
fi
|
8252 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
7860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
8253 | 7861 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
8254 | 7862 |
if test $ac_compiler_gnu = yes; then
|
8255 | 7863 |
GXX=yes
|
|
8258 | 7866 |
fi
|
8259 | 7867 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
8260 | 7868 |
ac_save_CXXFLAGS=$CXXFLAGS
|
8261 | |
{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
|
7869 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
8262 | 7870 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
8263 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
|
7871 |
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
8264 | 7872 |
$as_echo_n "(cached) " >&6
|
8265 | 7873 |
else
|
8266 | 7874 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
8267 | 7875 |
ac_cxx_werror_flag=yes
|
8268 | 7876 |
ac_cv_prog_cxx_g=no
|
8269 | 7877 |
CXXFLAGS="-g"
|
8270 | |
cat >conftest.$ac_ext <<_ACEOF
|
8271 | |
/* confdefs.h. */
|
8272 | |
_ACEOF
|
8273 | |
cat confdefs.h >>conftest.$ac_ext
|
8274 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7878 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8275 | 7879 |
/* end confdefs.h. */
|
8276 | 7880 |
|
8277 | 7881 |
int
|
|
8282 | 7886 |
return 0;
|
8283 | 7887 |
}
|
8284 | 7888 |
_ACEOF
|
8285 | |
rm -f conftest.$ac_objext
|
8286 | |
if { (ac_try="$ac_compile"
|
8287 | |
case "(($ac_try" in
|
8288 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8289 | |
*) ac_try_echo=$ac_try;;
|
8290 | |
esac
|
8291 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8292 | |
$as_echo "$ac_try_echo") >&5
|
8293 | |
(eval "$ac_compile") 2>conftest.er1
|
8294 | |
ac_status=$?
|
8295 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8296 | |
rm -f conftest.er1
|
8297 | |
cat conftest.err >&5
|
8298 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8299 | |
(exit $ac_status); } && {
|
8300 | |
test -z "$ac_cxx_werror_flag" ||
|
8301 | |
test ! -s conftest.err
|
8302 | |
} && test -s conftest.$ac_objext; then
|
|
7889 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
8303 | 7890 |
ac_cv_prog_cxx_g=yes
|
8304 | 7891 |
else
|
8305 | |
$as_echo "$as_me: failed program was:" >&5
|
8306 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8307 | |
|
8308 | |
CXXFLAGS=""
|
8309 | |
cat >conftest.$ac_ext <<_ACEOF
|
8310 | |
/* confdefs.h. */
|
8311 | |
_ACEOF
|
8312 | |
cat confdefs.h >>conftest.$ac_ext
|
8313 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7892 |
CXXFLAGS=""
|
|
7893 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8314 | 7894 |
/* end confdefs.h. */
|
8315 | 7895 |
|
8316 | 7896 |
int
|
|
8321 | 7901 |
return 0;
|
8322 | 7902 |
}
|
8323 | 7903 |
_ACEOF
|
8324 | |
rm -f conftest.$ac_objext
|
8325 | |
if { (ac_try="$ac_compile"
|
8326 | |
case "(($ac_try" in
|
8327 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8328 | |
*) ac_try_echo=$ac_try;;
|
8329 | |
esac
|
8330 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8331 | |
$as_echo "$ac_try_echo") >&5
|
8332 | |
(eval "$ac_compile") 2>conftest.er1
|
8333 | |
ac_status=$?
|
8334 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8335 | |
rm -f conftest.er1
|
8336 | |
cat conftest.err >&5
|
8337 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8338 | |
(exit $ac_status); } && {
|
8339 | |
test -z "$ac_cxx_werror_flag" ||
|
8340 | |
test ! -s conftest.err
|
8341 | |
} && test -s conftest.$ac_objext; then
|
8342 | |
:
|
8343 | |
else
|
8344 | |
$as_echo "$as_me: failed program was:" >&5
|
8345 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8346 | |
|
8347 | |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
7904 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
7905 |
|
|
7906 |
else
|
|
7907 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
8348 | 7908 |
CXXFLAGS="-g"
|
8349 | |
cat >conftest.$ac_ext <<_ACEOF
|
8350 | |
/* confdefs.h. */
|
8351 | |
_ACEOF
|
8352 | |
cat confdefs.h >>conftest.$ac_ext
|
8353 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7909 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8354 | 7910 |
/* end confdefs.h. */
|
8355 | 7911 |
|
8356 | 7912 |
int
|
|
8361 | 7917 |
return 0;
|
8362 | 7918 |
}
|
8363 | 7919 |
_ACEOF
|
8364 | |
rm -f conftest.$ac_objext
|
8365 | |
if { (ac_try="$ac_compile"
|
8366 | |
case "(($ac_try" in
|
8367 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8368 | |
*) ac_try_echo=$ac_try;;
|
8369 | |
esac
|
8370 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8371 | |
$as_echo "$ac_try_echo") >&5
|
8372 | |
(eval "$ac_compile") 2>conftest.er1
|
8373 | |
ac_status=$?
|
8374 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8375 | |
rm -f conftest.er1
|
8376 | |
cat conftest.err >&5
|
8377 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8378 | |
(exit $ac_status); } && {
|
8379 | |
test -z "$ac_cxx_werror_flag" ||
|
8380 | |
test ! -s conftest.err
|
8381 | |
} && test -s conftest.$ac_objext; then
|
|
7920 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
8382 | 7921 |
ac_cv_prog_cxx_g=yes
|
8383 | |
else
|
8384 | |
$as_echo "$as_me: failed program was:" >&5
|
8385 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8386 | |
|
8387 | |
|
8388 | |
fi
|
8389 | |
|
|
7922 |
fi
|
8390 | 7923 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8391 | 7924 |
fi
|
8392 | |
|
8393 | 7925 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8394 | 7926 |
fi
|
8395 | |
|
8396 | 7927 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8397 | 7928 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
8398 | 7929 |
fi
|
8399 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
|
7930 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
8400 | 7931 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
8401 | 7932 |
if test "$ac_test_CXXFLAGS" = set; then
|
8402 | 7933 |
CXXFLAGS=$ac_save_CXXFLAGS
|
|
8421 | 7952 |
|
8422 | 7953 |
depcc="$CXX" am_compiler_list=
|
8423 | 7954 |
|
8424 | |
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
|
7955 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
8425 | 7956 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
8426 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
|
7957 |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
8427 | 7958 |
$as_echo_n "(cached) " >&6
|
8428 | 7959 |
else
|
8429 | 7960 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
8531 | 8062 |
fi
|
8532 | 8063 |
|
8533 | 8064 |
fi
|
8534 | |
{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
8065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
8535 | 8066 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
8536 | 8067 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
8537 | 8068 |
|
|
8554 | 8085 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
8555 | 8086 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
8556 | 8087 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
8557 | |
{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
|
8088 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
8558 | 8089 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
8559 | 8090 |
if test -z "$CXXCPP"; then
|
8560 | |
if test "${ac_cv_prog_CXXCPP+set}" = set; then
|
|
8091 |
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
8561 | 8092 |
$as_echo_n "(cached) " >&6
|
8562 | 8093 |
else
|
8563 | 8094 |
# Double quotes because CXXCPP needs to be expanded
|
|
8572 | 8103 |
# <limits.h> exists even on freestanding compilers.
|
8573 | 8104 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8574 | 8105 |
# not just through cpp. "Syntax error" is here to catch this case.
|
8575 | |
cat >conftest.$ac_ext <<_ACEOF
|
8576 | |
/* confdefs.h. */
|
8577 | |
_ACEOF
|
8578 | |
cat confdefs.h >>conftest.$ac_ext
|
8579 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8106 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8580 | 8107 |
/* end confdefs.h. */
|
8581 | 8108 |
#ifdef __STDC__
|
8582 | 8109 |
# include <limits.h>
|
|
8585 | 8112 |
#endif
|
8586 | 8113 |
Syntax error
|
8587 | 8114 |
_ACEOF
|
8588 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8589 | |
case "(($ac_try" in
|
8590 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8591 | |
*) ac_try_echo=$ac_try;;
|
8592 | |
esac
|
8593 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8594 | |
$as_echo "$ac_try_echo") >&5
|
8595 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8596 | |
ac_status=$?
|
8597 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8598 | |
rm -f conftest.er1
|
8599 | |
cat conftest.err >&5
|
8600 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8601 | |
(exit $ac_status); } >/dev/null && {
|
8602 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
8603 | |
test ! -s conftest.err
|
8604 | |
}; then
|
8605 | |
:
|
8606 | |
else
|
8607 | |
$as_echo "$as_me: failed program was:" >&5
|
8608 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8609 | |
|
|
8115 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
8116 |
|
|
8117 |
else
|
8610 | 8118 |
# Broken: fails on valid input.
|
8611 | 8119 |
continue
|
8612 | 8120 |
fi
|
8613 | |
|
8614 | 8121 |
rm -f conftest.err conftest.$ac_ext
|
8615 | 8122 |
|
8616 | 8123 |
# OK, works on sane cases. Now check whether nonexistent headers
|
8617 | 8124 |
# can be detected and how.
|
8618 | |
cat >conftest.$ac_ext <<_ACEOF
|
8619 | |
/* confdefs.h. */
|
8620 | |
_ACEOF
|
8621 | |
cat confdefs.h >>conftest.$ac_ext
|
8622 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8125 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8623 | 8126 |
/* end confdefs.h. */
|
8624 | 8127 |
#include <ac_nonexistent.h>
|
8625 | 8128 |
_ACEOF
|
8626 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8627 | |
case "(($ac_try" in
|
8628 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8629 | |
*) ac_try_echo=$ac_try;;
|
8630 | |
esac
|
8631 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8632 | |
$as_echo "$ac_try_echo") >&5
|
8633 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8634 | |
ac_status=$?
|
8635 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8636 | |
rm -f conftest.er1
|
8637 | |
cat conftest.err >&5
|
8638 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8639 | |
(exit $ac_status); } >/dev/null && {
|
8640 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
8641 | |
test ! -s conftest.err
|
8642 | |
}; then
|
|
8129 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
8643 | 8130 |
# Broken: success on invalid input.
|
8644 | 8131 |
continue
|
8645 | 8132 |
else
|
8646 | |
$as_echo "$as_me: failed program was:" >&5
|
8647 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8648 | |
|
8649 | 8133 |
# Passes both tests.
|
8650 | 8134 |
ac_preproc_ok=:
|
8651 | 8135 |
break
|
8652 | 8136 |
fi
|
8653 | |
|
8654 | 8137 |
rm -f conftest.err conftest.$ac_ext
|
8655 | 8138 |
|
8656 | 8139 |
done
|
8657 | 8140 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8658 | 8141 |
rm -f conftest.err conftest.$ac_ext
|
8659 | |
if $ac_preproc_ok; then
|
|
8142 |
if $ac_preproc_ok; then :
|
8660 | 8143 |
break
|
8661 | 8144 |
fi
|
8662 | 8145 |
|
|
8668 | 8151 |
else
|
8669 | 8152 |
ac_cv_prog_CXXCPP=$CXXCPP
|
8670 | 8153 |
fi
|
8671 | |
{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
|
8154 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
8672 | 8155 |
$as_echo "$CXXCPP" >&6; }
|
8673 | 8156 |
ac_preproc_ok=false
|
8674 | 8157 |
for ac_cxx_preproc_warn_flag in '' yes
|
|
8679 | 8162 |
# <limits.h> exists even on freestanding compilers.
|
8680 | 8163 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
8681 | 8164 |
# not just through cpp. "Syntax error" is here to catch this case.
|
8682 | |
cat >conftest.$ac_ext <<_ACEOF
|
8683 | |
/* confdefs.h. */
|
8684 | |
_ACEOF
|
8685 | |
cat confdefs.h >>conftest.$ac_ext
|
8686 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8165 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8687 | 8166 |
/* end confdefs.h. */
|
8688 | 8167 |
#ifdef __STDC__
|
8689 | 8168 |
# include <limits.h>
|
|
8692 | 8171 |
#endif
|
8693 | 8172 |
Syntax error
|
8694 | 8173 |
_ACEOF
|
8695 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8696 | |
case "(($ac_try" in
|
8697 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8698 | |
*) ac_try_echo=$ac_try;;
|
8699 | |
esac
|
8700 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8701 | |
$as_echo "$ac_try_echo") >&5
|
8702 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8703 | |
ac_status=$?
|
8704 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8705 | |
rm -f conftest.er1
|
8706 | |
cat conftest.err >&5
|
8707 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8708 | |
(exit $ac_status); } >/dev/null && {
|
8709 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
8710 | |
test ! -s conftest.err
|
8711 | |
}; then
|
8712 | |
:
|
8713 | |
else
|
8714 | |
$as_echo "$as_me: failed program was:" >&5
|
8715 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8716 | |
|
|
8174 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
8175 |
|
|
8176 |
else
|
8717 | 8177 |
# Broken: fails on valid input.
|
8718 | 8178 |
continue
|
8719 | 8179 |
fi
|
8720 | |
|
8721 | 8180 |
rm -f conftest.err conftest.$ac_ext
|
8722 | 8181 |
|
8723 | 8182 |
# OK, works on sane cases. Now check whether nonexistent headers
|
8724 | 8183 |
# can be detected and how.
|
8725 | |
cat >conftest.$ac_ext <<_ACEOF
|
8726 | |
/* confdefs.h. */
|
8727 | |
_ACEOF
|
8728 | |
cat confdefs.h >>conftest.$ac_ext
|
8729 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
8184 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8730 | 8185 |
/* end confdefs.h. */
|
8731 | 8186 |
#include <ac_nonexistent.h>
|
8732 | 8187 |
_ACEOF
|
8733 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
8734 | |
case "(($ac_try" in
|
8735 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8736 | |
*) ac_try_echo=$ac_try;;
|
8737 | |
esac
|
8738 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
8739 | |
$as_echo "$ac_try_echo") >&5
|
8740 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
8741 | |
ac_status=$?
|
8742 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8743 | |
rm -f conftest.er1
|
8744 | |
cat conftest.err >&5
|
8745 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8746 | |
(exit $ac_status); } >/dev/null && {
|
8747 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
8748 | |
test ! -s conftest.err
|
8749 | |
}; then
|
|
8188 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
8750 | 8189 |
# Broken: success on invalid input.
|
8751 | 8190 |
continue
|
8752 | 8191 |
else
|
8753 | |
$as_echo "$as_me: failed program was:" >&5
|
8754 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8755 | |
|
8756 | 8192 |
# Passes both tests.
|
8757 | 8193 |
ac_preproc_ok=:
|
8758 | 8194 |
break
|
8759 | 8195 |
fi
|
8760 | |
|
8761 | 8196 |
rm -f conftest.err conftest.$ac_ext
|
8762 | 8197 |
|
8763 | 8198 |
done
|
8764 | 8199 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
8765 | 8200 |
rm -f conftest.err conftest.$ac_ext
|
8766 | |
if $ac_preproc_ok; then
|
8767 | |
:
|
8768 | |
else
|
8769 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
8201 |
if $ac_preproc_ok; then :
|
|
8202 |
|
|
8203 |
else
|
|
8204 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
8770 | 8205 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
8771 | 8206 |
_lt_caught_CXX_error=yes; }
|
8772 | 8207 |
fi
|
|
8796 | 8231 |
|
8797 | 8232 |
|
8798 | 8233 |
# Check whether --enable-shared was given.
|
8799 | |
if test "${enable_shared+set}" = set; then
|
|
8234 |
if test "${enable_shared+set}" = set; then :
|
8800 | 8235 |
enableval=$enable_shared; p=${PACKAGE-default}
|
8801 | 8236 |
case $enableval in
|
8802 | 8237 |
yes) enable_shared=yes ;;
|
|
8827 | 8262 |
|
8828 | 8263 |
|
8829 | 8264 |
# Check whether --enable-static was given.
|
8830 | |
if test "${enable_static+set}" = set; then
|
|
8265 |
if test "${enable_static+set}" = set; then :
|
8831 | 8266 |
enableval=$enable_static; p=${PACKAGE-default}
|
8832 | 8267 |
case $enableval in
|
8833 | 8268 |
yes) enable_static=yes ;;
|
|
8859 | 8294 |
|
8860 | 8295 |
|
8861 | 8296 |
# Check whether --with-pic was given.
|
8862 | |
if test "${with_pic+set}" = set; then
|
|
8297 |
if test "${with_pic+set}" = set; then :
|
8863 | 8298 |
withval=$with_pic; pic_mode="$withval"
|
8864 | 8299 |
else
|
8865 | 8300 |
pic_mode=default
|
|
8875 | 8310 |
|
8876 | 8311 |
|
8877 | 8312 |
# Check whether --enable-fast-install was given.
|
8878 | |
if test "${enable_fast_install+set}" = set; then
|
|
8313 |
if test "${enable_fast_install+set}" = set; then :
|
8879 | 8314 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
8880 | 8315 |
case $enableval in
|
8881 | 8316 |
yes) enable_fast_install=yes ;;
|
|
8956 | 8391 |
setopt NO_GLOB_SUBST
|
8957 | 8392 |
fi
|
8958 | 8393 |
|
8959 | |
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
|
|
8394 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
8960 | 8395 |
$as_echo_n "checking for objdir... " >&6; }
|
8961 | |
if test "${lt_cv_objdir+set}" = set; then
|
|
8396 |
if test "${lt_cv_objdir+set}" = set; then :
|
8962 | 8397 |
$as_echo_n "(cached) " >&6
|
8963 | 8398 |
else
|
8964 | 8399 |
rm -f .libs 2>/dev/null
|
|
8971 | 8406 |
fi
|
8972 | 8407 |
rmdir .libs 2>/dev/null
|
8973 | 8408 |
fi
|
8974 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
|
|
8409 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
8975 | 8410 |
$as_echo "$lt_cv_objdir" >&6; }
|
8976 | 8411 |
objdir=$lt_cv_objdir
|
8977 | 8412 |
|
|
9064 | 8499 |
case $deplibs_check_method in
|
9065 | 8500 |
file_magic*)
|
9066 | 8501 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
9067 | |
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
|
|
8502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
9068 | 8503 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
9069 | |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|
8504 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
9070 | 8505 |
$as_echo_n "(cached) " >&6
|
9071 | 8506 |
else
|
9072 | 8507 |
case $MAGIC_CMD in
|
|
9117 | 8552 |
|
9118 | 8553 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
9119 | 8554 |
if test -n "$MAGIC_CMD"; then
|
9120 | |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|
8555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
9121 | 8556 |
$as_echo "$MAGIC_CMD" >&6; }
|
9122 | 8557 |
else
|
9123 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
8558 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
9124 | 8559 |
$as_echo "no" >&6; }
|
9125 | 8560 |
fi
|
9126 | 8561 |
|
|
9130 | 8565 |
|
9131 | 8566 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
9132 | 8567 |
if test -n "$ac_tool_prefix"; then
|
9133 | |
{ $as_echo "$as_me:$LINENO: checking for file" >&5
|
|
8568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
9134 | 8569 |
$as_echo_n "checking for file... " >&6; }
|
9135 | |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
|
8570 |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
|
9136 | 8571 |
$as_echo_n "(cached) " >&6
|
9137 | 8572 |
else
|
9138 | 8573 |
case $MAGIC_CMD in
|
|
9183 | 8618 |
|
9184 | 8619 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
9185 | 8620 |
if test -n "$MAGIC_CMD"; then
|
9186 | |
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
|
8621 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
9187 | 8622 |
$as_echo "$MAGIC_CMD" >&6; }
|
9188 | 8623 |
else
|
9189 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
8624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
9190 | 8625 |
$as_echo "no" >&6; }
|
9191 | 8626 |
fi
|
9192 | 8627 |
|
|
9263 | 8698 |
if test "$GCC" = yes; then
|
9264 | 8699 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
9265 | 8700 |
|
9266 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
8701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
9267 | 8702 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
9268 | |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
|
8703 |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
|
9269 | 8704 |
$as_echo_n "(cached) " >&6
|
9270 | 8705 |
else
|
9271 | 8706 |
lt_cv_prog_compiler_rtti_exceptions=no
|
|
9281 | 8716 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
9282 | 8717 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
9283 | 8718 |
-e 's:$: $lt_compiler_flag:'`
|
9284 | |
(eval echo "\"\$as_me:9285: $lt_compile\"" >&5)
|
|
8719 |
(eval echo "\"\$as_me:8720: $lt_compile\"" >&5)
|
9285 | 8720 |
(eval "$lt_compile" 2>conftest.err)
|
9286 | 8721 |
ac_status=$?
|
9287 | 8722 |
cat conftest.err >&5
|
9288 | |
echo "$as_me:9289: \$? = $ac_status" >&5
|
|
8723 |
echo "$as_me:8724: \$? = $ac_status" >&5
|
9289 | 8724 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
9290 | 8725 |
# The compiler can only warn and ignore the option if not recognized
|
9291 | 8726 |
# So say no if there are warnings other than the usual output.
|
|
9298 | 8733 |
$RM conftest*
|
9299 | 8734 |
|
9300 | 8735 |
fi
|
9301 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
8736 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
9302 | 8737 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
9303 | 8738 |
|
9304 | 8739 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
|
9318 | 8753 |
lt_prog_compiler_pic=
|
9319 | 8754 |
lt_prog_compiler_static=
|
9320 | 8755 |
|
9321 | |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
|
8756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
9322 | 8757 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
9323 | 8758 |
|
9324 | 8759 |
if test "$GCC" = yes; then
|
|
9450 | 8885 |
lt_prog_compiler_static='-non_shared'
|
9451 | 8886 |
;;
|
9452 | 8887 |
|
9453 | |
linux* | k*bsd*-gnu)
|
|
8888 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
9454 | 8889 |
case $cc_basename in
|
9455 | 8890 |
# old Intel for x86_64 which still supported -KPIC.
|
9456 | 8891 |
ecc*)
|
|
9590 | 9025 |
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
|
9591 | 9026 |
;;
|
9592 | 9027 |
esac
|
9593 | |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
|
|
9028 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
|
9594 | 9029 |
$as_echo "$lt_prog_compiler_pic" >&6; }
|
9595 | 9030 |
|
9596 | 9031 |
|
|
9602 | 9037 |
# Check to make sure the PIC flag actually works.
|
9603 | 9038 |
#
|
9604 | 9039 |
if test -n "$lt_prog_compiler_pic"; then
|
9605 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
9040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
9606 | 9041 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
9607 | |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
|
|
9042 |
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
|
9608 | 9043 |
$as_echo_n "(cached) " >&6
|
9609 | 9044 |
else
|
9610 | 9045 |
lt_cv_prog_compiler_pic_works=no
|
|
9620 | 9055 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
9621 | 9056 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
9622 | 9057 |
-e 's:$: $lt_compiler_flag:'`
|
9623 | |
(eval echo "\"\$as_me:9624: $lt_compile\"" >&5)
|
|
9058 |
(eval echo "\"\$as_me:9059: $lt_compile\"" >&5)
|
9624 | 9059 |
(eval "$lt_compile" 2>conftest.err)
|
9625 | 9060 |
ac_status=$?
|
9626 | 9061 |
cat conftest.err >&5
|
9627 | |
echo "$as_me:9628: \$? = $ac_status" >&5
|
|
9062 |
echo "$as_me:9063: \$? = $ac_status" >&5
|
9628 | 9063 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
9629 | 9064 |
# The compiler can only warn and ignore the option if not recognized
|
9630 | 9065 |
# So say no if there are warnings other than the usual output.
|
|
9637 | 9072 |
$RM conftest*
|
9638 | 9073 |
|
9639 | 9074 |
fi
|
9640 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
|
|
9075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
|
9641 | 9076 |
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
|
9642 | 9077 |
|
9643 | 9078 |
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
|
|
9661 | 9096 |
# Check to make sure the static flag actually works.
|
9662 | 9097 |
#
|
9663 | 9098 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
9664 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
9099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
9665 | 9100 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
9666 | |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
|
|
9101 |
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
|
9667 | 9102 |
$as_echo_n "(cached) " >&6
|
9668 | 9103 |
else
|
9669 | 9104 |
lt_cv_prog_compiler_static_works=no
|
|
9689 | 9124 |
LDFLAGS="$save_LDFLAGS"
|
9690 | 9125 |
|
9691 | 9126 |
fi
|
9692 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
|
|
9127 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
|
9693 | 9128 |
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
|
9694 | 9129 |
|
9695 | 9130 |
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
|
|
9704 | 9139 |
|
9705 | 9140 |
|
9706 | 9141 |
|
9707 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
9142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9708 | 9143 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9709 | |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
|
|
9144 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
9710 | 9145 |
$as_echo_n "(cached) " >&6
|
9711 | 9146 |
else
|
9712 | 9147 |
lt_cv_prog_compiler_c_o=no
|
|
9725 | 9160 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
9726 | 9161 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
9727 | 9162 |
-e 's:$: $lt_compiler_flag:'`
|
9728 | |
(eval echo "\"\$as_me:9729: $lt_compile\"" >&5)
|
|
9163 |
(eval echo "\"\$as_me:9164: $lt_compile\"" >&5)
|
9729 | 9164 |
(eval "$lt_compile" 2>out/conftest.err)
|
9730 | 9165 |
ac_status=$?
|
9731 | 9166 |
cat out/conftest.err >&5
|
9732 | |
echo "$as_me:9733: \$? = $ac_status" >&5
|
|
9167 |
echo "$as_me:9168: \$? = $ac_status" >&5
|
9733 | 9168 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
9734 | 9169 |
then
|
9735 | 9170 |
# The compiler can only warn and ignore the option if not recognized
|
|
9751 | 9186 |
$RM conftest*
|
9752 | 9187 |
|
9753 | 9188 |
fi
|
9754 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
|
|
9189 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9755 | 9190 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
9756 | 9191 |
|
9757 | 9192 |
|
|
9759 | 9194 |
|
9760 | 9195 |
|
9761 | 9196 |
|
9762 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
9197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
9763 | 9198 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
9764 | |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
|
|
9199 |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
|
9765 | 9200 |
$as_echo_n "(cached) " >&6
|
9766 | 9201 |
else
|
9767 | 9202 |
lt_cv_prog_compiler_c_o=no
|
|
9780 | 9215 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
9781 | 9216 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
9782 | 9217 |
-e 's:$: $lt_compiler_flag:'`
|
9783 | |
(eval echo "\"\$as_me:9784: $lt_compile\"" >&5)
|
|
9218 |
(eval echo "\"\$as_me:9219: $lt_compile\"" >&5)
|
9784 | 9219 |
(eval "$lt_compile" 2>out/conftest.err)
|
9785 | 9220 |
ac_status=$?
|
9786 | 9221 |
cat out/conftest.err >&5
|
9787 | |
echo "$as_me:9788: \$? = $ac_status" >&5
|
|
9222 |
echo "$as_me:9223: \$? = $ac_status" >&5
|
9788 | 9223 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
9789 | 9224 |
then
|
9790 | 9225 |
# The compiler can only warn and ignore the option if not recognized
|
|
9806 | 9241 |
$RM conftest*
|
9807 | 9242 |
|
9808 | 9243 |
fi
|
9809 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
|
|
9244 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
9810 | 9245 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
9811 | 9246 |
|
9812 | 9247 |
|
|
9815 | 9250 |
hard_links="nottested"
|
9816 | 9251 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
9817 | 9252 |
# do not overwrite the value of need_locks provided by the user
|
9818 | |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
|
9253 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
9819 | 9254 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
9820 | 9255 |
hard_links=yes
|
9821 | 9256 |
$RM conftest*
|
|
9823 | 9258 |
touch conftest.a
|
9824 | 9259 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
9825 | 9260 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
9826 | |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
|
|
9261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
9827 | 9262 |
$as_echo "$hard_links" >&6; }
|
9828 | 9263 |
if test "$hard_links" = no; then
|
9829 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
9264 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
9830 | 9265 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
9831 | 9266 |
need_locks=warn
|
9832 | 9267 |
fi
|
|
9839 | 9274 |
|
9840 | 9275 |
|
9841 | 9276 |
|
9842 | |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
9277 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
9843 | 9278 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
9844 | 9279 |
|
9845 | 9280 |
runpath_var=
|
|
9899 | 9334 |
openbsd*)
|
9900 | 9335 |
with_gnu_ld=no
|
9901 | 9336 |
;;
|
|
9337 |
linux* | k*bsd*-gnu)
|
|
9338 |
link_all_deplibs=no
|
|
9339 |
;;
|
9902 | 9340 |
esac
|
9903 | 9341 |
|
9904 | 9342 |
ld_shlibs=yes
|
|
9920 | 9358 |
fi
|
9921 | 9359 |
supports_anon_versioning=no
|
9922 | 9360 |
case `$LD -v 2>&1` in
|
|
9361 |
*GNU\ gold*) supports_anon_versioning=yes ;;
|
9923 | 9362 |
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
|
9924 | 9363 |
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
|
9925 | 9364 |
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
|
|
10011 | 9450 |
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
|
10012 | 9451 |
;;
|
10013 | 9452 |
|
10014 | |
gnu* | linux* | tpf* | k*bsd*-gnu)
|
|
9453 |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
|
10015 | 9454 |
tmp_diet=no
|
10016 | 9455 |
if test "$host_os" = linux-dietlibc; then
|
10017 | 9456 |
case $cc_basename in
|
|
10081 | 9520 |
fi
|
10082 | 9521 |
;;
|
10083 | 9522 |
|
10084 | |
netbsd*)
|
|
9523 |
netbsd* | netbsdelf*-gnu)
|
10085 | 9524 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
10086 | 9525 |
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
|
10087 | 9526 |
wlarc=
|
|
10256 | 9695 |
if test "$aix_use_runtimelinking" = yes; then
|
10257 | 9696 |
shared_flag="$shared_flag "'${wl}-G'
|
10258 | 9697 |
fi
|
|
9698 |
link_all_deplibs=no
|
10259 | 9699 |
else
|
10260 | 9700 |
# not using gcc
|
10261 | 9701 |
if test "$host_cpu" = ia64; then
|
|
10281 | 9721 |
allow_undefined_flag='-berok'
|
10282 | 9722 |
# Determine the default libpath from the value encoded in an
|
10283 | 9723 |
# empty executable.
|
10284 | |
cat >conftest.$ac_ext <<_ACEOF
|
10285 | |
/* confdefs.h. */
|
10286 | |
_ACEOF
|
10287 | |
cat confdefs.h >>conftest.$ac_ext
|
10288 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9724 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10289 | 9725 |
/* end confdefs.h. */
|
10290 | 9726 |
|
10291 | 9727 |
int
|
|
10296 | 9732 |
return 0;
|
10297 | 9733 |
}
|
10298 | 9734 |
_ACEOF
|
10299 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10300 | |
if { (ac_try="$ac_link"
|
10301 | |
case "(($ac_try" in
|
10302 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10303 | |
*) ac_try_echo=$ac_try;;
|
10304 | |
esac
|
10305 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
10306 | |
$as_echo "$ac_try_echo") >&5
|
10307 | |
(eval "$ac_link") 2>conftest.er1
|
10308 | |
ac_status=$?
|
10309 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10310 | |
rm -f conftest.er1
|
10311 | |
cat conftest.err >&5
|
10312 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10313 | |
(exit $ac_status); } && {
|
10314 | |
test -z "$ac_c_werror_flag" ||
|
10315 | |
test ! -s conftest.err
|
10316 | |
} && test -s conftest$ac_exeext && {
|
10317 | |
test "$cross_compiling" = yes ||
|
10318 | |
$as_test_x conftest$ac_exeext
|
10319 | |
}; then
|
|
9735 |
if ac_fn_c_try_link "$LINENO"; then :
|
10320 | 9736 |
|
10321 | 9737 |
lt_aix_libpath_sed='
|
10322 | 9738 |
/Import File Strings/,/^$/ {
|
|
10330 | 9746 |
if test -z "$aix_libpath"; then
|
10331 | 9747 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10332 | 9748 |
fi
|
10333 | |
else
|
10334 | |
$as_echo "$as_me: failed program was:" >&5
|
10335 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
10336 | |
|
10337 | |
|
10338 | |
fi
|
10339 | |
|
10340 | |
rm -rf conftest.dSYM
|
10341 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
10342 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9749 |
fi
|
|
9750 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9751 |
conftest$ac_exeext conftest.$ac_ext
|
10343 | 9752 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
10344 | 9753 |
|
10345 | 9754 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
10352 | 9761 |
else
|
10353 | 9762 |
# Determine the default libpath from the value encoded in an
|
10354 | 9763 |
# empty executable.
|
10355 | |
cat >conftest.$ac_ext <<_ACEOF
|
10356 | |
/* confdefs.h. */
|
10357 | |
_ACEOF
|
10358 | |
cat confdefs.h >>conftest.$ac_ext
|
10359 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9764 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
10360 | 9765 |
/* end confdefs.h. */
|
10361 | 9766 |
|
10362 | 9767 |
int
|
|
10367 | 9772 |
return 0;
|
10368 | 9773 |
}
|
10369 | 9774 |
_ACEOF
|
10370 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10371 | |
if { (ac_try="$ac_link"
|
10372 | |
case "(($ac_try" in
|
10373 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10374 | |
*) ac_try_echo=$ac_try;;
|
10375 | |
esac
|
10376 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
10377 | |
$as_echo "$ac_try_echo") >&5
|
10378 | |
(eval "$ac_link") 2>conftest.er1
|
10379 | |
ac_status=$?
|
10380 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10381 | |
rm -f conftest.er1
|
10382 | |
cat conftest.err >&5
|
10383 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10384 | |
(exit $ac_status); } && {
|
10385 | |
test -z "$ac_c_werror_flag" ||
|
10386 | |
test ! -s conftest.err
|
10387 | |
} && test -s conftest$ac_exeext && {
|
10388 | |
test "$cross_compiling" = yes ||
|
10389 | |
$as_test_x conftest$ac_exeext
|
10390 | |
}; then
|
|
9775 |
if ac_fn_c_try_link "$LINENO"; then :
|
10391 | 9776 |
|
10392 | 9777 |
lt_aix_libpath_sed='
|
10393 | 9778 |
/Import File Strings/,/^$/ {
|
|
10401 | 9786 |
if test -z "$aix_libpath"; then
|
10402 | 9787 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
10403 | 9788 |
fi
|
10404 | |
else
|
10405 | |
$as_echo "$as_me: failed program was:" >&5
|
10406 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
10407 | |
|
10408 | |
|
10409 | |
fi
|
10410 | |
|
10411 | |
rm -rf conftest.dSYM
|
10412 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
10413 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9789 |
fi
|
|
9790 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9791 |
conftest$ac_exeext conftest.$ac_ext
|
10414 | 9792 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
10415 | 9793 |
|
10416 | 9794 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
10622 | 10000 |
# implicitly export all symbols.
|
10623 | 10001 |
save_LDFLAGS="$LDFLAGS"
|
10624 | 10002 |
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
|
10625 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
10003 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
10004 |
/* end confdefs.h. */
|
10626 | 10005 |
int foo(void) {}
|
10627 | 10006 |
_ACEOF
|
10628 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
10629 | |
if { (ac_try="$ac_link"
|
10630 | |
case "(($ac_try" in
|
10631 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
10632 | |
*) ac_try_echo=$ac_try;;
|
10633 | |
esac
|
10634 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
10635 | |
$as_echo "$ac_try_echo") >&5
|
10636 | |
(eval "$ac_link") 2>conftest.er1
|
10637 | |
ac_status=$?
|
10638 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
10639 | |
rm -f conftest.er1
|
10640 | |
cat conftest.err >&5
|
10641 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10642 | |
(exit $ac_status); } && {
|
10643 | |
test -z "$ac_c_werror_flag" ||
|
10644 | |
test ! -s conftest.err
|
10645 | |
} && test -s conftest$ac_exeext && {
|
10646 | |
test "$cross_compiling" = yes ||
|
10647 | |
$as_test_x conftest$ac_exeext
|
10648 | |
}; then
|
|
10007 |
if ac_fn_c_try_link "$LINENO"; then :
|
10649 | 10008 |
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
|
10650 | 10009 |
|
10651 | |
else
|
10652 | |
$as_echo "$as_me: failed program was:" >&5
|
10653 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
10654 | |
|
10655 | |
|
10656 | |
fi
|
10657 | |
|
10658 | |
rm -rf conftest.dSYM
|
10659 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
10660 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10010 |
fi
|
|
10011 |
rm -f core conftest.err conftest.$ac_objext \
|
|
10012 |
conftest$ac_exeext conftest.$ac_ext
|
10661 | 10013 |
LDFLAGS="$save_LDFLAGS"
|
10662 | 10014 |
else
|
10663 | 10015 |
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
|
|
10670 | 10022 |
link_all_deplibs=yes
|
10671 | 10023 |
;;
|
10672 | 10024 |
|
10673 | |
netbsd*)
|
|
10025 |
netbsd* | netbsdelf*-gnu)
|
10674 | 10026 |
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
|
10675 | 10027 |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
|
10676 | 10028 |
else
|
|
10913 | 10265 |
fi
|
10914 | 10266 |
fi
|
10915 | 10267 |
|
10916 | |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
|
|
10268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
10917 | 10269 |
$as_echo "$ld_shlibs" >&6; }
|
10918 | 10270 |
test "$ld_shlibs" = no && can_build_shared=no
|
10919 | 10271 |
|
|
10950 | 10302 |
# Test whether the compiler implicitly links with -lc since on some
|
10951 | 10303 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
10952 | 10304 |
# to ld, don't add -lc before -lgcc.
|
10953 | |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
10305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
10954 | 10306 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
10955 | 10307 |
$RM conftest*
|
10956 | 10308 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
10957 | 10309 |
|
10958 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
10310 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
10959 | 10311 |
(eval $ac_compile) 2>&5
|
10960 | 10312 |
ac_status=$?
|
10961 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10962 | |
(exit $ac_status); } 2>conftest.err; then
|
|
10313 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
10314 |
test $ac_status = 0; } 2>conftest.err; then
|
10963 | 10315 |
soname=conftest
|
10964 | 10316 |
lib=conftest
|
10965 | 10317 |
libobjs=conftest.$ac_objext
|
|
10973 | 10325 |
libname=conftest
|
10974 | 10326 |
lt_save_allow_undefined_flag=$allow_undefined_flag
|
10975 | 10327 |
allow_undefined_flag=
|
10976 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
10328 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
10977 | 10329 |
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
10978 | 10330 |
ac_status=$?
|
10979 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10980 | |
(exit $ac_status); }
|
|
10331 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
10332 |
test $ac_status = 0; }
|
10981 | 10333 |
then
|
10982 | 10334 |
archive_cmds_need_lc=no
|
10983 | 10335 |
else
|
|
10988 | 10340 |
cat conftest.err 1>&5
|
10989 | 10341 |
fi
|
10990 | 10342 |
$RM conftest*
|
10991 | |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
|
|
10343 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
|
10992 | 10344 |
$as_echo "$archive_cmds_need_lc" >&6; }
|
10993 | 10345 |
;;
|
10994 | 10346 |
esac
|
|
11152 | 10504 |
|
11153 | 10505 |
|
11154 | 10506 |
|
11155 | |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
|
10507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
11156 | 10508 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
11157 | 10509 |
|
11158 | 10510 |
if test "$GCC" = yes; then
|
|
11560 | 10912 |
;;
|
11561 | 10913 |
|
11562 | 10914 |
# This must be Linux ELF.
|
11563 | |
linux* | k*bsd*-gnu)
|
|
10915 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
11564 | 10916 |
version_type=linux
|
11565 | 10917 |
need_lib_prefix=no
|
11566 | 10918 |
need_version=no
|
|
11574 | 10926 |
save_libdir=$libdir
|
11575 | 10927 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
|
11576 | 10928 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
|
11577 | |
cat >conftest.$ac_ext <<_ACEOF
|
11578 | |
/* confdefs.h. */
|
11579 | |
_ACEOF
|
11580 | |
cat confdefs.h >>conftest.$ac_ext
|
11581 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
10929 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11582 | 10930 |
/* end confdefs.h. */
|
11583 | 10931 |
|
11584 | 10932 |
int
|
|
11589 | 10937 |
return 0;
|
11590 | 10938 |
}
|
11591 | 10939 |
_ACEOF
|
11592 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11593 | |
if { (ac_try="$ac_link"
|
11594 | |
case "(($ac_try" in
|
11595 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11596 | |
*) ac_try_echo=$ac_try;;
|
11597 | |
esac
|
11598 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
11599 | |
$as_echo "$ac_try_echo") >&5
|
11600 | |
(eval "$ac_link") 2>conftest.er1
|
11601 | |
ac_status=$?
|
11602 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11603 | |
rm -f conftest.er1
|
11604 | |
cat conftest.err >&5
|
11605 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11606 | |
(exit $ac_status); } && {
|
11607 | |
test -z "$ac_c_werror_flag" ||
|
11608 | |
test ! -s conftest.err
|
11609 | |
} && test -s conftest$ac_exeext && {
|
11610 | |
test "$cross_compiling" = yes ||
|
11611 | |
$as_test_x conftest$ac_exeext
|
11612 | |
}; then
|
11613 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
|
|
10940 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
10941 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
11614 | 10942 |
shlibpath_overrides_runpath=yes
|
11615 | 10943 |
fi
|
11616 | |
|
11617 | |
else
|
11618 | |
$as_echo "$as_me: failed program was:" >&5
|
11619 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11620 | |
|
11621 | |
|
11622 | |
fi
|
11623 | |
|
11624 | |
rm -rf conftest.dSYM
|
11625 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11626 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10944 |
fi
|
|
10945 |
rm -f core conftest.err conftest.$ac_objext \
|
|
10946 |
conftest$ac_exeext conftest.$ac_ext
|
11627 | 10947 |
LDFLAGS=$save_LDFLAGS
|
11628 | 10948 |
libdir=$save_libdir
|
11629 | 10949 |
|
|
11632 | 10952 |
# before this can be enabled.
|
11633 | 10953 |
hardcode_into_libs=yes
|
11634 | 10954 |
|
11635 | |
# Add ABI-specific directories to the system library path.
|
11636 | |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
11637 | |
|
11638 | 10955 |
# Append ld.so.conf contents to the search path
|
11639 | 10956 |
if test -f /etc/ld.so.conf; then
|
11640 | 10957 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
11641 | |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
|
10958 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
11642 | 10959 |
fi
|
11643 | 10960 |
|
11644 | 10961 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
11648 | 10965 |
# people can always --disable-shared, the test was removed, and we
|
11649 | 10966 |
# assume the GNU/Linux dynamic linker is in use.
|
11650 | 10967 |
dynamic_linker='GNU/Linux ld.so'
|
|
10968 |
;;
|
|
10969 |
|
|
10970 |
netbsdelf*-gnu)
|
|
10971 |
version_type=linux
|
|
10972 |
need_lib_prefix=no
|
|
10973 |
need_version=no
|
|
10974 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
10975 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
10976 |
shlibpath_var=LD_LIBRARY_PATH
|
|
10977 |
shlibpath_overrides_runpath=no
|
|
10978 |
hardcode_into_libs=yes
|
|
10979 |
dynamic_linker='NetBSD ld.elf_so'
|
11651 | 10980 |
;;
|
11652 | 10981 |
|
11653 | 10982 |
netbsd*)
|
|
11838 | 11167 |
dynamic_linker=no
|
11839 | 11168 |
;;
|
11840 | 11169 |
esac
|
11841 | |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
|
11170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
11842 | 11171 |
$as_echo "$dynamic_linker" >&6; }
|
11843 | 11172 |
test "$dynamic_linker" = no && can_build_shared=no
|
11844 | 11173 |
|
|
11940 | 11269 |
|
11941 | 11270 |
|
11942 | 11271 |
|
11943 | |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
|
11272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
11944 | 11273 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
11945 | 11274 |
hardcode_action=
|
11946 | 11275 |
if test -n "$hardcode_libdir_flag_spec" ||
|
|
11965 | 11294 |
# directories.
|
11966 | 11295 |
hardcode_action=unsupported
|
11967 | 11296 |
fi
|
11968 | |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
|
|
11297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
11969 | 11298 |
$as_echo "$hardcode_action" >&6; }
|
11970 | 11299 |
|
11971 | 11300 |
if test "$hardcode_action" = relink ||
|
|
12010 | 11339 |
|
12011 | 11340 |
darwin*)
|
12012 | 11341 |
# if libdl is installed we need to link against it
|
12013 | |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
|
11342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12014 | 11343 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12015 | |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
|
11344 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
12016 | 11345 |
$as_echo_n "(cached) " >&6
|
12017 | 11346 |
else
|
12018 | 11347 |
ac_check_lib_save_LIBS=$LIBS
|
12019 | 11348 |
LIBS="-ldl $LIBS"
|
12020 | |
cat >conftest.$ac_ext <<_ACEOF
|
12021 | |
/* confdefs.h. */
|
12022 | |
_ACEOF
|
12023 | |
cat confdefs.h >>conftest.$ac_ext
|
12024 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
11349 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12025 | 11350 |
/* end confdefs.h. */
|
12026 | 11351 |
|
12027 | 11352 |
/* Override any GCC internal prototype to avoid an error.
|
|
12039 | 11364 |
return 0;
|
12040 | 11365 |
}
|
12041 | 11366 |
_ACEOF
|
12042 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12043 | |
if { (ac_try="$ac_link"
|
12044 | |
case "(($ac_try" in
|
12045 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12046 | |
*) ac_try_echo=$ac_try;;
|
12047 | |
esac
|
12048 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12049 | |
$as_echo "$ac_try_echo") >&5
|
12050 | |
(eval "$ac_link") 2>conftest.er1
|
12051 | |
ac_status=$?
|
12052 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12053 | |
rm -f conftest.er1
|
12054 | |
cat conftest.err >&5
|
12055 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12056 | |
(exit $ac_status); } && {
|
12057 | |
test -z "$ac_c_werror_flag" ||
|
12058 | |
test ! -s conftest.err
|
12059 | |
} && test -s conftest$ac_exeext && {
|
12060 | |
test "$cross_compiling" = yes ||
|
12061 | |
$as_test_x conftest$ac_exeext
|
12062 | |
}; then
|
|
11367 |
if ac_fn_c_try_link "$LINENO"; then :
|
12063 | 11368 |
ac_cv_lib_dl_dlopen=yes
|
12064 | 11369 |
else
|
12065 | |
$as_echo "$as_me: failed program was:" >&5
|
12066 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12067 | |
|
12068 | |
ac_cv_lib_dl_dlopen=no
|
12069 | |
fi
|
12070 | |
|
12071 | |
rm -rf conftest.dSYM
|
12072 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12073 | |
conftest$ac_exeext conftest.$ac_ext
|
|
11370 |
ac_cv_lib_dl_dlopen=no
|
|
11371 |
fi
|
|
11372 |
rm -f core conftest.err conftest.$ac_objext \
|
|
11373 |
conftest$ac_exeext conftest.$ac_ext
|
12074 | 11374 |
LIBS=$ac_check_lib_save_LIBS
|
12075 | 11375 |
fi
|
12076 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
|
11376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12077 | 11377 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12078 | |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
|
|
11378 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
12079 | 11379 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
12080 | 11380 |
else
|
12081 | 11381 |
|
|
12088 | 11388 |
;;
|
12089 | 11389 |
|
12090 | 11390 |
*)
|
12091 | |
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
|
12092 | |
$as_echo_n "checking for shl_load... " >&6; }
|
12093 | |
if test "${ac_cv_func_shl_load+set}" = set; then
|
12094 | |
$as_echo_n "(cached) " >&6
|
12095 | |
else
|
12096 | |
cat >conftest.$ac_ext <<_ACEOF
|
12097 | |
/* confdefs.h. */
|
12098 | |
_ACEOF
|
12099 | |
cat confdefs.h >>conftest.$ac_ext
|
12100 | |
cat >>conftest.$ac_ext <<_ACEOF
|
12101 | |
/* end confdefs.h. */
|
12102 | |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
12103 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
12104 | |
#define shl_load innocuous_shl_load
|
12105 | |
|
12106 | |
/* System header to define __stub macros and hopefully few prototypes,
|
12107 | |
which can conflict with char shl_load (); below.
|
12108 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
12109 | |
<limits.h> exists even on freestanding compilers. */
|
12110 | |
|
12111 | |
#ifdef __STDC__
|
12112 | |
# include <limits.h>
|
12113 | |
#else
|
12114 | |
# include <assert.h>
|
12115 | |
#endif
|
12116 | |
|
12117 | |
#undef shl_load
|
12118 | |
|
12119 | |
/* Override any GCC internal prototype to avoid an error.
|
12120 | |
Use char because int might match the return type of a GCC
|
12121 | |
builtin and then its argument prototype would still apply. */
|
12122 | |
#ifdef __cplusplus
|
12123 | |
extern "C"
|
12124 | |
#endif
|
12125 | |
char shl_load ();
|
12126 | |
/* The GNU C library defines this for functions which it implements
|
12127 | |
to always fail with ENOSYS. Some functions are actually named
|
12128 | |
something starting with __ and the normal name is an alias. */
|
12129 | |
#if defined __stub_shl_load || defined __stub___shl_load
|
12130 | |
choke me
|
12131 | |
#endif
|
12132 | |
|
12133 | |
int
|
12134 | |
main ()
|
12135 | |
{
|
12136 | |
return shl_load ();
|
12137 | |
;
|
12138 | |
return 0;
|
12139 | |
}
|
12140 | |
_ACEOF
|
12141 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12142 | |
if { (ac_try="$ac_link"
|
12143 | |
case "(($ac_try" in
|
12144 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12145 | |
*) ac_try_echo=$ac_try;;
|
12146 | |
esac
|
12147 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12148 | |
$as_echo "$ac_try_echo") >&5
|
12149 | |
(eval "$ac_link") 2>conftest.er1
|
12150 | |
ac_status=$?
|
12151 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12152 | |
rm -f conftest.er1
|
12153 | |
cat conftest.err >&5
|
12154 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12155 | |
(exit $ac_status); } && {
|
12156 | |
test -z "$ac_c_werror_flag" ||
|
12157 | |
test ! -s conftest.err
|
12158 | |
} && test -s conftest$ac_exeext && {
|
12159 | |
test "$cross_compiling" = yes ||
|
12160 | |
$as_test_x conftest$ac_exeext
|
12161 | |
}; then
|
12162 | |
ac_cv_func_shl_load=yes
|
12163 | |
else
|
12164 | |
$as_echo "$as_me: failed program was:" >&5
|
12165 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12166 | |
|
12167 | |
ac_cv_func_shl_load=no
|
12168 | |
fi
|
12169 | |
|
12170 | |
rm -rf conftest.dSYM
|
12171 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12172 | |
conftest$ac_exeext conftest.$ac_ext
|
12173 | |
fi
|
12174 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
|
12175 | |
$as_echo "$ac_cv_func_shl_load" >&6; }
|
12176 | |
if test "x$ac_cv_func_shl_load" = x""yes; then
|
|
11391 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
|
11392 |
if test "x$ac_cv_func_shl_load" = x""yes; then :
|
12177 | 11393 |
lt_cv_dlopen="shl_load"
|
12178 | 11394 |
else
|
12179 | |
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
|
|
11395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
12180 | 11396 |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
12181 | |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
|
|
11397 |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
|
12182 | 11398 |
$as_echo_n "(cached) " >&6
|
12183 | 11399 |
else
|
12184 | 11400 |
ac_check_lib_save_LIBS=$LIBS
|
12185 | 11401 |
LIBS="-ldld $LIBS"
|
12186 | |
cat >conftest.$ac_ext <<_ACEOF
|
12187 | |
/* confdefs.h. */
|
12188 | |
_ACEOF
|
12189 | |
cat confdefs.h >>conftest.$ac_ext
|
12190 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
11402 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12191 | 11403 |
/* end confdefs.h. */
|
12192 | 11404 |
|
12193 | 11405 |
/* Override any GCC internal prototype to avoid an error.
|
|
12205 | 11417 |
return 0;
|
12206 | 11418 |
}
|
12207 | 11419 |
_ACEOF
|
12208 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12209 | |
if { (ac_try="$ac_link"
|
12210 | |
case "(($ac_try" in
|
12211 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12212 | |
*) ac_try_echo=$ac_try;;
|
12213 | |
esac
|
12214 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12215 | |
$as_echo "$ac_try_echo") >&5
|
12216 | |
(eval "$ac_link") 2>conftest.er1
|
12217 | |
ac_status=$?
|
12218 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12219 | |
rm -f conftest.er1
|
12220 | |
cat conftest.err >&5
|
12221 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12222 | |
(exit $ac_status); } && {
|
12223 | |
test -z "$ac_c_werror_flag" ||
|
12224 | |
test ! -s conftest.err
|
12225 | |
} && test -s conftest$ac_exeext && {
|
12226 | |
test "$cross_compiling" = yes ||
|
12227 | |
$as_test_x conftest$ac_exeext
|
12228 | |
}; then
|
|
11420 |
if ac_fn_c_try_link "$LINENO"; then :
|
12229 | 11421 |
ac_cv_lib_dld_shl_load=yes
|
12230 | 11422 |
else
|
12231 | |
$as_echo "$as_me: failed program was:" >&5
|
12232 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12233 | |
|
12234 | |
ac_cv_lib_dld_shl_load=no
|
12235 | |
fi
|
12236 | |
|
12237 | |
rm -rf conftest.dSYM
|
12238 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12239 | |
conftest$ac_exeext conftest.$ac_ext
|
|
11423 |
ac_cv_lib_dld_shl_load=no
|
|
11424 |
fi
|
|
11425 |
rm -f core conftest.err conftest.$ac_objext \
|
|
11426 |
conftest$ac_exeext conftest.$ac_ext
|
12240 | 11427 |
LIBS=$ac_check_lib_save_LIBS
|
12241 | 11428 |
fi
|
12242 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
|
11429 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
12243 | 11430 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
12244 | |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
|
|
11431 |
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
|
12245 | 11432 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
|
12246 | 11433 |
else
|
12247 | |
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
|
12248 | |
$as_echo_n "checking for dlopen... " >&6; }
|
12249 | |
if test "${ac_cv_func_dlopen+set}" = set; then
|
12250 | |
$as_echo_n "(cached) " >&6
|
12251 | |
else
|
12252 | |
cat >conftest.$ac_ext <<_ACEOF
|
12253 | |
/* confdefs.h. */
|
12254 | |
_ACEOF
|
12255 | |
cat confdefs.h >>conftest.$ac_ext
|
12256 | |
cat >>conftest.$ac_ext <<_ACEOF
|
12257 | |
/* end confdefs.h. */
|
12258 | |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|
12259 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
12260 | |
#define dlopen innocuous_dlopen
|
12261 | |
|
12262 | |
/* System header to define __stub macros and hopefully few prototypes,
|
12263 | |
which can conflict with char dlopen (); below.
|
12264 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
12265 | |
<limits.h> exists even on freestanding compilers. */
|
12266 | |
|
12267 | |
#ifdef __STDC__
|
12268 | |
# include <limits.h>
|
12269 | |
#else
|
12270 | |
# include <assert.h>
|
12271 | |
#endif
|
12272 | |
|
12273 | |
#undef dlopen
|
12274 | |
|
12275 | |
/* Override any GCC internal prototype to avoid an error.
|
12276 | |
Use char because int might match the return type of a GCC
|
12277 | |
builtin and then its argument prototype would still apply. */
|
12278 | |
#ifdef __cplusplus
|
12279 | |
extern "C"
|
12280 | |
#endif
|
12281 | |
char dlopen ();
|
12282 | |
/* The GNU C library defines this for functions which it implements
|
12283 | |
to always fail with ENOSYS. Some functions are actually named
|
12284 | |
something starting with __ and the normal name is an alias. */
|
12285 | |
#if defined __stub_dlopen || defined __stub___dlopen
|
12286 | |
choke me
|
12287 | |
#endif
|
12288 | |
|
12289 | |
int
|
12290 | |
main ()
|
12291 | |
{
|
12292 | |
return dlopen ();
|
12293 | |
;
|
12294 | |
return 0;
|
12295 | |
}
|
12296 | |
_ACEOF
|
12297 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12298 | |
if { (ac_try="$ac_link"
|
12299 | |
case "(($ac_try" in
|
12300 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12301 | |
*) ac_try_echo=$ac_try;;
|
12302 | |
esac
|
12303 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12304 | |
$as_echo "$ac_try_echo") >&5
|
12305 | |
(eval "$ac_link") 2>conftest.er1
|
12306 | |
ac_status=$?
|
12307 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12308 | |
rm -f conftest.er1
|
12309 | |
cat conftest.err >&5
|
12310 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12311 | |
(exit $ac_status); } && {
|
12312 | |
test -z "$ac_c_werror_flag" ||
|
12313 | |
test ! -s conftest.err
|
12314 | |
} && test -s conftest$ac_exeext && {
|
12315 | |
test "$cross_compiling" = yes ||
|
12316 | |
$as_test_x conftest$ac_exeext
|
12317 | |
}; then
|
12318 | |
ac_cv_func_dlopen=yes
|
12319 | |
else
|
12320 | |
$as_echo "$as_me: failed program was:" >&5
|
12321 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12322 | |
|
12323 | |
ac_cv_func_dlopen=no
|
12324 | |
fi
|
12325 | |
|
12326 | |
rm -rf conftest.dSYM
|
12327 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12328 | |
conftest$ac_exeext conftest.$ac_ext
|
12329 | |
fi
|
12330 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
|
12331 | |
$as_echo "$ac_cv_func_dlopen" >&6; }
|
12332 | |
if test "x$ac_cv_func_dlopen" = x""yes; then
|
|
11434 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
|
11435 |
if test "x$ac_cv_func_dlopen" = x""yes; then :
|
12333 | 11436 |
lt_cv_dlopen="dlopen"
|
12334 | 11437 |
else
|
12335 | |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
|
11438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
12336 | 11439 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
12337 | |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
|
11440 |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
|
12338 | 11441 |
$as_echo_n "(cached) " >&6
|
12339 | 11442 |
else
|
12340 | 11443 |
ac_check_lib_save_LIBS=$LIBS
|
12341 | 11444 |
LIBS="-ldl $LIBS"
|
12342 | |
cat >conftest.$ac_ext <<_ACEOF
|
12343 | |
/* confdefs.h. */
|
12344 | |
_ACEOF
|
12345 | |
cat confdefs.h >>conftest.$ac_ext
|
12346 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
11445 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12347 | 11446 |
/* end confdefs.h. */
|
12348 | 11447 |
|
12349 | 11448 |
/* Override any GCC internal prototype to avoid an error.
|
|
12361 | 11460 |
return 0;
|
12362 | 11461 |
}
|
12363 | 11462 |
_ACEOF
|
12364 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12365 | |
if { (ac_try="$ac_link"
|
12366 | |
case "(($ac_try" in
|
12367 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12368 | |
*) ac_try_echo=$ac_try;;
|
12369 | |
esac
|
12370 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12371 | |
$as_echo "$ac_try_echo") >&5
|
12372 | |
(eval "$ac_link") 2>conftest.er1
|
12373 | |
ac_status=$?
|
12374 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12375 | |
rm -f conftest.er1
|
12376 | |
cat conftest.err >&5
|
12377 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12378 | |
(exit $ac_status); } && {
|
12379 | |
test -z "$ac_c_werror_flag" ||
|
12380 | |
test ! -s conftest.err
|
12381 | |
} && test -s conftest$ac_exeext && {
|
12382 | |
test "$cross_compiling" = yes ||
|
12383 | |
$as_test_x conftest$ac_exeext
|
12384 | |
}; then
|
|
11463 |
if ac_fn_c_try_link "$LINENO"; then :
|
12385 | 11464 |
ac_cv_lib_dl_dlopen=yes
|
12386 | 11465 |
else
|
12387 | |
$as_echo "$as_me: failed program was:" >&5
|
12388 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12389 | |
|
12390 | |
ac_cv_lib_dl_dlopen=no
|
12391 | |
fi
|
12392 | |
|
12393 | |
rm -rf conftest.dSYM
|
12394 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12395 | |
conftest$ac_exeext conftest.$ac_ext
|
|
11466 |
ac_cv_lib_dl_dlopen=no
|
|
11467 |
fi
|
|
11468 |
rm -f core conftest.err conftest.$ac_objext \
|
|
11469 |
conftest$ac_exeext conftest.$ac_ext
|
12396 | 11470 |
LIBS=$ac_check_lib_save_LIBS
|
12397 | 11471 |
fi
|
12398 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
|
11472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
12399 | 11473 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
12400 | |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
|
|
11474 |
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
|
12401 | 11475 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
12402 | 11476 |
else
|
12403 | |
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
|
|
11477 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
12404 | 11478 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
12405 | |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
|
|
11479 |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
|
12406 | 11480 |
$as_echo_n "(cached) " >&6
|
12407 | 11481 |
else
|
12408 | 11482 |
ac_check_lib_save_LIBS=$LIBS
|
12409 | 11483 |
LIBS="-lsvld $LIBS"
|
12410 | |
cat >conftest.$ac_ext <<_ACEOF
|
12411 | |
/* confdefs.h. */
|
12412 | |
_ACEOF
|
12413 | |
cat confdefs.h >>conftest.$ac_ext
|
12414 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
11484 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12415 | 11485 |
/* end confdefs.h. */
|
12416 | 11486 |
|
12417 | 11487 |
/* Override any GCC internal prototype to avoid an error.
|
|
12429 | 11499 |
return 0;
|
12430 | 11500 |
}
|
12431 | 11501 |
_ACEOF
|
12432 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12433 | |
if { (ac_try="$ac_link"
|
12434 | |
case "(($ac_try" in
|
12435 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12436 | |
*) ac_try_echo=$ac_try;;
|
12437 | |
esac
|
12438 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12439 | |
$as_echo "$ac_try_echo") >&5
|
12440 | |
(eval "$ac_link") 2>conftest.er1
|
12441 | |
ac_status=$?
|
12442 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12443 | |
rm -f conftest.er1
|
12444 | |
cat conftest.err >&5
|
12445 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12446 | |
(exit $ac_status); } && {
|
12447 | |
test -z "$ac_c_werror_flag" ||
|
12448 | |
test ! -s conftest.err
|
12449 | |
} && test -s conftest$ac_exeext && {
|
12450 | |
test "$cross_compiling" = yes ||
|
12451 | |
$as_test_x conftest$ac_exeext
|
12452 | |
}; then
|
|
11502 |
if ac_fn_c_try_link "$LINENO"; then :
|
12453 | 11503 |
ac_cv_lib_svld_dlopen=yes
|
12454 | 11504 |
else
|
12455 | |
$as_echo "$as_me: failed program was:" >&5
|
12456 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12457 | |
|
12458 | |
ac_cv_lib_svld_dlopen=no
|
12459 | |
fi
|
12460 | |
|
12461 | |
rm -rf conftest.dSYM
|
12462 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12463 | |
conftest$ac_exeext conftest.$ac_ext
|
|
11505 |
ac_cv_lib_svld_dlopen=no
|
|
11506 |
fi
|
|
11507 |
rm -f core conftest.err conftest.$ac_objext \
|
|
11508 |
conftest$ac_exeext conftest.$ac_ext
|
12464 | 11509 |
LIBS=$ac_check_lib_save_LIBS
|
12465 | 11510 |
fi
|
12466 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
|
|
11511 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
12467 | 11512 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
12468 | |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
|
|
11513 |
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
|
12469 | 11514 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
12470 | 11515 |
else
|
12471 | |
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
|
|
11516 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
12472 | 11517 |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
12473 | |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
|
|
11518 |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
|
12474 | 11519 |
$as_echo_n "(cached) " >&6
|
12475 | 11520 |
else
|
12476 | 11521 |
ac_check_lib_save_LIBS=$LIBS
|
12477 | 11522 |
LIBS="-ldld $LIBS"
|
12478 | |
cat >conftest.$ac_ext <<_ACEOF
|
12479 | |
/* confdefs.h. */
|
12480 | |
_ACEOF
|
12481 | |
cat confdefs.h >>conftest.$ac_ext
|
12482 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
11523 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
12483 | 11524 |
/* end confdefs.h. */
|
12484 | 11525 |
|
12485 | 11526 |
/* Override any GCC internal prototype to avoid an error.
|
|
12497 | 11538 |
return 0;
|
12498 | 11539 |
}
|
12499 | 11540 |
_ACEOF
|
12500 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
12501 | |
if { (ac_try="$ac_link"
|
12502 | |
case "(($ac_try" in
|
12503 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
12504 | |
*) ac_try_echo=$ac_try;;
|
12505 | |
esac
|
12506 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
12507 | |
$as_echo "$ac_try_echo") >&5
|
12508 | |
(eval "$ac_link") 2>conftest.er1
|
12509 | |
ac_status=$?
|
12510 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
12511 | |
rm -f conftest.er1
|
12512 | |
cat conftest.err >&5
|
12513 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12514 | |
(exit $ac_status); } && {
|
12515 | |
test -z "$ac_c_werror_flag" ||
|
12516 | |
test ! -s conftest.err
|
12517 | |
} && test -s conftest$ac_exeext && {
|
12518 | |
test "$cross_compiling" = yes ||
|
12519 | |
$as_test_x conftest$ac_exeext
|
12520 | |
}; then
|
|
11541 |
if ac_fn_c_try_link "$LINENO"; then :
|
12521 | 11542 |
ac_cv_lib_dld_dld_link=yes
|
12522 | 11543 |
else
|
12523 | |
$as_echo "$as_me: failed program was:" >&5
|
12524 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
12525 | |
|
12526 | |
ac_cv_lib_dld_dld_link=no
|
12527 | |
fi
|
12528 | |
|
12529 | |
rm -rf conftest.dSYM
|
12530 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
12531 | |
conftest$ac_exeext conftest.$ac_ext
|
|
11544 |
ac_cv_lib_dld_dld_link=no
|
|
11545 |
fi
|
|
11546 |
rm -f core conftest.err conftest.$ac_objext \
|
|
11547 |
conftest$ac_exeext conftest.$ac_ext
|
12532 | 11548 |
LIBS=$ac_check_lib_save_LIBS
|
12533 | 11549 |
fi
|
12534 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
|
|
11550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
12535 | 11551 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
12536 | |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
|
|
11552 |
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
|
12537 | 11553 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
|
12538 | 11554 |
fi
|
12539 | 11555 |
|
|
12572 | 11588 |
save_LIBS="$LIBS"
|
12573 | 11589 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
12574 | 11590 |
|
12575 | |
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
|
|
11591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
12576 | 11592 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
12577 | |
if test "${lt_cv_dlopen_self+set}" = set; then
|
|
11593 |
if test "${lt_cv_dlopen_self+set}" = set; then :
|
12578 | 11594 |
$as_echo_n "(cached) " >&6
|
12579 | 11595 |
else
|
12580 | 11596 |
if test "$cross_compiling" = yes; then :
|
|
12583 | 11599 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
12584 | 11600 |
lt_status=$lt_dlunknown
|
12585 | 11601 |
cat > conftest.$ac_ext <<_LT_EOF
|
12586 | |
#line 12587 "configure"
|
|
11602 |
#line 11603 "configure"
|
12587 | 11603 |
#include "confdefs.h"
|
12588 | 11604 |
|
12589 | 11605 |
#if HAVE_DLFCN_H
|
|
12642 | 11658 |
return status;
|
12643 | 11659 |
}
|
12644 | 11660 |
_LT_EOF
|
12645 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
11661 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12646 | 11662 |
(eval $ac_link) 2>&5
|
12647 | 11663 |
ac_status=$?
|
12648 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12649 | |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
11664 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11665 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
12650 | 11666 |
(./conftest; exit; ) >&5 2>/dev/null
|
12651 | 11667 |
lt_status=$?
|
12652 | 11668 |
case x$lt_status in
|
|
12663 | 11679 |
|
12664 | 11680 |
|
12665 | 11681 |
fi
|
12666 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
|
|
11682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
12667 | 11683 |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
12668 | 11684 |
|
12669 | 11685 |
if test "x$lt_cv_dlopen_self" = xyes; then
|
12670 | 11686 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
12671 | |
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
|
|
11687 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
12672 | 11688 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
12673 | |
if test "${lt_cv_dlopen_self_static+set}" = set; then
|
|
11689 |
if test "${lt_cv_dlopen_self_static+set}" = set; then :
|
12674 | 11690 |
$as_echo_n "(cached) " >&6
|
12675 | 11691 |
else
|
12676 | 11692 |
if test "$cross_compiling" = yes; then :
|
|
12679 | 11695 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
12680 | 11696 |
lt_status=$lt_dlunknown
|
12681 | 11697 |
cat > conftest.$ac_ext <<_LT_EOF
|
12682 | |
#line 12683 "configure"
|
|
11698 |
#line 11699 "configure"
|
12683 | 11699 |
#include "confdefs.h"
|
12684 | 11700 |
|
12685 | 11701 |
#if HAVE_DLFCN_H
|
|
12738 | 11754 |
return status;
|
12739 | 11755 |
}
|
12740 | 11756 |
_LT_EOF
|
12741 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
11757 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
12742 | 11758 |
(eval $ac_link) 2>&5
|
12743 | 11759 |
ac_status=$?
|
12744 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12745 | |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
11760 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11761 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
12746 | 11762 |
(./conftest; exit; ) >&5 2>/dev/null
|
12747 | 11763 |
lt_status=$?
|
12748 | 11764 |
case x$lt_status in
|
|
12759 | 11775 |
|
12760 | 11776 |
|
12761 | 11777 |
fi
|
12762 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
|
|
11778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
12763 | 11779 |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
12764 | 11780 |
fi
|
12765 | 11781 |
|
|
12798 | 11814 |
|
12799 | 11815 |
striplib=
|
12800 | 11816 |
old_striplib=
|
12801 | |
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
|
|
11817 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
12802 | 11818 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
12803 | 11819 |
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
|
12804 | 11820 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
12805 | 11821 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
12806 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
11822 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12807 | 11823 |
$as_echo "yes" >&6; }
|
12808 | 11824 |
else
|
12809 | 11825 |
# FIXME - insert some real tests, host_os isn't really good enough
|
|
12812 | 11828 |
if test -n "$STRIP" ; then
|
12813 | 11829 |
striplib="$STRIP -x"
|
12814 | 11830 |
old_striplib="$STRIP -S"
|
12815 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
11831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
12816 | 11832 |
$as_echo "yes" >&6; }
|
12817 | 11833 |
else
|
12818 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
11834 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12819 | 11835 |
$as_echo "no" >&6; }
|
12820 | 11836 |
fi
|
12821 | 11837 |
;;
|
12822 | 11838 |
*)
|
12823 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
11839 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
12824 | 11840 |
$as_echo "no" >&6; }
|
12825 | 11841 |
;;
|
12826 | 11842 |
esac
|
|
12838 | 11854 |
|
12839 | 11855 |
|
12840 | 11856 |
# Report which library types will actually be built
|
12841 | |
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
|
|
11857 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
12842 | 11858 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
12843 | |
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
|
|
11859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
12844 | 11860 |
$as_echo "$can_build_shared" >&6; }
|
12845 | 11861 |
|
12846 | |
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
|
|
11862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
12847 | 11863 |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
12848 | 11864 |
test "$can_build_shared" = "no" && enable_shared=no
|
12849 | 11865 |
|
|
12864 | 11880 |
fi
|
12865 | 11881 |
;;
|
12866 | 11882 |
esac
|
12867 | |
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
|
|
11883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
12868 | 11884 |
$as_echo "$enable_shared" >&6; }
|
12869 | 11885 |
|
12870 | |
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
|
|
11886 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
12871 | 11887 |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
12872 | 11888 |
# Make sure either enable_shared or enable_static is yes.
|
12873 | 11889 |
test "$enable_shared" = yes || enable_static=yes
|
12874 | |
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
|
|
11890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
12875 | 11891 |
$as_echo "$enable_static" >&6; }
|
12876 | 11892 |
|
12877 | 11893 |
|
|
13012 | 12028 |
|
13013 | 12029 |
|
13014 | 12030 |
# Check whether --with-gnu-ld was given.
|
13015 | |
if test "${with_gnu_ld+set}" = set; then
|
|
12031 |
if test "${with_gnu_ld+set}" = set; then :
|
13016 | 12032 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
13017 | 12033 |
else
|
13018 | 12034 |
with_gnu_ld=no
|
|
13021 | 12037 |
ac_prog=ld
|
13022 | 12038 |
if test "$GCC" = yes; then
|
13023 | 12039 |
# Check if gcc -print-prog-name=ld gives a path.
|
13024 | |
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
|
|
12040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
13025 | 12041 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
13026 | 12042 |
case $host in
|
13027 | 12043 |
*-*-mingw*)
|
|
13051 | 12067 |
;;
|
13052 | 12068 |
esac
|
13053 | 12069 |
elif test "$with_gnu_ld" = yes; then
|
13054 | |
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
|
|
12070 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
13055 | 12071 |
$as_echo_n "checking for GNU ld... " >&6; }
|
13056 | 12072 |
else
|
13057 | |
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
|
12073 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
13058 | 12074 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
13059 | 12075 |
fi
|
13060 | |
if test "${lt_cv_path_LD+set}" = set; then
|
|
12076 |
if test "${lt_cv_path_LD+set}" = set; then :
|
13061 | 12077 |
$as_echo_n "(cached) " >&6
|
13062 | 12078 |
else
|
13063 | 12079 |
if test -z "$LD"; then
|
|
13088 | 12104 |
|
13089 | 12105 |
LD="$lt_cv_path_LD"
|
13090 | 12106 |
if test -n "$LD"; then
|
13091 | |
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
|
|
12107 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
13092 | 12108 |
$as_echo "$LD" >&6; }
|
13093 | 12109 |
else
|
13094 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
12110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
13095 | 12111 |
$as_echo "no" >&6; }
|
13096 | 12112 |
fi
|
13097 | |
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
13098 | |
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
13099 | |
{ (exit 1); exit 1; }; }
|
13100 | |
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
|
12113 |
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
|
|
12114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
13101 | 12115 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
13102 | |
if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
|
12116 |
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
|
13103 | 12117 |
$as_echo_n "(cached) " >&6
|
13104 | 12118 |
else
|
13105 | 12119 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
|
13112 | 12126 |
;;
|
13113 | 12127 |
esac
|
13114 | 12128 |
fi
|
13115 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
|
12129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
13116 | 12130 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
13117 | 12131 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
13118 | 12132 |
|
|
13167 | 12181 |
fi
|
13168 | 12182 |
|
13169 | 12183 |
# PORTME: fill in a description of your system's C++ link characteristics
|
13170 | |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
12184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
13171 | 12185 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
13172 | 12186 |
ld_shlibs_CXX=yes
|
13173 | 12187 |
case $host_os in
|
|
13268 | 12282 |
allow_undefined_flag_CXX='-berok'
|
13269 | 12283 |
# Determine the default libpath from the value encoded in an empty
|
13270 | 12284 |
# executable.
|
13271 | |
cat >conftest.$ac_ext <<_ACEOF
|
13272 | |
/* confdefs.h. */
|
13273 | |
_ACEOF
|
13274 | |
cat confdefs.h >>conftest.$ac_ext
|
13275 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
12285 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13276 | 12286 |
/* end confdefs.h. */
|
13277 | 12287 |
|
13278 | 12288 |
int
|
|
13283 | 12293 |
return 0;
|
13284 | 12294 |
}
|
13285 | 12295 |
_ACEOF
|
13286 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
13287 | |
if { (ac_try="$ac_link"
|
13288 | |
case "(($ac_try" in
|
13289 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
13290 | |
*) ac_try_echo=$ac_try;;
|
13291 | |
esac
|
13292 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
13293 | |
$as_echo "$ac_try_echo") >&5
|
13294 | |
(eval "$ac_link") 2>conftest.er1
|
13295 | |
ac_status=$?
|
13296 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
13297 | |
rm -f conftest.er1
|
13298 | |
cat conftest.err >&5
|
13299 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
13300 | |
(exit $ac_status); } && {
|
13301 | |
test -z "$ac_cxx_werror_flag" ||
|
13302 | |
test ! -s conftest.err
|
13303 | |
} && test -s conftest$ac_exeext && {
|
13304 | |
test "$cross_compiling" = yes ||
|
13305 | |
$as_test_x conftest$ac_exeext
|
13306 | |
}; then
|
|
12296 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
13307 | 12297 |
|
13308 | 12298 |
lt_aix_libpath_sed='
|
13309 | 12299 |
/Import File Strings/,/^$/ {
|
|
13317 | 12307 |
if test -z "$aix_libpath"; then
|
13318 | 12308 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13319 | 12309 |
fi
|
13320 | |
else
|
13321 | |
$as_echo "$as_me: failed program was:" >&5
|
13322 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
13323 | |
|
13324 | |
|
13325 | |
fi
|
13326 | |
|
13327 | |
rm -rf conftest.dSYM
|
13328 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
13329 | |
conftest$ac_exeext conftest.$ac_ext
|
|
12310 |
fi
|
|
12311 |
rm -f core conftest.err conftest.$ac_objext \
|
|
12312 |
conftest$ac_exeext conftest.$ac_ext
|
13330 | 12313 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
13331 | 12314 |
|
13332 | 12315 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
13340 | 12323 |
else
|
13341 | 12324 |
# Determine the default libpath from the value encoded in an
|
13342 | 12325 |
# empty executable.
|
13343 | |
cat >conftest.$ac_ext <<_ACEOF
|
13344 | |
/* confdefs.h. */
|
13345 | |
_ACEOF
|
13346 | |
cat confdefs.h >>conftest.$ac_ext
|
13347 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
12326 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
13348 | 12327 |
/* end confdefs.h. */
|
13349 | 12328 |
|
13350 | 12329 |
int
|
|
13355 | 12334 |
return 0;
|
13356 | 12335 |
}
|
13357 | 12336 |
_ACEOF
|
13358 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
13359 | |
if { (ac_try="$ac_link"
|
13360 | |
case "(($ac_try" in
|
13361 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
13362 | |
*) ac_try_echo=$ac_try;;
|
13363 | |
esac
|
13364 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
13365 | |
$as_echo "$ac_try_echo") >&5
|
13366 | |
(eval "$ac_link") 2>conftest.er1
|
13367 | |
ac_status=$?
|
13368 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
13369 | |
rm -f conftest.er1
|
13370 | |
cat conftest.err >&5
|
13371 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
13372 | |
(exit $ac_status); } && {
|
13373 | |
test -z "$ac_cxx_werror_flag" ||
|
13374 | |
test ! -s conftest.err
|
13375 | |
} && test -s conftest$ac_exeext && {
|
13376 | |
test "$cross_compiling" = yes ||
|
13377 | |
$as_test_x conftest$ac_exeext
|
13378 | |
}; then
|
|
12337 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
13379 | 12338 |
|
13380 | 12339 |
lt_aix_libpath_sed='
|
13381 | 12340 |
/Import File Strings/,/^$/ {
|
|
13389 | 12348 |
if test -z "$aix_libpath"; then
|
13390 | 12349 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
13391 | 12350 |
fi
|
13392 | |
else
|
13393 | |
$as_echo "$as_me: failed program was:" >&5
|
13394 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
13395 | |
|
13396 | |
|
13397 | |
fi
|
13398 | |
|
13399 | |
rm -rf conftest.dSYM
|
13400 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
13401 | |
conftest$ac_exeext conftest.$ac_ext
|
|
12351 |
fi
|
|
12352 |
rm -f core conftest.err conftest.$ac_objext \
|
|
12353 |
conftest$ac_exeext conftest.$ac_ext
|
13402 | 12354 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
13403 | 12355 |
|
13404 | 12356 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
13683 | 12635 |
inherit_rpath_CXX=yes
|
13684 | 12636 |
;;
|
13685 | 12637 |
|
13686 | |
linux* | k*bsd*-gnu)
|
|
12638 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
13687 | 12639 |
case $cc_basename in
|
13688 | 12640 |
KCC*)
|
13689 | 12641 |
# Kuck and Associates, Inc. (KAI) C++ Compiler
|
|
14142 | 13094 |
;;
|
14143 | 13095 |
esac
|
14144 | 13096 |
|
14145 | |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
|
|
13097 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
14146 | 13098 |
$as_echo "$ld_shlibs_CXX" >&6; }
|
14147 | 13099 |
test "$ld_shlibs_CXX" = no && can_build_shared=no
|
14148 | 13100 |
|
|
14170 | 13122 |
};
|
14171 | 13123 |
_LT_EOF
|
14172 | 13124 |
|
14173 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
13125 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
14174 | 13126 |
(eval $ac_compile) 2>&5
|
14175 | 13127 |
ac_status=$?
|
14176 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
14177 | |
(exit $ac_status); }; then
|
|
13128 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13129 |
test $ac_status = 0; }; then
|
14178 | 13130 |
# Parse the compiler output and extract the necessary
|
14179 | 13131 |
# objects, libraries and library flags.
|
14180 | 13132 |
|
|
14355 | 13307 |
lt_prog_compiler_pic_CXX=
|
14356 | 13308 |
lt_prog_compiler_static_CXX=
|
14357 | 13309 |
|
14358 | |
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
|
13310 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
14359 | 13311 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
14360 | 13312 |
|
14361 | 13313 |
# C++ specific cases for pic, static, wl, etc.
|
|
14511 | 13463 |
;;
|
14512 | 13464 |
esac
|
14513 | 13465 |
;;
|
14514 | |
linux* | k*bsd*-gnu)
|
|
13466 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
14515 | 13467 |
case $cc_basename in
|
14516 | 13468 |
KCC*)
|
14517 | 13469 |
# KAI C++ Compiler
|
|
14575 | 13527 |
;;
|
14576 | 13528 |
esac
|
14577 | 13529 |
;;
|
14578 | |
netbsd*)
|
|
13530 |
netbsd* | netbsdelf*-gnu)
|
14579 | 13531 |
;;
|
14580 | 13532 |
*qnx* | *nto*)
|
14581 | 13533 |
# QNX uses GNU C++, but need to define -shared option too, otherwise
|
|
14672 | 13624 |
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
|
14673 | 13625 |
;;
|
14674 | 13626 |
esac
|
14675 | |
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
|
|
13627 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
|
14676 | 13628 |
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
|
14677 | 13629 |
|
14678 | 13630 |
|
|
14681 | 13633 |
# Check to make sure the PIC flag actually works.
|
14682 | 13634 |
#
|
14683 | 13635 |
if test -n "$lt_prog_compiler_pic_CXX"; then
|
14684 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
|
13636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
14685 | 13637 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
14686 | |
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
|
|
13638 |
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
|
14687 | 13639 |
$as_echo_n "(cached) " >&6
|
14688 | 13640 |
else
|
14689 | 13641 |
lt_cv_prog_compiler_pic_works_CXX=no
|
|
14699 | 13651 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14700 | 13652 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14701 | 13653 |
-e 's:$: $lt_compiler_flag:'`
|
14702 | |
(eval echo "\"\$as_me:14703: $lt_compile\"" >&5)
|
|
13654 |
(eval echo "\"\$as_me:13655: $lt_compile\"" >&5)
|
14703 | 13655 |
(eval "$lt_compile" 2>conftest.err)
|
14704 | 13656 |
ac_status=$?
|
14705 | 13657 |
cat conftest.err >&5
|
14706 | |
echo "$as_me:14707: \$? = $ac_status" >&5
|
|
13658 |
echo "$as_me:13659: \$? = $ac_status" >&5
|
14707 | 13659 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
14708 | 13660 |
# The compiler can only warn and ignore the option if not recognized
|
14709 | 13661 |
# So say no if there are warnings other than the usual output.
|
|
14716 | 13668 |
$RM conftest*
|
14717 | 13669 |
|
14718 | 13670 |
fi
|
14719 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
|
13671 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
|
14720 | 13672 |
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
|
14721 | 13673 |
|
14722 | 13674 |
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
|
|
14737 | 13689 |
# Check to make sure the static flag actually works.
|
14738 | 13690 |
#
|
14739 | 13691 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
|
14740 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
13692 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
14741 | 13693 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
14742 | |
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
|
|
13694 |
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
|
14743 | 13695 |
$as_echo_n "(cached) " >&6
|
14744 | 13696 |
else
|
14745 | 13697 |
lt_cv_prog_compiler_static_works_CXX=no
|
|
14765 | 13717 |
LDFLAGS="$save_LDFLAGS"
|
14766 | 13718 |
|
14767 | 13719 |
fi
|
14768 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
|
13720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
|
14769 | 13721 |
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
|
14770 | 13722 |
|
14771 | 13723 |
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
|
|
14777 | 13729 |
|
14778 | 13730 |
|
14779 | 13731 |
|
14780 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
13732 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
14781 | 13733 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
14782 | |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
|
|
13734 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
|
14783 | 13735 |
$as_echo_n "(cached) " >&6
|
14784 | 13736 |
else
|
14785 | 13737 |
lt_cv_prog_compiler_c_o_CXX=no
|
|
14798 | 13750 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14799 | 13751 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14800 | 13752 |
-e 's:$: $lt_compiler_flag:'`
|
14801 | |
(eval echo "\"\$as_me:14802: $lt_compile\"" >&5)
|
|
13753 |
(eval echo "\"\$as_me:13754: $lt_compile\"" >&5)
|
14802 | 13754 |
(eval "$lt_compile" 2>out/conftest.err)
|
14803 | 13755 |
ac_status=$?
|
14804 | 13756 |
cat out/conftest.err >&5
|
14805 | |
echo "$as_me:14806: \$? = $ac_status" >&5
|
|
13757 |
echo "$as_me:13758: \$? = $ac_status" >&5
|
14806 | 13758 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
14807 | 13759 |
then
|
14808 | 13760 |
# The compiler can only warn and ignore the option if not recognized
|
|
14824 | 13776 |
$RM conftest*
|
14825 | 13777 |
|
14826 | 13778 |
fi
|
14827 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
13779 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
14828 | 13780 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
14829 | 13781 |
|
14830 | 13782 |
|
14831 | 13783 |
|
14832 | |
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
13784 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
14833 | 13785 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
14834 | |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
|
|
13786 |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
|
14835 | 13787 |
$as_echo_n "(cached) " >&6
|
14836 | 13788 |
else
|
14837 | 13789 |
lt_cv_prog_compiler_c_o_CXX=no
|
|
14850 | 13802 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14851 | 13803 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14852 | 13804 |
-e 's:$: $lt_compiler_flag:'`
|
14853 | |
(eval echo "\"\$as_me:14854: $lt_compile\"" >&5)
|
|
13805 |
(eval echo "\"\$as_me:13806: $lt_compile\"" >&5)
|
14854 | 13806 |
(eval "$lt_compile" 2>out/conftest.err)
|
14855 | 13807 |
ac_status=$?
|
14856 | 13808 |
cat out/conftest.err >&5
|
14857 | |
echo "$as_me:14858: \$? = $ac_status" >&5
|
|
13809 |
echo "$as_me:13810: \$? = $ac_status" >&5
|
14858 | 13810 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
14859 | 13811 |
then
|
14860 | 13812 |
# The compiler can only warn and ignore the option if not recognized
|
|
14876 | 13828 |
$RM conftest*
|
14877 | 13829 |
|
14878 | 13830 |
fi
|
14879 | |
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
13831 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
14880 | 13832 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
14881 | 13833 |
|
14882 | 13834 |
|
|
14885 | 13837 |
hard_links="nottested"
|
14886 | 13838 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
|
14887 | 13839 |
# do not overwrite the value of need_locks provided by the user
|
14888 | |
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
|
13840 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
14889 | 13841 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
14890 | 13842 |
hard_links=yes
|
14891 | 13843 |
$RM conftest*
|
|
14893 | 13845 |
touch conftest.a
|
14894 | 13846 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
14895 | 13847 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
14896 | |
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
|
|
13848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
14897 | 13849 |
$as_echo "$hard_links" >&6; }
|
14898 | 13850 |
if test "$hard_links" = no; then
|
14899 | |
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
13851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
14900 | 13852 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
14901 | 13853 |
need_locks=warn
|
14902 | 13854 |
fi
|
|
14906 | 13858 |
|
14907 | 13859 |
|
14908 | 13860 |
|
14909 | |
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
13861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
14910 | 13862 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
14911 | 13863 |
|
14912 | 13864 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
|
14926 | 13878 |
cygwin* | mingw* | cegcc*)
|
14927 | 13879 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
|
14928 | 13880 |
;;
|
|
13881 |
linux* | k*bsd*-gnu)
|
|
13882 |
link_all_deplibs_CXX=no
|
|
13883 |
;;
|
14929 | 13884 |
*)
|
14930 | 13885 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
14931 | 13886 |
;;
|
14932 | 13887 |
esac
|
14933 | 13888 |
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
|
14934 | 13889 |
|
14935 | |
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
|
|
13890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
14936 | 13891 |
$as_echo "$ld_shlibs_CXX" >&6; }
|
14937 | 13892 |
test "$ld_shlibs_CXX" = no && can_build_shared=no
|
14938 | 13893 |
|
|
14960 | 13915 |
# Test whether the compiler implicitly links with -lc since on some
|
14961 | 13916 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
14962 | 13917 |
# to ld, don't add -lc before -lgcc.
|
14963 | |
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
|
13918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
14964 | 13919 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
14965 | 13920 |
$RM conftest*
|
14966 | 13921 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
14967 | 13922 |
|
14968 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
13923 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
14969 | 13924 |
(eval $ac_compile) 2>&5
|
14970 | 13925 |
ac_status=$?
|
14971 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
14972 | |
(exit $ac_status); } 2>conftest.err; then
|
|
13926 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13927 |
test $ac_status = 0; } 2>conftest.err; then
|
14973 | 13928 |
soname=conftest
|
14974 | 13929 |
lib=conftest
|
14975 | 13930 |
libobjs=conftest.$ac_objext
|
|
14983 | 13938 |
libname=conftest
|
14984 | 13939 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
|
14985 | 13940 |
allow_undefined_flag_CXX=
|
14986 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
13941 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
14987 | 13942 |
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
14988 | 13943 |
ac_status=$?
|
14989 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
14990 | |
(exit $ac_status); }
|
|
13944 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
13945 |
test $ac_status = 0; }
|
14991 | 13946 |
then
|
14992 | 13947 |
archive_cmds_need_lc_CXX=no
|
14993 | 13948 |
else
|
|
14998 | 13953 |
cat conftest.err 1>&5
|
14999 | 13954 |
fi
|
15000 | 13955 |
$RM conftest*
|
15001 | |
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
|
|
13956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
|
15002 | 13957 |
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
|
15003 | 13958 |
;;
|
15004 | 13959 |
esac
|
|
15069 | 14024 |
|
15070 | 14025 |
|
15071 | 14026 |
|
15072 | |
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
|
14027 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
15073 | 14028 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
15074 | 14029 |
|
15075 | 14030 |
library_names_spec=
|
|
15425 | 14380 |
;;
|
15426 | 14381 |
|
15427 | 14382 |
# This must be Linux ELF.
|
15428 | |
linux* | k*bsd*-gnu)
|
|
14383 |
linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
15429 | 14384 |
version_type=linux
|
15430 | 14385 |
need_lib_prefix=no
|
15431 | 14386 |
need_version=no
|
|
15439 | 14394 |
save_libdir=$libdir
|
15440 | 14395 |
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
|
15441 | 14396 |
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
|
15442 | |
cat >conftest.$ac_ext <<_ACEOF
|
15443 | |
/* confdefs.h. */
|
15444 | |
_ACEOF
|
15445 | |
cat confdefs.h >>conftest.$ac_ext
|
15446 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14397 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15447 | 14398 |
/* end confdefs.h. */
|
15448 | 14399 |
|
15449 | 14400 |
int
|
|
15454 | 14405 |
return 0;
|
15455 | 14406 |
}
|
15456 | 14407 |
_ACEOF
|
15457 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
15458 | |
if { (ac_try="$ac_link"
|
15459 | |
case "(($ac_try" in
|
15460 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
15461 | |
*) ac_try_echo=$ac_try;;
|
15462 | |
esac
|
15463 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
15464 | |
$as_echo "$ac_try_echo") >&5
|
15465 | |
(eval "$ac_link") 2>conftest.er1
|
15466 | |
ac_status=$?
|
15467 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
15468 | |
rm -f conftest.er1
|
15469 | |
cat conftest.err >&5
|
15470 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15471 | |
(exit $ac_status); } && {
|
15472 | |
test -z "$ac_cxx_werror_flag" ||
|
15473 | |
test ! -s conftest.err
|
15474 | |
} && test -s conftest$ac_exeext && {
|
15475 | |
test "$cross_compiling" = yes ||
|
15476 | |
$as_test_x conftest$ac_exeext
|
15477 | |
}; then
|
15478 | |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
|
|
14408 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
|
14409 |
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
|
15479 | 14410 |
shlibpath_overrides_runpath=yes
|
15480 | 14411 |
fi
|
15481 | |
|
15482 | |
else
|
15483 | |
$as_echo "$as_me: failed program was:" >&5
|
15484 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
15485 | |
|
15486 | |
|
15487 | |
fi
|
15488 | |
|
15489 | |
rm -rf conftest.dSYM
|
15490 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
15491 | |
conftest$ac_exeext conftest.$ac_ext
|
|
14412 |
fi
|
|
14413 |
rm -f core conftest.err conftest.$ac_objext \
|
|
14414 |
conftest$ac_exeext conftest.$ac_ext
|
15492 | 14415 |
LDFLAGS=$save_LDFLAGS
|
15493 | 14416 |
libdir=$save_libdir
|
15494 | 14417 |
|
|
15497 | 14420 |
# before this can be enabled.
|
15498 | 14421 |
hardcode_into_libs=yes
|
15499 | 14422 |
|
15500 | |
# Add ABI-specific directories to the system library path.
|
15501 | |
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
|
15502 | |
|
15503 | 14423 |
# Append ld.so.conf contents to the search path
|
15504 | 14424 |
if test -f /etc/ld.so.conf; then
|
15505 | 14425 |
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
|
15506 | |
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
|
|
14426 |
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
|
15507 | 14427 |
fi
|
15508 | 14428 |
|
15509 | 14429 |
# We used to test for /lib/ld.so.1 and disable shared libraries on
|
|
15513 | 14433 |
# people can always --disable-shared, the test was removed, and we
|
15514 | 14434 |
# assume the GNU/Linux dynamic linker is in use.
|
15515 | 14435 |
dynamic_linker='GNU/Linux ld.so'
|
|
14436 |
;;
|
|
14437 |
|
|
14438 |
netbsdelf*-gnu)
|
|
14439 |
version_type=linux
|
|
14440 |
need_lib_prefix=no
|
|
14441 |
need_version=no
|
|
14442 |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
|
|
14443 |
soname_spec='${libname}${release}${shared_ext}$major'
|
|
14444 |
shlibpath_var=LD_LIBRARY_PATH
|
|
14445 |
shlibpath_overrides_runpath=no
|
|
14446 |
hardcode_into_libs=yes
|
|
14447 |
dynamic_linker='NetBSD ld.elf_so'
|
15516 | 14448 |
;;
|
15517 | 14449 |
|
15518 | 14450 |
netbsd*)
|
|
15703 | 14635 |
dynamic_linker=no
|
15704 | 14636 |
;;
|
15705 | 14637 |
esac
|
15706 | |
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
|
14638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
15707 | 14639 |
$as_echo "$dynamic_linker" >&6; }
|
15708 | 14640 |
test "$dynamic_linker" = no && can_build_shared=no
|
15709 | 14641 |
|
|
15754 | 14686 |
|
15755 | 14687 |
|
15756 | 14688 |
|
15757 | |
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
|
14689 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
15758 | 14690 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
15759 | 14691 |
hardcode_action_CXX=
|
15760 | 14692 |
if test -n "$hardcode_libdir_flag_spec_CXX" ||
|
|
15779 | 14711 |
# directories.
|
15780 | 14712 |
hardcode_action_CXX=unsupported
|
15781 | 14713 |
fi
|
15782 | |
{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
|
|
14714 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
15783 | 14715 |
$as_echo "$hardcode_action_CXX" >&6; }
|
15784 | 14716 |
|
15785 | 14717 |
if test "$hardcode_action_CXX" = relink ||
|
|
15841 | 14773 |
#### Checks for header files. ####
|
15842 | 14774 |
|
15843 | 14775 |
# ISO
|
15844 | |
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
|
14776 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
15845 | 14777 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
15846 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
|
14778 |
if test "${ac_cv_header_stdc+set}" = set; then :
|
15847 | 14779 |
$as_echo_n "(cached) " >&6
|
15848 | 14780 |
else
|
15849 | |
cat >conftest.$ac_ext <<_ACEOF
|
15850 | |
/* confdefs.h. */
|
15851 | |
_ACEOF
|
15852 | |
cat confdefs.h >>conftest.$ac_ext
|
15853 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14781 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15854 | 14782 |
/* end confdefs.h. */
|
15855 | 14783 |
#include <stdlib.h>
|
15856 | 14784 |
#include <stdarg.h>
|
|
15865 | 14793 |
return 0;
|
15866 | 14794 |
}
|
15867 | 14795 |
_ACEOF
|
15868 | |
rm -f conftest.$ac_objext
|
15869 | |
if { (ac_try="$ac_compile"
|
15870 | |
case "(($ac_try" in
|
15871 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
15872 | |
*) ac_try_echo=$ac_try;;
|
15873 | |
esac
|
15874 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
15875 | |
$as_echo "$ac_try_echo") >&5
|
15876 | |
(eval "$ac_compile") 2>conftest.er1
|
15877 | |
ac_status=$?
|
15878 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
15879 | |
rm -f conftest.er1
|
15880 | |
cat conftest.err >&5
|
15881 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15882 | |
(exit $ac_status); } && {
|
15883 | |
test -z "$ac_c_werror_flag" ||
|
15884 | |
test ! -s conftest.err
|
15885 | |
} && test -s conftest.$ac_objext; then
|
|
14796 |
if ac_fn_c_try_compile "$LINENO"; then :
|
15886 | 14797 |
ac_cv_header_stdc=yes
|
15887 | 14798 |
else
|
15888 | |
$as_echo "$as_me: failed program was:" >&5
|
15889 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
15890 | |
|
15891 | |
ac_cv_header_stdc=no
|
15892 | |
fi
|
15893 | |
|
|
14799 |
ac_cv_header_stdc=no
|
|
14800 |
fi
|
15894 | 14801 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
15895 | 14802 |
|
15896 | 14803 |
if test $ac_cv_header_stdc = yes; then
|
15897 | 14804 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
15898 | |
cat >conftest.$ac_ext <<_ACEOF
|
15899 | |
/* confdefs.h. */
|
15900 | |
_ACEOF
|
15901 | |
cat confdefs.h >>conftest.$ac_ext
|
15902 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14805 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15903 | 14806 |
/* end confdefs.h. */
|
15904 | 14807 |
#include <string.h>
|
15905 | 14808 |
|
15906 | 14809 |
_ACEOF
|
15907 | 14810 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
15908 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
15909 | |
:
|
|
14811 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
14812 |
|
15910 | 14813 |
else
|
15911 | 14814 |
ac_cv_header_stdc=no
|
15912 | 14815 |
fi
|
|
15916 | 14819 |
|
15917 | 14820 |
if test $ac_cv_header_stdc = yes; then
|
15918 | 14821 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
15919 | |
cat >conftest.$ac_ext <<_ACEOF
|
15920 | |
/* confdefs.h. */
|
15921 | |
_ACEOF
|
15922 | |
cat confdefs.h >>conftest.$ac_ext
|
15923 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14822 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15924 | 14823 |
/* end confdefs.h. */
|
15925 | 14824 |
#include <stdlib.h>
|
15926 | 14825 |
|
15927 | 14826 |
_ACEOF
|
15928 | 14827 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
15929 | |
$EGREP "free" >/dev/null 2>&1; then
|
15930 | |
:
|
|
14828 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
14829 |
|
15931 | 14830 |
else
|
15932 | 14831 |
ac_cv_header_stdc=no
|
15933 | 14832 |
fi
|
|
15937 | 14836 |
|
15938 | 14837 |
if test $ac_cv_header_stdc = yes; then
|
15939 | 14838 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
15940 | |
if test "$cross_compiling" = yes; then
|
|
14839 |
if test "$cross_compiling" = yes; then :
|
15941 | 14840 |
:
|
15942 | 14841 |
else
|
15943 | |
cat >conftest.$ac_ext <<_ACEOF
|
15944 | |
/* confdefs.h. */
|
15945 | |
_ACEOF
|
15946 | |
cat confdefs.h >>conftest.$ac_ext
|
15947 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14842 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
15948 | 14843 |
/* end confdefs.h. */
|
15949 | 14844 |
#include <ctype.h>
|
15950 | 14845 |
#include <stdlib.h>
|
|
15971 | 14866 |
return 0;
|
15972 | 14867 |
}
|
15973 | 14868 |
_ACEOF
|
15974 | |
rm -f conftest$ac_exeext
|
15975 | |
if { (ac_try="$ac_link"
|
15976 | |
case "(($ac_try" in
|
15977 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
15978 | |
*) ac_try_echo=$ac_try;;
|
15979 | |
esac
|
15980 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
15981 | |
$as_echo "$ac_try_echo") >&5
|
15982 | |
(eval "$ac_link") 2>&5
|
15983 | |
ac_status=$?
|
15984 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15985 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
15986 | |
{ (case "(($ac_try" in
|
15987 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
15988 | |
*) ac_try_echo=$ac_try;;
|
15989 | |
esac
|
15990 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
15991 | |
$as_echo "$ac_try_echo") >&5
|
15992 | |
(eval "$ac_try") 2>&5
|
15993 | |
ac_status=$?
|
15994 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15995 | |
(exit $ac_status); }; }; then
|
15996 | |
:
|
15997 | |
else
|
15998 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
15999 | |
$as_echo "$as_me: failed program was:" >&5
|
16000 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16001 | |
|
16002 | |
( exit $ac_status )
|
16003 | |
ac_cv_header_stdc=no
|
16004 | |
fi
|
16005 | |
rm -rf conftest.dSYM
|
16006 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
16007 | |
fi
|
16008 | |
|
16009 | |
|
16010 | |
fi
|
16011 | |
fi
|
16012 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
|
14869 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
14870 |
|
|
14871 |
else
|
|
14872 |
ac_cv_header_stdc=no
|
|
14873 |
fi
|
|
14874 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
14875 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
14876 |
fi
|
|
14877 |
|
|
14878 |
fi
|
|
14879 |
fi
|
|
14880 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
16013 | 14881 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
16014 | 14882 |
if test $ac_cv_header_stdc = yes; then
|
16015 | 14883 |
|
16016 | |
cat >>confdefs.h <<\_ACEOF
|
16017 | |
#define STDC_HEADERS 1
|
|
14884 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
14885 |
|
|
14886 |
fi
|
|
14887 |
|
|
14888 |
|
|
14889 |
# XPG4-UNIX
|
|
14890 |
for ac_header in sys/poll.h
|
|
14891 |
do :
|
|
14892 |
ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
|
|
14893 |
if test "x$ac_cv_header_sys_poll_h" = x""yes; then :
|
|
14894 |
cat >>confdefs.h <<_ACEOF
|
|
14895 |
#define HAVE_SYS_POLL_H 1
|
16018 | 14896 |
_ACEOF
|
16019 | 14897 |
|
16020 | 14898 |
fi
|
16021 | 14899 |
|
16022 | |
|
16023 | |
# XPG4-UNIX
|
16024 | |
|
16025 | |
for ac_header in sys/poll.h
|
16026 | |
do
|
16027 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
16028 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16029 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16030 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16031 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
|
14900 |
done
|
|
14901 |
|
|
14902 |
|
|
14903 |
# Other
|
|
14904 |
for ac_header in sys/ioctl.h
|
|
14905 |
do :
|
|
14906 |
ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
|
|
14907 |
if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then :
|
|
14908 |
cat >>confdefs.h <<_ACEOF
|
|
14909 |
#define HAVE_SYS_IOCTL_H 1
|
|
14910 |
_ACEOF
|
|
14911 |
|
|
14912 |
fi
|
|
14913 |
|
|
14914 |
done
|
|
14915 |
|
|
14916 |
for ac_header in byteswap.h
|
|
14917 |
do :
|
|
14918 |
ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
|
|
14919 |
if test "x$ac_cv_header_byteswap_h" = x""yes; then :
|
|
14920 |
cat >>confdefs.h <<_ACEOF
|
|
14921 |
#define HAVE_BYTESWAP_H 1
|
|
14922 |
_ACEOF
|
|
14923 |
|
|
14924 |
fi
|
|
14925 |
|
|
14926 |
done
|
|
14927 |
|
|
14928 |
|
|
14929 |
#### Typdefs, structures, etc. ####
|
|
14930 |
|
|
14931 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
14932 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
|
14933 |
if test "${ac_cv_c_const+set}" = set; then :
|
16032 | 14934 |
$as_echo_n "(cached) " >&6
|
16033 | |
fi
|
16034 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16035 | |
$as_echo "$as_val"'`
|
16036 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16037 | |
$as_echo "$ac_res" >&6; }
|
16038 | |
else
|
16039 | |
# Is the header compilable?
|
16040 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
16041 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
16042 | |
cat >conftest.$ac_ext <<_ACEOF
|
16043 | |
/* confdefs.h. */
|
16044 | |
_ACEOF
|
16045 | |
cat confdefs.h >>conftest.$ac_ext
|
16046 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16047 | |
/* end confdefs.h. */
|
16048 | |
$ac_includes_default
|
16049 | |
#include <$ac_header>
|
16050 | |
_ACEOF
|
16051 | |
rm -f conftest.$ac_objext
|
16052 | |
if { (ac_try="$ac_compile"
|
16053 | |
case "(($ac_try" in
|
16054 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16055 | |
*) ac_try_echo=$ac_try;;
|
16056 | |
esac
|
16057 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16058 | |
$as_echo "$ac_try_echo") >&5
|
16059 | |
(eval "$ac_compile") 2>conftest.er1
|
16060 | |
ac_status=$?
|
16061 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16062 | |
rm -f conftest.er1
|
16063 | |
cat conftest.err >&5
|
16064 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16065 | |
(exit $ac_status); } && {
|
16066 | |
test -z "$ac_c_werror_flag" ||
|
16067 | |
test ! -s conftest.err
|
16068 | |
} && test -s conftest.$ac_objext; then
|
16069 | |
ac_header_compiler=yes
|
16070 | |
else
|
16071 | |
$as_echo "$as_me: failed program was:" >&5
|
16072 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16073 | |
|
16074 | |
ac_header_compiler=no
|
16075 | |
fi
|
16076 | |
|
16077 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16078 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
16079 | |
$as_echo "$ac_header_compiler" >&6; }
|
16080 | |
|
16081 | |
# Is the header present?
|
16082 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
16083 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
16084 | |
cat >conftest.$ac_ext <<_ACEOF
|
16085 | |
/* confdefs.h. */
|
16086 | |
_ACEOF
|
16087 | |
cat confdefs.h >>conftest.$ac_ext
|
16088 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16089 | |
/* end confdefs.h. */
|
16090 | |
#include <$ac_header>
|
16091 | |
_ACEOF
|
16092 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
16093 | |
case "(($ac_try" in
|
16094 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16095 | |
*) ac_try_echo=$ac_try;;
|
16096 | |
esac
|
16097 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16098 | |
$as_echo "$ac_try_echo") >&5
|
16099 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
16100 | |
ac_status=$?
|
16101 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16102 | |
rm -f conftest.er1
|
16103 | |
cat conftest.err >&5
|
16104 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16105 | |
(exit $ac_status); } >/dev/null && {
|
16106 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
16107 | |
test ! -s conftest.err
|
16108 | |
}; then
|
16109 | |
ac_header_preproc=yes
|
16110 | |
else
|
16111 | |
$as_echo "$as_me: failed program was:" >&5
|
16112 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16113 | |
|
16114 | |
ac_header_preproc=no
|
16115 | |
fi
|
16116 | |
|
16117 | |
rm -f conftest.err conftest.$ac_ext
|
16118 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
16119 | |
$as_echo "$ac_header_preproc" >&6; }
|
16120 | |
|
16121 | |
# So? What about this header?
|
16122 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
16123 | |
yes:no: )
|
16124 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
16125 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
16126 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
16127 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
16128 | |
ac_header_preproc=yes
|
16129 | |
;;
|
16130 | |
no:yes:* )
|
16131 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
16132 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
16133 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
16134 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
16135 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
16136 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
16137 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
16138 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
16139 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
16140 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
16141 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
16142 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
16143 | |
( cat <<\_ASBOX
|
16144 | |
## ---------------------------------------------------- ##
|
16145 | |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
16146 | |
## ---------------------------------------------------- ##
|
16147 | |
_ASBOX
|
16148 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
16149 | |
;;
|
16150 | |
esac
|
16151 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16152 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16153 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16154 | |
$as_echo_n "(cached) " >&6
|
16155 | |
else
|
16156 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
16157 | |
fi
|
16158 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16159 | |
$as_echo "$as_val"'`
|
16160 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16161 | |
$as_echo "$ac_res" >&6; }
|
16162 | |
|
16163 | |
fi
|
16164 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
16165 | |
$as_echo "$as_val"'`
|
16166 | |
if test "x$as_val" = x""yes; then
|
16167 | |
cat >>confdefs.h <<_ACEOF
|
16168 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
16169 | |
_ACEOF
|
16170 | |
|
16171 | |
fi
|
16172 | |
|
16173 | |
done
|
16174 | |
|
16175 | |
|
16176 | |
# Other
|
16177 | |
|
16178 | |
for ac_header in sys/ioctl.h
|
16179 | |
do
|
16180 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
16181 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16182 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16183 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16184 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16185 | |
$as_echo_n "(cached) " >&6
|
16186 | |
fi
|
16187 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16188 | |
$as_echo "$as_val"'`
|
16189 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16190 | |
$as_echo "$ac_res" >&6; }
|
16191 | |
else
|
16192 | |
# Is the header compilable?
|
16193 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
16194 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
16195 | |
cat >conftest.$ac_ext <<_ACEOF
|
16196 | |
/* confdefs.h. */
|
16197 | |
_ACEOF
|
16198 | |
cat confdefs.h >>conftest.$ac_ext
|
16199 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16200 | |
/* end confdefs.h. */
|
16201 | |
$ac_includes_default
|
16202 | |
#include <$ac_header>
|
16203 | |
_ACEOF
|
16204 | |
rm -f conftest.$ac_objext
|
16205 | |
if { (ac_try="$ac_compile"
|
16206 | |
case "(($ac_try" in
|
16207 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16208 | |
*) ac_try_echo=$ac_try;;
|
16209 | |
esac
|
16210 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16211 | |
$as_echo "$ac_try_echo") >&5
|
16212 | |
(eval "$ac_compile") 2>conftest.er1
|
16213 | |
ac_status=$?
|
16214 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16215 | |
rm -f conftest.er1
|
16216 | |
cat conftest.err >&5
|
16217 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16218 | |
(exit $ac_status); } && {
|
16219 | |
test -z "$ac_c_werror_flag" ||
|
16220 | |
test ! -s conftest.err
|
16221 | |
} && test -s conftest.$ac_objext; then
|
16222 | |
ac_header_compiler=yes
|
16223 | |
else
|
16224 | |
$as_echo "$as_me: failed program was:" >&5
|
16225 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16226 | |
|
16227 | |
ac_header_compiler=no
|
16228 | |
fi
|
16229 | |
|
16230 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16231 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
16232 | |
$as_echo "$ac_header_compiler" >&6; }
|
16233 | |
|
16234 | |
# Is the header present?
|
16235 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
16236 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
16237 | |
cat >conftest.$ac_ext <<_ACEOF
|
16238 | |
/* confdefs.h. */
|
16239 | |
_ACEOF
|
16240 | |
cat confdefs.h >>conftest.$ac_ext
|
16241 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16242 | |
/* end confdefs.h. */
|
16243 | |
#include <$ac_header>
|
16244 | |
_ACEOF
|
16245 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
16246 | |
case "(($ac_try" in
|
16247 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16248 | |
*) ac_try_echo=$ac_try;;
|
16249 | |
esac
|
16250 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16251 | |
$as_echo "$ac_try_echo") >&5
|
16252 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
16253 | |
ac_status=$?
|
16254 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16255 | |
rm -f conftest.er1
|
16256 | |
cat conftest.err >&5
|
16257 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16258 | |
(exit $ac_status); } >/dev/null && {
|
16259 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
16260 | |
test ! -s conftest.err
|
16261 | |
}; then
|
16262 | |
ac_header_preproc=yes
|
16263 | |
else
|
16264 | |
$as_echo "$as_me: failed program was:" >&5
|
16265 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16266 | |
|
16267 | |
ac_header_preproc=no
|
16268 | |
fi
|
16269 | |
|
16270 | |
rm -f conftest.err conftest.$ac_ext
|
16271 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
16272 | |
$as_echo "$ac_header_preproc" >&6; }
|
16273 | |
|
16274 | |
# So? What about this header?
|
16275 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
16276 | |
yes:no: )
|
16277 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
16278 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
16279 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
16280 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
16281 | |
ac_header_preproc=yes
|
16282 | |
;;
|
16283 | |
no:yes:* )
|
16284 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
16285 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
16286 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
16287 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
16288 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
16289 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
16290 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
16291 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
16292 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
16293 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
16294 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
16295 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
16296 | |
( cat <<\_ASBOX
|
16297 | |
## ---------------------------------------------------- ##
|
16298 | |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
16299 | |
## ---------------------------------------------------- ##
|
16300 | |
_ASBOX
|
16301 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
16302 | |
;;
|
16303 | |
esac
|
16304 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16305 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16306 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16307 | |
$as_echo_n "(cached) " >&6
|
16308 | |
else
|
16309 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
16310 | |
fi
|
16311 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16312 | |
$as_echo "$as_val"'`
|
16313 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16314 | |
$as_echo "$ac_res" >&6; }
|
16315 | |
|
16316 | |
fi
|
16317 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
16318 | |
$as_echo "$as_val"'`
|
16319 | |
if test "x$as_val" = x""yes; then
|
16320 | |
cat >>confdefs.h <<_ACEOF
|
16321 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
16322 | |
_ACEOF
|
16323 | |
|
16324 | |
fi
|
16325 | |
|
16326 | |
done
|
16327 | |
|
16328 | |
|
16329 | |
for ac_header in byteswap.h
|
16330 | |
do
|
16331 | |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
16332 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16333 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16334 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16335 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16336 | |
$as_echo_n "(cached) " >&6
|
16337 | |
fi
|
16338 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16339 | |
$as_echo "$as_val"'`
|
16340 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16341 | |
$as_echo "$ac_res" >&6; }
|
16342 | |
else
|
16343 | |
# Is the header compilable?
|
16344 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
16345 | |
$as_echo_n "checking $ac_header usability... " >&6; }
|
16346 | |
cat >conftest.$ac_ext <<_ACEOF
|
16347 | |
/* confdefs.h. */
|
16348 | |
_ACEOF
|
16349 | |
cat confdefs.h >>conftest.$ac_ext
|
16350 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16351 | |
/* end confdefs.h. */
|
16352 | |
$ac_includes_default
|
16353 | |
#include <$ac_header>
|
16354 | |
_ACEOF
|
16355 | |
rm -f conftest.$ac_objext
|
16356 | |
if { (ac_try="$ac_compile"
|
16357 | |
case "(($ac_try" in
|
16358 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16359 | |
*) ac_try_echo=$ac_try;;
|
16360 | |
esac
|
16361 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16362 | |
$as_echo "$ac_try_echo") >&5
|
16363 | |
(eval "$ac_compile") 2>conftest.er1
|
16364 | |
ac_status=$?
|
16365 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16366 | |
rm -f conftest.er1
|
16367 | |
cat conftest.err >&5
|
16368 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16369 | |
(exit $ac_status); } && {
|
16370 | |
test -z "$ac_c_werror_flag" ||
|
16371 | |
test ! -s conftest.err
|
16372 | |
} && test -s conftest.$ac_objext; then
|
16373 | |
ac_header_compiler=yes
|
16374 | |
else
|
16375 | |
$as_echo "$as_me: failed program was:" >&5
|
16376 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16377 | |
|
16378 | |
ac_header_compiler=no
|
16379 | |
fi
|
16380 | |
|
16381 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16382 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
16383 | |
$as_echo "$ac_header_compiler" >&6; }
|
16384 | |
|
16385 | |
# Is the header present?
|
16386 | |
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
16387 | |
$as_echo_n "checking $ac_header presence... " >&6; }
|
16388 | |
cat >conftest.$ac_ext <<_ACEOF
|
16389 | |
/* confdefs.h. */
|
16390 | |
_ACEOF
|
16391 | |
cat confdefs.h >>conftest.$ac_ext
|
16392 | |
cat >>conftest.$ac_ext <<_ACEOF
|
16393 | |
/* end confdefs.h. */
|
16394 | |
#include <$ac_header>
|
16395 | |
_ACEOF
|
16396 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
16397 | |
case "(($ac_try" in
|
16398 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16399 | |
*) ac_try_echo=$ac_try;;
|
16400 | |
esac
|
16401 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16402 | |
$as_echo "$ac_try_echo") >&5
|
16403 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
16404 | |
ac_status=$?
|
16405 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16406 | |
rm -f conftest.er1
|
16407 | |
cat conftest.err >&5
|
16408 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16409 | |
(exit $ac_status); } >/dev/null && {
|
16410 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
16411 | |
test ! -s conftest.err
|
16412 | |
}; then
|
16413 | |
ac_header_preproc=yes
|
16414 | |
else
|
16415 | |
$as_echo "$as_me: failed program was:" >&5
|
16416 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16417 | |
|
16418 | |
ac_header_preproc=no
|
16419 | |
fi
|
16420 | |
|
16421 | |
rm -f conftest.err conftest.$ac_ext
|
16422 | |
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
16423 | |
$as_echo "$ac_header_preproc" >&6; }
|
16424 | |
|
16425 | |
# So? What about this header?
|
16426 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
16427 | |
yes:no: )
|
16428 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
16429 | |
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
16430 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
16431 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
16432 | |
ac_header_preproc=yes
|
16433 | |
;;
|
16434 | |
no:yes:* )
|
16435 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
16436 | |
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
16437 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
16438 | |
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
16439 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
16440 | |
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
16441 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
16442 | |
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
16443 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
16444 | |
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
16445 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
16446 | |
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
16447 | |
( cat <<\_ASBOX
|
16448 | |
## ---------------------------------------------------- ##
|
16449 | |
## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
|
16450 | |
## ---------------------------------------------------- ##
|
16451 | |
_ASBOX
|
16452 | |
) | sed "s/^/$as_me: WARNING: /" >&2
|
16453 | |
;;
|
16454 | |
esac
|
16455 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
|
16456 | |
$as_echo_n "checking for $ac_header... " >&6; }
|
16457 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
16458 | |
$as_echo_n "(cached) " >&6
|
16459 | |
else
|
16460 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
16461 | |
fi
|
16462 | |
ac_res=`eval 'as_val=${'$as_ac_Header'}
|
16463 | |
$as_echo "$as_val"'`
|
16464 | |
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
|
16465 | |
$as_echo "$ac_res" >&6; }
|
16466 | |
|
16467 | |
fi
|
16468 | |
as_val=`eval 'as_val=${'$as_ac_Header'}
|
16469 | |
$as_echo "$as_val"'`
|
16470 | |
if test "x$as_val" = x""yes; then
|
16471 | |
cat >>confdefs.h <<_ACEOF
|
16472 | |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
16473 | |
_ACEOF
|
16474 | |
|
16475 | |
fi
|
16476 | |
|
16477 | |
done
|
16478 | |
|
16479 | |
|
16480 | |
#### Typdefs, structures, etc. ####
|
16481 | |
|
16482 | |
{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
16483 | |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
16484 | |
if test "${ac_cv_c_const+set}" = set; then
|
16485 | |
$as_echo_n "(cached) " >&6
|
16486 | |
else
|
16487 | |
cat >conftest.$ac_ext <<_ACEOF
|
16488 | |
/* confdefs.h. */
|
16489 | |
_ACEOF
|
16490 | |
cat confdefs.h >>conftest.$ac_ext
|
16491 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
14935 |
else
|
|
14936 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16492 | 14937 |
/* end confdefs.h. */
|
16493 | 14938 |
|
16494 | 14939 |
int
|
|
16548 | 14993 |
return 0;
|
16549 | 14994 |
}
|
16550 | 14995 |
_ACEOF
|
16551 | |
rm -f conftest.$ac_objext
|
16552 | |
if { (ac_try="$ac_compile"
|
16553 | |
case "(($ac_try" in
|
16554 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16555 | |
*) ac_try_echo=$ac_try;;
|
16556 | |
esac
|
16557 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16558 | |
$as_echo "$ac_try_echo") >&5
|
16559 | |
(eval "$ac_compile") 2>conftest.er1
|
16560 | |
ac_status=$?
|
16561 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16562 | |
rm -f conftest.er1
|
16563 | |
cat conftest.err >&5
|
16564 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16565 | |
(exit $ac_status); } && {
|
16566 | |
test -z "$ac_c_werror_flag" ||
|
16567 | |
test ! -s conftest.err
|
16568 | |
} && test -s conftest.$ac_objext; then
|
|
14996 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16569 | 14997 |
ac_cv_c_const=yes
|
16570 | 14998 |
else
|
16571 | |
$as_echo "$as_me: failed program was:" >&5
|
16572 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16573 | |
|
16574 | |
ac_cv_c_const=no
|
16575 | |
fi
|
16576 | |
|
|
14999 |
ac_cv_c_const=no
|
|
15000 |
fi
|
16577 | 15001 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16578 | 15002 |
fi
|
16579 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
|
15003 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
16580 | 15004 |
$as_echo "$ac_cv_c_const" >&6; }
|
16581 | 15005 |
if test $ac_cv_c_const = no; then
|
16582 | 15006 |
|
16583 | |
cat >>confdefs.h <<\_ACEOF
|
16584 | |
#define const /**/
|
16585 | |
_ACEOF
|
16586 | |
|
16587 | |
fi
|
16588 | |
|
16589 | |
|
16590 | |
{ $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
|
|
15007 |
$as_echo "#define const /**/" >>confdefs.h
|
|
15008 |
|
|
15009 |
fi
|
|
15010 |
|
|
15011 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
16591 | 15012 |
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
16592 | |
if test "${ac_cv_c_bigendian+set}" = set; then
|
|
15013 |
if test "${ac_cv_c_bigendian+set}" = set; then :
|
16593 | 15014 |
$as_echo_n "(cached) " >&6
|
16594 | 15015 |
else
|
16595 | 15016 |
ac_cv_c_bigendian=unknown
|
16596 | 15017 |
# See if we're dealing with a universal compiler.
|
16597 | |
cat >conftest.$ac_ext <<_ACEOF
|
16598 | |
/* confdefs.h. */
|
16599 | |
_ACEOF
|
16600 | |
cat confdefs.h >>conftest.$ac_ext
|
16601 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15018 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16602 | 15019 |
/* end confdefs.h. */
|
16603 | 15020 |
#ifndef __APPLE_CC__
|
16604 | 15021 |
not a universal capable compiler
|
|
16606 | 15023 |
typedef int dummy;
|
16607 | 15024 |
|
16608 | 15025 |
_ACEOF
|
16609 | |
rm -f conftest.$ac_objext
|
16610 | |
if { (ac_try="$ac_compile"
|
16611 | |
case "(($ac_try" in
|
16612 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16613 | |
*) ac_try_echo=$ac_try;;
|
16614 | |
esac
|
16615 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16616 | |
$as_echo "$ac_try_echo") >&5
|
16617 | |
(eval "$ac_compile") 2>conftest.er1
|
16618 | |
ac_status=$?
|
16619 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16620 | |
rm -f conftest.er1
|
16621 | |
cat conftest.err >&5
|
16622 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16623 | |
(exit $ac_status); } && {
|
16624 | |
test -z "$ac_c_werror_flag" ||
|
16625 | |
test ! -s conftest.err
|
16626 | |
} && test -s conftest.$ac_objext; then
|
|
15026 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16627 | 15027 |
|
16628 | 15028 |
# Check for potential -arch flags. It is not universal unless
|
16629 | |
# there are some -arch flags. Note that *ppc* also matches
|
16630 | |
# ppc64. This check is also rather less than ideal.
|
16631 | |
case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
|
16632 | |
*-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
|
16633 | |
esac
|
16634 | |
else
|
16635 | |
$as_echo "$as_me: failed program was:" >&5
|
16636 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16637 | |
|
16638 | |
|
16639 | |
fi
|
16640 | |
|
|
15029 |
# there are at least two -arch flags with different values.
|
|
15030 |
ac_arch=
|
|
15031 |
ac_prev=
|
|
15032 |
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
|
15033 |
if test -n "$ac_prev"; then
|
|
15034 |
case $ac_word in
|
|
15035 |
i?86 | x86_64 | ppc | ppc64)
|
|
15036 |
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
|
15037 |
ac_arch=$ac_word
|
|
15038 |
else
|
|
15039 |
ac_cv_c_bigendian=universal
|
|
15040 |
break
|
|
15041 |
fi
|
|
15042 |
;;
|
|
15043 |
esac
|
|
15044 |
ac_prev=
|
|
15045 |
elif test "x$ac_word" = "x-arch"; then
|
|
15046 |
ac_prev=arch
|
|
15047 |
fi
|
|
15048 |
done
|
|
15049 |
fi
|
16641 | 15050 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16642 | 15051 |
if test $ac_cv_c_bigendian = unknown; then
|
16643 | 15052 |
# See if sys/param.h defines the BYTE_ORDER macro.
|
16644 | |
cat >conftest.$ac_ext <<_ACEOF
|
16645 | |
/* confdefs.h. */
|
16646 | |
_ACEOF
|
16647 | |
cat confdefs.h >>conftest.$ac_ext
|
16648 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15053 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16649 | 15054 |
/* end confdefs.h. */
|
16650 | 15055 |
#include <sys/types.h>
|
16651 | 15056 |
#include <sys/param.h>
|
|
16663 | 15068 |
return 0;
|
16664 | 15069 |
}
|
16665 | 15070 |
_ACEOF
|
16666 | |
rm -f conftest.$ac_objext
|
16667 | |
if { (ac_try="$ac_compile"
|
16668 | |
case "(($ac_try" in
|
16669 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16670 | |
*) ac_try_echo=$ac_try;;
|
16671 | |
esac
|
16672 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16673 | |
$as_echo "$ac_try_echo") >&5
|
16674 | |
(eval "$ac_compile") 2>conftest.er1
|
16675 | |
ac_status=$?
|
16676 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16677 | |
rm -f conftest.er1
|
16678 | |
cat conftest.err >&5
|
16679 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16680 | |
(exit $ac_status); } && {
|
16681 | |
test -z "$ac_c_werror_flag" ||
|
16682 | |
test ! -s conftest.err
|
16683 | |
} && test -s conftest.$ac_objext; then
|
|
15071 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16684 | 15072 |
# It does; now see whether it defined to BIG_ENDIAN or not.
|
16685 | |
cat >conftest.$ac_ext <<_ACEOF
|
16686 | |
/* confdefs.h. */
|
16687 | |
_ACEOF
|
16688 | |
cat confdefs.h >>conftest.$ac_ext
|
16689 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15073 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16690 | 15074 |
/* end confdefs.h. */
|
16691 | 15075 |
#include <sys/types.h>
|
16692 | 15076 |
#include <sys/param.h>
|
|
16702 | 15086 |
return 0;
|
16703 | 15087 |
}
|
16704 | 15088 |
_ACEOF
|
16705 | |
rm -f conftest.$ac_objext
|
16706 | |
if { (ac_try="$ac_compile"
|
16707 | |
case "(($ac_try" in
|
16708 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16709 | |
*) ac_try_echo=$ac_try;;
|
16710 | |
esac
|
16711 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16712 | |
$as_echo "$ac_try_echo") >&5
|
16713 | |
(eval "$ac_compile") 2>conftest.er1
|
16714 | |
ac_status=$?
|
16715 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16716 | |
rm -f conftest.er1
|
16717 | |
cat conftest.err >&5
|
16718 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16719 | |
(exit $ac_status); } && {
|
16720 | |
test -z "$ac_c_werror_flag" ||
|
16721 | |
test ! -s conftest.err
|
16722 | |
} && test -s conftest.$ac_objext; then
|
|
15089 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16723 | 15090 |
ac_cv_c_bigendian=yes
|
16724 | 15091 |
else
|
16725 | |
$as_echo "$as_me: failed program was:" >&5
|
16726 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16727 | |
|
16728 | |
ac_cv_c_bigendian=no
|
16729 | |
fi
|
16730 | |
|
|
15092 |
ac_cv_c_bigendian=no
|
|
15093 |
fi
|
16731 | 15094 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16732 | |
else
|
16733 | |
$as_echo "$as_me: failed program was:" >&5
|
16734 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16735 | |
|
16736 | |
|
16737 | |
fi
|
16738 | |
|
|
15095 |
fi
|
16739 | 15096 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16740 | 15097 |
fi
|
16741 | 15098 |
if test $ac_cv_c_bigendian = unknown; then
|
16742 | 15099 |
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
16743 | |
cat >conftest.$ac_ext <<_ACEOF
|
16744 | |
/* confdefs.h. */
|
16745 | |
_ACEOF
|
16746 | |
cat confdefs.h >>conftest.$ac_ext
|
16747 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15100 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16748 | 15101 |
/* end confdefs.h. */
|
16749 | 15102 |
#include <limits.h>
|
16750 | 15103 |
|
|
16759 | 15112 |
return 0;
|
16760 | 15113 |
}
|
16761 | 15114 |
_ACEOF
|
16762 | |
rm -f conftest.$ac_objext
|
16763 | |
if { (ac_try="$ac_compile"
|
16764 | |
case "(($ac_try" in
|
16765 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16766 | |
*) ac_try_echo=$ac_try;;
|
16767 | |
esac
|
16768 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16769 | |
$as_echo "$ac_try_echo") >&5
|
16770 | |
(eval "$ac_compile") 2>conftest.er1
|
16771 | |
ac_status=$?
|
16772 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16773 | |
rm -f conftest.er1
|
16774 | |
cat conftest.err >&5
|
16775 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16776 | |
(exit $ac_status); } && {
|
16777 | |
test -z "$ac_c_werror_flag" ||
|
16778 | |
test ! -s conftest.err
|
16779 | |
} && test -s conftest.$ac_objext; then
|
|
15115 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16780 | 15116 |
# It does; now see whether it defined to _BIG_ENDIAN or not.
|
16781 | |
cat >conftest.$ac_ext <<_ACEOF
|
16782 | |
/* confdefs.h. */
|
16783 | |
_ACEOF
|
16784 | |
cat confdefs.h >>conftest.$ac_ext
|
16785 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15117 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16786 | 15118 |
/* end confdefs.h. */
|
16787 | 15119 |
#include <limits.h>
|
16788 | 15120 |
|
|
16797 | 15129 |
return 0;
|
16798 | 15130 |
}
|
16799 | 15131 |
_ACEOF
|
16800 | |
rm -f conftest.$ac_objext
|
16801 | |
if { (ac_try="$ac_compile"
|
16802 | |
case "(($ac_try" in
|
16803 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16804 | |
*) ac_try_echo=$ac_try;;
|
16805 | |
esac
|
16806 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16807 | |
$as_echo "$ac_try_echo") >&5
|
16808 | |
(eval "$ac_compile") 2>conftest.er1
|
16809 | |
ac_status=$?
|
16810 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16811 | |
rm -f conftest.er1
|
16812 | |
cat conftest.err >&5
|
16813 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16814 | |
(exit $ac_status); } && {
|
16815 | |
test -z "$ac_c_werror_flag" ||
|
16816 | |
test ! -s conftest.err
|
16817 | |
} && test -s conftest.$ac_objext; then
|
|
15132 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16818 | 15133 |
ac_cv_c_bigendian=yes
|
16819 | 15134 |
else
|
16820 | |
$as_echo "$as_me: failed program was:" >&5
|
16821 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16822 | |
|
16823 | |
ac_cv_c_bigendian=no
|
16824 | |
fi
|
16825 | |
|
|
15135 |
ac_cv_c_bigendian=no
|
|
15136 |
fi
|
16826 | 15137 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16827 | |
else
|
16828 | |
$as_echo "$as_me: failed program was:" >&5
|
16829 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16830 | |
|
16831 | |
|
16832 | |
fi
|
16833 | |
|
|
15138 |
fi
|
16834 | 15139 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16835 | 15140 |
fi
|
16836 | 15141 |
if test $ac_cv_c_bigendian = unknown; then
|
16837 | 15142 |
# Compile a test program.
|
16838 | |
if test "$cross_compiling" = yes; then
|
|
15143 |
if test "$cross_compiling" = yes; then :
|
16839 | 15144 |
# Try to guess by grepping values from an object file.
|
16840 | |
cat >conftest.$ac_ext <<_ACEOF
|
16841 | |
/* confdefs.h. */
|
16842 | |
_ACEOF
|
16843 | |
cat confdefs.h >>conftest.$ac_ext
|
16844 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15145 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16845 | 15146 |
/* end confdefs.h. */
|
16846 | 15147 |
short int ascii_mm[] =
|
16847 | 15148 |
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
|
16867 | 15168 |
return 0;
|
16868 | 15169 |
}
|
16869 | 15170 |
_ACEOF
|
16870 | |
rm -f conftest.$ac_objext
|
16871 | |
if { (ac_try="$ac_compile"
|
16872 | |
case "(($ac_try" in
|
16873 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16874 | |
*) ac_try_echo=$ac_try;;
|
16875 | |
esac
|
16876 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16877 | |
$as_echo "$ac_try_echo") >&5
|
16878 | |
(eval "$ac_compile") 2>conftest.er1
|
16879 | |
ac_status=$?
|
16880 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
16881 | |
rm -f conftest.er1
|
16882 | |
cat conftest.err >&5
|
16883 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16884 | |
(exit $ac_status); } && {
|
16885 | |
test -z "$ac_c_werror_flag" ||
|
16886 | |
test ! -s conftest.err
|
16887 | |
} && test -s conftest.$ac_objext; then
|
|
15171 |
if ac_fn_c_try_compile "$LINENO"; then :
|
16888 | 15172 |
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
16889 | 15173 |
ac_cv_c_bigendian=yes
|
16890 | 15174 |
fi
|
|
16896 | 15180 |
ac_cv_c_bigendian=unknown
|
16897 | 15181 |
fi
|
16898 | 15182 |
fi
|
16899 | |
else
|
16900 | |
$as_echo "$as_me: failed program was:" >&5
|
16901 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16902 | |
|
16903 | |
|
16904 | |
fi
|
16905 | |
|
|
15183 |
fi
|
16906 | 15184 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16907 | 15185 |
else
|
16908 | |
cat >conftest.$ac_ext <<_ACEOF
|
16909 | |
/* confdefs.h. */
|
16910 | |
_ACEOF
|
16911 | |
cat confdefs.h >>conftest.$ac_ext
|
16912 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15186 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16913 | 15187 |
/* end confdefs.h. */
|
16914 | 15188 |
$ac_includes_default
|
16915 | 15189 |
int
|
|
16929 | 15203 |
return 0;
|
16930 | 15204 |
}
|
16931 | 15205 |
_ACEOF
|
16932 | |
rm -f conftest$ac_exeext
|
16933 | |
if { (ac_try="$ac_link"
|
16934 | |
case "(($ac_try" in
|
16935 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16936 | |
*) ac_try_echo=$ac_try;;
|
16937 | |
esac
|
16938 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16939 | |
$as_echo "$ac_try_echo") >&5
|
16940 | |
(eval "$ac_link") 2>&5
|
16941 | |
ac_status=$?
|
16942 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16943 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
16944 | |
{ (case "(($ac_try" in
|
16945 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
16946 | |
*) ac_try_echo=$ac_try;;
|
16947 | |
esac
|
16948 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
16949 | |
$as_echo "$ac_try_echo") >&5
|
16950 | |
(eval "$ac_try") 2>&5
|
16951 | |
ac_status=$?
|
16952 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
16953 | |
(exit $ac_status); }; }; then
|
|
15206 |
if ac_fn_c_try_run "$LINENO"; then :
|
16954 | 15207 |
ac_cv_c_bigendian=no
|
16955 | 15208 |
else
|
16956 | |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
16957 | |
$as_echo "$as_me: failed program was:" >&5
|
16958 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
16959 | |
|
16960 | |
( exit $ac_status )
|
16961 | |
ac_cv_c_bigendian=yes
|
16962 | |
fi
|
16963 | |
rm -rf conftest.dSYM
|
16964 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
16965 | |
fi
|
16966 | |
|
|
15209 |
ac_cv_c_bigendian=yes
|
|
15210 |
fi
|
|
15211 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
15212 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
15213 |
fi
|
16967 | 15214 |
|
16968 | 15215 |
fi
|
16969 | 15216 |
fi
|
16970 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
|
|
15217 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
16971 | 15218 |
$as_echo "$ac_cv_c_bigendian" >&6; }
|
16972 | 15219 |
case $ac_cv_c_bigendian in #(
|
16973 | 15220 |
yes)
|
16974 | |
cat >>confdefs.h <<\_ACEOF
|
16975 | |
#define WORDS_BIGENDIAN 1
|
16976 | |
_ACEOF
|
|
15221 |
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
16977 | 15222 |
;; #(
|
16978 | 15223 |
no)
|
16979 | 15224 |
;; #(
|
16980 | 15225 |
universal)
|
16981 | 15226 |
|
16982 | |
cat >>confdefs.h <<\_ACEOF
|
16983 | |
#define AC_APPLE_UNIVERSAL_BUILD 1
|
16984 | |
_ACEOF
|
|
15227 |
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
16985 | 15228 |
|
16986 | 15229 |
;; #(
|
16987 | 15230 |
*)
|
16988 | |
{ { $as_echo "$as_me:$LINENO: error: unknown endianness
|
16989 | |
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
|
16990 | |
$as_echo "$as_me: error: unknown endianness
|
16991 | |
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
|
16992 | |
{ (exit 1); exit 1; }; } ;;
|
|
15231 |
as_fn_error "unknown endianness
|
|
15232 |
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
16993 | 15233 |
esac
|
16994 | 15234 |
|
16995 | |
{ $as_echo "$as_me:$LINENO: checking for pid_t" >&5
|
16996 | |
$as_echo_n "checking for pid_t... " >&6; }
|
16997 | |
if test "${ac_cv_type_pid_t+set}" = set; then
|
16998 | |
$as_echo_n "(cached) " >&6
|
16999 | |
else
|
17000 | |
ac_cv_type_pid_t=no
|
17001 | |
cat >conftest.$ac_ext <<_ACEOF
|
17002 | |
/* confdefs.h. */
|
17003 | |
_ACEOF
|
17004 | |
cat confdefs.h >>conftest.$ac_ext
|
17005 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17006 | |
/* end confdefs.h. */
|
17007 | |
$ac_includes_default
|
17008 | |
int
|
17009 | |
main ()
|
17010 | |
{
|
17011 | |
if (sizeof (pid_t))
|
17012 | |
return 0;
|
17013 | |
;
|
17014 | |
return 0;
|
17015 | |
}
|
17016 | |
_ACEOF
|
17017 | |
rm -f conftest.$ac_objext
|
17018 | |
if { (ac_try="$ac_compile"
|
17019 | |
case "(($ac_try" in
|
17020 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17021 | |
*) ac_try_echo=$ac_try;;
|
17022 | |
esac
|
17023 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17024 | |
$as_echo "$ac_try_echo") >&5
|
17025 | |
(eval "$ac_compile") 2>conftest.er1
|
17026 | |
ac_status=$?
|
17027 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17028 | |
rm -f conftest.er1
|
17029 | |
cat conftest.err >&5
|
17030 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17031 | |
(exit $ac_status); } && {
|
17032 | |
test -z "$ac_c_werror_flag" ||
|
17033 | |
test ! -s conftest.err
|
17034 | |
} && test -s conftest.$ac_objext; then
|
17035 | |
cat >conftest.$ac_ext <<_ACEOF
|
17036 | |
/* confdefs.h. */
|
17037 | |
_ACEOF
|
17038 | |
cat confdefs.h >>conftest.$ac_ext
|
17039 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17040 | |
/* end confdefs.h. */
|
17041 | |
$ac_includes_default
|
17042 | |
int
|
17043 | |
main ()
|
17044 | |
{
|
17045 | |
if (sizeof ((pid_t)))
|
17046 | |
return 0;
|
17047 | |
;
|
17048 | |
return 0;
|
17049 | |
}
|
17050 | |
_ACEOF
|
17051 | |
rm -f conftest.$ac_objext
|
17052 | |
if { (ac_try="$ac_compile"
|
17053 | |
case "(($ac_try" in
|
17054 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17055 | |
*) ac_try_echo=$ac_try;;
|
17056 | |
esac
|
17057 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17058 | |
$as_echo "$ac_try_echo") >&5
|
17059 | |
(eval "$ac_compile") 2>conftest.er1
|
17060 | |
ac_status=$?
|
17061 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17062 | |
rm -f conftest.er1
|
17063 | |
cat conftest.err >&5
|
17064 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17065 | |
(exit $ac_status); } && {
|
17066 | |
test -z "$ac_c_werror_flag" ||
|
17067 | |
test ! -s conftest.err
|
17068 | |
} && test -s conftest.$ac_objext; then
|
17069 | |
:
|
17070 | |
else
|
17071 | |
$as_echo "$as_me: failed program was:" >&5
|
17072 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17073 | |
|
17074 | |
ac_cv_type_pid_t=yes
|
17075 | |
fi
|
17076 | |
|
17077 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17078 | |
else
|
17079 | |
$as_echo "$as_me: failed program was:" >&5
|
17080 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17081 | |
|
17082 | |
|
17083 | |
fi
|
17084 | |
|
17085 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17086 | |
fi
|
17087 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
|
17088 | |
$as_echo "$ac_cv_type_pid_t" >&6; }
|
17089 | |
if test "x$ac_cv_type_pid_t" = x""yes; then
|
17090 | |
:
|
|
15235 |
ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
|
|
15236 |
if test "x$ac_cv_type_pid_t" = x""yes; then :
|
|
15237 |
|
17091 | 15238 |
else
|
17092 | 15239 |
|
17093 | 15240 |
cat >>confdefs.h <<_ACEOF
|
|
17096 | 15243 |
|
17097 | 15244 |
fi
|
17098 | 15245 |
|
17099 | |
{ $as_echo "$as_me:$LINENO: checking for size_t" >&5
|
17100 | |
$as_echo_n "checking for size_t... " >&6; }
|
17101 | |
if test "${ac_cv_type_size_t+set}" = set; then
|
17102 | |
$as_echo_n "(cached) " >&6
|
17103 | |
else
|
17104 | |
ac_cv_type_size_t=no
|
17105 | |
cat >conftest.$ac_ext <<_ACEOF
|
17106 | |
/* confdefs.h. */
|
17107 | |
_ACEOF
|
17108 | |
cat confdefs.h >>conftest.$ac_ext
|
17109 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17110 | |
/* end confdefs.h. */
|
17111 | |
$ac_includes_default
|
17112 | |
int
|
17113 | |
main ()
|
17114 | |
{
|
17115 | |
if (sizeof (size_t))
|
17116 | |
return 0;
|
17117 | |
;
|
17118 | |
return 0;
|
17119 | |
}
|
17120 | |
_ACEOF
|
17121 | |
rm -f conftest.$ac_objext
|
17122 | |
if { (ac_try="$ac_compile"
|
17123 | |
case "(($ac_try" in
|
17124 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17125 | |
*) ac_try_echo=$ac_try;;
|
17126 | |
esac
|
17127 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17128 | |
$as_echo "$ac_try_echo") >&5
|
17129 | |
(eval "$ac_compile") 2>conftest.er1
|
17130 | |
ac_status=$?
|
17131 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17132 | |
rm -f conftest.er1
|
17133 | |
cat conftest.err >&5
|
17134 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17135 | |
(exit $ac_status); } && {
|
17136 | |
test -z "$ac_c_werror_flag" ||
|
17137 | |
test ! -s conftest.err
|
17138 | |
} && test -s conftest.$ac_objext; then
|
17139 | |
cat >conftest.$ac_ext <<_ACEOF
|
17140 | |
/* confdefs.h. */
|
17141 | |
_ACEOF
|
17142 | |
cat confdefs.h >>conftest.$ac_ext
|
17143 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17144 | |
/* end confdefs.h. */
|
17145 | |
$ac_includes_default
|
17146 | |
int
|
17147 | |
main ()
|
17148 | |
{
|
17149 | |
if (sizeof ((size_t)))
|
17150 | |
return 0;
|
17151 | |
;
|
17152 | |
return 0;
|
17153 | |
}
|
17154 | |
_ACEOF
|
17155 | |
rm -f conftest.$ac_objext
|
17156 | |
if { (ac_try="$ac_compile"
|
17157 | |
case "(($ac_try" in
|
17158 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17159 | |
*) ac_try_echo=$ac_try;;
|
17160 | |
esac
|
17161 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17162 | |
$as_echo "$ac_try_echo") >&5
|
17163 | |
(eval "$ac_compile") 2>conftest.er1
|
17164 | |
ac_status=$?
|
17165 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17166 | |
rm -f conftest.er1
|
17167 | |
cat conftest.err >&5
|
17168 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17169 | |
(exit $ac_status); } && {
|
17170 | |
test -z "$ac_c_werror_flag" ||
|
17171 | |
test ! -s conftest.err
|
17172 | |
} && test -s conftest.$ac_objext; then
|
17173 | |
:
|
17174 | |
else
|
17175 | |
$as_echo "$as_me: failed program was:" >&5
|
17176 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17177 | |
|
17178 | |
ac_cv_type_size_t=yes
|
17179 | |
fi
|
17180 | |
|
17181 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17182 | |
else
|
17183 | |
$as_echo "$as_me: failed program was:" >&5
|
17184 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17185 | |
|
17186 | |
|
17187 | |
fi
|
17188 | |
|
17189 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17190 | |
fi
|
17191 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
17192 | |
$as_echo "$ac_cv_type_size_t" >&6; }
|
17193 | |
if test "x$ac_cv_type_size_t" = x""yes; then
|
17194 | |
:
|
|
15246 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
|
15247 |
if test "x$ac_cv_type_size_t" = x""yes; then :
|
|
15248 |
|
17195 | 15249 |
else
|
17196 | 15250 |
|
17197 | 15251 |
cat >>confdefs.h <<_ACEOF
|
|
17200 | 15254 |
|
17201 | 15255 |
fi
|
17202 | 15256 |
|
17203 | |
{ $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
|
17204 | |
$as_echo_n "checking for ssize_t... " >&6; }
|
17205 | |
if test "${ac_cv_type_ssize_t+set}" = set; then
|
17206 | |
$as_echo_n "(cached) " >&6
|
17207 | |
else
|
17208 | |
ac_cv_type_ssize_t=no
|
17209 | |
cat >conftest.$ac_ext <<_ACEOF
|
17210 | |
/* confdefs.h. */
|
17211 | |
_ACEOF
|
17212 | |
cat confdefs.h >>conftest.$ac_ext
|
17213 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17214 | |
/* end confdefs.h. */
|
17215 | |
$ac_includes_default
|
17216 | |
int
|
17217 | |
main ()
|
17218 | |
{
|
17219 | |
if (sizeof (ssize_t))
|
17220 | |
return 0;
|
17221 | |
;
|
17222 | |
return 0;
|
17223 | |
}
|
17224 | |
_ACEOF
|
17225 | |
rm -f conftest.$ac_objext
|
17226 | |
if { (ac_try="$ac_compile"
|
17227 | |
case "(($ac_try" in
|
17228 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17229 | |
*) ac_try_echo=$ac_try;;
|
17230 | |
esac
|
17231 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17232 | |
$as_echo "$ac_try_echo") >&5
|
17233 | |
(eval "$ac_compile") 2>conftest.er1
|
17234 | |
ac_status=$?
|
17235 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17236 | |
rm -f conftest.er1
|
17237 | |
cat conftest.err >&5
|
17238 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17239 | |
(exit $ac_status); } && {
|
17240 | |
test -z "$ac_c_werror_flag" ||
|
17241 | |
test ! -s conftest.err
|
17242 | |
} && test -s conftest.$ac_objext; then
|
17243 | |
cat >conftest.$ac_ext <<_ACEOF
|
17244 | |
/* confdefs.h. */
|
17245 | |
_ACEOF
|
17246 | |
cat confdefs.h >>conftest.$ac_ext
|
17247 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17248 | |
/* end confdefs.h. */
|
17249 | |
$ac_includes_default
|
17250 | |
int
|
17251 | |
main ()
|
17252 | |
{
|
17253 | |
if (sizeof ((ssize_t)))
|
17254 | |
return 0;
|
17255 | |
;
|
17256 | |
return 0;
|
17257 | |
}
|
17258 | |
_ACEOF
|
17259 | |
rm -f conftest.$ac_objext
|
17260 | |
if { (ac_try="$ac_compile"
|
17261 | |
case "(($ac_try" in
|
17262 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17263 | |
*) ac_try_echo=$ac_try;;
|
17264 | |
esac
|
17265 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17266 | |
$as_echo "$ac_try_echo") >&5
|
17267 | |
(eval "$ac_compile") 2>conftest.er1
|
17268 | |
ac_status=$?
|
17269 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17270 | |
rm -f conftest.er1
|
17271 | |
cat conftest.err >&5
|
17272 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17273 | |
(exit $ac_status); } && {
|
17274 | |
test -z "$ac_c_werror_flag" ||
|
17275 | |
test ! -s conftest.err
|
17276 | |
} && test -s conftest.$ac_objext; then
|
17277 | |
:
|
17278 | |
else
|
17279 | |
$as_echo "$as_me: failed program was:" >&5
|
17280 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17281 | |
|
17282 | |
ac_cv_type_ssize_t=yes
|
17283 | |
fi
|
17284 | |
|
17285 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17286 | |
else
|
17287 | |
$as_echo "$as_me: failed program was:" >&5
|
17288 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17289 | |
|
17290 | |
|
17291 | |
fi
|
17292 | |
|
17293 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17294 | |
fi
|
17295 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
|
17296 | |
$as_echo "$ac_cv_type_ssize_t" >&6; }
|
17297 | |
if test "x$ac_cv_type_ssize_t" = x""yes; then
|
|
15257 |
ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
|
|
15258 |
if test "x$ac_cv_type_ssize_t" = x""yes; then :
|
17298 | 15259 |
|
17299 | 15260 |
cat >>confdefs.h <<_ACEOF
|
17300 | 15261 |
#define HAVE_SSIZE_T 1
|
|
17303 | 15264 |
|
17304 | 15265 |
else
|
17305 | 15266 |
|
17306 | |
cat >>confdefs.h <<\_ACEOF
|
17307 | |
#define ssize_t signed long
|
17308 | |
_ACEOF
|
17309 | |
|
17310 | |
fi
|
17311 | |
|
17312 | |
{ $as_echo "$as_me:$LINENO: checking for off_t" >&5
|
17313 | |
$as_echo_n "checking for off_t... " >&6; }
|
17314 | |
if test "${ac_cv_type_off_t+set}" = set; then
|
17315 | |
$as_echo_n "(cached) " >&6
|
17316 | |
else
|
17317 | |
ac_cv_type_off_t=no
|
17318 | |
cat >conftest.$ac_ext <<_ACEOF
|
17319 | |
/* confdefs.h. */
|
17320 | |
_ACEOF
|
17321 | |
cat confdefs.h >>conftest.$ac_ext
|
17322 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17323 | |
/* end confdefs.h. */
|
17324 | |
$ac_includes_default
|
17325 | |
int
|
17326 | |
main ()
|
17327 | |
{
|
17328 | |
if (sizeof (off_t))
|
17329 | |
return 0;
|
17330 | |
;
|
17331 | |
return 0;
|
17332 | |
}
|
17333 | |
_ACEOF
|
17334 | |
rm -f conftest.$ac_objext
|
17335 | |
if { (ac_try="$ac_compile"
|
17336 | |
case "(($ac_try" in
|
17337 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17338 | |
*) ac_try_echo=$ac_try;;
|
17339 | |
esac
|
17340 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17341 | |
$as_echo "$ac_try_echo") >&5
|
17342 | |
(eval "$ac_compile") 2>conftest.er1
|
17343 | |
ac_status=$?
|
17344 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17345 | |
rm -f conftest.er1
|
17346 | |
cat conftest.err >&5
|
17347 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17348 | |
(exit $ac_status); } && {
|
17349 | |
test -z "$ac_c_werror_flag" ||
|
17350 | |
test ! -s conftest.err
|
17351 | |
} && test -s conftest.$ac_objext; then
|
17352 | |
cat >conftest.$ac_ext <<_ACEOF
|
17353 | |
/* confdefs.h. */
|
17354 | |
_ACEOF
|
17355 | |
cat confdefs.h >>conftest.$ac_ext
|
17356 | |
cat >>conftest.$ac_ext <<_ACEOF
|
17357 | |
/* end confdefs.h. */
|
17358 | |
$ac_includes_default
|
17359 | |
int
|
17360 | |
main ()
|
17361 | |
{
|
17362 | |
if (sizeof ((off_t)))
|
17363 | |
return 0;
|
17364 | |
;
|
17365 | |
return 0;
|
17366 | |
}
|
17367 | |
_ACEOF
|
17368 | |
rm -f conftest.$ac_objext
|
17369 | |
if { (ac_try="$ac_compile"
|
17370 | |
case "(($ac_try" in
|
17371 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17372 | |
*) ac_try_echo=$ac_try;;
|
17373 | |
esac
|
17374 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17375 | |
$as_echo "$ac_try_echo") >&5
|
17376 | |
(eval "$ac_compile") 2>conftest.er1
|
17377 | |
ac_status=$?
|
17378 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17379 | |
rm -f conftest.er1
|
17380 | |
cat conftest.err >&5
|
17381 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17382 | |
(exit $ac_status); } && {
|
17383 | |
test -z "$ac_c_werror_flag" ||
|
17384 | |
test ! -s conftest.err
|
17385 | |
} && test -s conftest.$ac_objext; then
|
17386 | |
:
|
17387 | |
else
|
17388 | |
$as_echo "$as_me: failed program was:" >&5
|
17389 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17390 | |
|
17391 | |
ac_cv_type_off_t=yes
|
17392 | |
fi
|
17393 | |
|
17394 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17395 | |
else
|
17396 | |
$as_echo "$as_me: failed program was:" >&5
|
17397 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17398 | |
|
17399 | |
|
17400 | |
fi
|
17401 | |
|
17402 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17403 | |
fi
|
17404 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
|
17405 | |
$as_echo "$ac_cv_type_off_t" >&6; }
|
17406 | |
if test "x$ac_cv_type_off_t" = x""yes; then
|
17407 | |
:
|
|
15267 |
$as_echo "#define ssize_t signed long" >>confdefs.h
|
|
15268 |
|
|
15269 |
fi
|
|
15270 |
|
|
15271 |
ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
|
|
15272 |
if test "x$ac_cv_type_off_t" = x""yes; then :
|
|
15273 |
|
17408 | 15274 |
else
|
17409 | 15275 |
|
17410 | 15276 |
cat >>confdefs.h <<_ACEOF
|
|
17413 | 15279 |
|
17414 | 15280 |
fi
|
17415 | 15281 |
|
17416 | |
{ $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
|
|
15282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
|
17417 | 15283 |
$as_echo_n "checking return type of signal handlers... " >&6; }
|
17418 | |
if test "${ac_cv_type_signal+set}" = set; then
|
|
15284 |
if test "${ac_cv_type_signal+set}" = set; then :
|
17419 | 15285 |
$as_echo_n "(cached) " >&6
|
17420 | 15286 |
else
|
17421 | |
cat >conftest.$ac_ext <<_ACEOF
|
17422 | |
/* confdefs.h. */
|
17423 | |
_ACEOF
|
17424 | |
cat confdefs.h >>conftest.$ac_ext
|
17425 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15287 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17426 | 15288 |
/* end confdefs.h. */
|
17427 | 15289 |
#include <sys/types.h>
|
17428 | 15290 |
#include <signal.h>
|
|
17435 | 15297 |
return 0;
|
17436 | 15298 |
}
|
17437 | 15299 |
_ACEOF
|
17438 | |
rm -f conftest.$ac_objext
|
17439 | |
if { (ac_try="$ac_compile"
|
17440 | |
case "(($ac_try" in
|
17441 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17442 | |
*) ac_try_echo=$ac_try;;
|
17443 | |
esac
|
17444 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17445 | |
$as_echo "$ac_try_echo") >&5
|
17446 | |
(eval "$ac_compile") 2>conftest.er1
|
17447 | |
ac_status=$?
|
17448 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17449 | |
rm -f conftest.er1
|
17450 | |
cat conftest.err >&5
|
17451 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17452 | |
(exit $ac_status); } && {
|
17453 | |
test -z "$ac_c_werror_flag" ||
|
17454 | |
test ! -s conftest.err
|
17455 | |
} && test -s conftest.$ac_objext; then
|
|
15300 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17456 | 15301 |
ac_cv_type_signal=int
|
17457 | 15302 |
else
|
17458 | |
$as_echo "$as_me: failed program was:" >&5
|
17459 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17460 | |
|
17461 | |
ac_cv_type_signal=void
|
17462 | |
fi
|
17463 | |
|
|
15303 |
ac_cv_type_signal=void
|
|
15304 |
fi
|
17464 | 15305 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17465 | 15306 |
fi
|
17466 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
|
|
15307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
|
17467 | 15308 |
$as_echo "$ac_cv_type_signal" >&6; }
|
17468 | 15309 |
|
17469 | 15310 |
cat >>confdefs.h <<_ACEOF
|
|
17471 | 15312 |
_ACEOF
|
17472 | 15313 |
|
17473 | 15314 |
|
17474 | |
{ $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
|
|
15315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
|
17475 | 15316 |
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
|
17476 | |
if test "${ac_cv_type_uid_t+set}" = set; then
|
|
15317 |
if test "${ac_cv_type_uid_t+set}" = set; then :
|
17477 | 15318 |
$as_echo_n "(cached) " >&6
|
17478 | 15319 |
else
|
17479 | |
cat >conftest.$ac_ext <<_ACEOF
|
17480 | |
/* confdefs.h. */
|
17481 | |
_ACEOF
|
17482 | |
cat confdefs.h >>conftest.$ac_ext
|
17483 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15320 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17484 | 15321 |
/* end confdefs.h. */
|
17485 | 15322 |
#include <sys/types.h>
|
17486 | 15323 |
|
17487 | 15324 |
_ACEOF
|
17488 | 15325 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
17489 | |
$EGREP "uid_t" >/dev/null 2>&1; then
|
|
15326 |
$EGREP "uid_t" >/dev/null 2>&1; then :
|
17490 | 15327 |
ac_cv_type_uid_t=yes
|
17491 | 15328 |
else
|
17492 | 15329 |
ac_cv_type_uid_t=no
|
|
17494 | 15331 |
rm -f conftest*
|
17495 | 15332 |
|
17496 | 15333 |
fi
|
17497 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
|
|
15334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
|
17498 | 15335 |
$as_echo "$ac_cv_type_uid_t" >&6; }
|
17499 | 15336 |
if test $ac_cv_type_uid_t = no; then
|
17500 | 15337 |
|
17501 | |
cat >>confdefs.h <<\_ACEOF
|
17502 | |
#define uid_t int
|
17503 | |
_ACEOF
|
17504 | |
|
17505 | |
|
17506 | |
cat >>confdefs.h <<\_ACEOF
|
17507 | |
#define gid_t int
|
17508 | |
_ACEOF
|
|
15338 |
$as_echo "#define uid_t int" >>confdefs.h
|
|
15339 |
|
|
15340 |
|
|
15341 |
$as_echo "#define gid_t int" >>confdefs.h
|
17509 | 15342 |
|
17510 | 15343 |
fi
|
17511 | 15344 |
|
|
17513 | 15346 |
#### Large File-Support (LFS) ####
|
17514 | 15347 |
|
17515 | 15348 |
# Check whether --enable-largefile was given.
|
17516 | |
if test "${enable_largefile+set}" = set; then
|
|
15349 |
if test "${enable_largefile+set}" = set; then :
|
17517 | 15350 |
enableval=$enable_largefile;
|
17518 | 15351 |
fi
|
17519 | 15352 |
|
17520 | 15353 |
if test "$enable_largefile" != no; then
|
17521 | 15354 |
|
17522 | |
{ $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
|
|
15355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
|
17523 | 15356 |
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
|
17524 | |
if test "${ac_cv_sys_largefile_CC+set}" = set; then
|
|
15357 |
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
|
17525 | 15358 |
$as_echo_n "(cached) " >&6
|
17526 | 15359 |
else
|
17527 | 15360 |
ac_cv_sys_largefile_CC=no
|
|
17530 | 15363 |
while :; do
|
17531 | 15364 |
# IRIX 6.2 and later do not support large files by default,
|
17532 | 15365 |
# so use the C compiler's -n32 option if that helps.
|
17533 | |
cat >conftest.$ac_ext <<_ACEOF
|
17534 | |
/* confdefs.h. */
|
17535 | |
_ACEOF
|
17536 | |
cat confdefs.h >>conftest.$ac_ext
|
17537 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15366 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17538 | 15367 |
/* end confdefs.h. */
|
17539 | 15368 |
#include <sys/types.h>
|
17540 | 15369 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
17553 | 15382 |
return 0;
|
17554 | 15383 |
}
|
17555 | 15384 |
_ACEOF
|
17556 | |
rm -f conftest.$ac_objext
|
17557 | |
if { (ac_try="$ac_compile"
|
17558 | |
case "(($ac_try" in
|
17559 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17560 | |
*) ac_try_echo=$ac_try;;
|
17561 | |
esac
|
17562 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17563 | |
$as_echo "$ac_try_echo") >&5
|
17564 | |
(eval "$ac_compile") 2>conftest.er1
|
17565 | |
ac_status=$?
|
17566 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17567 | |
rm -f conftest.er1
|
17568 | |
cat conftest.err >&5
|
17569 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17570 | |
(exit $ac_status); } && {
|
17571 | |
test -z "$ac_c_werror_flag" ||
|
17572 | |
test ! -s conftest.err
|
17573 | |
} && test -s conftest.$ac_objext; then
|
|
15385 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17574 | 15386 |
break
|
17575 | |
else
|
17576 | |
$as_echo "$as_me: failed program was:" >&5
|
17577 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17578 | |
|
17579 | |
|
17580 | |
fi
|
17581 | |
|
|
15387 |
fi
|
17582 | 15388 |
rm -f core conftest.err conftest.$ac_objext
|
17583 | 15389 |
CC="$CC -n32"
|
17584 | |
rm -f conftest.$ac_objext
|
17585 | |
if { (ac_try="$ac_compile"
|
17586 | |
case "(($ac_try" in
|
17587 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17588 | |
*) ac_try_echo=$ac_try;;
|
17589 | |
esac
|
17590 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17591 | |
$as_echo "$ac_try_echo") >&5
|
17592 | |
(eval "$ac_compile") 2>conftest.er1
|
17593 | |
ac_status=$?
|
17594 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17595 | |
rm -f conftest.er1
|
17596 | |
cat conftest.err >&5
|
17597 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17598 | |
(exit $ac_status); } && {
|
17599 | |
test -z "$ac_c_werror_flag" ||
|
17600 | |
test ! -s conftest.err
|
17601 | |
} && test -s conftest.$ac_objext; then
|
|
15390 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17602 | 15391 |
ac_cv_sys_largefile_CC=' -n32'; break
|
17603 | |
else
|
17604 | |
$as_echo "$as_me: failed program was:" >&5
|
17605 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17606 | |
|
17607 | |
|
17608 | |
fi
|
17609 | |
|
|
15392 |
fi
|
17610 | 15393 |
rm -f core conftest.err conftest.$ac_objext
|
17611 | 15394 |
break
|
17612 | 15395 |
done
|
|
17614 | 15397 |
rm -f conftest.$ac_ext
|
17615 | 15398 |
fi
|
17616 | 15399 |
fi
|
17617 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
|
|
15400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
|
17618 | 15401 |
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
|
17619 | 15402 |
if test "$ac_cv_sys_largefile_CC" != no; then
|
17620 | 15403 |
CC=$CC$ac_cv_sys_largefile_CC
|
17621 | 15404 |
fi
|
17622 | 15405 |
|
17623 | |
{ $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
|
15406 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
|
17624 | 15407 |
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
|
17625 | |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then
|
|
15408 |
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
|
17626 | 15409 |
$as_echo_n "(cached) " >&6
|
17627 | 15410 |
else
|
17628 | 15411 |
while :; do
|
17629 | |
cat >conftest.$ac_ext <<_ACEOF
|
17630 | |
/* confdefs.h. */
|
17631 | |
_ACEOF
|
17632 | |
cat confdefs.h >>conftest.$ac_ext
|
17633 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15412 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17634 | 15413 |
/* end confdefs.h. */
|
17635 | 15414 |
#include <sys/types.h>
|
17636 | 15415 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
17649 | 15428 |
return 0;
|
17650 | 15429 |
}
|
17651 | 15430 |
_ACEOF
|
17652 | |
rm -f conftest.$ac_objext
|
17653 | |
if { (ac_try="$ac_compile"
|
17654 | |
case "(($ac_try" in
|
17655 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17656 | |
*) ac_try_echo=$ac_try;;
|
17657 | |
esac
|
17658 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17659 | |
$as_echo "$ac_try_echo") >&5
|
17660 | |
(eval "$ac_compile") 2>conftest.er1
|
17661 | |
ac_status=$?
|
17662 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17663 | |
rm -f conftest.er1
|
17664 | |
cat conftest.err >&5
|
17665 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17666 | |
(exit $ac_status); } && {
|
17667 | |
test -z "$ac_c_werror_flag" ||
|
17668 | |
test ! -s conftest.err
|
17669 | |
} && test -s conftest.$ac_objext; then
|
|
15431 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17670 | 15432 |
ac_cv_sys_file_offset_bits=no; break
|
17671 | |
else
|
17672 | |
$as_echo "$as_me: failed program was:" >&5
|
17673 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17674 | |
|
17675 | |
|
17676 | |
fi
|
17677 | |
|
|
15433 |
fi
|
17678 | 15434 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17679 | |
cat >conftest.$ac_ext <<_ACEOF
|
17680 | |
/* confdefs.h. */
|
17681 | |
_ACEOF
|
17682 | |
cat confdefs.h >>conftest.$ac_ext
|
17683 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15435 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17684 | 15436 |
/* end confdefs.h. */
|
17685 | 15437 |
#define _FILE_OFFSET_BITS 64
|
17686 | 15438 |
#include <sys/types.h>
|
|
17700 | 15452 |
return 0;
|
17701 | 15453 |
}
|
17702 | 15454 |
_ACEOF
|
17703 | |
rm -f conftest.$ac_objext
|
17704 | |
if { (ac_try="$ac_compile"
|
17705 | |
case "(($ac_try" in
|
17706 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17707 | |
*) ac_try_echo=$ac_try;;
|
17708 | |
esac
|
17709 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17710 | |
$as_echo "$ac_try_echo") >&5
|
17711 | |
(eval "$ac_compile") 2>conftest.er1
|
17712 | |
ac_status=$?
|
17713 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17714 | |
rm -f conftest.er1
|
17715 | |
cat conftest.err >&5
|
17716 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17717 | |
(exit $ac_status); } && {
|
17718 | |
test -z "$ac_c_werror_flag" ||
|
17719 | |
test ! -s conftest.err
|
17720 | |
} && test -s conftest.$ac_objext; then
|
|
15455 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17721 | 15456 |
ac_cv_sys_file_offset_bits=64; break
|
17722 | |
else
|
17723 | |
$as_echo "$as_me: failed program was:" >&5
|
17724 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17725 | |
|
17726 | |
|
17727 | |
fi
|
17728 | |
|
|
15457 |
fi
|
17729 | 15458 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17730 | 15459 |
ac_cv_sys_file_offset_bits=unknown
|
17731 | 15460 |
break
|
17732 | 15461 |
done
|
17733 | 15462 |
fi
|
17734 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
|
|
15463 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
|
17735 | 15464 |
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
|
17736 | 15465 |
case $ac_cv_sys_file_offset_bits in #(
|
17737 | 15466 |
no | unknown) ;;
|
|
17743 | 15472 |
esac
|
17744 | 15473 |
rm -rf conftest*
|
17745 | 15474 |
if test $ac_cv_sys_file_offset_bits = unknown; then
|
17746 | |
{ $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
|
|
15475 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
|
17747 | 15476 |
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
|
17748 | |
if test "${ac_cv_sys_large_files+set}" = set; then
|
|
15477 |
if test "${ac_cv_sys_large_files+set}" = set; then :
|
17749 | 15478 |
$as_echo_n "(cached) " >&6
|
17750 | 15479 |
else
|
17751 | 15480 |
while :; do
|
17752 | |
cat >conftest.$ac_ext <<_ACEOF
|
17753 | |
/* confdefs.h. */
|
17754 | |
_ACEOF
|
17755 | |
cat confdefs.h >>conftest.$ac_ext
|
17756 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15481 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17757 | 15482 |
/* end confdefs.h. */
|
17758 | 15483 |
#include <sys/types.h>
|
17759 | 15484 |
/* Check that off_t can represent 2**63 - 1 correctly.
|
|
17772 | 15497 |
return 0;
|
17773 | 15498 |
}
|
17774 | 15499 |
_ACEOF
|
17775 | |
rm -f conftest.$ac_objext
|
17776 | |
if { (ac_try="$ac_compile"
|
17777 | |
case "(($ac_try" in
|
17778 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17779 | |
*) ac_try_echo=$ac_try;;
|
17780 | |
esac
|
17781 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17782 | |
$as_echo "$ac_try_echo") >&5
|
17783 | |
(eval "$ac_compile") 2>conftest.er1
|
17784 | |
ac_status=$?
|
17785 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17786 | |
rm -f conftest.er1
|
17787 | |
cat conftest.err >&5
|
17788 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17789 | |
(exit $ac_status); } && {
|
17790 | |
test -z "$ac_c_werror_flag" ||
|
17791 | |
test ! -s conftest.err
|
17792 | |
} && test -s conftest.$ac_objext; then
|
|
15500 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17793 | 15501 |
ac_cv_sys_large_files=no; break
|
17794 | |
else
|
17795 | |
$as_echo "$as_me: failed program was:" >&5
|
17796 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17797 | |
|
17798 | |
|
17799 | |
fi
|
17800 | |
|
|
15502 |
fi
|
17801 | 15503 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17802 | |
cat >conftest.$ac_ext <<_ACEOF
|
17803 | |
/* confdefs.h. */
|
17804 | |
_ACEOF
|
17805 | |
cat confdefs.h >>conftest.$ac_ext
|
17806 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
15504 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17807 | 15505 |
/* end confdefs.h. */
|
17808 | 15506 |
#define _LARGE_FILES 1
|
17809 | 15507 |
#include <sys/types.h>
|
|
17823 | 15521 |
return 0;
|
17824 | 15522 |
}
|
17825 | 15523 |
_ACEOF
|
17826 | |
rm -f conftest.$ac_objext
|
17827 | |
if { (ac_try="$ac_compile"
|
17828 | |
case "(($ac_try" in
|
17829 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17830 | |
*) ac_try_echo=$ac_try;;
|
17831 | |
esac
|
17832 | |
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
17833 | |
$as_echo "$ac_try_echo") >&5
|
17834 | |
(eval "$ac_compile") 2>conftest.er1
|
17835 | |
ac_status=$?
|
17836 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17837 | |
rm -f conftest.er1
|
17838 | |
cat conftest.err >&5
|
17839 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17840 | |
(exit $ac_status); } && {
|
17841 | |
test -z "$ac_c_werror_flag" ||
|
17842 | |
test ! -s conftest.err
|
17843 | |
} && test -s conftest.$ac_objext; then
|
|
15524 |
if ac_fn_c_try_compile "$LINENO"; then :
|
17844 | 15525 |
ac_cv_sys_large_files=1; break
|
17845 | |
else
|
17846 | |
$as_echo "$as_me: failed program was:" >&5
|
17847 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17848 | |
|
17849 | |
|
17850 | |
fi
|
17851 | |
|
|
15526 |
fi
|
17852 | 15527 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
17853 | 15528 |
ac_cv_sys_large_files=unknown
|
17854 | 15529 |
break
|
17855 | 15530 |
done
|
17856 | 15531 |
fi
|
17857 | |
{ $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
|
|
15532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
|
17858 | 15533 |
$as_echo "$ac_cv_sys_large_files" >&6; }
|
17859 | 15534 |
case $ac_cv_sys_large_files in #(
|
17860 | 15535 |
no | unknown) ;;
|
|
17875 | 15550 |
if test -n "$ac_tool_prefix"; then
|
17876 | 15551 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
|
17877 | 15552 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
|
17878 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
15553 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17879 | 15554 |
$as_echo_n "checking for $ac_word... " >&6; }
|
17880 | |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
|
|
15555 |
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
|
17881 | 15556 |
$as_echo_n "(cached) " >&6
|
17882 | 15557 |
else
|
17883 | 15558 |
case $PKG_CONFIG in
|
|
17890 | 15565 |
do
|
17891 | 15566 |
IFS=$as_save_IFS
|
17892 | 15567 |
test -z "$as_dir" && as_dir=.
|
17893 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
15568 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17894 | 15569 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
17895 | 15570 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
17896 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
15571 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
17897 | 15572 |
break 2
|
17898 | 15573 |
fi
|
17899 | 15574 |
done
|
17900 | |
done
|
|
15575 |
done
|
17901 | 15576 |
IFS=$as_save_IFS
|
17902 | 15577 |
|
17903 | 15578 |
;;
|
|
17905 | 15580 |
fi
|
17906 | 15581 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
|
17907 | 15582 |
if test -n "$PKG_CONFIG"; then
|
17908 | |
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
|
|
15583 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
|
17909 | 15584 |
$as_echo "$PKG_CONFIG" >&6; }
|
17910 | 15585 |
else
|
17911 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
15586 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17912 | 15587 |
$as_echo "no" >&6; }
|
17913 | 15588 |
fi
|
17914 | 15589 |
|
|
17918 | 15593 |
ac_pt_PKG_CONFIG=$PKG_CONFIG
|
17919 | 15594 |
# Extract the first word of "pkg-config", so it can be a program name with args.
|
17920 | 15595 |
set dummy pkg-config; ac_word=$2
|
17921 | |
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
|
|
15596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
17922 | 15597 |
$as_echo_n "checking for $ac_word... " >&6; }
|
17923 | |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
|
|
15598 |
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
|
17924 | 15599 |
$as_echo_n "(cached) " >&6
|
17925 | 15600 |
else
|
17926 | 15601 |
case $ac_pt_PKG_CONFIG in
|
|
17933 | 15608 |
do
|
17934 | 15609 |
IFS=$as_save_IFS
|
17935 | 15610 |
test -z "$as_dir" && as_dir=.
|
17936 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
15611 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
17937 | 15612 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
17938 | 15613 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
17939 | |
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
15614 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
17940 | 15615 |
break 2
|
17941 | 15616 |
fi
|
17942 | 15617 |
done
|
17943 | |
done
|
|
15618 |
done
|
17944 | 15619 |
IFS=$as_save_IFS
|
17945 | 15620 |
|
17946 | 15621 |
;;
|
|
17948 | 15623 |
fi
|
17949 | 15624 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
|
17950 | 15625 |
if test -n "$ac_pt_PKG_CONFIG"; then
|
17951 | |
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
|
|
15626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
|
17952 | 15627 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
|
17953 | 15628 |
else
|
17954 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
15629 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17955 | 15630 |
$as_echo "no" >&6; }
|
17956 | 15631 |
fi
|
17957 | 15632 |
|
|
17960 | 15635 |
else
|
17961 | 15636 |
case $cross_compiling:$ac_tool_warned in
|
17962 | 15637 |
yes:)
|
17963 | |
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
15638 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
17964 | 15639 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
17965 | 15640 |
ac_tool_warned=yes ;;
|
17966 | 15641 |
esac
|
|
17973 | 15648 |
fi
|
17974 | 15649 |
if test -n "$PKG_CONFIG"; then
|
17975 | 15650 |
_pkg_min_version=0.9.0
|
17976 | |
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
|
|
15651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
|
17977 | 15652 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
|
17978 | 15653 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
|
17979 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
15654 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
17980 | 15655 |
$as_echo "yes" >&6; }
|
17981 | 15656 |
else
|
17982 | |
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
|
15657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
17983 | 15658 |
$as_echo "no" >&6; }
|
17984 | 15659 |
PKG_CONFIG=""
|
17985 | 15660 |
fi
|
|
17987 | 15662 |
fi
|
17988 | 15663 |
|
17989 | 15664 |
pkg_failed=no
|
17990 | |
{ $as_echo "$as_me:$LINENO: checking for LIBUDEV" >&5
|
|
15665 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
|
17991 | 15666 |
$as_echo_n "checking for LIBUDEV... " >&6; }
|
17992 | 15667 |
|
17993 | |
if test -n "$LIBUDEV_CFLAGS"; then
|
17994 | |
pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
|
17995 | |
elif test -n "$PKG_CONFIG"; then
|
17996 | |
if test -n "$PKG_CONFIG" && \
|
17997 | |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
|
17998 | |
($PKG_CONFIG --exists --print-errors "libudev") 2>&5
|
|
15668 |
if test -n "$PKG_CONFIG"; then
|
|
15669 |
if test -n "$LIBUDEV_CFLAGS"; then
|
|
15670 |
pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
|
|
15671 |
else
|
|
15672 |
if test -n "$PKG_CONFIG" && \
|
|
15673 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
|
|
15674 |
($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
|
17999 | 15675 |
ac_status=$?
|
18000 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
18001 | |
(exit $ac_status); }; then
|
18002 | |
pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
|
|
15676 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15677 |
test $ac_status = 0; }; then
|
|
15678 |
pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 143" 2>/dev/null`
|
18003 | 15679 |
else
|
18004 | 15680 |
pkg_failed=yes
|
18005 | 15681 |
fi
|
18006 | |
else
|
18007 | |
pkg_failed=untried
|
18008 | |
fi
|
18009 | |
if test -n "$LIBUDEV_LIBS"; then
|
18010 | |
pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
|
18011 | |
elif test -n "$PKG_CONFIG"; then
|
18012 | |
if test -n "$PKG_CONFIG" && \
|
18013 | |
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
|
18014 | |
($PKG_CONFIG --exists --print-errors "libudev") 2>&5
|
|
15682 |
fi
|
|
15683 |
else
|
|
15684 |
pkg_failed=untried
|
|
15685 |
fi
|
|
15686 |
if test -n "$PKG_CONFIG"; then
|
|
15687 |
if test -n "$LIBUDEV_LIBS"; then
|
|
15688 |
pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
|
|
15689 |
else
|
|
15690 |
if test -n "$PKG_CONFIG" && \
|
|
15691 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
|
|
15692 |
($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
|
18015 | 15693 |
ac_status=$?
|
18016 | |
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
18017 | |
(exit $ac_status); }; then
|
18018 | |
pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
|
|
15694 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
15695 |
test $ac_status = 0; }; then
|
|
15696 |
pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 143" 2>/dev/null`
|
18019 | 15697 |
else
|
18020 | 15698 |
pkg_failed=yes
|
18021 | 15699 |
fi
|
18022 | |
else
|
18023 | |
pkg_failed=untried
|
|
15700 |
fi
|
|
15701 |
else
|
|
15702 |
pkg_failed=untried
|
18024 | 15703 |
fi
|
18025 | 15704 |
|
18026 | 15705 |
|
|
18033 | 15712 |
_pkg_short_errors_supported=no
|
18034 | 15713 |
fi
|
18035 | 15714 |
if test $_pkg_short_errors_supported = yes; then
|
18036 | |
LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
|
|
15715 |
LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libudev >= 143"`
|
18037 | 15716 |
else
|
18038 | |
LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
|
|
15717 |
LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libudev >= 143"`
|
18039 | 15718 |
fi
|
18040 | 15719 |
# Put the nasty error message in config.log where it belongs
|
18041 | 15720 |
echo "$LIBUDEV_PKG_ERRORS" >&5
|
18042 | 15721 |
|
18043 | |
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libudev) were not met:
|
|
15722 |
as_fn_error "Package requirements (libudev >= 143) were not met:
|
18044 | 15723 |
|
18045 | 15724 |
$LIBUDEV_PKG_ERRORS
|
18046 | 15725 |
|
|
18050 | 15729 |
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
|
18051 | 15730 |
and LIBUDEV_LIBS to avoid the need to call pkg-config.
|
18052 | 15731 |
See the pkg-config man page for more details.
|
18053 | |
" >&5
|
18054 | |
$as_echo "$as_me: error: Package requirements (libudev) were not met:
|
18055 | |
|
18056 | |
$LIBUDEV_PKG_ERRORS
|
18057 | |
|
18058 | |
Consider adjusting the PKG_CONFIG_PATH environment variable if you
|
18059 | |
installed software in a non-standard prefix.
|
|
15732 |
" "$LINENO" 5
|
|
15733 |
elif test $pkg_failed = untried; then
|
|
15734 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
15735 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
15736 |
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
|
|
15737 |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
|
15738 |
path to pkg-config.
|
18060 | 15739 |
|
18061 | 15740 |
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
|
18062 | 15741 |
and LIBUDEV_LIBS to avoid the need to call pkg-config.
|
18063 | 15742 |
See the pkg-config man page for more details.
|
18064 | |
" >&2;}
|
18065 | |
{ (exit 1); exit 1; }; }
|
18066 | |
elif test $pkg_failed = untried; then
|
18067 | |
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
18068 | |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
18069 | |
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
|
18070 | |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
18071 | |
path to pkg-config.
|
18072 | |
|
18073 | |
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
|
18074 | |
and LIBUDEV_LIBS to avoid the need to call pkg-config.
|
18075 | |
See the pkg-config man page for more details.
|
18076 | 15743 |
|
18077 | 15744 |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
18078 | |
See \`config.log' for more details." >&5
|
18079 | |
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
|
18080 | |
is in your PATH or set the PKG_CONFIG environment variable to the full
|
18081 | |
path to pkg-config.
|
18082 | |
|
18083 | |
Alternatively, you may set the environment variables LIBUDEV_CFLAGS
|
18084 | |
and LIBUDEV_LIBS to avoid the need to call pkg-config.
|
18085 | |
See the pkg-config man page for more details.
|
18086 | |
|
18087 | |
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
|
18088 | |
See \`config.log' for more details." >&2;}
|
18089 | |
{ (exit 1); exit 1; }; }; }
|
|
15745 |
See \`config.log' for more details." "$LINENO" 5; }
|
18090 | 15746 |
else
|
18091 | 15747 |
LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
|
18092 | 15748 |
LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
|
18093 | |
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
|
15749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
18094 | 15750 |
$as_echo "yes" >&6; }
|
18095 | 15751 |
:
|
18096 | 15752 |
fi
|
18097 | |
|
18098 | |
cat >>confdefs.h <<\_ACEOF
|
18099 | |
#define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 1
|
18100 | |
_ACEOF
|
18101 | |
|
18102 | 15753 |
|
18103 | 15754 |
###################################
|
18104 | 15755 |
# Output #
|
|
18133 | 15784 |
case $ac_val in #(
|
18134 | 15785 |
*${as_nl}*)
|
18135 | 15786 |
case $ac_var in #(
|
18136 | |
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
|
|
15787 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
18137 | 15788 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
18138 | 15789 |
esac
|
18139 | 15790 |
case $ac_var in #(
|
18140 | 15791 |
_ | IFS | as_nl) ;; #(
|
18141 | 15792 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
18142 | |
*) $as_unset $ac_var ;;
|
|
15793 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
18143 | 15794 |
esac ;;
|
18144 | 15795 |
esac
|
18145 | 15796 |
done
|
|
18147 | 15798 |
(set) 2>&1 |
|
18148 | 15799 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
18149 | 15800 |
*${as_nl}ac_space=\ *)
|
18150 | |
# `set' does not quote correctly, so add quotes (double-quote
|
18151 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
15801 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
15802 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
18152 | 15803 |
sed -n \
|
18153 | 15804 |
"s/'/'\\\\''/g;
|
18154 | 15805 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
18171 | 15822 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
18172 | 15823 |
if test -w "$cache_file"; then
|
18173 | 15824 |
test "x$cache_file" != "x/dev/null" &&
|
18174 | |
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
|
15825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
18175 | 15826 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
18176 | 15827 |
cat confcache >$cache_file
|
18177 | 15828 |
else
|
18178 | |
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
|
15829 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
18179 | 15830 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
18180 | 15831 |
fi
|
18181 | 15832 |
fi
|
|
18195 | 15846 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
18196 | 15847 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
18197 | 15848 |
# will be set to the directory where LIBOBJS objects are built.
|
18198 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
18199 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
15849 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
15850 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
18200 | 15851 |
done
|
18201 | 15852 |
LIBOBJS=$ac_libobjs
|
18202 | 15853 |
|
|
18212 | 15863 |
fi
|
18213 | 15864 |
|
18214 | 15865 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
18215 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
18216 | |
Usually this means the macro was only invoked conditionally." >&5
|
18217 | |
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
18218 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
18219 | |
{ (exit 1); exit 1; }; }
|
|
15866 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
15867 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18220 | 15868 |
fi
|
18221 | 15869 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
18222 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
18223 | |
Usually this means the macro was only invoked conditionally." >&5
|
18224 | |
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
18225 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
18226 | |
{ (exit 1); exit 1; }; }
|
|
15870 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
15871 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18227 | 15872 |
fi
|
18228 | 15873 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
18229 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
18230 | |
Usually this means the macro was only invoked conditionally." >&5
|
18231 | |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
18232 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
18233 | |
{ (exit 1); exit 1; }; }
|
|
15874 |
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
|
15875 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18234 | 15876 |
fi
|
18235 | 15877 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
18236 | |
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
18237 | |
Usually this means the macro was only invoked conditionally." >&5
|
18238 | |
$as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
18239 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
18240 | |
{ (exit 1); exit 1; }; }
|
|
15878 |
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
|
15879 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18241 | 15880 |
fi
|
18242 | 15881 |
|
18243 | 15882 |
|
|
18245 | 15884 |
ac_write_fail=0
|
18246 | 15885 |
ac_clean_files_save=$ac_clean_files
|
18247 | 15886 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
18248 | |
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
|
15887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
18249 | 15888 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
18250 | |
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
15889 |
as_write_fail=0
|
|
15890 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
18251 | 15891 |
#! $SHELL
|
18252 | 15892 |
# Generated by $as_me.
|
18253 | 15893 |
# Run this file to recreate the current configuration.
|
|
18257 | 15897 |
debug=false
|
18258 | 15898 |
ac_cs_recheck=false
|
18259 | 15899 |
ac_cs_silent=false
|
|
15900 |
|
18260 | 15901 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
18261 | |
_ACEOF
|
18262 | |
|
18263 | |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
18264 | |
## --------------------- ##
|
18265 | |
## M4sh Initialization. ##
|
18266 | |
## --------------------- ##
|
|
15902 |
export SHELL
|
|
15903 |
_ASEOF
|
|
15904 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
15905 |
## -------------------- ##
|
|
15906 |
## M4sh Initialization. ##
|
|
15907 |
## -------------------- ##
|
18267 | 15908 |
|
18268 | 15909 |
# Be more Bourne compatible
|
18269 | 15910 |
DUALCASE=1; export DUALCASE # for MKS sh
|
18270 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
15911 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
18271 | 15912 |
emulate sh
|
18272 | 15913 |
NULLCMD=:
|
18273 | 15914 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
|
18275 | 15916 |
alias -g '${1+"$@"}'='"$@"'
|
18276 | 15917 |
setopt NO_GLOB_SUBST
|
18277 | 15918 |
else
|
18278 | |
case `(set -o) 2>/dev/null` in
|
18279 | |
*posix*) set -o posix ;;
|
|
15919 |
case `(set -o) 2>/dev/null` in #(
|
|
15920 |
*posix*) :
|
|
15921 |
set -o posix ;; #(
|
|
15922 |
*) :
|
|
15923 |
;;
|
18280 | 15924 |
esac
|
18281 | |
|
18282 | |
fi
|
18283 | |
|
18284 | |
|
18285 | |
|
18286 | |
|
18287 | |
# PATH needs CR
|
18288 | |
# Avoid depending upon Character Ranges.
|
18289 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
18290 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
18291 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
18292 | |
as_cr_digits='0123456789'
|
18293 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
15925 |
fi
|
|
15926 |
|
18294 | 15927 |
|
18295 | 15928 |
as_nl='
|
18296 | 15929 |
'
|
|
18299 | 15932 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
18300 | 15933 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
18301 | 15934 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
18302 | |
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
15935 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
15936 |
# but without wasting forks for bash or zsh.
|
|
15937 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
15938 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
15939 |
as_echo='print -r --'
|
|
15940 |
as_echo_n='print -rn --'
|
|
15941 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
18303 | 15942 |
as_echo='printf %s\n'
|
18304 | 15943 |
as_echo_n='printf %s'
|
18305 | 15944 |
else
|
|
18310 | 15949 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
18311 | 15950 |
as_echo_n_body='eval
|
18312 | 15951 |
arg=$1;
|
18313 | |
case $arg in
|
|
15952 |
case $arg in #(
|
18314 | 15953 |
*"$as_nl"*)
|
18315 | 15954 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
18316 | 15955 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
18333 | 15972 |
}
|
18334 | 15973 |
fi
|
18335 | 15974 |
|
18336 | |
# Support unset when possible.
|
18337 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
18338 | |
as_unset=unset
|
18339 | |
else
|
18340 | |
as_unset=false
|
18341 | |
fi
|
18342 | |
|
18343 | 15975 |
|
18344 | 15976 |
# IFS
|
18345 | 15977 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
18349 | 15981 |
IFS=" "" $as_nl"
|
18350 | 15982 |
|
18351 | 15983 |
# Find who we are. Look in the path if we contain no directory separator.
|
18352 | |
case $0 in
|
|
15984 |
case $0 in #((
|
18353 | 15985 |
*[\\/]* ) as_myself=$0 ;;
|
18354 | 15986 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
18355 | 15987 |
for as_dir in $PATH
|
18356 | 15988 |
do
|
18357 | 15989 |
IFS=$as_save_IFS
|
18358 | 15990 |
test -z "$as_dir" && as_dir=.
|
18359 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
18360 | |
done
|
|
15991 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
15992 |
done
|
18361 | 15993 |
IFS=$as_save_IFS
|
18362 | 15994 |
|
18363 | 15995 |
;;
|
|
18369 | 16001 |
fi
|
18370 | 16002 |
if test ! -f "$as_myself"; then
|
18371 | 16003 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
18372 | |
{ (exit 1); exit 1; }
|
18373 | |
fi
|
18374 | |
|
18375 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
18376 | |
for as_var in ENV MAIL MAILPATH
|
18377 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
16004 |
exit 1
|
|
16005 |
fi
|
|
16006 |
|
|
16007 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
16008 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
16009 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
16010 |
# trigger a bug in pdksh 5.2.14.
|
|
16011 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
16012 |
do eval test x\${$as_var+set} = xset \
|
|
16013 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
18378 | 16014 |
done
|
18379 | 16015 |
PS1='$ '
|
18380 | 16016 |
PS2='> '
|
|
18386 | 16022 |
LANGUAGE=C
|
18387 | 16023 |
export LANGUAGE
|
18388 | 16024 |
|
18389 | |
# Required to use basename.
|
|
16025 |
# CDPATH.
|
|
16026 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
16027 |
|
|
16028 |
|
|
16029 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
16030 |
# ---------------------------------
|
|
16031 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
16032 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
16033 |
# script with status $?, using 1 if that was 0.
|
|
16034 |
as_fn_error ()
|
|
16035 |
{
|
|
16036 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
16037 |
if test "$3"; then
|
|
16038 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
16039 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
16040 |
fi
|
|
16041 |
$as_echo "$as_me: error: $1" >&2
|
|
16042 |
as_fn_exit $as_status
|
|
16043 |
} # as_fn_error
|
|
16044 |
|
|
16045 |
|
|
16046 |
# as_fn_set_status STATUS
|
|
16047 |
# -----------------------
|
|
16048 |
# Set $? to STATUS, without forking.
|
|
16049 |
as_fn_set_status ()
|
|
16050 |
{
|
|
16051 |
return $1
|
|
16052 |
} # as_fn_set_status
|
|
16053 |
|
|
16054 |
# as_fn_exit STATUS
|
|
16055 |
# -----------------
|
|
16056 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
16057 |
as_fn_exit ()
|
|
16058 |
{
|
|
16059 |
set +e
|
|
16060 |
as_fn_set_status $1
|
|
16061 |
exit $1
|
|
16062 |
} # as_fn_exit
|
|
16063 |
|
|
16064 |
# as_fn_unset VAR
|
|
16065 |
# ---------------
|
|
16066 |
# Portably unset VAR.
|
|
16067 |
as_fn_unset ()
|
|
16068 |
{
|
|
16069 |
{ eval $1=; unset $1;}
|
|
16070 |
}
|
|
16071 |
as_unset=as_fn_unset
|
|
16072 |
# as_fn_append VAR VALUE
|
|
16073 |
# ----------------------
|
|
16074 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
16075 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
16076 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
16077 |
# implementations.
|
|
16078 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
16079 |
eval 'as_fn_append ()
|
|
16080 |
{
|
|
16081 |
eval $1+=\$2
|
|
16082 |
}'
|
|
16083 |
else
|
|
16084 |
as_fn_append ()
|
|
16085 |
{
|
|
16086 |
eval $1=\$$1\$2
|
|
16087 |
}
|
|
16088 |
fi # as_fn_append
|
|
16089 |
|
|
16090 |
# as_fn_arith ARG...
|
|
16091 |
# ------------------
|
|
16092 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
16093 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
16094 |
# must be portable across $(()) and expr.
|
|
16095 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
16096 |
eval 'as_fn_arith ()
|
|
16097 |
{
|
|
16098 |
as_val=$(( $* ))
|
|
16099 |
}'
|
|
16100 |
else
|
|
16101 |
as_fn_arith ()
|
|
16102 |
{
|
|
16103 |
as_val=`expr "$@" || test $? -eq 1`
|
|
16104 |
}
|
|
16105 |
fi # as_fn_arith
|
|
16106 |
|
|
16107 |
|
18390 | 16108 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
18391 | 16109 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
18392 | 16110 |
as_expr=expr
|
|
18400 | 16118 |
as_basename=false
|
18401 | 16119 |
fi
|
18402 | 16120 |
|
18403 | |
|
18404 | |
# Name of the executable.
|
|
16121 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
16122 |
as_dirname=dirname
|
|
16123 |
else
|
|
16124 |
as_dirname=false
|
|
16125 |
fi
|
|
16126 |
|
18405 | 16127 |
as_me=`$as_basename -- "$0" ||
|
18406 | 16128 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
18407 | 16129 |
X"$0" : 'X\(//\)$' \| \
|
|
18421 | 16143 |
}
|
18422 | 16144 |
s/.*/./; q'`
|
18423 | 16145 |
|
18424 | |
# CDPATH.
|
18425 | |
$as_unset CDPATH
|
18426 | |
|
18427 | |
|
18428 | |
|
18429 | |
as_lineno_1=$LINENO
|
18430 | |
as_lineno_2=$LINENO
|
18431 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
18432 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
18433 | |
|
18434 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
18435 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
18436 | |
# line-number line after each line using $LINENO; the second 'sed'
|
18437 | |
# does the real work. The second script uses 'N' to pair each
|
18438 | |
# line-number line with the line containing $LINENO, and appends
|
18439 | |
# trailing '-' during substitution so that $LINENO is not a special
|
18440 | |
# case at line end.
|
18441 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
18442 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
18443 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
18444 | |
sed -n '
|
18445 | |
p
|
18446 | |
/[$]LINENO/=
|
18447 | |
' <$as_myself |
|
18448 | |
sed '
|
18449 | |
s/[$]LINENO.*/&-/
|
18450 | |
t lineno
|
18451 | |
b
|
18452 | |
:lineno
|
18453 | |
N
|
18454 | |
:loop
|
18455 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
18456 | |
t loop
|
18457 | |
s/-\n.*//
|
18458 | |
' >$as_me.lineno &&
|
18459 | |
chmod +x "$as_me.lineno" ||
|
18460 | |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
18461 | |
{ (exit 1); exit 1; }; }
|
18462 | |
|
18463 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
18464 | |
# (the dirname of $[0] is not the place where we might find the
|
18465 | |
# original and so on. Autoconf is especially sensitive to this).
|
18466 | |
. "./$as_me.lineno"
|
18467 | |
# Exit status is that of the last command.
|
18468 | |
exit
|
18469 | |
}
|
18470 | |
|
18471 | |
|
18472 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
18473 | |
as_dirname=dirname
|
18474 | |
else
|
18475 | |
as_dirname=false
|
18476 | |
fi
|
|
16146 |
# Avoid depending upon Character Ranges.
|
|
16147 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
16148 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
16149 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
16150 |
as_cr_digits='0123456789'
|
|
16151 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
18477 | 16152 |
|
18478 | 16153 |
ECHO_C= ECHO_N= ECHO_T=
|
18479 | |
case `echo -n x` in
|
|
16154 |
case `echo -n x` in #(((((
|
18480 | 16155 |
-n*)
|
18481 | |
case `echo 'x\c'` in
|
|
16156 |
case `echo 'xy\c'` in
|
18482 | 16157 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
18483 | |
*) ECHO_C='\c';;
|
|
16158 |
xy) ECHO_C='\c';;
|
|
16159 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
16160 |
ECHO_T=' ';;
|
18484 | 16161 |
esac;;
|
18485 | 16162 |
*)
|
18486 | 16163 |
ECHO_N='-n';;
|
18487 | 16164 |
esac
|
18488 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
18489 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
18490 | |
as_expr=expr
|
18491 | |
else
|
18492 | |
as_expr=false
|
18493 | |
fi
|
18494 | 16165 |
|
18495 | 16166 |
rm -f conf$$ conf$$.exe conf$$.file
|
18496 | 16167 |
if test -d conf$$.dir; then
|
|
18519 | 16190 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
18520 | 16191 |
rmdir conf$$.dir 2>/dev/null
|
18521 | 16192 |
|
|
16193 |
|
|
16194 |
# as_fn_mkdir_p
|
|
16195 |
# -------------
|
|
16196 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
16197 |
as_fn_mkdir_p ()
|
|
16198 |
{
|
|
16199 |
|
|
16200 |
case $as_dir in #(
|
|
16201 |
-*) as_dir=./$as_dir;;
|
|
16202 |
esac
|
|
16203 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
16204 |
as_dirs=
|
|
16205 |
while :; do
|
|
16206 |
case $as_dir in #(
|
|
16207 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
16208 |
*) as_qdir=$as_dir;;
|
|
16209 |
esac
|
|
16210 |
as_dirs="'$as_qdir' $as_dirs"
|
|
16211 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
16212 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
16213 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
16214 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
16215 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
16216 |
$as_echo X"$as_dir" |
|
|
16217 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
16218 |
s//\1/
|
|
16219 |
q
|
|
16220 |
}
|
|
16221 |
/^X\(\/\/\)[^/].*/{
|
|
16222 |
s//\1/
|
|
16223 |
q
|
|
16224 |
}
|
|
16225 |
/^X\(\/\/\)$/{
|
|
16226 |
s//\1/
|
|
16227 |
q
|
|
16228 |
}
|
|
16229 |
/^X\(\/\).*/{
|
|
16230 |
s//\1/
|
|
16231 |
q
|
|
16232 |
}
|
|
16233 |
s/.*/./; q'`
|
|
16234 |
test -d "$as_dir" && break
|
|
16235 |
done
|
|
16236 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
16237 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
16238 |
|
|
16239 |
|
|
16240 |
} # as_fn_mkdir_p
|
18522 | 16241 |
if mkdir -p . 2>/dev/null; then
|
18523 | |
as_mkdir_p=:
|
|
16242 |
as_mkdir_p='mkdir -p "$as_dir"'
|
18524 | 16243 |
else
|
18525 | 16244 |
test -d ./-p && rmdir ./-p
|
18526 | 16245 |
as_mkdir_p=false
|
|
18539 | 16258 |
if test -d "$1"; then
|
18540 | 16259 |
test -d "$1/.";
|
18541 | 16260 |
else
|
18542 | |
case $1 in
|
|
16261 |
case $1 in #(
|
18543 | 16262 |
-*)set "./$1";;
|
18544 | 16263 |
esac;
|
18545 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
|
16264 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
18546 | 16265 |
???[sx]*):;;*)false;;esac;fi
|
18547 | 16266 |
'\'' sh
|
18548 | 16267 |
'
|
|
18557 | 16276 |
|
18558 | 16277 |
|
18559 | 16278 |
exec 6>&1
|
18560 | |
|
18561 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
|
16279 |
## ----------------------------------- ##
|
|
16280 |
## Main body of $CONFIG_STATUS script. ##
|
|
16281 |
## ----------------------------------- ##
|
|
16282 |
_ASEOF
|
|
16283 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
16284 |
|
|
16285 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
16286 |
# Save the log message, to keep $0 and so on meaningful, and to
|
18562 | 16287 |
# report actual input values of CONFIG_FILES etc. instead of their
|
18563 | 16288 |
# values after options handling.
|
18564 | 16289 |
ac_log="
|
18565 | 16290 |
This file was extended by libatasmart $as_me 0.17, which was
|
18566 | |
generated by GNU Autoconf 2.63. Invocation command line was
|
|
16291 |
generated by GNU Autoconf 2.65. Invocation command line was
|
18567 | 16292 |
|
18568 | 16293 |
CONFIG_FILES = $CONFIG_FILES
|
18569 | 16294 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
18595 | 16320 |
|
18596 | 16321 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
18597 | 16322 |
ac_cs_usage="\
|
18598 | |
\`$as_me' instantiates files from templates according to the
|
18599 | |
current configuration.
|
18600 | |
|
18601 | |
Usage: $0 [OPTION]... [FILE]...
|
|
16323 |
\`$as_me' instantiates files and other configuration actions
|
|
16324 |
from templates according to the current configuration. Unless the files
|
|
16325 |
and actions are specified as TAGs, all are instantiated by default.
|
|
16326 |
|
|
16327 |
Usage: $0 [OPTION]... [TAG]...
|
18602 | 16328 |
|
18603 | 16329 |
-h, --help print this help, then exit
|
18604 | 16330 |
-V, --version print version number and configuration settings, then exit
|
|
16331 |
--config print configuration, then exit
|
18605 | 16332 |
-q, --quiet, --silent
|
18606 | 16333 |
do not print progress messages
|
18607 | 16334 |
-d, --debug don't remove temporary files
|
|
18620 | 16347 |
Configuration commands:
|
18621 | 16348 |
$config_commands
|
18622 | 16349 |
|
18623 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
16350 |
Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>."
|
18624 | 16351 |
|
18625 | 16352 |
_ACEOF
|
18626 | 16353 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
16354 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
18627 | 16355 |
ac_cs_version="\\
|
18628 | 16356 |
libatasmart config.status 0.17
|
18629 | |
configured by $0, generated by GNU Autoconf 2.63,
|
18630 | |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
18631 | |
|
18632 | |
Copyright (C) 2008 Free Software Foundation, Inc.
|
|
16357 |
configured by $0, generated by GNU Autoconf 2.65,
|
|
16358 |
with options \\"\$ac_cs_config\\"
|
|
16359 |
|
|
16360 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
18633 | 16361 |
This config.status script is free software; the Free Software Foundation
|
18634 | 16362 |
gives unlimited permission to copy, distribute and modify it."
|
18635 | 16363 |
|
|
18665 | 16393 |
ac_cs_recheck=: ;;
|
18666 | 16394 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
18667 | 16395 |
$as_echo "$ac_cs_version"; exit ;;
|
|
16396 |
--config | --confi | --conf | --con | --co | --c )
|
|
16397 |
$as_echo "$ac_cs_config"; exit ;;
|
18668 | 16398 |
--debug | --debu | --deb | --de | --d | -d )
|
18669 | 16399 |
debug=: ;;
|
18670 | 16400 |
--file | --fil | --fi | --f )
|
|
18672 | 16402 |
case $ac_optarg in
|
18673 | 16403 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
18674 | 16404 |
esac
|
18675 | |
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
|
|
16405 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
18676 | 16406 |
ac_need_defaults=false;;
|
18677 | 16407 |
--header | --heade | --head | --hea )
|
18678 | 16408 |
$ac_shift
|
18679 | 16409 |
case $ac_optarg in
|
18680 | 16410 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
18681 | 16411 |
esac
|
18682 | |
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
|
|
16412 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
18683 | 16413 |
ac_need_defaults=false;;
|
18684 | 16414 |
--he | --h)
|
18685 | 16415 |
# Conflict between --help and --header
|
18686 | |
{ $as_echo "$as_me: error: ambiguous option: $1
|
18687 | |
Try \`$0 --help' for more information." >&2
|
18688 | |
{ (exit 1); exit 1; }; };;
|
|
16416 |
as_fn_error "ambiguous option: \`$1'
|
|
16417 |
Try \`$0 --help' for more information.";;
|
18689 | 16418 |
--help | --hel | -h )
|
18690 | 16419 |
$as_echo "$ac_cs_usage"; exit ;;
|
18691 | 16420 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
18693 | 16422 |
ac_cs_silent=: ;;
|
18694 | 16423 |
|
18695 | 16424 |
# This is an error.
|
18696 | |
-*) { $as_echo "$as_me: error: unrecognized option: $1
|
18697 | |
Try \`$0 --help' for more information." >&2
|
18698 | |
{ (exit 1); exit 1; }; } ;;
|
18699 | |
|
18700 | |
*) ac_config_targets="$ac_config_targets $1"
|
|
16425 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
16426 |
Try \`$0 --help' for more information." ;;
|
|
16427 |
|
|
16428 |
*) as_fn_append ac_config_targets " $1"
|
18701 | 16429 |
ac_need_defaults=false ;;
|
18702 | 16430 |
|
18703 | 16431 |
esac
|
|
19105 | 16833 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
19106 | 16834 |
"libatasmart.pc") CONFIG_FILES="$CONFIG_FILES libatasmart.pc" ;;
|
19107 | 16835 |
|
19108 | |
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
19109 | |
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
19110 | |
{ (exit 1); exit 1; }; };;
|
|
16836 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
19111 | 16837 |
esac
|
19112 | 16838 |
done
|
19113 | 16839 |
|
|
19134 | 16860 |
trap 'exit_status=$?
|
19135 | 16861 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
19136 | 16862 |
' 0
|
19137 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
16863 |
trap 'as_fn_exit 1' 1 2 13 15
|
19138 | 16864 |
}
|
19139 | 16865 |
# Create a (secure) tmp directory for tmp files.
|
19140 | 16866 |
|
|
19145 | 16871 |
{
|
19146 | 16872 |
tmp=./conf$$-$RANDOM
|
19147 | 16873 |
(umask 077 && mkdir "$tmp")
|
19148 | |
} ||
|
19149 | |
{
|
19150 | |
$as_echo "$as_me: cannot create a temporary directory in ." >&2
|
19151 | |
{ (exit 1); exit 1; }
|
19152 | |
}
|
|
16874 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
19153 | 16875 |
|
19154 | 16876 |
# Set up the scripts for CONFIG_FILES section.
|
19155 | 16877 |
# No need to generate them if there are no CONFIG_FILES.
|
|
19157 | 16879 |
if test -n "$CONFIG_FILES"; then
|
19158 | 16880 |
|
19159 | 16881 |
|
19160 | |
ac_cr='
⏎
|
19161 | |
'
|
|
16882 |
ac_cr=`echo X | tr X '\015'`
|
|
16883 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
16884 |
# But we know of no other shell where ac_cr would be empty at this
|
|
16885 |
# point, so we can use a bashism as a fallback.
|
|
16886 |
if test "x$ac_cr" = x; then
|
|
16887 |
eval ac_cr=\$\'\\r\'
|
|
16888 |
fi
|
19162 | 16889 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
19163 | 16890 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
19164 | |
ac_cs_awk_cr='\\r'
|
|
16891 |
ac_cs_awk_cr='\r'
|
19165 | 16892 |
else
|
19166 | 16893 |
ac_cs_awk_cr=$ac_cr
|
19167 | 16894 |
fi
|
|
19175 | 16902 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
19176 | 16903 |
echo "_ACEOF"
|
19177 | 16904 |
} >conf$$subs.sh ||
|
19178 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
19179 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
19180 | |
{ (exit 1); exit 1; }; }
|
|
16905 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
19181 | 16906 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
19182 | 16907 |
ac_delim='%!_!# '
|
19183 | 16908 |
for ac_last_try in false false false false false :; do
|
19184 | 16909 |
. ./conf$$subs.sh ||
|
19185 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
19186 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
19187 | |
{ (exit 1); exit 1; }; }
|
|
16910 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
19188 | 16911 |
|
19189 | 16912 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
19190 | 16913 |
if test $ac_delim_n = $ac_delim_num; then
|
19191 | 16914 |
break
|
19192 | 16915 |
elif $ac_last_try; then
|
19193 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
19194 | |
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
19195 | |
{ (exit 1); exit 1; }; }
|
|
16916 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
19196 | 16917 |
else
|
19197 | 16918 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
19198 | 16919 |
fi
|
|
19214 | 16935 |
t delim
|
19215 | 16936 |
:nl
|
19216 | 16937 |
h
|
19217 | |
s/\(.\{148\}\).*/\1/
|
|
16938 |
s/\(.\{148\}\)..*/\1/
|
19218 | 16939 |
t more1
|
19219 | 16940 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
19220 | 16941 |
p
|
|
19228 | 16949 |
t nl
|
19229 | 16950 |
:delim
|
19230 | 16951 |
h
|
19231 | |
s/\(.\{148\}\).*/\1/
|
|
16952 |
s/\(.\{148\}\)..*/\1/
|
19232 | 16953 |
t more2
|
19233 | 16954 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
19234 | 16955 |
p
|
|
19281 | 17002 |
else
|
19282 | 17003 |
cat
|
19283 | 17004 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
19284 | |
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
|
19285 | |
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
|
19286 | |
{ (exit 1); exit 1; }; }
|
|
17005 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
19287 | 17006 |
_ACEOF
|
19288 | 17007 |
|
19289 | 17008 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
19324 | 17043 |
if test -z "$ac_t"; then
|
19325 | 17044 |
break
|
19326 | 17045 |
elif $ac_last_try; then
|
19327 | |
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
|
19328 | |
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
|
19329 | |
{ (exit 1); exit 1; }; }
|
|
17046 |
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
19330 | 17047 |
else
|
19331 | 17048 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
19332 | 17049 |
fi
|
|
19411 | 17128 |
_ACAWK
|
19412 | 17129 |
_ACEOF
|
19413 | 17130 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
19414 | |
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
|
19415 | |
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
|
19416 | |
{ (exit 1); exit 1; }; }
|
|
17131 |
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
19417 | 17132 |
fi # test -n "$CONFIG_HEADERS"
|
19418 | 17133 |
|
19419 | 17134 |
|
|
19426 | 17141 |
esac
|
19427 | 17142 |
case $ac_mode$ac_tag in
|
19428 | 17143 |
:[FHL]*:*);;
|
19429 | |
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
|
19430 | |
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
|
19431 | |
{ (exit 1); exit 1; }; };;
|
|
17144 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
19432 | 17145 |
:[FH]-) ac_tag=-:-;;
|
19433 | 17146 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
19434 | 17147 |
esac
|
|
19456 | 17169 |
[\\/$]*) false;;
|
19457 | 17170 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
19458 | 17171 |
esac ||
|
19459 | |
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
19460 | |
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
19461 | |
{ (exit 1); exit 1; }; };;
|
|
17172 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
19462 | 17173 |
esac
|
19463 | 17174 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
19464 | |
ac_file_inputs="$ac_file_inputs '$ac_f'"
|
|
17175 |
as_fn_append ac_file_inputs " '$ac_f'"
|
19465 | 17176 |
done
|
19466 | 17177 |
|
19467 | 17178 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
19472 | 17183 |
`' by configure.'
|
19473 | 17184 |
if test x"$ac_file" != x-; then
|
19474 | 17185 |
configure_input="$ac_file. $configure_input"
|
19475 | |
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
17186 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
19476 | 17187 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
19477 | 17188 |
fi
|
19478 | 17189 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
19485 | 17196 |
|
19486 | 17197 |
case $ac_tag in
|
19487 | 17198 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
19488 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
19489 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
19490 | |
{ (exit 1); exit 1; }; } ;;
|
|
17199 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
19491 | 17200 |
esac
|
19492 | 17201 |
;;
|
19493 | 17202 |
esac
|
|
19515 | 17224 |
q
|
19516 | 17225 |
}
|
19517 | 17226 |
s/.*/./; q'`
|
19518 | |
{ as_dir="$ac_dir"
|
19519 | |
case $as_dir in #(
|
19520 | |
-*) as_dir=./$as_dir;;
|
19521 | |
esac
|
19522 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
19523 | |
as_dirs=
|
19524 | |
while :; do
|
19525 | |
case $as_dir in #(
|
19526 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
19527 | |
*) as_qdir=$as_dir;;
|
19528 | |
esac
|
19529 | |
as_dirs="'$as_qdir' $as_dirs"
|
19530 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
19531 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
19532 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
19533 | |
X"$as_dir" : 'X\(//\)$' \| \
|
19534 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
19535 | |
$as_echo X"$as_dir" |
|
19536 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
19537 | |
s//\1/
|
19538 | |
q
|
19539 | |
}
|
19540 | |
/^X\(\/\/\)[^/].*/{
|
19541 | |
s//\1/
|
19542 | |
q
|
19543 | |
}
|
19544 | |
/^X\(\/\/\)$/{
|
19545 | |
s//\1/
|
19546 | |
q
|
19547 | |
}
|
19548 | |
/^X\(\/\).*/{
|
19549 | |
s//\1/
|
19550 | |
q
|
19551 | |
}
|
19552 | |
s/.*/./; q'`
|
19553 | |
test -d "$as_dir" && break
|
19554 | |
done
|
19555 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
19556 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
19557 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
19558 | |
{ (exit 1); exit 1; }; }; }
|
|
17227 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
19559 | 17228 |
ac_builddir=.
|
19560 | 17229 |
|
19561 | 17230 |
case "$ac_dir" in
|
|
19612 | 17281 |
# If the template does not know about datarootdir, expand it.
|
19613 | 17282 |
# FIXME: This hack should be removed a few years after 2.60.
|
19614 | 17283 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
19615 | |
|
19616 | 17284 |
ac_sed_dataroot='
|
19617 | 17285 |
/datarootdir/ {
|
19618 | 17286 |
p
|
|
19622 | 17290 |
/@docdir@/p
|
19623 | 17291 |
/@infodir@/p
|
19624 | 17292 |
/@localedir@/p
|
19625 | |
/@mandir@/p
|
19626 | |
'
|
|
17293 |
/@mandir@/p'
|
19627 | 17294 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
19628 | 17295 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
19629 | 17296 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
19630 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
17297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
19631 | 17298 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
19632 | 17299 |
_ACEOF
|
19633 | 17300 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
19637 | 17304 |
s&@infodir@&$infodir&g
|
19638 | 17305 |
s&@localedir@&$localedir&g
|
19639 | 17306 |
s&@mandir@&$mandir&g
|
19640 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
17307 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
19641 | 17308 |
esac
|
19642 | 17309 |
_ACEOF
|
19643 | 17310 |
|
|
19666 | 17333 |
$ac_datarootdir_hack
|
19667 | 17334 |
"
|
19668 | 17335 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
19669 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
19670 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
19671 | |
{ (exit 1); exit 1; }; }
|
|
17336 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
19672 | 17337 |
|
19673 | 17338 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
19674 | 17339 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
19675 | 17340 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
19676 | |
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
17341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
19677 | 17342 |
which seems to be undefined. Please make sure it is defined." >&5
|
19678 | 17343 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
19679 | 17344 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
19683 | 17348 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
19684 | 17349 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
19685 | 17350 |
esac \
|
19686 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
19687 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
19688 | |
{ (exit 1); exit 1; }; }
|
|
17351 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
19689 | 17352 |
;;
|
19690 | 17353 |
:H)
|
19691 | 17354 |
#
|
|
19696 | 17359 |
$as_echo "/* $configure_input */" \
|
19697 | 17360 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
19698 | 17361 |
} >"$tmp/config.h" \
|
19699 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
19700 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
19701 | |
{ (exit 1); exit 1; }; }
|
|
17362 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
19702 | 17363 |
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
19703 | |
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
|
17364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
19704 | 17365 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
19705 | 17366 |
else
|
19706 | 17367 |
rm -f "$ac_file"
|
19707 | 17368 |
mv "$tmp/config.h" "$ac_file" \
|
19708 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
|
19709 | |
$as_echo "$as_me: error: could not create $ac_file" >&2;}
|
19710 | |
{ (exit 1); exit 1; }; }
|
|
17369 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
19711 | 17370 |
fi
|
19712 | 17371 |
else
|
19713 | 17372 |
$as_echo "/* $configure_input */" \
|
19714 | 17373 |
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
19715 | |
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
|
19716 | |
$as_echo "$as_me: error: could not create -" >&2;}
|
19717 | |
{ (exit 1); exit 1; }; }
|
|
17374 |
|| as_fn_error "could not create -" "$LINENO" 5
|
19718 | 17375 |
fi
|
19719 | 17376 |
# Compute "$ac_file"'s index in $config_headers.
|
19720 | 17377 |
_am_arg="$ac_file"
|
|
19752 | 17409 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
19753 | 17410 |
;;
|
19754 | 17411 |
|
19755 | |
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
|
17412 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
19756 | 17413 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
19757 | 17414 |
;;
|
19758 | 17415 |
esac
|
|
19847 | 17504 |
q
|
19848 | 17505 |
}
|
19849 | 17506 |
s/.*/./; q'`
|
19850 | |
{ as_dir=$dirpart/$fdir
|
19851 | |
case $as_dir in #(
|
19852 | |
-*) as_dir=./$as_dir;;
|
19853 | |
esac
|
19854 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
19855 | |
as_dirs=
|
19856 | |
while :; do
|
19857 | |
case $as_dir in #(
|
19858 | |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
19859 | |
*) as_qdir=$as_dir;;
|
19860 | |
esac
|
19861 | |
as_dirs="'$as_qdir' $as_dirs"
|
19862 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
19863 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
19864 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
19865 | |
X"$as_dir" : 'X\(//\)$' \| \
|
19866 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
19867 | |
$as_echo X"$as_dir" |
|
19868 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
19869 | |
s//\1/
|
19870 | |
q
|
19871 | |
}
|
19872 | |
/^X\(\/\/\)[^/].*/{
|
19873 | |
s//\1/
|
19874 | |
q
|
19875 | |
}
|
19876 | |
/^X\(\/\/\)$/{
|
19877 | |
s//\1/
|
19878 | |
q
|
19879 | |
}
|
19880 | |
/^X\(\/\).*/{
|
19881 | |
s//\1/
|
19882 | |
q
|
19883 | |
}
|
19884 | |
s/.*/./; q'`
|
19885 | |
test -d "$as_dir" && break
|
19886 | |
done
|
19887 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
19888 | |
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
19889 | |
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
19890 | |
{ (exit 1); exit 1; }; }; }
|
|
17507 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
19891 | 17508 |
# echo "creating $dirpart/$file"
|
19892 | 17509 |
echo '# dummy' > "$dirpart/$file"
|
19893 | 17510 |
done
|
|
20701 | 18318 |
done # for ac_tag
|
20702 | 18319 |
|
20703 | 18320 |
|
20704 | |
{ (exit 0); exit 0; }
|
|
18321 |
as_fn_exit 0
|
20705 | 18322 |
_ACEOF
|
20706 | |
chmod +x $CONFIG_STATUS
|
20707 | 18323 |
ac_clean_files=$ac_clean_files_save
|
20708 | 18324 |
|
20709 | 18325 |
test $ac_write_fail = 0 ||
|
20710 | |
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
|
20711 | |
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
|
20712 | |
{ (exit 1); exit 1; }; }
|
|
18326 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
20713 | 18327 |
|
20714 | 18328 |
|
20715 | 18329 |
# configure is writing to config.log, and then calls config.status.
|
|
20730 | 18344 |
exec 5>>config.log
|
20731 | 18345 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
20732 | 18346 |
# would make configure fail if this is the last instruction.
|
20733 | |
$ac_cs_success || { (exit 1); exit 1; }
|
|
18347 |
$ac_cs_success || as_fn_exit $?
|
20734 | 18348 |
fi
|
20735 | 18349 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
20736 | |
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
18350 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
20737 | 18351 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
20738 | 18352 |
fi
|
20739 | 18353 |
|