0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.61.
|
|
2 |
# Generated by GNU Autoconf 2.69.
|
3 | 3 |
#
|
4 | |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
5 | |
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
4 |
#
|
|
5 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
|
|
6 |
#
|
|
7 |
#
|
6 | 8 |
# This configure script is free software; the Free Software Foundation
|
7 | 9 |
# gives unlimited permission to copy, distribute and modify it.
|
8 | |
## --------------------- ##
|
9 | |
## M4sh Initialization. ##
|
10 | |
## --------------------- ##
|
|
10 |
## -------------------- ##
|
|
11 |
## M4sh Initialization. ##
|
|
12 |
## -------------------- ##
|
11 | 13 |
|
12 | 14 |
# Be more Bourne compatible
|
13 | 15 |
DUALCASE=1; export DUALCASE # for MKS sh
|
14 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
15 | 17 |
emulate sh
|
16 | 18 |
NULLCMD=:
|
17 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
19 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
18 | 20 |
# is contrary to our usage. Disable this feature.
|
19 | 21 |
alias -g '${1+"$@"}'='"$@"'
|
20 | 22 |
setopt NO_GLOB_SUBST
|
21 | 23 |
else
|
22 | |
case `(set -o) 2>/dev/null` in
|
23 | |
*posix*) set -o posix ;;
|
|
24 |
case `(set -o) 2>/dev/null` in #(
|
|
25 |
*posix*) :
|
|
26 |
set -o posix ;; #(
|
|
27 |
*) :
|
|
28 |
;;
|
24 | 29 |
esac
|
25 | |
|
26 | |
fi
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
# PATH needs CR
|
32 | |
# Avoid depending upon Character Ranges.
|
33 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
34 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
35 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
36 | |
as_cr_digits='0123456789'
|
37 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
30 |
fi
|
|
31 |
|
|
32 |
|
|
33 |
as_nl='
|
|
34 |
'
|
|
35 |
export as_nl
|
|
36 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
37 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
38 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
39 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
40 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
41 |
# but without wasting forks for bash or zsh.
|
|
42 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
43 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
44 |
as_echo='print -r --'
|
|
45 |
as_echo_n='print -rn --'
|
|
46 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
47 |
as_echo='printf %s\n'
|
|
48 |
as_echo_n='printf %s'
|
|
49 |
else
|
|
50 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
51 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
52 |
as_echo_n='/usr/ucb/echo -n'
|
|
53 |
else
|
|
54 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
55 |
as_echo_n_body='eval
|
|
56 |
arg=$1;
|
|
57 |
case $arg in #(
|
|
58 |
*"$as_nl"*)
|
|
59 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
60 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
61 |
esac;
|
|
62 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
63 |
'
|
|
64 |
export as_echo_n_body
|
|
65 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
66 |
fi
|
|
67 |
export as_echo_body
|
|
68 |
as_echo='sh -c $as_echo_body as_echo'
|
|
69 |
fi
|
38 | 70 |
|
39 | 71 |
# The user is always right.
|
40 | 72 |
if test "${PATH_SEPARATOR+set}" != set; then
|
41 | |
echo "#! /bin/sh" >conf$$.sh
|
42 | |
echo "exit 0" >>conf$$.sh
|
43 | |
chmod +x conf$$.sh
|
44 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
45 | |
PATH_SEPARATOR=';'
|
46 | |
else
|
47 | |
PATH_SEPARATOR=:
|
48 | |
fi
|
49 | |
rm -f conf$$.sh
|
50 | |
fi
|
51 | |
|
52 | |
# Support unset when possible.
|
53 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
54 | |
as_unset=unset
|
55 | |
else
|
56 | |
as_unset=false
|
|
73 |
PATH_SEPARATOR=:
|
|
74 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
75 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
76 |
PATH_SEPARATOR=';'
|
|
77 |
}
|
57 | 78 |
fi
|
58 | 79 |
|
59 | 80 |
|
|
62 | 83 |
# there to prevent editors from complaining about space-tab.
|
63 | 84 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
64 | 85 |
# splitting by setting IFS to empty value.)
|
65 | |
as_nl='
|
66 | |
'
|
67 | 86 |
IFS=" "" $as_nl"
|
68 | 87 |
|
69 | 88 |
# Find who we are. Look in the path if we contain no directory separator.
|
70 | |
case $0 in
|
|
89 |
as_myself=
|
|
90 |
case $0 in #((
|
71 | 91 |
*[\\/]* ) as_myself=$0 ;;
|
72 | 92 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
73 | 93 |
for as_dir in $PATH
|
74 | 94 |
do
|
75 | 95 |
IFS=$as_save_IFS
|
76 | 96 |
test -z "$as_dir" && as_dir=.
|
77 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
78 | |
done
|
|
97 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
98 |
done
|
79 | 99 |
IFS=$as_save_IFS
|
80 | 100 |
|
81 | 101 |
;;
|
|
86 | 106 |
as_myself=$0
|
87 | 107 |
fi
|
88 | 108 |
if test ! -f "$as_myself"; then
|
89 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
90 | |
{ (exit 1); exit 1; }
|
91 | |
fi
|
92 | |
|
93 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
94 | |
for as_var in ENV MAIL MAILPATH
|
95 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
109 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
110 |
exit 1
|
|
111 |
fi
|
|
112 |
|
|
113 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
114 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
115 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
116 |
# trigger a bug in pdksh 5.2.14.
|
|
117 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
118 |
do eval test x\${$as_var+set} = xset \
|
|
119 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
96 | 120 |
done
|
97 | 121 |
PS1='$ '
|
98 | 122 |
PS2='> '
|
99 | 123 |
PS4='+ '
|
100 | 124 |
|
101 | 125 |
# NLS nuisances.
|
102 | |
for as_var in \
|
103 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
104 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
105 | |
LC_TELEPHONE LC_TIME
|
|
126 |
LC_ALL=C
|
|
127 |
export LC_ALL
|
|
128 |
LANGUAGE=C
|
|
129 |
export LANGUAGE
|
|
130 |
|
|
131 |
# CDPATH.
|
|
132 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
133 |
|
|
134 |
# Use a proper internal environment variable to ensure we don't fall
|
|
135 |
# into an infinite loop, continuously re-executing ourselves.
|
|
136 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
|
|
137 |
_as_can_reexec=no; export _as_can_reexec;
|
|
138 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
139 |
# neutralization value for shells without unset; and this also
|
|
140 |
# works around shells that cannot unset nonexistent variables.
|
|
141 |
# Preserve -v and -x to the replacement shell.
|
|
142 |
BASH_ENV=/dev/null
|
|
143 |
ENV=/dev/null
|
|
144 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
145 |
case $- in # ((((
|
|
146 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
147 |
*v* ) as_opts=-v ;;
|
|
148 |
*x* ) as_opts=-x ;;
|
|
149 |
* ) as_opts= ;;
|
|
150 |
esac
|
|
151 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
152 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
153 |
# out after a failed `exec'.
|
|
154 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
155 |
as_fn_exit 255
|
|
156 |
fi
|
|
157 |
# We don't want this to propagate to other subprocesses.
|
|
158 |
{ _as_can_reexec=; unset _as_can_reexec;}
|
|
159 |
if test "x$CONFIG_SHELL" = x; then
|
|
160 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
161 |
emulate sh
|
|
162 |
NULLCMD=:
|
|
163 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
164 |
# is contrary to our usage. Disable this feature.
|
|
165 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
166 |
setopt NO_GLOB_SUBST
|
|
167 |
else
|
|
168 |
case \`(set -o) 2>/dev/null\` in #(
|
|
169 |
*posix*) :
|
|
170 |
set -o posix ;; #(
|
|
171 |
*) :
|
|
172 |
;;
|
|
173 |
esac
|
|
174 |
fi
|
|
175 |
"
|
|
176 |
as_required="as_fn_return () { (exit \$1); }
|
|
177 |
as_fn_success () { as_fn_return 0; }
|
|
178 |
as_fn_failure () { as_fn_return 1; }
|
|
179 |
as_fn_ret_success () { return 0; }
|
|
180 |
as_fn_ret_failure () { return 1; }
|
|
181 |
|
|
182 |
exitcode=0
|
|
183 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
184 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
185 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
186 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
187 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
188 |
|
|
189 |
else
|
|
190 |
exitcode=1; echo positional parameters were not saved.
|
|
191 |
fi
|
|
192 |
test x\$exitcode = x0 || exit 1
|
|
193 |
test -x / || exit 1"
|
|
194 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
195 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
196 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
197 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
|
198 |
test \$(( 1 + 1 )) = 2 || exit 1"
|
|
199 |
if (eval "$as_required") 2>/dev/null; then :
|
|
200 |
as_have_required=yes
|
|
201 |
else
|
|
202 |
as_have_required=no
|
|
203 |
fi
|
|
204 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
205 |
|
|
206 |
else
|
|
207 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
208 |
as_found=false
|
|
209 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
106 | 210 |
do
|
107 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
108 | |
eval $as_var=C; export $as_var
|
|
211 |
IFS=$as_save_IFS
|
|
212 |
test -z "$as_dir" && as_dir=.
|
|
213 |
as_found=:
|
|
214 |
case $as_dir in #(
|
|
215 |
/*)
|
|
216 |
for as_base in sh bash ksh sh5; do
|
|
217 |
# Try only shells that exist, to save several forks.
|
|
218 |
as_shell=$as_dir/$as_base
|
|
219 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
220 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
221 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
222 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
223 |
break 2
|
|
224 |
fi
|
|
225 |
fi
|
|
226 |
done;;
|
|
227 |
esac
|
|
228 |
as_found=false
|
|
229 |
done
|
|
230 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
231 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
232 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
233 |
fi; }
|
|
234 |
IFS=$as_save_IFS
|
|
235 |
|
|
236 |
|
|
237 |
if test "x$CONFIG_SHELL" != x; then :
|
|
238 |
export CONFIG_SHELL
|
|
239 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
240 |
# neutralization value for shells without unset; and this also
|
|
241 |
# works around shells that cannot unset nonexistent variables.
|
|
242 |
# Preserve -v and -x to the replacement shell.
|
|
243 |
BASH_ENV=/dev/null
|
|
244 |
ENV=/dev/null
|
|
245 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
246 |
case $- in # ((((
|
|
247 |
*v*x* | *x*v* ) as_opts=-vx ;;
|
|
248 |
*v* ) as_opts=-v ;;
|
|
249 |
*x* ) as_opts=-x ;;
|
|
250 |
* ) as_opts= ;;
|
|
251 |
esac
|
|
252 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
|
|
253 |
# Admittedly, this is quite paranoid, since all the known shells bail
|
|
254 |
# out after a failed `exec'.
|
|
255 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
|
|
256 |
exit 255
|
|
257 |
fi
|
|
258 |
|
|
259 |
if test x$as_have_required = xno; then :
|
|
260 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
261 |
$as_echo "$0: the shells that I found on your system."
|
|
262 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
263 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
264 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
109 | 265 |
else
|
110 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
266 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
267 |
$0: including any error possibly output before this
|
|
268 |
$0: message. Then install a modern shell, or manually run
|
|
269 |
$0: the script under such a shell if you do have one."
|
111 | 270 |
fi
|
112 | |
done
|
113 | |
|
114 | |
# Required to use basename.
|
|
271 |
exit 1
|
|
272 |
fi
|
|
273 |
fi
|
|
274 |
fi
|
|
275 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
276 |
export SHELL
|
|
277 |
# Unset more variables known to interfere with behavior of common tools.
|
|
278 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
279 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
280 |
|
|
281 |
## --------------------- ##
|
|
282 |
## M4sh Shell Functions. ##
|
|
283 |
## --------------------- ##
|
|
284 |
# as_fn_unset VAR
|
|
285 |
# ---------------
|
|
286 |
# Portably unset VAR.
|
|
287 |
as_fn_unset ()
|
|
288 |
{
|
|
289 |
{ eval $1=; unset $1;}
|
|
290 |
}
|
|
291 |
as_unset=as_fn_unset
|
|
292 |
|
|
293 |
# as_fn_set_status STATUS
|
|
294 |
# -----------------------
|
|
295 |
# Set $? to STATUS, without forking.
|
|
296 |
as_fn_set_status ()
|
|
297 |
{
|
|
298 |
return $1
|
|
299 |
} # as_fn_set_status
|
|
300 |
|
|
301 |
# as_fn_exit STATUS
|
|
302 |
# -----------------
|
|
303 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
304 |
as_fn_exit ()
|
|
305 |
{
|
|
306 |
set +e
|
|
307 |
as_fn_set_status $1
|
|
308 |
exit $1
|
|
309 |
} # as_fn_exit
|
|
310 |
|
|
311 |
# as_fn_mkdir_p
|
|
312 |
# -------------
|
|
313 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
314 |
as_fn_mkdir_p ()
|
|
315 |
{
|
|
316 |
|
|
317 |
case $as_dir in #(
|
|
318 |
-*) as_dir=./$as_dir;;
|
|
319 |
esac
|
|
320 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
321 |
as_dirs=
|
|
322 |
while :; do
|
|
323 |
case $as_dir in #(
|
|
324 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
325 |
*) as_qdir=$as_dir;;
|
|
326 |
esac
|
|
327 |
as_dirs="'$as_qdir' $as_dirs"
|
|
328 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
329 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
330 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
331 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
332 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
333 |
$as_echo X"$as_dir" |
|
|
334 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
335 |
s//\1/
|
|
336 |
q
|
|
337 |
}
|
|
338 |
/^X\(\/\/\)[^/].*/{
|
|
339 |
s//\1/
|
|
340 |
q
|
|
341 |
}
|
|
342 |
/^X\(\/\/\)$/{
|
|
343 |
s//\1/
|
|
344 |
q
|
|
345 |
}
|
|
346 |
/^X\(\/\).*/{
|
|
347 |
s//\1/
|
|
348 |
q
|
|
349 |
}
|
|
350 |
s/.*/./; q'`
|
|
351 |
test -d "$as_dir" && break
|
|
352 |
done
|
|
353 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
354 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
355 |
|
|
356 |
|
|
357 |
} # as_fn_mkdir_p
|
|
358 |
|
|
359 |
# as_fn_executable_p FILE
|
|
360 |
# -----------------------
|
|
361 |
# Test if FILE is an executable regular file.
|
|
362 |
as_fn_executable_p ()
|
|
363 |
{
|
|
364 |
test -f "$1" && test -x "$1"
|
|
365 |
} # as_fn_executable_p
|
|
366 |
# as_fn_append VAR VALUE
|
|
367 |
# ----------------------
|
|
368 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
369 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
370 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
371 |
# implementations.
|
|
372 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
373 |
eval 'as_fn_append ()
|
|
374 |
{
|
|
375 |
eval $1+=\$2
|
|
376 |
}'
|
|
377 |
else
|
|
378 |
as_fn_append ()
|
|
379 |
{
|
|
380 |
eval $1=\$$1\$2
|
|
381 |
}
|
|
382 |
fi # as_fn_append
|
|
383 |
|
|
384 |
# as_fn_arith ARG...
|
|
385 |
# ------------------
|
|
386 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
387 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
388 |
# must be portable across $(()) and expr.
|
|
389 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
390 |
eval 'as_fn_arith ()
|
|
391 |
{
|
|
392 |
as_val=$(( $* ))
|
|
393 |
}'
|
|
394 |
else
|
|
395 |
as_fn_arith ()
|
|
396 |
{
|
|
397 |
as_val=`expr "$@" || test $? -eq 1`
|
|
398 |
}
|
|
399 |
fi # as_fn_arith
|
|
400 |
|
|
401 |
|
|
402 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
403 |
# ----------------------------------------
|
|
404 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
405 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
406 |
# script with STATUS, using 1 if that was 0.
|
|
407 |
as_fn_error ()
|
|
408 |
{
|
|
409 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
410 |
if test "$4"; then
|
|
411 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
412 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
|
413 |
fi
|
|
414 |
$as_echo "$as_me: error: $2" >&2
|
|
415 |
as_fn_exit $as_status
|
|
416 |
} # as_fn_error
|
|
417 |
|
115 | 418 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
116 | 419 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
117 | 420 |
as_expr=expr
|
|
125 | 428 |
as_basename=false
|
126 | 429 |
fi
|
127 | 430 |
|
128 | |
|
129 | |
# Name of the executable.
|
|
431 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
432 |
as_dirname=dirname
|
|
433 |
else
|
|
434 |
as_dirname=false
|
|
435 |
fi
|
|
436 |
|
130 | 437 |
as_me=`$as_basename -- "$0" ||
|
131 | 438 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
132 | 439 |
X"$0" : 'X\(//\)$' \| \
|
133 | 440 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
134 | |
echo X/"$0" |
|
|
441 |
$as_echo X/"$0" |
|
135 | 442 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
136 | 443 |
s//\1/
|
137 | 444 |
q
|
|
146 | 453 |
}
|
147 | 454 |
s/.*/./; q'`
|
148 | 455 |
|
149 | |
# CDPATH.
|
150 | |
$as_unset CDPATH
|
151 | |
|
152 | |
|
153 | |
if test "x$CONFIG_SHELL" = x; then
|
154 | |
if (eval ":") 2>/dev/null; then
|
155 | |
as_have_required=yes
|
156 | |
else
|
157 | |
as_have_required=no
|
158 | |
fi
|
159 | |
|
160 | |
if test $as_have_required = yes && (eval ":
|
161 | |
(as_func_return () {
|
162 | |
(exit \$1)
|
163 | |
}
|
164 | |
as_func_success () {
|
165 | |
as_func_return 0
|
166 | |
}
|
167 | |
as_func_failure () {
|
168 | |
as_func_return 1
|
169 | |
}
|
170 | |
as_func_ret_success () {
|
171 | |
return 0
|
172 | |
}
|
173 | |
as_func_ret_failure () {
|
174 | |
return 1
|
175 | |
}
|
176 | |
|
177 | |
exitcode=0
|
178 | |
if as_func_success; then
|
179 | |
:
|
180 | |
else
|
181 | |
exitcode=1
|
182 | |
echo as_func_success failed.
|
183 | |
fi
|
184 | |
|
185 | |
if as_func_failure; then
|
186 | |
exitcode=1
|
187 | |
echo as_func_failure succeeded.
|
188 | |
fi
|
189 | |
|
190 | |
if as_func_ret_success; then
|
191 | |
:
|
192 | |
else
|
193 | |
exitcode=1
|
194 | |
echo as_func_ret_success failed.
|
195 | |
fi
|
196 | |
|
197 | |
if as_func_ret_failure; then
|
198 | |
exitcode=1
|
199 | |
echo as_func_ret_failure succeeded.
|
200 | |
fi
|
201 | |
|
202 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
203 | |
:
|
204 | |
else
|
205 | |
exitcode=1
|
206 | |
echo positional parameters were not saved.
|
207 | |
fi
|
208 | |
|
209 | |
test \$exitcode = 0) || { (exit 1); exit 1; }
|
210 | |
|
211 | |
(
|
212 | |
as_lineno_1=\$LINENO
|
213 | |
as_lineno_2=\$LINENO
|
214 | |
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
|
215 | |
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
|
216 | |
") 2> /dev/null; then
|
217 | |
:
|
218 | |
else
|
219 | |
as_candidate_shells=
|
220 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
221 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
222 | |
do
|
223 | |
IFS=$as_save_IFS
|
224 | |
test -z "$as_dir" && as_dir=.
|
225 | |
case $as_dir in
|
226 | |
/*)
|
227 | |
for as_base in sh bash ksh sh5; do
|
228 | |
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
|
229 | |
done;;
|
230 | |
esac
|
231 | |
done
|
232 | |
IFS=$as_save_IFS
|
233 | |
|
234 | |
|
235 | |
for as_shell in $as_candidate_shells $SHELL; do
|
236 | |
# Try only shells that exist, to save several forks.
|
237 | |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
238 | |
{ ("$as_shell") 2> /dev/null <<\_ASEOF
|
239 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
240 | |
emulate sh
|
241 | |
NULLCMD=:
|
242 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
243 | |
# is contrary to our usage. Disable this feature.
|
244 | |
alias -g '${1+"$@"}'='"$@"'
|
245 | |
setopt NO_GLOB_SUBST
|
246 | |
else
|
247 | |
case `(set -o) 2>/dev/null` in
|
248 | |
*posix*) set -o posix ;;
|
249 | |
esac
|
250 | |
|
251 | |
fi
|
252 | |
|
253 | |
|
254 | |
:
|
255 | |
_ASEOF
|
256 | |
}; then
|
257 | |
CONFIG_SHELL=$as_shell
|
258 | |
as_have_required=yes
|
259 | |
if { "$as_shell" 2> /dev/null <<\_ASEOF
|
260 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
261 | |
emulate sh
|
262 | |
NULLCMD=:
|
263 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
264 | |
# is contrary to our usage. Disable this feature.
|
265 | |
alias -g '${1+"$@"}'='"$@"'
|
266 | |
setopt NO_GLOB_SUBST
|
267 | |
else
|
268 | |
case `(set -o) 2>/dev/null` in
|
269 | |
*posix*) set -o posix ;;
|
270 | |
esac
|
271 | |
|
272 | |
fi
|
273 | |
|
274 | |
|
275 | |
:
|
276 | |
(as_func_return () {
|
277 | |
(exit $1)
|
278 | |
}
|
279 | |
as_func_success () {
|
280 | |
as_func_return 0
|
281 | |
}
|
282 | |
as_func_failure () {
|
283 | |
as_func_return 1
|
284 | |
}
|
285 | |
as_func_ret_success () {
|
286 | |
return 0
|
287 | |
}
|
288 | |
as_func_ret_failure () {
|
289 | |
return 1
|
290 | |
}
|
291 | |
|
292 | |
exitcode=0
|
293 | |
if as_func_success; then
|
294 | |
:
|
295 | |
else
|
296 | |
exitcode=1
|
297 | |
echo as_func_success failed.
|
298 | |
fi
|
299 | |
|
300 | |
if as_func_failure; then
|
301 | |
exitcode=1
|
302 | |
echo as_func_failure succeeded.
|
303 | |
fi
|
304 | |
|
305 | |
if as_func_ret_success; then
|
306 | |
:
|
307 | |
else
|
308 | |
exitcode=1
|
309 | |
echo as_func_ret_success failed.
|
310 | |
fi
|
311 | |
|
312 | |
if as_func_ret_failure; then
|
313 | |
exitcode=1
|
314 | |
echo as_func_ret_failure succeeded.
|
315 | |
fi
|
316 | |
|
317 | |
if ( set x; as_func_ret_success y && test x = "$1" ); then
|
318 | |
:
|
319 | |
else
|
320 | |
exitcode=1
|
321 | |
echo positional parameters were not saved.
|
322 | |
fi
|
323 | |
|
324 | |
test $exitcode = 0) || { (exit 1); exit 1; }
|
325 | |
|
326 | |
(
|
327 | |
as_lineno_1=$LINENO
|
328 | |
as_lineno_2=$LINENO
|
329 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
330 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
|
331 | |
|
332 | |
_ASEOF
|
333 | |
}; then
|
334 | |
break
|
335 | |
fi
|
336 | |
|
337 | |
fi
|
338 | |
|
339 | |
done
|
340 | |
|
341 | |
if test "x$CONFIG_SHELL" != x; then
|
342 | |
for as_var in BASH_ENV ENV
|
343 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
344 | |
done
|
345 | |
export CONFIG_SHELL
|
346 | |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
347 | |
fi
|
348 | |
|
349 | |
|
350 | |
if test $as_have_required = no; then
|
351 | |
echo This script requires a shell more modern than all the
|
352 | |
echo shells that I found on your system. Please install a
|
353 | |
echo modern shell, or manually run the script under such a
|
354 | |
echo shell if you do have one.
|
355 | |
{ (exit 1); exit 1; }
|
356 | |
fi
|
357 | |
|
358 | |
|
359 | |
fi
|
360 | |
|
361 | |
fi
|
362 | |
|
363 | |
|
364 | |
|
365 | |
(eval "as_func_return () {
|
366 | |
(exit \$1)
|
367 | |
}
|
368 | |
as_func_success () {
|
369 | |
as_func_return 0
|
370 | |
}
|
371 | |
as_func_failure () {
|
372 | |
as_func_return 1
|
373 | |
}
|
374 | |
as_func_ret_success () {
|
375 | |
return 0
|
376 | |
}
|
377 | |
as_func_ret_failure () {
|
378 | |
return 1
|
379 | |
}
|
380 | |
|
381 | |
exitcode=0
|
382 | |
if as_func_success; then
|
383 | |
:
|
384 | |
else
|
385 | |
exitcode=1
|
386 | |
echo as_func_success failed.
|
387 | |
fi
|
388 | |
|
389 | |
if as_func_failure; then
|
390 | |
exitcode=1
|
391 | |
echo as_func_failure succeeded.
|
392 | |
fi
|
393 | |
|
394 | |
if as_func_ret_success; then
|
395 | |
:
|
396 | |
else
|
397 | |
exitcode=1
|
398 | |
echo as_func_ret_success failed.
|
399 | |
fi
|
400 | |
|
401 | |
if as_func_ret_failure; then
|
402 | |
exitcode=1
|
403 | |
echo as_func_ret_failure succeeded.
|
404 | |
fi
|
405 | |
|
406 | |
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
|
407 | |
:
|
408 | |
else
|
409 | |
exitcode=1
|
410 | |
echo positional parameters were not saved.
|
411 | |
fi
|
412 | |
|
413 | |
test \$exitcode = 0") || {
|
414 | |
echo No shell found that supports shell functions.
|
415 | |
echo Please tell autoconf@gnu.org about your system,
|
416 | |
echo including any error possibly output before this
|
417 | |
echo message
|
418 | |
}
|
419 | |
|
420 | |
|
421 | |
|
422 | |
as_lineno_1=$LINENO
|
423 | |
as_lineno_2=$LINENO
|
424 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
425 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
426 | |
|
427 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
428 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
429 | |
# line-number line after each line using $LINENO; the second 'sed'
|
430 | |
# does the real work. The second script uses 'N' to pair each
|
431 | |
# line-number line with the line containing $LINENO, and appends
|
432 | |
# trailing '-' during substitution so that $LINENO is not a special
|
433 | |
# case at line end.
|
434 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
435 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
436 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
|
456 |
# Avoid depending upon Character Ranges.
|
|
457 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
458 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
459 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
460 |
as_cr_digits='0123456789'
|
|
461 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
462 |
|
|
463 |
|
|
464 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
465 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
466 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
467 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
468 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
437 | 469 |
sed -n '
|
438 | 470 |
p
|
439 | 471 |
/[$]LINENO/=
|
|
450 | 482 |
s/-\n.*//
|
451 | 483 |
' >$as_me.lineno &&
|
452 | 484 |
chmod +x "$as_me.lineno" ||
|
453 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
454 | |
{ (exit 1); exit 1; }; }
|
455 | |
|
|
485 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
|
486 |
|
|
487 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
|
|
488 |
# already done that, so ensure we don't try to do so again and fall
|
|
489 |
# in an infinite loop. This has already happened in practice.
|
|
490 |
_as_can_reexec=no; export _as_can_reexec
|
456 | 491 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
457 | 492 |
# (the dirname of $[0] is not the place where we might find the
|
458 | 493 |
# original and so on. Autoconf is especially sensitive to this).
|
|
461 | 496 |
exit
|
462 | 497 |
}
|
463 | 498 |
|
464 | |
|
465 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
466 | |
as_dirname=dirname
|
467 | |
else
|
468 | |
as_dirname=false
|
469 | |
fi
|
470 | |
|
471 | 499 |
ECHO_C= ECHO_N= ECHO_T=
|
472 | |
case `echo -n x` in
|
|
500 |
case `echo -n x` in #(((((
|
473 | 501 |
-n*)
|
474 | |
case `echo 'x\c'` in
|
|
502 |
case `echo 'xy\c'` in
|
475 | 503 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
476 | |
*) ECHO_C='\c';;
|
|
504 |
xy) ECHO_C='\c';;
|
|
505 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
506 |
ECHO_T=' ';;
|
477 | 507 |
esac;;
|
478 | 508 |
*)
|
479 | 509 |
ECHO_N='-n';;
|
480 | 510 |
esac
|
481 | 511 |
|
482 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
483 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
484 | |
as_expr=expr
|
485 | |
else
|
486 | |
as_expr=false
|
487 | |
fi
|
488 | |
|
489 | 512 |
rm -f conf$$ conf$$.exe conf$$.file
|
490 | 513 |
if test -d conf$$.dir; then
|
491 | 514 |
rm -f conf$$.dir/conf$$.file
|
492 | 515 |
else
|
493 | 516 |
rm -f conf$$.dir
|
494 | |
mkdir conf$$.dir
|
495 | |
fi
|
496 | |
echo >conf$$.file
|
497 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
498 | |
as_ln_s='ln -s'
|
499 | |
# ... but there are two gotchas:
|
500 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
501 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
502 | |
# In both cases, we have to default to `cp -p'.
|
503 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
504 | |
as_ln_s='cp -p'
|
505 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
506 | |
as_ln_s=ln
|
507 | |
else
|
508 | |
as_ln_s='cp -p'
|
|
517 |
mkdir conf$$.dir 2>/dev/null
|
|
518 |
fi
|
|
519 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
520 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
521 |
as_ln_s='ln -s'
|
|
522 |
# ... but there are two gotchas:
|
|
523 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
524 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
525 |
# In both cases, we have to default to `cp -pR'.
|
|
526 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
527 |
as_ln_s='cp -pR'
|
|
528 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
529 |
as_ln_s=ln
|
|
530 |
else
|
|
531 |
as_ln_s='cp -pR'
|
|
532 |
fi
|
|
533 |
else
|
|
534 |
as_ln_s='cp -pR'
|
509 | 535 |
fi
|
510 | 536 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
511 | 537 |
rmdir conf$$.dir 2>/dev/null
|
512 | 538 |
|
513 | 539 |
if mkdir -p . 2>/dev/null; then
|
514 | |
as_mkdir_p=:
|
|
540 |
as_mkdir_p='mkdir -p "$as_dir"'
|
515 | 541 |
else
|
516 | 542 |
test -d ./-p && rmdir ./-p
|
517 | 543 |
as_mkdir_p=false
|
518 | 544 |
fi
|
519 | 545 |
|
520 | |
if test -x / >/dev/null 2>&1; then
|
521 | |
as_test_x='test -x'
|
522 | |
else
|
523 | |
if ls -dL / >/dev/null 2>&1; then
|
524 | |
as_ls_L_option=L
|
525 | |
else
|
526 | |
as_ls_L_option=
|
527 | |
fi
|
528 | |
as_test_x='
|
529 | |
eval sh -c '\''
|
530 | |
if test -d "$1"; then
|
531 | |
test -d "$1/.";
|
532 | |
else
|
533 | |
case $1 in
|
534 | |
-*)set "./$1";;
|
535 | |
esac;
|
536 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
537 | |
???[sx]*):;;*)false;;esac;fi
|
538 | |
'\'' sh
|
539 | |
'
|
540 | |
fi
|
541 | |
as_executable_p=$as_test_x
|
|
546 |
as_test_x='test -x'
|
|
547 |
as_executable_p=as_fn_executable_p
|
542 | 548 |
|
543 | 549 |
# Sed expression to map a string onto a valid CPP name.
|
544 | 550 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
545 | 551 |
|
546 | 552 |
# Sed expression to map a string onto a valid variable name.
|
547 | 553 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
548 | |
|
549 | 554 |
|
550 | 555 |
|
551 | 556 |
|
|
702 | 707 |
|
703 | 708 |
tagnames=${tagnames+${tagnames},}F77
|
704 | 709 |
|
705 | |
exec 7<&0 </dev/null 6>&1
|
|
710 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
711 |
exec 6>&1
|
706 | 712 |
|
707 | 713 |
# Name of the host.
|
708 | |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
714 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
709 | 715 |
# so uname gets run too.
|
710 | 716 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
711 | 717 |
|
|
720 | 726 |
subdirs=
|
721 | 727 |
MFLAGS=
|
722 | 728 |
MAKEFLAGS=
|
723 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
724 | 729 |
|
725 | 730 |
# Identity of this package.
|
726 | 731 |
PACKAGE_NAME=
|
|
728 | 733 |
PACKAGE_VERSION=
|
729 | 734 |
PACKAGE_STRING=
|
730 | 735 |
PACKAGE_BUGREPORT=
|
|
736 |
PACKAGE_URL=
|
731 | 737 |
|
732 | 738 |
ac_unique_file="SDL_sound.c"
|
733 | 739 |
# Factoring default headers for most tests.
|
|
766 | 772 |
# include <unistd.h>
|
767 | 773 |
#endif"
|
768 | 774 |
|
769 | |
ac_subst_vars='SHELL
|
|
775 |
ac_subst_vars='LTLIBOBJS
|
|
776 |
USE_PHYSICSFS_FALSE
|
|
777 |
USE_PHYSICSFS_TRUE
|
|
778 |
USE_MPGLIB_FALSE
|
|
779 |
USE_MPGLIB_TRUE
|
|
780 |
USE_TIMIDITY_FALSE
|
|
781 |
USE_TIMIDITY_TRUE
|
|
782 |
LIBOBJS
|
|
783 |
SDL_LIBS
|
|
784 |
SDL_CFLAGS
|
|
785 |
SDL_CONFIG
|
|
786 |
LIBTOOL
|
|
787 |
ac_ct_F77
|
|
788 |
FFLAGS
|
|
789 |
F77
|
|
790 |
CXXCPP
|
|
791 |
am__fastdepCXX_FALSE
|
|
792 |
am__fastdepCXX_TRUE
|
|
793 |
CXXDEPMODE
|
|
794 |
ac_ct_CXX
|
|
795 |
CXXFLAGS
|
|
796 |
CXX
|
|
797 |
CPP
|
|
798 |
RANLIB
|
|
799 |
AR
|
|
800 |
ECHO
|
|
801 |
EGREP
|
|
802 |
GREP
|
|
803 |
SED
|
|
804 |
LN_S
|
|
805 |
am__fastdepCC_FALSE
|
|
806 |
am__fastdepCC_TRUE
|
|
807 |
CCDEPMODE
|
|
808 |
AMDEPBACKSLASH
|
|
809 |
AMDEP_FALSE
|
|
810 |
AMDEP_TRUE
|
|
811 |
am__quote
|
|
812 |
am__include
|
|
813 |
DEPDIR
|
|
814 |
OBJEXT
|
|
815 |
EXEEXT
|
|
816 |
ac_ct_CC
|
|
817 |
CPPFLAGS
|
|
818 |
LDFLAGS
|
|
819 |
CFLAGS
|
|
820 |
CC
|
|
821 |
am__untar
|
|
822 |
am__tar
|
|
823 |
AMTAR
|
|
824 |
am__leading_dot
|
|
825 |
SET_MAKE
|
|
826 |
AWK
|
|
827 |
mkdir_p
|
|
828 |
INSTALL_STRIP_PROGRAM
|
|
829 |
STRIP
|
|
830 |
install_sh
|
|
831 |
MAKEINFO
|
|
832 |
AUTOHEADER
|
|
833 |
AUTOMAKE
|
|
834 |
AUTOCONF
|
|
835 |
ACLOCAL
|
|
836 |
PACKAGE
|
|
837 |
CYGPATH_W
|
|
838 |
INSTALL_DATA
|
|
839 |
INSTALL_SCRIPT
|
|
840 |
INSTALL_PROGRAM
|
|
841 |
target_os
|
|
842 |
target_vendor
|
|
843 |
target_cpu
|
|
844 |
target
|
|
845 |
host_os
|
|
846 |
host_vendor
|
|
847 |
host_cpu
|
|
848 |
host
|
|
849 |
build_os
|
|
850 |
build_vendor
|
|
851 |
build_cpu
|
|
852 |
build
|
|
853 |
LT_AGE
|
|
854 |
LT_REVISION
|
|
855 |
LT_CURRENT
|
|
856 |
LT_RELEASE
|
|
857 |
VERSION
|
|
858 |
BINARY_AGE
|
|
859 |
INTERFACE_AGE
|
|
860 |
MICRO_VERSION
|
|
861 |
MINOR_VERSION
|
|
862 |
MAJOR_VERSION
|
|
863 |
target_alias
|
|
864 |
host_alias
|
|
865 |
build_alias
|
|
866 |
LIBS
|
|
867 |
ECHO_T
|
|
868 |
ECHO_N
|
|
869 |
ECHO_C
|
|
870 |
DEFS
|
|
871 |
mandir
|
|
872 |
localedir
|
|
873 |
libdir
|
|
874 |
psdir
|
|
875 |
pdfdir
|
|
876 |
dvidir
|
|
877 |
htmldir
|
|
878 |
infodir
|
|
879 |
docdir
|
|
880 |
oldincludedir
|
|
881 |
includedir
|
|
882 |
runstatedir
|
|
883 |
localstatedir
|
|
884 |
sharedstatedir
|
|
885 |
sysconfdir
|
|
886 |
datadir
|
|
887 |
datarootdir
|
|
888 |
libexecdir
|
|
889 |
sbindir
|
|
890 |
bindir
|
|
891 |
program_transform_name
|
|
892 |
prefix
|
|
893 |
exec_prefix
|
|
894 |
PACKAGE_URL
|
|
895 |
PACKAGE_BUGREPORT
|
|
896 |
PACKAGE_STRING
|
|
897 |
PACKAGE_VERSION
|
|
898 |
PACKAGE_TARNAME
|
|
899 |
PACKAGE_NAME
|
770 | 900 |
PATH_SEPARATOR
|
771 | |
PACKAGE_NAME
|
772 | |
PACKAGE_TARNAME
|
773 | |
PACKAGE_VERSION
|
774 | |
PACKAGE_STRING
|
775 | |
PACKAGE_BUGREPORT
|
776 | |
exec_prefix
|
777 | |
prefix
|
778 | |
program_transform_name
|
779 | |
bindir
|
780 | |
sbindir
|
781 | |
libexecdir
|
782 | |
datarootdir
|
783 | |
datadir
|
784 | |
sysconfdir
|
785 | |
sharedstatedir
|
786 | |
localstatedir
|
787 | |
includedir
|
788 | |
oldincludedir
|
789 | |
docdir
|
790 | |
infodir
|
791 | |
htmldir
|
792 | |
dvidir
|
793 | |
pdfdir
|
794 | |
psdir
|
795 | |
libdir
|
796 | |
localedir
|
797 | |
mandir
|
798 | |
DEFS
|
799 | |
ECHO_C
|
800 | |
ECHO_N
|
801 | |
ECHO_T
|
802 | |
LIBS
|
803 | |
build_alias
|
804 | |
host_alias
|
805 | |
target_alias
|
806 | |
MAJOR_VERSION
|
807 | |
MINOR_VERSION
|
808 | |
MICRO_VERSION
|
809 | |
INTERFACE_AGE
|
810 | |
BINARY_AGE
|
811 | |
VERSION
|
812 | |
LT_RELEASE
|
813 | |
LT_CURRENT
|
814 | |
LT_REVISION
|
815 | |
LT_AGE
|
816 | |
build
|
817 | |
build_cpu
|
818 | |
build_vendor
|
819 | |
build_os
|
820 | |
host
|
821 | |
host_cpu
|
822 | |
host_vendor
|
823 | |
host_os
|
824 | |
target
|
825 | |
target_cpu
|
826 | |
target_vendor
|
827 | |
target_os
|
828 | |
INSTALL_PROGRAM
|
829 | |
INSTALL_SCRIPT
|
830 | |
INSTALL_DATA
|
831 | |
CYGPATH_W
|
832 | |
PACKAGE
|
833 | |
ACLOCAL
|
834 | |
AUTOCONF
|
835 | |
AUTOMAKE
|
836 | |
AUTOHEADER
|
837 | |
MAKEINFO
|
838 | |
install_sh
|
839 | |
STRIP
|
840 | |
INSTALL_STRIP_PROGRAM
|
841 | |
mkdir_p
|
842 | |
AWK
|
843 | |
SET_MAKE
|
844 | |
am__leading_dot
|
845 | |
AMTAR
|
846 | |
am__tar
|
847 | |
am__untar
|
848 | |
CC
|
849 | |
CFLAGS
|
850 | |
LDFLAGS
|
851 | |
CPPFLAGS
|
852 | |
ac_ct_CC
|
853 | |
EXEEXT
|
854 | |
OBJEXT
|
855 | |
DEPDIR
|
856 | |
am__include
|
857 | |
am__quote
|
858 | |
AMDEP_TRUE
|
859 | |
AMDEP_FALSE
|
860 | |
AMDEPBACKSLASH
|
861 | |
CCDEPMODE
|
862 | |
am__fastdepCC_TRUE
|
863 | |
am__fastdepCC_FALSE
|
864 | |
LN_S
|
865 | |
SED
|
866 | |
GREP
|
867 | |
EGREP
|
868 | |
ECHO
|
869 | |
AR
|
870 | |
RANLIB
|
871 | |
CPP
|
872 | |
CXX
|
873 | |
CXXFLAGS
|
874 | |
ac_ct_CXX
|
875 | |
CXXDEPMODE
|
876 | |
am__fastdepCXX_TRUE
|
877 | |
am__fastdepCXX_FALSE
|
878 | |
CXXCPP
|
879 | |
F77
|
880 | |
FFLAGS
|
881 | |
ac_ct_F77
|
882 | |
LIBTOOL
|
883 | |
SDL_CONFIG
|
884 | |
SDL_CFLAGS
|
885 | |
SDL_LIBS
|
886 | |
LIBOBJS
|
887 | |
USE_TIMIDITY_TRUE
|
888 | |
USE_TIMIDITY_FALSE
|
889 | |
USE_MPGLIB_TRUE
|
890 | |
USE_MPGLIB_FALSE
|
891 | |
USE_PHYSICSFS_TRUE
|
892 | |
USE_PHYSICSFS_FALSE
|
893 | |
LTLIBOBJS'
|
|
901 |
SHELL'
|
894 | 902 |
ac_subst_files=''
|
|
903 |
ac_user_opts='
|
|
904 |
enable_option_checking
|
|
905 |
enable_dependency_tracking
|
|
906 |
enable_shared
|
|
907 |
enable_static
|
|
908 |
enable_fast_install
|
|
909 |
with_gnu_ld
|
|
910 |
enable_libtool_lock
|
|
911 |
with_pic
|
|
912 |
with_tags
|
|
913 |
enable_debug
|
|
914 |
with_sdl_prefix
|
|
915 |
with_sdl_exec_prefix
|
|
916 |
enable_sdltest
|
|
917 |
enable_voc
|
|
918 |
enable_wav
|
|
919 |
enable_raw
|
|
920 |
enable_aiff
|
|
921 |
enable_au
|
|
922 |
enable_shn
|
|
923 |
enable_midi
|
|
924 |
enable_smpeg
|
|
925 |
enable_mpglib
|
|
926 |
enable_mikmod
|
|
927 |
enable_modplug
|
|
928 |
enable_ogg
|
|
929 |
enable_flac
|
|
930 |
enable_speex
|
|
931 |
enable_physfs
|
|
932 |
enable_altcvt
|
|
933 |
'
|
895 | 934 |
ac_precious_vars='build_alias
|
896 | 935 |
host_alias
|
897 | 936 |
target_alias
|
|
912 | 951 |
# Initialize some variables set by options.
|
913 | 952 |
ac_init_help=
|
914 | 953 |
ac_init_version=false
|
|
954 |
ac_unrecognized_opts=
|
|
955 |
ac_unrecognized_sep=
|
915 | 956 |
# The variables have the same names as the options, with
|
916 | 957 |
# dashes changed to underlines.
|
917 | 958 |
cache_file=/dev/null
|
|
943 | 984 |
sysconfdir='${prefix}/etc'
|
944 | 985 |
sharedstatedir='${prefix}/com'
|
945 | 986 |
localstatedir='${prefix}/var'
|
|
987 |
runstatedir='${localstatedir}/run'
|
946 | 988 |
includedir='${prefix}/include'
|
947 | 989 |
oldincludedir='/usr/include'
|
948 | 990 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
967 | 1009 |
fi
|
968 | 1010 |
|
969 | 1011 |
case $ac_option in
|
970 | |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
971 | |
*) ac_optarg=yes ;;
|
|
1012 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
1013 |
*=) ac_optarg= ;;
|
|
1014 |
*) ac_optarg=yes ;;
|
972 | 1015 |
esac
|
973 | 1016 |
|
974 | 1017 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
1010 | 1053 |
datarootdir=$ac_optarg ;;
|
1011 | 1054 |
|
1012 | 1055 |
-disable-* | --disable-*)
|
1013 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
1056 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
1014 | 1057 |
# Reject names that are not valid shell variable names.
|
1015 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1016 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
1017 | |
{ (exit 1); exit 1; }; }
|
1018 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
1019 | |
eval enable_$ac_feature=no ;;
|
|
1058 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1059 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
1060 |
ac_useropt_orig=$ac_useropt
|
|
1061 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1062 |
case $ac_user_opts in
|
|
1063 |
*"
|
|
1064 |
"enable_$ac_useropt"
|
|
1065 |
"*) ;;
|
|
1066 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
1067 |
ac_unrecognized_sep=', ';;
|
|
1068 |
esac
|
|
1069 |
eval enable_$ac_useropt=no ;;
|
1020 | 1070 |
|
1021 | 1071 |
-docdir | --docdir | --docdi | --doc | --do)
|
1022 | 1072 |
ac_prev=docdir ;;
|
|
1029 | 1079 |
dvidir=$ac_optarg ;;
|
1030 | 1080 |
|
1031 | 1081 |
-enable-* | --enable-*)
|
1032 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
1082 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
1033 | 1083 |
# Reject names that are not valid shell variable names.
|
1034 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1035 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
1036 | |
{ (exit 1); exit 1; }; }
|
1037 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
1038 | |
eval enable_$ac_feature=\$ac_optarg ;;
|
|
1084 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1085 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
1086 |
ac_useropt_orig=$ac_useropt
|
|
1087 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1088 |
case $ac_user_opts in
|
|
1089 |
*"
|
|
1090 |
"enable_$ac_useropt"
|
|
1091 |
"*) ;;
|
|
1092 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
1093 |
ac_unrecognized_sep=', ';;
|
|
1094 |
esac
|
|
1095 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
1039 | 1096 |
|
1040 | 1097 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
1041 | 1098 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
1180 | 1237 |
| -silent | --silent | --silen | --sile | --sil)
|
1181 | 1238 |
silent=yes ;;
|
1182 | 1239 |
|
|
1240 |
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
|
1241 |
| --runstate | --runstat | --runsta | --runst | --runs \
|
|
1242 |
| --run | --ru | --r)
|
|
1243 |
ac_prev=runstatedir ;;
|
|
1244 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
|
1245 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
|
1246 |
| --run=* | --ru=* | --r=*)
|
|
1247 |
runstatedir=$ac_optarg ;;
|
|
1248 |
|
1183 | 1249 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
1184 | 1250 |
ac_prev=sbindir ;;
|
1185 | 1251 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
1226 | 1292 |
ac_init_version=: ;;
|
1227 | 1293 |
|
1228 | 1294 |
-with-* | --with-*)
|
1229 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1295 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1230 | 1296 |
# Reject names that are not valid shell variable names.
|
1231 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1232 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1233 | |
{ (exit 1); exit 1; }; }
|
1234 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1235 | |
eval with_$ac_package=\$ac_optarg ;;
|
|
1297 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1298 |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1299 |
ac_useropt_orig=$ac_useropt
|
|
1300 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1301 |
case $ac_user_opts in
|
|
1302 |
*"
|
|
1303 |
"with_$ac_useropt"
|
|
1304 |
"*) ;;
|
|
1305 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
1306 |
ac_unrecognized_sep=', ';;
|
|
1307 |
esac
|
|
1308 |
eval with_$ac_useropt=\$ac_optarg ;;
|
1236 | 1309 |
|
1237 | 1310 |
-without-* | --without-*)
|
1238 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1311 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1239 | 1312 |
# Reject names that are not valid shell variable names.
|
1240 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1241 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1242 | |
{ (exit 1); exit 1; }; }
|
1243 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1244 | |
eval with_$ac_package=no ;;
|
|
1313 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1314 |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1315 |
ac_useropt_orig=$ac_useropt
|
|
1316 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1317 |
case $ac_user_opts in
|
|
1318 |
*"
|
|
1319 |
"with_$ac_useropt"
|
|
1320 |
"*) ;;
|
|
1321 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1322 |
ac_unrecognized_sep=', ';;
|
|
1323 |
esac
|
|
1324 |
eval with_$ac_useropt=no ;;
|
1245 | 1325 |
|
1246 | 1326 |
--x)
|
1247 | 1327 |
# Obsolete; use --with-x.
|
|
1261 | 1341 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1262 | 1342 |
x_libraries=$ac_optarg ;;
|
1263 | 1343 |
|
1264 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
1265 | |
Try \`$0 --help' for more information." >&2
|
1266 | |
{ (exit 1); exit 1; }; }
|
|
1344 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|
1345 |
Try \`$0 --help' for more information"
|
1267 | 1346 |
;;
|
1268 | 1347 |
|
1269 | 1348 |
*=*)
|
1270 | 1349 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1271 | 1350 |
# Reject names that are not valid shell variable names.
|
1272 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1273 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1274 | |
{ (exit 1); exit 1; }; }
|
|
1351 |
case $ac_envvar in #(
|
|
1352 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1353 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
|
1354 |
esac
|
1275 | 1355 |
eval $ac_envvar=\$ac_optarg
|
1276 | 1356 |
export $ac_envvar ;;
|
1277 | 1357 |
|
1278 | 1358 |
*)
|
1279 | 1359 |
# FIXME: should be removed in autoconf 3.0.
|
1280 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1360 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1281 | 1361 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1282 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1283 | |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
1362 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1363 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1284 | 1364 |
;;
|
1285 | 1365 |
|
1286 | 1366 |
esac
|
|
1288 | 1368 |
|
1289 | 1369 |
if test -n "$ac_prev"; then
|
1290 | 1370 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1291 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
1292 | |
{ (exit 1); exit 1; }; }
|
1293 | |
fi
|
1294 | |
|
1295 | |
# Be sure to have absolute directory names.
|
|
1371 |
as_fn_error $? "missing argument to $ac_option"
|
|
1372 |
fi
|
|
1373 |
|
|
1374 |
if test -n "$ac_unrecognized_opts"; then
|
|
1375 |
case $enable_option_checking in
|
|
1376 |
no) ;;
|
|
1377 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1378 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1379 |
esac
|
|
1380 |
fi
|
|
1381 |
|
|
1382 |
# Check all directory arguments for consistency.
|
1296 | 1383 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1297 | 1384 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1298 | 1385 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1299 | |
libdir localedir mandir
|
|
1386 |
libdir localedir mandir runstatedir
|
1300 | 1387 |
do
|
1301 | 1388 |
eval ac_val=\$$ac_var
|
|
1389 |
# Remove trailing slashes.
|
|
1390 |
case $ac_val in
|
|
1391 |
*/ )
|
|
1392 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1393 |
eval $ac_var=\$ac_val;;
|
|
1394 |
esac
|
|
1395 |
# Be sure to have absolute directory names.
|
1302 | 1396 |
case $ac_val in
|
1303 | 1397 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1304 | 1398 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1305 | 1399 |
esac
|
1306 | |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1307 | |
{ (exit 1); exit 1; }; }
|
|
1400 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1308 | 1401 |
done
|
1309 | 1402 |
|
1310 | 1403 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1318 | 1411 |
if test "x$host_alias" != x; then
|
1319 | 1412 |
if test "x$build_alias" = x; then
|
1320 | 1413 |
cross_compiling=maybe
|
1321 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1322 | |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1323 | 1414 |
elif test "x$build_alias" != "x$host_alias"; then
|
1324 | 1415 |
cross_compiling=yes
|
1325 | 1416 |
fi
|
|
1334 | 1425 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1335 | 1426 |
ac_ls_di=`ls -di .` &&
|
1336 | 1427 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1337 | |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
1338 | |
{ (exit 1); exit 1; }; }
|
|
1428 |
as_fn_error $? "working directory cannot be determined"
|
1339 | 1429 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1340 | |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
1341 | |
{ (exit 1); exit 1; }; }
|
|
1430 |
as_fn_error $? "pwd does not report name of working directory"
|
1342 | 1431 |
|
1343 | 1432 |
|
1344 | 1433 |
# Find the source files, if location was not specified.
|
1345 | 1434 |
if test -z "$srcdir"; then
|
1346 | 1435 |
ac_srcdir_defaulted=yes
|
1347 | 1436 |
# Try the directory containing this script, then the parent directory.
|
1348 | |
ac_confdir=`$as_dirname -- "$0" ||
|
1349 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1350 | |
X"$0" : 'X\(//\)[^/]' \| \
|
1351 | |
X"$0" : 'X\(//\)$' \| \
|
1352 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1353 | |
echo X"$0" |
|
|
1437 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1438 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1439 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1440 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1441 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1442 |
$as_echo X"$as_myself" |
|
1354 | 1443 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1355 | 1444 |
s//\1/
|
1356 | 1445 |
q
|
|
1377 | 1466 |
fi
|
1378 | 1467 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1379 | 1468 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1380 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1381 | |
{ (exit 1); exit 1; }; }
|
|
1469 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1382 | 1470 |
fi
|
1383 | 1471 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1384 | 1472 |
ac_abs_confdir=`(
|
1385 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
1386 | |
{ (exit 1); exit 1; }; }
|
|
1473 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1387 | 1474 |
pwd)`
|
1388 | 1475 |
# When building in place, set srcdir=.
|
1389 | 1476 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1423 | 1510 |
--help=short display options specific to this package
|
1424 | 1511 |
--help=recursive display the short help of all the included packages
|
1425 | 1512 |
-V, --version display version information and exit
|
1426 | |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1513 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1427 | 1514 |
--cache-file=FILE cache test results in FILE [disabled]
|
1428 | 1515 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1429 | 1516 |
-n, --no-create do not create output files
|
|
1431 | 1518 |
|
1432 | 1519 |
Installation directories:
|
1433 | 1520 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1434 | |
[$ac_default_prefix]
|
|
1521 |
[$ac_default_prefix]
|
1435 | 1522 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1436 | |
[PREFIX]
|
|
1523 |
[PREFIX]
|
1437 | 1524 |
|
1438 | 1525 |
By default, \`make install' will install all the files in
|
1439 | 1526 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1443 | 1530 |
For better control, use the options below.
|
1444 | 1531 |
|
1445 | 1532 |
Fine tuning of the installation directories:
|
1446 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1447 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1448 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1449 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1450 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1451 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1452 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1453 | |
--includedir=DIR C header files [PREFIX/include]
|
1454 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1455 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1456 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1457 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1458 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1459 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1460 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1461 | |
--htmldir=DIR html documentation [DOCDIR]
|
1462 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1463 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1464 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
1533 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1534 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1535 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1536 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1537 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1538 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1539 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
|
1540 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1541 |
--includedir=DIR C header files [PREFIX/include]
|
|
1542 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1543 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1544 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1545 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1546 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1547 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1548 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1549 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1550 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1551 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1552 |
--psdir=DIR ps documentation [DOCDIR]
|
1465 | 1553 |
_ACEOF
|
1466 | 1554 |
|
1467 | 1555 |
cat <<\_ACEOF
|
|
1483 | 1571 |
cat <<\_ACEOF
|
1484 | 1572 |
|
1485 | 1573 |
Optional Features:
|
|
1574 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1486 | 1575 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1487 | 1576 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1488 | 1577 |
--disable-dependency-tracking speeds up one-time build
|
|
1527 | 1616 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1528 | 1617 |
nonstandard directory <lib dir>
|
1529 | 1618 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1530 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1619 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1531 | 1620 |
you have headers in a nonstandard directory <include dir>
|
1532 | 1621 |
CPP C preprocessor
|
1533 | 1622 |
CXX C++ compiler command
|
|
1539 | 1628 |
Use these variables to override the choices made by `configure' or to help
|
1540 | 1629 |
it to find libraries and programs with nonstandard names/locations.
|
1541 | 1630 |
|
|
1631 |
Report bugs to the package provider.
|
1542 | 1632 |
_ACEOF
|
1543 | 1633 |
ac_status=$?
|
1544 | 1634 |
fi
|
|
1546 | 1636 |
if test "$ac_init_help" = "recursive"; then
|
1547 | 1637 |
# If there are subdirs, report their specific --help.
|
1548 | 1638 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1549 | |
test -d "$ac_dir" || continue
|
|
1639 |
test -d "$ac_dir" ||
|
|
1640 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1641 |
continue
|
1550 | 1642 |
ac_builddir=.
|
1551 | 1643 |
|
1552 | 1644 |
case "$ac_dir" in
|
1553 | 1645 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1554 | 1646 |
*)
|
1555 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
1647 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1556 | 1648 |
# A ".." for each directory in $ac_dir_suffix.
|
1557 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1649 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1558 | 1650 |
case $ac_top_builddir_sub in
|
1559 | 1651 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1560 | 1652 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1590 | 1682 |
echo &&
|
1591 | 1683 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1592 | 1684 |
else
|
1593 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1685 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1594 | 1686 |
fi || ac_status=$?
|
1595 | 1687 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1596 | 1688 |
done
|
|
1600 | 1692 |
if $ac_init_version; then
|
1601 | 1693 |
cat <<\_ACEOF
|
1602 | 1694 |
configure
|
1603 | |
generated by GNU Autoconf 2.61
|
1604 | |
|
1605 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1606 | |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
1695 |
generated by GNU Autoconf 2.69
|
|
1696 |
|
|
1697 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1607 | 1698 |
This configure script is free software; the Free Software Foundation
|
1608 | 1699 |
gives unlimited permission to copy, distribute and modify it.
|
1609 | 1700 |
_ACEOF
|
1610 | 1701 |
exit
|
1611 | 1702 |
fi
|
|
1703 |
|
|
1704 |
## ------------------------ ##
|
|
1705 |
## Autoconf initialization. ##
|
|
1706 |
## ------------------------ ##
|
|
1707 |
|
|
1708 |
# ac_fn_c_try_compile LINENO
|
|
1709 |
# --------------------------
|
|
1710 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1711 |
ac_fn_c_try_compile ()
|
|
1712 |
{
|
|
1713 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1714 |
rm -f conftest.$ac_objext
|
|
1715 |
if { { ac_try="$ac_compile"
|
|
1716 |
case "(($ac_try" in
|
|
1717 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1718 |
*) ac_try_echo=$ac_try;;
|
|
1719 |
esac
|
|
1720 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1721 |
$as_echo "$ac_try_echo"; } >&5
|
|
1722 |
(eval "$ac_compile") 2>conftest.err
|
|
1723 |
ac_status=$?
|
|
1724 |
if test -s conftest.err; then
|
|
1725 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1726 |
cat conftest.er1 >&5
|
|
1727 |
mv -f conftest.er1 conftest.err
|
|
1728 |
fi
|
|
1729 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1730 |
test $ac_status = 0; } && {
|
|
1731 |
test -z "$ac_c_werror_flag" ||
|
|
1732 |
test ! -s conftest.err
|
|
1733 |
} && test -s conftest.$ac_objext; then :
|
|
1734 |
ac_retval=0
|
|
1735 |
else
|
|
1736 |
$as_echo "$as_me: failed program was:" >&5
|
|
1737 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1738 |
|
|
1739 |
ac_retval=1
|
|
1740 |
fi
|
|
1741 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1742 |
as_fn_set_status $ac_retval
|
|
1743 |
|
|
1744 |
} # ac_fn_c_try_compile
|
|
1745 |
|
|
1746 |
# ac_fn_c_try_link LINENO
|
|
1747 |
# -----------------------
|
|
1748 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1749 |
ac_fn_c_try_link ()
|
|
1750 |
{
|
|
1751 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1752 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1753 |
if { { ac_try="$ac_link"
|
|
1754 |
case "(($ac_try" in
|
|
1755 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1756 |
*) ac_try_echo=$ac_try;;
|
|
1757 |
esac
|
|
1758 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1759 |
$as_echo "$ac_try_echo"; } >&5
|
|
1760 |
(eval "$ac_link") 2>conftest.err
|
|
1761 |
ac_status=$?
|
|
1762 |
if test -s conftest.err; then
|
|
1763 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1764 |
cat conftest.er1 >&5
|
|
1765 |
mv -f conftest.er1 conftest.err
|
|
1766 |
fi
|
|
1767 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1768 |
test $ac_status = 0; } && {
|
|
1769 |
test -z "$ac_c_werror_flag" ||
|
|
1770 |
test ! -s conftest.err
|
|
1771 |
} && test -s conftest$ac_exeext && {
|
|
1772 |
test "$cross_compiling" = yes ||
|
|
1773 |
test -x conftest$ac_exeext
|
|
1774 |
}; then :
|
|
1775 |
ac_retval=0
|
|
1776 |
else
|
|
1777 |
$as_echo "$as_me: failed program was:" >&5
|
|
1778 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1779 |
|
|
1780 |
ac_retval=1
|
|
1781 |
fi
|
|
1782 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1783 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1784 |
# interfere with the next link command; also delete a directory that is
|
|
1785 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1786 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1787 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1788 |
as_fn_set_status $ac_retval
|
|
1789 |
|
|
1790 |
} # ac_fn_c_try_link
|
|
1791 |
|
|
1792 |
# ac_fn_c_try_cpp LINENO
|
|
1793 |
# ----------------------
|
|
1794 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1795 |
ac_fn_c_try_cpp ()
|
|
1796 |
{
|
|
1797 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1798 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1799 |
case "(($ac_try" in
|
|
1800 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1801 |
*) ac_try_echo=$ac_try;;
|
|
1802 |
esac
|
|
1803 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1804 |
$as_echo "$ac_try_echo"; } >&5
|
|
1805 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1806 |
ac_status=$?
|
|
1807 |
if test -s conftest.err; then
|
|
1808 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1809 |
cat conftest.er1 >&5
|
|
1810 |
mv -f conftest.er1 conftest.err
|
|
1811 |
fi
|
|
1812 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1813 |
test $ac_status = 0; } > conftest.i && {
|
|
1814 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1815 |
test ! -s conftest.err
|
|
1816 |
}; then :
|
|
1817 |
ac_retval=0
|
|
1818 |
else
|
|
1819 |
$as_echo "$as_me: failed program was:" >&5
|
|
1820 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1821 |
|
|
1822 |
ac_retval=1
|
|
1823 |
fi
|
|
1824 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1825 |
as_fn_set_status $ac_retval
|
|
1826 |
|
|
1827 |
} # ac_fn_c_try_cpp
|
|
1828 |
|
|
1829 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1830 |
# -------------------------------------------------------
|
|
1831 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1832 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1833 |
# accordingly.
|
|
1834 |
ac_fn_c_check_header_mongrel ()
|
|
1835 |
{
|
|
1836 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1837 |
if eval \${$3+:} false; then :
|
|
1838 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1839 |
$as_echo_n "checking for $2... " >&6; }
|
|
1840 |
if eval \${$3+:} false; then :
|
|
1841 |
$as_echo_n "(cached) " >&6
|
|
1842 |
fi
|
|
1843 |
eval ac_res=\$$3
|
|
1844 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1845 |
$as_echo "$ac_res" >&6; }
|
|
1846 |
else
|
|
1847 |
# Is the header compilable?
|
|
1848 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1849 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1850 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1851 |
/* end confdefs.h. */
|
|
1852 |
$4
|
|
1853 |
#include <$2>
|
|
1854 |
_ACEOF
|
|
1855 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1856 |
ac_header_compiler=yes
|
|
1857 |
else
|
|
1858 |
ac_header_compiler=no
|
|
1859 |
fi
|
|
1860 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1862 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1863 |
|
|
1864 |
# Is the header present?
|
|
1865 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1866 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1867 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1868 |
/* end confdefs.h. */
|
|
1869 |
#include <$2>
|
|
1870 |
_ACEOF
|
|
1871 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1872 |
ac_header_preproc=yes
|
|
1873 |
else
|
|
1874 |
ac_header_preproc=no
|
|
1875 |
fi
|
|
1876 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
1877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1878 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1879 |
|
|
1880 |
# So? What about this header?
|
|
1881 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1882 |
yes:no: )
|
|
1883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1884 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1886 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1887 |
;;
|
|
1888 |
no:yes:* )
|
|
1889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1890 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1891 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1892 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1893 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1894 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1895 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1896 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1898 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1899 |
;;
|
|
1900 |
esac
|
|
1901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1902 |
$as_echo_n "checking for $2... " >&6; }
|
|
1903 |
if eval \${$3+:} false; then :
|
|
1904 |
$as_echo_n "(cached) " >&6
|
|
1905 |
else
|
|
1906 |
eval "$3=\$ac_header_compiler"
|
|
1907 |
fi
|
|
1908 |
eval ac_res=\$$3
|
|
1909 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1910 |
$as_echo "$ac_res" >&6; }
|
|
1911 |
fi
|
|
1912 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1913 |
|
|
1914 |
} # ac_fn_c_check_header_mongrel
|
|
1915 |
|
|
1916 |
# ac_fn_c_try_run LINENO
|
|
1917 |
# ----------------------
|
|
1918 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1919 |
# that executables *can* be run.
|
|
1920 |
ac_fn_c_try_run ()
|
|
1921 |
{
|
|
1922 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1923 |
if { { ac_try="$ac_link"
|
|
1924 |
case "(($ac_try" in
|
|
1925 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1926 |
*) ac_try_echo=$ac_try;;
|
|
1927 |
esac
|
|
1928 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1929 |
$as_echo "$ac_try_echo"; } >&5
|
|
1930 |
(eval "$ac_link") 2>&5
|
|
1931 |
ac_status=$?
|
|
1932 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1933 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1934 |
{ { case "(($ac_try" in
|
|
1935 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1936 |
*) ac_try_echo=$ac_try;;
|
|
1937 |
esac
|
|
1938 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1939 |
$as_echo "$ac_try_echo"; } >&5
|
|
1940 |
(eval "$ac_try") 2>&5
|
|
1941 |
ac_status=$?
|
|
1942 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1943 |
test $ac_status = 0; }; }; then :
|
|
1944 |
ac_retval=0
|
|
1945 |
else
|
|
1946 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1947 |
$as_echo "$as_me: failed program was:" >&5
|
|
1948 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1949 |
|
|
1950 |
ac_retval=$ac_status
|
|
1951 |
fi
|
|
1952 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1953 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1954 |
as_fn_set_status $ac_retval
|
|
1955 |
|
|
1956 |
} # ac_fn_c_try_run
|
|
1957 |
|
|
1958 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1959 |
# -------------------------------------------------------
|
|
1960 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1961 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1962 |
ac_fn_c_check_header_compile ()
|
|
1963 |
{
|
|
1964 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1965 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1966 |
$as_echo_n "checking for $2... " >&6; }
|
|
1967 |
if eval \${$3+:} false; then :
|
|
1968 |
$as_echo_n "(cached) " >&6
|
|
1969 |
else
|
|
1970 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1971 |
/* end confdefs.h. */
|
|
1972 |
$4
|
|
1973 |
#include <$2>
|
|
1974 |
_ACEOF
|
|
1975 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1976 |
eval "$3=yes"
|
|
1977 |
else
|
|
1978 |
eval "$3=no"
|
|
1979 |
fi
|
|
1980 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1981 |
fi
|
|
1982 |
eval ac_res=\$$3
|
|
1983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1984 |
$as_echo "$ac_res" >&6; }
|
|
1985 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1986 |
|
|
1987 |
} # ac_fn_c_check_header_compile
|
|
1988 |
|
|
1989 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1990 |
# ----------------------------------
|
|
1991 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1992 |
ac_fn_c_check_func ()
|
|
1993 |
{
|
|
1994 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1996 |
$as_echo_n "checking for $2... " >&6; }
|
|
1997 |
if eval \${$3+:} false; then :
|
|
1998 |
$as_echo_n "(cached) " >&6
|
|
1999 |
else
|
|
2000 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2001 |
/* end confdefs.h. */
|
|
2002 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
2003 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
2004 |
#define $2 innocuous_$2
|
|
2005 |
|
|
2006 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
2007 |
which can conflict with char $2 (); below.
|
|
2008 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
2009 |
<limits.h> exists even on freestanding compilers. */
|
|
2010 |
|
|
2011 |
#ifdef __STDC__
|
|
2012 |
# include <limits.h>
|
|
2013 |
#else
|
|
2014 |
# include <assert.h>
|
|
2015 |
#endif
|
|
2016 |
|
|
2017 |
#undef $2
|
|
2018 |
|
|
2019 |
/* Override any GCC internal prototype to avoid an error.
|
|
2020 |
Use char because int might match the return type of a GCC
|
|
2021 |
builtin and then its argument prototype would still apply. */
|
|
2022 |
#ifdef __cplusplus
|
|
2023 |
extern "C"
|
|
2024 |
#endif
|
|
2025 |
char $2 ();
|
|
2026 |
/* The GNU C library defines this for functions which it implements
|
|
2027 |
to always fail with ENOSYS. Some functions are actually named
|
|
2028 |
something starting with __ and the normal name is an alias. */
|
|
2029 |
#if defined __stub_$2 || defined __stub___$2
|
|
2030 |
choke me
|
|
2031 |
#endif
|
|
2032 |
|
|
2033 |
int
|
|
2034 |
main ()
|
|
2035 |
{
|
|
2036 |
return $2 ();
|
|
2037 |
;
|
|
2038 |
return 0;
|
|
2039 |
}
|
|
2040 |
_ACEOF
|
|
2041 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
2042 |
eval "$3=yes"
|
|
2043 |
else
|
|
2044 |
eval "$3=no"
|
|
2045 |
fi
|
|
2046 |
rm -f core conftest.err conftest.$ac_objext \
|
|
2047 |
conftest$ac_exeext conftest.$ac_ext
|
|
2048 |
fi
|
|
2049 |
eval ac_res=\$$3
|
|
2050 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2051 |
$as_echo "$ac_res" >&6; }
|
|
2052 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2053 |
|
|
2054 |
} # ac_fn_c_check_func
|
|
2055 |
|
|
2056 |
# ac_fn_cxx_try_compile LINENO
|
|
2057 |
# ----------------------------
|
|
2058 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
2059 |
ac_fn_cxx_try_compile ()
|
|
2060 |
{
|
|
2061 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2062 |
rm -f conftest.$ac_objext
|
|
2063 |
if { { ac_try="$ac_compile"
|
|
2064 |
case "(($ac_try" in
|
|
2065 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2066 |
*) ac_try_echo=$ac_try;;
|
|
2067 |
esac
|
|
2068 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2069 |
$as_echo "$ac_try_echo"; } >&5
|
|
2070 |
(eval "$ac_compile") 2>conftest.err
|
|
2071 |
ac_status=$?
|
|
2072 |
if test -s conftest.err; then
|
|
2073 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2074 |
cat conftest.er1 >&5
|
|
2075 |
mv -f conftest.er1 conftest.err
|
|
2076 |
fi
|
|
2077 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2078 |
test $ac_status = 0; } && {
|
|
2079 |
test -z "$ac_cxx_werror_flag" ||
|
|
2080 |
test ! -s conftest.err
|
|
2081 |
} && test -s conftest.$ac_objext; then :
|
|
2082 |
ac_retval=0
|
|
2083 |
else
|
|
2084 |
$as_echo "$as_me: failed program was:" >&5
|
|
2085 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2086 |
|
|
2087 |
ac_retval=1
|
|
2088 |
fi
|
|
2089 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2090 |
as_fn_set_status $ac_retval
|
|
2091 |
|
|
2092 |
} # ac_fn_cxx_try_compile
|
|
2093 |
|
|
2094 |
# ac_fn_cxx_try_cpp LINENO
|
|
2095 |
# ------------------------
|
|
2096 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
2097 |
ac_fn_cxx_try_cpp ()
|
|
2098 |
{
|
|
2099 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2100 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
2101 |
case "(($ac_try" in
|
|
2102 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2103 |
*) ac_try_echo=$ac_try;;
|
|
2104 |
esac
|
|
2105 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2106 |
$as_echo "$ac_try_echo"; } >&5
|
|
2107 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
2108 |
ac_status=$?
|
|
2109 |
if test -s conftest.err; then
|
|
2110 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2111 |
cat conftest.er1 >&5
|
|
2112 |
mv -f conftest.er1 conftest.err
|
|
2113 |
fi
|
|
2114 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2115 |
test $ac_status = 0; } > conftest.i && {
|
|
2116 |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
|
2117 |
test ! -s conftest.err
|
|
2118 |
}; then :
|
|
2119 |
ac_retval=0
|
|
2120 |
else
|
|
2121 |
$as_echo "$as_me: failed program was:" >&5
|
|
2122 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2123 |
|
|
2124 |
ac_retval=1
|
|
2125 |
fi
|
|
2126 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2127 |
as_fn_set_status $ac_retval
|
|
2128 |
|
|
2129 |
} # ac_fn_cxx_try_cpp
|
|
2130 |
|
|
2131 |
# ac_fn_cxx_try_link LINENO
|
|
2132 |
# -------------------------
|
|
2133 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
2134 |
ac_fn_cxx_try_link ()
|
|
2135 |
{
|
|
2136 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2137 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
2138 |
if { { ac_try="$ac_link"
|
|
2139 |
case "(($ac_try" in
|
|
2140 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2141 |
*) ac_try_echo=$ac_try;;
|
|
2142 |
esac
|
|
2143 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2144 |
$as_echo "$ac_try_echo"; } >&5
|
|
2145 |
(eval "$ac_link") 2>conftest.err
|
|
2146 |
ac_status=$?
|
|
2147 |
if test -s conftest.err; then
|
|
2148 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2149 |
cat conftest.er1 >&5
|
|
2150 |
mv -f conftest.er1 conftest.err
|
|
2151 |
fi
|
|
2152 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2153 |
test $ac_status = 0; } && {
|
|
2154 |
test -z "$ac_cxx_werror_flag" ||
|
|
2155 |
test ! -s conftest.err
|
|
2156 |
} && test -s conftest$ac_exeext && {
|
|
2157 |
test "$cross_compiling" = yes ||
|
|
2158 |
test -x conftest$ac_exeext
|
|
2159 |
}; then :
|
|
2160 |
ac_retval=0
|
|
2161 |
else
|
|
2162 |
$as_echo "$as_me: failed program was:" >&5
|
|
2163 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2164 |
|
|
2165 |
ac_retval=1
|
|
2166 |
fi
|
|
2167 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
2168 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
2169 |
# interfere with the next link command; also delete a directory that is
|
|
2170 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
2171 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
2172 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2173 |
as_fn_set_status $ac_retval
|
|
2174 |
|
|
2175 |
} # ac_fn_cxx_try_link
|
|
2176 |
|
|
2177 |
# ac_fn_f77_try_compile LINENO
|
|
2178 |
# ----------------------------
|
|
2179 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
2180 |
ac_fn_f77_try_compile ()
|
|
2181 |
{
|
|
2182 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2183 |
rm -f conftest.$ac_objext
|
|
2184 |
if { { ac_try="$ac_compile"
|
|
2185 |
case "(($ac_try" in
|
|
2186 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2187 |
*) ac_try_echo=$ac_try;;
|
|
2188 |
esac
|
|
2189 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2190 |
$as_echo "$ac_try_echo"; } >&5
|
|
2191 |
(eval "$ac_compile") 2>conftest.err
|
|
2192 |
ac_status=$?
|
|
2193 |
if test -s conftest.err; then
|
|
2194 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2195 |
cat conftest.er1 >&5
|
|
2196 |
mv -f conftest.er1 conftest.err
|
|
2197 |
fi
|
|
2198 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2199 |
test $ac_status = 0; } && {
|
|
2200 |
test -z "$ac_f77_werror_flag" ||
|
|
2201 |
test ! -s conftest.err
|
|
2202 |
} && test -s conftest.$ac_objext; then :
|
|
2203 |
ac_retval=0
|
|
2204 |
else
|
|
2205 |
$as_echo "$as_me: failed program was:" >&5
|
|
2206 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2207 |
|
|
2208 |
ac_retval=1
|
|
2209 |
fi
|
|
2210 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2211 |
as_fn_set_status $ac_retval
|
|
2212 |
|
|
2213 |
} # ac_fn_f77_try_compile
|
|
2214 |
|
|
2215 |
# ac_fn_f77_try_link LINENO
|
|
2216 |
# -------------------------
|
|
2217 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
2218 |
ac_fn_f77_try_link ()
|
|
2219 |
{
|
|
2220 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2221 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
2222 |
if { { ac_try="$ac_link"
|
|
2223 |
case "(($ac_try" in
|
|
2224 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2225 |
*) ac_try_echo=$ac_try;;
|
|
2226 |
esac
|
|
2227 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2228 |
$as_echo "$ac_try_echo"; } >&5
|
|
2229 |
(eval "$ac_link") 2>conftest.err
|
|
2230 |
ac_status=$?
|
|
2231 |
if test -s conftest.err; then
|
|
2232 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
2233 |
cat conftest.er1 >&5
|
|
2234 |
mv -f conftest.er1 conftest.err
|
|
2235 |
fi
|
|
2236 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2237 |
test $ac_status = 0; } && {
|
|
2238 |
test -z "$ac_f77_werror_flag" ||
|
|
2239 |
test ! -s conftest.err
|
|
2240 |
} && test -s conftest$ac_exeext && {
|
|
2241 |
test "$cross_compiling" = yes ||
|
|
2242 |
test -x conftest$ac_exeext
|
|
2243 |
}; then :
|
|
2244 |
ac_retval=0
|
|
2245 |
else
|
|
2246 |
$as_echo "$as_me: failed program was:" >&5
|
|
2247 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
2248 |
|
|
2249 |
ac_retval=1
|
|
2250 |
fi
|
|
2251 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
2252 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
2253 |
# interfere with the next link command; also delete a directory that is
|
|
2254 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
2255 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
2256 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2257 |
as_fn_set_status $ac_retval
|
|
2258 |
|
|
2259 |
} # ac_fn_f77_try_link
|
|
2260 |
|
|
2261 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
2262 |
# -------------------------------------------
|
|
2263 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
2264 |
# variable VAR accordingly.
|
|
2265 |
ac_fn_c_check_type ()
|
|
2266 |
{
|
|
2267 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
2268 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
2269 |
$as_echo_n "checking for $2... " >&6; }
|
|
2270 |
if eval \${$3+:} false; then :
|
|
2271 |
$as_echo_n "(cached) " >&6
|
|
2272 |
else
|
|
2273 |
eval "$3=no"
|
|
2274 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2275 |
/* end confdefs.h. */
|
|
2276 |
$4
|
|
2277 |
int
|
|
2278 |
main ()
|
|
2279 |
{
|
|
2280 |
if (sizeof ($2))
|
|
2281 |
return 0;
|
|
2282 |
;
|
|
2283 |
return 0;
|
|
2284 |
}
|
|
2285 |
_ACEOF
|
|
2286 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2287 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2288 |
/* end confdefs.h. */
|
|
2289 |
$4
|
|
2290 |
int
|
|
2291 |
main ()
|
|
2292 |
{
|
|
2293 |
if (sizeof (($2)))
|
|
2294 |
return 0;
|
|
2295 |
;
|
|
2296 |
return 0;
|
|
2297 |
}
|
|
2298 |
_ACEOF
|
|
2299 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2300 |
|
|
2301 |
else
|
|
2302 |
eval "$3=yes"
|
|
2303 |
fi
|
|
2304 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2305 |
fi
|
|
2306 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2307 |
fi
|
|
2308 |
eval ac_res=\$$3
|
|
2309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
2310 |
$as_echo "$ac_res" >&6; }
|
|
2311 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
2312 |
|
|
2313 |
} # ac_fn_c_check_type
|
1612 | 2314 |
cat >config.log <<_ACEOF
|
1613 | 2315 |
This file contains any messages produced by compilers while
|
1614 | 2316 |
running configure, to aid debugging if configure makes a mistake.
|
1615 | 2317 |
|
1616 | 2318 |
It was created by $as_me, which was
|
1617 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
2319 |
generated by GNU Autoconf 2.69. Invocation command line was
|
1618 | 2320 |
|
1619 | 2321 |
$ $0 $@
|
1620 | 2322 |
|
|
1650 | 2352 |
do
|
1651 | 2353 |
IFS=$as_save_IFS
|
1652 | 2354 |
test -z "$as_dir" && as_dir=.
|
1653 | |
echo "PATH: $as_dir"
|
1654 | |
done
|
|
2355 |
$as_echo "PATH: $as_dir"
|
|
2356 |
done
|
1655 | 2357 |
IFS=$as_save_IFS
|
1656 | 2358 |
|
1657 | 2359 |
} >&5
|
|
1685 | 2387 |
| -silent | --silent | --silen | --sile | --sil)
|
1686 | 2388 |
continue ;;
|
1687 | 2389 |
*\'*)
|
1688 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2390 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1689 | 2391 |
esac
|
1690 | 2392 |
case $ac_pass in
|
1691 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
2393 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1692 | 2394 |
2)
|
1693 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
2395 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1694 | 2396 |
if test $ac_must_keep_next = true; then
|
1695 | 2397 |
ac_must_keep_next=false # Got value, back to normal.
|
1696 | 2398 |
else
|
|
1706 | 2408 |
-* ) ac_must_keep_next=true ;;
|
1707 | 2409 |
esac
|
1708 | 2410 |
fi
|
1709 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
2411 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1710 | 2412 |
;;
|
1711 | 2413 |
esac
|
1712 | 2414 |
done
|
1713 | 2415 |
done
|
1714 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1715 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
2416 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
2417 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1716 | 2418 |
|
1717 | 2419 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1718 | 2420 |
# config.log. We remove comments because anyway the quotes in there
|
|
1724 | 2426 |
{
|
1725 | 2427 |
echo
|
1726 | 2428 |
|
1727 | |
cat <<\_ASBOX
|
1728 | |
## ---------------- ##
|
|
2429 |
$as_echo "## ---------------- ##
|
1729 | 2430 |
## Cache variables. ##
|
1730 | |
## ---------------- ##
|
1731 | |
_ASBOX
|
|
2431 |
## ---------------- ##"
|
1732 | 2432 |
echo
|
1733 | 2433 |
# The following way of writing the cache mishandles newlines in values,
|
1734 | 2434 |
(
|
|
1737 | 2437 |
case $ac_val in #(
|
1738 | 2438 |
*${as_nl}*)
|
1739 | 2439 |
case $ac_var in #(
|
1740 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
1741 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
2440 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2441 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1742 | 2442 |
esac
|
1743 | 2443 |
case $ac_var in #(
|
1744 | 2444 |
_ | IFS | as_nl) ;; #(
|
1745 | |
*) $as_unset $ac_var ;;
|
|
2445 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
2446 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1746 | 2447 |
esac ;;
|
1747 | 2448 |
esac
|
1748 | 2449 |
done
|
|
1761 | 2462 |
)
|
1762 | 2463 |
echo
|
1763 | 2464 |
|
1764 | |
cat <<\_ASBOX
|
1765 | |
## ----------------- ##
|
|
2465 |
$as_echo "## ----------------- ##
|
1766 | 2466 |
## Output variables. ##
|
1767 | |
## ----------------- ##
|
1768 | |
_ASBOX
|
|
2467 |
## ----------------- ##"
|
1769 | 2468 |
echo
|
1770 | 2469 |
for ac_var in $ac_subst_vars
|
1771 | 2470 |
do
|
1772 | 2471 |
eval ac_val=\$$ac_var
|
1773 | 2472 |
case $ac_val in
|
1774 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2473 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1775 | 2474 |
esac
|
1776 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2475 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1777 | 2476 |
done | sort
|
1778 | 2477 |
echo
|
1779 | 2478 |
|
1780 | 2479 |
if test -n "$ac_subst_files"; then
|
1781 | |
cat <<\_ASBOX
|
1782 | |
## ------------------- ##
|
|
2480 |
$as_echo "## ------------------- ##
|
1783 | 2481 |
## File substitutions. ##
|
1784 | |
## ------------------- ##
|
1785 | |
_ASBOX
|
|
2482 |
## ------------------- ##"
|
1786 | 2483 |
echo
|
1787 | 2484 |
for ac_var in $ac_subst_files
|
1788 | 2485 |
do
|
1789 | 2486 |
eval ac_val=\$$ac_var
|
1790 | 2487 |
case $ac_val in
|
1791 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2488 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1792 | 2489 |
esac
|
1793 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2490 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1794 | 2491 |
done | sort
|
1795 | 2492 |
echo
|
1796 | 2493 |
fi
|
1797 | 2494 |
|
1798 | 2495 |
if test -s confdefs.h; then
|
1799 | |
cat <<\_ASBOX
|
1800 | |
## ----------- ##
|
|
2496 |
$as_echo "## ----------- ##
|
1801 | 2497 |
## confdefs.h. ##
|
1802 | |
## ----------- ##
|
1803 | |
_ASBOX
|
|
2498 |
## ----------- ##"
|
1804 | 2499 |
echo
|
1805 | 2500 |
cat confdefs.h
|
1806 | 2501 |
echo
|
1807 | 2502 |
fi
|
1808 | 2503 |
test "$ac_signal" != 0 &&
|
1809 | |
echo "$as_me: caught signal $ac_signal"
|
1810 | |
echo "$as_me: exit $exit_status"
|
|
2504 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
2505 |
$as_echo "$as_me: exit $exit_status"
|
1811 | 2506 |
} >&5
|
1812 | 2507 |
rm -f core *.core core.conftest.* &&
|
1813 | 2508 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1814 | 2509 |
exit $exit_status
|
1815 | 2510 |
' 0
|
1816 | 2511 |
for ac_signal in 1 2 13 15; do
|
1817 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2512 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1818 | 2513 |
done
|
1819 | 2514 |
ac_signal=0
|
1820 | 2515 |
|
1821 | 2516 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1822 | 2517 |
rm -f -r conftest* confdefs.h
|
|
2518 |
|
|
2519 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1823 | 2520 |
|
1824 | 2521 |
# Predefined preprocessor variables.
|
1825 | 2522 |
|
|
1827 | 2524 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1828 | 2525 |
_ACEOF
|
1829 | 2526 |
|
1830 | |
|
1831 | 2527 |
cat >>confdefs.h <<_ACEOF
|
1832 | 2528 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1833 | 2529 |
_ACEOF
|
1834 | 2530 |
|
1835 | |
|
1836 | 2531 |
cat >>confdefs.h <<_ACEOF
|
1837 | 2532 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1838 | 2533 |
_ACEOF
|
1839 | 2534 |
|
1840 | |
|
1841 | 2535 |
cat >>confdefs.h <<_ACEOF
|
1842 | 2536 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1843 | 2537 |
_ACEOF
|
1844 | 2538 |
|
1845 | |
|
1846 | 2539 |
cat >>confdefs.h <<_ACEOF
|
1847 | 2540 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1848 | 2541 |
_ACEOF
|
1849 | 2542 |
|
|
2543 |
cat >>confdefs.h <<_ACEOF
|
|
2544 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2545 |
_ACEOF
|
|
2546 |
|
1850 | 2547 |
|
1851 | 2548 |
# Let the site file select an alternate cache file if it wants to.
|
1852 | |
# Prefer explicitly selected file to automatically selected ones.
|
|
2549 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
2550 |
ac_site_file1=NONE
|
|
2551 |
ac_site_file2=NONE
|
1853 | 2552 |
if test -n "$CONFIG_SITE"; then
|
1854 | |
set x "$CONFIG_SITE"
|
|
2553 |
# We do not want a PATH search for config.site.
|
|
2554 |
case $CONFIG_SITE in #((
|
|
2555 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
2556 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
2557 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
2558 |
esac
|
1855 | 2559 |
elif test "x$prefix" != xNONE; then
|
1856 | |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
1857 | |
else
|
1858 | |
set x "$ac_default_prefix/share/config.site" \
|
1859 | |
"$ac_default_prefix/etc/config.site"
|
1860 | |
fi
|
1861 | |
shift
|
1862 | |
for ac_site_file
|
|
2560 |
ac_site_file1=$prefix/share/config.site
|
|
2561 |
ac_site_file2=$prefix/etc/config.site
|
|
2562 |
else
|
|
2563 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
2564 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
2565 |
fi
|
|
2566 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1863 | 2567 |
do
|
1864 | |
if test -r "$ac_site_file"; then
|
1865 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1866 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2568 |
test "x$ac_site_file" = xNONE && continue
|
|
2569 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2570 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2571 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1867 | 2572 |
sed 's/^/| /' "$ac_site_file" >&5
|
1868 | |
. "$ac_site_file"
|
|
2573 |
. "$ac_site_file" \
|
|
2574 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2575 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2576 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
2577 |
See \`config.log' for more details" "$LINENO" 5; }
|
1869 | 2578 |
fi
|
1870 | 2579 |
done
|
1871 | 2580 |
|
1872 | 2581 |
if test -r "$cache_file"; then
|
1873 | |
# Some versions of bash will fail to source /dev/null (special
|
1874 | |
# files actually), so we avoid doing that.
|
1875 | |
if test -f "$cache_file"; then
|
1876 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1877 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
2582 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2583 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2584 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2585 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2586 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1878 | 2587 |
case $cache_file in
|
1879 | 2588 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1880 | 2589 |
*) . "./$cache_file";;
|
1881 | 2590 |
esac
|
1882 | 2591 |
fi
|
1883 | 2592 |
else
|
1884 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1885 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
2593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2594 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1886 | 2595 |
>$cache_file
|
1887 | 2596 |
fi
|
1888 | 2597 |
|
|
1896 | 2605 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1897 | 2606 |
case $ac_old_set,$ac_new_set in
|
1898 | 2607 |
set,)
|
1899 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1900 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2608 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2609 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1901 | 2610 |
ac_cache_corrupted=: ;;
|
1902 | 2611 |
,set)
|
1903 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1904 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2613 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1905 | 2614 |
ac_cache_corrupted=: ;;
|
1906 | 2615 |
,);;
|
1907 | 2616 |
*)
|
1908 | 2617 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1909 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1910 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1911 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1912 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1913 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1914 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1915 | |
ac_cache_corrupted=:
|
|
2618 |
# differences in whitespace do not lead to failure.
|
|
2619 |
ac_old_val_w=`echo x $ac_old_val`
|
|
2620 |
ac_new_val_w=`echo x $ac_new_val`
|
|
2621 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
2622 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2623 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2624 |
ac_cache_corrupted=:
|
|
2625 |
else
|
|
2626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2627 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2628 |
eval $ac_var=\$ac_old_val
|
|
2629 |
fi
|
|
2630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2631 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2633 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1916 | 2634 |
fi;;
|
1917 | 2635 |
esac
|
1918 | 2636 |
# Pass precious variables to config.status.
|
1919 | 2637 |
if test "$ac_new_set" = set; then
|
1920 | 2638 |
case $ac_new_val in
|
1921 | |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2639 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1922 | 2640 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1923 | 2641 |
esac
|
1924 | 2642 |
case " $ac_configure_args " in
|
1925 | 2643 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1926 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2644 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1927 | 2645 |
esac
|
1928 | 2646 |
fi
|
1929 | 2647 |
done
|
1930 | 2648 |
if $ac_cache_corrupted; then
|
1931 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1932 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1933 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1934 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1935 | |
{ (exit 1); exit 1; }; }
|
1936 | |
fi
|
1937 | |
|
1938 | |
|
1939 | |
|
1940 | |
|
1941 | |
|
1942 | |
|
1943 | |
|
1944 | |
|
1945 | |
|
1946 | |
|
1947 | |
|
1948 | |
|
1949 | |
|
1950 | |
|
1951 | |
|
1952 | |
|
|
2649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2650 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2651 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2652 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2653 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2654 |
fi
|
|
2655 |
## -------------------- ##
|
|
2656 |
## Main body of script. ##
|
|
2657 |
## -------------------- ##
|
1953 | 2658 |
|
1954 | 2659 |
ac_ext=c
|
1955 | 2660 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2010 | 2715 |
fi
|
2011 | 2716 |
done
|
2012 | 2717 |
if test -z "$ac_aux_dir"; then
|
2013 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
2014 | |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
2015 | |
{ (exit 1); exit 1; }; }
|
|
2718 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2016 | 2719 |
fi
|
2017 | 2720 |
|
2018 | 2721 |
# These three variables are undocumented and unsupported,
|
|
2026 | 2729 |
|
2027 | 2730 |
# Make sure we can run config.sub.
|
2028 | 2731 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2029 | |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
2030 | |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
2031 | |
{ (exit 1); exit 1; }; }
|
2032 | |
|
2033 | |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
2034 | |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
2035 | |
if test "${ac_cv_build+set}" = set; then
|
2036 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2732 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
2733 |
|
|
2734 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
2735 |
$as_echo_n "checking build system type... " >&6; }
|
|
2736 |
if ${ac_cv_build+:} false; then :
|
|
2737 |
$as_echo_n "(cached) " >&6
|
2037 | 2738 |
else
|
2038 | 2739 |
ac_build_alias=$build_alias
|
2039 | 2740 |
test "x$ac_build_alias" = x &&
|
2040 | 2741 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2041 | 2742 |
test "x$ac_build_alias" = x &&
|
2042 | |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
2043 | |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
2044 | |
{ (exit 1); exit 1; }; }
|
|
2743 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
2045 | 2744 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2046 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
2047 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
2048 | |
{ (exit 1); exit 1; }; }
|
2049 | |
|
2050 | |
fi
|
2051 | |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
2052 | |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
|
2745 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
2746 |
|
|
2747 |
fi
|
|
2748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
2749 |
$as_echo "$ac_cv_build" >&6; }
|
2053 | 2750 |
case $ac_cv_build in
|
2054 | 2751 |
*-*-*) ;;
|
2055 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
2056 | |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
2057 | |
{ (exit 1); exit 1; }; };;
|
|
2752 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
2058 | 2753 |
esac
|
2059 | 2754 |
build=$ac_cv_build
|
2060 | 2755 |
ac_save_IFS=$IFS; IFS='-'
|
|
2070 | 2765 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2071 | 2766 |
|
2072 | 2767 |
|
2073 | |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
2074 | |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
2075 | |
if test "${ac_cv_host+set}" = set; then
|
2076 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2768 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
2769 |
$as_echo_n "checking host system type... " >&6; }
|
|
2770 |
if ${ac_cv_host+:} false; then :
|
|
2771 |
$as_echo_n "(cached) " >&6
|
2077 | 2772 |
else
|
2078 | 2773 |
if test "x$host_alias" = x; then
|
2079 | 2774 |
ac_cv_host=$ac_cv_build
|
2080 | 2775 |
else
|
2081 | 2776 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2082 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
2083 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
2084 | |
{ (exit 1); exit 1; }; }
|
2085 | |
fi
|
2086 | |
|
2087 | |
fi
|
2088 | |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
2089 | |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
|
2777 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
2778 |
fi
|
|
2779 |
|
|
2780 |
fi
|
|
2781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
2782 |
$as_echo "$ac_cv_host" >&6; }
|
2090 | 2783 |
case $ac_cv_host in
|
2091 | 2784 |
*-*-*) ;;
|
2092 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
2093 | |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
2094 | |
{ (exit 1); exit 1; }; };;
|
|
2785 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
2095 | 2786 |
esac
|
2096 | 2787 |
host=$ac_cv_host
|
2097 | 2788 |
ac_save_IFS=$IFS; IFS='-'
|
|
2107 | 2798 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
2108 | 2799 |
|
2109 | 2800 |
|
2110 | |
{ echo "$as_me:$LINENO: checking target system type" >&5
|
2111 | |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
2112 | |
if test "${ac_cv_target+set}" = set; then
|
2113 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2801 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
|
2802 |
$as_echo_n "checking target system type... " >&6; }
|
|
2803 |
if ${ac_cv_target+:} false; then :
|
|
2804 |
$as_echo_n "(cached) " >&6
|
2114 | 2805 |
else
|
2115 | 2806 |
if test "x$target_alias" = x; then
|
2116 | 2807 |
ac_cv_target=$ac_cv_host
|
2117 | 2808 |
else
|
2118 | 2809 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
2119 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
2120 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
2121 | |
{ (exit 1); exit 1; }; }
|
2122 | |
fi
|
2123 | |
|
2124 | |
fi
|
2125 | |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
2126 | |
echo "${ECHO_T}$ac_cv_target" >&6; }
|
|
2810 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
|
2811 |
fi
|
|
2812 |
|
|
2813 |
fi
|
|
2814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
|
2815 |
$as_echo "$ac_cv_target" >&6; }
|
2127 | 2816 |
case $ac_cv_target in
|
2128 | 2817 |
*-*-*) ;;
|
2129 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
2130 | |
echo "$as_me: error: invalid value of canonical target" >&2;}
|
2131 | |
{ (exit 1); exit 1; }; };;
|
|
2818 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
2132 | 2819 |
esac
|
2133 | 2820 |
target=$ac_cv_target
|
2134 | 2821 |
ac_save_IFS=$IFS; IFS='-'
|
|
2167 | 2854 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2168 | 2855 |
# OS/2's system install, which has a completely different semantic
|
2169 | 2856 |
# ./install, which can be erroneously created by make from ./install.sh.
|
2170 | |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
2171 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
|
2857 |
# Reject install programs that cannot install multiple files.
|
|
2858 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
2859 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2172 | 2860 |
if test -z "$INSTALL"; then
|
2173 | |
if test "${ac_cv_path_install+set}" = set; then
|
2174 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2861 |
if ${ac_cv_path_install+:} false; then :
|
|
2862 |
$as_echo_n "(cached) " >&6
|
2175 | 2863 |
else
|
2176 | 2864 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2177 | 2865 |
for as_dir in $PATH
|
2178 | 2866 |
do
|
2179 | 2867 |
IFS=$as_save_IFS
|
2180 | 2868 |
test -z "$as_dir" && as_dir=.
|
2181 | |
# Account for people who put trailing slashes in PATH elements.
|
2182 | |
case $as_dir/ in
|
2183 | |
./ | .// | /cC/* | \
|
|
2869 |
# Account for people who put trailing slashes in PATH elements.
|
|
2870 |
case $as_dir/ in #((
|
|
2871 |
./ | .// | /[cC]/* | \
|
2184 | 2872 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2185 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
2873 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2186 | 2874 |
/usr/ucb/* ) ;;
|
2187 | 2875 |
*)
|
2188 | 2876 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2190 | 2878 |
# by default.
|
2191 | 2879 |
for ac_prog in ginstall scoinst install; do
|
2192 | 2880 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2193 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
|
2881 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
2194 | 2882 |
if test $ac_prog = install &&
|
2195 | 2883 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2196 | 2884 |
# AIX install. It has an incompatible calling convention.
|
|
2200 | 2888 |
# program-specific install script used by HP pwplus--don't use.
|
2201 | 2889 |
:
|
2202 | 2890 |
else
|
2203 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2204 | |
break 3
|
|
2891 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2892 |
echo one > conftest.one
|
|
2893 |
echo two > conftest.two
|
|
2894 |
mkdir conftest.dir
|
|
2895 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
2896 |
test -s conftest.one && test -s conftest.two &&
|
|
2897 |
test -s conftest.dir/conftest.one &&
|
|
2898 |
test -s conftest.dir/conftest.two
|
|
2899 |
then
|
|
2900 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
2901 |
break 3
|
|
2902 |
fi
|
2205 | 2903 |
fi
|
2206 | 2904 |
fi
|
2207 | 2905 |
done
|
2208 | 2906 |
done
|
2209 | 2907 |
;;
|
2210 | 2908 |
esac
|
2211 | |
done
|
|
2909 |
|
|
2910 |
done
|
2212 | 2911 |
IFS=$as_save_IFS
|
2213 | 2912 |
|
|
2913 |
rm -rf conftest.one conftest.two conftest.dir
|
2214 | 2914 |
|
2215 | 2915 |
fi
|
2216 | 2916 |
if test "${ac_cv_path_install+set}" = set; then
|
|
2223 | 2923 |
INSTALL=$ac_install_sh
|
2224 | 2924 |
fi
|
2225 | 2925 |
fi
|
2226 | |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
2227 | |
echo "${ECHO_T}$INSTALL" >&6; }
|
|
2926 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
2927 |
$as_echo "$INSTALL" >&6; }
|
2228 | 2928 |
|
2229 | 2929 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2230 | 2930 |
# It thinks the first close brace ends the variable substitution.
|
|
2234 | 2934 |
|
2235 | 2935 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2236 | 2936 |
|
2237 | |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
2238 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
|
2937 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
2938 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2239 | 2939 |
# Just in case
|
2240 | 2940 |
sleep 1
|
2241 | 2941 |
echo timestamp > conftest.file
|
|
2258 | 2958 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2259 | 2959 |
# broken ls alias from the environment. This has actually
|
2260 | 2960 |
# happened. Such a system could not be considered "sane".
|
2261 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
2262 | |
alias in your environment" >&5
|
2263 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
2264 | |
alias in your environment" >&2;}
|
2265 | |
{ (exit 1); exit 1; }; }
|
|
2961 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
2962 |
alias in your environment" "$LINENO" 5
|
2266 | 2963 |
fi
|
2267 | 2964 |
|
2268 | 2965 |
test "$2" = conftest.file
|
|
2271 | 2968 |
# Ok.
|
2272 | 2969 |
:
|
2273 | 2970 |
else
|
2274 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
2275 | |
Check your system clock" >&5
|
2276 | |
echo "$as_me: error: newly created file is older than distributed files!
|
2277 | |
Check your system clock" >&2;}
|
2278 | |
{ (exit 1); exit 1; }; }
|
2279 | |
fi
|
2280 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2281 | |
echo "${ECHO_T}yes" >&6; }
|
|
2971 |
as_fn_error $? "newly created file is older than distributed files!
|
|
2972 |
Check your system clock" "$LINENO" 5
|
|
2973 |
fi
|
|
2974 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2975 |
$as_echo "yes" >&6; }
|
2282 | 2976 |
test "$program_prefix" != NONE &&
|
2283 | 2977 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
2284 | 2978 |
# Use a double $ so make ignores it.
|
2285 | 2979 |
test "$program_suffix" != NONE &&
|
2286 | 2980 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
2287 | |
# Double any \ or $. echo might interpret backslashes.
|
|
2981 |
# Double any \ or $.
|
2288 | 2982 |
# By default was `s,x,x', remove it if useless.
|
2289 | |
cat <<\_ACEOF >conftest.sed
|
2290 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
2291 | |
_ACEOF
|
2292 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
2293 | |
rm -f conftest.sed
|
|
2983 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
2984 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
2294 | 2985 |
|
2295 | 2986 |
# expand $ac_aux_dir to an absolute path
|
2296 | 2987 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
|
2301 | 2992 |
am_missing_run="$MISSING --run "
|
2302 | 2993 |
else
|
2303 | 2994 |
am_missing_run=
|
2304 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
2305 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
2995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
|
2996 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2306 | 2997 |
fi
|
2307 | 2998 |
|
2308 | 2999 |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
|
2342 | 3033 |
do
|
2343 | 3034 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2344 | 3035 |
set dummy $ac_prog; ac_word=$2
|
2345 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2346 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2347 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
2348 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3036 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3037 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3038 |
if ${ac_cv_prog_AWK+:} false; then :
|
|
3039 |
$as_echo_n "(cached) " >&6
|
2349 | 3040 |
else
|
2350 | 3041 |
if test -n "$AWK"; then
|
2351 | 3042 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2355 | 3046 |
do
|
2356 | 3047 |
IFS=$as_save_IFS
|
2357 | 3048 |
test -z "$as_dir" && as_dir=.
|
2358 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2359 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3049 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3050 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2360 | 3051 |
ac_cv_prog_AWK="$ac_prog"
|
2361 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3052 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2362 | 3053 |
break 2
|
2363 | 3054 |
fi
|
2364 | 3055 |
done
|
2365 | |
done
|
|
3056 |
done
|
2366 | 3057 |
IFS=$as_save_IFS
|
2367 | 3058 |
|
2368 | 3059 |
fi
|
2369 | 3060 |
fi
|
2370 | 3061 |
AWK=$ac_cv_prog_AWK
|
2371 | 3062 |
if test -n "$AWK"; then
|
2372 | |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
2373 | |
echo "${ECHO_T}$AWK" >&6; }
|
2374 | |
else
|
2375 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2376 | |
echo "${ECHO_T}no" >&6; }
|
|
3063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
3064 |
$as_echo "$AWK" >&6; }
|
|
3065 |
else
|
|
3066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3067 |
$as_echo "no" >&6; }
|
2377 | 3068 |
fi
|
2378 | 3069 |
|
2379 | 3070 |
|
2380 | 3071 |
test -n "$AWK" && break
|
2381 | 3072 |
done
|
2382 | 3073 |
|
2383 | |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2384 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
2385 | |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
2386 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
2387 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3075 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3076 |
set x ${MAKE-make}
|
|
3077 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3078 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
|
3079 |
$as_echo_n "(cached) " >&6
|
2388 | 3080 |
else
|
2389 | 3081 |
cat >conftest.make <<\_ACEOF
|
2390 | 3082 |
SHELL = /bin/sh
|
2391 | 3083 |
all:
|
2392 | 3084 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2393 | 3085 |
_ACEOF
|
2394 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
3086 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
2395 | 3087 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
2396 | 3088 |
*@@@%%%=?*=@@@%%%*)
|
2397 | 3089 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2401 | 3093 |
rm -f conftest.make
|
2402 | 3094 |
fi
|
2403 | 3095 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
2404 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2405 | |
echo "${ECHO_T}yes" >&6; }
|
|
3096 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3097 |
$as_echo "yes" >&6; }
|
2406 | 3098 |
SET_MAKE=
|
2407 | 3099 |
else
|
2408 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2409 | |
echo "${ECHO_T}no" >&6; }
|
|
3100 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3101 |
$as_echo "no" >&6; }
|
2410 | 3102 |
SET_MAKE="MAKE=${MAKE-make}"
|
2411 | 3103 |
fi
|
2412 | 3104 |
|
|
2422 | 3114 |
# test to see if srcdir already configured
|
2423 | 3115 |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
2424 | 3116 |
test -f $srcdir/config.status; then
|
2425 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
2426 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
2427 | |
{ (exit 1); exit 1; }; }
|
|
3117 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
2428 | 3118 |
fi
|
2429 | 3119 |
|
2430 | 3120 |
# test whether we have cygpath
|
|
2477 | 3167 |
if test -n "$ac_tool_prefix"; then
|
2478 | 3168 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2479 | 3169 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2480 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2481 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2482 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
2483 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3171 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3172 |
if ${ac_cv_prog_STRIP+:} false; then :
|
|
3173 |
$as_echo_n "(cached) " >&6
|
2484 | 3174 |
else
|
2485 | 3175 |
if test -n "$STRIP"; then
|
2486 | 3176 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
2490 | 3180 |
do
|
2491 | 3181 |
IFS=$as_save_IFS
|
2492 | 3182 |
test -z "$as_dir" && as_dir=.
|
2493 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2494 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3183 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3184 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2495 | 3185 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2496 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3186 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2497 | 3187 |
break 2
|
2498 | 3188 |
fi
|
2499 | 3189 |
done
|
2500 | |
done
|
|
3190 |
done
|
2501 | 3191 |
IFS=$as_save_IFS
|
2502 | 3192 |
|
2503 | 3193 |
fi
|
2504 | 3194 |
fi
|
2505 | 3195 |
STRIP=$ac_cv_prog_STRIP
|
2506 | 3196 |
if test -n "$STRIP"; then
|
2507 | |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
2508 | |
echo "${ECHO_T}$STRIP" >&6; }
|
2509 | |
else
|
2510 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2511 | |
echo "${ECHO_T}no" >&6; }
|
|
3197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
3198 |
$as_echo "$STRIP" >&6; }
|
|
3199 |
else
|
|
3200 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3201 |
$as_echo "no" >&6; }
|
2512 | 3202 |
fi
|
2513 | 3203 |
|
2514 | 3204 |
|
|
2517 | 3207 |
ac_ct_STRIP=$STRIP
|
2518 | 3208 |
# Extract the first word of "strip", so it can be a program name with args.
|
2519 | 3209 |
set dummy strip; ac_word=$2
|
2520 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2521 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2522 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
2523 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3211 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3212 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
|
3213 |
$as_echo_n "(cached) " >&6
|
2524 | 3214 |
else
|
2525 | 3215 |
if test -n "$ac_ct_STRIP"; then
|
2526 | 3216 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2530 | 3220 |
do
|
2531 | 3221 |
IFS=$as_save_IFS
|
2532 | 3222 |
test -z "$as_dir" && as_dir=.
|
2533 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2534 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3223 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3224 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2535 | 3225 |
ac_cv_prog_ac_ct_STRIP="strip"
|
2536 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3226 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2537 | 3227 |
break 2
|
2538 | 3228 |
fi
|
2539 | 3229 |
done
|
2540 | |
done
|
|
3230 |
done
|
2541 | 3231 |
IFS=$as_save_IFS
|
2542 | 3232 |
|
2543 | 3233 |
fi
|
2544 | 3234 |
fi
|
2545 | 3235 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2546 | 3236 |
if test -n "$ac_ct_STRIP"; then
|
2547 | |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
2548 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
2549 | |
else
|
2550 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2551 | |
echo "${ECHO_T}no" >&6; }
|
|
3237 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
3238 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
3239 |
else
|
|
3240 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3241 |
$as_echo "no" >&6; }
|
2552 | 3242 |
fi
|
2553 | 3243 |
|
2554 | 3244 |
if test "x$ac_ct_STRIP" = x; then
|
|
2556 | 3246 |
else
|
2557 | 3247 |
case $cross_compiling:$ac_tool_warned in
|
2558 | 3248 |
yes:)
|
2559 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2560 | |
whose name does not start with the host triplet. If you think this
|
2561 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2562 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2563 | |
whose name does not start with the host triplet. If you think this
|
2564 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3249 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3250 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2565 | 3251 |
ac_tool_warned=yes ;;
|
2566 | 3252 |
esac
|
2567 | 3253 |
STRIP=$ac_ct_STRIP
|
|
2596 | 3282 |
if test -n "$ac_tool_prefix"; then
|
2597 | 3283 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
2598 | 3284 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
2599 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2600 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2601 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2602 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3286 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3287 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3288 |
$as_echo_n "(cached) " >&6
|
2603 | 3289 |
else
|
2604 | 3290 |
if test -n "$CC"; then
|
2605 | 3291 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2609 | 3295 |
do
|
2610 | 3296 |
IFS=$as_save_IFS
|
2611 | 3297 |
test -z "$as_dir" && as_dir=.
|
2612 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2613 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3298 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3299 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2614 | 3300 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
2615 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3301 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2616 | 3302 |
break 2
|
2617 | 3303 |
fi
|
2618 | 3304 |
done
|
2619 | |
done
|
|
3305 |
done
|
2620 | 3306 |
IFS=$as_save_IFS
|
2621 | 3307 |
|
2622 | 3308 |
fi
|
2623 | 3309 |
fi
|
2624 | 3310 |
CC=$ac_cv_prog_CC
|
2625 | 3311 |
if test -n "$CC"; then
|
2626 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2627 | |
echo "${ECHO_T}$CC" >&6; }
|
2628 | |
else
|
2629 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2630 | |
echo "${ECHO_T}no" >&6; }
|
|
3312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3313 |
$as_echo "$CC" >&6; }
|
|
3314 |
else
|
|
3315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3316 |
$as_echo "no" >&6; }
|
2631 | 3317 |
fi
|
2632 | 3318 |
|
2633 | 3319 |
|
|
2636 | 3322 |
ac_ct_CC=$CC
|
2637 | 3323 |
# Extract the first word of "gcc", so it can be a program name with args.
|
2638 | 3324 |
set dummy gcc; ac_word=$2
|
2639 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2640 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2641 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2642 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3326 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3327 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
3328 |
$as_echo_n "(cached) " >&6
|
2643 | 3329 |
else
|
2644 | 3330 |
if test -n "$ac_ct_CC"; then
|
2645 | 3331 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2649 | 3335 |
do
|
2650 | 3336 |
IFS=$as_save_IFS
|
2651 | 3337 |
test -z "$as_dir" && as_dir=.
|
2652 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2653 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3338 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3339 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2654 | 3340 |
ac_cv_prog_ac_ct_CC="gcc"
|
2655 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3341 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2656 | 3342 |
break 2
|
2657 | 3343 |
fi
|
2658 | 3344 |
done
|
2659 | |
done
|
|
3345 |
done
|
2660 | 3346 |
IFS=$as_save_IFS
|
2661 | 3347 |
|
2662 | 3348 |
fi
|
2663 | 3349 |
fi
|
2664 | 3350 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2665 | 3351 |
if test -n "$ac_ct_CC"; then
|
2666 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2667 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2668 | |
else
|
2669 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2670 | |
echo "${ECHO_T}no" >&6; }
|
|
3352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3353 |
$as_echo "$ac_ct_CC" >&6; }
|
|
3354 |
else
|
|
3355 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3356 |
$as_echo "no" >&6; }
|
2671 | 3357 |
fi
|
2672 | 3358 |
|
2673 | 3359 |
if test "x$ac_ct_CC" = x; then
|
|
2675 | 3361 |
else
|
2676 | 3362 |
case $cross_compiling:$ac_tool_warned in
|
2677 | 3363 |
yes:)
|
2678 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2679 | |
whose name does not start with the host triplet. If you think this
|
2680 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2681 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2682 | |
whose name does not start with the host triplet. If you think this
|
2683 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3364 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3365 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2684 | 3366 |
ac_tool_warned=yes ;;
|
2685 | 3367 |
esac
|
2686 | 3368 |
CC=$ac_ct_CC
|
|
2693 | 3375 |
if test -n "$ac_tool_prefix"; then
|
2694 | 3376 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2695 | 3377 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2696 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2697 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2698 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2699 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3378 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3379 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3380 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3381 |
$as_echo_n "(cached) " >&6
|
2700 | 3382 |
else
|
2701 | 3383 |
if test -n "$CC"; then
|
2702 | 3384 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2706 | 3388 |
do
|
2707 | 3389 |
IFS=$as_save_IFS
|
2708 | 3390 |
test -z "$as_dir" && as_dir=.
|
2709 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2710 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3391 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3392 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2711 | 3393 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2712 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3394 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2713 | 3395 |
break 2
|
2714 | 3396 |
fi
|
2715 | 3397 |
done
|
2716 | |
done
|
|
3398 |
done
|
2717 | 3399 |
IFS=$as_save_IFS
|
2718 | 3400 |
|
2719 | 3401 |
fi
|
2720 | 3402 |
fi
|
2721 | 3403 |
CC=$ac_cv_prog_CC
|
2722 | 3404 |
if test -n "$CC"; then
|
2723 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2724 | |
echo "${ECHO_T}$CC" >&6; }
|
2725 | |
else
|
2726 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2727 | |
echo "${ECHO_T}no" >&6; }
|
|
3405 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3406 |
$as_echo "$CC" >&6; }
|
|
3407 |
else
|
|
3408 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3409 |
$as_echo "no" >&6; }
|
2728 | 3410 |
fi
|
2729 | 3411 |
|
2730 | 3412 |
|
|
2733 | 3415 |
if test -z "$CC"; then
|
2734 | 3416 |
# Extract the first word of "cc", so it can be a program name with args.
|
2735 | 3417 |
set dummy cc; ac_word=$2
|
2736 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2737 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2738 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2739 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3419 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3420 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3421 |
$as_echo_n "(cached) " >&6
|
2740 | 3422 |
else
|
2741 | 3423 |
if test -n "$CC"; then
|
2742 | 3424 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2747 | 3429 |
do
|
2748 | 3430 |
IFS=$as_save_IFS
|
2749 | 3431 |
test -z "$as_dir" && as_dir=.
|
2750 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2751 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3432 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3433 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2752 | 3434 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2753 | 3435 |
ac_prog_rejected=yes
|
2754 | 3436 |
continue
|
2755 | 3437 |
fi
|
2756 | 3438 |
ac_cv_prog_CC="cc"
|
2757 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3439 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2758 | 3440 |
break 2
|
2759 | 3441 |
fi
|
2760 | 3442 |
done
|
2761 | |
done
|
|
3443 |
done
|
2762 | 3444 |
IFS=$as_save_IFS
|
2763 | 3445 |
|
2764 | 3446 |
if test $ac_prog_rejected = yes; then
|
|
2777 | 3459 |
fi
|
2778 | 3460 |
CC=$ac_cv_prog_CC
|
2779 | 3461 |
if test -n "$CC"; then
|
2780 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2781 | |
echo "${ECHO_T}$CC" >&6; }
|
2782 | |
else
|
2783 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2784 | |
echo "${ECHO_T}no" >&6; }
|
|
3462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3463 |
$as_echo "$CC" >&6; }
|
|
3464 |
else
|
|
3465 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3466 |
$as_echo "no" >&6; }
|
2785 | 3467 |
fi
|
2786 | 3468 |
|
2787 | 3469 |
|
|
2792 | 3474 |
do
|
2793 | 3475 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2794 | 3476 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2795 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2796 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2797 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2798 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3477 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3478 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3479 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3480 |
$as_echo_n "(cached) " >&6
|
2799 | 3481 |
else
|
2800 | 3482 |
if test -n "$CC"; then
|
2801 | 3483 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2805 | 3487 |
do
|
2806 | 3488 |
IFS=$as_save_IFS
|
2807 | 3489 |
test -z "$as_dir" && as_dir=.
|
2808 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2809 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3490 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3491 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2810 | 3492 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2811 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3493 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2812 | 3494 |
break 2
|
2813 | 3495 |
fi
|
2814 | 3496 |
done
|
2815 | |
done
|
|
3497 |
done
|
2816 | 3498 |
IFS=$as_save_IFS
|
2817 | 3499 |
|
2818 | 3500 |
fi
|
2819 | 3501 |
fi
|
2820 | 3502 |
CC=$ac_cv_prog_CC
|
2821 | 3503 |
if test -n "$CC"; then
|
2822 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2823 | |
echo "${ECHO_T}$CC" >&6; }
|
2824 | |
else
|
2825 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2826 | |
echo "${ECHO_T}no" >&6; }
|
|
3504 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3505 |
$as_echo "$CC" >&6; }
|
|
3506 |
else
|
|
3507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3508 |
$as_echo "no" >&6; }
|
2827 | 3509 |
fi
|
2828 | 3510 |
|
2829 | 3511 |
|
|
2836 | 3518 |
do
|
2837 | 3519 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2838 | 3520 |
set dummy $ac_prog; ac_word=$2
|
2839 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2840 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2841 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2842 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3522 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3523 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
3524 |
$as_echo_n "(cached) " >&6
|
2843 | 3525 |
else
|
2844 | 3526 |
if test -n "$ac_ct_CC"; then
|
2845 | 3527 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2849 | 3531 |
do
|
2850 | 3532 |
IFS=$as_save_IFS
|
2851 | 3533 |
test -z "$as_dir" && as_dir=.
|
2852 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2853 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3534 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3535 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2854 | 3536 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2855 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3537 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2856 | 3538 |
break 2
|
2857 | 3539 |
fi
|
2858 | 3540 |
done
|
2859 | |
done
|
|
3541 |
done
|
2860 | 3542 |
IFS=$as_save_IFS
|
2861 | 3543 |
|
2862 | 3544 |
fi
|
2863 | 3545 |
fi
|
2864 | 3546 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2865 | 3547 |
if test -n "$ac_ct_CC"; then
|
2866 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2867 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2868 | |
else
|
2869 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2870 | |
echo "${ECHO_T}no" >&6; }
|
|
3548 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3549 |
$as_echo "$ac_ct_CC" >&6; }
|
|
3550 |
else
|
|
3551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3552 |
$as_echo "no" >&6; }
|
2871 | 3553 |
fi
|
2872 | 3554 |
|
2873 | 3555 |
|
|
2879 | 3561 |
else
|
2880 | 3562 |
case $cross_compiling:$ac_tool_warned in
|
2881 | 3563 |
yes:)
|
2882 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2883 | |
whose name does not start with the host triplet. If you think this
|
2884 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2885 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2886 | |
whose name does not start with the host triplet. If you think this
|
2887 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3565 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2888 | 3566 |
ac_tool_warned=yes ;;
|
2889 | 3567 |
esac
|
2890 | 3568 |
CC=$ac_ct_CC
|
|
2894 | 3572 |
fi
|
2895 | 3573 |
|
2896 | 3574 |
|
2897 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2898 | |
See \`config.log' for more details." >&5
|
2899 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2900 | |
See \`config.log' for more details." >&2;}
|
2901 | |
{ (exit 1); exit 1; }; }
|
|
3575 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3576 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3577 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
3578 |
See \`config.log' for more details" "$LINENO" 5; }
|
2902 | 3579 |
|
2903 | 3580 |
# Provide some information about the compiler.
|
2904 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
2905 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2906 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3581 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
3582 |
set X $ac_compile
|
|
3583 |
ac_compiler=$2
|
|
3584 |
for ac_option in --version -v -V -qversion; do
|
|
3585 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2907 | 3586 |
case "(($ac_try" in
|
2908 | 3587 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2909 | 3588 |
*) ac_try_echo=$ac_try;;
|
2910 | 3589 |
esac
|
2911 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2912 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3590 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3591 |
$as_echo "$ac_try_echo"; } >&5
|
|
3592 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2913 | 3593 |
ac_status=$?
|
2914 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2915 | |
(exit $ac_status); }
|
2916 | |
{ (ac_try="$ac_compiler -v >&5"
|
2917 | |
case "(($ac_try" in
|
2918 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2919 | |
*) ac_try_echo=$ac_try;;
|
2920 | |
esac
|
2921 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2922 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2923 | |
ac_status=$?
|
2924 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2925 | |
(exit $ac_status); }
|
2926 | |
{ (ac_try="$ac_compiler -V >&5"
|
2927 | |
case "(($ac_try" in
|
2928 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2929 | |
*) ac_try_echo=$ac_try;;
|
2930 | |
esac
|
2931 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2932 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2933 | |
ac_status=$?
|
2934 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2935 | |
(exit $ac_status); }
|
2936 | |
|
2937 | |
cat >conftest.$ac_ext <<_ACEOF
|
2938 | |
/* confdefs.h. */
|
2939 | |
_ACEOF
|
2940 | |
cat confdefs.h >>conftest.$ac_ext
|
2941 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3594 |
if test -s conftest.err; then
|
|
3595 |
sed '10a\
|
|
3596 |
... rest of stderr output deleted ...
|
|
3597 |
10q' conftest.err >conftest.er1
|
|
3598 |
cat conftest.er1 >&5
|
|
3599 |
fi
|
|
3600 |
rm -f conftest.er1 conftest.err
|
|
3601 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3602 |
test $ac_status = 0; }
|
|
3603 |
done
|
|
3604 |
|
|
3605 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2942 | 3606 |
/* end confdefs.h. */
|
2943 | 3607 |
|
2944 | 3608 |
int
|
|
2950 | 3614 |
}
|
2951 | 3615 |
_ACEOF
|
2952 | 3616 |
ac_clean_files_save=$ac_clean_files
|
2953 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
3617 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
2954 | 3618 |
# Try to create an executable without -o first, disregard a.out.
|
2955 | 3619 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2956 | 3620 |
# of exeext.
|
2957 | |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2958 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
2959 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2960 | |
#
|
2961 | |
# List of possible output files, starting from the most likely.
|
2962 | |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
2963 | |
# only as a last resort. b.out is created by i960 compilers.
|
2964 | |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
2965 | |
#
|
2966 | |
# The IRIX 6 linker writes into existing files which may not be
|
2967 | |
# executable, retaining their permissions. Remove them first so a
|
2968 | |
# subsequent execution test works.
|
|
3621 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3622 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
|
3623 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
3624 |
|
|
3625 |
# The possible output files:
|
|
3626 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3627 |
|
2969 | 3628 |
ac_rmfiles=
|
2970 | 3629 |
for ac_file in $ac_files
|
2971 | 3630 |
do
|
2972 | 3631 |
case $ac_file in
|
2973 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
3632 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2974 | 3633 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2975 | 3634 |
esac
|
2976 | 3635 |
done
|
2977 | 3636 |
rm -f $ac_rmfiles
|
2978 | 3637 |
|
2979 | |
if { (ac_try="$ac_link_default"
|
|
3638 |
if { { ac_try="$ac_link_default"
|
2980 | 3639 |
case "(($ac_try" in
|
2981 | 3640 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2982 | 3641 |
*) ac_try_echo=$ac_try;;
|
2983 | 3642 |
esac
|
2984 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3643 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3644 |
$as_echo "$ac_try_echo"; } >&5
|
2985 | 3645 |
(eval "$ac_link_default") 2>&5
|
2986 | 3646 |
ac_status=$?
|
2987 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2988 | |
(exit $ac_status); }; then
|
|
3647 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3648 |
test $ac_status = 0; }; then :
|
2989 | 3649 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2990 | 3650 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2991 | 3651 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2995 | 3655 |
do
|
2996 | 3656 |
test -f "$ac_file" || continue
|
2997 | 3657 |
case $ac_file in
|
2998 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
|
3658 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2999 | 3659 |
;;
|
3000 | 3660 |
[ab].out )
|
3001 | 3661 |
# We found the default executable, but exeext='' is most
|
3002 | 3662 |
# certainly right.
|
3003 | 3663 |
break;;
|
3004 | 3664 |
*.* )
|
3005 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3665 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
3006 | 3666 |
then :; else
|
3007 | 3667 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3008 | 3668 |
fi
|
|
3021 | 3681 |
else
|
3022 | 3682 |
ac_file=''
|
3023 | 3683 |
fi
|
3024 | |
|
3025 | |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
3026 | |
echo "${ECHO_T}$ac_file" >&6; }
|
3027 | |
if test -z "$ac_file"; then
|
3028 | |
echo "$as_me: failed program was:" >&5
|
|
3684 |
if test -z "$ac_file"; then :
|
|
3685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3686 |
$as_echo "no" >&6; }
|
|
3687 |
$as_echo "$as_me: failed program was:" >&5
|
3029 | 3688 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3030 | 3689 |
|
3031 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
3032 | |
See \`config.log' for more details." >&5
|
3033 | |
echo "$as_me: error: C compiler cannot create executables
|
3034 | |
See \`config.log' for more details." >&2;}
|
3035 | |
{ (exit 77); exit 77; }; }
|
3036 | |
fi
|
3037 | |
|
|
3690 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3691 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3692 |
as_fn_error 77 "C compiler cannot create executables
|
|
3693 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3694 |
else
|
|
3695 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3696 |
$as_echo "yes" >&6; }
|
|
3697 |
fi
|
|
3698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3699 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3700 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
3701 |
$as_echo "$ac_file" >&6; }
|
3038 | 3702 |
ac_exeext=$ac_cv_exeext
|
3039 | 3703 |
|
3040 | |
# Check that the compiler produces executables we can run. If not, either
|
3041 | |
# the compiler is broken, or we cross compile.
|
3042 | |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
3043 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
3044 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
3045 | |
# If not cross compiling, check that we can run a simple program.
|
3046 | |
if test "$cross_compiling" != yes; then
|
3047 | |
if { ac_try='./$ac_file'
|
3048 | |
{ (case "(($ac_try" in
|
3049 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3050 | |
*) ac_try_echo=$ac_try;;
|
3051 | |
esac
|
3052 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3053 | |
(eval "$ac_try") 2>&5
|
3054 | |
ac_status=$?
|
3055 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3056 | |
(exit $ac_status); }; }; then
|
3057 | |
cross_compiling=no
|
3058 | |
else
|
3059 | |
if test "$cross_compiling" = maybe; then
|
3060 | |
cross_compiling=yes
|
3061 | |
else
|
3062 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
3063 | |
If you meant to cross compile, use \`--host'.
|
3064 | |
See \`config.log' for more details." >&5
|
3065 | |
echo "$as_me: error: cannot run C compiled programs.
|
3066 | |
If you meant to cross compile, use \`--host'.
|
3067 | |
See \`config.log' for more details." >&2;}
|
3068 | |
{ (exit 1); exit 1; }; }
|
3069 | |
fi
|
3070 | |
fi
|
3071 | |
fi
|
3072 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3073 | |
echo "${ECHO_T}yes" >&6; }
|
3074 | |
|
3075 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
3704 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
3076 | 3705 |
ac_clean_files=$ac_clean_files_save
|
3077 | |
# Check that the compiler produces executables we can run. If not, either
|
3078 | |
# the compiler is broken, or we cross compile.
|
3079 | |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
3080 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
3081 | |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
3082 | |
echo "${ECHO_T}$cross_compiling" >&6; }
|
3083 | |
|
3084 | |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
3085 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
3086 | |
if { (ac_try="$ac_link"
|
|
3706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
3707 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
3708 |
if { { ac_try="$ac_link"
|
3087 | 3709 |
case "(($ac_try" in
|
3088 | 3710 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3089 | 3711 |
*) ac_try_echo=$ac_try;;
|
3090 | 3712 |
esac
|
3091 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3713 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3714 |
$as_echo "$ac_try_echo"; } >&5
|
3092 | 3715 |
(eval "$ac_link") 2>&5
|
3093 | 3716 |
ac_status=$?
|
3094 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3095 | |
(exit $ac_status); }; then
|
|
3717 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3718 |
test $ac_status = 0; }; then :
|
3096 | 3719 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
3097 | 3720 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
3098 | 3721 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
3100 | 3723 |
for ac_file in conftest.exe conftest conftest.*; do
|
3101 | 3724 |
test -f "$ac_file" || continue
|
3102 | 3725 |
case $ac_file in
|
3103 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
3726 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
3104 | 3727 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3105 | 3728 |
break;;
|
3106 | 3729 |
* ) break;;
|
3107 | 3730 |
esac
|
3108 | 3731 |
done
|
3109 | 3732 |
else
|
3110 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
3111 | |
See \`config.log' for more details." >&5
|
3112 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
3113 | |
See \`config.log' for more details." >&2;}
|
3114 | |
{ (exit 1); exit 1; }; }
|
3115 | |
fi
|
3116 | |
|
3117 | |
rm -f conftest$ac_cv_exeext
|
3118 | |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
3119 | |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
|
3733 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3734 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3735 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
|
3736 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3737 |
fi
|
|
3738 |
rm -f conftest conftest$ac_cv_exeext
|
|
3739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3740 |
$as_echo "$ac_cv_exeext" >&6; }
|
3120 | 3741 |
|
3121 | 3742 |
rm -f conftest.$ac_ext
|
3122 | 3743 |
EXEEXT=$ac_cv_exeext
|
3123 | 3744 |
ac_exeext=$EXEEXT
|
3124 | |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
3125 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
3126 | |
if test "${ac_cv_objext+set}" = set; then
|
3127 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3128 | |
else
|
3129 | |
cat >conftest.$ac_ext <<_ACEOF
|
3130 | |
/* confdefs.h. */
|
|
3745 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3746 |
/* end confdefs.h. */
|
|
3747 |
#include <stdio.h>
|
|
3748 |
int
|
|
3749 |
main ()
|
|
3750 |
{
|
|
3751 |
FILE *f = fopen ("conftest.out", "w");
|
|
3752 |
return ferror (f) || fclose (f) != 0;
|
|
3753 |
|
|
3754 |
;
|
|
3755 |
return 0;
|
|
3756 |
}
|
3131 | 3757 |
_ACEOF
|
3132 | |
cat confdefs.h >>conftest.$ac_ext
|
3133 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3758 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3759 |
# Check that the compiler produces executables we can run. If not, either
|
|
3760 |
# the compiler is broken, or we cross compile.
|
|
3761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3762 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3763 |
if test "$cross_compiling" != yes; then
|
|
3764 |
{ { ac_try="$ac_link"
|
|
3765 |
case "(($ac_try" in
|
|
3766 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3767 |
*) ac_try_echo=$ac_try;;
|
|
3768 |
esac
|
|
3769 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3770 |
$as_echo "$ac_try_echo"; } >&5
|
|
3771 |
(eval "$ac_link") 2>&5
|
|
3772 |
ac_status=$?
|
|
3773 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3774 |
test $ac_status = 0; }
|
|
3775 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3776 |
{ { case "(($ac_try" in
|
|
3777 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3778 |
*) ac_try_echo=$ac_try;;
|
|
3779 |
esac
|
|
3780 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3781 |
$as_echo "$ac_try_echo"; } >&5
|
|
3782 |
(eval "$ac_try") 2>&5
|
|
3783 |
ac_status=$?
|
|
3784 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3785 |
test $ac_status = 0; }; }; then
|
|
3786 |
cross_compiling=no
|
|
3787 |
else
|
|
3788 |
if test "$cross_compiling" = maybe; then
|
|
3789 |
cross_compiling=yes
|
|
3790 |
else
|
|
3791 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3792 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3793 |
as_fn_error $? "cannot run C compiled programs.
|
|
3794 |
If you meant to cross compile, use \`--host'.
|
|
3795 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3796 |
fi
|
|
3797 |
fi
|
|
3798 |
fi
|
|
3799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3800 |
$as_echo "$cross_compiling" >&6; }
|
|
3801 |
|
|
3802 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3803 |
ac_clean_files=$ac_clean_files_save
|
|
3804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3805 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3806 |
if ${ac_cv_objext+:} false; then :
|
|
3807 |
$as_echo_n "(cached) " >&6
|
|
3808 |
else
|
|
3809 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3134 | 3810 |
/* end confdefs.h. */
|
3135 | 3811 |
|
3136 | 3812 |
int
|
|
3142 | 3818 |
}
|
3143 | 3819 |
_ACEOF
|
3144 | 3820 |
rm -f conftest.o conftest.obj
|
3145 | |
if { (ac_try="$ac_compile"
|
|
3821 |
if { { ac_try="$ac_compile"
|
3146 | 3822 |
case "(($ac_try" in
|
3147 | 3823 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3148 | 3824 |
*) ac_try_echo=$ac_try;;
|
3149 | 3825 |
esac
|
3150 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3826 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3827 |
$as_echo "$ac_try_echo"; } >&5
|
3151 | 3828 |
(eval "$ac_compile") 2>&5
|
3152 | 3829 |
ac_status=$?
|
3153 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3154 | |
(exit $ac_status); }; then
|
|
3830 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3831 |
test $ac_status = 0; }; then :
|
3155 | 3832 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
3156 | 3833 |
test -f "$ac_file" || continue;
|
3157 | 3834 |
case $ac_file in
|
3158 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
|
3835 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
3159 | 3836 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
3160 | 3837 |
break;;
|
3161 | 3838 |
esac
|
3162 | 3839 |
done
|
3163 | 3840 |
else
|
3164 | |
echo "$as_me: failed program was:" >&5
|
|
3841 |
$as_echo "$as_me: failed program was:" >&5
|
3165 | 3842 |
sed 's/^/| /' conftest.$ac_ext >&5
|
3166 | 3843 |
|
3167 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
3168 | |
See \`config.log' for more details." >&5
|
3169 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
3170 | |
See \`config.log' for more details." >&2;}
|
3171 | |
{ (exit 1); exit 1; }; }
|
3172 | |
fi
|
3173 | |
|
|
3844 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3845 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3846 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
|
3847 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3848 |
fi
|
3174 | 3849 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
3175 | 3850 |
fi
|
3176 | |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
3177 | |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
|
3851 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
3852 |
$as_echo "$ac_cv_objext" >&6; }
|
3178 | 3853 |
OBJEXT=$ac_cv_objext
|
3179 | 3854 |
ac_objext=$OBJEXT
|
3180 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
3181 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
3182 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
3183 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3184 | |
else
|
3185 | |
cat >conftest.$ac_ext <<_ACEOF
|
3186 | |
/* confdefs.h. */
|
3187 | |
_ACEOF
|
3188 | |
cat confdefs.h >>conftest.$ac_ext
|
3189 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3855 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
3856 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
3857 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
|
3858 |
$as_echo_n "(cached) " >&6
|
|
3859 |
else
|
|
3860 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3190 | 3861 |
/* end confdefs.h. */
|
3191 | 3862 |
|
3192 | 3863 |
int
|
|
3200 | 3871 |
return 0;
|
3201 | 3872 |
}
|
3202 | 3873 |
_ACEOF
|
3203 | |
rm -f conftest.$ac_objext
|
3204 | |
if { (ac_try="$ac_compile"
|
3205 | |
case "(($ac_try" in
|
3206 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3207 | |
*) ac_try_echo=$ac_try;;
|
3208 | |
esac
|
3209 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3210 | |
(eval "$ac_compile") 2>conftest.er1
|
3211 | |
ac_status=$?
|
3212 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3213 | |
rm -f conftest.er1
|
3214 | |
cat conftest.err >&5
|
3215 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3216 | |
(exit $ac_status); } && {
|
3217 | |
test -z "$ac_c_werror_flag" ||
|
3218 | |
test ! -s conftest.err
|
3219 | |
} && test -s conftest.$ac_objext; then
|
|
3874 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3220 | 3875 |
ac_compiler_gnu=yes
|
3221 | 3876 |
else
|
3222 | |
echo "$as_me: failed program was:" >&5
|
3223 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3224 | |
|
3225 | |
ac_compiler_gnu=no
|
3226 | |
fi
|
3227 | |
|
|
3877 |
ac_compiler_gnu=no
|
|
3878 |
fi
|
3228 | 3879 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3229 | 3880 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
3230 | 3881 |
|
3231 | 3882 |
fi
|
3232 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
3233 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
3234 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3883 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
3884 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
3885 |
if test $ac_compiler_gnu = yes; then
|
|
3886 |
GCC=yes
|
|
3887 |
else
|
|
3888 |
GCC=
|
|
3889 |
fi
|
3235 | 3890 |
ac_test_CFLAGS=${CFLAGS+set}
|
3236 | 3891 |
ac_save_CFLAGS=$CFLAGS
|
3237 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
3238 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
3239 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
3240 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3892 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
3893 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
3894 |
if ${ac_cv_prog_cc_g+:} false; then :
|
|
3895 |
$as_echo_n "(cached) " >&6
|
3241 | 3896 |
else
|
3242 | 3897 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
3243 | 3898 |
ac_c_werror_flag=yes
|
3244 | 3899 |
ac_cv_prog_cc_g=no
|
3245 | 3900 |
CFLAGS="-g"
|
3246 | |
cat >conftest.$ac_ext <<_ACEOF
|
3247 | |
/* confdefs.h. */
|
3248 | |
_ACEOF
|
3249 | |
cat confdefs.h >>conftest.$ac_ext
|
3250 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3901 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3251 | 3902 |
/* end confdefs.h. */
|
3252 | 3903 |
|
3253 | 3904 |
int
|
|
3258 | 3909 |
return 0;
|
3259 | 3910 |
}
|
3260 | 3911 |
_ACEOF
|
3261 | |
rm -f conftest.$ac_objext
|
3262 | |
if { (ac_try="$ac_compile"
|
3263 | |
case "(($ac_try" in
|
3264 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3265 | |
*) ac_try_echo=$ac_try;;
|
3266 | |
esac
|
3267 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3268 | |
(eval "$ac_compile") 2>conftest.er1
|
3269 | |
ac_status=$?
|
3270 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3271 | |
rm -f conftest.er1
|
3272 | |
cat conftest.err >&5
|
3273 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3274 | |
(exit $ac_status); } && {
|
3275 | |
test -z "$ac_c_werror_flag" ||
|
3276 | |
test ! -s conftest.err
|
3277 | |
} && test -s conftest.$ac_objext; then
|
|
3912 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3278 | 3913 |
ac_cv_prog_cc_g=yes
|
3279 | 3914 |
else
|
3280 | |
echo "$as_me: failed program was:" >&5
|
3281 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3282 | |
|
3283 | |
CFLAGS=""
|
3284 | |
cat >conftest.$ac_ext <<_ACEOF
|
3285 | |
/* confdefs.h. */
|
3286 | |
_ACEOF
|
3287 | |
cat confdefs.h >>conftest.$ac_ext
|
3288 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3915 |
CFLAGS=""
|
|
3916 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3289 | 3917 |
/* end confdefs.h. */
|
3290 | 3918 |
|
3291 | 3919 |
int
|
|
3296 | 3924 |
return 0;
|
3297 | 3925 |
}
|
3298 | 3926 |
_ACEOF
|
3299 | |
rm -f conftest.$ac_objext
|
3300 | |
if { (ac_try="$ac_compile"
|
3301 | |
case "(($ac_try" in
|
3302 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3303 | |
*) ac_try_echo=$ac_try;;
|
3304 | |
esac
|
3305 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3306 | |
(eval "$ac_compile") 2>conftest.er1
|
3307 | |
ac_status=$?
|
3308 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3309 | |
rm -f conftest.er1
|
3310 | |
cat conftest.err >&5
|
3311 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3312 | |
(exit $ac_status); } && {
|
3313 | |
test -z "$ac_c_werror_flag" ||
|
3314 | |
test ! -s conftest.err
|
3315 | |
} && test -s conftest.$ac_objext; then
|
3316 | |
:
|
3317 | |
else
|
3318 | |
echo "$as_me: failed program was:" >&5
|
3319 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3320 | |
|
3321 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3927 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3928 |
|
|
3929 |
else
|
|
3930 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3322 | 3931 |
CFLAGS="-g"
|
3323 | |
cat >conftest.$ac_ext <<_ACEOF
|
3324 | |
/* confdefs.h. */
|
3325 | |
_ACEOF
|
3326 | |
cat confdefs.h >>conftest.$ac_ext
|
3327 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3932 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3328 | 3933 |
/* end confdefs.h. */
|
3329 | 3934 |
|
3330 | 3935 |
int
|
|
3335 | 3940 |
return 0;
|
3336 | 3941 |
}
|
3337 | 3942 |
_ACEOF
|
3338 | |
rm -f conftest.$ac_objext
|
3339 | |
if { (ac_try="$ac_compile"
|
3340 | |
case "(($ac_try" in
|
3341 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3342 | |
*) ac_try_echo=$ac_try;;
|
3343 | |
esac
|
3344 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3345 | |
(eval "$ac_compile") 2>conftest.er1
|
3346 | |
ac_status=$?
|
3347 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3348 | |
rm -f conftest.er1
|
3349 | |
cat conftest.err >&5
|
3350 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3351 | |
(exit $ac_status); } && {
|
3352 | |
test -z "$ac_c_werror_flag" ||
|
3353 | |
test ! -s conftest.err
|
3354 | |
} && test -s conftest.$ac_objext; then
|
|
3943 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3355 | 3944 |
ac_cv_prog_cc_g=yes
|
3356 | |
else
|
3357 | |
echo "$as_me: failed program was:" >&5
|
3358 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3359 | |
|
3360 | |
|
3361 | |
fi
|
3362 | |
|
|
3945 |
fi
|
3363 | 3946 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3364 | 3947 |
fi
|
3365 | |
|
3366 | 3948 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3367 | 3949 |
fi
|
3368 | |
|
3369 | 3950 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3370 | 3951 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
3371 | 3952 |
fi
|
3372 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
3373 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
3953 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
3954 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
3374 | 3955 |
if test "$ac_test_CFLAGS" = set; then
|
3375 | 3956 |
CFLAGS=$ac_save_CFLAGS
|
3376 | 3957 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
3386 | 3967 |
CFLAGS=
|
3387 | 3968 |
fi
|
3388 | 3969 |
fi
|
3389 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
3390 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
3391 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
3392 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
3971 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3972 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
|
3973 |
$as_echo_n "(cached) " >&6
|
3393 | 3974 |
else
|
3394 | 3975 |
ac_cv_prog_cc_c89=no
|
3395 | 3976 |
ac_save_CC=$CC
|
3396 | |
cat >conftest.$ac_ext <<_ACEOF
|
3397 | |
/* confdefs.h. */
|
3398 | |
_ACEOF
|
3399 | |
cat confdefs.h >>conftest.$ac_ext
|
3400 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3977 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3401 | 3978 |
/* end confdefs.h. */
|
3402 | 3979 |
#include <stdarg.h>
|
3403 | 3980 |
#include <stdio.h>
|
3404 | |
#include <sys/types.h>
|
3405 | |
#include <sys/stat.h>
|
|
3981 |
struct stat;
|
3406 | 3982 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
3407 | 3983 |
struct buf { int x; };
|
3408 | 3984 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
3454 | 4030 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
3455 | 4031 |
do
|
3456 | 4032 |
CC="$ac_save_CC $ac_arg"
|
3457 | |
rm -f conftest.$ac_objext
|
3458 | |
if { (ac_try="$ac_compile"
|
3459 | |
case "(($ac_try" in
|
3460 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3461 | |
*) ac_try_echo=$ac_try;;
|
3462 | |
esac
|
3463 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3464 | |
(eval "$ac_compile") 2>conftest.er1
|
3465 | |
ac_status=$?
|
3466 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3467 | |
rm -f conftest.er1
|
3468 | |
cat conftest.err >&5
|
3469 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3470 | |
(exit $ac_status); } && {
|
3471 | |
test -z "$ac_c_werror_flag" ||
|
3472 | |
test ! -s conftest.err
|
3473 | |
} && test -s conftest.$ac_objext; then
|
|
4033 |
if ac_fn_c_try_compile "$LINENO"; then :
|
3474 | 4034 |
ac_cv_prog_cc_c89=$ac_arg
|
3475 | |
else
|
3476 | |
echo "$as_me: failed program was:" >&5
|
3477 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3478 | |
|
3479 | |
|
3480 | |
fi
|
3481 | |
|
|
4035 |
fi
|
3482 | 4036 |
rm -f core conftest.err conftest.$ac_objext
|
3483 | 4037 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
3484 | 4038 |
done
|
|
3489 | 4043 |
# AC_CACHE_VAL
|
3490 | 4044 |
case "x$ac_cv_prog_cc_c89" in
|
3491 | 4045 |
x)
|
3492 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
3493 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
4046 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4047 |
$as_echo "none needed" >&6; } ;;
|
3494 | 4048 |
xno)
|
3495 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
3496 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
4049 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4050 |
$as_echo "unsupported" >&6; } ;;
|
3497 | 4051 |
*)
|
3498 | 4052 |
CC="$CC $ac_cv_prog_cc_c89"
|
3499 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
3500 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
4053 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
4054 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
3501 | 4055 |
esac
|
3502 | |
|
|
4056 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
4057 |
|
|
4058 |
fi
|
3503 | 4059 |
|
3504 | 4060 |
ac_ext=c
|
3505 | 4061 |
ac_cpp='$CPP $CPPFLAGS'
|
|
3518 | 4074 |
.PHONY: am__doit
|
3519 | 4075 |
END
|
3520 | 4076 |
# If we don't find an include directive, just comment out the code.
|
3521 | |
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
3522 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
|
4077 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
4078 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
3523 | 4079 |
am__include="#"
|
3524 | 4080 |
am__quote=
|
3525 | 4081 |
_am_result=none
|
|
3546 | 4102 |
fi
|
3547 | 4103 |
|
3548 | 4104 |
|
3549 | |
{ echo "$as_me:$LINENO: result: $_am_result" >&5
|
3550 | |
echo "${ECHO_T}$_am_result" >&6; }
|
|
4105 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
4106 |
$as_echo "$_am_result" >&6; }
|
3551 | 4107 |
rm -f confinc confmf
|
3552 | 4108 |
|
3553 | 4109 |
# Check whether --enable-dependency-tracking was given.
|
3554 | |
if test "${enable_dependency_tracking+set}" = set; then
|
|
4110 |
if test "${enable_dependency_tracking+set}" = set; then :
|
3555 | 4111 |
enableval=$enable_dependency_tracking;
|
3556 | 4112 |
fi
|
3557 | 4113 |
|
|
3574 | 4130 |
|
3575 | 4131 |
depcc="$CC" am_compiler_list=
|
3576 | 4132 |
|
3577 | |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
3578 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
3579 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
3580 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4133 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
4134 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
4135 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
|
4136 |
$as_echo_n "(cached) " >&6
|
3581 | 4137 |
else
|
3582 | 4138 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
3583 | 4139 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
3664 | 4220 |
fi
|
3665 | 4221 |
|
3666 | 4222 |
fi
|
3667 | |
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
3668 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
4223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
4224 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
3669 | 4225 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
3670 | 4226 |
|
3671 | 4227 |
|
|
3681 | 4237 |
fi
|
3682 | 4238 |
|
3683 | 4239 |
|
3684 | |
# Find a good install program. We prefer a C program (faster),
|
3685 | |
# so one script is as good as another. But avoid the broken or
|
3686 | |
# incompatible versions:
|
3687 | |
# SysV /etc/install, /usr/sbin/install
|
3688 | |
# SunOS /usr/etc/install
|
3689 | |
# IRIX /sbin/install
|
3690 | |
# AIX /bin/install
|
3691 | |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
3692 | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
3693 | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
3694 | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3695 | |
# OS/2's system install, which has a completely different semantic
|
3696 | |
# ./install, which can be erroneously created by make from ./install.sh.
|
3697 | |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3698 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
3699 | |
if test -z "$INSTALL"; then
|
3700 | |
if test "${ac_cv_path_install+set}" = set; then
|
3701 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3702 | |
else
|
3703 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3704 | |
for as_dir in $PATH
|
3705 | |
do
|
3706 | |
IFS=$as_save_IFS
|
3707 | |
test -z "$as_dir" && as_dir=.
|
3708 | |
# Account for people who put trailing slashes in PATH elements.
|
3709 | |
case $as_dir/ in
|
3710 | |
./ | .// | /cC/* | \
|
3711 | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3712 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
3713 | |
/usr/ucb/* ) ;;
|
3714 | |
*)
|
3715 | |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
3716 | |
# Don't use installbsd from OSF since it installs stuff as root
|
3717 | |
# by default.
|
3718 | |
for ac_prog in ginstall scoinst install; do
|
3719 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3720 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
3721 | |
if test $ac_prog = install &&
|
3722 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3723 | |
# AIX install. It has an incompatible calling convention.
|
3724 | |
:
|
3725 | |
elif test $ac_prog = install &&
|
3726 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3727 | |
# program-specific install script used by HP pwplus--don't use.
|
3728 | |
:
|
3729 | |
else
|
3730 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3731 | |
break 3
|
3732 | |
fi
|
3733 | |
fi
|
3734 | |
done
|
3735 | |
done
|
3736 | |
;;
|
3737 | |
esac
|
3738 | |
done
|
3739 | |
IFS=$as_save_IFS
|
3740 | |
|
3741 | |
|
3742 | |
fi
|
3743 | |
if test "${ac_cv_path_install+set}" = set; then
|
3744 | |
INSTALL=$ac_cv_path_install
|
3745 | |
else
|
3746 | |
# As a last resort, use the slow shell script. Don't cache a
|
3747 | |
# value for INSTALL within a source directory, because that will
|
3748 | |
# break other packages using the cache if that directory is
|
3749 | |
# removed, or if the value is a relative name.
|
3750 | |
INSTALL=$ac_install_sh
|
3751 | |
fi
|
3752 | |
fi
|
3753 | |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3754 | |
echo "${ECHO_T}$INSTALL" >&6; }
|
3755 | |
|
3756 | |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3757 | |
# It thinks the first close brace ends the variable substitution.
|
3758 | |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
3759 | |
|
3760 | |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
3761 | |
|
3762 | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3763 | |
|
3764 | |
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
|
3765 | |
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
|
|
4240 |
|
|
4241 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
|
4242 |
$as_echo_n "checking whether ln -s works... " >&6; }
|
3766 | 4243 |
LN_S=$as_ln_s
|
3767 | 4244 |
if test "$LN_S" = "ln -s"; then
|
3768 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3769 | |
echo "${ECHO_T}yes" >&6; }
|
3770 | |
else
|
3771 | |
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
|
3772 | |
echo "${ECHO_T}no, using $LN_S" >&6; }
|
|
4245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
4246 |
$as_echo "yes" >&6; }
|
|
4247 |
else
|
|
4248 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
|
4249 |
$as_echo "no, using $LN_S" >&6; }
|
3773 | 4250 |
fi
|
3774 | 4251 |
|
3775 | 4252 |
# Check whether --enable-shared was given.
|
3776 | |
if test "${enable_shared+set}" = set; then
|
|
4253 |
if test "${enable_shared+set}" = set; then :
|
3777 | 4254 |
enableval=$enable_shared; p=${PACKAGE-default}
|
3778 | 4255 |
case $enableval in
|
3779 | 4256 |
yes) enable_shared=yes ;;
|
|
3797 | 4274 |
|
3798 | 4275 |
|
3799 | 4276 |
# Check whether --enable-static was given.
|
3800 | |
if test "${enable_static+set}" = set; then
|
|
4277 |
if test "${enable_static+set}" = set; then :
|
3801 | 4278 |
enableval=$enable_static; p=${PACKAGE-default}
|
3802 | 4279 |
case $enableval in
|
3803 | 4280 |
yes) enable_static=yes ;;
|
|
3821 | 4298 |
|
3822 | 4299 |
|
3823 | 4300 |
# Check whether --enable-fast-install was given.
|
3824 | |
if test "${enable_fast_install+set}" = set; then
|
|
4301 |
if test "${enable_fast_install+set}" = set; then :
|
3825 | 4302 |
enableval=$enable_fast_install; p=${PACKAGE-default}
|
3826 | 4303 |
case $enableval in
|
3827 | 4304 |
yes) enable_fast_install=yes ;;
|
|
3844 | 4321 |
fi
|
3845 | 4322 |
|
3846 | 4323 |
|
3847 | |
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
|
3848 | |
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
|
3849 | |
if test "${lt_cv_path_SED+set}" = set; then
|
3850 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4324 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
|
4325 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
|
4326 |
if ${lt_cv_path_SED+:} false; then :
|
|
4327 |
$as_echo_n "(cached) " >&6
|
3851 | 4328 |
else
|
3852 | 4329 |
# Loop through the user's path and test for sed and gsed.
|
3853 | 4330 |
# Then use that list of sed's as ones to test for truncation.
|
|
3858 | 4335 |
test -z "$as_dir" && as_dir=.
|
3859 | 4336 |
for lt_ac_prog in sed gsed; do
|
3860 | 4337 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3861 | |
if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
|
|
4338 |
if as_fn_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
|
3862 | 4339 |
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
|
3863 | 4340 |
fi
|
3864 | 4341 |
done
|
|
3900 | 4377 |
|
3901 | 4378 |
SED=$lt_cv_path_SED
|
3902 | 4379 |
|
3903 | |
{ echo "$as_me:$LINENO: result: $SED" >&5
|
3904 | |
echo "${ECHO_T}$SED" >&6; }
|
3905 | |
|
3906 | |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
3907 | |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
3908 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3909 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3910 | |
else
|
3911 | |
# Extract the first word of "grep ggrep" to use in msg output
|
3912 | |
if test -z "$GREP"; then
|
3913 | |
set dummy grep ggrep; ac_prog_name=$2
|
3914 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3915 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3916 | |
else
|
|
4380 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
|
|
4381 |
$as_echo "$SED" >&6; }
|
|
4382 |
|
|
4383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
4384 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
|
4385 |
if ${ac_cv_path_GREP+:} false; then :
|
|
4386 |
$as_echo_n "(cached) " >&6
|
|
4387 |
else
|
|
4388 |
if test -z "$GREP"; then
|
3917 | 4389 |
ac_path_GREP_found=false
|
3918 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3919 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4390 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4391 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3920 | 4392 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3921 | 4393 |
do
|
3922 | 4394 |
IFS=$as_save_IFS
|
3923 | 4395 |
test -z "$as_dir" && as_dir=.
|
3924 | |
for ac_prog in grep ggrep; do
|
3925 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3926 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3927 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3928 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
4396 |
for ac_prog in grep ggrep; do
|
|
4397 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4398 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4399 |
as_fn_executable_p "$ac_path_GREP" || continue
|
|
4400 |
# Check for GNU ac_path_GREP and select it if it is found.
|
3929 | 4401 |
# Check for GNU $ac_path_GREP
|
3930 | 4402 |
case `"$ac_path_GREP" --version 2>&1` in
|
3931 | 4403 |
*GNU*)
|
3932 | 4404 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
3933 | 4405 |
*)
|
3934 | 4406 |
ac_count=0
|
3935 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4407 |
$as_echo_n 0123456789 >"conftest.in"
|
3936 | 4408 |
while :
|
3937 | 4409 |
do
|
3938 | 4410 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3939 | 4411 |
mv "conftest.tmp" "conftest.in"
|
3940 | 4412 |
cp "conftest.in" "conftest.nl"
|
3941 | |
echo 'GREP' >> "conftest.nl"
|
|
4413 |
$as_echo 'GREP' >> "conftest.nl"
|
3942 | 4414 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3943 | 4415 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3944 | |
ac_count=`expr $ac_count + 1`
|
|
4416 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
3945 | 4417 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3946 | 4418 |
# Best one so far, save it but keep looking for a better one
|
3947 | 4419 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
3953 | 4425 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3954 | 4426 |
esac
|
3955 | 4427 |
|
3956 | |
|
3957 | |
$ac_path_GREP_found && break 3
|
|
4428 |
$ac_path_GREP_found && break 3
|
|
4429 |
done
|
3958 | 4430 |
done
|
3959 | |
done
|
3960 | |
|
3961 | |
done
|
|
4431 |
done
|
3962 | 4432 |
IFS=$as_save_IFS
|
3963 | |
|
3964 | |
|
3965 | |
fi
|
3966 | |
|
3967 | |
GREP="$ac_cv_path_GREP"
|
3968 | |
if test -z "$GREP"; then
|
3969 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3970 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3971 | |
{ (exit 1); exit 1; }; }
|
3972 | |
fi
|
3973 | |
|
|
4433 |
if test -z "$ac_cv_path_GREP"; then
|
|
4434 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4435 |
fi
|
3974 | 4436 |
else
|
3975 | 4437 |
ac_cv_path_GREP=$GREP
|
3976 | 4438 |
fi
|
3977 | 4439 |
|
3978 | |
|
3979 | |
fi
|
3980 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
3981 | |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
|
4440 |
fi
|
|
4441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
4442 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
3982 | 4443 |
GREP="$ac_cv_path_GREP"
|
3983 | 4444 |
|
3984 | 4445 |
|
3985 | |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
3986 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
3987 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3988 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
4447 |
$as_echo_n "checking for egrep... " >&6; }
|
|
4448 |
if ${ac_cv_path_EGREP+:} false; then :
|
|
4449 |
$as_echo_n "(cached) " >&6
|
3989 | 4450 |
else
|
3990 | 4451 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3991 | 4452 |
then ac_cv_path_EGREP="$GREP -E"
|
3992 | 4453 |
else
|
3993 | |
# Extract the first word of "egrep" to use in msg output
|
3994 | |
if test -z "$EGREP"; then
|
3995 | |
set dummy egrep; ac_prog_name=$2
|
3996 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3997 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3998 | |
else
|
|
4454 |
if test -z "$EGREP"; then
|
3999 | 4455 |
ac_path_EGREP_found=false
|
4000 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
4001 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4456 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4457 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4002 | 4458 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
4003 | 4459 |
do
|
4004 | 4460 |
IFS=$as_save_IFS
|
4005 | 4461 |
test -z "$as_dir" && as_dir=.
|
4006 | |
for ac_prog in egrep; do
|
4007 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4008 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
4009 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
4010 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
4462 |
for ac_prog in egrep; do
|
|
4463 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4464 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4465 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
|
4466 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
4011 | 4467 |
# Check for GNU $ac_path_EGREP
|
4012 | 4468 |
case `"$ac_path_EGREP" --version 2>&1` in
|
4013 | 4469 |
*GNU*)
|
4014 | 4470 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
4015 | 4471 |
*)
|
4016 | 4472 |
ac_count=0
|
4017 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
|
4473 |
$as_echo_n 0123456789 >"conftest.in"
|
4018 | 4474 |
while :
|
4019 | 4475 |
do
|
4020 | 4476 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
4021 | 4477 |
mv "conftest.tmp" "conftest.in"
|
4022 | 4478 |
cp "conftest.in" "conftest.nl"
|
4023 | |
echo 'EGREP' >> "conftest.nl"
|
|
4479 |
$as_echo 'EGREP' >> "conftest.nl"
|
4024 | 4480 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
4025 | 4481 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
4026 | |
ac_count=`expr $ac_count + 1`
|
|
4482 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
4027 | 4483 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
4028 | 4484 |
# Best one so far, save it but keep looking for a better one
|
4029 | 4485 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4035 | 4491 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
4036 | 4492 |
esac
|
4037 | 4493 |
|
4038 | |
|
4039 | |
$ac_path_EGREP_found && break 3
|
|
4494 |
$ac_path_EGREP_found && break 3
|
|
4495 |
done
|
4040 | 4496 |
done
|
4041 | |
done
|
4042 | |
|
4043 | |
done
|
|
4497 |
done
|
4044 | 4498 |
IFS=$as_save_IFS
|
4045 | |
|
4046 | |
|
4047 | |
fi
|
4048 | |
|
4049 | |
EGREP="$ac_cv_path_EGREP"
|
4050 | |
if test -z "$EGREP"; then
|
4051 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
4052 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
4053 | |
{ (exit 1); exit 1; }; }
|
4054 | |
fi
|
4055 | |
|
|
4499 |
if test -z "$ac_cv_path_EGREP"; then
|
|
4500 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4501 |
fi
|
4056 | 4502 |
else
|
4057 | 4503 |
ac_cv_path_EGREP=$EGREP
|
4058 | 4504 |
fi
|
4059 | 4505 |
|
4060 | |
|
4061 | 4506 |
fi
|
4062 | 4507 |
fi
|
4063 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
4064 | |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
|
4508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
4509 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
4065 | 4510 |
EGREP="$ac_cv_path_EGREP"
|
4066 | 4511 |
|
4067 | 4512 |
|
4068 | 4513 |
|
4069 | 4514 |
# Check whether --with-gnu-ld was given.
|
4070 | |
if test "${with_gnu_ld+set}" = set; then
|
|
4515 |
if test "${with_gnu_ld+set}" = set; then :
|
4071 | 4516 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
4072 | 4517 |
else
|
4073 | 4518 |
with_gnu_ld=no
|
|
4076 | 4521 |
ac_prog=ld
|
4077 | 4522 |
if test "$GCC" = yes; then
|
4078 | 4523 |
# Check if gcc -print-prog-name=ld gives a path.
|
4079 | |
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
|
4080 | |
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
|
|
4524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
4525 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
4081 | 4526 |
case $host in
|
4082 | 4527 |
*-*-mingw*)
|
4083 | 4528 |
# gcc leaves a trailing carriage return which upsets mingw
|
|
4106 | 4551 |
;;
|
4107 | 4552 |
esac
|
4108 | 4553 |
elif test "$with_gnu_ld" = yes; then
|
4109 | |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
|
4110 | |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
|
4111 | |
else
|
4112 | |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
4113 | |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
|
4114 | |
fi
|
4115 | |
if test "${lt_cv_path_LD+set}" = set; then
|
4116 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
4555 |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
4556 |
else
|
|
4557 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
4558 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
|
4559 |
fi
|
|
4560 |
if ${lt_cv_path_LD+:} false; then :
|
|
4561 |
$as_echo_n "(cached) " >&6
|
4117 | 4562 |
else
|
4118 | 4563 |
if test -z "$LD"; then
|
4119 | 4564 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
|
4143 | 4588 |
|
4144 | 4589 |
LD="$lt_cv_path_LD"
|
4145 | 4590 |
if test -n "$LD"; then
|
4146 | |
{ echo "$as_me:$LINENO: result: $LD" >&5
|
4147 | |
echo "${ECHO_T}$LD" >&6; }
|
4148 | |
else
|
4149 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4150 | |
echo "${ECHO_T}no" >&6; }
|
4151 | |
fi
|
4152 | |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
4153 | |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
4154 | |
{ (exit 1); exit 1; }; }
|
4155 | |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
4156 | |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
|
4157 | |
if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
4158 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4591 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
4592 |
$as_echo "$LD" >&6; }
|
|
4593 |
else
|
|
4594 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4595 |
$as_echo "no" >&6; }
|
|
4596 |
fi
|
|
4597 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
|
4598 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
4599 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
4600 |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
|
4601 |
$as_echo_n "(cached) " >&6
|
4159 | 4602 |
else
|
4160 | 4603 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
4161 | 4604 |
case `$LD -v 2>&1 </dev/null` in
|
|
4167 | 4610 |
;;
|
4168 | 4611 |
esac
|
4169 | 4612 |
fi
|
4170 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
4171 | |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
|
|
4613 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
4614 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
4172 | 4615 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
4173 | 4616 |
|
4174 | 4617 |
|
4175 | |
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
|
4176 | |
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
|
4177 | |
if test "${lt_cv_ld_reload_flag+set}" = set; then
|
4178 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
|
|
4619 |
$as_echo_n "checking for $LD option to reload object files... " >&6; }
|
|
4620 |
if ${lt_cv_ld_reload_flag+:} false; then :
|
|
4621 |
$as_echo_n "(cached) " >&6
|
4179 | 4622 |
else
|
4180 | 4623 |
lt_cv_ld_reload_flag='-r'
|
4181 | 4624 |
fi
|
4182 | |
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
|
4183 | |
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
|
|
4625 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
|
|
4626 |
$as_echo "$lt_cv_ld_reload_flag" >&6; }
|
4184 | 4627 |
reload_flag=$lt_cv_ld_reload_flag
|
4185 | 4628 |
case $reload_flag in
|
4186 | 4629 |
"" | " "*) ;;
|
|
4197 | 4640 |
;;
|
4198 | 4641 |
esac
|
4199 | 4642 |
|
4200 | |
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
|
4201 | |
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
|
4202 | |
if test "${lt_cv_path_NM+set}" = set; then
|
4203 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4643 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD-compatible nm" >&5
|
|
4644 |
$as_echo_n "checking for BSD-compatible nm... " >&6; }
|
|
4645 |
if ${lt_cv_path_NM+:} false; then :
|
|
4646 |
$as_echo_n "(cached) " >&6
|
4204 | 4647 |
else
|
4205 | 4648 |
if test -n "$NM"; then
|
4206 | 4649 |
# Let the user override the test.
|
|
4246 | 4689 |
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
|
4247 | 4690 |
fi
|
4248 | 4691 |
fi
|
4249 | |
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
|
4250 | |
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
|
|
4692 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
|
|
4693 |
$as_echo "$lt_cv_path_NM" >&6; }
|
4251 | 4694 |
NM="$lt_cv_path_NM"
|
4252 | 4695 |
|
4253 | |
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
|
4254 | |
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
|
4255 | |
if test "${lt_cv_deplibs_check_method+set}" = set; then
|
4256 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4696 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
|
|
4697 |
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
|
|
4698 |
if ${lt_cv_deplibs_check_method+:} false; then :
|
|
4699 |
$as_echo_n "(cached) " >&6
|
4257 | 4700 |
else
|
4258 | 4701 |
lt_cv_file_magic_cmd='$MAGIC_CMD'
|
4259 | 4702 |
lt_cv_file_magic_test_file=
|
|
4436 | 4879 |
esac
|
4437 | 4880 |
|
4438 | 4881 |
fi
|
4439 | |
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
|
4440 | |
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
|
|
4882 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
|
|
4883 |
$as_echo "$lt_cv_deplibs_check_method" >&6; }
|
4441 | 4884 |
file_magic_cmd=$lt_cv_file_magic_cmd
|
4442 | 4885 |
deplibs_check_method=$lt_cv_deplibs_check_method
|
4443 | 4886 |
test -z "$deplibs_check_method" && deplibs_check_method=unknown
|
|
4456 | 4899 |
|
4457 | 4900 |
|
4458 | 4901 |
# Check whether --enable-libtool-lock was given.
|
4459 | |
if test "${enable_libtool_lock+set}" = set; then
|
|
4902 |
if test "${enable_libtool_lock+set}" = set; then :
|
4460 | 4903 |
enableval=$enable_libtool_lock;
|
4461 | 4904 |
fi
|
4462 | 4905 |
|
|
4468 | 4911 |
ia64-*-hpux*)
|
4469 | 4912 |
# Find out which ABI we are using.
|
4470 | 4913 |
echo 'int i;' > conftest.$ac_ext
|
4471 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4914 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4472 | 4915 |
(eval $ac_compile) 2>&5
|
4473 | 4916 |
ac_status=$?
|
4474 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4475 | |
(exit $ac_status); }; then
|
|
4917 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4918 |
test $ac_status = 0; }; then
|
4476 | 4919 |
case `/usr/bin/file conftest.$ac_objext` in
|
4477 | 4920 |
*ELF-32*)
|
4478 | 4921 |
HPUX_IA64_MODE="32"
|
|
4486 | 4929 |
;;
|
4487 | 4930 |
*-*-irix6*)
|
4488 | 4931 |
# Find out which ABI we are using.
|
4489 | |
echo '#line 4490 "configure"' > conftest.$ac_ext
|
4490 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4932 |
echo '#line 4933 "configure"' > conftest.$ac_ext
|
|
4933 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4491 | 4934 |
(eval $ac_compile) 2>&5
|
4492 | 4935 |
ac_status=$?
|
4493 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4494 | |
(exit $ac_status); }; then
|
|
4936 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4937 |
test $ac_status = 0; }; then
|
4495 | 4938 |
if test "$lt_cv_prog_gnu_ld" = yes; then
|
4496 | 4939 |
case `/usr/bin/file conftest.$ac_objext` in
|
4497 | 4940 |
*32-bit*)
|
|
4525 | 4968 |
s390*-*linux*|sparc*-*linux*)
|
4526 | 4969 |
# Find out which ABI we are using.
|
4527 | 4970 |
echo 'int i;' > conftest.$ac_ext
|
4528 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
4971 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4529 | 4972 |
(eval $ac_compile) 2>&5
|
4530 | 4973 |
ac_status=$?
|
4531 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4532 | |
(exit $ac_status); }; then
|
|
4974 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4975 |
test $ac_status = 0; }; then
|
4533 | 4976 |
case `/usr/bin/file conftest.o` in
|
4534 | 4977 |
*32-bit*)
|
4535 | 4978 |
case $host in
|
|
4578 | 5021 |
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
|
4579 | 5022 |
SAVE_CFLAGS="$CFLAGS"
|
4580 | 5023 |
CFLAGS="$CFLAGS -belf"
|
4581 | |
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
|
4582 | |
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
|
4583 | |
if test "${lt_cv_cc_needs_belf+set}" = set; then
|
4584 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5024 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
|
|
5025 |
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
|
|
5026 |
if ${lt_cv_cc_needs_belf+:} false; then :
|
|
5027 |
$as_echo_n "(cached) " >&6
|
4585 | 5028 |
else
|
4586 | 5029 |
ac_ext=c
|
4587 | 5030 |
ac_cpp='$CPP $CPPFLAGS'
|
|
4589 | 5032 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4590 | 5033 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4591 | 5034 |
|
4592 | |
cat >conftest.$ac_ext <<_ACEOF
|
4593 | |
/* confdefs.h. */
|
4594 | |
_ACEOF
|
4595 | |
cat confdefs.h >>conftest.$ac_ext
|
4596 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5035 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4597 | 5036 |
/* end confdefs.h. */
|
4598 | 5037 |
|
4599 | 5038 |
int
|
|
4604 | 5043 |
return 0;
|
4605 | 5044 |
}
|
4606 | 5045 |
_ACEOF
|
4607 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
4608 | |
if { (ac_try="$ac_link"
|
4609 | |
case "(($ac_try" in
|
4610 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4611 | |
*) ac_try_echo=$ac_try;;
|
4612 | |
esac
|
4613 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4614 | |
(eval "$ac_link") 2>conftest.er1
|
4615 | |
ac_status=$?
|
4616 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4617 | |
rm -f conftest.er1
|
4618 | |
cat conftest.err >&5
|
4619 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4620 | |
(exit $ac_status); } && {
|
4621 | |
test -z "$ac_c_werror_flag" ||
|
4622 | |
test ! -s conftest.err
|
4623 | |
} && test -s conftest$ac_exeext &&
|
4624 | |
$as_test_x conftest$ac_exeext; then
|
|
5046 |
if ac_fn_c_try_link "$LINENO"; then :
|
4625 | 5047 |
lt_cv_cc_needs_belf=yes
|
4626 | 5048 |
else
|
4627 | |
echo "$as_me: failed program was:" >&5
|
4628 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4629 | |
|
4630 | |
lt_cv_cc_needs_belf=no
|
4631 | |
fi
|
4632 | |
|
4633 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
4634 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5049 |
lt_cv_cc_needs_belf=no
|
|
5050 |
fi
|
|
5051 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5052 |
conftest$ac_exeext conftest.$ac_ext
|
4635 | 5053 |
ac_ext=c
|
4636 | 5054 |
ac_cpp='$CPP $CPPFLAGS'
|
4637 | 5055 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4639 | 5057 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4640 | 5058 |
|
4641 | 5059 |
fi
|
4642 | |
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
|
4643 | |
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
|
|
5060 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
|
|
5061 |
$as_echo "$lt_cv_cc_needs_belf" >&6; }
|
4644 | 5062 |
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
|
4645 | 5063 |
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
|
4646 | 5064 |
CFLAGS="$SAVE_CFLAGS"
|
|
4649 | 5067 |
sparc*-*solaris*)
|
4650 | 5068 |
# Find out which ABI we are using.
|
4651 | 5069 |
echo 'int i;' > conftest.$ac_ext
|
4652 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
5070 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
4653 | 5071 |
(eval $ac_compile) 2>&5
|
4654 | 5072 |
ac_status=$?
|
4655 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4656 | |
(exit $ac_status); }; then
|
|
5073 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5074 |
test $ac_status = 0; }; then
|
4657 | 5075 |
case `/usr/bin/file conftest.o` in
|
4658 | 5076 |
*64-bit*)
|
4659 | 5077 |
case $lt_cv_prog_gnu_ld in
|
|
4677 | 5095 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4678 | 5096 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4679 | 5097 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4680 | |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
4681 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
|
5098 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
5099 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
4682 | 5100 |
# On Suns, sometimes $CPP names a directory.
|
4683 | 5101 |
if test -n "$CPP" && test -d "$CPP"; then
|
4684 | 5102 |
CPP=
|
4685 | 5103 |
fi
|
4686 | 5104 |
if test -z "$CPP"; then
|
4687 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
4688 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5105 |
if ${ac_cv_prog_CPP+:} false; then :
|
|
5106 |
$as_echo_n "(cached) " >&6
|
4689 | 5107 |
else
|
4690 | 5108 |
# Double quotes because CPP needs to be expanded
|
4691 | 5109 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
4699 | 5117 |
# <limits.h> exists even on freestanding compilers.
|
4700 | 5118 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4701 | 5119 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4702 | |
cat >conftest.$ac_ext <<_ACEOF
|
4703 | |
/* confdefs.h. */
|
4704 | |
_ACEOF
|
4705 | |
cat confdefs.h >>conftest.$ac_ext
|
4706 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5120 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4707 | 5121 |
/* end confdefs.h. */
|
4708 | 5122 |
#ifdef __STDC__
|
4709 | 5123 |
# include <limits.h>
|
|
4712 | 5126 |
#endif
|
4713 | 5127 |
Syntax error
|
4714 | 5128 |
_ACEOF
|
4715 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4716 | |
case "(($ac_try" in
|
4717 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4718 | |
*) ac_try_echo=$ac_try;;
|
4719 | |
esac
|
4720 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4721 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4722 | |
ac_status=$?
|
4723 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4724 | |
rm -f conftest.er1
|
4725 | |
cat conftest.err >&5
|
4726 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4727 | |
(exit $ac_status); } >/dev/null && {
|
4728 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4729 | |
test ! -s conftest.err
|
4730 | |
}; then
|
4731 | |
:
|
4732 | |
else
|
4733 | |
echo "$as_me: failed program was:" >&5
|
4734 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4735 | |
|
|
5129 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
5130 |
|
|
5131 |
else
|
4736 | 5132 |
# Broken: fails on valid input.
|
4737 | 5133 |
continue
|
4738 | 5134 |
fi
|
4739 | |
|
4740 | |
rm -f conftest.err conftest.$ac_ext
|
|
5135 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4741 | 5136 |
|
4742 | 5137 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4743 | 5138 |
# can be detected and how.
|
4744 | |
cat >conftest.$ac_ext <<_ACEOF
|
4745 | |
/* confdefs.h. */
|
4746 | |
_ACEOF
|
4747 | |
cat confdefs.h >>conftest.$ac_ext
|
4748 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5139 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4749 | 5140 |
/* end confdefs.h. */
|
4750 | 5141 |
#include <ac_nonexistent.h>
|
4751 | 5142 |
_ACEOF
|
4752 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4753 | |
case "(($ac_try" in
|
4754 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4755 | |
*) ac_try_echo=$ac_try;;
|
4756 | |
esac
|
4757 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4758 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4759 | |
ac_status=$?
|
4760 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4761 | |
rm -f conftest.er1
|
4762 | |
cat conftest.err >&5
|
4763 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4764 | |
(exit $ac_status); } >/dev/null && {
|
4765 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4766 | |
test ! -s conftest.err
|
4767 | |
}; then
|
|
5143 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4768 | 5144 |
# Broken: success on invalid input.
|
4769 | 5145 |
continue
|
4770 | 5146 |
else
|
4771 | |
echo "$as_me: failed program was:" >&5
|
4772 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4773 | |
|
4774 | 5147 |
# Passes both tests.
|
4775 | 5148 |
ac_preproc_ok=:
|
4776 | 5149 |
break
|
4777 | 5150 |
fi
|
4778 | |
|
4779 | |
rm -f conftest.err conftest.$ac_ext
|
|
5151 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4780 | 5152 |
|
4781 | 5153 |
done
|
4782 | 5154 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4783 | |
rm -f conftest.err conftest.$ac_ext
|
4784 | |
if $ac_preproc_ok; then
|
|
5155 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
5156 |
if $ac_preproc_ok; then :
|
4785 | 5157 |
break
|
4786 | 5158 |
fi
|
4787 | 5159 |
|
|
4793 | 5165 |
else
|
4794 | 5166 |
ac_cv_prog_CPP=$CPP
|
4795 | 5167 |
fi
|
4796 | |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
4797 | |
echo "${ECHO_T}$CPP" >&6; }
|
|
5168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
5169 |
$as_echo "$CPP" >&6; }
|
4798 | 5170 |
ac_preproc_ok=false
|
4799 | 5171 |
for ac_c_preproc_warn_flag in '' yes
|
4800 | 5172 |
do
|
|
4804 | 5176 |
# <limits.h> exists even on freestanding compilers.
|
4805 | 5177 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
4806 | 5178 |
# not just through cpp. "Syntax error" is here to catch this case.
|
4807 | |
cat >conftest.$ac_ext <<_ACEOF
|
4808 | |
/* confdefs.h. */
|
4809 | |
_ACEOF
|
4810 | |
cat confdefs.h >>conftest.$ac_ext
|
4811 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5179 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4812 | 5180 |
/* end confdefs.h. */
|
4813 | 5181 |
#ifdef __STDC__
|
4814 | 5182 |
# include <limits.h>
|
|
4817 | 5185 |
#endif
|
4818 | 5186 |
Syntax error
|
4819 | 5187 |
_ACEOF
|
4820 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4821 | |
case "(($ac_try" in
|
4822 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4823 | |
*) ac_try_echo=$ac_try;;
|
4824 | |
esac
|
4825 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4826 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4827 | |
ac_status=$?
|
4828 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4829 | |
rm -f conftest.er1
|
4830 | |
cat conftest.err >&5
|
4831 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4832 | |
(exit $ac_status); } >/dev/null && {
|
4833 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4834 | |
test ! -s conftest.err
|
4835 | |
}; then
|
4836 | |
:
|
4837 | |
else
|
4838 | |
echo "$as_me: failed program was:" >&5
|
4839 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4840 | |
|
|
5188 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
5189 |
|
|
5190 |
else
|
4841 | 5191 |
# Broken: fails on valid input.
|
4842 | 5192 |
continue
|
4843 | 5193 |
fi
|
4844 | |
|
4845 | |
rm -f conftest.err conftest.$ac_ext
|
|
5194 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4846 | 5195 |
|
4847 | 5196 |
# OK, works on sane cases. Now check whether nonexistent headers
|
4848 | 5197 |
# can be detected and how.
|
4849 | |
cat >conftest.$ac_ext <<_ACEOF
|
4850 | |
/* confdefs.h. */
|
4851 | |
_ACEOF
|
4852 | |
cat confdefs.h >>conftest.$ac_ext
|
4853 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5198 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4854 | 5199 |
/* end confdefs.h. */
|
4855 | 5200 |
#include <ac_nonexistent.h>
|
4856 | 5201 |
_ACEOF
|
4857 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
4858 | |
case "(($ac_try" in
|
4859 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4860 | |
*) ac_try_echo=$ac_try;;
|
4861 | |
esac
|
4862 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4863 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
4864 | |
ac_status=$?
|
4865 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4866 | |
rm -f conftest.er1
|
4867 | |
cat conftest.err >&5
|
4868 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4869 | |
(exit $ac_status); } >/dev/null && {
|
4870 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
4871 | |
test ! -s conftest.err
|
4872 | |
}; then
|
|
5202 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
4873 | 5203 |
# Broken: success on invalid input.
|
4874 | 5204 |
continue
|
4875 | 5205 |
else
|
4876 | |
echo "$as_me: failed program was:" >&5
|
4877 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4878 | |
|
4879 | 5206 |
# Passes both tests.
|
4880 | 5207 |
ac_preproc_ok=:
|
4881 | 5208 |
break
|
4882 | 5209 |
fi
|
4883 | |
|
4884 | |
rm -f conftest.err conftest.$ac_ext
|
|
5210 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
4885 | 5211 |
|
4886 | 5212 |
done
|
4887 | 5213 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
4888 | |
rm -f conftest.err conftest.$ac_ext
|
4889 | |
if $ac_preproc_ok; then
|
4890 | |
:
|
4891 | |
else
|
4892 | |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
4893 | |
See \`config.log' for more details." >&5
|
4894 | |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
4895 | |
See \`config.log' for more details." >&2;}
|
4896 | |
{ (exit 1); exit 1; }; }
|
|
5214 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
5215 |
if $ac_preproc_ok; then :
|
|
5216 |
|
|
5217 |
else
|
|
5218 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5219 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
5220 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
5221 |
See \`config.log' for more details" "$LINENO" 5; }
|
4897 | 5222 |
fi
|
4898 | 5223 |
|
4899 | 5224 |
ac_ext=c
|
|
4903 | 5228 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4904 | 5229 |
|
4905 | 5230 |
|
4906 | |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
4907 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
4908 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
4909 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4910 | |
else
|
4911 | |
cat >conftest.$ac_ext <<_ACEOF
|
4912 | |
/* confdefs.h. */
|
4913 | |
_ACEOF
|
4914 | |
cat confdefs.h >>conftest.$ac_ext
|
4915 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5231 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
5232 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
5233 |
if ${ac_cv_header_stdc+:} false; then :
|
|
5234 |
$as_echo_n "(cached) " >&6
|
|
5235 |
else
|
|
5236 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4916 | 5237 |
/* end confdefs.h. */
|
4917 | 5238 |
#include <stdlib.h>
|
4918 | 5239 |
#include <stdarg.h>
|
|
4927 | 5248 |
return 0;
|
4928 | 5249 |
}
|
4929 | 5250 |
_ACEOF
|
4930 | |
rm -f conftest.$ac_objext
|
4931 | |
if { (ac_try="$ac_compile"
|
4932 | |
case "(($ac_try" in
|
4933 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4934 | |
*) ac_try_echo=$ac_try;;
|
4935 | |
esac
|
4936 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4937 | |
(eval "$ac_compile") 2>conftest.er1
|
4938 | |
ac_status=$?
|
4939 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4940 | |
rm -f conftest.er1
|
4941 | |
cat conftest.err >&5
|
4942 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4943 | |
(exit $ac_status); } && {
|
4944 | |
test -z "$ac_c_werror_flag" ||
|
4945 | |
test ! -s conftest.err
|
4946 | |
} && test -s conftest.$ac_objext; then
|
|
5251 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4947 | 5252 |
ac_cv_header_stdc=yes
|
4948 | 5253 |
else
|
4949 | |
echo "$as_me: failed program was:" >&5
|
4950 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4951 | |
|
4952 | |
ac_cv_header_stdc=no
|
4953 | |
fi
|
4954 | |
|
|
5254 |
ac_cv_header_stdc=no
|
|
5255 |
fi
|
4955 | 5256 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4956 | 5257 |
|
4957 | 5258 |
if test $ac_cv_header_stdc = yes; then
|
4958 | 5259 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
4959 | |
cat >conftest.$ac_ext <<_ACEOF
|
4960 | |
/* confdefs.h. */
|
4961 | |
_ACEOF
|
4962 | |
cat confdefs.h >>conftest.$ac_ext
|
4963 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5260 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4964 | 5261 |
/* end confdefs.h. */
|
4965 | 5262 |
#include <string.h>
|
4966 | 5263 |
|
4967 | 5264 |
_ACEOF
|
4968 | 5265 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4969 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
4970 | |
:
|
|
5266 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
5267 |
|
4971 | 5268 |
else
|
4972 | 5269 |
ac_cv_header_stdc=no
|
4973 | 5270 |
fi
|
|
4977 | 5274 |
|
4978 | 5275 |
if test $ac_cv_header_stdc = yes; then
|
4979 | 5276 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
4980 | |
cat >conftest.$ac_ext <<_ACEOF
|
4981 | |
/* confdefs.h. */
|
4982 | |
_ACEOF
|
4983 | |
cat confdefs.h >>conftest.$ac_ext
|
4984 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5277 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4985 | 5278 |
/* end confdefs.h. */
|
4986 | 5279 |
#include <stdlib.h>
|
4987 | 5280 |
|
4988 | 5281 |
_ACEOF
|
4989 | 5282 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
4990 | |
$EGREP "free" >/dev/null 2>&1; then
|
4991 | |
:
|
|
5283 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
5284 |
|
4992 | 5285 |
else
|
4993 | 5286 |
ac_cv_header_stdc=no
|
4994 | 5287 |
fi
|
|
4998 | 5291 |
|
4999 | 5292 |
if test $ac_cv_header_stdc = yes; then
|
5000 | 5293 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
5001 | |
if test "$cross_compiling" = yes; then
|
|
5294 |
if test "$cross_compiling" = yes; then :
|
5002 | 5295 |
:
|
5003 | 5296 |
else
|
5004 | |
cat >conftest.$ac_ext <<_ACEOF
|
5005 | |
/* confdefs.h. */
|
5006 | |
_ACEOF
|
5007 | |
cat confdefs.h >>conftest.$ac_ext
|
5008 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5297 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5009 | 5298 |
/* end confdefs.h. */
|
5010 | 5299 |
#include <ctype.h>
|
5011 | 5300 |
#include <stdlib.h>
|
|
5032 | 5321 |
return 0;
|
5033 | 5322 |
}
|
5034 | 5323 |
_ACEOF
|
5035 | |
rm -f conftest$ac_exeext
|
5036 | |
if { (ac_try="$ac_link"
|
5037 | |
case "(($ac_try" in
|
5038 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5039 | |
*) ac_try_echo=$ac_try;;
|
5040 | |
esac
|
5041 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5042 | |
(eval "$ac_link") 2>&5
|
5043 | |
ac_status=$?
|
5044 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5045 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5046 | |
{ (case "(($ac_try" in
|
5047 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5048 | |
*) ac_try_echo=$ac_try;;
|
5049 | |
esac
|
5050 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5051 | |
(eval "$ac_try") 2>&5
|
5052 | |
ac_status=$?
|
5053 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5054 | |
(exit $ac_status); }; }; then
|
5055 | |
:
|
5056 | |
else
|
5057 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5058 | |
echo "$as_me: failed program was:" >&5
|
5059 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5060 | |
|
5061 | |
( exit $ac_status )
|
5062 | |
ac_cv_header_stdc=no
|
5063 | |
fi
|
5064 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5065 | |
fi
|
5066 | |
|
5067 | |
|
5068 | |
fi
|
5069 | |
fi
|
5070 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
5071 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
5324 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5325 |
|
|
5326 |
else
|
|
5327 |
ac_cv_header_stdc=no
|
|
5328 |
fi
|
|
5329 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5330 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5331 |
fi
|
|
5332 |
|
|
5333 |
fi
|
|
5334 |
fi
|
|
5335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
5336 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
5072 | 5337 |
if test $ac_cv_header_stdc = yes; then
|
5073 | 5338 |
|
5074 | |
cat >>confdefs.h <<\_ACEOF
|
5075 | |
#define STDC_HEADERS 1
|
5076 | |
_ACEOF
|
|
5339 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
5077 | 5340 |
|
5078 | 5341 |
fi
|
5079 | 5342 |
|
5080 | 5343 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
5081 | |
|
5082 | |
|
5083 | |
|
5084 | |
|
5085 | |
|
5086 | |
|
5087 | |
|
5088 | |
|
5089 | |
|
5090 | 5344 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
5091 | 5345 |
inttypes.h stdint.h unistd.h
|
5092 | |
do
|
5093 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5094 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5095 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5096 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5097 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5098 | |
else
|
5099 | |
cat >conftest.$ac_ext <<_ACEOF
|
5100 | |
/* confdefs.h. */
|
|
5346 |
do :
|
|
5347 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
5348 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
5349 |
"
|
|
5350 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|
5351 |
cat >>confdefs.h <<_ACEOF
|
|
5352 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5101 | 5353 |
_ACEOF
|
5102 | |
cat confdefs.h >>conftest.$ac_ext
|
5103 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5104 | |
/* end confdefs.h. */
|
5105 | |
$ac_includes_default
|
5106 | |
|
5107 | |
#include <$ac_header>
|
5108 | |
_ACEOF
|
5109 | |
rm -f conftest.$ac_objext
|
5110 | |
if { (ac_try="$ac_compile"
|
5111 | |
case "(($ac_try" in
|
5112 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5113 | |
*) ac_try_echo=$ac_try;;
|
5114 | |
esac
|
5115 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5116 | |
(eval "$ac_compile") 2>conftest.er1
|
5117 | |
ac_status=$?
|
5118 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5119 | |
rm -f conftest.er1
|
5120 | |
cat conftest.err >&5
|
5121 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5122 | |
(exit $ac_status); } && {
|
5123 | |
test -z "$ac_c_werror_flag" ||
|
5124 | |
test ! -s conftest.err
|
5125 | |
} && test -s conftest.$ac_objext; then
|
5126 | |
eval "$as_ac_Header=yes"
|
5127 | |
else
|
5128 | |
echo "$as_me: failed program was:" >&5
|
5129 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5130 | |
|
5131 | |
eval "$as_ac_Header=no"
|
5132 | |
fi
|
5133 | |
|
5134 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5135 | |
fi
|
5136 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5137 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5138 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5139 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
|
5354 |
|
|
5355 |
fi
|
|
5356 |
|
|
5357 |
done
|
|
5358 |
|
|
5359 |
|
|
5360 |
for ac_header in dlfcn.h
|
|
5361 |
do :
|
|
5362 |
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
|
|
5363 |
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
|
5140 | 5364 |
cat >>confdefs.h <<_ACEOF
|
5141 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5142 | |
_ACEOF
|
5143 | |
|
5144 | |
fi
|
5145 | |
|
5146 | |
done
|
5147 | |
|
5148 | |
|
5149 | |
|
5150 | |
for ac_header in dlfcn.h
|
5151 | |
do
|
5152 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5153 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5154 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5155 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5156 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5157 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5158 | |
fi
|
5159 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5160 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5161 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5162 | |
else
|
5163 | |
# Is the header compilable?
|
5164 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
5165 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
5166 | |
cat >conftest.$ac_ext <<_ACEOF
|
5167 | |
/* confdefs.h. */
|
5168 | |
_ACEOF
|
5169 | |
cat confdefs.h >>conftest.$ac_ext
|
5170 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5171 | |
/* end confdefs.h. */
|
5172 | |
$ac_includes_default
|
5173 | |
#include <$ac_header>
|
5174 | |
_ACEOF
|
5175 | |
rm -f conftest.$ac_objext
|
5176 | |
if { (ac_try="$ac_compile"
|
5177 | |
case "(($ac_try" in
|
5178 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5179 | |
*) ac_try_echo=$ac_try;;
|
5180 | |
esac
|
5181 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5182 | |
(eval "$ac_compile") 2>conftest.er1
|
5183 | |
ac_status=$?
|
5184 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5185 | |
rm -f conftest.er1
|
5186 | |
cat conftest.err >&5
|
5187 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5188 | |
(exit $ac_status); } && {
|
5189 | |
test -z "$ac_c_werror_flag" ||
|
5190 | |
test ! -s conftest.err
|
5191 | |
} && test -s conftest.$ac_objext; then
|
5192 | |
ac_header_compiler=yes
|
5193 | |
else
|
5194 | |
echo "$as_me: failed program was:" >&5
|
5195 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5196 | |
|
5197 | |
ac_header_compiler=no
|
5198 | |
fi
|
5199 | |
|
5200 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5201 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
5202 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
5203 | |
|
5204 | |
# Is the header present?
|
5205 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
5206 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
5207 | |
cat >conftest.$ac_ext <<_ACEOF
|
5208 | |
/* confdefs.h. */
|
5209 | |
_ACEOF
|
5210 | |
cat confdefs.h >>conftest.$ac_ext
|
5211 | |
cat >>conftest.$ac_ext <<_ACEOF
|
5212 | |
/* end confdefs.h. */
|
5213 | |
#include <$ac_header>
|
5214 | |
_ACEOF
|
5215 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5216 | |
case "(($ac_try" in
|
5217 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5218 | |
*) ac_try_echo=$ac_try;;
|
5219 | |
esac
|
5220 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5221 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5222 | |
ac_status=$?
|
5223 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5224 | |
rm -f conftest.er1
|
5225 | |
cat conftest.err >&5
|
5226 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5227 | |
(exit $ac_status); } >/dev/null && {
|
5228 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
5229 | |
test ! -s conftest.err
|
5230 | |
}; then
|
5231 | |
ac_header_preproc=yes
|
5232 | |
else
|
5233 | |
echo "$as_me: failed program was:" >&5
|
5234 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5235 | |
|
5236 | |
ac_header_preproc=no
|
5237 | |
fi
|
5238 | |
|
5239 | |
rm -f conftest.err conftest.$ac_ext
|
5240 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
5241 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
5242 | |
|
5243 | |
# So? What about this header?
|
5244 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
5245 | |
yes:no: )
|
5246 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
5247 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
5248 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
5249 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
5250 | |
ac_header_preproc=yes
|
5251 | |
;;
|
5252 | |
no:yes:* )
|
5253 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
5254 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
5255 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
5256 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
5257 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
5258 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
5259 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
5260 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
5261 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
5262 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
5263 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
5264 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
5265 | |
|
5266 | |
;;
|
5267 | |
esac
|
5268 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
5269 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
5270 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
5271 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5272 | |
else
|
5273 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
5274 | |
fi
|
5275 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
5276 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
5277 | |
echo "${ECHO_T}$ac_res" >&6; }
|
5278 | |
|
5279 | |
fi
|
5280 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
5281 | |
cat >>confdefs.h <<_ACEOF
|
5282 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5365 |
#define HAVE_DLFCN_H 1
|
5283 | 5366 |
_ACEOF
|
5284 | 5367 |
|
5285 | 5368 |
fi
|
|
5300 | 5383 |
do
|
5301 | 5384 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
5302 | 5385 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
5303 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5304 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5305 | |
if test "${ac_cv_prog_CXX+set}" = set; then
|
5306 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5387 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5388 |
if ${ac_cv_prog_CXX+:} false; then :
|
|
5389 |
$as_echo_n "(cached) " >&6
|
5307 | 5390 |
else
|
5308 | 5391 |
if test -n "$CXX"; then
|
5309 | 5392 |
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
|
5313 | 5396 |
do
|
5314 | 5397 |
IFS=$as_save_IFS
|
5315 | 5398 |
test -z "$as_dir" && as_dir=.
|
5316 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5317 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5399 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5400 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5318 | 5401 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
5319 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5402 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5320 | 5403 |
break 2
|
5321 | 5404 |
fi
|
5322 | 5405 |
done
|
5323 | |
done
|
|
5406 |
done
|
5324 | 5407 |
IFS=$as_save_IFS
|
5325 | 5408 |
|
5326 | 5409 |
fi
|
5327 | 5410 |
fi
|
5328 | 5411 |
CXX=$ac_cv_prog_CXX
|
5329 | 5412 |
if test -n "$CXX"; then
|
5330 | |
{ echo "$as_me:$LINENO: result: $CXX" >&5
|
5331 | |
echo "${ECHO_T}$CXX" >&6; }
|
5332 | |
else
|
5333 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5334 | |
echo "${ECHO_T}no" >&6; }
|
|
5413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
|
5414 |
$as_echo "$CXX" >&6; }
|
|
5415 |
else
|
|
5416 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5417 |
$as_echo "no" >&6; }
|
5335 | 5418 |
fi
|
5336 | 5419 |
|
5337 | 5420 |
|
|
5344 | 5427 |
do
|
5345 | 5428 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
5346 | 5429 |
set dummy $ac_prog; ac_word=$2
|
5347 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5348 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5349 | |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
|
5350 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5430 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5431 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5432 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
|
|
5433 |
$as_echo_n "(cached) " >&6
|
5351 | 5434 |
else
|
5352 | 5435 |
if test -n "$ac_ct_CXX"; then
|
5353 | 5436 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
|
5357 | 5440 |
do
|
5358 | 5441 |
IFS=$as_save_IFS
|
5359 | 5442 |
test -z "$as_dir" && as_dir=.
|
5360 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5361 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5443 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5444 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5362 | 5445 |
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
5363 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5446 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5364 | 5447 |
break 2
|
5365 | 5448 |
fi
|
5366 | 5449 |
done
|
5367 | |
done
|
|
5450 |
done
|
5368 | 5451 |
IFS=$as_save_IFS
|
5369 | 5452 |
|
5370 | 5453 |
fi
|
5371 | 5454 |
fi
|
5372 | 5455 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
5373 | 5456 |
if test -n "$ac_ct_CXX"; then
|
5374 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
|
5375 | |
echo "${ECHO_T}$ac_ct_CXX" >&6; }
|
5376 | |
else
|
5377 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5378 | |
echo "${ECHO_T}no" >&6; }
|
|
5457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
|
5458 |
$as_echo "$ac_ct_CXX" >&6; }
|
|
5459 |
else
|
|
5460 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5461 |
$as_echo "no" >&6; }
|
5379 | 5462 |
fi
|
5380 | 5463 |
|
5381 | 5464 |
|
|
5387 | 5470 |
else
|
5388 | 5471 |
case $cross_compiling:$ac_tool_warned in
|
5389 | 5472 |
yes:)
|
5390 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
5391 | |
whose name does not start with the host triplet. If you think this
|
5392 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
5393 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
5394 | |
whose name does not start with the host triplet. If you think this
|
5395 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
5473 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5474 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5396 | 5475 |
ac_tool_warned=yes ;;
|
5397 | 5476 |
esac
|
5398 | 5477 |
CXX=$ac_ct_CXX
|
|
5402 | 5481 |
fi
|
5403 | 5482 |
fi
|
5404 | 5483 |
# Provide some information about the compiler.
|
5405 | |
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
|
5406 | |
ac_compiler=`set X $ac_compile; echo $2`
|
5407 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
5484 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
|
5485 |
set X $ac_compile
|
|
5486 |
ac_compiler=$2
|
|
5487 |
for ac_option in --version -v -V -qversion; do
|
|
5488 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
5408 | 5489 |
case "(($ac_try" in
|
5409 | 5490 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5410 | 5491 |
*) ac_try_echo=$ac_try;;
|
5411 | 5492 |
esac
|
5412 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5413 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
5493 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
5494 |
$as_echo "$ac_try_echo"; } >&5
|
|
5495 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
5414 | 5496 |
ac_status=$?
|
5415 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5416 | |
(exit $ac_status); }
|
5417 | |
{ (ac_try="$ac_compiler -v >&5"
|
5418 | |
case "(($ac_try" in
|
5419 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5420 | |
*) ac_try_echo=$ac_try;;
|
5421 | |
esac
|
5422 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5423 | |
(eval "$ac_compiler -v >&5") 2>&5
|
5424 | |
ac_status=$?
|
5425 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5426 | |
(exit $ac_status); }
|
5427 | |
{ (ac_try="$ac_compiler -V >&5"
|
5428 | |
case "(($ac_try" in
|
5429 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5430 | |
*) ac_try_echo=$ac_try;;
|
5431 | |
esac
|
5432 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5433 | |
(eval "$ac_compiler -V >&5") 2>&5
|
5434 | |
ac_status=$?
|
5435 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5436 | |
(exit $ac_status); }
|
5437 | |
|
5438 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
|
5439 | |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
|
5440 | |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
|
5441 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
5442 | |
else
|
5443 | |
cat >conftest.$ac_ext <<_ACEOF
|
5444 | |
/* confdefs.h. */
|
5445 | |
_ACEOF
|
5446 | |
cat confdefs.h >>conftest.$ac_ext
|
5447 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5497 |
if test -s conftest.err; then
|
|
5498 |
sed '10a\
|
|
5499 |
... rest of stderr output deleted ...
|
|
5500 |
10q' conftest.err >conftest.er1
|
|
5501 |
cat conftest.er1 >&5
|
|
5502 |
fi
|
|
5503 |
rm -f conftest.er1 conftest.err
|
|
5504 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
5505 |
test $ac_status = 0; }
|
|
5506 |
done
|
|
5507 |
|
|
5508 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
|
5509 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
|
5510 |
if ${ac_cv_cxx_compiler_gnu+:} false; then :
|
|
5511 |
$as_echo_n "(cached) " >&6
|
|
5512 |
else
|
|
5513 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5448 | 5514 |
/* end confdefs.h. */
|
5449 | 5515 |
|
5450 | 5516 |
int
|
|
5458 | 5524 |
return 0;
|
5459 | 5525 |
}
|
5460 | 5526 |
_ACEOF
|
5461 | |
rm -f conftest.$ac_objext
|
5462 | |
if { (ac_try="$ac_compile"
|
5463 | |
case "(($ac_try" in
|
5464 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5465 | |
*) ac_try_echo=$ac_try;;
|
5466 | |
esac
|
5467 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5468 | |
(eval "$ac_compile") 2>conftest.er1
|
5469 | |
ac_status=$?
|
5470 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5471 | |
rm -f conftest.er1
|
5472 | |
cat conftest.err >&5
|
5473 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5474 | |
(exit $ac_status); } && {
|
5475 | |
test -z "$ac_cxx_werror_flag" ||
|
5476 | |
test ! -s conftest.err
|
5477 | |
} && test -s conftest.$ac_objext; then
|
|
5527 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5478 | 5528 |
ac_compiler_gnu=yes
|
5479 | 5529 |
else
|
5480 | |
echo "$as_me: failed program was:" >&5
|
5481 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5482 | |
|
5483 | |
ac_compiler_gnu=no
|
5484 | |
fi
|
5485 | |
|
|
5530 |
ac_compiler_gnu=no
|
|
5531 |
fi
|
5486 | 5532 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5487 | 5533 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
5488 | 5534 |
|
5489 | 5535 |
fi
|
5490 | |
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
|
5491 | |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
|
5492 | |
GXX=`test $ac_compiler_gnu = yes && echo yes`
|
|
5536 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
|
5537 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
|
5538 |
if test $ac_compiler_gnu = yes; then
|
|
5539 |
GXX=yes
|
|
5540 |
else
|
|
5541 |
GXX=
|
|
5542 |
fi
|
5493 | 5543 |
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
5494 | 5544 |
ac_save_CXXFLAGS=$CXXFLAGS
|
5495 | |
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
|
5496 | |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
|
5497 | |
if test "${ac_cv_prog_cxx_g+set}" = set; then
|
5498 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5545 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
|
5546 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
|
5547 |
if ${ac_cv_prog_cxx_g+:} false; then :
|
|
5548 |
$as_echo_n "(cached) " >&6
|
5499 | 5549 |
else
|
5500 | 5550 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
5501 | 5551 |
ac_cxx_werror_flag=yes
|
5502 | 5552 |
ac_cv_prog_cxx_g=no
|
5503 | 5553 |
CXXFLAGS="-g"
|
5504 | |
cat >conftest.$ac_ext <<_ACEOF
|
5505 | |
/* confdefs.h. */
|
5506 | |
_ACEOF
|
5507 | |
cat confdefs.h >>conftest.$ac_ext
|
5508 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5554 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5509 | 5555 |
/* end confdefs.h. */
|
5510 | 5556 |
|
5511 | 5557 |
int
|
|
5516 | 5562 |
return 0;
|
5517 | 5563 |
}
|
5518 | 5564 |
_ACEOF
|
5519 | |
rm -f conftest.$ac_objext
|
5520 | |
if { (ac_try="$ac_compile"
|
5521 | |
case "(($ac_try" in
|
5522 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5523 | |
*) ac_try_echo=$ac_try;;
|
5524 | |
esac
|
5525 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5526 | |
(eval "$ac_compile") 2>conftest.er1
|
5527 | |
ac_status=$?
|
5528 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5529 | |
rm -f conftest.er1
|
5530 | |
cat conftest.err >&5
|
5531 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5532 | |
(exit $ac_status); } && {
|
5533 | |
test -z "$ac_cxx_werror_flag" ||
|
5534 | |
test ! -s conftest.err
|
5535 | |
} && test -s conftest.$ac_objext; then
|
|
5565 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5536 | 5566 |
ac_cv_prog_cxx_g=yes
|
5537 | 5567 |
else
|
5538 | |
echo "$as_me: failed program was:" >&5
|
5539 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5540 | |
|
5541 | |
CXXFLAGS=""
|
5542 | |
cat >conftest.$ac_ext <<_ACEOF
|
5543 | |
/* confdefs.h. */
|
5544 | |
_ACEOF
|
5545 | |
cat confdefs.h >>conftest.$ac_ext
|
5546 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5568 |
CXXFLAGS=""
|
|
5569 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5547 | 5570 |
/* end confdefs.h. */
|
5548 | 5571 |
|
5549 | 5572 |
int
|
|
5554 | 5577 |
return 0;
|
5555 | 5578 |
}
|
5556 | 5579 |
_ACEOF
|
5557 | |
rm -f conftest.$ac_objext
|
5558 | |
if { (ac_try="$ac_compile"
|
5559 | |
case "(($ac_try" in
|
5560 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5561 | |
*) ac_try_echo=$ac_try;;
|
5562 | |
esac
|
5563 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5564 | |
(eval "$ac_compile") 2>conftest.er1
|
5565 | |
ac_status=$?
|
5566 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5567 | |
rm -f conftest.er1
|
5568 | |
cat conftest.err >&5
|
5569 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5570 | |
(exit $ac_status); } && {
|
5571 | |
test -z "$ac_cxx_werror_flag" ||
|
5572 | |
test ! -s conftest.err
|
5573 | |
} && test -s conftest.$ac_objext; then
|
5574 | |
:
|
5575 | |
else
|
5576 | |
echo "$as_me: failed program was:" >&5
|
5577 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5578 | |
|
5579 | |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
|
5580 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
|
5581 |
|
|
5582 |
else
|
|
5583 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
5580 | 5584 |
CXXFLAGS="-g"
|
5581 | |
cat >conftest.$ac_ext <<_ACEOF
|
5582 | |
/* confdefs.h. */
|
5583 | |
_ACEOF
|
5584 | |
cat confdefs.h >>conftest.$ac_ext
|
5585 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5585 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5586 | 5586 |
/* end confdefs.h. */
|
5587 | 5587 |
|
5588 | 5588 |
int
|
|
5593 | 5593 |
return 0;
|
5594 | 5594 |
}
|
5595 | 5595 |
_ACEOF
|
5596 | |
rm -f conftest.$ac_objext
|
5597 | |
if { (ac_try="$ac_compile"
|
5598 | |
case "(($ac_try" in
|
5599 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5600 | |
*) ac_try_echo=$ac_try;;
|
5601 | |
esac
|
5602 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5603 | |
(eval "$ac_compile") 2>conftest.er1
|
5604 | |
ac_status=$?
|
5605 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5606 | |
rm -f conftest.er1
|
5607 | |
cat conftest.err >&5
|
5608 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5609 | |
(exit $ac_status); } && {
|
5610 | |
test -z "$ac_cxx_werror_flag" ||
|
5611 | |
test ! -s conftest.err
|
5612 | |
} && test -s conftest.$ac_objext; then
|
|
5596 |
if ac_fn_cxx_try_compile "$LINENO"; then :
|
5613 | 5597 |
ac_cv_prog_cxx_g=yes
|
5614 | |
else
|
5615 | |
echo "$as_me: failed program was:" >&5
|
5616 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5617 | |
|
5618 | |
|
5619 | |
fi
|
5620 | |
|
|
5598 |
fi
|
5621 | 5599 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5622 | 5600 |
fi
|
5623 | |
|
5624 | 5601 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5625 | 5602 |
fi
|
5626 | |
|
5627 | 5603 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5628 | 5604 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
5629 | 5605 |
fi
|
5630 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
|
5631 | |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
|
|
5606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
|
5607 |
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
5632 | 5608 |
if test "$ac_test_CXXFLAGS" = set; then
|
5633 | 5609 |
CXXFLAGS=$ac_save_CXXFLAGS
|
5634 | 5610 |
elif test $ac_cv_prog_cxx_g = yes; then
|
|
5652 | 5628 |
|
5653 | 5629 |
depcc="$CXX" am_compiler_list=
|
5654 | 5630 |
|
5655 | |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
5656 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
5657 | |
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
|
5658 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5631 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
5632 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
5633 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
|
|
5634 |
$as_echo_n "(cached) " >&6
|
5659 | 5635 |
else
|
5660 | 5636 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
5661 | 5637 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
5742 | 5718 |
fi
|
5743 | 5719 |
|
5744 | 5720 |
fi
|
5745 | |
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
5746 | |
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
|
|
5721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
|
5722 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
5747 | 5723 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
5748 | 5724 |
|
5749 | 5725 |
|
|
5769 | 5745 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5770 | 5746 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5771 | 5747 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
5772 | |
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
|
5773 | |
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
|
|
5748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
|
5749 |
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
5774 | 5750 |
if test -z "$CXXCPP"; then
|
5775 | |
if test "${ac_cv_prog_CXXCPP+set}" = set; then
|
5776 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5751 |
if ${ac_cv_prog_CXXCPP+:} false; then :
|
|
5752 |
$as_echo_n "(cached) " >&6
|
5777 | 5753 |
else
|
5778 | 5754 |
# Double quotes because CXXCPP needs to be expanded
|
5779 | 5755 |
for CXXCPP in "$CXX -E" "/lib/cpp"
|
|
5787 | 5763 |
# <limits.h> exists even on freestanding compilers.
|
5788 | 5764 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5789 | 5765 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5790 | |
cat >conftest.$ac_ext <<_ACEOF
|
5791 | |
/* confdefs.h. */
|
5792 | |
_ACEOF
|
5793 | |
cat confdefs.h >>conftest.$ac_ext
|
5794 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5766 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5795 | 5767 |
/* end confdefs.h. */
|
5796 | 5768 |
#ifdef __STDC__
|
5797 | 5769 |
# include <limits.h>
|
|
5800 | 5772 |
#endif
|
5801 | 5773 |
Syntax error
|
5802 | 5774 |
_ACEOF
|
5803 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5804 | |
case "(($ac_try" in
|
5805 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5806 | |
*) ac_try_echo=$ac_try;;
|
5807 | |
esac
|
5808 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5809 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5810 | |
ac_status=$?
|
5811 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5812 | |
rm -f conftest.er1
|
5813 | |
cat conftest.err >&5
|
5814 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5815 | |
(exit $ac_status); } >/dev/null && {
|
5816 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5817 | |
test ! -s conftest.err
|
5818 | |
}; then
|
5819 | |
:
|
5820 | |
else
|
5821 | |
echo "$as_me: failed program was:" >&5
|
5822 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5823 | |
|
|
5775 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
5776 |
|
|
5777 |
else
|
5824 | 5778 |
# Broken: fails on valid input.
|
5825 | 5779 |
continue
|
5826 | 5780 |
fi
|
5827 | |
|
5828 | |
rm -f conftest.err conftest.$ac_ext
|
|
5781 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5829 | 5782 |
|
5830 | 5783 |
# OK, works on sane cases. Now check whether nonexistent headers
|
5831 | 5784 |
# can be detected and how.
|
5832 | |
cat >conftest.$ac_ext <<_ACEOF
|
5833 | |
/* confdefs.h. */
|
5834 | |
_ACEOF
|
5835 | |
cat confdefs.h >>conftest.$ac_ext
|
5836 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5785 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5837 | 5786 |
/* end confdefs.h. */
|
5838 | 5787 |
#include <ac_nonexistent.h>
|
5839 | 5788 |
_ACEOF
|
5840 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5841 | |
case "(($ac_try" in
|
5842 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5843 | |
*) ac_try_echo=$ac_try;;
|
5844 | |
esac
|
5845 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5846 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5847 | |
ac_status=$?
|
5848 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5849 | |
rm -f conftest.er1
|
5850 | |
cat conftest.err >&5
|
5851 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5852 | |
(exit $ac_status); } >/dev/null && {
|
5853 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5854 | |
test ! -s conftest.err
|
5855 | |
}; then
|
|
5789 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5856 | 5790 |
# Broken: success on invalid input.
|
5857 | 5791 |
continue
|
5858 | 5792 |
else
|
5859 | |
echo "$as_me: failed program was:" >&5
|
5860 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5861 | |
|
5862 | 5793 |
# Passes both tests.
|
5863 | 5794 |
ac_preproc_ok=:
|
5864 | 5795 |
break
|
5865 | 5796 |
fi
|
5866 | |
|
5867 | |
rm -f conftest.err conftest.$ac_ext
|
|
5797 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5868 | 5798 |
|
5869 | 5799 |
done
|
5870 | 5800 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5871 | |
rm -f conftest.err conftest.$ac_ext
|
5872 | |
if $ac_preproc_ok; then
|
|
5801 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
5802 |
if $ac_preproc_ok; then :
|
5873 | 5803 |
break
|
5874 | 5804 |
fi
|
5875 | 5805 |
|
|
5881 | 5811 |
else
|
5882 | 5812 |
ac_cv_prog_CXXCPP=$CXXCPP
|
5883 | 5813 |
fi
|
5884 | |
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
|
5885 | |
echo "${ECHO_T}$CXXCPP" >&6; }
|
|
5814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
|
5815 |
$as_echo "$CXXCPP" >&6; }
|
5886 | 5816 |
ac_preproc_ok=false
|
5887 | 5817 |
for ac_cxx_preproc_warn_flag in '' yes
|
5888 | 5818 |
do
|
|
5892 | 5822 |
# <limits.h> exists even on freestanding compilers.
|
5893 | 5823 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5894 | 5824 |
# not just through cpp. "Syntax error" is here to catch this case.
|
5895 | |
cat >conftest.$ac_ext <<_ACEOF
|
5896 | |
/* confdefs.h. */
|
5897 | |
_ACEOF
|
5898 | |
cat confdefs.h >>conftest.$ac_ext
|
5899 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5825 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5900 | 5826 |
/* end confdefs.h. */
|
5901 | 5827 |
#ifdef __STDC__
|
5902 | 5828 |
# include <limits.h>
|
|
5905 | 5831 |
#endif
|
5906 | 5832 |
Syntax error
|
5907 | 5833 |
_ACEOF
|
5908 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5909 | |
case "(($ac_try" in
|
5910 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5911 | |
*) ac_try_echo=$ac_try;;
|
5912 | |
esac
|
5913 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5914 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5915 | |
ac_status=$?
|
5916 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5917 | |
rm -f conftest.er1
|
5918 | |
cat conftest.err >&5
|
5919 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5920 | |
(exit $ac_status); } >/dev/null && {
|
5921 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5922 | |
test ! -s conftest.err
|
5923 | |
}; then
|
5924 | |
:
|
5925 | |
else
|
5926 | |
echo "$as_me: failed program was:" >&5
|
5927 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5928 | |
|
|
5834 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
|
5835 |
|
|
5836 |
else
|
5929 | 5837 |
# Broken: fails on valid input.
|
5930 | 5838 |
continue
|
5931 | 5839 |
fi
|
5932 | |
|
5933 | |
rm -f conftest.err conftest.$ac_ext
|
|
5840 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5934 | 5841 |
|
5935 | 5842 |
# OK, works on sane cases. Now check whether nonexistent headers
|
5936 | 5843 |
# can be detected and how.
|
5937 | |
cat >conftest.$ac_ext <<_ACEOF
|
5938 | |
/* confdefs.h. */
|
5939 | |
_ACEOF
|
5940 | |
cat confdefs.h >>conftest.$ac_ext
|
5941 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5844 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5942 | 5845 |
/* end confdefs.h. */
|
5943 | 5846 |
#include <ac_nonexistent.h>
|
5944 | 5847 |
_ACEOF
|
5945 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
5946 | |
case "(($ac_try" in
|
5947 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5948 | |
*) ac_try_echo=$ac_try;;
|
5949 | |
esac
|
5950 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5951 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
5952 | |
ac_status=$?
|
5953 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5954 | |
rm -f conftest.er1
|
5955 | |
cat conftest.err >&5
|
5956 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5957 | |
(exit $ac_status); } >/dev/null && {
|
5958 | |
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
5959 | |
test ! -s conftest.err
|
5960 | |
}; then
|
|
5848 |
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
5961 | 5849 |
# Broken: success on invalid input.
|
5962 | 5850 |
continue
|
5963 | 5851 |
else
|
5964 | |
echo "$as_me: failed program was:" >&5
|
5965 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5966 | |
|
5967 | 5852 |
# Passes both tests.
|
5968 | 5853 |
ac_preproc_ok=:
|
5969 | 5854 |
break
|
5970 | 5855 |
fi
|
5971 | |
|
5972 | |
rm -f conftest.err conftest.$ac_ext
|
|
5856 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
5973 | 5857 |
|
5974 | 5858 |
done
|
5975 | 5859 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5976 | |
rm -f conftest.err conftest.$ac_ext
|
5977 | |
if $ac_preproc_ok; then
|
5978 | |
:
|
5979 | |
else
|
5980 | |
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
5981 | |
See \`config.log' for more details." >&5
|
5982 | |
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
|
5983 | |
See \`config.log' for more details." >&2;}
|
5984 | |
{ (exit 1); exit 1; }; }
|
|
5860 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
5861 |
if $ac_preproc_ok; then :
|
|
5862 |
|
|
5863 |
else
|
|
5864 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
5865 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
5866 |
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
|
|
5867 |
See \`config.log' for more details" "$LINENO" 5; }
|
5985 | 5868 |
fi
|
5986 | 5869 |
|
5987 | 5870 |
ac_ext=cpp
|
|
5998 | 5881 |
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5999 | 5882 |
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
|
6000 | 5883 |
if test -n "$ac_tool_prefix"; then
|
6001 | |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
|
|
5884 |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
|
6002 | 5885 |
do
|
6003 | 5886 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
6004 | 5887 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
6005 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6006 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6007 | |
if test "${ac_cv_prog_F77+set}" = set; then
|
6008 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5888 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5889 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5890 |
if ${ac_cv_prog_F77+:} false; then :
|
|
5891 |
$as_echo_n "(cached) " >&6
|
6009 | 5892 |
else
|
6010 | 5893 |
if test -n "$F77"; then
|
6011 | 5894 |
ac_cv_prog_F77="$F77" # Let the user override the test.
|
|
6015 | 5898 |
do
|
6016 | 5899 |
IFS=$as_save_IFS
|
6017 | 5900 |
test -z "$as_dir" && as_dir=.
|
6018 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6019 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5901 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5902 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6020 | 5903 |
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
|
6021 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5904 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6022 | 5905 |
break 2
|
6023 | 5906 |
fi
|
6024 | 5907 |
done
|
6025 | |
done
|
|
5908 |
done
|
6026 | 5909 |
IFS=$as_save_IFS
|
6027 | 5910 |
|
6028 | 5911 |
fi
|
6029 | 5912 |
fi
|
6030 | 5913 |
F77=$ac_cv_prog_F77
|
6031 | 5914 |
if test -n "$F77"; then
|
6032 | |
{ echo "$as_me:$LINENO: result: $F77" >&5
|
6033 | |
echo "${ECHO_T}$F77" >&6; }
|
6034 | |
else
|
6035 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6036 | |
echo "${ECHO_T}no" >&6; }
|
|
5915 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
|
|
5916 |
$as_echo "$F77" >&6; }
|
|
5917 |
else
|
|
5918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5919 |
$as_echo "no" >&6; }
|
6037 | 5920 |
fi
|
6038 | 5921 |
|
6039 | 5922 |
|
|
6042 | 5925 |
fi
|
6043 | 5926 |
if test -z "$F77"; then
|
6044 | 5927 |
ac_ct_F77=$F77
|
6045 | |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
|
|
5928 |
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn nagfor
|
6046 | 5929 |
do
|
6047 | 5930 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
6048 | 5931 |
set dummy $ac_prog; ac_word=$2
|
6049 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6050 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6051 | |
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
|
6052 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5932 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5933 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5934 |
if ${ac_cv_prog_ac_ct_F77+:} false; then :
|
|
5935 |
$as_echo_n "(cached) " >&6
|
6053 | 5936 |
else
|
6054 | 5937 |
if test -n "$ac_ct_F77"; then
|
6055 | 5938 |
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
|
|
6059 | 5942 |
do
|
6060 | 5943 |
IFS=$as_save_IFS
|
6061 | 5944 |
test -z "$as_dir" && as_dir=.
|
6062 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6063 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5945 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5946 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6064 | 5947 |
ac_cv_prog_ac_ct_F77="$ac_prog"
|
6065 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5948 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6066 | 5949 |
break 2
|
6067 | 5950 |
fi
|
6068 | 5951 |
done
|
6069 | |
done
|
|
5952 |
done
|
6070 | 5953 |
IFS=$as_save_IFS
|
6071 | 5954 |
|
6072 | 5955 |
fi
|
6073 | 5956 |
fi
|
6074 | 5957 |
ac_ct_F77=$ac_cv_prog_ac_ct_F77
|
6075 | 5958 |
if test -n "$ac_ct_F77"; then
|
6076 | |
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
|
6077 | |
echo "${ECHO_T}$ac_ct_F77" >&6; }
|
6078 | |
else
|
6079 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6080 | |
echo "${ECHO_T}no" >&6; }
|
|
5959 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
|
|
5960 |
$as_echo "$ac_ct_F77" >&6; }
|
|
5961 |
else
|
|
5962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5963 |
$as_echo "no" >&6; }
|
6081 | 5964 |
fi
|
6082 | 5965 |
|
6083 | 5966 |
|
|
6089 | 5972 |
else
|
6090 | 5973 |
case $cross_compiling:$ac_tool_warned in
|
6091 | 5974 |
yes:)
|
6092 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
6093 | |
whose name does not start with the host triplet. If you think this
|
6094 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
6095 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
6096 | |
whose name does not start with the host triplet. If you think this
|
6097 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
5975 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5976 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6098 | 5977 |
ac_tool_warned=yes ;;
|
6099 | 5978 |
esac
|
6100 | 5979 |
F77=$ac_ct_F77
|
|
6103 | 5982 |
|
6104 | 5983 |
|
6105 | 5984 |
# Provide some information about the compiler.
|
6106 | |
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
|
6107 | |
ac_compiler=`set X $ac_compile; echo $2`
|
6108 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
5985 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
|
|
5986 |
set X $ac_compile
|
|
5987 |
ac_compiler=$2
|
|
5988 |
for ac_option in --version -v -V -qversion; do
|
|
5989 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
6109 | 5990 |
case "(($ac_try" in
|
6110 | 5991 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6111 | 5992 |
*) ac_try_echo=$ac_try;;
|
6112 | 5993 |
esac
|
6113 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6114 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
5994 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
5995 |
$as_echo "$ac_try_echo"; } >&5
|
|
5996 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
6115 | 5997 |
ac_status=$?
|
6116 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6117 | |
(exit $ac_status); }
|
6118 | |
{ (ac_try="$ac_compiler -v >&5"
|
6119 | |
case "(($ac_try" in
|
6120 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6121 | |
*) ac_try_echo=$ac_try;;
|
6122 | |
esac
|
6123 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6124 | |
(eval "$ac_compiler -v >&5") 2>&5
|
6125 | |
ac_status=$?
|
6126 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6127 | |
(exit $ac_status); }
|
6128 | |
{ (ac_try="$ac_compiler -V >&5"
|
6129 | |
case "(($ac_try" in
|
6130 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6131 | |
*) ac_try_echo=$ac_try;;
|
6132 | |
esac
|
6133 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6134 | |
(eval "$ac_compiler -V >&5") 2>&5
|
6135 | |
ac_status=$?
|
6136 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6137 | |
(exit $ac_status); }
|
|
5998 |
if test -s conftest.err; then
|
|
5999 |
sed '10a\
|
|
6000 |
... rest of stderr output deleted ...
|
|
6001 |
10q' conftest.err >conftest.er1
|
|
6002 |
cat conftest.er1 >&5
|
|
6003 |
fi
|
|
6004 |
rm -f conftest.er1 conftest.err
|
|
6005 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6006 |
test $ac_status = 0; }
|
|
6007 |
done
|
6138 | 6008 |
rm -f a.out
|
6139 | 6009 |
|
6140 | 6010 |
# If we don't use `.F' as extension, the preprocessor is not run on the
|
6141 | 6011 |
# input file. (Note that this only needs to work for GNU compilers.)
|
6142 | 6012 |
ac_save_ext=$ac_ext
|
6143 | 6013 |
ac_ext=F
|
6144 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
|
6145 | |
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
|
6146 | |
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
|
6147 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
6148 | |
else
|
6149 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6014 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
|
|
6015 |
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
|
|
6016 |
if ${ac_cv_f77_compiler_gnu+:} false; then :
|
|
6017 |
$as_echo_n "(cached) " >&6
|
|
6018 |
else
|
|
6019 |
cat > conftest.$ac_ext <<_ACEOF
|
6150 | 6020 |
program main
|
6151 | 6021 |
#ifndef __GNUC__
|
6152 | 6022 |
choke me
|
|
6154 | 6024 |
|
6155 | 6025 |
end
|
6156 | 6026 |
_ACEOF
|
6157 | |
rm -f conftest.$ac_objext
|
6158 | |
if { (ac_try="$ac_compile"
|
6159 | |
case "(($ac_try" in
|
6160 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6161 | |
*) ac_try_echo=$ac_try;;
|
6162 | |
esac
|
6163 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6164 | |
(eval "$ac_compile") 2>conftest.er1
|
6165 | |
ac_status=$?
|
6166 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6167 | |
rm -f conftest.er1
|
6168 | |
cat conftest.err >&5
|
6169 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6170 | |
(exit $ac_status); } && {
|
6171 | |
test -z "$ac_f77_werror_flag" ||
|
6172 | |
test ! -s conftest.err
|
6173 | |
} && test -s conftest.$ac_objext; then
|
|
6027 |
if ac_fn_f77_try_compile "$LINENO"; then :
|
6174 | 6028 |
ac_compiler_gnu=yes
|
6175 | 6029 |
else
|
6176 | |
echo "$as_me: failed program was:" >&5
|
6177 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6178 | |
|
6179 | |
ac_compiler_gnu=no
|
6180 | |
fi
|
6181 | |
|
|
6030 |
ac_compiler_gnu=no
|
|
6031 |
fi
|
6182 | 6032 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6183 | 6033 |
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
|
6184 | 6034 |
|
6185 | 6035 |
fi
|
6186 | |
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
|
6187 | |
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
|
|
6036 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
|
|
6037 |
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
|
6188 | 6038 |
ac_ext=$ac_save_ext
|
6189 | 6039 |
ac_test_FFLAGS=${FFLAGS+set}
|
6190 | 6040 |
ac_save_FFLAGS=$FFLAGS
|
6191 | 6041 |
FFLAGS=
|
6192 | |
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
|
6193 | |
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
|
6194 | |
if test "${ac_cv_prog_f77_g+set}" = set; then
|
6195 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6042 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
|
|
6043 |
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
|
|
6044 |
if ${ac_cv_prog_f77_g+:} false; then :
|
|
6045 |
$as_echo_n "(cached) " >&6
|
6196 | 6046 |
else
|
6197 | 6047 |
FFLAGS=-g
|
6198 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
6048 |
cat > conftest.$ac_ext <<_ACEOF
|
6199 | 6049 |
program main
|
6200 | 6050 |
|
6201 | 6051 |
end
|
6202 | 6052 |
_ACEOF
|
6203 | |
rm -f conftest.$ac_objext
|
6204 | |
if { (ac_try="$ac_compile"
|
6205 | |
case "(($ac_try" in
|
6206 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
6207 | |
*) ac_try_echo=$ac_try;;
|
6208 | |
esac
|
6209 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
6210 | |
(eval "$ac_compile") 2>conftest.er1
|
6211 | |
ac_status=$?
|
6212 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
6213 | |
rm -f conftest.er1
|
6214 | |
cat conftest.err >&5
|
6215 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6216 | |
(exit $ac_status); } && {
|
6217 | |
test -z "$ac_f77_werror_flag" ||
|
6218 | |
test ! -s conftest.err
|
6219 | |
} && test -s conftest.$ac_objext; then
|
|
6053 |
if ac_fn_f77_try_compile "$LINENO"; then :
|
6220 | 6054 |
ac_cv_prog_f77_g=yes
|
6221 | 6055 |
else
|
6222 | |
echo "$as_me: failed program was:" >&5
|
6223 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
6224 | |
|
6225 | |
ac_cv_prog_f77_g=no
|
6226 | |
fi
|
6227 | |
|
|
6056 |
ac_cv_prog_f77_g=no
|
|
6057 |
fi
|
6228 | 6058 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6229 | 6059 |
|
6230 | 6060 |
fi
|
6231 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
|
6232 | |
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
|
|
6061 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
|
|
6062 |
$as_echo "$ac_cv_prog_f77_g" >&6; }
|
6233 | 6063 |
if test "$ac_test_FFLAGS" = set; then
|
6234 | 6064 |
FFLAGS=$ac_save_FFLAGS
|
6235 | 6065 |
elif test $ac_cv_prog_f77_g = yes; then
|
|
6246 | 6076 |
fi
|
6247 | 6077 |
fi
|
6248 | 6078 |
|
6249 | |
G77=`test $ac_compiler_gnu = yes && echo yes`
|
|
6079 |
if test $ac_compiler_gnu = yes; then
|
|
6080 |
G77=yes
|
|
6081 |
else
|
|
6082 |
G77=
|
|
6083 |
fi
|
6250 | 6084 |
ac_ext=c
|
6251 | 6085 |
ac_cpp='$CPP $CPPFLAGS'
|
6252 | 6086 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
6258 | 6092 |
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
|
6259 | 6093 |
|
6260 | 6094 |
# find the maximum length of command line arguments
|
6261 | |
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
|
6262 | |
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
|
6263 | |
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
|
6264 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6095 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
|
|
6096 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
|
|
6097 |
if ${lt_cv_sys_max_cmd_len+:} false; then :
|
|
6098 |
$as_echo_n "(cached) " >&6
|
6265 | 6099 |
else
|
6266 | 6100 |
i=0
|
6267 | 6101 |
teststring="ABCD"
|
|
6370 | 6204 |
fi
|
6371 | 6205 |
|
6372 | 6206 |
if test -n $lt_cv_sys_max_cmd_len ; then
|
6373 | |
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
|
6374 | |
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
|
6375 | |
else
|
6376 | |
{ echo "$as_me:$LINENO: result: none" >&5
|
6377 | |
echo "${ECHO_T}none" >&6; }
|
|
6207 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
|
|
6208 |
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
|
|
6209 |
else
|
|
6210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
|
|
6211 |
$as_echo "none" >&6; }
|
6378 | 6212 |
fi
|
6379 | 6213 |
|
6380 | 6214 |
|
|
6382 | 6216 |
|
6383 | 6217 |
|
6384 | 6218 |
# Check for command to grab the raw symbol name followed by C symbol from nm.
|
6385 | |
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
|
6386 | |
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
|
6387 | |
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
|
6388 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
|
|
6220 |
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
|
|
6221 |
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
|
|
6222 |
$as_echo_n "(cached) " >&6
|
6389 | 6223 |
else
|
6390 | 6224 |
|
6391 | 6225 |
# These are sane defaults that work on at least a few old systems.
|
|
6487 | 6321 |
int main(){nm_test_var='a';nm_test_func();return(0);}
|
6488 | 6322 |
EOF
|
6489 | 6323 |
|
6490 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
6324 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
6491 | 6325 |
(eval $ac_compile) 2>&5
|
6492 | 6326 |
ac_status=$?
|
6493 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6494 | |
(exit $ac_status); }; then
|
|
6327 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6328 |
test $ac_status = 0; }; then
|
6495 | 6329 |
# Now try to grab the symbols.
|
6496 | 6330 |
nlist=conftest.nm
|
6497 | |
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
|
|
6331 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
|
6498 | 6332 |
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
|
6499 | 6333 |
ac_status=$?
|
6500 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6501 | |
(exit $ac_status); } && test -s "$nlist"; then
|
|
6334 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6335 |
test $ac_status = 0; } && test -s "$nlist"; then
|
6502 | 6336 |
# Try sorting and uniquifying the output.
|
6503 | 6337 |
if sort "$nlist" | uniq > "$nlist"T; then
|
6504 | 6338 |
mv -f "$nlist"T "$nlist"
|
|
6549 | 6383 |
lt_save_CFLAGS="$CFLAGS"
|
6550 | 6384 |
LIBS="conftstm.$ac_objext"
|
6551 | 6385 |
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
|
6552 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
6386 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
6553 | 6387 |
(eval $ac_link) 2>&5
|
6554 | 6388 |
ac_status=$?
|
6555 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
6556 | |
(exit $ac_status); } && test -s conftest${ac_exeext}; then
|
|
6389 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
6390 |
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
|
6557 | 6391 |
pipe_works=yes
|
6558 | 6392 |
fi
|
6559 | 6393 |
LIBS="$lt_save_LIBS"
|
|
6587 | 6421 |
lt_cv_sys_global_symbol_to_cdecl=
|
6588 | 6422 |
fi
|
6589 | 6423 |
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
|
6590 | |
{ echo "$as_me:$LINENO: result: failed" >&5
|
6591 | |
echo "${ECHO_T}failed" >&6; }
|
6592 | |
else
|
6593 | |
{ echo "$as_me:$LINENO: result: ok" >&5
|
6594 | |
echo "${ECHO_T}ok" >&6; }
|
6595 | |
fi
|
6596 | |
|
6597 | |
{ echo "$as_me:$LINENO: checking for objdir" >&5
|
6598 | |
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
|
6599 | |
if test "${lt_cv_objdir+set}" = set; then
|
6600 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6424 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
6425 |
$as_echo "failed" >&6; }
|
|
6426 |
else
|
|
6427 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
|
|
6428 |
$as_echo "ok" >&6; }
|
|
6429 |
fi
|
|
6430 |
|
|
6431 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
|
|
6432 |
$as_echo_n "checking for objdir... " >&6; }
|
|
6433 |
if ${lt_cv_objdir+:} false; then :
|
|
6434 |
$as_echo_n "(cached) " >&6
|
6601 | 6435 |
else
|
6602 | 6436 |
rm -f .libs 2>/dev/null
|
6603 | 6437 |
mkdir .libs 2>/dev/null
|
|
6609 | 6443 |
fi
|
6610 | 6444 |
rmdir .libs 2>/dev/null
|
6611 | 6445 |
fi
|
6612 | |
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
|
6613 | |
echo "${ECHO_T}$lt_cv_objdir" >&6; }
|
|
6446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
|
|
6447 |
$as_echo "$lt_cv_objdir" >&6; }
|
6614 | 6448 |
objdir=$lt_cv_objdir
|
6615 | 6449 |
|
6616 | 6450 |
|
|
6661 | 6495 |
if test -n "$ac_tool_prefix"; then
|
6662 | 6496 |
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
|
6663 | 6497 |
set dummy ${ac_tool_prefix}ar; ac_word=$2
|
6664 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6665 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6666 | |
if test "${ac_cv_prog_AR+set}" = set; then
|
6667 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6498 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6499 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6500 |
if ${ac_cv_prog_AR+:} false; then :
|
|
6501 |
$as_echo_n "(cached) " >&6
|
6668 | 6502 |
else
|
6669 | 6503 |
if test -n "$AR"; then
|
6670 | 6504 |
ac_cv_prog_AR="$AR" # Let the user override the test.
|
|
6674 | 6508 |
do
|
6675 | 6509 |
IFS=$as_save_IFS
|
6676 | 6510 |
test -z "$as_dir" && as_dir=.
|
6677 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6678 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6511 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6512 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6679 | 6513 |
ac_cv_prog_AR="${ac_tool_prefix}ar"
|
6680 | |
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
|
6681 | 6515 |
break 2
|
6682 | 6516 |
fi
|
6683 | 6517 |
done
|
6684 | |
done
|
|
6518 |
done
|
6685 | 6519 |
IFS=$as_save_IFS
|
6686 | 6520 |
|
6687 | 6521 |
fi
|
6688 | 6522 |
fi
|
6689 | 6523 |
AR=$ac_cv_prog_AR
|
6690 | 6524 |
if test -n "$AR"; then
|
6691 | |
{ echo "$as_me:$LINENO: result: $AR" >&5
|
6692 | |
echo "${ECHO_T}$AR" >&6; }
|
6693 | |
else
|
6694 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6695 | |
echo "${ECHO_T}no" >&6; }
|
|
6525 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
|
|
6526 |
$as_echo "$AR" >&6; }
|
|
6527 |
else
|
|
6528 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6529 |
$as_echo "no" >&6; }
|
6696 | 6530 |
fi
|
6697 | 6531 |
|
6698 | 6532 |
|
|
6701 | 6535 |
ac_ct_AR=$AR
|
6702 | 6536 |
# Extract the first word of "ar", so it can be a program name with args.
|
6703 | 6537 |
set dummy ar; ac_word=$2
|
6704 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6705 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6706 | |
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
|
6707 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6538 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6539 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6540 |
if ${ac_cv_prog_ac_ct_AR+:} false; then :
|
|
6541 |
$as_echo_n "(cached) " >&6
|
6708 | 6542 |
else
|
6709 | 6543 |
if test -n "$ac_ct_AR"; then
|
6710 | 6544 |
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
|
|
6714 | 6548 |
do
|
6715 | 6549 |
IFS=$as_save_IFS
|
6716 | 6550 |
test -z "$as_dir" && as_dir=.
|
6717 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6718 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6551 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6552 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6719 | 6553 |
ac_cv_prog_ac_ct_AR="ar"
|
6720 | |
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
|
6721 | 6555 |
break 2
|
6722 | 6556 |
fi
|
6723 | 6557 |
done
|
6724 | |
done
|
|
6558 |
done
|
6725 | 6559 |
IFS=$as_save_IFS
|
6726 | 6560 |
|
6727 | 6561 |
fi
|
6728 | 6562 |
fi
|
6729 | 6563 |
ac_ct_AR=$ac_cv_prog_ac_ct_AR
|
6730 | 6564 |
if test -n "$ac_ct_AR"; then
|
6731 | |
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
|
6732 | |
echo "${ECHO_T}$ac_ct_AR" >&6; }
|
6733 | |
else
|
6734 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6735 | |
echo "${ECHO_T}no" >&6; }
|
|
6565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
|
|
6566 |
$as_echo "$ac_ct_AR" >&6; }
|
|
6567 |
else
|
|
6568 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6569 |
$as_echo "no" >&6; }
|
6736 | 6570 |
fi
|
6737 | 6571 |
|
6738 | 6572 |
if test "x$ac_ct_AR" = x; then
|
|
6740 | 6574 |
else
|
6741 | 6575 |
case $cross_compiling:$ac_tool_warned in
|
6742 | 6576 |
yes:)
|
6743 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
6744 | |
whose name does not start with the host triplet. If you think this
|
6745 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
6746 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
6747 | |
whose name does not start with the host triplet. If you think this
|
6748 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
6577 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6578 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6749 | 6579 |
ac_tool_warned=yes ;;
|
6750 | 6580 |
esac
|
6751 | 6581 |
AR=$ac_ct_AR
|
|
6757 | 6587 |
if test -n "$ac_tool_prefix"; then
|
6758 | 6588 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
6759 | 6589 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
6760 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6761 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6762 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
6763 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6591 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6592 |
if ${ac_cv_prog_RANLIB+:} false; then :
|
|
6593 |
$as_echo_n "(cached) " >&6
|
6764 | 6594 |
else
|
6765 | 6595 |
if test -n "$RANLIB"; then
|
6766 | 6596 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
6770 | 6600 |
do
|
6771 | 6601 |
IFS=$as_save_IFS
|
6772 | 6602 |
test -z "$as_dir" && as_dir=.
|
6773 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6774 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6603 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6604 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6775 | 6605 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
6776 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6606 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6777 | 6607 |
break 2
|
6778 | 6608 |
fi
|
6779 | 6609 |
done
|
6780 | |
done
|
|
6610 |
done
|
6781 | 6611 |
IFS=$as_save_IFS
|
6782 | 6612 |
|
6783 | 6613 |
fi
|
6784 | 6614 |
fi
|
6785 | 6615 |
RANLIB=$ac_cv_prog_RANLIB
|
6786 | 6616 |
if test -n "$RANLIB"; then
|
6787 | |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
6788 | |
echo "${ECHO_T}$RANLIB" >&6; }
|
6789 | |
else
|
6790 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6791 | |
echo "${ECHO_T}no" >&6; }
|
|
6617 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
6618 |
$as_echo "$RANLIB" >&6; }
|
|
6619 |
else
|
|
6620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6621 |
$as_echo "no" >&6; }
|
6792 | 6622 |
fi
|
6793 | 6623 |
|
6794 | 6624 |
|
|
6797 | 6627 |
ac_ct_RANLIB=$RANLIB
|
6798 | 6628 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
6799 | 6629 |
set dummy ranlib; ac_word=$2
|
6800 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6801 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6802 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
6803 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6631 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6632 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
|
6633 |
$as_echo_n "(cached) " >&6
|
6804 | 6634 |
else
|
6805 | 6635 |
if test -n "$ac_ct_RANLIB"; then
|
6806 | 6636 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
6810 | 6640 |
do
|
6811 | 6641 |
IFS=$as_save_IFS
|
6812 | 6642 |
test -z "$as_dir" && as_dir=.
|
6813 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6814 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6643 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6644 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6815 | 6645 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
6816 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6646 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6817 | 6647 |
break 2
|
6818 | 6648 |
fi
|
6819 | 6649 |
done
|
6820 | |
done
|
|
6650 |
done
|
6821 | 6651 |
IFS=$as_save_IFS
|
6822 | 6652 |
|
6823 | 6653 |
fi
|
6824 | 6654 |
fi
|
6825 | 6655 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
6826 | 6656 |
if test -n "$ac_ct_RANLIB"; then
|
6827 | |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
6828 | |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
6829 | |
else
|
6830 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6831 | |
echo "${ECHO_T}no" >&6; }
|
|
6657 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
6658 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
6659 |
else
|
|
6660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6661 |
$as_echo "no" >&6; }
|
6832 | 6662 |
fi
|
6833 | 6663 |
|
6834 | 6664 |
if test "x$ac_ct_RANLIB" = x; then
|
|
6836 | 6666 |
else
|
6837 | 6667 |
case $cross_compiling:$ac_tool_warned in
|
6838 | 6668 |
yes:)
|
6839 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
6840 | |
whose name does not start with the host triplet. If you think this
|
6841 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
6842 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
6843 | |
whose name does not start with the host triplet. If you think this
|
6844 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
6669 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6670 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6845 | 6671 |
ac_tool_warned=yes ;;
|
6846 | 6672 |
esac
|
6847 | 6673 |
RANLIB=$ac_ct_RANLIB
|
|
6853 | 6679 |
if test -n "$ac_tool_prefix"; then
|
6854 | 6680 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
6855 | 6681 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
6856 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6857 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6858 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
6859 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6682 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6683 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6684 |
if ${ac_cv_prog_STRIP+:} false; then :
|
|
6685 |
$as_echo_n "(cached) " >&6
|
6860 | 6686 |
else
|
6861 | 6687 |
if test -n "$STRIP"; then
|
6862 | 6688 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
6866 | 6692 |
do
|
6867 | 6693 |
IFS=$as_save_IFS
|
6868 | 6694 |
test -z "$as_dir" && as_dir=.
|
6869 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6870 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6695 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6696 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6871 | 6697 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
6872 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6698 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6873 | 6699 |
break 2
|
6874 | 6700 |
fi
|
6875 | 6701 |
done
|
6876 | |
done
|
|
6702 |
done
|
6877 | 6703 |
IFS=$as_save_IFS
|
6878 | 6704 |
|
6879 | 6705 |
fi
|
6880 | 6706 |
fi
|
6881 | 6707 |
STRIP=$ac_cv_prog_STRIP
|
6882 | 6708 |
if test -n "$STRIP"; then
|
6883 | |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
6884 | |
echo "${ECHO_T}$STRIP" >&6; }
|
6885 | |
else
|
6886 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6887 | |
echo "${ECHO_T}no" >&6; }
|
|
6709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
6710 |
$as_echo "$STRIP" >&6; }
|
|
6711 |
else
|
|
6712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6713 |
$as_echo "no" >&6; }
|
6888 | 6714 |
fi
|
6889 | 6715 |
|
6890 | 6716 |
|
|
6893 | 6719 |
ac_ct_STRIP=$STRIP
|
6894 | 6720 |
# Extract the first word of "strip", so it can be a program name with args.
|
6895 | 6721 |
set dummy strip; ac_word=$2
|
6896 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
6897 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
6898 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
6899 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6722 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
6723 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
6724 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
|
6725 |
$as_echo_n "(cached) " >&6
|
6900 | 6726 |
else
|
6901 | 6727 |
if test -n "$ac_ct_STRIP"; then
|
6902 | 6728 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
6906 | 6732 |
do
|
6907 | 6733 |
IFS=$as_save_IFS
|
6908 | 6734 |
test -z "$as_dir" && as_dir=.
|
6909 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
6910 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
6735 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
6736 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
6911 | 6737 |
ac_cv_prog_ac_ct_STRIP="strip"
|
6912 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
6738 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
6913 | 6739 |
break 2
|
6914 | 6740 |
fi
|
6915 | 6741 |
done
|
6916 | |
done
|
|
6742 |
done
|
6917 | 6743 |
IFS=$as_save_IFS
|
6918 | 6744 |
|
6919 | 6745 |
fi
|
6920 | 6746 |
fi
|
6921 | 6747 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
6922 | 6748 |
if test -n "$ac_ct_STRIP"; then
|
6923 | |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
6924 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
6925 | |
else
|
6926 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
6927 | |
echo "${ECHO_T}no" >&6; }
|
|
6749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
6750 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
6751 |
else
|
|
6752 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6753 |
$as_echo "no" >&6; }
|
6928 | 6754 |
fi
|
6929 | 6755 |
|
6930 | 6756 |
if test "x$ac_ct_STRIP" = x; then
|
|
6932 | 6758 |
else
|
6933 | 6759 |
case $cross_compiling:$ac_tool_warned in
|
6934 | 6760 |
yes:)
|
6935 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
6936 | |
whose name does not start with the host triplet. If you think this
|
6937 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
6938 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
6939 | |
whose name does not start with the host triplet. If you think this
|
6940 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
6761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
6762 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
6941 | 6763 |
ac_tool_warned=yes ;;
|
6942 | 6764 |
esac
|
6943 | 6765 |
STRIP=$ac_ct_STRIP
|
|
7000 | 6822 |
case $deplibs_check_method in
|
7001 | 6823 |
file_magic*)
|
7002 | 6824 |
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
|
7003 | |
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
|
7004 | |
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
|
7005 | |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
7006 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
|
|
6826 |
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
|
|
6827 |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
|
6828 |
$as_echo_n "(cached) " >&6
|
7007 | 6829 |
else
|
7008 | 6830 |
case $MAGIC_CMD in
|
7009 | 6831 |
[\\/*] | ?:[\\/]*)
|
|
7053 | 6875 |
|
7054 | 6876 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
7055 | 6877 |
if test -n "$MAGIC_CMD"; then
|
7056 | |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
7057 | |
echo "${ECHO_T}$MAGIC_CMD" >&6; }
|
7058 | |
else
|
7059 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
7060 | |
echo "${ECHO_T}no" >&6; }
|
|
6878 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
6879 |
$as_echo "$MAGIC_CMD" >&6; }
|
|
6880 |
else
|
|
6881 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6882 |
$as_echo "no" >&6; }
|
7061 | 6883 |
fi
|
7062 | 6884 |
|
7063 | 6885 |
if test -z "$lt_cv_path_MAGIC_CMD"; then
|
7064 | 6886 |
if test -n "$ac_tool_prefix"; then
|
7065 | |
{ echo "$as_me:$LINENO: checking for file" >&5
|
7066 | |
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
|
7067 | |
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
|
7068 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
6887 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
|
|
6888 |
$as_echo_n "checking for file... " >&6; }
|
|
6889 |
if ${lt_cv_path_MAGIC_CMD+:} false; then :
|
|
6890 |
$as_echo_n "(cached) " >&6
|
7069 | 6891 |
else
|
7070 | 6892 |
case $MAGIC_CMD in
|
7071 | 6893 |
[\\/*] | ?:[\\/]*)
|
|
7115 | 6937 |
|
7116 | 6938 |
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
|
7117 | 6939 |
if test -n "$MAGIC_CMD"; then
|
7118 | |
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
|
7119 | |
echo "${ECHO_T}$MAGIC_CMD" >&6; }
|
7120 | |
else
|
7121 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
7122 | |
echo "${ECHO_T}no" >&6; }
|
|
6940 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
|
|
6941 |
$as_echo "$MAGIC_CMD" >&6; }
|
|
6942 |
else
|
|
6943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
6944 |
$as_echo "no" >&6; }
|
7123 | 6945 |
fi
|
7124 | 6946 |
|
7125 | 6947 |
else
|
|
7135 | 6957 |
enable_win32_dll=no
|
7136 | 6958 |
|
7137 | 6959 |
# Check whether --enable-libtool-lock was given.
|
7138 | |
if test "${enable_libtool_lock+set}" = set; then
|
|
6960 |
if test "${enable_libtool_lock+set}" = set; then :
|
7139 | 6961 |
enableval=$enable_libtool_lock;
|
7140 | 6962 |
fi
|
7141 | 6963 |
|
|
7143 | 6965 |
|
7144 | 6966 |
|
7145 | 6967 |
# Check whether --with-pic was given.
|
7146 | |
if test "${with_pic+set}" = set; then
|
|
6968 |
if test "${with_pic+set}" = set; then :
|
7147 | 6969 |
withval=$with_pic; pic_mode="$withval"
|
7148 | 6970 |
else
|
7149 | 6971 |
pic_mode=default
|
|
7206 | 7028 |
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
|
7207 | 7029 |
|
7208 | 7030 |
|
7209 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
7210 | |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
|
7211 | |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
7212 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
7032 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
|
7033 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
|
7034 |
$as_echo_n "(cached) " >&6
|
7213 | 7035 |
else
|
7214 | 7036 |
lt_cv_prog_compiler_rtti_exceptions=no
|
7215 | 7037 |
ac_outfile=conftest.$ac_objext
|
|
7224 | 7046 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7225 | 7047 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7226 | 7048 |
-e 's:$: $lt_compiler_flag:'`
|
7227 | |
(eval echo "\"\$as_me:7228: $lt_compile\"" >&5)
|
|
7049 |
(eval echo "\"\$as_me:7050: $lt_compile\"" >&5)
|
7228 | 7050 |
(eval "$lt_compile" 2>conftest.err)
|
7229 | 7051 |
ac_status=$?
|
7230 | 7052 |
cat conftest.err >&5
|
7231 | |
echo "$as_me:7232: \$? = $ac_status" >&5
|
|
7053 |
echo "$as_me:7054: \$? = $ac_status" >&5
|
7232 | 7054 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7233 | 7055 |
# The compiler can only warn and ignore the option if not recognized
|
7234 | 7056 |
# So say no if there are warnings other than the usual output.
|
|
7241 | 7063 |
$rm conftest*
|
7242 | 7064 |
|
7243 | 7065 |
fi
|
7244 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
7245 | |
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
7066 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
7067 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
7246 | 7068 |
|
7247 | 7069 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
7248 | 7070 |
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
|
|
7256 | 7078 |
lt_prog_compiler_pic=
|
7257 | 7079 |
lt_prog_compiler_static=
|
7258 | 7080 |
|
7259 | |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
7260 | |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
7081 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
7082 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
7261 | 7083 |
|
7262 | 7084 |
if test "$GCC" = yes; then
|
7263 | 7085 |
lt_prog_compiler_wl='-Wl,'
|
|
7488 | 7310 |
esac
|
7489 | 7311 |
fi
|
7490 | 7312 |
|
7491 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
|
7492 | |
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
|
|
7313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
|
|
7314 |
$as_echo "$lt_prog_compiler_pic" >&6; }
|
7493 | 7315 |
|
7494 | 7316 |
#
|
7495 | 7317 |
# Check to make sure the PIC flag actually works.
|
7496 | 7318 |
#
|
7497 | 7319 |
if test -n "$lt_prog_compiler_pic"; then
|
7498 | 7320 |
|
7499 | |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
7500 | |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
|
7501 | |
if test "${lt_prog_compiler_pic_works+set}" = set; then
|
7502 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
|
|
7322 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
|
|
7323 |
if ${lt_prog_compiler_pic_works+:} false; then :
|
|
7324 |
$as_echo_n "(cached) " >&6
|
7503 | 7325 |
else
|
7504 | 7326 |
lt_prog_compiler_pic_works=no
|
7505 | 7327 |
ac_outfile=conftest.$ac_objext
|
|
7514 | 7336 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7515 | 7337 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7516 | 7338 |
-e 's:$: $lt_compiler_flag:'`
|
7517 | |
(eval echo "\"\$as_me:7518: $lt_compile\"" >&5)
|
|
7339 |
(eval echo "\"\$as_me:7340: $lt_compile\"" >&5)
|
7518 | 7340 |
(eval "$lt_compile" 2>conftest.err)
|
7519 | 7341 |
ac_status=$?
|
7520 | 7342 |
cat conftest.err >&5
|
7521 | |
echo "$as_me:7522: \$? = $ac_status" >&5
|
|
7343 |
echo "$as_me:7344: \$? = $ac_status" >&5
|
7522 | 7344 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
7523 | 7345 |
# The compiler can only warn and ignore the option if not recognized
|
7524 | 7346 |
# So say no if there are warnings other than the usual output.
|
|
7531 | 7353 |
$rm conftest*
|
7532 | 7354 |
|
7533 | 7355 |
fi
|
7534 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
|
7535 | |
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
|
|
7356 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works" >&5
|
|
7357 |
$as_echo "$lt_prog_compiler_pic_works" >&6; }
|
7536 | 7358 |
|
7537 | 7359 |
if test x"$lt_prog_compiler_pic_works" = xyes; then
|
7538 | 7360 |
case $lt_prog_compiler_pic in
|
|
7559 | 7381 |
# Check to make sure the static flag actually works.
|
7560 | 7382 |
#
|
7561 | 7383 |
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
|
7562 | |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
7563 | |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
|
7564 | |
if test "${lt_prog_compiler_static_works+set}" = set; then
|
7565 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7384 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
7385 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
7386 |
if ${lt_prog_compiler_static_works+:} false; then :
|
|
7387 |
$as_echo_n "(cached) " >&6
|
7566 | 7388 |
else
|
7567 | 7389 |
lt_prog_compiler_static_works=no
|
7568 | 7390 |
save_LDFLAGS="$LDFLAGS"
|
|
7587 | 7409 |
LDFLAGS="$save_LDFLAGS"
|
7588 | 7410 |
|
7589 | 7411 |
fi
|
7590 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
|
7591 | |
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
|
|
7412 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works" >&5
|
|
7413 |
$as_echo "$lt_prog_compiler_static_works" >&6; }
|
7592 | 7414 |
|
7593 | 7415 |
if test x"$lt_prog_compiler_static_works" = xyes; then
|
7594 | 7416 |
:
|
|
7597 | 7419 |
fi
|
7598 | 7420 |
|
7599 | 7421 |
|
7600 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
7601 | |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
|
7602 | |
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
|
7603 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
7422 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
7423 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
7424 |
if ${lt_cv_prog_compiler_c_o+:} false; then :
|
|
7425 |
$as_echo_n "(cached) " >&6
|
7604 | 7426 |
else
|
7605 | 7427 |
lt_cv_prog_compiler_c_o=no
|
7606 | 7428 |
$rm -r conftest 2>/dev/null
|
|
7618 | 7440 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
7619 | 7441 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
7620 | 7442 |
-e 's:$: $lt_compiler_flag:'`
|
7621 | |
(eval echo "\"\$as_me:7622: $lt_compile\"" >&5)
|
|
7443 |
(eval echo "\"\$as_me:7444: $lt_compile\"" >&5)
|
7622 | 7444 |
(eval "$lt_compile" 2>out/conftest.err)
|
7623 | 7445 |
ac_status=$?
|
7624 | 7446 |
cat out/conftest.err >&5
|
7625 | |
echo "$as_me:7626: \$? = $ac_status" >&5
|
|
7447 |
echo "$as_me:7448: \$? = $ac_status" >&5
|
7626 | 7448 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
7627 | 7449 |
then
|
7628 | 7450 |
# The compiler can only warn and ignore the option if not recognized
|
|
7644 | 7466 |
$rm conftest*
|
7645 | 7467 |
|
7646 | 7468 |
fi
|
7647 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
|
7648 | |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
|
|
7469 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
|
|
7470 |
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
|
7649 | 7471 |
|
7650 | 7472 |
|
7651 | 7473 |
hard_links="nottested"
|
7652 | 7474 |
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
|
7653 | 7475 |
# do not overwrite the value of need_locks provided by the user
|
7654 | |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
7655 | |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
|
|
7476 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
7477 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
7656 | 7478 |
hard_links=yes
|
7657 | 7479 |
$rm conftest*
|
7658 | 7480 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
7659 | 7481 |
touch conftest.a
|
7660 | 7482 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
7661 | 7483 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
7662 | |
{ echo "$as_me:$LINENO: result: $hard_links" >&5
|
7663 | |
echo "${ECHO_T}$hard_links" >&6; }
|
|
7484 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
7485 |
$as_echo "$hard_links" >&6; }
|
7664 | 7486 |
if test "$hard_links" = no; then
|
7665 | |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
7666 | |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
|
7487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
7488 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
7667 | 7489 |
need_locks=warn
|
7668 | 7490 |
fi
|
7669 | 7491 |
else
|
7670 | 7492 |
need_locks=no
|
7671 | 7493 |
fi
|
7672 | 7494 |
|
7673 | |
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
7674 | |
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
7495 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
7496 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
7675 | 7497 |
|
7676 | 7498 |
runpath_var=
|
7677 | 7499 |
allow_undefined_flag=
|
|
8080 | 7902 |
# -berok will link without error, but may produce a broken library.
|
8081 | 7903 |
allow_undefined_flag='-berok'
|
8082 | 7904 |
# Determine the default libpath from the value encoded in an empty executable.
|
8083 | |
cat >conftest.$ac_ext <<_ACEOF
|
8084 | |
/* confdefs.h. */
|
8085 | |
_ACEOF
|
8086 | |
cat confdefs.h >>conftest.$ac_ext
|
8087 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7905 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8088 | 7906 |
/* end confdefs.h. */
|
8089 | 7907 |
|
8090 | 7908 |
int
|
|
8095 | 7913 |
return 0;
|
8096 | 7914 |
}
|
8097 | 7915 |
_ACEOF
|
8098 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
8099 | |
if { (ac_try="$ac_link"
|
8100 | |
case "(($ac_try" in
|
8101 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8102 | |
*) ac_try_echo=$ac_try;;
|
8103 | |
esac
|
8104 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8105 | |
(eval "$ac_link") 2>conftest.er1
|
8106 | |
ac_status=$?
|
8107 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8108 | |
rm -f conftest.er1
|
8109 | |
cat conftest.err >&5
|
8110 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8111 | |
(exit $ac_status); } && {
|
8112 | |
test -z "$ac_c_werror_flag" ||
|
8113 | |
test ! -s conftest.err
|
8114 | |
} && test -s conftest$ac_exeext &&
|
8115 | |
$as_test_x conftest$ac_exeext; then
|
|
7916 |
if ac_fn_c_try_link "$LINENO"; then :
|
8116 | 7917 |
|
8117 | 7918 |
lt_aix_libpath_sed='
|
8118 | 7919 |
/Import File Strings/,/^$/ {
|
|
8126 | 7927 |
if test -z "$aix_libpath"; then
|
8127 | 7928 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8128 | 7929 |
fi
|
8129 | |
else
|
8130 | |
echo "$as_me: failed program was:" >&5
|
8131 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8132 | |
|
8133 | |
|
8134 | |
fi
|
8135 | |
|
8136 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
8137 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7930 |
fi
|
|
7931 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7932 |
conftest$ac_exeext conftest.$ac_ext
|
8138 | 7933 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
8139 | 7934 |
|
8140 | 7935 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
8146 | 7941 |
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
|
8147 | 7942 |
else
|
8148 | 7943 |
# Determine the default libpath from the value encoded in an empty executable.
|
8149 | |
cat >conftest.$ac_ext <<_ACEOF
|
8150 | |
/* confdefs.h. */
|
8151 | |
_ACEOF
|
8152 | |
cat confdefs.h >>conftest.$ac_ext
|
8153 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
7944 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8154 | 7945 |
/* end confdefs.h. */
|
8155 | 7946 |
|
8156 | 7947 |
int
|
|
8161 | 7952 |
return 0;
|
8162 | 7953 |
}
|
8163 | 7954 |
_ACEOF
|
8164 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
8165 | |
if { (ac_try="$ac_link"
|
8166 | |
case "(($ac_try" in
|
8167 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
8168 | |
*) ac_try_echo=$ac_try;;
|
8169 | |
esac
|
8170 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
8171 | |
(eval "$ac_link") 2>conftest.er1
|
8172 | |
ac_status=$?
|
8173 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
8174 | |
rm -f conftest.er1
|
8175 | |
cat conftest.err >&5
|
8176 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8177 | |
(exit $ac_status); } && {
|
8178 | |
test -z "$ac_c_werror_flag" ||
|
8179 | |
test ! -s conftest.err
|
8180 | |
} && test -s conftest$ac_exeext &&
|
8181 | |
$as_test_x conftest$ac_exeext; then
|
|
7955 |
if ac_fn_c_try_link "$LINENO"; then :
|
8182 | 7956 |
|
8183 | 7957 |
lt_aix_libpath_sed='
|
8184 | 7958 |
/Import File Strings/,/^$/ {
|
|
8192 | 7966 |
if test -z "$aix_libpath"; then
|
8193 | 7967 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
8194 | 7968 |
fi
|
8195 | |
else
|
8196 | |
echo "$as_me: failed program was:" >&5
|
8197 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
8198 | |
|
8199 | |
|
8200 | |
fi
|
8201 | |
|
8202 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
8203 | |
conftest$ac_exeext conftest.$ac_ext
|
|
7969 |
fi
|
|
7970 |
rm -f core conftest.err conftest.$ac_objext \
|
|
7971 |
conftest$ac_exeext conftest.$ac_ext
|
8204 | 7972 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
8205 | 7973 |
|
8206 | 7974 |
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
8651 | 8419 |
esac
|
8652 | 8420 |
fi
|
8653 | 8421 |
|
8654 | |
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
|
8655 | |
echo "${ECHO_T}$ld_shlibs" >&6; }
|
|
8422 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
|
|
8423 |
$as_echo "$ld_shlibs" >&6; }
|
8656 | 8424 |
test "$ld_shlibs" = no && can_build_shared=no
|
8657 | 8425 |
|
8658 | 8426 |
#
|
|
8672 | 8440 |
# Test whether the compiler implicitly links with -lc since on some
|
8673 | 8441 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
8674 | 8442 |
# to ld, don't add -lc before -lgcc.
|
8675 | |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
8676 | |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
8443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
8444 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
8677 | 8445 |
$rm conftest*
|
8678 | 8446 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
8679 | 8447 |
|
8680 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
8448 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
8681 | 8449 |
(eval $ac_compile) 2>&5
|
8682 | 8450 |
ac_status=$?
|
8683 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8684 | |
(exit $ac_status); } 2>conftest.err; then
|
|
8451 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8452 |
test $ac_status = 0; } 2>conftest.err; then
|
8685 | 8453 |
soname=conftest
|
8686 | 8454 |
lib=conftest
|
8687 | 8455 |
libobjs=conftest.$ac_objext
|
|
8695 | 8463 |
libname=conftest
|
8696 | 8464 |
lt_save_allow_undefined_flag=$allow_undefined_flag
|
8697 | 8465 |
allow_undefined_flag=
|
8698 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
8466 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
8699 | 8467 |
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
8700 | 8468 |
ac_status=$?
|
8701 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
8702 | |
(exit $ac_status); }
|
|
8469 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
8470 |
test $ac_status = 0; }
|
8703 | 8471 |
then
|
8704 | 8472 |
archive_cmds_need_lc=no
|
8705 | 8473 |
else
|
|
8710 | 8478 |
cat conftest.err 1>&5
|
8711 | 8479 |
fi
|
8712 | 8480 |
$rm conftest*
|
8713 | |
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
|
8714 | |
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
|
|
8481 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
|
|
8482 |
$as_echo "$archive_cmds_need_lc" >&6; }
|
8715 | 8483 |
;;
|
8716 | 8484 |
esac
|
8717 | 8485 |
fi
|
8718 | 8486 |
;;
|
8719 | 8487 |
esac
|
8720 | 8488 |
|
8721 | |
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
8722 | |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
|
|
8489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
8490 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
8723 | 8491 |
library_names_spec=
|
8724 | 8492 |
libname_spec='lib$name'
|
8725 | 8493 |
soname_spec=
|
|
9332 | 9100 |
dynamic_linker=no
|
9333 | 9101 |
;;
|
9334 | 9102 |
esac
|
9335 | |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
9336 | |
echo "${ECHO_T}$dynamic_linker" >&6; }
|
|
9103 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
9104 |
$as_echo "$dynamic_linker" >&6; }
|
9337 | 9105 |
test "$dynamic_linker" = no && can_build_shared=no
|
9338 | 9106 |
|
9339 | 9107 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
9341 | 9109 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
9342 | 9110 |
fi
|
9343 | 9111 |
|
9344 | |
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
9345 | |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
|
|
9112 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
9113 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
9346 | 9114 |
hardcode_action=
|
9347 | 9115 |
if test -n "$hardcode_libdir_flag_spec" || \
|
9348 | 9116 |
test -n "$runpath_var" || \
|
|
9366 | 9134 |
# directories.
|
9367 | 9135 |
hardcode_action=unsupported
|
9368 | 9136 |
fi
|
9369 | |
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
|
9370 | |
echo "${ECHO_T}$hardcode_action" >&6; }
|
|
9137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
|
|
9138 |
$as_echo "$hardcode_action" >&6; }
|
9371 | 9139 |
|
9372 | 9140 |
if test "$hardcode_action" = relink; then
|
9373 | 9141 |
# Fast installation is not supported
|
|
9380 | 9148 |
|
9381 | 9149 |
striplib=
|
9382 | 9150 |
old_striplib=
|
9383 | |
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
|
9384 | |
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
|
|
9151 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
|
|
9152 |
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
|
9385 | 9153 |
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
|
9386 | 9154 |
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
|
9387 | 9155 |
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
|
9388 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
9389 | |
echo "${ECHO_T}yes" >&6; }
|
|
9156 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
9157 |
$as_echo "yes" >&6; }
|
9390 | 9158 |
else
|
9391 | 9159 |
# FIXME - insert some real tests, host_os isn't really good enough
|
9392 | 9160 |
case $host_os in
|
|
9394 | 9162 |
if test -n "$STRIP" ; then
|
9395 | 9163 |
striplib="$STRIP -x"
|
9396 | 9164 |
old_striplib="$STRIP -S"
|
9397 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
9398 | |
echo "${ECHO_T}yes" >&6; }
|
|
9165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
9166 |
$as_echo "yes" >&6; }
|
9399 | 9167 |
else
|
9400 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
9401 | |
echo "${ECHO_T}no" >&6; }
|
|
9168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9169 |
$as_echo "no" >&6; }
|
9402 | 9170 |
fi
|
9403 | 9171 |
;;
|
9404 | 9172 |
*)
|
9405 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
9406 | |
echo "${ECHO_T}no" >&6; }
|
|
9173 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
9174 |
$as_echo "no" >&6; }
|
9407 | 9175 |
;;
|
9408 | 9176 |
esac
|
9409 | 9177 |
fi
|
|
9435 | 9203 |
|
9436 | 9204 |
darwin*)
|
9437 | 9205 |
# if libdl is installed we need to link against it
|
9438 | |
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
9439 | |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
|
9440 | |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
9441 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
9207 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
|
9208 |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
|
9209 |
$as_echo_n "(cached) " >&6
|
9442 | 9210 |
else
|
9443 | 9211 |
ac_check_lib_save_LIBS=$LIBS
|
9444 | 9212 |
LIBS="-ldl $LIBS"
|
9445 | |
cat >conftest.$ac_ext <<_ACEOF
|
9446 | |
/* confdefs.h. */
|
9447 | |
_ACEOF
|
9448 | |
cat confdefs.h >>conftest.$ac_ext
|
9449 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9213 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9450 | 9214 |
/* end confdefs.h. */
|
9451 | 9215 |
|
9452 | 9216 |
/* Override any GCC internal prototype to avoid an error.
|
|
9464 | 9228 |
return 0;
|
9465 | 9229 |
}
|
9466 | 9230 |
_ACEOF
|
9467 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9468 | |
if { (ac_try="$ac_link"
|
9469 | |
case "(($ac_try" in
|
9470 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9471 | |
*) ac_try_echo=$ac_try;;
|
9472 | |
esac
|
9473 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9474 | |
(eval "$ac_link") 2>conftest.er1
|
9475 | |
ac_status=$?
|
9476 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9477 | |
rm -f conftest.er1
|
9478 | |
cat conftest.err >&5
|
9479 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9480 | |
(exit $ac_status); } && {
|
9481 | |
test -z "$ac_c_werror_flag" ||
|
9482 | |
test ! -s conftest.err
|
9483 | |
} && test -s conftest$ac_exeext &&
|
9484 | |
$as_test_x conftest$ac_exeext; then
|
|
9231 |
if ac_fn_c_try_link "$LINENO"; then :
|
9485 | 9232 |
ac_cv_lib_dl_dlopen=yes
|
9486 | 9233 |
else
|
9487 | |
echo "$as_me: failed program was:" >&5
|
9488 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9489 | |
|
9490 | |
ac_cv_lib_dl_dlopen=no
|
9491 | |
fi
|
9492 | |
|
9493 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9494 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9234 |
ac_cv_lib_dl_dlopen=no
|
|
9235 |
fi
|
|
9236 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9237 |
conftest$ac_exeext conftest.$ac_ext
|
9495 | 9238 |
LIBS=$ac_check_lib_save_LIBS
|
9496 | 9239 |
fi
|
9497 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
9498 | |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
|
9499 | |
if test $ac_cv_lib_dl_dlopen = yes; then
|
|
9240 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
9241 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
|
9242 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
9500 | 9243 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
9501 | 9244 |
else
|
9502 | 9245 |
|
|
9509 | 9252 |
;;
|
9510 | 9253 |
|
9511 | 9254 |
*)
|
9512 | |
{ echo "$as_me:$LINENO: checking for shl_load" >&5
|
9513 | |
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
|
9514 | |
if test "${ac_cv_func_shl_load+set}" = set; then
|
9515 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9516 | |
else
|
9517 | |
cat >conftest.$ac_ext <<_ACEOF
|
9518 | |
/* confdefs.h. */
|
9519 | |
_ACEOF
|
9520 | |
cat confdefs.h >>conftest.$ac_ext
|
9521 | |
cat >>conftest.$ac_ext <<_ACEOF
|
9522 | |
/* end confdefs.h. */
|
9523 | |
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
|
9524 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
9525 | |
#define shl_load innocuous_shl_load
|
9526 | |
|
9527 | |
/* System header to define __stub macros and hopefully few prototypes,
|
9528 | |
which can conflict with char shl_load (); below.
|
9529 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
9530 | |
<limits.h> exists even on freestanding compilers. */
|
9531 | |
|
9532 | |
#ifdef __STDC__
|
9533 | |
# include <limits.h>
|
9534 | |
#else
|
9535 | |
# include <assert.h>
|
9536 | |
#endif
|
9537 | |
|
9538 | |
#undef shl_load
|
9539 | |
|
9540 | |
/* Override any GCC internal prototype to avoid an error.
|
9541 | |
Use char because int might match the return type of a GCC
|
9542 | |
builtin and then its argument prototype would still apply. */
|
9543 | |
#ifdef __cplusplus
|
9544 | |
extern "C"
|
9545 | |
#endif
|
9546 | |
char shl_load ();
|
9547 | |
/* The GNU C library defines this for functions which it implements
|
9548 | |
to always fail with ENOSYS. Some functions are actually named
|
9549 | |
something starting with __ and the normal name is an alias. */
|
9550 | |
#if defined __stub_shl_load || defined __stub___shl_load
|
9551 | |
choke me
|
9552 | |
#endif
|
9553 | |
|
9554 | |
int
|
9555 | |
main ()
|
9556 | |
{
|
9557 | |
return shl_load ();
|
9558 | |
;
|
9559 | |
return 0;
|
9560 | |
}
|
9561 | |
_ACEOF
|
9562 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9563 | |
if { (ac_try="$ac_link"
|
9564 | |
case "(($ac_try" in
|
9565 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9566 | |
*) ac_try_echo=$ac_try;;
|
9567 | |
esac
|
9568 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9569 | |
(eval "$ac_link") 2>conftest.er1
|
9570 | |
ac_status=$?
|
9571 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9572 | |
rm -f conftest.er1
|
9573 | |
cat conftest.err >&5
|
9574 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9575 | |
(exit $ac_status); } && {
|
9576 | |
test -z "$ac_c_werror_flag" ||
|
9577 | |
test ! -s conftest.err
|
9578 | |
} && test -s conftest$ac_exeext &&
|
9579 | |
$as_test_x conftest$ac_exeext; then
|
9580 | |
ac_cv_func_shl_load=yes
|
9581 | |
else
|
9582 | |
echo "$as_me: failed program was:" >&5
|
9583 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9584 | |
|
9585 | |
ac_cv_func_shl_load=no
|
9586 | |
fi
|
9587 | |
|
9588 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9589 | |
conftest$ac_exeext conftest.$ac_ext
|
9590 | |
fi
|
9591 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
|
9592 | |
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
|
9593 | |
if test $ac_cv_func_shl_load = yes; then
|
|
9255 |
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
|
|
9256 |
if test "x$ac_cv_func_shl_load" = xyes; then :
|
9594 | 9257 |
lt_cv_dlopen="shl_load"
|
9595 | 9258 |
else
|
9596 | |
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
|
9597 | |
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
|
9598 | |
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
|
9599 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
|
|
9260 |
$as_echo_n "checking for shl_load in -ldld... " >&6; }
|
|
9261 |
if ${ac_cv_lib_dld_shl_load+:} false; then :
|
|
9262 |
$as_echo_n "(cached) " >&6
|
9600 | 9263 |
else
|
9601 | 9264 |
ac_check_lib_save_LIBS=$LIBS
|
9602 | 9265 |
LIBS="-ldld $LIBS"
|
9603 | |
cat >conftest.$ac_ext <<_ACEOF
|
9604 | |
/* confdefs.h. */
|
9605 | |
_ACEOF
|
9606 | |
cat confdefs.h >>conftest.$ac_ext
|
9607 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9266 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9608 | 9267 |
/* end confdefs.h. */
|
9609 | 9268 |
|
9610 | 9269 |
/* Override any GCC internal prototype to avoid an error.
|
|
9622 | 9281 |
return 0;
|
9623 | 9282 |
}
|
9624 | 9283 |
_ACEOF
|
9625 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9626 | |
if { (ac_try="$ac_link"
|
9627 | |
case "(($ac_try" in
|
9628 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9629 | |
*) ac_try_echo=$ac_try;;
|
9630 | |
esac
|
9631 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9632 | |
(eval "$ac_link") 2>conftest.er1
|
9633 | |
ac_status=$?
|
9634 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9635 | |
rm -f conftest.er1
|
9636 | |
cat conftest.err >&5
|
9637 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9638 | |
(exit $ac_status); } && {
|
9639 | |
test -z "$ac_c_werror_flag" ||
|
9640 | |
test ! -s conftest.err
|
9641 | |
} && test -s conftest$ac_exeext &&
|
9642 | |
$as_test_x conftest$ac_exeext; then
|
|
9284 |
if ac_fn_c_try_link "$LINENO"; then :
|
9643 | 9285 |
ac_cv_lib_dld_shl_load=yes
|
9644 | 9286 |
else
|
9645 | |
echo "$as_me: failed program was:" >&5
|
9646 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9647 | |
|
9648 | |
ac_cv_lib_dld_shl_load=no
|
9649 | |
fi
|
9650 | |
|
9651 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9652 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9287 |
ac_cv_lib_dld_shl_load=no
|
|
9288 |
fi
|
|
9289 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9290 |
conftest$ac_exeext conftest.$ac_ext
|
9653 | 9291 |
LIBS=$ac_check_lib_save_LIBS
|
9654 | 9292 |
fi
|
9655 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
|
9656 | |
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
|
9657 | |
if test $ac_cv_lib_dld_shl_load = yes; then
|
|
9293 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
|
|
9294 |
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
|
|
9295 |
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
|
9658 | 9296 |
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
|
9659 | 9297 |
else
|
9660 | |
{ echo "$as_me:$LINENO: checking for dlopen" >&5
|
9661 | |
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
|
9662 | |
if test "${ac_cv_func_dlopen+set}" = set; then
|
9663 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
9664 | |
else
|
9665 | |
cat >conftest.$ac_ext <<_ACEOF
|
9666 | |
/* confdefs.h. */
|
9667 | |
_ACEOF
|
9668 | |
cat confdefs.h >>conftest.$ac_ext
|
9669 | |
cat >>conftest.$ac_ext <<_ACEOF
|
9670 | |
/* end confdefs.h. */
|
9671 | |
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
|
9672 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
9673 | |
#define dlopen innocuous_dlopen
|
9674 | |
|
9675 | |
/* System header to define __stub macros and hopefully few prototypes,
|
9676 | |
which can conflict with char dlopen (); below.
|
9677 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
9678 | |
<limits.h> exists even on freestanding compilers. */
|
9679 | |
|
9680 | |
#ifdef __STDC__
|
9681 | |
# include <limits.h>
|
9682 | |
#else
|
9683 | |
# include <assert.h>
|
9684 | |
#endif
|
9685 | |
|
9686 | |
#undef dlopen
|
9687 | |
|
9688 | |
/* Override any GCC internal prototype to avoid an error.
|
9689 | |
Use char because int might match the return type of a GCC
|
9690 | |
builtin and then its argument prototype would still apply. */
|
9691 | |
#ifdef __cplusplus
|
9692 | |
extern "C"
|
9693 | |
#endif
|
9694 | |
char dlopen ();
|
9695 | |
/* The GNU C library defines this for functions which it implements
|
9696 | |
to always fail with ENOSYS. Some functions are actually named
|
9697 | |
something starting with __ and the normal name is an alias. */
|
9698 | |
#if defined __stub_dlopen || defined __stub___dlopen
|
9699 | |
choke me
|
9700 | |
#endif
|
9701 | |
|
9702 | |
int
|
9703 | |
main ()
|
9704 | |
{
|
9705 | |
return dlopen ();
|
9706 | |
;
|
9707 | |
return 0;
|
9708 | |
}
|
9709 | |
_ACEOF
|
9710 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9711 | |
if { (ac_try="$ac_link"
|
9712 | |
case "(($ac_try" in
|
9713 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9714 | |
*) ac_try_echo=$ac_try;;
|
9715 | |
esac
|
9716 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9717 | |
(eval "$ac_link") 2>conftest.er1
|
9718 | |
ac_status=$?
|
9719 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9720 | |
rm -f conftest.er1
|
9721 | |
cat conftest.err >&5
|
9722 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9723 | |
(exit $ac_status); } && {
|
9724 | |
test -z "$ac_c_werror_flag" ||
|
9725 | |
test ! -s conftest.err
|
9726 | |
} && test -s conftest$ac_exeext &&
|
9727 | |
$as_test_x conftest$ac_exeext; then
|
9728 | |
ac_cv_func_dlopen=yes
|
9729 | |
else
|
9730 | |
echo "$as_me: failed program was:" >&5
|
9731 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9732 | |
|
9733 | |
ac_cv_func_dlopen=no
|
9734 | |
fi
|
9735 | |
|
9736 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9737 | |
conftest$ac_exeext conftest.$ac_ext
|
9738 | |
fi
|
9739 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
|
9740 | |
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
|
9741 | |
if test $ac_cv_func_dlopen = yes; then
|
|
9298 |
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
|
|
9299 |
if test "x$ac_cv_func_dlopen" = xyes; then :
|
9742 | 9300 |
lt_cv_dlopen="dlopen"
|
9743 | 9301 |
else
|
9744 | |
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
|
9745 | |
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
|
9746 | |
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
|
9747 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9302 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
|
|
9303 |
$as_echo_n "checking for dlopen in -ldl... " >&6; }
|
|
9304 |
if ${ac_cv_lib_dl_dlopen+:} false; then :
|
|
9305 |
$as_echo_n "(cached) " >&6
|
9748 | 9306 |
else
|
9749 | 9307 |
ac_check_lib_save_LIBS=$LIBS
|
9750 | 9308 |
LIBS="-ldl $LIBS"
|
9751 | |
cat >conftest.$ac_ext <<_ACEOF
|
9752 | |
/* confdefs.h. */
|
9753 | |
_ACEOF
|
9754 | |
cat confdefs.h >>conftest.$ac_ext
|
9755 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9309 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9756 | 9310 |
/* end confdefs.h. */
|
9757 | 9311 |
|
9758 | 9312 |
/* Override any GCC internal prototype to avoid an error.
|
|
9770 | 9324 |
return 0;
|
9771 | 9325 |
}
|
9772 | 9326 |
_ACEOF
|
9773 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9774 | |
if { (ac_try="$ac_link"
|
9775 | |
case "(($ac_try" in
|
9776 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9777 | |
*) ac_try_echo=$ac_try;;
|
9778 | |
esac
|
9779 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9780 | |
(eval "$ac_link") 2>conftest.er1
|
9781 | |
ac_status=$?
|
9782 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9783 | |
rm -f conftest.er1
|
9784 | |
cat conftest.err >&5
|
9785 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9786 | |
(exit $ac_status); } && {
|
9787 | |
test -z "$ac_c_werror_flag" ||
|
9788 | |
test ! -s conftest.err
|
9789 | |
} && test -s conftest$ac_exeext &&
|
9790 | |
$as_test_x conftest$ac_exeext; then
|
|
9327 |
if ac_fn_c_try_link "$LINENO"; then :
|
9791 | 9328 |
ac_cv_lib_dl_dlopen=yes
|
9792 | 9329 |
else
|
9793 | |
echo "$as_me: failed program was:" >&5
|
9794 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9795 | |
|
9796 | |
ac_cv_lib_dl_dlopen=no
|
9797 | |
fi
|
9798 | |
|
9799 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9800 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9330 |
ac_cv_lib_dl_dlopen=no
|
|
9331 |
fi
|
|
9332 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9333 |
conftest$ac_exeext conftest.$ac_ext
|
9801 | 9334 |
LIBS=$ac_check_lib_save_LIBS
|
9802 | 9335 |
fi
|
9803 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
|
9804 | |
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
|
9805 | |
if test $ac_cv_lib_dl_dlopen = yes; then
|
|
9336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
|
|
9337 |
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
|
|
9338 |
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
|
9806 | 9339 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
|
9807 | 9340 |
else
|
9808 | |
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
|
9809 | |
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
|
9810 | |
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
|
9811 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
|
|
9342 |
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
|
|
9343 |
if ${ac_cv_lib_svld_dlopen+:} false; then :
|
|
9344 |
$as_echo_n "(cached) " >&6
|
9812 | 9345 |
else
|
9813 | 9346 |
ac_check_lib_save_LIBS=$LIBS
|
9814 | 9347 |
LIBS="-lsvld $LIBS"
|
9815 | |
cat >conftest.$ac_ext <<_ACEOF
|
9816 | |
/* confdefs.h. */
|
9817 | |
_ACEOF
|
9818 | |
cat confdefs.h >>conftest.$ac_ext
|
9819 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9348 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9820 | 9349 |
/* end confdefs.h. */
|
9821 | 9350 |
|
9822 | 9351 |
/* Override any GCC internal prototype to avoid an error.
|
|
9834 | 9363 |
return 0;
|
9835 | 9364 |
}
|
9836 | 9365 |
_ACEOF
|
9837 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9838 | |
if { (ac_try="$ac_link"
|
9839 | |
case "(($ac_try" in
|
9840 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9841 | |
*) ac_try_echo=$ac_try;;
|
9842 | |
esac
|
9843 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9844 | |
(eval "$ac_link") 2>conftest.er1
|
9845 | |
ac_status=$?
|
9846 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9847 | |
rm -f conftest.er1
|
9848 | |
cat conftest.err >&5
|
9849 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9850 | |
(exit $ac_status); } && {
|
9851 | |
test -z "$ac_c_werror_flag" ||
|
9852 | |
test ! -s conftest.err
|
9853 | |
} && test -s conftest$ac_exeext &&
|
9854 | |
$as_test_x conftest$ac_exeext; then
|
|
9366 |
if ac_fn_c_try_link "$LINENO"; then :
|
9855 | 9367 |
ac_cv_lib_svld_dlopen=yes
|
9856 | 9368 |
else
|
9857 | |
echo "$as_me: failed program was:" >&5
|
9858 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9859 | |
|
9860 | |
ac_cv_lib_svld_dlopen=no
|
9861 | |
fi
|
9862 | |
|
9863 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9864 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9369 |
ac_cv_lib_svld_dlopen=no
|
|
9370 |
fi
|
|
9371 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9372 |
conftest$ac_exeext conftest.$ac_ext
|
9865 | 9373 |
LIBS=$ac_check_lib_save_LIBS
|
9866 | 9374 |
fi
|
9867 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
|
9868 | |
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
|
9869 | |
if test $ac_cv_lib_svld_dlopen = yes; then
|
|
9375 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
|
|
9376 |
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
|
|
9377 |
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
|
9870 | 9378 |
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
|
9871 | 9379 |
else
|
9872 | |
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
|
9873 | |
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
|
9874 | |
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
|
9875 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9380 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
|
|
9381 |
$as_echo_n "checking for dld_link in -ldld... " >&6; }
|
|
9382 |
if ${ac_cv_lib_dld_dld_link+:} false; then :
|
|
9383 |
$as_echo_n "(cached) " >&6
|
9876 | 9384 |
else
|
9877 | 9385 |
ac_check_lib_save_LIBS=$LIBS
|
9878 | 9386 |
LIBS="-ldld $LIBS"
|
9879 | |
cat >conftest.$ac_ext <<_ACEOF
|
9880 | |
/* confdefs.h. */
|
9881 | |
_ACEOF
|
9882 | |
cat confdefs.h >>conftest.$ac_ext
|
9883 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
9387 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
9884 | 9388 |
/* end confdefs.h. */
|
9885 | 9389 |
|
9886 | 9390 |
/* Override any GCC internal prototype to avoid an error.
|
|
9898 | 9402 |
return 0;
|
9899 | 9403 |
}
|
9900 | 9404 |
_ACEOF
|
9901 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
9902 | |
if { (ac_try="$ac_link"
|
9903 | |
case "(($ac_try" in
|
9904 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
9905 | |
*) ac_try_echo=$ac_try;;
|
9906 | |
esac
|
9907 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
9908 | |
(eval "$ac_link") 2>conftest.er1
|
9909 | |
ac_status=$?
|
9910 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
9911 | |
rm -f conftest.er1
|
9912 | |
cat conftest.err >&5
|
9913 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
9914 | |
(exit $ac_status); } && {
|
9915 | |
test -z "$ac_c_werror_flag" ||
|
9916 | |
test ! -s conftest.err
|
9917 | |
} && test -s conftest$ac_exeext &&
|
9918 | |
$as_test_x conftest$ac_exeext; then
|
|
9405 |
if ac_fn_c_try_link "$LINENO"; then :
|
9919 | 9406 |
ac_cv_lib_dld_dld_link=yes
|
9920 | 9407 |
else
|
9921 | |
echo "$as_me: failed program was:" >&5
|
9922 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
9923 | |
|
9924 | |
ac_cv_lib_dld_dld_link=no
|
9925 | |
fi
|
9926 | |
|
9927 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
9928 | |
conftest$ac_exeext conftest.$ac_ext
|
|
9408 |
ac_cv_lib_dld_dld_link=no
|
|
9409 |
fi
|
|
9410 |
rm -f core conftest.err conftest.$ac_objext \
|
|
9411 |
conftest$ac_exeext conftest.$ac_ext
|
9929 | 9412 |
LIBS=$ac_check_lib_save_LIBS
|
9930 | 9413 |
fi
|
9931 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
|
9932 | |
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
|
9933 | |
if test $ac_cv_lib_dld_dld_link = yes; then
|
|
9414 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
|
|
9415 |
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
|
|
9416 |
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
|
9934 | 9417 |
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
|
9935 | 9418 |
fi
|
9936 | 9419 |
|
|
9969 | 9452 |
save_LIBS="$LIBS"
|
9970 | 9453 |
LIBS="$lt_cv_dlopen_libs $LIBS"
|
9971 | 9454 |
|
9972 | |
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
|
9973 | |
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
|
9974 | |
if test "${lt_cv_dlopen_self+set}" = set; then
|
9975 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9455 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
|
|
9456 |
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
|
|
9457 |
if ${lt_cv_dlopen_self+:} false; then :
|
|
9458 |
$as_echo_n "(cached) " >&6
|
9976 | 9459 |
else
|
9977 | 9460 |
if test "$cross_compiling" = yes; then :
|
9978 | 9461 |
lt_cv_dlopen_self=cross
|
|
9980 | 9463 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
9981 | 9464 |
lt_status=$lt_dlunknown
|
9982 | 9465 |
cat > conftest.$ac_ext <<EOF
|
9983 | |
#line 9984 "configure"
|
|
9466 |
#line 9467 "configure"
|
9984 | 9467 |
#include "confdefs.h"
|
9985 | 9468 |
|
9986 | 9469 |
#if HAVE_DLFCN_H
|
|
10043 | 9526 |
exit (status);
|
10044 | 9527 |
}
|
10045 | 9528 |
EOF
|
10046 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9529 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
10047 | 9530 |
(eval $ac_link) 2>&5
|
10048 | 9531 |
ac_status=$?
|
10049 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10050 | |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
9532 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
9533 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
10051 | 9534 |
(./conftest; exit; ) >&5 2>/dev/null
|
10052 | 9535 |
lt_status=$?
|
10053 | 9536 |
case x$lt_status in
|
|
10064 | 9547 |
|
10065 | 9548 |
|
10066 | 9549 |
fi
|
10067 | |
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
|
10068 | |
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
|
|
9550 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
|
|
9551 |
$as_echo "$lt_cv_dlopen_self" >&6; }
|
10069 | 9552 |
|
10070 | 9553 |
if test "x$lt_cv_dlopen_self" = xyes; then
|
10071 | 9554 |
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
|
10072 | |
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
|
10073 | |
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
|
10074 | |
if test "${lt_cv_dlopen_self_static+set}" = set; then
|
10075 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
9555 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
|
|
9556 |
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
|
|
9557 |
if ${lt_cv_dlopen_self_static+:} false; then :
|
|
9558 |
$as_echo_n "(cached) " >&6
|
10076 | 9559 |
else
|
10077 | 9560 |
if test "$cross_compiling" = yes; then :
|
10078 | 9561 |
lt_cv_dlopen_self_static=cross
|
|
10080 | 9563 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
10081 | 9564 |
lt_status=$lt_dlunknown
|
10082 | 9565 |
cat > conftest.$ac_ext <<EOF
|
10083 | |
#line 10084 "configure"
|
|
9566 |
#line 9567 "configure"
|
10084 | 9567 |
#include "confdefs.h"
|
10085 | 9568 |
|
10086 | 9569 |
#if HAVE_DLFCN_H
|
|
10143 | 9626 |
exit (status);
|
10144 | 9627 |
}
|
10145 | 9628 |
EOF
|
10146 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|
9629 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
|
10147 | 9630 |
(eval $ac_link) 2>&5
|
10148 | 9631 |
ac_status=$?
|
10149 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
10150 | |
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
|
|
9632 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
9633 |
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
|
10151 | 9634 |
(./conftest; exit; ) >&5 2>/dev/null
|
10152 | 9635 |
lt_status=$?
|
10153 | 9636 |
case x$lt_status in
|
|
10164 | 9647 |
|
10165 | 9648 |
|
10166 | 9649 |
fi
|
10167 | |
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
|
10168 | |
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
|
|
9650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
|
|
9651 |
$as_echo "$lt_cv_dlopen_self_static" >&6; }
|
10169 | 9652 |
fi
|
10170 | 9653 |
|
10171 | 9654 |
CPPFLAGS="$save_CPPFLAGS"
|
|
10187 | 9670 |
|
10188 | 9671 |
|
10189 | 9672 |
# Report which library types will actually be built
|
10190 | |
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
|
10191 | |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
|
10192 | |
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
|
10193 | |
echo "${ECHO_T}$can_build_shared" >&6; }
|
10194 | |
|
10195 | |
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
|
10196 | |
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
|
|
9673 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
9674 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
|
9675 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
9676 |
$as_echo "$can_build_shared" >&6; }
|
|
9677 |
|
|
9678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
|
9679 |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
10197 | 9680 |
test "$can_build_shared" = "no" && enable_shared=no
|
10198 | 9681 |
|
10199 | 9682 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
10213 | 9696 |
fi
|
10214 | 9697 |
;;
|
10215 | 9698 |
esac
|
10216 | |
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
|
10217 | |
echo "${ECHO_T}$enable_shared" >&6; }
|
10218 | |
|
10219 | |
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
|
10220 | |
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
|
|
9699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
9700 |
$as_echo "$enable_shared" >&6; }
|
|
9701 |
|
|
9702 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
|
9703 |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
10221 | 9704 |
# Make sure either enable_shared or enable_static is yes.
|
10222 | 9705 |
test "$enable_shared" = yes || enable_static=yes
|
10223 | |
{ echo "$as_me:$LINENO: result: $enable_static" >&5
|
10224 | |
echo "${ECHO_T}$enable_static" >&6; }
|
|
9706 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
|
9707 |
$as_echo "$enable_static" >&6; }
|
10225 | 9708 |
|
10226 | 9709 |
# The else clause should only fire when bootstrapping the
|
10227 | 9710 |
# libtool distribution, otherwise you forgot to ship ltmain.sh
|
|
10313 | 9796 |
cfgfile="${ofile}T"
|
10314 | 9797 |
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
|
10315 | 9798 |
$rm -f "$cfgfile"
|
10316 | |
{ echo "$as_me:$LINENO: creating $ofile" >&5
|
10317 | |
echo "$as_me: creating $ofile" >&6;}
|
|
9799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
|
|
9800 |
$as_echo "$as_me: creating $ofile" >&6;}
|
10318 | 9801 |
|
10319 | 9802 |
cat <<__EOF__ >> "$cfgfile"
|
10320 | 9803 |
#! $SHELL
|
|
10715 | 10198 |
|
10716 | 10199 |
|
10717 | 10200 |
# Check whether --with-tags was given.
|
10718 | |
if test "${with_tags+set}" = set; then
|
|
10201 |
if test "${with_tags+set}" = set; then :
|
10719 | 10202 |
withval=$with_tags; tagnames="$withval"
|
10720 | 10203 |
fi
|
10721 | 10204 |
|
10722 | 10205 |
|
10723 | 10206 |
if test -f "$ltmain" && test -n "$tagnames"; then
|
10724 | 10207 |
if test ! -f "${ofile}"; then
|
10725 | |
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
|
10726 | |
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
|
|
10208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not exist" >&5
|
|
10209 |
$as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
|
10727 | 10210 |
fi
|
10728 | 10211 |
|
10729 | 10212 |
if test -z "$LTCC"; then
|
10730 | 10213 |
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
|
10731 | 10214 |
if test -z "$LTCC"; then
|
10732 | |
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
|
10733 | |
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
|
|
10215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: output file \`$ofile' does not look like a libtool script" >&5
|
|
10216 |
$as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
|
10734 | 10217 |
else
|
10735 | |
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
|
10736 | |
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
|
|
10218 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
|
|
10219 |
$as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
|
10737 | 10220 |
fi
|
10738 | 10221 |
fi
|
10739 | 10222 |
if test -z "$LTCFLAGS"; then
|
|
10750 | 10233 |
# Check whether tagname contains only valid characters
|
10751 | 10234 |
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
|
10752 | 10235 |
"") ;;
|
10753 | |
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
|
10754 | |
echo "$as_me: error: invalid tag name: $tagname" >&2;}
|
10755 | |
{ (exit 1); exit 1; }; }
|
|
10236 |
*) as_fn_error $? "invalid tag name: $tagname" "$LINENO" 5
|
10756 | 10237 |
;;
|
10757 | 10238 |
esac
|
10758 | 10239 |
|
10759 | 10240 |
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
|
10760 | 10241 |
then
|
10761 | |
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
|
10762 | |
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
|
10763 | |
{ (exit 1); exit 1; }; }
|
|
10242 |
as_fn_error $? "tag name \"$tagname\" already exists" "$LINENO" 5
|
10764 | 10243 |
fi
|
10765 | 10244 |
|
10766 | 10245 |
# Update the list of available tags.
|
|
10892 | 10371 |
|
10893 | 10372 |
|
10894 | 10373 |
# Check whether --with-gnu-ld was given.
|
10895 | |
if test "${with_gnu_ld+set}" = set; then
|
|
10374 |
if test "${with_gnu_ld+set}" = set; then :
|
10896 | 10375 |
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
|
10897 | 10376 |
else
|
10898 | 10377 |
with_gnu_ld=no
|
|
10901 | 10380 |
ac_prog=ld
|
10902 | 10381 |
if test "$GCC" = yes; then
|
10903 | 10382 |
# Check if gcc -print-prog-name=ld gives a path.
|
10904 | |
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
|
10905 | |
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
|
|
10383 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
|
|
10384 |
$as_echo_n "checking for ld used by $CC... " >&6; }
|
10906 | 10385 |
case $host in
|
10907 | 10386 |
*-*-mingw*)
|
10908 | 10387 |
# gcc leaves a trailing carriage return which upsets mingw
|
|
10931 | 10410 |
;;
|
10932 | 10411 |
esac
|
10933 | 10412 |
elif test "$with_gnu_ld" = yes; then
|
10934 | |
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
|
10935 | |
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
|
10936 | |
else
|
10937 | |
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
|
10938 | |
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
|
10939 | |
fi
|
10940 | |
if test "${lt_cv_path_LD+set}" = set; then
|
10941 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
10413 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
|
|
10414 |
$as_echo_n "checking for GNU ld... " >&6; }
|
|
10415 |
else
|
|
10416 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
|
|
10417 |
$as_echo_n "checking for non-GNU ld... " >&6; }
|
|
10418 |
fi
|
|
10419 |
if ${lt_cv_path_LD+:} false; then :
|
|
10420 |
$as_echo_n "(cached) " >&6
|
10942 | 10421 |
else
|
10943 | 10422 |
if test -z "$LD"; then
|
10944 | 10423 |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
|
|
10968 | 10447 |
|
10969 | 10448 |
LD="$lt_cv_path_LD"
|
10970 | 10449 |
if test -n "$LD"; then
|
10971 | |
{ echo "$as_me:$LINENO: result: $LD" >&5
|
10972 | |
echo "${ECHO_T}$LD" >&6; }
|
10973 | |
else
|
10974 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
10975 | |
echo "${ECHO_T}no" >&6; }
|
10976 | |
fi
|
10977 | |
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
|
10978 | |
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
|
10979 | |
{ (exit 1); exit 1; }; }
|
10980 | |
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
|
10981 | |
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
|
10982 | |
if test "${lt_cv_prog_gnu_ld+set}" = set; then
|
10983 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
10450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
|
|
10451 |
$as_echo "$LD" >&6; }
|
|
10452 |
else
|
|
10453 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
10454 |
$as_echo "no" >&6; }
|
|
10455 |
fi
|
|
10456 |
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
|
|
10457 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
|
|
10458 |
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
|
|
10459 |
if ${lt_cv_prog_gnu_ld+:} false; then :
|
|
10460 |
$as_echo_n "(cached) " >&6
|
10984 | 10461 |
else
|
10985 | 10462 |
# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
10986 | 10463 |
case `$LD -v 2>&1 </dev/null` in
|
|
10992 | 10469 |
;;
|
10993 | 10470 |
esac
|
10994 | 10471 |
fi
|
10995 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
|
10996 | |
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
|
|
10472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
|
|
10473 |
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
|
10997 | 10474 |
with_gnu_ld=$lt_cv_prog_gnu_ld
|
10998 | 10475 |
|
10999 | 10476 |
|
|
11043 | 10520 |
fi
|
11044 | 10521 |
|
11045 | 10522 |
# PORTME: fill in a description of your system's C++ link characteristics
|
11046 | |
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
11047 | |
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
10523 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
10524 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
11048 | 10525 |
ld_shlibs_CXX=yes
|
11049 | 10526 |
case $host_os in
|
11050 | 10527 |
aix3*)
|
|
11140 | 10617 |
# -berok will link without error, but may produce a broken library.
|
11141 | 10618 |
allow_undefined_flag_CXX='-berok'
|
11142 | 10619 |
# Determine the default libpath from the value encoded in an empty executable.
|
11143 | |
cat >conftest.$ac_ext <<_ACEOF
|
11144 | |
/* confdefs.h. */
|
11145 | |
_ACEOF
|
11146 | |
cat confdefs.h >>conftest.$ac_ext
|
11147 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
10620 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11148 | 10621 |
/* end confdefs.h. */
|
11149 | 10622 |
|
11150 | 10623 |
int
|
|
11155 | 10628 |
return 0;
|
11156 | 10629 |
}
|
11157 | 10630 |
_ACEOF
|
11158 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11159 | |
if { (ac_try="$ac_link"
|
11160 | |
case "(($ac_try" in
|
11161 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11162 | |
*) ac_try_echo=$ac_try;;
|
11163 | |
esac
|
11164 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11165 | |
(eval "$ac_link") 2>conftest.er1
|
11166 | |
ac_status=$?
|
11167 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11168 | |
rm -f conftest.er1
|
11169 | |
cat conftest.err >&5
|
11170 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11171 | |
(exit $ac_status); } && {
|
11172 | |
test -z "$ac_cxx_werror_flag" ||
|
11173 | |
test ! -s conftest.err
|
11174 | |
} && test -s conftest$ac_exeext &&
|
11175 | |
$as_test_x conftest$ac_exeext; then
|
|
10631 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
11176 | 10632 |
|
11177 | 10633 |
lt_aix_libpath_sed='
|
11178 | 10634 |
/Import File Strings/,/^$/ {
|
|
11186 | 10642 |
if test -z "$aix_libpath"; then
|
11187 | 10643 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
11188 | 10644 |
fi
|
11189 | |
else
|
11190 | |
echo "$as_me: failed program was:" >&5
|
11191 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11192 | |
|
11193 | |
|
11194 | |
fi
|
11195 | |
|
11196 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11197 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10645 |
fi
|
|
10646 |
rm -f core conftest.err conftest.$ac_objext \
|
|
10647 |
conftest$ac_exeext conftest.$ac_ext
|
11198 | 10648 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
11199 | 10649 |
|
11200 | 10650 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
11207 | 10657 |
archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
|
11208 | 10658 |
else
|
11209 | 10659 |
# Determine the default libpath from the value encoded in an empty executable.
|
11210 | |
cat >conftest.$ac_ext <<_ACEOF
|
11211 | |
/* confdefs.h. */
|
11212 | |
_ACEOF
|
11213 | |
cat confdefs.h >>conftest.$ac_ext
|
11214 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
10660 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
11215 | 10661 |
/* end confdefs.h. */
|
11216 | 10662 |
|
11217 | 10663 |
int
|
|
11222 | 10668 |
return 0;
|
11223 | 10669 |
}
|
11224 | 10670 |
_ACEOF
|
11225 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
11226 | |
if { (ac_try="$ac_link"
|
11227 | |
case "(($ac_try" in
|
11228 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
11229 | |
*) ac_try_echo=$ac_try;;
|
11230 | |
esac
|
11231 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
11232 | |
(eval "$ac_link") 2>conftest.er1
|
11233 | |
ac_status=$?
|
11234 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
11235 | |
rm -f conftest.er1
|
11236 | |
cat conftest.err >&5
|
11237 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
11238 | |
(exit $ac_status); } && {
|
11239 | |
test -z "$ac_cxx_werror_flag" ||
|
11240 | |
test ! -s conftest.err
|
11241 | |
} && test -s conftest$ac_exeext &&
|
11242 | |
$as_test_x conftest$ac_exeext; then
|
|
10671 |
if ac_fn_cxx_try_link "$LINENO"; then :
|
11243 | 10672 |
|
11244 | 10673 |
lt_aix_libpath_sed='
|
11245 | 10674 |
/Import File Strings/,/^$/ {
|
|
11253 | 10682 |
if test -z "$aix_libpath"; then
|
11254 | 10683 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
11255 | 10684 |
fi
|
11256 | |
else
|
11257 | |
echo "$as_me: failed program was:" >&5
|
11258 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
11259 | |
|
11260 | |
|
11261 | |
fi
|
11262 | |
|
11263 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
11264 | |
conftest$ac_exeext conftest.$ac_ext
|
|
10685 |
fi
|
|
10686 |
rm -f core conftest.err conftest.$ac_objext \
|
|
10687 |
conftest$ac_exeext conftest.$ac_ext
|
11265 | 10688 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
11266 | 10689 |
|
11267 | 10690 |
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
12017 | 11440 |
ld_shlibs_CXX=no
|
12018 | 11441 |
;;
|
12019 | 11442 |
esac
|
12020 | |
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
|
12021 | |
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
|
|
11443 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
11444 |
$as_echo "$ld_shlibs_CXX" >&6; }
|
12022 | 11445 |
test "$ld_shlibs_CXX" = no && can_build_shared=no
|
12023 | 11446 |
|
12024 | 11447 |
GCC_CXX="$GXX"
|
|
12035 | 11458 |
};
|
12036 | 11459 |
EOF
|
12037 | 11460 |
|
12038 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
11461 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
12039 | 11462 |
(eval $ac_compile) 2>&5
|
12040 | 11463 |
ac_status=$?
|
12041 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12042 | |
(exit $ac_status); }; then
|
|
11464 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
11465 |
test $ac_status = 0; }; then
|
12043 | 11466 |
# Parse the compiler output and extract the necessary
|
12044 | 11467 |
# objects, libraries and library flags.
|
12045 | 11468 |
|
|
12190 | 11613 |
lt_prog_compiler_pic_CXX=
|
12191 | 11614 |
lt_prog_compiler_static_CXX=
|
12192 | 11615 |
|
12193 | |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
12194 | |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
11616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
11617 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
12195 | 11618 |
|
12196 | 11619 |
# C++ specific cases for pic, static, wl, etc.
|
12197 | 11620 |
if test "$GXX" = yes; then
|
|
12474 | 11897 |
esac
|
12475 | 11898 |
fi
|
12476 | 11899 |
|
12477 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
|
12478 | |
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
|
|
11900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
|
|
11901 |
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
|
12479 | 11902 |
|
12480 | 11903 |
#
|
12481 | 11904 |
# Check to make sure the PIC flag actually works.
|
12482 | 11905 |
#
|
12483 | 11906 |
if test -n "$lt_prog_compiler_pic_CXX"; then
|
12484 | 11907 |
|
12485 | |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
12486 | |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
|
12487 | |
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
|
12488 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
11908 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
|
|
11909 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
|
|
11910 |
if ${lt_prog_compiler_pic_works_CXX+:} false; then :
|
|
11911 |
$as_echo_n "(cached) " >&6
|
12489 | 11912 |
else
|
12490 | 11913 |
lt_prog_compiler_pic_works_CXX=no
|
12491 | 11914 |
ac_outfile=conftest.$ac_objext
|
|
12500 | 11923 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
12501 | 11924 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
12502 | 11925 |
-e 's:$: $lt_compiler_flag:'`
|
12503 | |
(eval echo "\"\$as_me:12504: $lt_compile\"" >&5)
|
|
11926 |
(eval echo "\"\$as_me:11927: $lt_compile\"" >&5)
|
12504 | 11927 |
(eval "$lt_compile" 2>conftest.err)
|
12505 | 11928 |
ac_status=$?
|
12506 | 11929 |
cat conftest.err >&5
|
12507 | |
echo "$as_me:12508: \$? = $ac_status" >&5
|
|
11930 |
echo "$as_me:11931: \$? = $ac_status" >&5
|
12508 | 11931 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
12509 | 11932 |
# The compiler can only warn and ignore the option if not recognized
|
12510 | 11933 |
# So say no if there are warnings other than the usual output.
|
|
12517 | 11940 |
$rm conftest*
|
12518 | 11941 |
|
12519 | 11942 |
fi
|
12520 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
|
12521 | |
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
|
|
11943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_CXX" >&5
|
|
11944 |
$as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
|
12522 | 11945 |
|
12523 | 11946 |
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
|
12524 | 11947 |
case $lt_prog_compiler_pic_CXX in
|
|
12545 | 11968 |
# Check to make sure the static flag actually works.
|
12546 | 11969 |
#
|
12547 | 11970 |
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
|
12548 | |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
12549 | |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
|
12550 | |
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
|
12551 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
11971 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
11972 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
11973 |
if ${lt_prog_compiler_static_works_CXX+:} false; then :
|
|
11974 |
$as_echo_n "(cached) " >&6
|
12552 | 11975 |
else
|
12553 | 11976 |
lt_prog_compiler_static_works_CXX=no
|
12554 | 11977 |
save_LDFLAGS="$LDFLAGS"
|
|
12573 | 11996 |
LDFLAGS="$save_LDFLAGS"
|
12574 | 11997 |
|
12575 | 11998 |
fi
|
12576 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
|
12577 | |
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
|
|
11999 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_CXX" >&5
|
|
12000 |
$as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
|
12578 | 12001 |
|
12579 | 12002 |
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
|
12580 | 12003 |
:
|
|
12583 | 12006 |
fi
|
12584 | 12007 |
|
12585 | 12008 |
|
12586 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
12587 | |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
|
12588 | |
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
|
12589 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
12009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
12010 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
12011 |
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
|
|
12012 |
$as_echo_n "(cached) " >&6
|
12590 | 12013 |
else
|
12591 | 12014 |
lt_cv_prog_compiler_c_o_CXX=no
|
12592 | 12015 |
$rm -r conftest 2>/dev/null
|
|
12604 | 12027 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
12605 | 12028 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
12606 | 12029 |
-e 's:$: $lt_compiler_flag:'`
|
12607 | |
(eval echo "\"\$as_me:12608: $lt_compile\"" >&5)
|
|
12030 |
(eval echo "\"\$as_me:12031: $lt_compile\"" >&5)
|
12608 | 12031 |
(eval "$lt_compile" 2>out/conftest.err)
|
12609 | 12032 |
ac_status=$?
|
12610 | 12033 |
cat out/conftest.err >&5
|
12611 | |
echo "$as_me:12612: \$? = $ac_status" >&5
|
|
12034 |
echo "$as_me:12035: \$? = $ac_status" >&5
|
12612 | 12035 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
12613 | 12036 |
then
|
12614 | 12037 |
# The compiler can only warn and ignore the option if not recognized
|
|
12630 | 12053 |
$rm conftest*
|
12631 | 12054 |
|
12632 | 12055 |
fi
|
12633 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
12634 | |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
|
12056 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
|
|
12057 |
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
|
12635 | 12058 |
|
12636 | 12059 |
|
12637 | 12060 |
hard_links="nottested"
|
12638 | 12061 |
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
|
12639 | 12062 |
# do not overwrite the value of need_locks provided by the user
|
12640 | |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
12641 | |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
|
|
12063 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
12064 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
12642 | 12065 |
hard_links=yes
|
12643 | 12066 |
$rm conftest*
|
12644 | 12067 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
12645 | 12068 |
touch conftest.a
|
12646 | 12069 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
12647 | 12070 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
12648 | |
{ echo "$as_me:$LINENO: result: $hard_links" >&5
|
12649 | |
echo "${ECHO_T}$hard_links" >&6; }
|
|
12071 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
12072 |
$as_echo "$hard_links" >&6; }
|
12650 | 12073 |
if test "$hard_links" = no; then
|
12651 | |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
12652 | |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
|
12074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
12075 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
12653 | 12076 |
need_locks=warn
|
12654 | 12077 |
fi
|
12655 | 12078 |
else
|
12656 | 12079 |
need_locks=no
|
12657 | 12080 |
fi
|
12658 | 12081 |
|
12659 | |
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
12660 | |
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
12082 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
12083 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
12661 | 12084 |
|
12662 | 12085 |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
|
12663 | 12086 |
case $host_os in
|
|
12684 | 12107 |
;;
|
12685 | 12108 |
esac
|
12686 | 12109 |
|
12687 | |
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
|
12688 | |
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
|
|
12110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
|
|
12111 |
$as_echo "$ld_shlibs_CXX" >&6; }
|
12689 | 12112 |
test "$ld_shlibs_CXX" = no && can_build_shared=no
|
12690 | 12113 |
|
12691 | 12114 |
#
|
|
12705 | 12128 |
# Test whether the compiler implicitly links with -lc since on some
|
12706 | 12129 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
12707 | 12130 |
# to ld, don't add -lc before -lgcc.
|
12708 | |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
12709 | |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
12131 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
12132 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
12710 | 12133 |
$rm conftest*
|
12711 | 12134 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
12712 | 12135 |
|
12713 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
12136 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
12714 | 12137 |
(eval $ac_compile) 2>&5
|
12715 | 12138 |
ac_status=$?
|
12716 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12717 | |
(exit $ac_status); } 2>conftest.err; then
|
|
12139 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
12140 |
test $ac_status = 0; } 2>conftest.err; then
|
12718 | 12141 |
soname=conftest
|
12719 | 12142 |
lib=conftest
|
12720 | 12143 |
libobjs=conftest.$ac_objext
|
|
12728 | 12151 |
libname=conftest
|
12729 | 12152 |
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
|
12730 | 12153 |
allow_undefined_flag_CXX=
|
12731 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
12154 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
12732 | 12155 |
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
12733 | 12156 |
ac_status=$?
|
12734 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
12735 | |
(exit $ac_status); }
|
|
12157 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
12158 |
test $ac_status = 0; }
|
12736 | 12159 |
then
|
12737 | 12160 |
archive_cmds_need_lc_CXX=no
|
12738 | 12161 |
else
|
|
12743 | 12166 |
cat conftest.err 1>&5
|
12744 | 12167 |
fi
|
12745 | 12168 |
$rm conftest*
|
12746 | |
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
|
12747 | |
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
|
|
12169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
|
|
12170 |
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
|
12748 | 12171 |
;;
|
12749 | 12172 |
esac
|
12750 | 12173 |
fi
|
12751 | 12174 |
;;
|
12752 | 12175 |
esac
|
12753 | 12176 |
|
12754 | |
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
12755 | |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
|
|
12177 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
12178 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
12756 | 12179 |
library_names_spec=
|
12757 | 12180 |
libname_spec='lib$name'
|
12758 | 12181 |
soname_spec=
|
|
13313 | 12736 |
dynamic_linker=no
|
13314 | 12737 |
;;
|
13315 | 12738 |
esac
|
13316 | |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
13317 | |
echo "${ECHO_T}$dynamic_linker" >&6; }
|
|
12739 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
12740 |
$as_echo "$dynamic_linker" >&6; }
|
13318 | 12741 |
test "$dynamic_linker" = no && can_build_shared=no
|
13319 | 12742 |
|
13320 | 12743 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
13322 | 12745 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
13323 | 12746 |
fi
|
13324 | 12747 |
|
13325 | |
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
13326 | |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
|
|
12748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
12749 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
13327 | 12750 |
hardcode_action_CXX=
|
13328 | 12751 |
if test -n "$hardcode_libdir_flag_spec_CXX" || \
|
13329 | 12752 |
test -n "$runpath_var_CXX" || \
|
|
13347 | 12770 |
# directories.
|
13348 | 12771 |
hardcode_action_CXX=unsupported
|
13349 | 12772 |
fi
|
13350 | |
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
|
13351 | |
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
|
|
12773 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
|
|
12774 |
$as_echo "$hardcode_action_CXX" >&6; }
|
13352 | 12775 |
|
13353 | 12776 |
if test "$hardcode_action_CXX" = relink; then
|
13354 | 12777 |
# Fast installation is not supported
|
|
13881 | 13304 |
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
|
13882 | 13305 |
|
13883 | 13306 |
|
13884 | |
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
|
13885 | |
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
|
13886 | |
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
|
13887 | |
echo "${ECHO_T}$can_build_shared" >&6; }
|
13888 | |
|
13889 | |
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
|
13890 | |
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
|
|
13307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
|
|
13308 |
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
|
|
13309 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
|
|
13310 |
$as_echo "$can_build_shared" >&6; }
|
|
13311 |
|
|
13312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
|
|
13313 |
$as_echo_n "checking whether to build shared libraries... " >&6; }
|
13891 | 13314 |
test "$can_build_shared" = "no" && enable_shared=no
|
13892 | 13315 |
|
13893 | 13316 |
# On AIX, shared libraries and static libraries use the same namespace, and
|
|
13906 | 13329 |
fi
|
13907 | 13330 |
;;
|
13908 | 13331 |
esac
|
13909 | |
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
|
13910 | |
echo "${ECHO_T}$enable_shared" >&6; }
|
13911 | |
|
13912 | |
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
|
13913 | |
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
|
|
13332 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
|
|
13333 |
$as_echo "$enable_shared" >&6; }
|
|
13334 |
|
|
13335 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
|
|
13336 |
$as_echo_n "checking whether to build static libraries... " >&6; }
|
13914 | 13337 |
# Make sure either enable_shared or enable_static is yes.
|
13915 | 13338 |
test "$enable_shared" = yes || enable_static=yes
|
13916 | |
{ echo "$as_me:$LINENO: result: $enable_static" >&5
|
13917 | |
echo "${ECHO_T}$enable_static" >&6; }
|
|
13339 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
|
|
13340 |
$as_echo "$enable_static" >&6; }
|
13918 | 13341 |
|
13919 | 13342 |
GCC_F77="$G77"
|
13920 | 13343 |
LD_F77="$LD"
|
|
13923 | 13346 |
lt_prog_compiler_pic_F77=
|
13924 | 13347 |
lt_prog_compiler_static_F77=
|
13925 | 13348 |
|
13926 | |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
13927 | |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
13349 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
13350 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
13928 | 13351 |
|
13929 | 13352 |
if test "$GCC" = yes; then
|
13930 | 13353 |
lt_prog_compiler_wl_F77='-Wl,'
|
|
14155 | 13578 |
esac
|
14156 | 13579 |
fi
|
14157 | 13580 |
|
14158 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
|
14159 | |
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
|
|
13581 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_F77" >&5
|
|
13582 |
$as_echo "$lt_prog_compiler_pic_F77" >&6; }
|
14160 | 13583 |
|
14161 | 13584 |
#
|
14162 | 13585 |
# Check to make sure the PIC flag actually works.
|
14163 | 13586 |
#
|
14164 | 13587 |
if test -n "$lt_prog_compiler_pic_F77"; then
|
14165 | 13588 |
|
14166 | |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
|
14167 | |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
|
14168 | |
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
|
14169 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
13589 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
|
|
13590 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
|
|
13591 |
if ${lt_prog_compiler_pic_works_F77+:} false; then :
|
|
13592 |
$as_echo_n "(cached) " >&6
|
14170 | 13593 |
else
|
14171 | 13594 |
lt_prog_compiler_pic_works_F77=no
|
14172 | 13595 |
ac_outfile=conftest.$ac_objext
|
|
14181 | 13604 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14182 | 13605 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14183 | 13606 |
-e 's:$: $lt_compiler_flag:'`
|
14184 | |
(eval echo "\"\$as_me:14185: $lt_compile\"" >&5)
|
|
13607 |
(eval echo "\"\$as_me:13608: $lt_compile\"" >&5)
|
14185 | 13608 |
(eval "$lt_compile" 2>conftest.err)
|
14186 | 13609 |
ac_status=$?
|
14187 | 13610 |
cat conftest.err >&5
|
14188 | |
echo "$as_me:14189: \$? = $ac_status" >&5
|
|
13611 |
echo "$as_me:13612: \$? = $ac_status" >&5
|
14189 | 13612 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
14190 | 13613 |
# The compiler can only warn and ignore the option if not recognized
|
14191 | 13614 |
# So say no if there are warnings other than the usual output.
|
|
14198 | 13621 |
$rm conftest*
|
14199 | 13622 |
|
14200 | 13623 |
fi
|
14201 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
|
14202 | |
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
|
|
13624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_F77" >&5
|
|
13625 |
$as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
|
14203 | 13626 |
|
14204 | 13627 |
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
|
14205 | 13628 |
case $lt_prog_compiler_pic_F77 in
|
|
14226 | 13649 |
# Check to make sure the static flag actually works.
|
14227 | 13650 |
#
|
14228 | 13651 |
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
|
14229 | |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
14230 | |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
|
14231 | |
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
|
14232 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
13652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
13653 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
13654 |
if ${lt_prog_compiler_static_works_F77+:} false; then :
|
|
13655 |
$as_echo_n "(cached) " >&6
|
14233 | 13656 |
else
|
14234 | 13657 |
lt_prog_compiler_static_works_F77=no
|
14235 | 13658 |
save_LDFLAGS="$LDFLAGS"
|
|
14254 | 13677 |
LDFLAGS="$save_LDFLAGS"
|
14255 | 13678 |
|
14256 | 13679 |
fi
|
14257 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
|
14258 | |
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
|
|
13680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_F77" >&5
|
|
13681 |
$as_echo "$lt_prog_compiler_static_works_F77" >&6; }
|
14259 | 13682 |
|
14260 | 13683 |
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
|
14261 | 13684 |
:
|
|
14264 | 13687 |
fi
|
14265 | 13688 |
|
14266 | 13689 |
|
14267 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
14268 | |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
|
14269 | |
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
|
14270 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
13690 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
13691 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
13692 |
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
|
|
13693 |
$as_echo_n "(cached) " >&6
|
14271 | 13694 |
else
|
14272 | 13695 |
lt_cv_prog_compiler_c_o_F77=no
|
14273 | 13696 |
$rm -r conftest 2>/dev/null
|
|
14285 | 13708 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
14286 | 13709 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
14287 | 13710 |
-e 's:$: $lt_compiler_flag:'`
|
14288 | |
(eval echo "\"\$as_me:14289: $lt_compile\"" >&5)
|
|
13711 |
(eval echo "\"\$as_me:13712: $lt_compile\"" >&5)
|
14289 | 13712 |
(eval "$lt_compile" 2>out/conftest.err)
|
14290 | 13713 |
ac_status=$?
|
14291 | 13714 |
cat out/conftest.err >&5
|
14292 | |
echo "$as_me:14293: \$? = $ac_status" >&5
|
|
13715 |
echo "$as_me:13716: \$? = $ac_status" >&5
|
14293 | 13716 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
14294 | 13717 |
then
|
14295 | 13718 |
# The compiler can only warn and ignore the option if not recognized
|
|
14311 | 13734 |
$rm conftest*
|
14312 | 13735 |
|
14313 | 13736 |
fi
|
14314 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
|
14315 | |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
|
|
13737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
|
|
13738 |
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
|
14316 | 13739 |
|
14317 | 13740 |
|
14318 | 13741 |
hard_links="nottested"
|
14319 | 13742 |
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
|
14320 | 13743 |
# do not overwrite the value of need_locks provided by the user
|
14321 | |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
14322 | |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
|
|
13744 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
13745 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
14323 | 13746 |
hard_links=yes
|
14324 | 13747 |
$rm conftest*
|
14325 | 13748 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
14326 | 13749 |
touch conftest.a
|
14327 | 13750 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
14328 | 13751 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
14329 | |
{ echo "$as_me:$LINENO: result: $hard_links" >&5
|
14330 | |
echo "${ECHO_T}$hard_links" >&6; }
|
|
13752 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
13753 |
$as_echo "$hard_links" >&6; }
|
14331 | 13754 |
if test "$hard_links" = no; then
|
14332 | |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
14333 | |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
|
13755 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
13756 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
14334 | 13757 |
need_locks=warn
|
14335 | 13758 |
fi
|
14336 | 13759 |
else
|
14337 | 13760 |
need_locks=no
|
14338 | 13761 |
fi
|
14339 | 13762 |
|
14340 | |
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
14341 | |
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
13763 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
13764 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
14342 | 13765 |
|
14343 | 13766 |
runpath_var=
|
14344 | 13767 |
allow_undefined_flag_F77=
|
|
14747 | 14170 |
# -berok will link without error, but may produce a broken library.
|
14748 | 14171 |
allow_undefined_flag_F77='-berok'
|
14749 | 14172 |
# Determine the default libpath from the value encoded in an empty executable.
|
14750 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
14173 |
cat > conftest.$ac_ext <<_ACEOF
|
14751 | 14174 |
program main
|
14752 | 14175 |
|
14753 | 14176 |
end
|
14754 | 14177 |
_ACEOF
|
14755 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
14756 | |
if { (ac_try="$ac_link"
|
14757 | |
case "(($ac_try" in
|
14758 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
14759 | |
*) ac_try_echo=$ac_try;;
|
14760 | |
esac
|
14761 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
14762 | |
(eval "$ac_link") 2>conftest.er1
|
14763 | |
ac_status=$?
|
14764 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
14765 | |
rm -f conftest.er1
|
14766 | |
cat conftest.err >&5
|
14767 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
14768 | |
(exit $ac_status); } && {
|
14769 | |
test -z "$ac_f77_werror_flag" ||
|
14770 | |
test ! -s conftest.err
|
14771 | |
} && test -s conftest$ac_exeext &&
|
14772 | |
$as_test_x conftest$ac_exeext; then
|
|
14178 |
if ac_fn_f77_try_link "$LINENO"; then :
|
14773 | 14179 |
|
14774 | 14180 |
lt_aix_libpath_sed='
|
14775 | 14181 |
/Import File Strings/,/^$/ {
|
|
14783 | 14189 |
if test -z "$aix_libpath"; then
|
14784 | 14190 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
14785 | 14191 |
fi
|
14786 | |
else
|
14787 | |
echo "$as_me: failed program was:" >&5
|
14788 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
14789 | |
|
14790 | |
|
14791 | |
fi
|
14792 | |
|
14793 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
14794 | |
conftest$ac_exeext conftest.$ac_ext
|
|
14192 |
fi
|
|
14193 |
rm -f core conftest.err conftest.$ac_objext \
|
|
14194 |
conftest$ac_exeext conftest.$ac_ext
|
14795 | 14195 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
14796 | 14196 |
|
14797 | 14197 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
14803 | 14203 |
archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
|
14804 | 14204 |
else
|
14805 | 14205 |
# Determine the default libpath from the value encoded in an empty executable.
|
14806 | |
cat >conftest.$ac_ext <<_ACEOF
|
|
14206 |
cat > conftest.$ac_ext <<_ACEOF
|
14807 | 14207 |
program main
|
14808 | 14208 |
|
14809 | 14209 |
end
|
14810 | 14210 |
_ACEOF
|
14811 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
14812 | |
if { (ac_try="$ac_link"
|
14813 | |
case "(($ac_try" in
|
14814 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
14815 | |
*) ac_try_echo=$ac_try;;
|
14816 | |
esac
|
14817 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
14818 | |
(eval "$ac_link") 2>conftest.er1
|
14819 | |
ac_status=$?
|
14820 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
14821 | |
rm -f conftest.er1
|
14822 | |
cat conftest.err >&5
|
14823 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
14824 | |
(exit $ac_status); } && {
|
14825 | |
test -z "$ac_f77_werror_flag" ||
|
14826 | |
test ! -s conftest.err
|
14827 | |
} && test -s conftest$ac_exeext &&
|
14828 | |
$as_test_x conftest$ac_exeext; then
|
|
14211 |
if ac_fn_f77_try_link "$LINENO"; then :
|
14829 | 14212 |
|
14830 | 14213 |
lt_aix_libpath_sed='
|
14831 | 14214 |
/Import File Strings/,/^$/ {
|
|
14839 | 14222 |
if test -z "$aix_libpath"; then
|
14840 | 14223 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
14841 | 14224 |
fi
|
14842 | |
else
|
14843 | |
echo "$as_me: failed program was:" >&5
|
14844 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
14845 | |
|
14846 | |
|
14847 | |
fi
|
14848 | |
|
14849 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
14850 | |
conftest$ac_exeext conftest.$ac_ext
|
|
14225 |
fi
|
|
14226 |
rm -f core conftest.err conftest.$ac_objext \
|
|
14227 |
conftest$ac_exeext conftest.$ac_ext
|
14851 | 14228 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
14852 | 14229 |
|
14853 | 14230 |
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
15298 | 14675 |
esac
|
15299 | 14676 |
fi
|
15300 | 14677 |
|
15301 | |
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
|
15302 | |
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
|
|
14678 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
|
|
14679 |
$as_echo "$ld_shlibs_F77" >&6; }
|
15303 | 14680 |
test "$ld_shlibs_F77" = no && can_build_shared=no
|
15304 | 14681 |
|
15305 | 14682 |
#
|
|
15319 | 14696 |
# Test whether the compiler implicitly links with -lc since on some
|
15320 | 14697 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
15321 | 14698 |
# to ld, don't add -lc before -lgcc.
|
15322 | |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
15323 | |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
14699 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
14700 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
15324 | 14701 |
$rm conftest*
|
15325 | 14702 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
15326 | 14703 |
|
15327 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
14704 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
15328 | 14705 |
(eval $ac_compile) 2>&5
|
15329 | 14706 |
ac_status=$?
|
15330 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15331 | |
(exit $ac_status); } 2>conftest.err; then
|
|
14707 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14708 |
test $ac_status = 0; } 2>conftest.err; then
|
15332 | 14709 |
soname=conftest
|
15333 | 14710 |
lib=conftest
|
15334 | 14711 |
libobjs=conftest.$ac_objext
|
|
15342 | 14719 |
libname=conftest
|
15343 | 14720 |
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
|
15344 | 14721 |
allow_undefined_flag_F77=
|
15345 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
14722 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
15346 | 14723 |
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
15347 | 14724 |
ac_status=$?
|
15348 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
15349 | |
(exit $ac_status); }
|
|
14725 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
14726 |
test $ac_status = 0; }
|
15350 | 14727 |
then
|
15351 | 14728 |
archive_cmds_need_lc_F77=no
|
15352 | 14729 |
else
|
|
15357 | 14734 |
cat conftest.err 1>&5
|
15358 | 14735 |
fi
|
15359 | 14736 |
$rm conftest*
|
15360 | |
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
|
15361 | |
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
|
|
14737 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_F77" >&5
|
|
14738 |
$as_echo "$archive_cmds_need_lc_F77" >&6; }
|
15362 | 14739 |
;;
|
15363 | 14740 |
esac
|
15364 | 14741 |
fi
|
15365 | 14742 |
;;
|
15366 | 14743 |
esac
|
15367 | 14744 |
|
15368 | |
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
15369 | |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
|
|
14745 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
14746 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
15370 | 14747 |
library_names_spec=
|
15371 | 14748 |
libname_spec='lib$name'
|
15372 | 14749 |
soname_spec=
|
|
15927 | 15304 |
dynamic_linker=no
|
15928 | 15305 |
;;
|
15929 | 15306 |
esac
|
15930 | |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
15931 | |
echo "${ECHO_T}$dynamic_linker" >&6; }
|
|
15307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
15308 |
$as_echo "$dynamic_linker" >&6; }
|
15932 | 15309 |
test "$dynamic_linker" = no && can_build_shared=no
|
15933 | 15310 |
|
15934 | 15311 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
15936 | 15313 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
15937 | 15314 |
fi
|
15938 | 15315 |
|
15939 | |
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
15940 | |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
|
|
15316 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
15317 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
15941 | 15318 |
hardcode_action_F77=
|
15942 | 15319 |
if test -n "$hardcode_libdir_flag_spec_F77" || \
|
15943 | 15320 |
test -n "$runpath_var_F77" || \
|
|
15961 | 15338 |
# directories.
|
15962 | 15339 |
hardcode_action_F77=unsupported
|
15963 | 15340 |
fi
|
15964 | |
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
|
15965 | |
echo "${ECHO_T}$hardcode_action_F77" >&6; }
|
|
15341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
|
|
15342 |
$as_echo "$hardcode_action_F77" >&6; }
|
15966 | 15343 |
|
15967 | 15344 |
if test "$hardcode_action_F77" = relink; then
|
15968 | 15345 |
# Fast installation is not supported
|
|
16467 | 15844 |
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
|
16468 | 15845 |
|
16469 | 15846 |
|
16470 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
16471 | |
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
|
16472 | |
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
|
16473 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
15847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
|
|
15848 |
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
|
|
15849 |
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
|
|
15850 |
$as_echo_n "(cached) " >&6
|
16474 | 15851 |
else
|
16475 | 15852 |
lt_cv_prog_compiler_rtti_exceptions=no
|
16476 | 15853 |
ac_outfile=conftest.$ac_objext
|
|
16485 | 15862 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
16486 | 15863 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
16487 | 15864 |
-e 's:$: $lt_compiler_flag:'`
|
16488 | |
(eval echo "\"\$as_me:16489: $lt_compile\"" >&5)
|
|
15865 |
(eval echo "\"\$as_me:15866: $lt_compile\"" >&5)
|
16489 | 15866 |
(eval "$lt_compile" 2>conftest.err)
|
16490 | 15867 |
ac_status=$?
|
16491 | 15868 |
cat conftest.err >&5
|
16492 | |
echo "$as_me:16493: \$? = $ac_status" >&5
|
|
15869 |
echo "$as_me:15870: \$? = $ac_status" >&5
|
16493 | 15870 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
16494 | 15871 |
# The compiler can only warn and ignore the option if not recognized
|
16495 | 15872 |
# So say no if there are warnings other than the usual output.
|
|
16502 | 15879 |
$rm conftest*
|
16503 | 15880 |
|
16504 | 15881 |
fi
|
16505 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
16506 | |
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
|
15882 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
|
|
15883 |
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
|
16507 | 15884 |
|
16508 | 15885 |
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
|
16509 | 15886 |
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
|
|
16517 | 15894 |
lt_prog_compiler_pic_GCJ=
|
16518 | 15895 |
lt_prog_compiler_static_GCJ=
|
16519 | 15896 |
|
16520 | |
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
|
16521 | |
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
|
|
15897 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
|
|
15898 |
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
|
16522 | 15899 |
|
16523 | 15900 |
if test "$GCC" = yes; then
|
16524 | 15901 |
lt_prog_compiler_wl_GCJ='-Wl,'
|
|
16749 | 16126 |
esac
|
16750 | 16127 |
fi
|
16751 | 16128 |
|
16752 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
|
16753 | |
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
|
|
16129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_GCJ" >&5
|
|
16130 |
$as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
|
16754 | 16131 |
|
16755 | 16132 |
#
|
16756 | 16133 |
# Check to make sure the PIC flag actually works.
|
16757 | 16134 |
#
|
16758 | 16135 |
if test -n "$lt_prog_compiler_pic_GCJ"; then
|
16759 | 16136 |
|
16760 | |
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
|
16761 | |
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
|
16762 | |
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
|
16763 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
16137 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
|
|
16138 |
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
|
|
16139 |
if ${lt_prog_compiler_pic_works_GCJ+:} false; then :
|
|
16140 |
$as_echo_n "(cached) " >&6
|
16764 | 16141 |
else
|
16765 | 16142 |
lt_prog_compiler_pic_works_GCJ=no
|
16766 | 16143 |
ac_outfile=conftest.$ac_objext
|
|
16775 | 16152 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
16776 | 16153 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
16777 | 16154 |
-e 's:$: $lt_compiler_flag:'`
|
16778 | |
(eval echo "\"\$as_me:16779: $lt_compile\"" >&5)
|
|
16155 |
(eval echo "\"\$as_me:16156: $lt_compile\"" >&5)
|
16779 | 16156 |
(eval "$lt_compile" 2>conftest.err)
|
16780 | 16157 |
ac_status=$?
|
16781 | 16158 |
cat conftest.err >&5
|
16782 | |
echo "$as_me:16783: \$? = $ac_status" >&5
|
|
16159 |
echo "$as_me:16160: \$? = $ac_status" >&5
|
16783 | 16160 |
if (exit $ac_status) && test -s "$ac_outfile"; then
|
16784 | 16161 |
# The compiler can only warn and ignore the option if not recognized
|
16785 | 16162 |
# So say no if there are warnings other than the usual output.
|
|
16792 | 16169 |
$rm conftest*
|
16793 | 16170 |
|
16794 | 16171 |
fi
|
16795 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
|
16796 | |
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
|
|
16172 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_works_GCJ" >&5
|
|
16173 |
$as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
|
16797 | 16174 |
|
16798 | 16175 |
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
|
16799 | 16176 |
case $lt_prog_compiler_pic_GCJ in
|
|
16820 | 16197 |
# Check to make sure the static flag actually works.
|
16821 | 16198 |
#
|
16822 | 16199 |
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
|
16823 | |
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
16824 | |
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
|
16825 | |
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
|
16826 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
16200 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
|
|
16201 |
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
|
|
16202 |
if ${lt_prog_compiler_static_works_GCJ+:} false; then :
|
|
16203 |
$as_echo_n "(cached) " >&6
|
16827 | 16204 |
else
|
16828 | 16205 |
lt_prog_compiler_static_works_GCJ=no
|
16829 | 16206 |
save_LDFLAGS="$LDFLAGS"
|
|
16848 | 16225 |
LDFLAGS="$save_LDFLAGS"
|
16849 | 16226 |
|
16850 | 16227 |
fi
|
16851 | |
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
|
16852 | |
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
|
|
16228 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_static_works_GCJ" >&5
|
|
16229 |
$as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
|
16853 | 16230 |
|
16854 | 16231 |
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
|
16855 | 16232 |
:
|
|
16858 | 16235 |
fi
|
16859 | 16236 |
|
16860 | 16237 |
|
16861 | |
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
|
16862 | |
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
|
16863 | |
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
|
16864 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
16238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
|
|
16239 |
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
|
|
16240 |
if ${lt_cv_prog_compiler_c_o_GCJ+:} false; then :
|
|
16241 |
$as_echo_n "(cached) " >&6
|
16865 | 16242 |
else
|
16866 | 16243 |
lt_cv_prog_compiler_c_o_GCJ=no
|
16867 | 16244 |
$rm -r conftest 2>/dev/null
|
|
16879 | 16256 |
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
16880 | 16257 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
16881 | 16258 |
-e 's:$: $lt_compiler_flag:'`
|
16882 | |
(eval echo "\"\$as_me:16883: $lt_compile\"" >&5)
|
|
16259 |
(eval echo "\"\$as_me:16260: $lt_compile\"" >&5)
|
16883 | 16260 |
(eval "$lt_compile" 2>out/conftest.err)
|
16884 | 16261 |
ac_status=$?
|
16885 | 16262 |
cat out/conftest.err >&5
|
16886 | |
echo "$as_me:16887: \$? = $ac_status" >&5
|
|
16263 |
echo "$as_me:16264: \$? = $ac_status" >&5
|
16887 | 16264 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
16888 | 16265 |
then
|
16889 | 16266 |
# The compiler can only warn and ignore the option if not recognized
|
|
16905 | 16282 |
$rm conftest*
|
16906 | 16283 |
|
16907 | 16284 |
fi
|
16908 | |
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
|
16909 | |
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
|
|
16285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
|
|
16286 |
$as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
|
16910 | 16287 |
|
16911 | 16288 |
|
16912 | 16289 |
hard_links="nottested"
|
16913 | 16290 |
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
|
16914 | 16291 |
# do not overwrite the value of need_locks provided by the user
|
16915 | |
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
|
16916 | |
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
|
|
16292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
|
|
16293 |
$as_echo_n "checking if we can lock with hard links... " >&6; }
|
16917 | 16294 |
hard_links=yes
|
16918 | 16295 |
$rm conftest*
|
16919 | 16296 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
16920 | 16297 |
touch conftest.a
|
16921 | 16298 |
ln conftest.a conftest.b 2>&5 || hard_links=no
|
16922 | 16299 |
ln conftest.a conftest.b 2>/dev/null && hard_links=no
|
16923 | |
{ echo "$as_me:$LINENO: result: $hard_links" >&5
|
16924 | |
echo "${ECHO_T}$hard_links" >&6; }
|
|
16300 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
|
|
16301 |
$as_echo "$hard_links" >&6; }
|
16925 | 16302 |
if test "$hard_links" = no; then
|
16926 | |
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
16927 | |
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
|
16303 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
|
|
16304 |
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
|
16928 | 16305 |
need_locks=warn
|
16929 | 16306 |
fi
|
16930 | 16307 |
else
|
16931 | 16308 |
need_locks=no
|
16932 | 16309 |
fi
|
16933 | 16310 |
|
16934 | |
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
16935 | |
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
|
|
16311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
|
|
16312 |
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
|
16936 | 16313 |
|
16937 | 16314 |
runpath_var=
|
16938 | 16315 |
allow_undefined_flag_GCJ=
|
|
17341 | 16718 |
# -berok will link without error, but may produce a broken library.
|
17342 | 16719 |
allow_undefined_flag_GCJ='-berok'
|
17343 | 16720 |
# Determine the default libpath from the value encoded in an empty executable.
|
17344 | |
cat >conftest.$ac_ext <<_ACEOF
|
17345 | |
/* confdefs.h. */
|
17346 | |
_ACEOF
|
17347 | |
cat confdefs.h >>conftest.$ac_ext
|
17348 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
16721 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17349 | 16722 |
/* end confdefs.h. */
|
17350 | 16723 |
|
17351 | 16724 |
int
|
|
17356 | 16729 |
return 0;
|
17357 | 16730 |
}
|
17358 | 16731 |
_ACEOF
|
17359 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
17360 | |
if { (ac_try="$ac_link"
|
17361 | |
case "(($ac_try" in
|
17362 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17363 | |
*) ac_try_echo=$ac_try;;
|
17364 | |
esac
|
17365 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
17366 | |
(eval "$ac_link") 2>conftest.er1
|
17367 | |
ac_status=$?
|
17368 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17369 | |
rm -f conftest.er1
|
17370 | |
cat conftest.err >&5
|
17371 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17372 | |
(exit $ac_status); } && {
|
17373 | |
test -z "$ac_c_werror_flag" ||
|
17374 | |
test ! -s conftest.err
|
17375 | |
} && test -s conftest$ac_exeext &&
|
17376 | |
$as_test_x conftest$ac_exeext; then
|
|
16732 |
if ac_fn_c_try_link "$LINENO"; then :
|
17377 | 16733 |
|
17378 | 16734 |
lt_aix_libpath_sed='
|
17379 | 16735 |
/Import File Strings/,/^$/ {
|
|
17387 | 16743 |
if test -z "$aix_libpath"; then
|
17388 | 16744 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
17389 | 16745 |
fi
|
17390 | |
else
|
17391 | |
echo "$as_me: failed program was:" >&5
|
17392 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17393 | |
|
17394 | |
|
17395 | |
fi
|
17396 | |
|
17397 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
17398 | |
conftest$ac_exeext conftest.$ac_ext
|
|
16746 |
fi
|
|
16747 |
rm -f core conftest.err conftest.$ac_objext \
|
|
16748 |
conftest$ac_exeext conftest.$ac_ext
|
17399 | 16749 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
17400 | 16750 |
|
17401 | 16751 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
17407 | 16757 |
archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
|
17408 | 16758 |
else
|
17409 | 16759 |
# Determine the default libpath from the value encoded in an empty executable.
|
17410 | |
cat >conftest.$ac_ext <<_ACEOF
|
17411 | |
/* confdefs.h. */
|
17412 | |
_ACEOF
|
17413 | |
cat confdefs.h >>conftest.$ac_ext
|
17414 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
16760 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17415 | 16761 |
/* end confdefs.h. */
|
17416 | 16762 |
|
17417 | 16763 |
int
|
|
17422 | 16768 |
return 0;
|
17423 | 16769 |
}
|
17424 | 16770 |
_ACEOF
|
17425 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
17426 | |
if { (ac_try="$ac_link"
|
17427 | |
case "(($ac_try" in
|
17428 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
17429 | |
*) ac_try_echo=$ac_try;;
|
17430 | |
esac
|
17431 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
17432 | |
(eval "$ac_link") 2>conftest.er1
|
17433 | |
ac_status=$?
|
17434 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
17435 | |
rm -f conftest.er1
|
17436 | |
cat conftest.err >&5
|
17437 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17438 | |
(exit $ac_status); } && {
|
17439 | |
test -z "$ac_c_werror_flag" ||
|
17440 | |
test ! -s conftest.err
|
17441 | |
} && test -s conftest$ac_exeext &&
|
17442 | |
$as_test_x conftest$ac_exeext; then
|
|
16771 |
if ac_fn_c_try_link "$LINENO"; then :
|
17443 | 16772 |
|
17444 | 16773 |
lt_aix_libpath_sed='
|
17445 | 16774 |
/Import File Strings/,/^$/ {
|
|
17453 | 16782 |
if test -z "$aix_libpath"; then
|
17454 | 16783 |
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
|
17455 | 16784 |
fi
|
17456 | |
else
|
17457 | |
echo "$as_me: failed program was:" >&5
|
17458 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
17459 | |
|
17460 | |
|
17461 | |
fi
|
17462 | |
|
17463 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
17464 | |
conftest$ac_exeext conftest.$ac_ext
|
|
16785 |
fi
|
|
16786 |
rm -f core conftest.err conftest.$ac_objext \
|
|
16787 |
conftest$ac_exeext conftest.$ac_ext
|
17465 | 16788 |
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
|
17466 | 16789 |
|
17467 | 16790 |
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
|
|
17912 | 17235 |
esac
|
17913 | 17236 |
fi
|
17914 | 17237 |
|
17915 | |
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
|
17916 | |
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
|
|
17238 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_GCJ" >&5
|
|
17239 |
$as_echo "$ld_shlibs_GCJ" >&6; }
|
17917 | 17240 |
test "$ld_shlibs_GCJ" = no && can_build_shared=no
|
17918 | 17241 |
|
17919 | 17242 |
#
|
|
17933 | 17256 |
# Test whether the compiler implicitly links with -lc since on some
|
17934 | 17257 |
# systems, -lgcc has to come before -lc. If gcc already passes -lc
|
17935 | 17258 |
# to ld, don't add -lc before -lgcc.
|
17936 | |
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
|
17937 | |
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
|
|
17259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
|
|
17260 |
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
|
17938 | 17261 |
$rm conftest*
|
17939 | 17262 |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
|
17940 | 17263 |
|
17941 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|
17264 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
|
17942 | 17265 |
(eval $ac_compile) 2>&5
|
17943 | 17266 |
ac_status=$?
|
17944 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17945 | |
(exit $ac_status); } 2>conftest.err; then
|
|
17267 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
17268 |
test $ac_status = 0; } 2>conftest.err; then
|
17946 | 17269 |
soname=conftest
|
17947 | 17270 |
lib=conftest
|
17948 | 17271 |
libobjs=conftest.$ac_objext
|
|
17956 | 17279 |
libname=conftest
|
17957 | 17280 |
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
|
17958 | 17281 |
allow_undefined_flag_GCJ=
|
17959 | |
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
|
|
17282 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\""; } >&5
|
17960 | 17283 |
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
|
17961 | 17284 |
ac_status=$?
|
17962 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
17963 | |
(exit $ac_status); }
|
|
17285 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
17286 |
test $ac_status = 0; }
|
17964 | 17287 |
then
|
17965 | 17288 |
archive_cmds_need_lc_GCJ=no
|
17966 | 17289 |
else
|
|
17971 | 17294 |
cat conftest.err 1>&5
|
17972 | 17295 |
fi
|
17973 | 17296 |
$rm conftest*
|
17974 | |
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
|
17975 | |
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
|
|
17297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_GCJ" >&5
|
|
17298 |
$as_echo "$archive_cmds_need_lc_GCJ" >&6; }
|
17976 | 17299 |
;;
|
17977 | 17300 |
esac
|
17978 | 17301 |
fi
|
17979 | 17302 |
;;
|
17980 | 17303 |
esac
|
17981 | 17304 |
|
17982 | |
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
|
17983 | |
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
|
|
17305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
|
|
17306 |
$as_echo_n "checking dynamic linker characteristics... " >&6; }
|
17984 | 17307 |
library_names_spec=
|
17985 | 17308 |
libname_spec='lib$name'
|
17986 | 17309 |
soname_spec=
|
|
18541 | 17864 |
dynamic_linker=no
|
18542 | 17865 |
;;
|
18543 | 17866 |
esac
|
18544 | |
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
|
18545 | |
echo "${ECHO_T}$dynamic_linker" >&6; }
|
|
17867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
|
|
17868 |
$as_echo "$dynamic_linker" >&6; }
|
18546 | 17869 |
test "$dynamic_linker" = no && can_build_shared=no
|
18547 | 17870 |
|
18548 | 17871 |
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
|
|
18550 | 17873 |
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
|
18551 | 17874 |
fi
|
18552 | 17875 |
|
18553 | |
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
|
18554 | |
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
|
|
17876 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
|
|
17877 |
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
|
18555 | 17878 |
hardcode_action_GCJ=
|
18556 | 17879 |
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
|
18557 | 17880 |
test -n "$runpath_var_GCJ" || \
|
|
18575 | 17898 |
# directories.
|
18576 | 17899 |
hardcode_action_GCJ=unsupported
|
18577 | 17900 |
fi
|
18578 | |
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
|
18579 | |
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
|
|
17901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_GCJ" >&5
|
|
17902 |
$as_echo "$hardcode_action_GCJ" >&6; }
|
18580 | 17903 |
|
18581 | 17904 |
if test "$hardcode_action_GCJ" = relink; then
|
18582 | 17905 |
# Fast installation is not supported
|
|
19489 | 18812 |
;;
|
19490 | 18813 |
|
19491 | 18814 |
*)
|
19492 | |
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
|
19493 | |
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
|
19494 | |
{ (exit 1); exit 1; }; }
|
|
18815 |
as_fn_error $? "Unsupported tag name: $tagname" "$LINENO" 5
|
19495 | 18816 |
;;
|
19496 | 18817 |
esac
|
19497 | 18818 |
|
|
19509 | 18830 |
chmod +x "$ofile"
|
19510 | 18831 |
else
|
19511 | 18832 |
rm -f "${ofile}T"
|
19512 | |
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
|
19513 | |
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
|
19514 | |
{ (exit 1); exit 1; }; }
|
|
18833 |
as_fn_error $? "unable to update list of available tagged configurations." "$LINENO" 5
|
19515 | 18834 |
fi
|
19516 | 18835 |
fi
|
19517 | 18836 |
|
|
19548 | 18867 |
|
19549 | 18868 |
|
19550 | 18869 |
# Check whether --enable-debug was given.
|
19551 | |
if test "${enable_debug+set}" = set; then
|
|
18870 |
if test "${enable_debug+set}" = set; then :
|
19552 | 18871 |
enableval=$enable_debug;
|
19553 | 18872 |
else
|
19554 | 18873 |
enable_debug=no
|
|
19562 | 18881 |
fi
|
19563 | 18882 |
CFLAGS="$CFLAGS -Werror"
|
19564 | 18883 |
|
19565 | |
cat >>confdefs.h <<\_ACEOF
|
19566 | |
#define DEBUG 1
|
19567 | |
_ACEOF
|
19568 | |
|
19569 | |
|
19570 | |
cat >>confdefs.h <<\_ACEOF
|
19571 | |
#define DEBUG_CHATTER 1
|
19572 | |
_ACEOF
|
19573 | |
|
19574 | |
else
|
19575 | |
|
19576 | |
cat >>confdefs.h <<\_ACEOF
|
19577 | |
#define NDEBUG 1
|
19578 | |
_ACEOF
|
|
18884 |
$as_echo "#define DEBUG 1" >>confdefs.h
|
|
18885 |
|
|
18886 |
|
|
18887 |
$as_echo "#define DEBUG_CHATTER 1" >>confdefs.h
|
|
18888 |
|
|
18889 |
else
|
|
18890 |
|
|
18891 |
$as_echo "#define NDEBUG 1" >>confdefs.h
|
19579 | 18892 |
|
19580 | 18893 |
fi
|
19581 | 18894 |
|
|
19584 | 18897 |
SDL_VERSION=1.2.0
|
19585 | 18898 |
|
19586 | 18899 |
# Check whether --with-sdl-prefix was given.
|
19587 | |
if test "${with_sdl_prefix+set}" = set; then
|
|
18900 |
if test "${with_sdl_prefix+set}" = set; then :
|
19588 | 18901 |
withval=$with_sdl_prefix; sdl_prefix="$withval"
|
19589 | 18902 |
else
|
19590 | 18903 |
sdl_prefix=""
|
|
19592 | 18905 |
|
19593 | 18906 |
|
19594 | 18907 |
# Check whether --with-sdl-exec-prefix was given.
|
19595 | |
if test "${with_sdl_exec_prefix+set}" = set; then
|
|
18908 |
if test "${with_sdl_exec_prefix+set}" = set; then :
|
19596 | 18909 |
withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
|
19597 | 18910 |
else
|
19598 | 18911 |
sdl_exec_prefix=""
|
19599 | 18912 |
fi
|
19600 | 18913 |
|
19601 | 18914 |
# Check whether --enable-sdltest was given.
|
19602 | |
if test "${enable_sdltest+set}" = set; then
|
|
18915 |
if test "${enable_sdltest+set}" = set; then :
|
19603 | 18916 |
enableval=$enable_sdltest;
|
19604 | 18917 |
else
|
19605 | 18918 |
enable_sdltest=yes
|
|
19623 | 18936 |
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
19624 | 18937 |
# Extract the first word of "sdl-config", so it can be a program name with args.
|
19625 | 18938 |
set dummy sdl-config; ac_word=$2
|
19626 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
19627 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
19628 | |
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
|
19629 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
18939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
18940 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
18941 |
if ${ac_cv_path_SDL_CONFIG+:} false; then :
|
|
18942 |
$as_echo_n "(cached) " >&6
|
19630 | 18943 |
else
|
19631 | 18944 |
case $SDL_CONFIG in
|
19632 | 18945 |
[\\/]* | ?:[\\/]*)
|
|
19638 | 18951 |
do
|
19639 | 18952 |
IFS=$as_save_IFS
|
19640 | 18953 |
test -z "$as_dir" && as_dir=.
|
19641 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
19642 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
18954 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
18955 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
19643 | 18956 |
ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
19644 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
18957 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
19645 | 18958 |
break 2
|
19646 | 18959 |
fi
|
19647 | 18960 |
done
|
19648 | |
done
|
|
18961 |
done
|
19649 | 18962 |
IFS=$as_save_IFS
|
19650 | 18963 |
|
19651 | 18964 |
test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
|
|
19654 | 18967 |
fi
|
19655 | 18968 |
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
|
19656 | 18969 |
if test -n "$SDL_CONFIG"; then
|
19657 | |
{ echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
|
19658 | |
echo "${ECHO_T}$SDL_CONFIG" >&6; }
|
19659 | |
else
|
19660 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
19661 | |
echo "${ECHO_T}no" >&6; }
|
|
18970 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
|
|
18971 |
$as_echo "$SDL_CONFIG" >&6; }
|
|
18972 |
else
|
|
18973 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
18974 |
$as_echo "no" >&6; }
|
19662 | 18975 |
fi
|
19663 | 18976 |
|
19664 | 18977 |
|
19665 | 18978 |
min_sdl_version=$SDL_VERSION
|
19666 | |
{ echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
|
19667 | |
echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
|
|
18979 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
|
|
18980 |
$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
|
19668 | 18981 |
no_sdl=""
|
19669 | 18982 |
if test "$SDL_CONFIG" = "no" ; then
|
19670 | 18983 |
no_sdl=yes
|
|
19686 | 18999 |
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
19687 | 19000 |
LIBS="$LIBS $SDL_LIBS"
|
19688 | 19001 |
rm -f conf.sdltest
|
19689 | |
if test "$cross_compiling" = yes; then
|
|
19002 |
if test "$cross_compiling" = yes; then :
|
19690 | 19003 |
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
19691 | 19004 |
else
|
19692 | |
cat >conftest.$ac_ext <<_ACEOF
|
19693 | |
/* confdefs.h. */
|
19694 | |
_ACEOF
|
19695 | |
cat confdefs.h >>conftest.$ac_ext
|
19696 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19005 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
19697 | 19006 |
/* end confdefs.h. */
|
19698 | 19007 |
|
19699 | 19008 |
#include <stdio.h>
|
|
19754 | 19063 |
|
19755 | 19064 |
|
19756 | 19065 |
_ACEOF
|
19757 | |
rm -f conftest$ac_exeext
|
19758 | |
if { (ac_try="$ac_link"
|
19759 | |
case "(($ac_try" in
|
19760 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
19761 | |
*) ac_try_echo=$ac_try;;
|
19762 | |
esac
|
19763 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
19764 | |
(eval "$ac_link") 2>&5
|
19765 | |
ac_status=$?
|
19766 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
19767 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
19768 | |
{ (case "(($ac_try" in
|
19769 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
19770 | |
*) ac_try_echo=$ac_try;;
|
19771 | |
esac
|
19772 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
19773 | |
(eval "$ac_try") 2>&5
|
19774 | |
ac_status=$?
|
19775 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
19776 | |
(exit $ac_status); }; }; then
|
19777 | |
:
|
19778 | |
else
|
19779 | |
echo "$as_me: program exited with status $ac_status" >&5
|
19780 | |
echo "$as_me: failed program was:" >&5
|
19781 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
19782 | |
|
19783 | |
( exit $ac_status )
|
19784 | |
no_sdl=yes
|
19785 | |
fi
|
19786 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
19787 | |
fi
|
19788 | |
|
|
19066 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
19067 |
|
|
19068 |
else
|
|
19069 |
no_sdl=yes
|
|
19070 |
fi
|
|
19071 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
19072 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
19073 |
fi
|
19789 | 19074 |
|
19790 | 19075 |
CFLAGS="$ac_save_CFLAGS"
|
19791 | 19076 |
LIBS="$ac_save_LIBS"
|
19792 | 19077 |
fi
|
19793 | 19078 |
fi
|
19794 | 19079 |
if test "x$no_sdl" = x ; then
|
19795 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
19796 | |
echo "${ECHO_T}yes" >&6; }
|
|
19080 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
19081 |
$as_echo "yes" >&6; }
|
19797 | 19082 |
:
|
19798 | 19083 |
else
|
19799 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
19800 | |
echo "${ECHO_T}no" >&6; }
|
|
19084 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
19085 |
$as_echo "no" >&6; }
|
19801 | 19086 |
if test "$SDL_CONFIG" = "no" ; then
|
19802 | 19087 |
echo "*** The sdl-config script installed by SDL could not be found"
|
19803 | 19088 |
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
|
|
19811 | 19096 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
19812 | 19097 |
CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
|
19813 | 19098 |
LIBS="$LIBS $SDL_LIBS"
|
19814 | |
cat >conftest.$ac_ext <<_ACEOF
|
19815 | |
/* confdefs.h. */
|
19816 | |
_ACEOF
|
19817 | |
cat confdefs.h >>conftest.$ac_ext
|
19818 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19099 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
19819 | 19100 |
/* end confdefs.h. */
|
19820 | 19101 |
|
19821 | 19102 |
#include <stdio.h>
|
|
19834 | 19115 |
return 0;
|
19835 | 19116 |
}
|
19836 | 19117 |
_ACEOF
|
19837 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
19838 | |
if { (ac_try="$ac_link"
|
19839 | |
case "(($ac_try" in
|
19840 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
19841 | |
*) ac_try_echo=$ac_try;;
|
19842 | |
esac
|
19843 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
19844 | |
(eval "$ac_link") 2>conftest.er1
|
19845 | |
ac_status=$?
|
19846 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
19847 | |
rm -f conftest.er1
|
19848 | |
cat conftest.err >&5
|
19849 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
19850 | |
(exit $ac_status); } && {
|
19851 | |
test -z "$ac_c_werror_flag" ||
|
19852 | |
test ! -s conftest.err
|
19853 | |
} && test -s conftest$ac_exeext &&
|
19854 | |
$as_test_x conftest$ac_exeext; then
|
|
19118 |
if ac_fn_c_try_link "$LINENO"; then :
|
19855 | 19119 |
echo "*** The test program compiled, but did not run. This usually means"
|
19856 | 19120 |
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
19857 | 19121 |
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
|
|
19862 | 19126 |
echo "*** If you have an old version installed, it is best to remove it, although"
|
19863 | 19127 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
19864 | 19128 |
else
|
19865 | |
echo "$as_me: failed program was:" >&5
|
19866 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
19867 | |
|
19868 | |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
19129 |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
19869 | 19130 |
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
|
19870 | 19131 |
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
|
19871 | 19132 |
echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
|
19872 | 19133 |
fi
|
19873 | |
|
19874 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
19875 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19134 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19135 |
conftest$ac_exeext conftest.$ac_ext
|
19876 | 19136 |
CFLAGS="$ac_save_CFLAGS"
|
19877 | 19137 |
CXXFLAGS="$ac_save_CXXFLAGS"
|
19878 | 19138 |
LIBS="$ac_save_LIBS"
|
|
19881 | 19141 |
SDL_CFLAGS=""
|
19882 | 19142 |
SDL_CXXFLAGS=""
|
19883 | 19143 |
SDL_LIBS=""
|
19884 | |
{ { echo "$as_me:$LINENO: error: *** SDL version $SDL_VERSION not found!" >&5
|
19885 | |
echo "$as_me: error: *** SDL version $SDL_VERSION not found!" >&2;}
|
19886 | |
{ (exit 1); exit 1; }; }
|
|
19144 |
as_fn_error $? "*** SDL version $SDL_VERSION not found!" "$LINENO" 5
|
19887 | 19145 |
|
19888 | 19146 |
fi
|
19889 | 19147 |
|
|
19895 | 19153 |
|
19896 | 19154 |
|
19897 | 19155 |
# Check whether --enable-voc was given.
|
19898 | |
if test "${enable_voc+set}" = set; then
|
|
19156 |
if test "${enable_voc+set}" = set; then :
|
19899 | 19157 |
enableval=$enable_voc;
|
19900 | 19158 |
else
|
19901 | 19159 |
enable_voc=yes
|
|
19903 | 19161 |
|
19904 | 19162 |
if test x$enable_voc = xyes; then
|
19905 | 19163 |
|
19906 | |
cat >>confdefs.h <<\_ACEOF
|
19907 | |
#define SOUND_SUPPORTS_VOC 1
|
19908 | |
_ACEOF
|
|
19164 |
$as_echo "#define SOUND_SUPPORTS_VOC 1" >>confdefs.h
|
19909 | 19165 |
|
19910 | 19166 |
fi
|
19911 | 19167 |
|
19912 | 19168 |
|
19913 | 19169 |
# Check whether --enable-wav was given.
|
19914 | |
if test "${enable_wav+set}" = set; then
|
|
19170 |
if test "${enable_wav+set}" = set; then :
|
19915 | 19171 |
enableval=$enable_wav;
|
19916 | 19172 |
else
|
19917 | 19173 |
enable_wav=yes
|
|
19919 | 19175 |
|
19920 | 19176 |
if test x$enable_wav = xyes; then
|
19921 | 19177 |
|
19922 | |
cat >>confdefs.h <<\_ACEOF
|
19923 | |
#define SOUND_SUPPORTS_WAV 1
|
19924 | |
_ACEOF
|
|
19178 |
$as_echo "#define SOUND_SUPPORTS_WAV 1" >>confdefs.h
|
19925 | 19179 |
|
19926 | 19180 |
fi
|
19927 | 19181 |
|
19928 | 19182 |
|
19929 | 19183 |
# Check whether --enable-raw was given.
|
19930 | |
if test "${enable_raw+set}" = set; then
|
|
19184 |
if test "${enable_raw+set}" = set; then :
|
19931 | 19185 |
enableval=$enable_raw;
|
19932 | 19186 |
else
|
19933 | 19187 |
enable_raw=yes
|
|
19935 | 19189 |
|
19936 | 19190 |
if test x$enable_raw = xyes; then
|
19937 | 19191 |
|
19938 | |
cat >>confdefs.h <<\_ACEOF
|
19939 | |
#define SOUND_SUPPORTS_RAW 1
|
19940 | |
_ACEOF
|
|
19192 |
$as_echo "#define SOUND_SUPPORTS_RAW 1" >>confdefs.h
|
19941 | 19193 |
|
19942 | 19194 |
fi
|
19943 | 19195 |
|
19944 | 19196 |
|
19945 | 19197 |
# Check whether --enable-aiff was given.
|
19946 | |
if test "${enable_aiff+set}" = set; then
|
|
19198 |
if test "${enable_aiff+set}" = set; then :
|
19947 | 19199 |
enableval=$enable_aiff;
|
19948 | 19200 |
else
|
19949 | 19201 |
enable_aiff=yes
|
|
19951 | 19203 |
|
19952 | 19204 |
if test x$enable_aiff = xyes; then
|
19953 | 19205 |
|
19954 | |
cat >>confdefs.h <<\_ACEOF
|
19955 | |
#define SOUND_SUPPORTS_AIFF 1
|
19956 | |
_ACEOF
|
|
19206 |
$as_echo "#define SOUND_SUPPORTS_AIFF 1" >>confdefs.h
|
19957 | 19207 |
|
19958 | 19208 |
fi
|
19959 | 19209 |
|
19960 | 19210 |
# Check whether --enable-au was given.
|
19961 | |
if test "${enable_au+set}" = set; then
|
|
19211 |
if test "${enable_au+set}" = set; then :
|
19962 | 19212 |
enableval=$enable_au;
|
19963 | 19213 |
else
|
19964 | 19214 |
enable_au=yes
|
|
19966 | 19216 |
|
19967 | 19217 |
if test x$enable_au = xyes; then
|
19968 | 19218 |
|
19969 | |
cat >>confdefs.h <<\_ACEOF
|
19970 | |
#define SOUND_SUPPORTS_AU 1
|
19971 | |
_ACEOF
|
|
19219 |
$as_echo "#define SOUND_SUPPORTS_AU 1" >>confdefs.h
|
19972 | 19220 |
|
19973 | 19221 |
fi
|
19974 | 19222 |
|
19975 | 19223 |
# Check whether --enable-shn was given.
|
19976 | |
if test "${enable_shn+set}" = set; then
|
|
19224 |
if test "${enable_shn+set}" = set; then :
|
19977 | 19225 |
enableval=$enable_shn;
|
19978 | 19226 |
else
|
19979 | 19227 |
enable_shn=yes
|
|
19981 | 19229 |
|
19982 | 19230 |
if test x$enable_shn = xyes; then
|
19983 | 19231 |
|
19984 | |
cat >>confdefs.h <<\_ACEOF
|
19985 | |
#define SOUND_SUPPORTS_SHN 1
|
19986 | |
_ACEOF
|
|
19232 |
$as_echo "#define SOUND_SUPPORTS_SHN 1" >>confdefs.h
|
19987 | 19233 |
|
19988 | 19234 |
fi
|
19989 | 19235 |
|
19990 | 19236 |
# Check whether --enable-midi was given.
|
19991 | |
if test "${enable_midi+set}" = set; then
|
|
19237 |
if test "${enable_midi+set}" = set; then :
|
19992 | 19238 |
enableval=$enable_midi;
|
19993 | 19239 |
else
|
19994 | 19240 |
enable_midi=yes
|
|
19996 | 19242 |
|
19997 | 19243 |
if test x$enable_midi = xyes; then
|
19998 | 19244 |
|
19999 | |
cat >>confdefs.h <<\_ACEOF
|
20000 | |
#define SOUND_SUPPORTS_MIDI 1
|
20001 | |
_ACEOF
|
|
19245 |
$as_echo "#define SOUND_SUPPORTS_MIDI 1" >>confdefs.h
|
20002 | 19246 |
|
20003 | 19247 |
fi
|
20004 | 19248 |
|
20005 | 19249 |
# Check whether --enable-smpeg was given.
|
20006 | |
if test "${enable_smpeg+set}" = set; then
|
|
19250 |
if test "${enable_smpeg+set}" = set; then :
|
20007 | 19251 |
enableval=$enable_smpeg;
|
20008 | 19252 |
else
|
20009 | 19253 |
enable_smpeg=yes
|
20010 | 19254 |
fi
|
20011 | 19255 |
|
20012 | 19256 |
if test x$enable_smpeg = xyes; then
|
20013 | |
if test "${ac_cv_header_smpeg_h+set}" = set; then
|
20014 | |
{ echo "$as_me:$LINENO: checking for smpeg.h" >&5
|
20015 | |
echo $ECHO_N "checking for smpeg.h... $ECHO_C" >&6; }
|
20016 | |
if test "${ac_cv_header_smpeg_h+set}" = set; then
|
20017 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20018 | |
fi
|
20019 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_smpeg_h" >&5
|
20020 | |
echo "${ECHO_T}$ac_cv_header_smpeg_h" >&6; }
|
20021 | |
else
|
20022 | |
# Is the header compilable?
|
20023 | |
{ echo "$as_me:$LINENO: checking smpeg.h usability" >&5
|
20024 | |
echo $ECHO_N "checking smpeg.h usability... $ECHO_C" >&6; }
|
20025 | |
cat >conftest.$ac_ext <<_ACEOF
|
20026 | |
/* confdefs.h. */
|
20027 | |
_ACEOF
|
20028 | |
cat confdefs.h >>conftest.$ac_ext
|
20029 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20030 | |
/* end confdefs.h. */
|
20031 | |
$ac_includes_default
|
20032 | |
#include <smpeg.h>
|
20033 | |
_ACEOF
|
20034 | |
rm -f conftest.$ac_objext
|
20035 | |
if { (ac_try="$ac_compile"
|
20036 | |
case "(($ac_try" in
|
20037 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20038 | |
*) ac_try_echo=$ac_try;;
|
20039 | |
esac
|
20040 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20041 | |
(eval "$ac_compile") 2>conftest.er1
|
20042 | |
ac_status=$?
|
20043 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20044 | |
rm -f conftest.er1
|
20045 | |
cat conftest.err >&5
|
20046 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20047 | |
(exit $ac_status); } && {
|
20048 | |
test -z "$ac_c_werror_flag" ||
|
20049 | |
test ! -s conftest.err
|
20050 | |
} && test -s conftest.$ac_objext; then
|
20051 | |
ac_header_compiler=yes
|
20052 | |
else
|
20053 | |
echo "$as_me: failed program was:" >&5
|
20054 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20055 | |
|
20056 | |
ac_header_compiler=no
|
20057 | |
fi
|
20058 | |
|
20059 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
20060 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
20061 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
20062 | |
|
20063 | |
# Is the header present?
|
20064 | |
{ echo "$as_me:$LINENO: checking smpeg.h presence" >&5
|
20065 | |
echo $ECHO_N "checking smpeg.h presence... $ECHO_C" >&6; }
|
20066 | |
cat >conftest.$ac_ext <<_ACEOF
|
20067 | |
/* confdefs.h. */
|
20068 | |
_ACEOF
|
20069 | |
cat confdefs.h >>conftest.$ac_ext
|
20070 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20071 | |
/* end confdefs.h. */
|
20072 | |
#include <smpeg.h>
|
20073 | |
_ACEOF
|
20074 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
20075 | |
case "(($ac_try" in
|
20076 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20077 | |
*) ac_try_echo=$ac_try;;
|
20078 | |
esac
|
20079 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20080 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
20081 | |
ac_status=$?
|
20082 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20083 | |
rm -f conftest.er1
|
20084 | |
cat conftest.err >&5
|
20085 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20086 | |
(exit $ac_status); } >/dev/null && {
|
20087 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
20088 | |
test ! -s conftest.err
|
20089 | |
}; then
|
20090 | |
ac_header_preproc=yes
|
20091 | |
else
|
20092 | |
echo "$as_me: failed program was:" >&5
|
20093 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20094 | |
|
20095 | |
ac_header_preproc=no
|
20096 | |
fi
|
20097 | |
|
20098 | |
rm -f conftest.err conftest.$ac_ext
|
20099 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
20100 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
20101 | |
|
20102 | |
# So? What about this header?
|
20103 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
20104 | |
yes:no: )
|
20105 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
20106 | |
echo "$as_me: WARNING: smpeg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
20107 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: proceeding with the compiler's result" >&5
|
20108 | |
echo "$as_me: WARNING: smpeg.h: proceeding with the compiler's result" >&2;}
|
20109 | |
ac_header_preproc=yes
|
20110 | |
;;
|
20111 | |
no:yes:* )
|
20112 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: present but cannot be compiled" >&5
|
20113 | |
echo "$as_me: WARNING: smpeg.h: present but cannot be compiled" >&2;}
|
20114 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: check for missing prerequisite headers?" >&5
|
20115 | |
echo "$as_me: WARNING: smpeg.h: check for missing prerequisite headers?" >&2;}
|
20116 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: see the Autoconf documentation" >&5
|
20117 | |
echo "$as_me: WARNING: smpeg.h: see the Autoconf documentation" >&2;}
|
20118 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: section \"Present But Cannot Be Compiled\"" >&5
|
20119 | |
echo "$as_me: WARNING: smpeg.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
20120 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: proceeding with the preprocessor's result" >&5
|
20121 | |
echo "$as_me: WARNING: smpeg.h: proceeding with the preprocessor's result" >&2;}
|
20122 | |
{ echo "$as_me:$LINENO: WARNING: smpeg.h: in the future, the compiler will take precedence" >&5
|
20123 | |
echo "$as_me: WARNING: smpeg.h: in the future, the compiler will take precedence" >&2;}
|
20124 | |
|
20125 | |
;;
|
20126 | |
esac
|
20127 | |
{ echo "$as_me:$LINENO: checking for smpeg.h" >&5
|
20128 | |
echo $ECHO_N "checking for smpeg.h... $ECHO_C" >&6; }
|
20129 | |
if test "${ac_cv_header_smpeg_h+set}" = set; then
|
20130 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20131 | |
else
|
20132 | |
ac_cv_header_smpeg_h=$ac_header_preproc
|
20133 | |
fi
|
20134 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_smpeg_h" >&5
|
20135 | |
echo "${ECHO_T}$ac_cv_header_smpeg_h" >&6; }
|
20136 | |
|
20137 | |
fi
|
20138 | |
if test $ac_cv_header_smpeg_h = yes; then
|
|
19257 |
ac_fn_c_check_header_mongrel "$LINENO" "smpeg.h" "ac_cv_header_smpeg_h" "$ac_includes_default"
|
|
19258 |
if test "x$ac_cv_header_smpeg_h" = xyes; then :
|
20139 | 19259 |
have_smpeg_hdr=yes
|
20140 | 19260 |
fi
|
20141 | 19261 |
|
20142 | 19262 |
|
20143 | |
{ echo "$as_me:$LINENO: checking for SMPEG_new in -lsmpeg" >&5
|
20144 | |
echo $ECHO_N "checking for SMPEG_new in -lsmpeg... $ECHO_C" >&6; }
|
20145 | |
if test "${ac_cv_lib_smpeg_SMPEG_new+set}" = set; then
|
20146 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMPEG_new in -lsmpeg" >&5
|
|
19264 |
$as_echo_n "checking for SMPEG_new in -lsmpeg... " >&6; }
|
|
19265 |
if ${ac_cv_lib_smpeg_SMPEG_new+:} false; then :
|
|
19266 |
$as_echo_n "(cached) " >&6
|
20147 | 19267 |
else
|
20148 | 19268 |
ac_check_lib_save_LIBS=$LIBS
|
20149 | 19269 |
LIBS="-lsmpeg $LIBS"
|
20150 | |
cat >conftest.$ac_ext <<_ACEOF
|
20151 | |
/* confdefs.h. */
|
20152 | |
_ACEOF
|
20153 | |
cat confdefs.h >>conftest.$ac_ext
|
20154 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19270 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
20155 | 19271 |
/* end confdefs.h. */
|
20156 | 19272 |
|
20157 | 19273 |
/* Override any GCC internal prototype to avoid an error.
|
|
20169 | 19285 |
return 0;
|
20170 | 19286 |
}
|
20171 | 19287 |
_ACEOF
|
20172 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
20173 | |
if { (ac_try="$ac_link"
|
20174 | |
case "(($ac_try" in
|
20175 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20176 | |
*) ac_try_echo=$ac_try;;
|
20177 | |
esac
|
20178 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20179 | |
(eval "$ac_link") 2>conftest.er1
|
20180 | |
ac_status=$?
|
20181 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20182 | |
rm -f conftest.er1
|
20183 | |
cat conftest.err >&5
|
20184 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20185 | |
(exit $ac_status); } && {
|
20186 | |
test -z "$ac_c_werror_flag" ||
|
20187 | |
test ! -s conftest.err
|
20188 | |
} && test -s conftest$ac_exeext &&
|
20189 | |
$as_test_x conftest$ac_exeext; then
|
|
19288 |
if ac_fn_c_try_link "$LINENO"; then :
|
20190 | 19289 |
ac_cv_lib_smpeg_SMPEG_new=yes
|
20191 | 19290 |
else
|
20192 | |
echo "$as_me: failed program was:" >&5
|
20193 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20194 | |
|
20195 | |
ac_cv_lib_smpeg_SMPEG_new=no
|
20196 | |
fi
|
20197 | |
|
20198 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
20199 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19291 |
ac_cv_lib_smpeg_SMPEG_new=no
|
|
19292 |
fi
|
|
19293 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19294 |
conftest$ac_exeext conftest.$ac_ext
|
20200 | 19295 |
LIBS=$ac_check_lib_save_LIBS
|
20201 | 19296 |
fi
|
20202 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_smpeg_SMPEG_new" >&5
|
20203 | |
echo "${ECHO_T}$ac_cv_lib_smpeg_SMPEG_new" >&6; }
|
20204 | |
if test $ac_cv_lib_smpeg_SMPEG_new = yes; then
|
|
19297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_smpeg_SMPEG_new" >&5
|
|
19298 |
$as_echo "$ac_cv_lib_smpeg_SMPEG_new" >&6; }
|
|
19299 |
if test "x$ac_cv_lib_smpeg_SMPEG_new" = xyes; then :
|
20205 | 19300 |
have_smpeg_lib=yes
|
20206 | 19301 |
fi
|
20207 | 19302 |
|
20208 | 19303 |
if test x$have_smpeg_hdr = xyes -a x$have_smpeg_lib = xyes; then
|
20209 | 19304 |
LIBS="$LIBS -lsmpeg"
|
20210 | 19305 |
|
20211 | |
cat >>confdefs.h <<\_ACEOF
|
20212 | |
#define SOUND_SUPPORTS_SMPEG 1
|
20213 | |
_ACEOF
|
|
19306 |
$as_echo "#define SOUND_SUPPORTS_SMPEG 1" >>confdefs.h
|
20214 | 19307 |
|
20215 | 19308 |
fi
|
20216 | 19309 |
fi
|
20217 | 19310 |
|
20218 | 19311 |
# Check whether --enable-mpglib was given.
|
20219 | |
if test "${enable_mpglib+set}" = set; then
|
|
19312 |
if test "${enable_mpglib+set}" = set; then :
|
20220 | 19313 |
enableval=$enable_mpglib;
|
20221 | 19314 |
else
|
20222 | 19315 |
enable_mpglib=yes
|
|
20224 | 19317 |
|
20225 | 19318 |
if test x$enable_mpglib = xyes; then
|
20226 | 19319 |
|
20227 | |
cat >>confdefs.h <<\_ACEOF
|
20228 | |
#define SOUND_SUPPORTS_MPGLIB 1
|
20229 | |
_ACEOF
|
|
19320 |
$as_echo "#define SOUND_SUPPORTS_MPGLIB 1" >>confdefs.h
|
20230 | 19321 |
|
20231 | 19322 |
fi
|
20232 | 19323 |
|
20233 | 19324 |
|
20234 | 19325 |
# Check whether --enable-mikmod was given.
|
20235 | |
if test "${enable_mikmod+set}" = set; then
|
|
19326 |
if test "${enable_mikmod+set}" = set; then :
|
20236 | 19327 |
enableval=$enable_mikmod;
|
20237 | 19328 |
else
|
20238 | 19329 |
enable_mikmod=yes
|
20239 | 19330 |
fi
|
20240 | 19331 |
|
20241 | 19332 |
if test x$enable_mikmod = xyes; then
|
20242 | |
if test "${ac_cv_header_mikmod_h+set}" = set; then
|
20243 | |
{ echo "$as_me:$LINENO: checking for mikmod.h" >&5
|
20244 | |
echo $ECHO_N "checking for mikmod.h... $ECHO_C" >&6; }
|
20245 | |
if test "${ac_cv_header_mikmod_h+set}" = set; then
|
20246 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20247 | |
fi
|
20248 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_mikmod_h" >&5
|
20249 | |
echo "${ECHO_T}$ac_cv_header_mikmod_h" >&6; }
|
20250 | |
else
|
20251 | |
# Is the header compilable?
|
20252 | |
{ echo "$as_me:$LINENO: checking mikmod.h usability" >&5
|
20253 | |
echo $ECHO_N "checking mikmod.h usability... $ECHO_C" >&6; }
|
20254 | |
cat >conftest.$ac_ext <<_ACEOF
|
20255 | |
/* confdefs.h. */
|
20256 | |
_ACEOF
|
20257 | |
cat confdefs.h >>conftest.$ac_ext
|
20258 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20259 | |
/* end confdefs.h. */
|
20260 | |
$ac_includes_default
|
20261 | |
#include <mikmod.h>
|
20262 | |
_ACEOF
|
20263 | |
rm -f conftest.$ac_objext
|
20264 | |
if { (ac_try="$ac_compile"
|
20265 | |
case "(($ac_try" in
|
20266 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20267 | |
*) ac_try_echo=$ac_try;;
|
20268 | |
esac
|
20269 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20270 | |
(eval "$ac_compile") 2>conftest.er1
|
20271 | |
ac_status=$?
|
20272 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20273 | |
rm -f conftest.er1
|
20274 | |
cat conftest.err >&5
|
20275 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20276 | |
(exit $ac_status); } && {
|
20277 | |
test -z "$ac_c_werror_flag" ||
|
20278 | |
test ! -s conftest.err
|
20279 | |
} && test -s conftest.$ac_objext; then
|
20280 | |
ac_header_compiler=yes
|
20281 | |
else
|
20282 | |
echo "$as_me: failed program was:" >&5
|
20283 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20284 | |
|
20285 | |
ac_header_compiler=no
|
20286 | |
fi
|
20287 | |
|
20288 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
20289 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
20290 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
20291 | |
|
20292 | |
# Is the header present?
|
20293 | |
{ echo "$as_me:$LINENO: checking mikmod.h presence" >&5
|
20294 | |
echo $ECHO_N "checking mikmod.h presence... $ECHO_C" >&6; }
|
20295 | |
cat >conftest.$ac_ext <<_ACEOF
|
20296 | |
/* confdefs.h. */
|
20297 | |
_ACEOF
|
20298 | |
cat confdefs.h >>conftest.$ac_ext
|
20299 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20300 | |
/* end confdefs.h. */
|
20301 | |
#include <mikmod.h>
|
20302 | |
_ACEOF
|
20303 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
20304 | |
case "(($ac_try" in
|
20305 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20306 | |
*) ac_try_echo=$ac_try;;
|
20307 | |
esac
|
20308 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20309 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
20310 | |
ac_status=$?
|
20311 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20312 | |
rm -f conftest.er1
|
20313 | |
cat conftest.err >&5
|
20314 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20315 | |
(exit $ac_status); } >/dev/null && {
|
20316 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
20317 | |
test ! -s conftest.err
|
20318 | |
}; then
|
20319 | |
ac_header_preproc=yes
|
20320 | |
else
|
20321 | |
echo "$as_me: failed program was:" >&5
|
20322 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20323 | |
|
20324 | |
ac_header_preproc=no
|
20325 | |
fi
|
20326 | |
|
20327 | |
rm -f conftest.err conftest.$ac_ext
|
20328 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
20329 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
20330 | |
|
20331 | |
# So? What about this header?
|
20332 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
20333 | |
yes:no: )
|
20334 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
20335 | |
echo "$as_me: WARNING: mikmod.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
20336 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: proceeding with the compiler's result" >&5
|
20337 | |
echo "$as_me: WARNING: mikmod.h: proceeding with the compiler's result" >&2;}
|
20338 | |
ac_header_preproc=yes
|
20339 | |
;;
|
20340 | |
no:yes:* )
|
20341 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: present but cannot be compiled" >&5
|
20342 | |
echo "$as_me: WARNING: mikmod.h: present but cannot be compiled" >&2;}
|
20343 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: check for missing prerequisite headers?" >&5
|
20344 | |
echo "$as_me: WARNING: mikmod.h: check for missing prerequisite headers?" >&2;}
|
20345 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: see the Autoconf documentation" >&5
|
20346 | |
echo "$as_me: WARNING: mikmod.h: see the Autoconf documentation" >&2;}
|
20347 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: section \"Present But Cannot Be Compiled\"" >&5
|
20348 | |
echo "$as_me: WARNING: mikmod.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
20349 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: proceeding with the preprocessor's result" >&5
|
20350 | |
echo "$as_me: WARNING: mikmod.h: proceeding with the preprocessor's result" >&2;}
|
20351 | |
{ echo "$as_me:$LINENO: WARNING: mikmod.h: in the future, the compiler will take precedence" >&5
|
20352 | |
echo "$as_me: WARNING: mikmod.h: in the future, the compiler will take precedence" >&2;}
|
20353 | |
|
20354 | |
;;
|
20355 | |
esac
|
20356 | |
{ echo "$as_me:$LINENO: checking for mikmod.h" >&5
|
20357 | |
echo $ECHO_N "checking for mikmod.h... $ECHO_C" >&6; }
|
20358 | |
if test "${ac_cv_header_mikmod_h+set}" = set; then
|
20359 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20360 | |
else
|
20361 | |
ac_cv_header_mikmod_h=$ac_header_preproc
|
20362 | |
fi
|
20363 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_mikmod_h" >&5
|
20364 | |
echo "${ECHO_T}$ac_cv_header_mikmod_h" >&6; }
|
20365 | |
|
20366 | |
fi
|
20367 | |
if test $ac_cv_header_mikmod_h = yes; then
|
|
19333 |
ac_fn_c_check_header_mongrel "$LINENO" "mikmod.h" "ac_cv_header_mikmod_h" "$ac_includes_default"
|
|
19334 |
if test "x$ac_cv_header_mikmod_h" = xyes; then :
|
20368 | 19335 |
have_mikmod_hdr=yes
|
20369 | 19336 |
fi
|
20370 | 19337 |
|
20371 | 19338 |
|
20372 | |
{ echo "$as_me:$LINENO: checking for MikMod_RegisterDriver in -lmikmod" >&5
|
20373 | |
echo $ECHO_N "checking for MikMod_RegisterDriver in -lmikmod... $ECHO_C" >&6; }
|
20374 | |
if test "${ac_cv_lib_mikmod_MikMod_RegisterDriver+set}" = set; then
|
20375 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19339 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MikMod_RegisterDriver in -lmikmod" >&5
|
|
19340 |
$as_echo_n "checking for MikMod_RegisterDriver in -lmikmod... " >&6; }
|
|
19341 |
if ${ac_cv_lib_mikmod_MikMod_RegisterDriver+:} false; then :
|
|
19342 |
$as_echo_n "(cached) " >&6
|
20376 | 19343 |
else
|
20377 | 19344 |
ac_check_lib_save_LIBS=$LIBS
|
20378 | 19345 |
LIBS="-lmikmod $LIBS"
|
20379 | |
cat >conftest.$ac_ext <<_ACEOF
|
20380 | |
/* confdefs.h. */
|
20381 | |
_ACEOF
|
20382 | |
cat confdefs.h >>conftest.$ac_ext
|
20383 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19346 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
20384 | 19347 |
/* end confdefs.h. */
|
20385 | 19348 |
|
20386 | 19349 |
/* Override any GCC internal prototype to avoid an error.
|
|
20398 | 19361 |
return 0;
|
20399 | 19362 |
}
|
20400 | 19363 |
_ACEOF
|
20401 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
20402 | |
if { (ac_try="$ac_link"
|
20403 | |
case "(($ac_try" in
|
20404 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20405 | |
*) ac_try_echo=$ac_try;;
|
20406 | |
esac
|
20407 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20408 | |
(eval "$ac_link") 2>conftest.er1
|
20409 | |
ac_status=$?
|
20410 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20411 | |
rm -f conftest.er1
|
20412 | |
cat conftest.err >&5
|
20413 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20414 | |
(exit $ac_status); } && {
|
20415 | |
test -z "$ac_c_werror_flag" ||
|
20416 | |
test ! -s conftest.err
|
20417 | |
} && test -s conftest$ac_exeext &&
|
20418 | |
$as_test_x conftest$ac_exeext; then
|
|
19364 |
if ac_fn_c_try_link "$LINENO"; then :
|
20419 | 19365 |
ac_cv_lib_mikmod_MikMod_RegisterDriver=yes
|
20420 | 19366 |
else
|
20421 | |
echo "$as_me: failed program was:" >&5
|
20422 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20423 | |
|
20424 | |
ac_cv_lib_mikmod_MikMod_RegisterDriver=no
|
20425 | |
fi
|
20426 | |
|
20427 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
20428 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19367 |
ac_cv_lib_mikmod_MikMod_RegisterDriver=no
|
|
19368 |
fi
|
|
19369 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19370 |
conftest$ac_exeext conftest.$ac_ext
|
20429 | 19371 |
LIBS=$ac_check_lib_save_LIBS
|
20430 | 19372 |
fi
|
20431 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_mikmod_MikMod_RegisterDriver" >&5
|
20432 | |
echo "${ECHO_T}$ac_cv_lib_mikmod_MikMod_RegisterDriver" >&6; }
|
20433 | |
if test $ac_cv_lib_mikmod_MikMod_RegisterDriver = yes; then
|
|
19373 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mikmod_MikMod_RegisterDriver" >&5
|
|
19374 |
$as_echo "$ac_cv_lib_mikmod_MikMod_RegisterDriver" >&6; }
|
|
19375 |
if test "x$ac_cv_lib_mikmod_MikMod_RegisterDriver" = xyes; then :
|
20434 | 19376 |
have_mikmod_lib=yes
|
20435 | 19377 |
fi
|
20436 | 19378 |
|
20437 | 19379 |
if test x$have_mikmod_hdr = xyes -a x$have_mikmod_lib = xyes; then
|
20438 | 19380 |
LIBS="$LIBS -lmikmod"
|
20439 | 19381 |
|
20440 | |
cat >>confdefs.h <<\_ACEOF
|
20441 | |
#define SOUND_SUPPORTS_MIKMOD 1
|
20442 | |
_ACEOF
|
|
19382 |
$as_echo "#define SOUND_SUPPORTS_MIKMOD 1" >>confdefs.h
|
20443 | 19383 |
|
20444 | 19384 |
fi
|
20445 | 19385 |
fi
|
20446 | 19386 |
|
20447 | 19387 |
# Check whether --enable-modplug was given.
|
20448 | |
if test "${enable_modplug+set}" = set; then
|
|
19388 |
if test "${enable_modplug+set}" = set; then :
|
20449 | 19389 |
enableval=$enable_modplug;
|
20450 | 19390 |
else
|
20451 | 19391 |
enable_modplug=yes
|
|
20453 | 19393 |
|
20454 | 19394 |
if test x$enable_modplug = xyes; then
|
20455 | 19395 |
have_modplug_hdr=no
|
20456 | |
if test "${ac_cv_header_modplug_h+set}" = set; then
|
20457 | |
{ echo "$as_me:$LINENO: checking for modplug.h" >&5
|
20458 | |
echo $ECHO_N "checking for modplug.h... $ECHO_C" >&6; }
|
20459 | |
if test "${ac_cv_header_modplug_h+set}" = set; then
|
20460 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20461 | |
fi
|
20462 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_modplug_h" >&5
|
20463 | |
echo "${ECHO_T}$ac_cv_header_modplug_h" >&6; }
|
20464 | |
else
|
20465 | |
# Is the header compilable?
|
20466 | |
{ echo "$as_me:$LINENO: checking modplug.h usability" >&5
|
20467 | |
echo $ECHO_N "checking modplug.h usability... $ECHO_C" >&6; }
|
20468 | |
cat >conftest.$ac_ext <<_ACEOF
|
20469 | |
/* confdefs.h. */
|
20470 | |
_ACEOF
|
20471 | |
cat confdefs.h >>conftest.$ac_ext
|
20472 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20473 | |
/* end confdefs.h. */
|
20474 | |
$ac_includes_default
|
20475 | |
#include <modplug.h>
|
20476 | |
_ACEOF
|
20477 | |
rm -f conftest.$ac_objext
|
20478 | |
if { (ac_try="$ac_compile"
|
20479 | |
case "(($ac_try" in
|
20480 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20481 | |
*) ac_try_echo=$ac_try;;
|
20482 | |
esac
|
20483 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20484 | |
(eval "$ac_compile") 2>conftest.er1
|
20485 | |
ac_status=$?
|
20486 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20487 | |
rm -f conftest.er1
|
20488 | |
cat conftest.err >&5
|
20489 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20490 | |
(exit $ac_status); } && {
|
20491 | |
test -z "$ac_c_werror_flag" ||
|
20492 | |
test ! -s conftest.err
|
20493 | |
} && test -s conftest.$ac_objext; then
|
20494 | |
ac_header_compiler=yes
|
20495 | |
else
|
20496 | |
echo "$as_me: failed program was:" >&5
|
20497 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20498 | |
|
20499 | |
ac_header_compiler=no
|
20500 | |
fi
|
20501 | |
|
20502 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
20503 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
20504 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
20505 | |
|
20506 | |
# Is the header present?
|
20507 | |
{ echo "$as_me:$LINENO: checking modplug.h presence" >&5
|
20508 | |
echo $ECHO_N "checking modplug.h presence... $ECHO_C" >&6; }
|
20509 | |
cat >conftest.$ac_ext <<_ACEOF
|
20510 | |
/* confdefs.h. */
|
20511 | |
_ACEOF
|
20512 | |
cat confdefs.h >>conftest.$ac_ext
|
20513 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20514 | |
/* end confdefs.h. */
|
20515 | |
#include <modplug.h>
|
20516 | |
_ACEOF
|
20517 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
20518 | |
case "(($ac_try" in
|
20519 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20520 | |
*) ac_try_echo=$ac_try;;
|
20521 | |
esac
|
20522 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20523 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
20524 | |
ac_status=$?
|
20525 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20526 | |
rm -f conftest.er1
|
20527 | |
cat conftest.err >&5
|
20528 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20529 | |
(exit $ac_status); } >/dev/null && {
|
20530 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
20531 | |
test ! -s conftest.err
|
20532 | |
}; then
|
20533 | |
ac_header_preproc=yes
|
20534 | |
else
|
20535 | |
echo "$as_me: failed program was:" >&5
|
20536 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20537 | |
|
20538 | |
ac_header_preproc=no
|
20539 | |
fi
|
20540 | |
|
20541 | |
rm -f conftest.err conftest.$ac_ext
|
20542 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
20543 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
20544 | |
|
20545 | |
# So? What about this header?
|
20546 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
20547 | |
yes:no: )
|
20548 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
20549 | |
echo "$as_me: WARNING: modplug.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
20550 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: proceeding with the compiler's result" >&5
|
20551 | |
echo "$as_me: WARNING: modplug.h: proceeding with the compiler's result" >&2;}
|
20552 | |
ac_header_preproc=yes
|
20553 | |
;;
|
20554 | |
no:yes:* )
|
20555 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: present but cannot be compiled" >&5
|
20556 | |
echo "$as_me: WARNING: modplug.h: present but cannot be compiled" >&2;}
|
20557 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: check for missing prerequisite headers?" >&5
|
20558 | |
echo "$as_me: WARNING: modplug.h: check for missing prerequisite headers?" >&2;}
|
20559 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: see the Autoconf documentation" >&5
|
20560 | |
echo "$as_me: WARNING: modplug.h: see the Autoconf documentation" >&2;}
|
20561 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: section \"Present But Cannot Be Compiled\"" >&5
|
20562 | |
echo "$as_me: WARNING: modplug.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
20563 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: proceeding with the preprocessor's result" >&5
|
20564 | |
echo "$as_me: WARNING: modplug.h: proceeding with the preprocessor's result" >&2;}
|
20565 | |
{ echo "$as_me:$LINENO: WARNING: modplug.h: in the future, the compiler will take precedence" >&5
|
20566 | |
echo "$as_me: WARNING: modplug.h: in the future, the compiler will take precedence" >&2;}
|
20567 | |
|
20568 | |
;;
|
20569 | |
esac
|
20570 | |
{ echo "$as_me:$LINENO: checking for modplug.h" >&5
|
20571 | |
echo $ECHO_N "checking for modplug.h... $ECHO_C" >&6; }
|
20572 | |
if test "${ac_cv_header_modplug_h+set}" = set; then
|
20573 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20574 | |
else
|
20575 | |
ac_cv_header_modplug_h=$ac_header_preproc
|
20576 | |
fi
|
20577 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_modplug_h" >&5
|
20578 | |
echo "${ECHO_T}$ac_cv_header_modplug_h" >&6; }
|
20579 | |
|
20580 | |
fi
|
20581 | |
if test $ac_cv_header_modplug_h = yes; then
|
|
19396 |
ac_fn_c_check_header_mongrel "$LINENO" "modplug.h" "ac_cv_header_modplug_h" "$ac_includes_default"
|
|
19397 |
if test "x$ac_cv_header_modplug_h" = xyes; then :
|
20582 | 19398 |
have_modplug_hdr=yes
|
20583 | 19399 |
fi
|
20584 | 19400 |
|
20585 | 19401 |
|
20586 | 19402 |
if test x$have_modplug_hdr = xno; then
|
20587 | |
if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
|
20588 | |
{ echo "$as_me:$LINENO: checking for libmodplug/modplug.h" >&5
|
20589 | |
echo $ECHO_N "checking for libmodplug/modplug.h... $ECHO_C" >&6; }
|
20590 | |
if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
|
20591 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20592 | |
fi
|
20593 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_libmodplug_modplug_h" >&5
|
20594 | |
echo "${ECHO_T}$ac_cv_header_libmodplug_modplug_h" >&6; }
|
20595 | |
else
|
20596 | |
# Is the header compilable?
|
20597 | |
{ echo "$as_me:$LINENO: checking libmodplug/modplug.h usability" >&5
|
20598 | |
echo $ECHO_N "checking libmodplug/modplug.h usability... $ECHO_C" >&6; }
|
20599 | |
cat >conftest.$ac_ext <<_ACEOF
|
20600 | |
/* confdefs.h. */
|
20601 | |
_ACEOF
|
20602 | |
cat confdefs.h >>conftest.$ac_ext
|
20603 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20604 | |
/* end confdefs.h. */
|
20605 | |
$ac_includes_default
|
20606 | |
#include <libmodplug/modplug.h>
|
20607 | |
_ACEOF
|
20608 | |
rm -f conftest.$ac_objext
|
20609 | |
if { (ac_try="$ac_compile"
|
20610 | |
case "(($ac_try" in
|
20611 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20612 | |
*) ac_try_echo=$ac_try;;
|
20613 | |
esac
|
20614 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20615 | |
(eval "$ac_compile") 2>conftest.er1
|
20616 | |
ac_status=$?
|
20617 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20618 | |
rm -f conftest.er1
|
20619 | |
cat conftest.err >&5
|
20620 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20621 | |
(exit $ac_status); } && {
|
20622 | |
test -z "$ac_c_werror_flag" ||
|
20623 | |
test ! -s conftest.err
|
20624 | |
} && test -s conftest.$ac_objext; then
|
20625 | |
ac_header_compiler=yes
|
20626 | |
else
|
20627 | |
echo "$as_me: failed program was:" >&5
|
20628 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20629 | |
|
20630 | |
ac_header_compiler=no
|
20631 | |
fi
|
20632 | |
|
20633 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
20634 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
20635 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
20636 | |
|
20637 | |
# Is the header present?
|
20638 | |
{ echo "$as_me:$LINENO: checking libmodplug/modplug.h presence" >&5
|
20639 | |
echo $ECHO_N "checking libmodplug/modplug.h presence... $ECHO_C" >&6; }
|
20640 | |
cat >conftest.$ac_ext <<_ACEOF
|
20641 | |
/* confdefs.h. */
|
20642 | |
_ACEOF
|
20643 | |
cat confdefs.h >>conftest.$ac_ext
|
20644 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20645 | |
/* end confdefs.h. */
|
20646 | |
#include <libmodplug/modplug.h>
|
20647 | |
_ACEOF
|
20648 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
20649 | |
case "(($ac_try" in
|
20650 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20651 | |
*) ac_try_echo=$ac_try;;
|
20652 | |
esac
|
20653 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20654 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
20655 | |
ac_status=$?
|
20656 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20657 | |
rm -f conftest.er1
|
20658 | |
cat conftest.err >&5
|
20659 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20660 | |
(exit $ac_status); } >/dev/null && {
|
20661 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
20662 | |
test ! -s conftest.err
|
20663 | |
}; then
|
20664 | |
ac_header_preproc=yes
|
20665 | |
else
|
20666 | |
echo "$as_me: failed program was:" >&5
|
20667 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20668 | |
|
20669 | |
ac_header_preproc=no
|
20670 | |
fi
|
20671 | |
|
20672 | |
rm -f conftest.err conftest.$ac_ext
|
20673 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
20674 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
20675 | |
|
20676 | |
# So? What about this header?
|
20677 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
20678 | |
yes:no: )
|
20679 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
20680 | |
echo "$as_me: WARNING: libmodplug/modplug.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
20681 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: proceeding with the compiler's result" >&5
|
20682 | |
echo "$as_me: WARNING: libmodplug/modplug.h: proceeding with the compiler's result" >&2;}
|
20683 | |
ac_header_preproc=yes
|
20684 | |
;;
|
20685 | |
no:yes:* )
|
20686 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: present but cannot be compiled" >&5
|
20687 | |
echo "$as_me: WARNING: libmodplug/modplug.h: present but cannot be compiled" >&2;}
|
20688 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: check for missing prerequisite headers?" >&5
|
20689 | |
echo "$as_me: WARNING: libmodplug/modplug.h: check for missing prerequisite headers?" >&2;}
|
20690 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: see the Autoconf documentation" >&5
|
20691 | |
echo "$as_me: WARNING: libmodplug/modplug.h: see the Autoconf documentation" >&2;}
|
20692 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: section \"Present But Cannot Be Compiled\"" >&5
|
20693 | |
echo "$as_me: WARNING: libmodplug/modplug.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
20694 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: proceeding with the preprocessor's result" >&5
|
20695 | |
echo "$as_me: WARNING: libmodplug/modplug.h: proceeding with the preprocessor's result" >&2;}
|
20696 | |
{ echo "$as_me:$LINENO: WARNING: libmodplug/modplug.h: in the future, the compiler will take precedence" >&5
|
20697 | |
echo "$as_me: WARNING: libmodplug/modplug.h: in the future, the compiler will take precedence" >&2;}
|
20698 | |
|
20699 | |
;;
|
20700 | |
esac
|
20701 | |
{ echo "$as_me:$LINENO: checking for libmodplug/modplug.h" >&5
|
20702 | |
echo $ECHO_N "checking for libmodplug/modplug.h... $ECHO_C" >&6; }
|
20703 | |
if test "${ac_cv_header_libmodplug_modplug_h+set}" = set; then
|
20704 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20705 | |
else
|
20706 | |
ac_cv_header_libmodplug_modplug_h=$ac_header_preproc
|
20707 | |
fi
|
20708 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_libmodplug_modplug_h" >&5
|
20709 | |
echo "${ECHO_T}$ac_cv_header_libmodplug_modplug_h" >&6; }
|
20710 | |
|
20711 | |
fi
|
20712 | |
if test $ac_cv_header_libmodplug_modplug_h = yes; then
|
|
19403 |
ac_fn_c_check_header_mongrel "$LINENO" "libmodplug/modplug.h" "ac_cv_header_libmodplug_modplug_h" "$ac_includes_default"
|
|
19404 |
if test "x$ac_cv_header_libmodplug_modplug_h" = xyes; then :
|
20713 | 19405 |
have_modplug_hdr=yes
|
20714 | 19406 |
fi
|
20715 | 19407 |
|
|
20717 | 19409 |
if test x$have_modplug_hdr = xyes; then
|
20718 | 19410 |
have_modplug_hdr=yes
|
20719 | 19411 |
|
20720 | |
cat >>confdefs.h <<\_ACEOF
|
20721 | |
#define SOUND_MODPLUG_IN_OWN_PATH 1
|
20722 | |
_ACEOF
|
|
19412 |
$as_echo "#define SOUND_MODPLUG_IN_OWN_PATH 1" >>confdefs.h
|
20723 | 19413 |
|
20724 | 19414 |
fi
|
20725 | 19415 |
fi
|
20726 | 19416 |
|
20727 | |
{ echo "$as_me:$LINENO: checking for ModPlug_Load in -lmodplug" >&5
|
20728 | |
echo $ECHO_N "checking for ModPlug_Load in -lmodplug... $ECHO_C" >&6; }
|
20729 | |
if test "${ac_cv_lib_modplug_ModPlug_Load+set}" = set; then
|
20730 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19417 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ModPlug_Load in -lmodplug" >&5
|
|
19418 |
$as_echo_n "checking for ModPlug_Load in -lmodplug... " >&6; }
|
|
19419 |
if ${ac_cv_lib_modplug_ModPlug_Load+:} false; then :
|
|
19420 |
$as_echo_n "(cached) " >&6
|
20731 | 19421 |
else
|
20732 | 19422 |
ac_check_lib_save_LIBS=$LIBS
|
20733 | 19423 |
LIBS="-lmodplug $LIBS"
|
20734 | |
cat >conftest.$ac_ext <<_ACEOF
|
20735 | |
/* confdefs.h. */
|
20736 | |
_ACEOF
|
20737 | |
cat confdefs.h >>conftest.$ac_ext
|
20738 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19424 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
20739 | 19425 |
/* end confdefs.h. */
|
20740 | 19426 |
|
20741 | 19427 |
/* Override any GCC internal prototype to avoid an error.
|
|
20753 | 19439 |
return 0;
|
20754 | 19440 |
}
|
20755 | 19441 |
_ACEOF
|
20756 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
20757 | |
if { (ac_try="$ac_link"
|
20758 | |
case "(($ac_try" in
|
20759 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20760 | |
*) ac_try_echo=$ac_try;;
|
20761 | |
esac
|
20762 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20763 | |
(eval "$ac_link") 2>conftest.er1
|
20764 | |
ac_status=$?
|
20765 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20766 | |
rm -f conftest.er1
|
20767 | |
cat conftest.err >&5
|
20768 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20769 | |
(exit $ac_status); } && {
|
20770 | |
test -z "$ac_c_werror_flag" ||
|
20771 | |
test ! -s conftest.err
|
20772 | |
} && test -s conftest$ac_exeext &&
|
20773 | |
$as_test_x conftest$ac_exeext; then
|
|
19442 |
if ac_fn_c_try_link "$LINENO"; then :
|
20774 | 19443 |
ac_cv_lib_modplug_ModPlug_Load=yes
|
20775 | 19444 |
else
|
20776 | |
echo "$as_me: failed program was:" >&5
|
20777 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20778 | |
|
20779 | |
ac_cv_lib_modplug_ModPlug_Load=no
|
20780 | |
fi
|
20781 | |
|
20782 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
20783 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19445 |
ac_cv_lib_modplug_ModPlug_Load=no
|
|
19446 |
fi
|
|
19447 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19448 |
conftest$ac_exeext conftest.$ac_ext
|
20784 | 19449 |
LIBS=$ac_check_lib_save_LIBS
|
20785 | 19450 |
fi
|
20786 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_modplug_ModPlug_Load" >&5
|
20787 | |
echo "${ECHO_T}$ac_cv_lib_modplug_ModPlug_Load" >&6; }
|
20788 | |
if test $ac_cv_lib_modplug_ModPlug_Load = yes; then
|
|
19451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_modplug_ModPlug_Load" >&5
|
|
19452 |
$as_echo "$ac_cv_lib_modplug_ModPlug_Load" >&6; }
|
|
19453 |
if test "x$ac_cv_lib_modplug_ModPlug_Load" = xyes; then :
|
20789 | 19454 |
have_modplug_lib=yes
|
20790 | 19455 |
fi
|
20791 | 19456 |
|
20792 | 19457 |
if test x$have_modplug_hdr = xyes -a x$have_modplug_lib = xyes; then
|
20793 | 19458 |
LIBS="$LIBS -lmodplug"
|
20794 | 19459 |
|
20795 | |
cat >>confdefs.h <<\_ACEOF
|
20796 | |
#define SOUND_SUPPORTS_MODPLUG 1
|
20797 | |
_ACEOF
|
|
19460 |
$as_echo "#define SOUND_SUPPORTS_MODPLUG 1" >>confdefs.h
|
20798 | 19461 |
|
20799 | 19462 |
fi
|
20800 | 19463 |
fi
|
20801 | 19464 |
|
20802 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
20803 | |
{ echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
|
20804 | |
echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
|
20805 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
20806 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20807 | |
fi
|
20808 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
|
20809 | |
echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
|
20810 | |
else
|
20811 | |
# Is the header compilable?
|
20812 | |
{ echo "$as_me:$LINENO: checking ogg/ogg.h usability" >&5
|
20813 | |
echo $ECHO_N "checking ogg/ogg.h usability... $ECHO_C" >&6; }
|
20814 | |
cat >conftest.$ac_ext <<_ACEOF
|
20815 | |
/* confdefs.h. */
|
20816 | |
_ACEOF
|
20817 | |
cat confdefs.h >>conftest.$ac_ext
|
20818 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20819 | |
/* end confdefs.h. */
|
20820 | |
$ac_includes_default
|
20821 | |
#include <ogg/ogg.h>
|
20822 | |
_ACEOF
|
20823 | |
rm -f conftest.$ac_objext
|
20824 | |
if { (ac_try="$ac_compile"
|
20825 | |
case "(($ac_try" in
|
20826 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20827 | |
*) ac_try_echo=$ac_try;;
|
20828 | |
esac
|
20829 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20830 | |
(eval "$ac_compile") 2>conftest.er1
|
20831 | |
ac_status=$?
|
20832 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20833 | |
rm -f conftest.er1
|
20834 | |
cat conftest.err >&5
|
20835 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20836 | |
(exit $ac_status); } && {
|
20837 | |
test -z "$ac_c_werror_flag" ||
|
20838 | |
test ! -s conftest.err
|
20839 | |
} && test -s conftest.$ac_objext; then
|
20840 | |
ac_header_compiler=yes
|
20841 | |
else
|
20842 | |
echo "$as_me: failed program was:" >&5
|
20843 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20844 | |
|
20845 | |
ac_header_compiler=no
|
20846 | |
fi
|
20847 | |
|
20848 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
20849 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
20850 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
20851 | |
|
20852 | |
# Is the header present?
|
20853 | |
{ echo "$as_me:$LINENO: checking ogg/ogg.h presence" >&5
|
20854 | |
echo $ECHO_N "checking ogg/ogg.h presence... $ECHO_C" >&6; }
|
20855 | |
cat >conftest.$ac_ext <<_ACEOF
|
20856 | |
/* confdefs.h. */
|
20857 | |
_ACEOF
|
20858 | |
cat confdefs.h >>conftest.$ac_ext
|
20859 | |
cat >>conftest.$ac_ext <<_ACEOF
|
20860 | |
/* end confdefs.h. */
|
20861 | |
#include <ogg/ogg.h>
|
20862 | |
_ACEOF
|
20863 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
20864 | |
case "(($ac_try" in
|
20865 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20866 | |
*) ac_try_echo=$ac_try;;
|
20867 | |
esac
|
20868 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20869 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
20870 | |
ac_status=$?
|
20871 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20872 | |
rm -f conftest.er1
|
20873 | |
cat conftest.err >&5
|
20874 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20875 | |
(exit $ac_status); } >/dev/null && {
|
20876 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
20877 | |
test ! -s conftest.err
|
20878 | |
}; then
|
20879 | |
ac_header_preproc=yes
|
20880 | |
else
|
20881 | |
echo "$as_me: failed program was:" >&5
|
20882 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20883 | |
|
20884 | |
ac_header_preproc=no
|
20885 | |
fi
|
20886 | |
|
20887 | |
rm -f conftest.err conftest.$ac_ext
|
20888 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
20889 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
20890 | |
|
20891 | |
# So? What about this header?
|
20892 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
20893 | |
yes:no: )
|
20894 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
20895 | |
echo "$as_me: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
20896 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&5
|
20897 | |
echo "$as_me: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&2;}
|
20898 | |
ac_header_preproc=yes
|
20899 | |
;;
|
20900 | |
no:yes:* )
|
20901 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: present but cannot be compiled" >&5
|
20902 | |
echo "$as_me: WARNING: ogg/ogg.h: present but cannot be compiled" >&2;}
|
20903 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&5
|
20904 | |
echo "$as_me: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&2;}
|
20905 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: see the Autoconf documentation" >&5
|
20906 | |
echo "$as_me: WARNING: ogg/ogg.h: see the Autoconf documentation" >&2;}
|
20907 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&5
|
20908 | |
echo "$as_me: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
20909 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&5
|
20910 | |
echo "$as_me: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&2;}
|
20911 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&5
|
20912 | |
echo "$as_me: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&2;}
|
20913 | |
|
20914 | |
;;
|
20915 | |
esac
|
20916 | |
{ echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
|
20917 | |
echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
|
20918 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
20919 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
20920 | |
else
|
20921 | |
ac_cv_header_ogg_ogg_h=$ac_header_preproc
|
20922 | |
fi
|
20923 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
|
20924 | |
echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
|
20925 | |
|
20926 | |
fi
|
20927 | |
if test $ac_cv_header_ogg_ogg_h = yes; then
|
|
19465 |
ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
|
|
19466 |
if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
|
20928 | 19467 |
have_ogg_hdr=yes
|
20929 | 19468 |
fi
|
20930 | 19469 |
|
20931 | 19470 |
|
20932 | |
{ echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
|
20933 | |
echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
|
20934 | |
if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
|
20935 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19471 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_sync_init in -logg" >&5
|
|
19472 |
$as_echo_n "checking for ogg_sync_init in -logg... " >&6; }
|
|
19473 |
if ${ac_cv_lib_ogg_ogg_sync_init+:} false; then :
|
|
19474 |
$as_echo_n "(cached) " >&6
|
20936 | 19475 |
else
|
20937 | 19476 |
ac_check_lib_save_LIBS=$LIBS
|
20938 | 19477 |
LIBS="-logg $LIBS"
|
20939 | |
cat >conftest.$ac_ext <<_ACEOF
|
20940 | |
/* confdefs.h. */
|
20941 | |
_ACEOF
|
20942 | |
cat confdefs.h >>conftest.$ac_ext
|
20943 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19478 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
20944 | 19479 |
/* end confdefs.h. */
|
20945 | 19480 |
|
20946 | 19481 |
/* Override any GCC internal prototype to avoid an error.
|
|
20958 | 19493 |
return 0;
|
20959 | 19494 |
}
|
20960 | 19495 |
_ACEOF
|
20961 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
20962 | |
if { (ac_try="$ac_link"
|
20963 | |
case "(($ac_try" in
|
20964 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
20965 | |
*) ac_try_echo=$ac_try;;
|
20966 | |
esac
|
20967 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
20968 | |
(eval "$ac_link") 2>conftest.er1
|
20969 | |
ac_status=$?
|
20970 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
20971 | |
rm -f conftest.er1
|
20972 | |
cat conftest.err >&5
|
20973 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
20974 | |
(exit $ac_status); } && {
|
20975 | |
test -z "$ac_c_werror_flag" ||
|
20976 | |
test ! -s conftest.err
|
20977 | |
} && test -s conftest$ac_exeext &&
|
20978 | |
$as_test_x conftest$ac_exeext; then
|
|
19496 |
if ac_fn_c_try_link "$LINENO"; then :
|
20979 | 19497 |
ac_cv_lib_ogg_ogg_sync_init=yes
|
20980 | 19498 |
else
|
20981 | |
echo "$as_me: failed program was:" >&5
|
20982 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
20983 | |
|
20984 | |
ac_cv_lib_ogg_ogg_sync_init=no
|
20985 | |
fi
|
20986 | |
|
20987 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
20988 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19499 |
ac_cv_lib_ogg_ogg_sync_init=no
|
|
19500 |
fi
|
|
19501 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19502 |
conftest$ac_exeext conftest.$ac_ext
|
20989 | 19503 |
LIBS=$ac_check_lib_save_LIBS
|
20990 | 19504 |
fi
|
20991 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
|
20992 | |
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
|
20993 | |
if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
|
|
19505 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
|
|
19506 |
$as_echo "$ac_cv_lib_ogg_ogg_sync_init" >&6; }
|
|
19507 |
if test "x$ac_cv_lib_ogg_ogg_sync_init" = xyes; then :
|
20994 | 19508 |
have_ogg_lib=yes
|
20995 | 19509 |
fi
|
20996 | 19510 |
|
|
21000 | 19514 |
fi
|
21001 | 19515 |
|
21002 | 19516 |
# Check whether --enable-ogg was given.
|
21003 | |
if test "${enable_ogg+set}" = set; then
|
|
19517 |
if test "${enable_ogg+set}" = set; then :
|
21004 | 19518 |
enableval=$enable_ogg;
|
21005 | 19519 |
else
|
21006 | 19520 |
enable_ogg=yes
|
21007 | 19521 |
fi
|
21008 | 19522 |
|
21009 | 19523 |
if test x$enable_ogg = xyes; then
|
21010 | |
if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
|
21011 | |
{ echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
|
21012 | |
echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
|
21013 | |
if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
|
21014 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21015 | |
fi
|
21016 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
|
21017 | |
echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
|
21018 | |
else
|
21019 | |
# Is the header compilable?
|
21020 | |
{ echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
|
21021 | |
echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
|
21022 | |
cat >conftest.$ac_ext <<_ACEOF
|
21023 | |
/* confdefs.h. */
|
21024 | |
_ACEOF
|
21025 | |
cat confdefs.h >>conftest.$ac_ext
|
21026 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21027 | |
/* end confdefs.h. */
|
21028 | |
$ac_includes_default
|
21029 | |
#include <vorbis/codec.h>
|
21030 | |
_ACEOF
|
21031 | |
rm -f conftest.$ac_objext
|
21032 | |
if { (ac_try="$ac_compile"
|
21033 | |
case "(($ac_try" in
|
21034 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21035 | |
*) ac_try_echo=$ac_try;;
|
21036 | |
esac
|
21037 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21038 | |
(eval "$ac_compile") 2>conftest.er1
|
21039 | |
ac_status=$?
|
21040 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21041 | |
rm -f conftest.er1
|
21042 | |
cat conftest.err >&5
|
21043 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21044 | |
(exit $ac_status); } && {
|
21045 | |
test -z "$ac_c_werror_flag" ||
|
21046 | |
test ! -s conftest.err
|
21047 | |
} && test -s conftest.$ac_objext; then
|
21048 | |
ac_header_compiler=yes
|
21049 | |
else
|
21050 | |
echo "$as_me: failed program was:" >&5
|
21051 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21052 | |
|
21053 | |
ac_header_compiler=no
|
21054 | |
fi
|
21055 | |
|
21056 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
21057 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
21058 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
21059 | |
|
21060 | |
# Is the header present?
|
21061 | |
{ echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
|
21062 | |
echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
|
21063 | |
cat >conftest.$ac_ext <<_ACEOF
|
21064 | |
/* confdefs.h. */
|
21065 | |
_ACEOF
|
21066 | |
cat confdefs.h >>conftest.$ac_ext
|
21067 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21068 | |
/* end confdefs.h. */
|
21069 | |
#include <vorbis/codec.h>
|
21070 | |
_ACEOF
|
21071 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
21072 | |
case "(($ac_try" in
|
21073 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21074 | |
*) ac_try_echo=$ac_try;;
|
21075 | |
esac
|
21076 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21077 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
21078 | |
ac_status=$?
|
21079 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21080 | |
rm -f conftest.er1
|
21081 | |
cat conftest.err >&5
|
21082 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21083 | |
(exit $ac_status); } >/dev/null && {
|
21084 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
21085 | |
test ! -s conftest.err
|
21086 | |
}; then
|
21087 | |
ac_header_preproc=yes
|
21088 | |
else
|
21089 | |
echo "$as_me: failed program was:" >&5
|
21090 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21091 | |
|
21092 | |
ac_header_preproc=no
|
21093 | |
fi
|
21094 | |
|
21095 | |
rm -f conftest.err conftest.$ac_ext
|
21096 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
21097 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
21098 | |
|
21099 | |
# So? What about this header?
|
21100 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
21101 | |
yes:no: )
|
21102 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
21103 | |
echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
21104 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
|
21105 | |
echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
|
21106 | |
ac_header_preproc=yes
|
21107 | |
;;
|
21108 | |
no:yes:* )
|
21109 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
|
21110 | |
echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
|
21111 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
|
21112 | |
echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
|
21113 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
|
21114 | |
echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
|
21115 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
|
21116 | |
echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
21117 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
|
21118 | |
echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
|
21119 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
|
21120 | |
echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
|
21121 | |
|
21122 | |
;;
|
21123 | |
esac
|
21124 | |
{ echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
|
21125 | |
echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
|
21126 | |
if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
|
21127 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21128 | |
else
|
21129 | |
ac_cv_header_vorbis_codec_h=$ac_header_preproc
|
21130 | |
fi
|
21131 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
|
21132 | |
echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
|
21133 | |
|
21134 | |
fi
|
21135 | |
if test $ac_cv_header_vorbis_codec_h = yes; then
|
|
19524 |
ac_fn_c_check_header_mongrel "$LINENO" "vorbis/codec.h" "ac_cv_header_vorbis_codec_h" "$ac_includes_default"
|
|
19525 |
if test "x$ac_cv_header_vorbis_codec_h" = xyes; then :
|
21136 | 19526 |
have_vorbis_hdr=yes
|
21137 | 19527 |
fi
|
21138 | 19528 |
|
21139 | 19529 |
|
21140 | |
{ echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
|
21141 | |
echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
|
21142 | |
if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
|
21143 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_info_init in -lvorbis" >&5
|
|
19531 |
$as_echo_n "checking for vorbis_info_init in -lvorbis... " >&6; }
|
|
19532 |
if ${ac_cv_lib_vorbis_vorbis_info_init+:} false; then :
|
|
19533 |
$as_echo_n "(cached) " >&6
|
21144 | 19534 |
else
|
21145 | 19535 |
ac_check_lib_save_LIBS=$LIBS
|
21146 | 19536 |
LIBS="-lvorbis $LIBS"
|
21147 | |
cat >conftest.$ac_ext <<_ACEOF
|
21148 | |
/* confdefs.h. */
|
21149 | |
_ACEOF
|
21150 | |
cat confdefs.h >>conftest.$ac_ext
|
21151 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19537 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
21152 | 19538 |
/* end confdefs.h. */
|
21153 | 19539 |
|
21154 | 19540 |
/* Override any GCC internal prototype to avoid an error.
|
|
21166 | 19552 |
return 0;
|
21167 | 19553 |
}
|
21168 | 19554 |
_ACEOF
|
21169 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
21170 | |
if { (ac_try="$ac_link"
|
21171 | |
case "(($ac_try" in
|
21172 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21173 | |
*) ac_try_echo=$ac_try;;
|
21174 | |
esac
|
21175 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21176 | |
(eval "$ac_link") 2>conftest.er1
|
21177 | |
ac_status=$?
|
21178 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21179 | |
rm -f conftest.er1
|
21180 | |
cat conftest.err >&5
|
21181 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21182 | |
(exit $ac_status); } && {
|
21183 | |
test -z "$ac_c_werror_flag" ||
|
21184 | |
test ! -s conftest.err
|
21185 | |
} && test -s conftest$ac_exeext &&
|
21186 | |
$as_test_x conftest$ac_exeext; then
|
|
19555 |
if ac_fn_c_try_link "$LINENO"; then :
|
21187 | 19556 |
ac_cv_lib_vorbis_vorbis_info_init=yes
|
21188 | 19557 |
else
|
21189 | |
echo "$as_me: failed program was:" >&5
|
21190 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21191 | |
|
21192 | |
ac_cv_lib_vorbis_vorbis_info_init=no
|
21193 | |
fi
|
21194 | |
|
21195 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
21196 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19558 |
ac_cv_lib_vorbis_vorbis_info_init=no
|
|
19559 |
fi
|
|
19560 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19561 |
conftest$ac_exeext conftest.$ac_ext
|
21197 | 19562 |
LIBS=$ac_check_lib_save_LIBS
|
21198 | 19563 |
fi
|
21199 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
|
21200 | |
echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
|
21201 | |
if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
|
|
19564 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
|
|
19565 |
$as_echo "$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
|
|
19566 |
if test "x$ac_cv_lib_vorbis_vorbis_info_init" = xyes; then :
|
21202 | 19567 |
have_vorbis_lib=yes
|
21203 | 19568 |
fi
|
21204 | 19569 |
|
21205 | |
if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
|
21206 | |
{ echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5
|
21207 | |
echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; }
|
21208 | |
if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
|
21209 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21210 | |
fi
|
21211 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5
|
21212 | |
echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; }
|
21213 | |
else
|
21214 | |
# Is the header compilable?
|
21215 | |
{ echo "$as_me:$LINENO: checking vorbis/vorbisfile.h usability" >&5
|
21216 | |
echo $ECHO_N "checking vorbis/vorbisfile.h usability... $ECHO_C" >&6; }
|
21217 | |
cat >conftest.$ac_ext <<_ACEOF
|
21218 | |
/* confdefs.h. */
|
21219 | |
_ACEOF
|
21220 | |
cat confdefs.h >>conftest.$ac_ext
|
21221 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21222 | |
/* end confdefs.h. */
|
21223 | |
$ac_includes_default
|
21224 | |
#include <vorbis/vorbisfile.h>
|
21225 | |
_ACEOF
|
21226 | |
rm -f conftest.$ac_objext
|
21227 | |
if { (ac_try="$ac_compile"
|
21228 | |
case "(($ac_try" in
|
21229 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21230 | |
*) ac_try_echo=$ac_try;;
|
21231 | |
esac
|
21232 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21233 | |
(eval "$ac_compile") 2>conftest.er1
|
21234 | |
ac_status=$?
|
21235 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21236 | |
rm -f conftest.er1
|
21237 | |
cat conftest.err >&5
|
21238 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21239 | |
(exit $ac_status); } && {
|
21240 | |
test -z "$ac_c_werror_flag" ||
|
21241 | |
test ! -s conftest.err
|
21242 | |
} && test -s conftest.$ac_objext; then
|
21243 | |
ac_header_compiler=yes
|
21244 | |
else
|
21245 | |
echo "$as_me: failed program was:" >&5
|
21246 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21247 | |
|
21248 | |
ac_header_compiler=no
|
21249 | |
fi
|
21250 | |
|
21251 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
21252 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
21253 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
21254 | |
|
21255 | |
# Is the header present?
|
21256 | |
{ echo "$as_me:$LINENO: checking vorbis/vorbisfile.h presence" >&5
|
21257 | |
echo $ECHO_N "checking vorbis/vorbisfile.h presence... $ECHO_C" >&6; }
|
21258 | |
cat >conftest.$ac_ext <<_ACEOF
|
21259 | |
/* confdefs.h. */
|
21260 | |
_ACEOF
|
21261 | |
cat confdefs.h >>conftest.$ac_ext
|
21262 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21263 | |
/* end confdefs.h. */
|
21264 | |
#include <vorbis/vorbisfile.h>
|
21265 | |
_ACEOF
|
21266 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
21267 | |
case "(($ac_try" in
|
21268 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21269 | |
*) ac_try_echo=$ac_try;;
|
21270 | |
esac
|
21271 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21272 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
21273 | |
ac_status=$?
|
21274 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21275 | |
rm -f conftest.er1
|
21276 | |
cat conftest.err >&5
|
21277 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21278 | |
(exit $ac_status); } >/dev/null && {
|
21279 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
21280 | |
test ! -s conftest.err
|
21281 | |
}; then
|
21282 | |
ac_header_preproc=yes
|
21283 | |
else
|
21284 | |
echo "$as_me: failed program was:" >&5
|
21285 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21286 | |
|
21287 | |
ac_header_preproc=no
|
21288 | |
fi
|
21289 | |
|
21290 | |
rm -f conftest.err conftest.$ac_ext
|
21291 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
21292 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
21293 | |
|
21294 | |
# So? What about this header?
|
21295 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
21296 | |
yes:no: )
|
21297 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
21298 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
21299 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&5
|
21300 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the compiler's result" >&2;}
|
21301 | |
ac_header_preproc=yes
|
21302 | |
;;
|
21303 | |
no:yes:* )
|
21304 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&5
|
21305 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: present but cannot be compiled" >&2;}
|
21306 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&5
|
21307 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: check for missing prerequisite headers?" >&2;}
|
21308 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&5
|
21309 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: see the Autoconf documentation" >&2;}
|
21310 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&5
|
21311 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
21312 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&5
|
21313 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: proceeding with the preprocessor's result" >&2;}
|
21314 | |
{ echo "$as_me:$LINENO: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&5
|
21315 | |
echo "$as_me: WARNING: vorbis/vorbisfile.h: in the future, the compiler will take precedence" >&2;}
|
21316 | |
|
21317 | |
;;
|
21318 | |
esac
|
21319 | |
{ echo "$as_me:$LINENO: checking for vorbis/vorbisfile.h" >&5
|
21320 | |
echo $ECHO_N "checking for vorbis/vorbisfile.h... $ECHO_C" >&6; }
|
21321 | |
if test "${ac_cv_header_vorbis_vorbisfile_h+set}" = set; then
|
21322 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21323 | |
else
|
21324 | |
ac_cv_header_vorbis_vorbisfile_h=$ac_header_preproc
|
21325 | |
fi
|
21326 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_vorbisfile_h" >&5
|
21327 | |
echo "${ECHO_T}$ac_cv_header_vorbis_vorbisfile_h" >&6; }
|
21328 | |
|
21329 | |
fi
|
21330 | |
if test $ac_cv_header_vorbis_vorbisfile_h = yes; then
|
|
19570 |
ac_fn_c_check_header_mongrel "$LINENO" "vorbis/vorbisfile.h" "ac_cv_header_vorbis_vorbisfile_h" "$ac_includes_default"
|
|
19571 |
if test "x$ac_cv_header_vorbis_vorbisfile_h" = xyes; then :
|
21331 | 19572 |
have_vorbisfile_hdr=yes
|
21332 | 19573 |
fi
|
21333 | 19574 |
|
21334 | 19575 |
|
21335 | |
{ echo "$as_me:$LINENO: checking for ov_open_callbacks in -lvorbisfile" >&5
|
21336 | |
echo $ECHO_N "checking for ov_open_callbacks in -lvorbisfile... $ECHO_C" >&6; }
|
21337 | |
if test "${ac_cv_lib_vorbisfile_ov_open_callbacks+set}" = set; then
|
21338 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19576 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ov_open_callbacks in -lvorbisfile" >&5
|
|
19577 |
$as_echo_n "checking for ov_open_callbacks in -lvorbisfile... " >&6; }
|
|
19578 |
if ${ac_cv_lib_vorbisfile_ov_open_callbacks+:} false; then :
|
|
19579 |
$as_echo_n "(cached) " >&6
|
21339 | 19580 |
else
|
21340 | 19581 |
ac_check_lib_save_LIBS=$LIBS
|
21341 | 19582 |
LIBS="-lvorbisfile $LIBS"
|
21342 | |
cat >conftest.$ac_ext <<_ACEOF
|
21343 | |
/* confdefs.h. */
|
21344 | |
_ACEOF
|
21345 | |
cat confdefs.h >>conftest.$ac_ext
|
21346 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19583 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
21347 | 19584 |
/* end confdefs.h. */
|
21348 | 19585 |
|
21349 | 19586 |
/* Override any GCC internal prototype to avoid an error.
|
|
21361 | 19598 |
return 0;
|
21362 | 19599 |
}
|
21363 | 19600 |
_ACEOF
|
21364 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
21365 | |
if { (ac_try="$ac_link"
|
21366 | |
case "(($ac_try" in
|
21367 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21368 | |
*) ac_try_echo=$ac_try;;
|
21369 | |
esac
|
21370 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21371 | |
(eval "$ac_link") 2>conftest.er1
|
21372 | |
ac_status=$?
|
21373 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21374 | |
rm -f conftest.er1
|
21375 | |
cat conftest.err >&5
|
21376 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21377 | |
(exit $ac_status); } && {
|
21378 | |
test -z "$ac_c_werror_flag" ||
|
21379 | |
test ! -s conftest.err
|
21380 | |
} && test -s conftest$ac_exeext &&
|
21381 | |
$as_test_x conftest$ac_exeext; then
|
|
19601 |
if ac_fn_c_try_link "$LINENO"; then :
|
21382 | 19602 |
ac_cv_lib_vorbisfile_ov_open_callbacks=yes
|
21383 | 19603 |
else
|
21384 | |
echo "$as_me: failed program was:" >&5
|
21385 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21386 | |
|
21387 | |
ac_cv_lib_vorbisfile_ov_open_callbacks=no
|
21388 | |
fi
|
21389 | |
|
21390 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
21391 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19604 |
ac_cv_lib_vorbisfile_ov_open_callbacks=no
|
|
19605 |
fi
|
|
19606 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19607 |
conftest$ac_exeext conftest.$ac_ext
|
21392 | 19608 |
LIBS=$ac_check_lib_save_LIBS
|
21393 | 19609 |
fi
|
21394 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
|
21395 | |
echo "${ECHO_T}$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6; }
|
21396 | |
if test $ac_cv_lib_vorbisfile_ov_open_callbacks = yes; then
|
|
19610 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisfile_ov_open_callbacks" >&5
|
|
19611 |
$as_echo "$ac_cv_lib_vorbisfile_ov_open_callbacks" >&6; }
|
|
19612 |
if test "x$ac_cv_lib_vorbisfile_ov_open_callbacks" = xyes; then :
|
21397 | 19613 |
have_vorbisfile_lib=yes
|
21398 | 19614 |
fi
|
21399 | 19615 |
|
|
21410 | 19626 |
CFLAGS="$CFLAGS"
|
21411 | 19627 |
LIBS="$LIBS -logg -lvorbis -lvorbisfile"
|
21412 | 19628 |
|
21413 | |
cat >>confdefs.h <<\_ACEOF
|
21414 | |
#define SOUND_SUPPORTS_OGG 1
|
21415 | |
_ACEOF
|
|
19629 |
$as_echo "#define SOUND_SUPPORTS_OGG 1" >>confdefs.h
|
21416 | 19630 |
|
21417 | 19631 |
fi
|
21418 | 19632 |
fi
|
|
21422 | 19636 |
x="C__stream_decoder_process_single"
|
21423 | 19637 |
flcsym="FLA$x"
|
21424 | 19638 |
# Check whether --enable-flac was given.
|
21425 | |
if test "${enable_flac+set}" = set; then
|
|
19639 |
if test "${enable_flac+set}" = set; then :
|
21426 | 19640 |
enableval=$enable_flac;
|
21427 | 19641 |
else
|
21428 | 19642 |
enable_flac=yes
|
21429 | 19643 |
fi
|
21430 | 19644 |
|
21431 | 19645 |
if test x$enable_flac = xyes; then
|
21432 | |
if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
|
21433 | |
{ echo "$as_me:$LINENO: checking for FLAC/stream_decoder.h" >&5
|
21434 | |
echo $ECHO_N "checking for FLAC/stream_decoder.h... $ECHO_C" >&6; }
|
21435 | |
if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
|
21436 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21437 | |
fi
|
21438 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_stream_decoder_h" >&5
|
21439 | |
echo "${ECHO_T}$ac_cv_header_FLAC_stream_decoder_h" >&6; }
|
21440 | |
else
|
21441 | |
# Is the header compilable?
|
21442 | |
{ echo "$as_me:$LINENO: checking FLAC/stream_decoder.h usability" >&5
|
21443 | |
echo $ECHO_N "checking FLAC/stream_decoder.h usability... $ECHO_C" >&6; }
|
21444 | |
cat >conftest.$ac_ext <<_ACEOF
|
21445 | |
/* confdefs.h. */
|
21446 | |
_ACEOF
|
21447 | |
cat confdefs.h >>conftest.$ac_ext
|
21448 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21449 | |
/* end confdefs.h. */
|
21450 | |
$ac_includes_default
|
21451 | |
#include <FLAC/stream_decoder.h>
|
21452 | |
_ACEOF
|
21453 | |
rm -f conftest.$ac_objext
|
21454 | |
if { (ac_try="$ac_compile"
|
21455 | |
case "(($ac_try" in
|
21456 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21457 | |
*) ac_try_echo=$ac_try;;
|
21458 | |
esac
|
21459 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21460 | |
(eval "$ac_compile") 2>conftest.er1
|
21461 | |
ac_status=$?
|
21462 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21463 | |
rm -f conftest.er1
|
21464 | |
cat conftest.err >&5
|
21465 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21466 | |
(exit $ac_status); } && {
|
21467 | |
test -z "$ac_c_werror_flag" ||
|
21468 | |
test ! -s conftest.err
|
21469 | |
} && test -s conftest.$ac_objext; then
|
21470 | |
ac_header_compiler=yes
|
21471 | |
else
|
21472 | |
echo "$as_me: failed program was:" >&5
|
21473 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21474 | |
|
21475 | |
ac_header_compiler=no
|
21476 | |
fi
|
21477 | |
|
21478 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
21479 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
21480 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
21481 | |
|
21482 | |
# Is the header present?
|
21483 | |
{ echo "$as_me:$LINENO: checking FLAC/stream_decoder.h presence" >&5
|
21484 | |
echo $ECHO_N "checking FLAC/stream_decoder.h presence... $ECHO_C" >&6; }
|
21485 | |
cat >conftest.$ac_ext <<_ACEOF
|
21486 | |
/* confdefs.h. */
|
21487 | |
_ACEOF
|
21488 | |
cat confdefs.h >>conftest.$ac_ext
|
21489 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21490 | |
/* end confdefs.h. */
|
21491 | |
#include <FLAC/stream_decoder.h>
|
21492 | |
_ACEOF
|
21493 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
21494 | |
case "(($ac_try" in
|
21495 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21496 | |
*) ac_try_echo=$ac_try;;
|
21497 | |
esac
|
21498 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21499 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
21500 | |
ac_status=$?
|
21501 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21502 | |
rm -f conftest.er1
|
21503 | |
cat conftest.err >&5
|
21504 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21505 | |
(exit $ac_status); } >/dev/null && {
|
21506 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
21507 | |
test ! -s conftest.err
|
21508 | |
}; then
|
21509 | |
ac_header_preproc=yes
|
21510 | |
else
|
21511 | |
echo "$as_me: failed program was:" >&5
|
21512 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21513 | |
|
21514 | |
ac_header_preproc=no
|
21515 | |
fi
|
21516 | |
|
21517 | |
rm -f conftest.err conftest.$ac_ext
|
21518 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
21519 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
21520 | |
|
21521 | |
# So? What about this header?
|
21522 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
21523 | |
yes:no: )
|
21524 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
21525 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
21526 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: proceeding with the compiler's result" >&5
|
21527 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: proceeding with the compiler's result" >&2;}
|
21528 | |
ac_header_preproc=yes
|
21529 | |
;;
|
21530 | |
no:yes:* )
|
21531 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: present but cannot be compiled" >&5
|
21532 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: present but cannot be compiled" >&2;}
|
21533 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: check for missing prerequisite headers?" >&5
|
21534 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: check for missing prerequisite headers?" >&2;}
|
21535 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: see the Autoconf documentation" >&5
|
21536 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: see the Autoconf documentation" >&2;}
|
21537 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: section \"Present But Cannot Be Compiled\"" >&5
|
21538 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
21539 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: proceeding with the preprocessor's result" >&5
|
21540 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: proceeding with the preprocessor's result" >&2;}
|
21541 | |
{ echo "$as_me:$LINENO: WARNING: FLAC/stream_decoder.h: in the future, the compiler will take precedence" >&5
|
21542 | |
echo "$as_me: WARNING: FLAC/stream_decoder.h: in the future, the compiler will take precedence" >&2;}
|
21543 | |
|
21544 | |
;;
|
21545 | |
esac
|
21546 | |
{ echo "$as_me:$LINENO: checking for FLAC/stream_decoder.h" >&5
|
21547 | |
echo $ECHO_N "checking for FLAC/stream_decoder.h... $ECHO_C" >&6; }
|
21548 | |
if test "${ac_cv_header_FLAC_stream_decoder_h+set}" = set; then
|
21549 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21550 | |
else
|
21551 | |
ac_cv_header_FLAC_stream_decoder_h=$ac_header_preproc
|
21552 | |
fi
|
21553 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_FLAC_stream_decoder_h" >&5
|
21554 | |
echo "${ECHO_T}$ac_cv_header_FLAC_stream_decoder_h" >&6; }
|
21555 | |
|
21556 | |
fi
|
21557 | |
if test $ac_cv_header_FLAC_stream_decoder_h = yes; then
|
|
19646 |
ac_fn_c_check_header_mongrel "$LINENO" "FLAC/stream_decoder.h" "ac_cv_header_FLAC_stream_decoder_h" "$ac_includes_default"
|
|
19647 |
if test "x$ac_cv_header_FLAC_stream_decoder_h" = xyes; then :
|
21558 | 19648 |
have_flac_hdr=yes
|
21559 | 19649 |
fi
|
21560 | 19650 |
|
21561 | 19651 |
|
21562 | |
as_ac_Lib=`echo "ac_cv_lib_FLAC_$flcsym" | $as_tr_sh`
|
21563 | |
{ echo "$as_me:$LINENO: checking for $flcsym in -lFLAC" >&5
|
21564 | |
echo $ECHO_N "checking for $flcsym in -lFLAC... $ECHO_C" >&6; }
|
21565 | |
if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
|
21566 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19652 |
as_ac_Lib=`$as_echo "ac_cv_lib_FLAC_$flcsym" | $as_tr_sh`
|
|
19653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $flcsym in -lFLAC" >&5
|
|
19654 |
$as_echo_n "checking for $flcsym in -lFLAC... " >&6; }
|
|
19655 |
if eval \${$as_ac_Lib+:} false; then :
|
|
19656 |
$as_echo_n "(cached) " >&6
|
21567 | 19657 |
else
|
21568 | 19658 |
ac_check_lib_save_LIBS=$LIBS
|
21569 | 19659 |
LIBS="-lFLAC $LIBS"
|
21570 | |
cat >conftest.$ac_ext <<_ACEOF
|
21571 | |
/* confdefs.h. */
|
21572 | |
_ACEOF
|
21573 | |
cat confdefs.h >>conftest.$ac_ext
|
21574 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19660 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
21575 | 19661 |
/* end confdefs.h. */
|
21576 | 19662 |
|
21577 | 19663 |
/* Override any GCC internal prototype to avoid an error.
|
|
21589 | 19675 |
return 0;
|
21590 | 19676 |
}
|
21591 | 19677 |
_ACEOF
|
21592 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
21593 | |
if { (ac_try="$ac_link"
|
21594 | |
case "(($ac_try" in
|
21595 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21596 | |
*) ac_try_echo=$ac_try;;
|
21597 | |
esac
|
21598 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21599 | |
(eval "$ac_link") 2>conftest.er1
|
21600 | |
ac_status=$?
|
21601 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21602 | |
rm -f conftest.er1
|
21603 | |
cat conftest.err >&5
|
21604 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21605 | |
(exit $ac_status); } && {
|
21606 | |
test -z "$ac_c_werror_flag" ||
|
21607 | |
test ! -s conftest.err
|
21608 | |
} && test -s conftest$ac_exeext &&
|
21609 | |
$as_test_x conftest$ac_exeext; then
|
|
19678 |
if ac_fn_c_try_link "$LINENO"; then :
|
21610 | 19679 |
eval "$as_ac_Lib=yes"
|
21611 | 19680 |
else
|
21612 | |
echo "$as_me: failed program was:" >&5
|
21613 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21614 | |
|
21615 | |
eval "$as_ac_Lib=no"
|
21616 | |
fi
|
21617 | |
|
21618 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
21619 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19681 |
eval "$as_ac_Lib=no"
|
|
19682 |
fi
|
|
19683 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19684 |
conftest$ac_exeext conftest.$ac_ext
|
21620 | 19685 |
LIBS=$ac_check_lib_save_LIBS
|
21621 | 19686 |
fi
|
21622 | |
ac_res=`eval echo '${'$as_ac_Lib'}'`
|
21623 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
21624 | |
echo "${ECHO_T}$ac_res" >&6; }
|
21625 | |
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
|
|
19687 |
eval ac_res=\$$as_ac_Lib
|
|
19688 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
19689 |
$as_echo "$ac_res" >&6; }
|
|
19690 |
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
|
21626 | 19691 |
have_flac_lib=yes
|
21627 | 19692 |
fi
|
21628 | 19693 |
|
|
21630 | 19695 |
if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then
|
21631 | 19696 |
LIBS="$LIBS -lFLAC -logg"
|
21632 | 19697 |
|
21633 | |
cat >>confdefs.h <<\_ACEOF
|
21634 | |
#define SOUND_SUPPORTS_FLAC 1
|
21635 | |
_ACEOF
|
|
19698 |
$as_echo "#define SOUND_SUPPORTS_FLAC 1" >>confdefs.h
|
21636 | 19699 |
|
21637 | 19700 |
fi
|
21638 | 19701 |
fi
|
|
21640 | 19703 |
|
21641 | 19704 |
|
21642 | 19705 |
# Check whether --enable-speex was given.
|
21643 | |
if test "${enable_speex+set}" = set; then
|
|
19706 |
if test "${enable_speex+set}" = set; then :
|
21644 | 19707 |
enableval=$enable_speex;
|
21645 | 19708 |
else
|
21646 | 19709 |
enable_speex=yes
|
21647 | 19710 |
fi
|
21648 | 19711 |
|
21649 | 19712 |
if test x$enable_speex = xyes; then
|
21650 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
21651 | |
{ echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
|
21652 | |
echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
|
21653 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
21654 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21655 | |
fi
|
21656 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
|
21657 | |
echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
|
21658 | |
else
|
21659 | |
# Is the header compilable?
|
21660 | |
{ echo "$as_me:$LINENO: checking ogg/ogg.h usability" >&5
|
21661 | |
echo $ECHO_N "checking ogg/ogg.h usability... $ECHO_C" >&6; }
|
21662 | |
cat >conftest.$ac_ext <<_ACEOF
|
21663 | |
/* confdefs.h. */
|
21664 | |
_ACEOF
|
21665 | |
cat confdefs.h >>conftest.$ac_ext
|
21666 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21667 | |
/* end confdefs.h. */
|
21668 | |
$ac_includes_default
|
21669 | |
#include <ogg/ogg.h>
|
21670 | |
_ACEOF
|
21671 | |
rm -f conftest.$ac_objext
|
21672 | |
if { (ac_try="$ac_compile"
|
21673 | |
case "(($ac_try" in
|
21674 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21675 | |
*) ac_try_echo=$ac_try;;
|
21676 | |
esac
|
21677 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21678 | |
(eval "$ac_compile") 2>conftest.er1
|
21679 | |
ac_status=$?
|
21680 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21681 | |
rm -f conftest.er1
|
21682 | |
cat conftest.err >&5
|
21683 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21684 | |
(exit $ac_status); } && {
|
21685 | |
test -z "$ac_c_werror_flag" ||
|
21686 | |
test ! -s conftest.err
|
21687 | |
} && test -s conftest.$ac_objext; then
|
21688 | |
ac_header_compiler=yes
|
21689 | |
else
|
21690 | |
echo "$as_me: failed program was:" >&5
|
21691 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21692 | |
|
21693 | |
ac_header_compiler=no
|
21694 | |
fi
|
21695 | |
|
21696 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
21697 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
21698 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
21699 | |
|
21700 | |
# Is the header present?
|
21701 | |
{ echo "$as_me:$LINENO: checking ogg/ogg.h presence" >&5
|
21702 | |
echo $ECHO_N "checking ogg/ogg.h presence... $ECHO_C" >&6; }
|
21703 | |
cat >conftest.$ac_ext <<_ACEOF
|
21704 | |
/* confdefs.h. */
|
21705 | |
_ACEOF
|
21706 | |
cat confdefs.h >>conftest.$ac_ext
|
21707 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21708 | |
/* end confdefs.h. */
|
21709 | |
#include <ogg/ogg.h>
|
21710 | |
_ACEOF
|
21711 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
21712 | |
case "(($ac_try" in
|
21713 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21714 | |
*) ac_try_echo=$ac_try;;
|
21715 | |
esac
|
21716 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21717 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
21718 | |
ac_status=$?
|
21719 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21720 | |
rm -f conftest.er1
|
21721 | |
cat conftest.err >&5
|
21722 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21723 | |
(exit $ac_status); } >/dev/null && {
|
21724 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
21725 | |
test ! -s conftest.err
|
21726 | |
}; then
|
21727 | |
ac_header_preproc=yes
|
21728 | |
else
|
21729 | |
echo "$as_me: failed program was:" >&5
|
21730 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21731 | |
|
21732 | |
ac_header_preproc=no
|
21733 | |
fi
|
21734 | |
|
21735 | |
rm -f conftest.err conftest.$ac_ext
|
21736 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
21737 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
21738 | |
|
21739 | |
# So? What about this header?
|
21740 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
21741 | |
yes:no: )
|
21742 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
21743 | |
echo "$as_me: WARNING: ogg/ogg.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
21744 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&5
|
21745 | |
echo "$as_me: WARNING: ogg/ogg.h: proceeding with the compiler's result" >&2;}
|
21746 | |
ac_header_preproc=yes
|
21747 | |
;;
|
21748 | |
no:yes:* )
|
21749 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: present but cannot be compiled" >&5
|
21750 | |
echo "$as_me: WARNING: ogg/ogg.h: present but cannot be compiled" >&2;}
|
21751 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&5
|
21752 | |
echo "$as_me: WARNING: ogg/ogg.h: check for missing prerequisite headers?" >&2;}
|
21753 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: see the Autoconf documentation" >&5
|
21754 | |
echo "$as_me: WARNING: ogg/ogg.h: see the Autoconf documentation" >&2;}
|
21755 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&5
|
21756 | |
echo "$as_me: WARNING: ogg/ogg.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
21757 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&5
|
21758 | |
echo "$as_me: WARNING: ogg/ogg.h: proceeding with the preprocessor's result" >&2;}
|
21759 | |
{ echo "$as_me:$LINENO: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&5
|
21760 | |
echo "$as_me: WARNING: ogg/ogg.h: in the future, the compiler will take precedence" >&2;}
|
21761 | |
|
21762 | |
;;
|
21763 | |
esac
|
21764 | |
{ echo "$as_me:$LINENO: checking for ogg/ogg.h" >&5
|
21765 | |
echo $ECHO_N "checking for ogg/ogg.h... $ECHO_C" >&6; }
|
21766 | |
if test "${ac_cv_header_ogg_ogg_h+set}" = set; then
|
21767 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21768 | |
else
|
21769 | |
ac_cv_header_ogg_ogg_h=$ac_header_preproc
|
21770 | |
fi
|
21771 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_ogg_ogg_h" >&5
|
21772 | |
echo "${ECHO_T}$ac_cv_header_ogg_ogg_h" >&6; }
|
21773 | |
|
21774 | |
fi
|
21775 | |
if test $ac_cv_header_ogg_ogg_h = yes; then
|
|
19713 |
ac_fn_c_check_header_mongrel "$LINENO" "ogg/ogg.h" "ac_cv_header_ogg_ogg_h" "$ac_includes_default"
|
|
19714 |
if test "x$ac_cv_header_ogg_ogg_h" = xyes; then :
|
21776 | 19715 |
have_ogg_hdr=yes
|
21777 | 19716 |
fi
|
21778 | 19717 |
|
21779 | 19718 |
|
21780 | |
{ echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
|
21781 | |
echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
|
21782 | |
if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
|
21783 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ogg_sync_init in -logg" >&5
|
|
19720 |
$as_echo_n "checking for ogg_sync_init in -logg... " >&6; }
|
|
19721 |
if ${ac_cv_lib_ogg_ogg_sync_init+:} false; then :
|
|
19722 |
$as_echo_n "(cached) " >&6
|
21784 | 19723 |
else
|
21785 | 19724 |
ac_check_lib_save_LIBS=$LIBS
|
21786 | 19725 |
LIBS="-logg $LIBS"
|
21787 | |
cat >conftest.$ac_ext <<_ACEOF
|
21788 | |
/* confdefs.h. */
|
21789 | |
_ACEOF
|
21790 | |
cat confdefs.h >>conftest.$ac_ext
|
21791 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19726 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
21792 | 19727 |
/* end confdefs.h. */
|
21793 | 19728 |
|
21794 | 19729 |
/* Override any GCC internal prototype to avoid an error.
|
|
21806 | 19741 |
return 0;
|
21807 | 19742 |
}
|
21808 | 19743 |
_ACEOF
|
21809 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
21810 | |
if { (ac_try="$ac_link"
|
21811 | |
case "(($ac_try" in
|
21812 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21813 | |
*) ac_try_echo=$ac_try;;
|
21814 | |
esac
|
21815 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21816 | |
(eval "$ac_link") 2>conftest.er1
|
21817 | |
ac_status=$?
|
21818 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21819 | |
rm -f conftest.er1
|
21820 | |
cat conftest.err >&5
|
21821 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21822 | |
(exit $ac_status); } && {
|
21823 | |
test -z "$ac_c_werror_flag" ||
|
21824 | |
test ! -s conftest.err
|
21825 | |
} && test -s conftest$ac_exeext &&
|
21826 | |
$as_test_x conftest$ac_exeext; then
|
|
19744 |
if ac_fn_c_try_link "$LINENO"; then :
|
21827 | 19745 |
ac_cv_lib_ogg_ogg_sync_init=yes
|
21828 | 19746 |
else
|
21829 | |
echo "$as_me: failed program was:" >&5
|
21830 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21831 | |
|
21832 | |
ac_cv_lib_ogg_ogg_sync_init=no
|
21833 | |
fi
|
21834 | |
|
21835 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
21836 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19747 |
ac_cv_lib_ogg_ogg_sync_init=no
|
|
19748 |
fi
|
|
19749 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19750 |
conftest$ac_exeext conftest.$ac_ext
|
21837 | 19751 |
LIBS=$ac_check_lib_save_LIBS
|
21838 | 19752 |
fi
|
21839 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
|
21840 | |
echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
|
21841 | |
if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
|
|
19753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
|
|
19754 |
$as_echo "$ac_cv_lib_ogg_ogg_sync_init" >&6; }
|
|
19755 |
if test "x$ac_cv_lib_ogg_ogg_sync_init" = xyes; then :
|
21842 | 19756 |
have_ogg_lib=yes
|
21843 | 19757 |
fi
|
21844 | 19758 |
|
21845 | |
if test "${ac_cv_header_speex_speex_h+set}" = set; then
|
21846 | |
{ echo "$as_me:$LINENO: checking for speex/speex.h" >&5
|
21847 | |
echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
|
21848 | |
if test "${ac_cv_header_speex_speex_h+set}" = set; then
|
21849 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21850 | |
fi
|
21851 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
|
21852 | |
echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
|
21853 | |
else
|
21854 | |
# Is the header compilable?
|
21855 | |
{ echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
|
21856 | |
echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
|
21857 | |
cat >conftest.$ac_ext <<_ACEOF
|
21858 | |
/* confdefs.h. */
|
21859 | |
_ACEOF
|
21860 | |
cat confdefs.h >>conftest.$ac_ext
|
21861 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21862 | |
/* end confdefs.h. */
|
21863 | |
$ac_includes_default
|
21864 | |
#include <speex/speex.h>
|
21865 | |
_ACEOF
|
21866 | |
rm -f conftest.$ac_objext
|
21867 | |
if { (ac_try="$ac_compile"
|
21868 | |
case "(($ac_try" in
|
21869 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21870 | |
*) ac_try_echo=$ac_try;;
|
21871 | |
esac
|
21872 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21873 | |
(eval "$ac_compile") 2>conftest.er1
|
21874 | |
ac_status=$?
|
21875 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21876 | |
rm -f conftest.er1
|
21877 | |
cat conftest.err >&5
|
21878 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21879 | |
(exit $ac_status); } && {
|
21880 | |
test -z "$ac_c_werror_flag" ||
|
21881 | |
test ! -s conftest.err
|
21882 | |
} && test -s conftest.$ac_objext; then
|
21883 | |
ac_header_compiler=yes
|
21884 | |
else
|
21885 | |
echo "$as_me: failed program was:" >&5
|
21886 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21887 | |
|
21888 | |
ac_header_compiler=no
|
21889 | |
fi
|
21890 | |
|
21891 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
21892 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
21893 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
21894 | |
|
21895 | |
# Is the header present?
|
21896 | |
{ echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
|
21897 | |
echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
|
21898 | |
cat >conftest.$ac_ext <<_ACEOF
|
21899 | |
/* confdefs.h. */
|
21900 | |
_ACEOF
|
21901 | |
cat confdefs.h >>conftest.$ac_ext
|
21902 | |
cat >>conftest.$ac_ext <<_ACEOF
|
21903 | |
/* end confdefs.h. */
|
21904 | |
#include <speex/speex.h>
|
21905 | |
_ACEOF
|
21906 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
21907 | |
case "(($ac_try" in
|
21908 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
21909 | |
*) ac_try_echo=$ac_try;;
|
21910 | |
esac
|
21911 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
21912 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
21913 | |
ac_status=$?
|
21914 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
21915 | |
rm -f conftest.er1
|
21916 | |
cat conftest.err >&5
|
21917 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
21918 | |
(exit $ac_status); } >/dev/null && {
|
21919 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
21920 | |
test ! -s conftest.err
|
21921 | |
}; then
|
21922 | |
ac_header_preproc=yes
|
21923 | |
else
|
21924 | |
echo "$as_me: failed program was:" >&5
|
21925 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
21926 | |
|
21927 | |
ac_header_preproc=no
|
21928 | |
fi
|
21929 | |
|
21930 | |
rm -f conftest.err conftest.$ac_ext
|
21931 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
21932 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
21933 | |
|
21934 | |
# So? What about this header?
|
21935 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
21936 | |
yes:no: )
|
21937 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
21938 | |
echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
21939 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
|
21940 | |
echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
|
21941 | |
ac_header_preproc=yes
|
21942 | |
;;
|
21943 | |
no:yes:* )
|
21944 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
|
21945 | |
echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
|
21946 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
|
21947 | |
echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
|
21948 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
|
21949 | |
echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
|
21950 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
|
21951 | |
echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
21952 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
|
21953 | |
echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
|
21954 | |
{ echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
|
21955 | |
echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
|
21956 | |
|
21957 | |
;;
|
21958 | |
esac
|
21959 | |
{ echo "$as_me:$LINENO: checking for speex/speex.h" >&5
|
21960 | |
echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
|
21961 | |
if test "${ac_cv_header_speex_speex_h+set}" = set; then
|
21962 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
21963 | |
else
|
21964 | |
ac_cv_header_speex_speex_h=$ac_header_preproc
|
21965 | |
fi
|
21966 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
|
21967 | |
echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
|
21968 | |
|
21969 | |
fi
|
21970 | |
if test $ac_cv_header_speex_speex_h = yes; then
|
|
19759 |
ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
|
|
19760 |
if test "x$ac_cv_header_speex_speex_h" = xyes; then :
|
21971 | 19761 |
have_speex_hdr=yes
|
21972 | 19762 |
fi
|
21973 | 19763 |
|
21974 | 19764 |
|
21975 | |
{ echo "$as_me:$LINENO: checking for speex_bits_init in -lspeex" >&5
|
21976 | |
echo $ECHO_N "checking for speex_bits_init in -lspeex... $ECHO_C" >&6; }
|
21977 | |
if test "${ac_cv_lib_speex_speex_bits_init+set}" = set; then
|
21978 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19765 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_bits_init in -lspeex" >&5
|
|
19766 |
$as_echo_n "checking for speex_bits_init in -lspeex... " >&6; }
|
|
19767 |
if ${ac_cv_lib_speex_speex_bits_init+:} false; then :
|
|
19768 |
$as_echo_n "(cached) " >&6
|
21979 | 19769 |
else
|
21980 | 19770 |
ac_check_lib_save_LIBS=$LIBS
|
21981 | 19771 |
LIBS="-lspeex $LIBS"
|
21982 | |
cat >conftest.$ac_ext <<_ACEOF
|
21983 | |
/* confdefs.h. */
|
21984 | |
_ACEOF
|
21985 | |
cat confdefs.h >>conftest.$ac_ext
|
21986 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19772 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
21987 | 19773 |
/* end confdefs.h. */
|
21988 | 19774 |
|
21989 | 19775 |
/* Override any GCC internal prototype to avoid an error.
|
|
22001 | 19787 |
return 0;
|
22002 | 19788 |
}
|
22003 | 19789 |
_ACEOF
|
22004 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
22005 | |
if { (ac_try="$ac_link"
|
22006 | |
case "(($ac_try" in
|
22007 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22008 | |
*) ac_try_echo=$ac_try;;
|
22009 | |
esac
|
22010 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22011 | |
(eval "$ac_link") 2>conftest.er1
|
22012 | |
ac_status=$?
|
22013 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22014 | |
rm -f conftest.er1
|
22015 | |
cat conftest.err >&5
|
22016 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22017 | |
(exit $ac_status); } && {
|
22018 | |
test -z "$ac_c_werror_flag" ||
|
22019 | |
test ! -s conftest.err
|
22020 | |
} && test -s conftest$ac_exeext &&
|
22021 | |
$as_test_x conftest$ac_exeext; then
|
|
19790 |
if ac_fn_c_try_link "$LINENO"; then :
|
22022 | 19791 |
ac_cv_lib_speex_speex_bits_init=yes
|
22023 | 19792 |
else
|
22024 | |
echo "$as_me: failed program was:" >&5
|
22025 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22026 | |
|
22027 | |
ac_cv_lib_speex_speex_bits_init=no
|
22028 | |
fi
|
22029 | |
|
22030 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
22031 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19793 |
ac_cv_lib_speex_speex_bits_init=no
|
|
19794 |
fi
|
|
19795 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19796 |
conftest$ac_exeext conftest.$ac_ext
|
22032 | 19797 |
LIBS=$ac_check_lib_save_LIBS
|
22033 | 19798 |
fi
|
22034 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_bits_init" >&5
|
22035 | |
echo "${ECHO_T}$ac_cv_lib_speex_speex_bits_init" >&6; }
|
22036 | |
if test $ac_cv_lib_speex_speex_bits_init = yes; then
|
|
19799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_bits_init" >&5
|
|
19800 |
$as_echo "$ac_cv_lib_speex_speex_bits_init" >&6; }
|
|
19801 |
if test "x$ac_cv_lib_speex_speex_bits_init" = xyes; then :
|
22037 | 19802 |
have_speex_lib=yes
|
22038 | 19803 |
fi
|
22039 | 19804 |
|
22040 | 19805 |
if test "x$have_ogg_hdr" = "xyes" -a "x$have_ogg_lib" = "xyes" -a "x$have_speex_hdr" = "xyes" -a "x$have_speex_lib" = "xyes"; then
|
22041 | 19806 |
LIBS="$LIBS -logg -lspeex"
|
22042 | 19807 |
|
22043 | |
cat >>confdefs.h <<\_ACEOF
|
22044 | |
#define SOUND_SUPPORTS_SPEEX 1
|
22045 | |
_ACEOF
|
|
19808 |
$as_echo "#define SOUND_SUPPORTS_SPEEX 1" >>confdefs.h
|
22046 | 19809 |
|
22047 | 19810 |
fi
|
22048 | 19811 |
fi
|
22049 | 19812 |
|
22050 | 19813 |
|
22051 | 19814 |
# Check whether --enable-physfs was given.
|
22052 | |
if test "${enable_physfs+set}" = set; then
|
|
19815 |
if test "${enable_physfs+set}" = set; then :
|
22053 | 19816 |
enableval=$enable_physfs;
|
22054 | 19817 |
else
|
22055 | 19818 |
enable_physfs=yes
|
22056 | 19819 |
fi
|
22057 | 19820 |
|
22058 | 19821 |
if test x$enable_physfs = xyes; then
|
22059 | |
if test "${ac_cv_header_physfs_h+set}" = set; then
|
22060 | |
{ echo "$as_me:$LINENO: checking for physfs.h" >&5
|
22061 | |
echo $ECHO_N "checking for physfs.h... $ECHO_C" >&6; }
|
22062 | |
if test "${ac_cv_header_physfs_h+set}" = set; then
|
22063 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22064 | |
fi
|
22065 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_physfs_h" >&5
|
22066 | |
echo "${ECHO_T}$ac_cv_header_physfs_h" >&6; }
|
22067 | |
else
|
22068 | |
# Is the header compilable?
|
22069 | |
{ echo "$as_me:$LINENO: checking physfs.h usability" >&5
|
22070 | |
echo $ECHO_N "checking physfs.h usability... $ECHO_C" >&6; }
|
22071 | |
cat >conftest.$ac_ext <<_ACEOF
|
22072 | |
/* confdefs.h. */
|
22073 | |
_ACEOF
|
22074 | |
cat confdefs.h >>conftest.$ac_ext
|
22075 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22076 | |
/* end confdefs.h. */
|
22077 | |
$ac_includes_default
|
22078 | |
#include <physfs.h>
|
22079 | |
_ACEOF
|
22080 | |
rm -f conftest.$ac_objext
|
22081 | |
if { (ac_try="$ac_compile"
|
22082 | |
case "(($ac_try" in
|
22083 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22084 | |
*) ac_try_echo=$ac_try;;
|
22085 | |
esac
|
22086 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22087 | |
(eval "$ac_compile") 2>conftest.er1
|
22088 | |
ac_status=$?
|
22089 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22090 | |
rm -f conftest.er1
|
22091 | |
cat conftest.err >&5
|
22092 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22093 | |
(exit $ac_status); } && {
|
22094 | |
test -z "$ac_c_werror_flag" ||
|
22095 | |
test ! -s conftest.err
|
22096 | |
} && test -s conftest.$ac_objext; then
|
22097 | |
ac_header_compiler=yes
|
22098 | |
else
|
22099 | |
echo "$as_me: failed program was:" >&5
|
22100 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22101 | |
|
22102 | |
ac_header_compiler=no
|
22103 | |
fi
|
22104 | |
|
22105 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
22106 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
22107 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
22108 | |
|
22109 | |
# Is the header present?
|
22110 | |
{ echo "$as_me:$LINENO: checking physfs.h presence" >&5
|
22111 | |
echo $ECHO_N "checking physfs.h presence... $ECHO_C" >&6; }
|
22112 | |
cat >conftest.$ac_ext <<_ACEOF
|
22113 | |
/* confdefs.h. */
|
22114 | |
_ACEOF
|
22115 | |
cat confdefs.h >>conftest.$ac_ext
|
22116 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22117 | |
/* end confdefs.h. */
|
22118 | |
#include <physfs.h>
|
22119 | |
_ACEOF
|
22120 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
22121 | |
case "(($ac_try" in
|
22122 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22123 | |
*) ac_try_echo=$ac_try;;
|
22124 | |
esac
|
22125 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22126 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
22127 | |
ac_status=$?
|
22128 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22129 | |
rm -f conftest.er1
|
22130 | |
cat conftest.err >&5
|
22131 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22132 | |
(exit $ac_status); } >/dev/null && {
|
22133 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
22134 | |
test ! -s conftest.err
|
22135 | |
}; then
|
22136 | |
ac_header_preproc=yes
|
22137 | |
else
|
22138 | |
echo "$as_me: failed program was:" >&5
|
22139 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22140 | |
|
22141 | |
ac_header_preproc=no
|
22142 | |
fi
|
22143 | |
|
22144 | |
rm -f conftest.err conftest.$ac_ext
|
22145 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
22146 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
22147 | |
|
22148 | |
# So? What about this header?
|
22149 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
22150 | |
yes:no: )
|
22151 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
22152 | |
echo "$as_me: WARNING: physfs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
22153 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: proceeding with the compiler's result" >&5
|
22154 | |
echo "$as_me: WARNING: physfs.h: proceeding with the compiler's result" >&2;}
|
22155 | |
ac_header_preproc=yes
|
22156 | |
;;
|
22157 | |
no:yes:* )
|
22158 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: present but cannot be compiled" >&5
|
22159 | |
echo "$as_me: WARNING: physfs.h: present but cannot be compiled" >&2;}
|
22160 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: check for missing prerequisite headers?" >&5
|
22161 | |
echo "$as_me: WARNING: physfs.h: check for missing prerequisite headers?" >&2;}
|
22162 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: see the Autoconf documentation" >&5
|
22163 | |
echo "$as_me: WARNING: physfs.h: see the Autoconf documentation" >&2;}
|
22164 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: section \"Present But Cannot Be Compiled\"" >&5
|
22165 | |
echo "$as_me: WARNING: physfs.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
22166 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: proceeding with the preprocessor's result" >&5
|
22167 | |
echo "$as_me: WARNING: physfs.h: proceeding with the preprocessor's result" >&2;}
|
22168 | |
{ echo "$as_me:$LINENO: WARNING: physfs.h: in the future, the compiler will take precedence" >&5
|
22169 | |
echo "$as_me: WARNING: physfs.h: in the future, the compiler will take precedence" >&2;}
|
22170 | |
|
22171 | |
;;
|
22172 | |
esac
|
22173 | |
{ echo "$as_me:$LINENO: checking for physfs.h" >&5
|
22174 | |
echo $ECHO_N "checking for physfs.h... $ECHO_C" >&6; }
|
22175 | |
if test "${ac_cv_header_physfs_h+set}" = set; then
|
22176 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22177 | |
else
|
22178 | |
ac_cv_header_physfs_h=$ac_header_preproc
|
22179 | |
fi
|
22180 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_physfs_h" >&5
|
22181 | |
echo "${ECHO_T}$ac_cv_header_physfs_h" >&6; }
|
22182 | |
|
22183 | |
fi
|
22184 | |
if test $ac_cv_header_physfs_h = yes; then
|
|
19822 |
ac_fn_c_check_header_mongrel "$LINENO" "physfs.h" "ac_cv_header_physfs_h" "$ac_includes_default"
|
|
19823 |
if test "x$ac_cv_header_physfs_h" = xyes; then :
|
22185 | 19824 |
have_physfs_hdr=yes
|
22186 | 19825 |
fi
|
22187 | 19826 |
|
22188 | 19827 |
|
22189 | |
{ echo "$as_me:$LINENO: checking for PHYSFS_init in -lphysfs" >&5
|
22190 | |
echo $ECHO_N "checking for PHYSFS_init in -lphysfs... $ECHO_C" >&6; }
|
22191 | |
if test "${ac_cv_lib_physfs_PHYSFS_init+set}" = set; then
|
22192 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
19828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PHYSFS_init in -lphysfs" >&5
|
|
19829 |
$as_echo_n "checking for PHYSFS_init in -lphysfs... " >&6; }
|
|
19830 |
if ${ac_cv_lib_physfs_PHYSFS_init+:} false; then :
|
|
19831 |
$as_echo_n "(cached) " >&6
|
22193 | 19832 |
else
|
22194 | 19833 |
ac_check_lib_save_LIBS=$LIBS
|
22195 | 19834 |
LIBS="-lphysfs $LIBS"
|
22196 | |
cat >conftest.$ac_ext <<_ACEOF
|
22197 | |
/* confdefs.h. */
|
22198 | |
_ACEOF
|
22199 | |
cat confdefs.h >>conftest.$ac_ext
|
22200 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19835 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22201 | 19836 |
/* end confdefs.h. */
|
22202 | 19837 |
|
22203 | 19838 |
/* Override any GCC internal prototype to avoid an error.
|
|
22215 | 19850 |
return 0;
|
22216 | 19851 |
}
|
22217 | 19852 |
_ACEOF
|
22218 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
22219 | |
if { (ac_try="$ac_link"
|
22220 | |
case "(($ac_try" in
|
22221 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22222 | |
*) ac_try_echo=$ac_try;;
|
22223 | |
esac
|
22224 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22225 | |
(eval "$ac_link") 2>conftest.er1
|
22226 | |
ac_status=$?
|
22227 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22228 | |
rm -f conftest.er1
|
22229 | |
cat conftest.err >&5
|
22230 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22231 | |
(exit $ac_status); } && {
|
22232 | |
test -z "$ac_c_werror_flag" ||
|
22233 | |
test ! -s conftest.err
|
22234 | |
} && test -s conftest$ac_exeext &&
|
22235 | |
$as_test_x conftest$ac_exeext; then
|
|
19853 |
if ac_fn_c_try_link "$LINENO"; then :
|
22236 | 19854 |
ac_cv_lib_physfs_PHYSFS_init=yes
|
22237 | 19855 |
else
|
22238 | |
echo "$as_me: failed program was:" >&5
|
22239 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22240 | |
|
22241 | |
ac_cv_lib_physfs_PHYSFS_init=no
|
22242 | |
fi
|
22243 | |
|
22244 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
22245 | |
conftest$ac_exeext conftest.$ac_ext
|
|
19856 |
ac_cv_lib_physfs_PHYSFS_init=no
|
|
19857 |
fi
|
|
19858 |
rm -f core conftest.err conftest.$ac_objext \
|
|
19859 |
conftest$ac_exeext conftest.$ac_ext
|
22246 | 19860 |
LIBS=$ac_check_lib_save_LIBS
|
22247 | 19861 |
fi
|
22248 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_physfs_PHYSFS_init" >&5
|
22249 | |
echo "${ECHO_T}$ac_cv_lib_physfs_PHYSFS_init" >&6; }
|
22250 | |
if test $ac_cv_lib_physfs_PHYSFS_init = yes; then
|
|
19862 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_physfs_PHYSFS_init" >&5
|
|
19863 |
$as_echo "$ac_cv_lib_physfs_PHYSFS_init" >&6; }
|
|
19864 |
if test "x$ac_cv_lib_physfs_PHYSFS_init" = xyes; then :
|
22251 | 19865 |
have_physfs_lib=yes
|
22252 | 19866 |
fi
|
22253 | 19867 |
|
|
22259 | 19873 |
fi
|
22260 | 19874 |
|
22261 | 19875 |
# Check whether --enable-altcvt was given.
|
22262 | |
if test "${enable_altcvt+set}" = set; then
|
|
19876 |
if test "${enable_altcvt+set}" = set; then :
|
22263 | 19877 |
enableval=$enable_altcvt;
|
22264 | 19878 |
else
|
22265 | 19879 |
enable_altcvt=no
|
|
22267 | 19881 |
|
22268 | 19882 |
if test x$enable_altcvt = xyes; then
|
22269 | 19883 |
|
22270 | |
cat >>confdefs.h <<\_ACEOF
|
22271 | |
#define SOUND_USE_ALTCVT 1
|
22272 | |
_ACEOF
|
|
19884 |
$as_echo "#define SOUND_USE_ALTCVT 1" >>confdefs.h
|
22273 | 19885 |
|
22274 | 19886 |
fi
|
22275 | 19887 |
|
22276 | 19888 |
|
22277 | 19889 |
|
22278 | 19890 |
# Checks for header files.
|
22279 | |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
22280 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
22281 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
22282 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22283 | |
else
|
22284 | |
cat >conftest.$ac_ext <<_ACEOF
|
22285 | |
/* confdefs.h. */
|
22286 | |
_ACEOF
|
22287 | |
cat confdefs.h >>conftest.$ac_ext
|
22288 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19891 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
19892 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
19893 |
if ${ac_cv_header_stdc+:} false; then :
|
|
19894 |
$as_echo_n "(cached) " >&6
|
|
19895 |
else
|
|
19896 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22289 | 19897 |
/* end confdefs.h. */
|
22290 | 19898 |
#include <stdlib.h>
|
22291 | 19899 |
#include <stdarg.h>
|
|
22300 | 19908 |
return 0;
|
22301 | 19909 |
}
|
22302 | 19910 |
_ACEOF
|
22303 | |
rm -f conftest.$ac_objext
|
22304 | |
if { (ac_try="$ac_compile"
|
22305 | |
case "(($ac_try" in
|
22306 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22307 | |
*) ac_try_echo=$ac_try;;
|
22308 | |
esac
|
22309 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22310 | |
(eval "$ac_compile") 2>conftest.er1
|
22311 | |
ac_status=$?
|
22312 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22313 | |
rm -f conftest.er1
|
22314 | |
cat conftest.err >&5
|
22315 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22316 | |
(exit $ac_status); } && {
|
22317 | |
test -z "$ac_c_werror_flag" ||
|
22318 | |
test ! -s conftest.err
|
22319 | |
} && test -s conftest.$ac_objext; then
|
|
19911 |
if ac_fn_c_try_compile "$LINENO"; then :
|
22320 | 19912 |
ac_cv_header_stdc=yes
|
22321 | 19913 |
else
|
22322 | |
echo "$as_me: failed program was:" >&5
|
22323 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22324 | |
|
22325 | |
ac_cv_header_stdc=no
|
22326 | |
fi
|
22327 | |
|
|
19914 |
ac_cv_header_stdc=no
|
|
19915 |
fi
|
22328 | 19916 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
22329 | 19917 |
|
22330 | 19918 |
if test $ac_cv_header_stdc = yes; then
|
22331 | 19919 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
22332 | |
cat >conftest.$ac_ext <<_ACEOF
|
22333 | |
/* confdefs.h. */
|
22334 | |
_ACEOF
|
22335 | |
cat confdefs.h >>conftest.$ac_ext
|
22336 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19920 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22337 | 19921 |
/* end confdefs.h. */
|
22338 | 19922 |
#include <string.h>
|
22339 | 19923 |
|
22340 | 19924 |
_ACEOF
|
22341 | 19925 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
22342 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
22343 | |
:
|
|
19926 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
19927 |
|
22344 | 19928 |
else
|
22345 | 19929 |
ac_cv_header_stdc=no
|
22346 | 19930 |
fi
|
|
22350 | 19934 |
|
22351 | 19935 |
if test $ac_cv_header_stdc = yes; then
|
22352 | 19936 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
22353 | |
cat >conftest.$ac_ext <<_ACEOF
|
22354 | |
/* confdefs.h. */
|
22355 | |
_ACEOF
|
22356 | |
cat confdefs.h >>conftest.$ac_ext
|
22357 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19937 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22358 | 19938 |
/* end confdefs.h. */
|
22359 | 19939 |
#include <stdlib.h>
|
22360 | 19940 |
|
22361 | 19941 |
_ACEOF
|
22362 | 19942 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
22363 | |
$EGREP "free" >/dev/null 2>&1; then
|
22364 | |
:
|
|
19943 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
19944 |
|
22365 | 19945 |
else
|
22366 | 19946 |
ac_cv_header_stdc=no
|
22367 | 19947 |
fi
|
|
22371 | 19951 |
|
22372 | 19952 |
if test $ac_cv_header_stdc = yes; then
|
22373 | 19953 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
22374 | |
if test "$cross_compiling" = yes; then
|
|
19954 |
if test "$cross_compiling" = yes; then :
|
22375 | 19955 |
:
|
22376 | 19956 |
else
|
22377 | |
cat >conftest.$ac_ext <<_ACEOF
|
22378 | |
/* confdefs.h. */
|
22379 | |
_ACEOF
|
22380 | |
cat confdefs.h >>conftest.$ac_ext
|
22381 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
19957 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22382 | 19958 |
/* end confdefs.h. */
|
22383 | 19959 |
#include <ctype.h>
|
22384 | 19960 |
#include <stdlib.h>
|
|
22405 | 19981 |
return 0;
|
22406 | 19982 |
}
|
22407 | 19983 |
_ACEOF
|
22408 | |
rm -f conftest$ac_exeext
|
22409 | |
if { (ac_try="$ac_link"
|
22410 | |
case "(($ac_try" in
|
22411 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22412 | |
*) ac_try_echo=$ac_try;;
|
22413 | |
esac
|
22414 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22415 | |
(eval "$ac_link") 2>&5
|
22416 | |
ac_status=$?
|
22417 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22418 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
22419 | |
{ (case "(($ac_try" in
|
22420 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22421 | |
*) ac_try_echo=$ac_try;;
|
22422 | |
esac
|
22423 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22424 | |
(eval "$ac_try") 2>&5
|
22425 | |
ac_status=$?
|
22426 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22427 | |
(exit $ac_status); }; }; then
|
22428 | |
:
|
22429 | |
else
|
22430 | |
echo "$as_me: program exited with status $ac_status" >&5
|
22431 | |
echo "$as_me: failed program was:" >&5
|
22432 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22433 | |
|
22434 | |
( exit $ac_status )
|
22435 | |
ac_cv_header_stdc=no
|
22436 | |
fi
|
22437 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
22438 | |
fi
|
22439 | |
|
22440 | |
|
22441 | |
fi
|
22442 | |
fi
|
22443 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
22444 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
|
19984 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
19985 |
|
|
19986 |
else
|
|
19987 |
ac_cv_header_stdc=no
|
|
19988 |
fi
|
|
19989 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
19990 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
19991 |
fi
|
|
19992 |
|
|
19993 |
fi
|
|
19994 |
fi
|
|
19995 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
19996 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
22445 | 19997 |
if test $ac_cv_header_stdc = yes; then
|
22446 | 19998 |
|
22447 | |
cat >>confdefs.h <<\_ACEOF
|
22448 | |
#define STDC_HEADERS 1
|
|
19999 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
20000 |
|
|
20001 |
fi
|
|
20002 |
|
|
20003 |
for ac_header in stdlib.h string.h signal.h assert.h
|
|
20004 |
do :
|
|
20005 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
20006 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
20007 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|
20008 |
cat >>confdefs.h <<_ACEOF
|
|
20009 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
22449 | 20010 |
_ACEOF
|
22450 | 20011 |
|
22451 | 20012 |
fi
|
22452 | 20013 |
|
22453 | |
|
22454 | |
|
22455 | |
|
22456 | |
|
22457 | |
for ac_header in stdlib.h string.h signal.h assert.h
|
22458 | |
do
|
22459 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
22460 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
22461 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
22462 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
22463 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
22464 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22465 | |
fi
|
22466 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
22467 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
22468 | |
echo "${ECHO_T}$ac_res" >&6; }
|
22469 | |
else
|
22470 | |
# Is the header compilable?
|
22471 | |
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
|
22472 | |
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
|
22473 | |
cat >conftest.$ac_ext <<_ACEOF
|
22474 | |
/* confdefs.h. */
|
22475 | |
_ACEOF
|
22476 | |
cat confdefs.h >>conftest.$ac_ext
|
22477 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22478 | |
/* end confdefs.h. */
|
22479 | |
$ac_includes_default
|
22480 | |
#include <$ac_header>
|
22481 | |
_ACEOF
|
22482 | |
rm -f conftest.$ac_objext
|
22483 | |
if { (ac_try="$ac_compile"
|
22484 | |
case "(($ac_try" in
|
22485 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22486 | |
*) ac_try_echo=$ac_try;;
|
22487 | |
esac
|
22488 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22489 | |
(eval "$ac_compile") 2>conftest.er1
|
22490 | |
ac_status=$?
|
22491 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22492 | |
rm -f conftest.er1
|
22493 | |
cat conftest.err >&5
|
22494 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22495 | |
(exit $ac_status); } && {
|
22496 | |
test -z "$ac_c_werror_flag" ||
|
22497 | |
test ! -s conftest.err
|
22498 | |
} && test -s conftest.$ac_objext; then
|
22499 | |
ac_header_compiler=yes
|
22500 | |
else
|
22501 | |
echo "$as_me: failed program was:" >&5
|
22502 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22503 | |
|
22504 | |
ac_header_compiler=no
|
22505 | |
fi
|
22506 | |
|
22507 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
22508 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
22509 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
22510 | |
|
22511 | |
# Is the header present?
|
22512 | |
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
|
22513 | |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
|
22514 | |
cat >conftest.$ac_ext <<_ACEOF
|
22515 | |
/* confdefs.h. */
|
22516 | |
_ACEOF
|
22517 | |
cat confdefs.h >>conftest.$ac_ext
|
22518 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22519 | |
/* end confdefs.h. */
|
22520 | |
#include <$ac_header>
|
22521 | |
_ACEOF
|
22522 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
22523 | |
case "(($ac_try" in
|
22524 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22525 | |
*) ac_try_echo=$ac_try;;
|
22526 | |
esac
|
22527 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22528 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
22529 | |
ac_status=$?
|
22530 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22531 | |
rm -f conftest.er1
|
22532 | |
cat conftest.err >&5
|
22533 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22534 | |
(exit $ac_status); } >/dev/null && {
|
22535 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
22536 | |
test ! -s conftest.err
|
22537 | |
}; then
|
22538 | |
ac_header_preproc=yes
|
22539 | |
else
|
22540 | |
echo "$as_me: failed program was:" >&5
|
22541 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22542 | |
|
22543 | |
ac_header_preproc=no
|
22544 | |
fi
|
22545 | |
|
22546 | |
rm -f conftest.err conftest.$ac_ext
|
22547 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
22548 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
22549 | |
|
22550 | |
# So? What about this header?
|
22551 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
22552 | |
yes:no: )
|
22553 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
|
22554 | |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
22555 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
|
22556 | |
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
|
22557 | |
ac_header_preproc=yes
|
22558 | |
;;
|
22559 | |
no:yes:* )
|
22560 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
|
22561 | |
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
|
22562 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
|
22563 | |
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
|
22564 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
|
22565 | |
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
|
22566 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
|
22567 | |
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
|
22568 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
|
22569 | |
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
|
22570 | |
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
|
22571 | |
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
|
22572 | |
|
22573 | |
;;
|
22574 | |
esac
|
22575 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
22576 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
22577 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
22578 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22579 | |
else
|
22580 | |
eval "$as_ac_Header=\$ac_header_preproc"
|
22581 | |
fi
|
22582 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
22583 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
22584 | |
echo "${ECHO_T}$ac_res" >&6; }
|
22585 | |
|
22586 | |
fi
|
22587 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
22588 | |
cat >>confdefs.h <<_ACEOF
|
22589 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
22590 | |
_ACEOF
|
22591 | |
|
22592 | |
fi
|
22593 | |
|
22594 | 20014 |
done
|
22595 | 20015 |
|
22596 | 20016 |
|
22597 | 20017 |
# Checks for typedefs, structures, and compiler characteristics.
|
22598 | |
{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
|
22599 | |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
|
22600 | |
if test "${ac_cv_c_const+set}" = set; then
|
22601 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22602 | |
else
|
22603 | |
cat >conftest.$ac_ext <<_ACEOF
|
22604 | |
/* confdefs.h. */
|
22605 | |
_ACEOF
|
22606 | |
cat confdefs.h >>conftest.$ac_ext
|
22607 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
20018 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
|
|
20019 |
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
|
|
20020 |
if ${ac_cv_c_const+:} false; then :
|
|
20021 |
$as_echo_n "(cached) " >&6
|
|
20022 |
else
|
|
20023 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22608 | 20024 |
/* end confdefs.h. */
|
22609 | 20025 |
|
22610 | 20026 |
int
|
22611 | 20027 |
main ()
|
22612 | 20028 |
{
|
22613 | |
/* FIXME: Include the comments suggested by Paul. */
|
|
20029 |
|
22614 | 20030 |
#ifndef __cplusplus
|
22615 | |
/* Ultrix mips cc rejects this. */
|
|
20031 |
/* Ultrix mips cc rejects this sort of thing. */
|
22616 | 20032 |
typedef int charset[2];
|
22617 | |
const charset cs;
|
|
20033 |
const charset cs = { 0, 0 };
|
22618 | 20034 |
/* SunOS 4.1.1 cc rejects this. */
|
22619 | 20035 |
char const *const *pcpcc;
|
22620 | 20036 |
char **ppc;
|
|
22631 | 20047 |
++pcpcc;
|
22632 | 20048 |
ppc = (char**) pcpcc;
|
22633 | 20049 |
pcpcc = (char const *const *) ppc;
|
22634 | |
{ /* SCO 3.2v4 cc rejects this. */
|
22635 | |
char *t;
|
|
20050 |
{ /* SCO 3.2v4 cc rejects this sort of thing. */
|
|
20051 |
char tx;
|
|
20052 |
char *t = &tx;
|
22636 | 20053 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
22637 | 20054 |
|
22638 | 20055 |
*t++ = 0;
|
|
22648 | 20065 |
iptr p = 0;
|
22649 | 20066 |
++p;
|
22650 | 20067 |
}
|
22651 | |
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
20068 |
{ /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
|
22652 | 20069 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
22653 | |
struct s { int j; const int *ap[3]; };
|
22654 | |
struct s *b; b->j = 5;
|
|
20070 |
struct s { int j; const int *ap[3]; } bx;
|
|
20071 |
struct s *b = &bx; b->j = 5;
|
22655 | 20072 |
}
|
22656 | 20073 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
22657 | 20074 |
const int foo = 10;
|
|
22664 | 20081 |
return 0;
|
22665 | 20082 |
}
|
22666 | 20083 |
_ACEOF
|
22667 | |
rm -f conftest.$ac_objext
|
22668 | |
if { (ac_try="$ac_compile"
|
22669 | |
case "(($ac_try" in
|
22670 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22671 | |
*) ac_try_echo=$ac_try;;
|
22672 | |
esac
|
22673 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22674 | |
(eval "$ac_compile") 2>conftest.er1
|
22675 | |
ac_status=$?
|
22676 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22677 | |
rm -f conftest.er1
|
22678 | |
cat conftest.err >&5
|
22679 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22680 | |
(exit $ac_status); } && {
|
22681 | |
test -z "$ac_c_werror_flag" ||
|
22682 | |
test ! -s conftest.err
|
22683 | |
} && test -s conftest.$ac_objext; then
|
|
20084 |
if ac_fn_c_try_compile "$LINENO"; then :
|
22684 | 20085 |
ac_cv_c_const=yes
|
22685 | 20086 |
else
|
22686 | |
echo "$as_me: failed program was:" >&5
|
22687 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22688 | |
|
22689 | |
ac_cv_c_const=no
|
22690 | |
fi
|
22691 | |
|
|
20087 |
ac_cv_c_const=no
|
|
20088 |
fi
|
22692 | 20089 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
22693 | 20090 |
fi
|
22694 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
|
22695 | |
echo "${ECHO_T}$ac_cv_c_const" >&6; }
|
|
20091 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
|
|
20092 |
$as_echo "$ac_cv_c_const" >&6; }
|
22696 | 20093 |
if test $ac_cv_c_const = no; then
|
22697 | 20094 |
|
22698 | |
cat >>confdefs.h <<\_ACEOF
|
22699 | |
#define const
|
22700 | |
_ACEOF
|
22701 | |
|
22702 | |
fi
|
22703 | |
|
22704 | |
{ echo "$as_me:$LINENO: checking for size_t" >&5
|
22705 | |
echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
|
22706 | |
if test "${ac_cv_type_size_t+set}" = set; then
|
22707 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22708 | |
else
|
22709 | |
cat >conftest.$ac_ext <<_ACEOF
|
22710 | |
/* confdefs.h. */
|
22711 | |
_ACEOF
|
22712 | |
cat confdefs.h >>conftest.$ac_ext
|
22713 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22714 | |
/* end confdefs.h. */
|
22715 | |
$ac_includes_default
|
22716 | |
typedef size_t ac__type_new_;
|
22717 | |
int
|
22718 | |
main ()
|
22719 | |
{
|
22720 | |
if ((ac__type_new_ *) 0)
|
22721 | |
return 0;
|
22722 | |
if (sizeof (ac__type_new_))
|
22723 | |
return 0;
|
22724 | |
;
|
22725 | |
return 0;
|
22726 | |
}
|
22727 | |
_ACEOF
|
22728 | |
rm -f conftest.$ac_objext
|
22729 | |
if { (ac_try="$ac_compile"
|
22730 | |
case "(($ac_try" in
|
22731 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22732 | |
*) ac_try_echo=$ac_try;;
|
22733 | |
esac
|
22734 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22735 | |
(eval "$ac_compile") 2>conftest.er1
|
22736 | |
ac_status=$?
|
22737 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22738 | |
rm -f conftest.er1
|
22739 | |
cat conftest.err >&5
|
22740 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22741 | |
(exit $ac_status); } && {
|
22742 | |
test -z "$ac_c_werror_flag" ||
|
22743 | |
test ! -s conftest.err
|
22744 | |
} && test -s conftest.$ac_objext; then
|
22745 | |
ac_cv_type_size_t=yes
|
22746 | |
else
|
22747 | |
echo "$as_me: failed program was:" >&5
|
22748 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22749 | |
|
22750 | |
ac_cv_type_size_t=no
|
22751 | |
fi
|
22752 | |
|
22753 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
22754 | |
fi
|
22755 | |
{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
|
22756 | |
echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
|
22757 | |
if test $ac_cv_type_size_t = yes; then
|
22758 | |
:
|
|
20095 |
$as_echo "#define const /**/" >>confdefs.h
|
|
20096 |
|
|
20097 |
fi
|
|
20098 |
|
|
20099 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
|
20100 |
if test "x$ac_cv_type_size_t" = xyes; then :
|
|
20101 |
|
22759 | 20102 |
else
|
22760 | 20103 |
|
22761 | 20104 |
cat >>confdefs.h <<_ACEOF
|
|
22771 | 20114 |
#AC_FUNC_MALLOC
|
22772 | 20115 |
|
22773 | 20116 |
|
22774 | |
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
|
22775 | |
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
|
22776 | |
if test "${ac_cv_func_memcmp_working+set}" = set; then
|
22777 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22778 | |
else
|
22779 | |
if test "$cross_compiling" = yes; then
|
|
20117 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
|
|
20118 |
$as_echo_n "checking for working memcmp... " >&6; }
|
|
20119 |
if ${ac_cv_func_memcmp_working+:} false; then :
|
|
20120 |
$as_echo_n "(cached) " >&6
|
|
20121 |
else
|
|
20122 |
if test "$cross_compiling" = yes; then :
|
22780 | 20123 |
ac_cv_func_memcmp_working=no
|
22781 | 20124 |
else
|
22782 | |
cat >conftest.$ac_ext <<_ACEOF
|
22783 | |
/* confdefs.h. */
|
22784 | |
_ACEOF
|
22785 | |
cat confdefs.h >>conftest.$ac_ext
|
22786 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
20125 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
22787 | 20126 |
/* end confdefs.h. */
|
22788 | 20127 |
$ac_includes_default
|
22789 | 20128 |
int
|
|
22818 | 20157 |
return 0;
|
22819 | 20158 |
}
|
22820 | 20159 |
_ACEOF
|
22821 | |
rm -f conftest$ac_exeext
|
22822 | |
if { (ac_try="$ac_link"
|
22823 | |
case "(($ac_try" in
|
22824 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22825 | |
*) ac_try_echo=$ac_try;;
|
22826 | |
esac
|
22827 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22828 | |
(eval "$ac_link") 2>&5
|
22829 | |
ac_status=$?
|
22830 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22831 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
22832 | |
{ (case "(($ac_try" in
|
22833 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22834 | |
*) ac_try_echo=$ac_try;;
|
22835 | |
esac
|
22836 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22837 | |
(eval "$ac_try") 2>&5
|
22838 | |
ac_status=$?
|
22839 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22840 | |
(exit $ac_status); }; }; then
|
|
20160 |
if ac_fn_c_try_run "$LINENO"; then :
|
22841 | 20161 |
ac_cv_func_memcmp_working=yes
|
22842 | 20162 |
else
|
22843 | |
echo "$as_me: program exited with status $ac_status" >&5
|
22844 | |
echo "$as_me: failed program was:" >&5
|
22845 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22846 | |
|
22847 | |
( exit $ac_status )
|
22848 | |
ac_cv_func_memcmp_working=no
|
22849 | |
fi
|
22850 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
22851 | |
fi
|
22852 | |
|
22853 | |
|
22854 | |
fi
|
22855 | |
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
|
22856 | |
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
|
|
20163 |
ac_cv_func_memcmp_working=no
|
|
20164 |
fi
|
|
20165 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
20166 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
20167 |
fi
|
|
20168 |
|
|
20169 |
fi
|
|
20170 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
|
|
20171 |
$as_echo "$ac_cv_func_memcmp_working" >&6; }
|
22857 | 20172 |
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
|
22858 | 20173 |
*" memcmp.$ac_objext "* ) ;;
|
22859 | 20174 |
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
|
|
22861 | 20176 |
esac
|
22862 | 20177 |
|
22863 | 20178 |
|
22864 | |
|
22865 | |
|
22866 | |
|
22867 | 20179 |
for ac_func in memset strrchr setbuf
|
22868 | |
do
|
22869 | |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
22870 | |
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
22871 | |
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
|
22872 | |
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
|
22873 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
22874 | |
else
|
22875 | |
cat >conftest.$ac_ext <<_ACEOF
|
22876 | |
/* confdefs.h. */
|
22877 | |
_ACEOF
|
22878 | |
cat confdefs.h >>conftest.$ac_ext
|
22879 | |
cat >>conftest.$ac_ext <<_ACEOF
|
22880 | |
/* end confdefs.h. */
|
22881 | |
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
|
22882 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
22883 | |
#define $ac_func innocuous_$ac_func
|
22884 | |
|
22885 | |
/* System header to define __stub macros and hopefully few prototypes,
|
22886 | |
which can conflict with char $ac_func (); below.
|
22887 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
22888 | |
<limits.h> exists even on freestanding compilers. */
|
22889 | |
|
22890 | |
#ifdef __STDC__
|
22891 | |
# include <limits.h>
|
22892 | |
#else
|
22893 | |
# include <assert.h>
|
22894 | |
#endif
|
22895 | |
|
22896 | |
#undef $ac_func
|
22897 | |
|
22898 | |
/* Override any GCC internal prototype to avoid an error.
|
22899 | |
Use char because int might match the return type of a GCC
|
22900 | |
builtin and then its argument prototype would still apply. */
|
22901 | |
#ifdef __cplusplus
|
22902 | |
extern "C"
|
22903 | |
#endif
|
22904 | |
char $ac_func ();
|
22905 | |
/* The GNU C library defines this for functions which it implements
|
22906 | |
to always fail with ENOSYS. Some functions are actually named
|
22907 | |
something starting with __ and the normal name is an alias. */
|
22908 | |
#if defined __stub_$ac_func || defined __stub___$ac_func
|
22909 | |
choke me
|
22910 | |
#endif
|
22911 | |
|
22912 | |
int
|
22913 | |
main ()
|
22914 | |
{
|
22915 | |
return $ac_func ();
|
22916 | |
;
|
22917 | |
return 0;
|
22918 | |
}
|
22919 | |
_ACEOF
|
22920 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
22921 | |
if { (ac_try="$ac_link"
|
22922 | |
case "(($ac_try" in
|
22923 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
22924 | |
*) ac_try_echo=$ac_try;;
|
22925 | |
esac
|
22926 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
22927 | |
(eval "$ac_link") 2>conftest.er1
|
22928 | |
ac_status=$?
|
22929 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
22930 | |
rm -f conftest.er1
|
22931 | |
cat conftest.err >&5
|
22932 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
22933 | |
(exit $ac_status); } && {
|
22934 | |
test -z "$ac_c_werror_flag" ||
|
22935 | |
test ! -s conftest.err
|
22936 | |
} && test -s conftest$ac_exeext &&
|
22937 | |
$as_test_x conftest$ac_exeext; then
|
22938 | |
eval "$as_ac_var=yes"
|
22939 | |
else
|
22940 | |
echo "$as_me: failed program was:" >&5
|
22941 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
22942 | |
|
22943 | |
eval "$as_ac_var=no"
|
22944 | |
fi
|
22945 | |
|
22946 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
22947 | |
conftest$ac_exeext conftest.$ac_ext
|
22948 | |
fi
|
22949 | |
ac_res=`eval echo '${'$as_ac_var'}'`
|
22950 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
22951 | |
echo "${ECHO_T}$ac_res" >&6; }
|
22952 | |
if test `eval echo '${'$as_ac_var'}'` = yes; then
|
|
20180 |
do :
|
|
20181 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
20182 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
20183 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
22953 | 20184 |
cat >>confdefs.h <<_ACEOF
|
22954 | |
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
20185 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
22955 | 20186 |
_ACEOF
|
22956 | 20187 |
|
22957 | 20188 |
fi
|
|
23018 | 20249 |
case $ac_val in #(
|
23019 | 20250 |
*${as_nl}*)
|
23020 | 20251 |
case $ac_var in #(
|
23021 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
23022 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
20252 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
20253 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
23023 | 20254 |
esac
|
23024 | 20255 |
case $ac_var in #(
|
23025 | 20256 |
_ | IFS | as_nl) ;; #(
|
23026 | |
*) $as_unset $ac_var ;;
|
|
20257 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
20258 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
23027 | 20259 |
esac ;;
|
23028 | 20260 |
esac
|
23029 | 20261 |
done
|
|
23031 | 20263 |
(set) 2>&1 |
|
23032 | 20264 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
23033 | 20265 |
*${as_nl}ac_space=\ *)
|
23034 | |
# `set' does not quote correctly, so add quotes (double-quote
|
23035 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
20266 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
20267 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
23036 | 20268 |
sed -n \
|
23037 | 20269 |
"s/'/'\\\\''/g;
|
23038 | 20270 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
23054 | 20286 |
:end' >>confcache
|
23055 | 20287 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
23056 | 20288 |
if test -w "$cache_file"; then
|
23057 | |
test "x$cache_file" != "x/dev/null" &&
|
23058 | |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
23059 | |
echo "$as_me: updating cache $cache_file" >&6;}
|
23060 | |
cat confcache >$cache_file
|
|
20289 |
if test "x$cache_file" != "x/dev/null"; then
|
|
20290 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
20291 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
20292 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
|
20293 |
cat confcache >"$cache_file"
|
|
20294 |
else
|
|
20295 |
case $cache_file in #(
|
|
20296 |
*/* | ?:*)
|
|
20297 |
mv -f confcache "$cache_file"$$ &&
|
|
20298 |
mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|
20299 |
*)
|
|
20300 |
mv -f confcache "$cache_file" ;;
|
|
20301 |
esac
|
|
20302 |
fi
|
|
20303 |
fi
|
23061 | 20304 |
else
|
23062 | |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
23063 | |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
20305 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
20306 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
23064 | 20307 |
fi
|
23065 | 20308 |
fi
|
23066 | 20309 |
rm -f confcache
|
|
23073 | 20316 |
|
23074 | 20317 |
ac_libobjs=
|
23075 | 20318 |
ac_ltlibobjs=
|
|
20319 |
U=
|
23076 | 20320 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
23077 | 20321 |
# 1. Remove the extension, and $U if already installed.
|
23078 | 20322 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
23079 | |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
20323 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
23080 | 20324 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
23081 | 20325 |
# will be set to the directory where LIBOBJS objects are built.
|
23082 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
23083 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
20326 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
20327 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
23084 | 20328 |
done
|
23085 | 20329 |
LIBOBJS=$ac_libobjs
|
23086 | 20330 |
|
|
23088 | 20332 |
|
23089 | 20333 |
|
23090 | 20334 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
23091 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
23092 | |
Usually this means the macro was only invoked conditionally." >&5
|
23093 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
23094 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23095 | |
{ (exit 1); exit 1; }; }
|
|
20335 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|
20336 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
23096 | 20337 |
fi
|
23097 | 20338 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
23098 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
23099 | |
Usually this means the macro was only invoked conditionally." >&5
|
23100 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
23101 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23102 | |
{ (exit 1); exit 1; }; }
|
|
20339 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
20340 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
23103 | 20341 |
fi
|
23104 | 20342 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
23105 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
|
23106 | |
Usually this means the macro was only invoked conditionally." >&5
|
23107 | |
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
|
23108 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23109 | |
{ (exit 1); exit 1; }; }
|
|
20343 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
|
|
20344 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
23110 | 20345 |
fi
|
23111 | 20346 |
if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
|
23112 | |
{ { echo "$as_me:$LINENO: error: conditional \"USE_TIMIDITY\" was never defined.
|
23113 | |
Usually this means the macro was only invoked conditionally." >&5
|
23114 | |
echo "$as_me: error: conditional \"USE_TIMIDITY\" was never defined.
|
23115 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23116 | |
{ (exit 1); exit 1; }; }
|
|
20347 |
as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
|
|
20348 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
23117 | 20349 |
fi
|
23118 | 20350 |
if test -z "${USE_MPGLIB_TRUE}" && test -z "${USE_MPGLIB_FALSE}"; then
|
23119 | |
{ { echo "$as_me:$LINENO: error: conditional \"USE_MPGLIB\" was never defined.
|
23120 | |
Usually this means the macro was only invoked conditionally." >&5
|
23121 | |
echo "$as_me: error: conditional \"USE_MPGLIB\" was never defined.
|
23122 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23123 | |
{ (exit 1); exit 1; }; }
|
|
20351 |
as_fn_error $? "conditional \"USE_MPGLIB\" was never defined.
|
|
20352 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
23124 | 20353 |
fi
|
23125 | 20354 |
if test -z "${USE_PHYSICSFS_TRUE}" && test -z "${USE_PHYSICSFS_FALSE}"; then
|
23126 | |
{ { echo "$as_me:$LINENO: error: conditional \"USE_PHYSICSFS\" was never defined.
|
23127 | |
Usually this means the macro was only invoked conditionally." >&5
|
23128 | |
echo "$as_me: error: conditional \"USE_PHYSICSFS\" was never defined.
|
23129 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
23130 | |
{ (exit 1); exit 1; }; }
|
23131 | |
fi
|
23132 | |
|
23133 | |
: ${CONFIG_STATUS=./config.status}
|
|
20355 |
as_fn_error $? "conditional \"USE_PHYSICSFS\" was never defined.
|
|
20356 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
20357 |
fi
|
|
20358 |
|
|
20359 |
: "${CONFIG_STATUS=./config.status}"
|
|
20360 |
ac_write_fail=0
|
23134 | 20361 |
ac_clean_files_save=$ac_clean_files
|
23135 | 20362 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
23136 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
23137 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
23138 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
20363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
20364 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
20365 |
as_write_fail=0
|
|
20366 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
23139 | 20367 |
#! $SHELL
|
23140 | 20368 |
# Generated by $as_me.
|
23141 | 20369 |
# Run this file to recreate the current configuration.
|
|
23145 | 20373 |
debug=false
|
23146 | 20374 |
ac_cs_recheck=false
|
23147 | 20375 |
ac_cs_silent=false
|
|
20376 |
|
23148 | 20377 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
23149 | |
_ACEOF
|
23150 | |
|
23151 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23152 | |
## --------------------- ##
|
23153 | |
## M4sh Initialization. ##
|
23154 | |
## --------------------- ##
|
|
20378 |
export SHELL
|
|
20379 |
_ASEOF
|
|
20380 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
20381 |
## -------------------- ##
|
|
20382 |
## M4sh Initialization. ##
|
|
20383 |
## -------------------- ##
|
23155 | 20384 |
|
23156 | 20385 |
# Be more Bourne compatible
|
23157 | 20386 |
DUALCASE=1; export DUALCASE # for MKS sh
|
23158 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
20387 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
23159 | 20388 |
emulate sh
|
23160 | 20389 |
NULLCMD=:
|
23161 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
20390 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
23162 | 20391 |
# is contrary to our usage. Disable this feature.
|
23163 | 20392 |
alias -g '${1+"$@"}'='"$@"'
|
23164 | 20393 |
setopt NO_GLOB_SUBST
|
23165 | 20394 |
else
|
23166 | |
case `(set -o) 2>/dev/null` in
|
23167 | |
*posix*) set -o posix ;;
|
|
20395 |
case `(set -o) 2>/dev/null` in #(
|
|
20396 |
*posix*) :
|
|
20397 |
set -o posix ;; #(
|
|
20398 |
*) :
|
|
20399 |
;;
|
23168 | 20400 |
esac
|
23169 | |
|
23170 | |
fi
|
23171 | |
|
23172 | |
|
23173 | |
|
23174 | |
|
23175 | |
# PATH needs CR
|
23176 | |
# Avoid depending upon Character Ranges.
|
23177 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
23178 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
23179 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
23180 | |
as_cr_digits='0123456789'
|
23181 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
20401 |
fi
|
|
20402 |
|
|
20403 |
|
|
20404 |
as_nl='
|
|
20405 |
'
|
|
20406 |
export as_nl
|
|
20407 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
20408 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
20409 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
20410 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
20411 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
20412 |
# but without wasting forks for bash or zsh.
|
|
20413 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
20414 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
20415 |
as_echo='print -r --'
|
|
20416 |
as_echo_n='print -rn --'
|
|
20417 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
20418 |
as_echo='printf %s\n'
|
|
20419 |
as_echo_n='printf %s'
|
|
20420 |
else
|
|
20421 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
20422 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
20423 |
as_echo_n='/usr/ucb/echo -n'
|
|
20424 |
else
|
|
20425 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
20426 |
as_echo_n_body='eval
|
|
20427 |
arg=$1;
|
|
20428 |
case $arg in #(
|
|
20429 |
*"$as_nl"*)
|
|
20430 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
20431 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
20432 |
esac;
|
|
20433 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
20434 |
'
|
|
20435 |
export as_echo_n_body
|
|
20436 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
20437 |
fi
|
|
20438 |
export as_echo_body
|
|
20439 |
as_echo='sh -c $as_echo_body as_echo'
|
|
20440 |
fi
|
23182 | 20441 |
|
23183 | 20442 |
# The user is always right.
|
23184 | 20443 |
if test "${PATH_SEPARATOR+set}" != set; then
|
23185 | |
echo "#! /bin/sh" >conf$$.sh
|
23186 | |
echo "exit 0" >>conf$$.sh
|
23187 | |
chmod +x conf$$.sh
|
23188 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
23189 | |
PATH_SEPARATOR=';'
|
23190 | |
else
|
23191 | |
PATH_SEPARATOR=:
|
23192 | |
fi
|
23193 | |
rm -f conf$$.sh
|
23194 | |
fi
|
23195 | |
|
23196 | |
# Support unset when possible.
|
23197 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
23198 | |
as_unset=unset
|
23199 | |
else
|
23200 | |
as_unset=false
|
|
20444 |
PATH_SEPARATOR=:
|
|
20445 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
20446 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
20447 |
PATH_SEPARATOR=';'
|
|
20448 |
}
|
23201 | 20449 |
fi
|
23202 | 20450 |
|
23203 | 20451 |
|
|
23206 | 20454 |
# there to prevent editors from complaining about space-tab.
|
23207 | 20455 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
23208 | 20456 |
# splitting by setting IFS to empty value.)
|
23209 | |
as_nl='
|
23210 | |
'
|
23211 | 20457 |
IFS=" "" $as_nl"
|
23212 | 20458 |
|
23213 | 20459 |
# Find who we are. Look in the path if we contain no directory separator.
|
23214 | |
case $0 in
|
|
20460 |
as_myself=
|
|
20461 |
case $0 in #((
|
23215 | 20462 |
*[\\/]* ) as_myself=$0 ;;
|
23216 | 20463 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
23217 | 20464 |
for as_dir in $PATH
|
23218 | 20465 |
do
|
23219 | 20466 |
IFS=$as_save_IFS
|
23220 | 20467 |
test -z "$as_dir" && as_dir=.
|
23221 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
23222 | |
done
|
|
20468 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
20469 |
done
|
23223 | 20470 |
IFS=$as_save_IFS
|
23224 | 20471 |
|
23225 | 20472 |
;;
|
|
23230 | 20477 |
as_myself=$0
|
23231 | 20478 |
fi
|
23232 | 20479 |
if test ! -f "$as_myself"; then
|
23233 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
23234 | |
{ (exit 1); exit 1; }
|
23235 | |
fi
|
23236 | |
|
23237 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
23238 | |
for as_var in ENV MAIL MAILPATH
|
23239 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
20480 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
20481 |
exit 1
|
|
20482 |
fi
|
|
20483 |
|
|
20484 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
20485 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
20486 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
20487 |
# trigger a bug in pdksh 5.2.14.
|
|
20488 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
20489 |
do eval test x\${$as_var+set} = xset \
|
|
20490 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
23240 | 20491 |
done
|
23241 | 20492 |
PS1='$ '
|
23242 | 20493 |
PS2='> '
|
23243 | 20494 |
PS4='+ '
|
23244 | 20495 |
|
23245 | 20496 |
# NLS nuisances.
|
23246 | |
for as_var in \
|
23247 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
23248 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
23249 | |
LC_TELEPHONE LC_TIME
|
23250 | |
do
|
23251 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
23252 | |
eval $as_var=C; export $as_var
|
23253 | |
else
|
23254 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
20497 |
LC_ALL=C
|
|
20498 |
export LC_ALL
|
|
20499 |
LANGUAGE=C
|
|
20500 |
export LANGUAGE
|
|
20501 |
|
|
20502 |
# CDPATH.
|
|
20503 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
20504 |
|
|
20505 |
|
|
20506 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
20507 |
# ----------------------------------------
|
|
20508 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
20509 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
20510 |
# script with STATUS, using 1 if that was 0.
|
|
20511 |
as_fn_error ()
|
|
20512 |
{
|
|
20513 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
20514 |
if test "$4"; then
|
|
20515 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
20516 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
23255 | 20517 |
fi
|
23256 | |
done
|
23257 | |
|
23258 | |
# Required to use basename.
|
|
20518 |
$as_echo "$as_me: error: $2" >&2
|
|
20519 |
as_fn_exit $as_status
|
|
20520 |
} # as_fn_error
|
|
20521 |
|
|
20522 |
|
|
20523 |
# as_fn_set_status STATUS
|
|
20524 |
# -----------------------
|
|
20525 |
# Set $? to STATUS, without forking.
|
|
20526 |
as_fn_set_status ()
|
|
20527 |
{
|
|
20528 |
return $1
|
|
20529 |
} # as_fn_set_status
|
|
20530 |
|
|
20531 |
# as_fn_exit STATUS
|
|
20532 |
# -----------------
|
|
20533 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
20534 |
as_fn_exit ()
|
|
20535 |
{
|
|
20536 |
set +e
|
|
20537 |
as_fn_set_status $1
|
|
20538 |
exit $1
|
|
20539 |
} # as_fn_exit
|
|
20540 |
|
|
20541 |
# as_fn_unset VAR
|
|
20542 |
# ---------------
|
|
20543 |
# Portably unset VAR.
|
|
20544 |
as_fn_unset ()
|
|
20545 |
{
|
|
20546 |
{ eval $1=; unset $1;}
|
|
20547 |
}
|
|
20548 |
as_unset=as_fn_unset
|
|
20549 |
# as_fn_append VAR VALUE
|
|
20550 |
# ----------------------
|
|
20551 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
20552 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
20553 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
20554 |
# implementations.
|
|
20555 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
20556 |
eval 'as_fn_append ()
|
|
20557 |
{
|
|
20558 |
eval $1+=\$2
|
|
20559 |
}'
|
|
20560 |
else
|
|
20561 |
as_fn_append ()
|
|
20562 |
{
|
|
20563 |
eval $1=\$$1\$2
|
|
20564 |
}
|
|
20565 |
fi # as_fn_append
|
|
20566 |
|
|
20567 |
# as_fn_arith ARG...
|
|
20568 |
# ------------------
|
|
20569 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
20570 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
20571 |
# must be portable across $(()) and expr.
|
|
20572 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
20573 |
eval 'as_fn_arith ()
|
|
20574 |
{
|
|
20575 |
as_val=$(( $* ))
|
|
20576 |
}'
|
|
20577 |
else
|
|
20578 |
as_fn_arith ()
|
|
20579 |
{
|
|
20580 |
as_val=`expr "$@" || test $? -eq 1`
|
|
20581 |
}
|
|
20582 |
fi # as_fn_arith
|
|
20583 |
|
|
20584 |
|
23259 | 20585 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
23260 | 20586 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
23261 | 20587 |
as_expr=expr
|
|
23269 | 20595 |
as_basename=false
|
23270 | 20596 |
fi
|
23271 | 20597 |
|
23272 | |
|
23273 | |
# Name of the executable.
|
|
20598 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
20599 |
as_dirname=dirname
|
|
20600 |
else
|
|
20601 |
as_dirname=false
|
|
20602 |
fi
|
|
20603 |
|
23274 | 20604 |
as_me=`$as_basename -- "$0" ||
|
23275 | 20605 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
23276 | 20606 |
X"$0" : 'X\(//\)$' \| \
|
23277 | 20607 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
23278 | |
echo X/"$0" |
|
|
20608 |
$as_echo X/"$0" |
|
23279 | 20609 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
23280 | 20610 |
s//\1/
|
23281 | 20611 |
q
|
|
23290 | 20620 |
}
|
23291 | 20621 |
s/.*/./; q'`
|
23292 | 20622 |
|
23293 | |
# CDPATH.
|
23294 | |
$as_unset CDPATH
|
23295 | |
|
23296 | |
|
23297 | |
|
23298 | |
as_lineno_1=$LINENO
|
23299 | |
as_lineno_2=$LINENO
|
23300 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
23301 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
23302 | |
|
23303 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
23304 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
23305 | |
# line-number line after each line using $LINENO; the second 'sed'
|
23306 | |
# does the real work. The second script uses 'N' to pair each
|
23307 | |
# line-number line with the line containing $LINENO, and appends
|
23308 | |
# trailing '-' during substitution so that $LINENO is not a special
|
23309 | |
# case at line end.
|
23310 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
23311 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
23312 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
23313 | |
sed -n '
|
23314 | |
p
|
23315 | |
/[$]LINENO/=
|
23316 | |
' <$as_myself |
|
23317 | |
sed '
|
23318 | |
s/[$]LINENO.*/&-/
|
23319 | |
t lineno
|
23320 | |
b
|
23321 | |
:lineno
|
23322 | |
N
|
23323 | |
:loop
|
23324 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
23325 | |
t loop
|
23326 | |
s/-\n.*//
|
23327 | |
' >$as_me.lineno &&
|
23328 | |
chmod +x "$as_me.lineno" ||
|
23329 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
23330 | |
{ (exit 1); exit 1; }; }
|
23331 | |
|
23332 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
23333 | |
# (the dirname of $[0] is not the place where we might find the
|
23334 | |
# original and so on. Autoconf is especially sensitive to this).
|
23335 | |
. "./$as_me.lineno"
|
23336 | |
# Exit status is that of the last command.
|
23337 | |
exit
|
23338 | |
}
|
23339 | |
|
23340 | |
|
23341 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
23342 | |
as_dirname=dirname
|
23343 | |
else
|
23344 | |
as_dirname=false
|
23345 | |
fi
|
|
20623 |
# Avoid depending upon Character Ranges.
|
|
20624 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
20625 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
20626 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
20627 |
as_cr_digits='0123456789'
|
|
20628 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
23346 | 20629 |
|
23347 | 20630 |
ECHO_C= ECHO_N= ECHO_T=
|
23348 | |
case `echo -n x` in
|
|
20631 |
case `echo -n x` in #(((((
|
23349 | 20632 |
-n*)
|
23350 | |
case `echo 'x\c'` in
|
|
20633 |
case `echo 'xy\c'` in
|
23351 | 20634 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
23352 | |
*) ECHO_C='\c';;
|
|
20635 |
xy) ECHO_C='\c';;
|
|
20636 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
20637 |
ECHO_T=' ';;
|
23353 | 20638 |
esac;;
|
23354 | 20639 |
*)
|
23355 | 20640 |
ECHO_N='-n';;
|
23356 | 20641 |
esac
|
23357 | 20642 |
|
23358 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
23359 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
23360 | |
as_expr=expr
|
23361 | |
else
|
23362 | |
as_expr=false
|
23363 | |
fi
|
23364 | |
|
23365 | 20643 |
rm -f conf$$ conf$$.exe conf$$.file
|
23366 | 20644 |
if test -d conf$$.dir; then
|
23367 | 20645 |
rm -f conf$$.dir/conf$$.file
|
23368 | 20646 |
else
|
23369 | 20647 |
rm -f conf$$.dir
|
23370 | |
mkdir conf$$.dir
|
23371 | |
fi
|
23372 | |
echo >conf$$.file
|
23373 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
23374 | |
as_ln_s='ln -s'
|
23375 | |
# ... but there are two gotchas:
|
23376 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
23377 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
23378 | |
# In both cases, we have to default to `cp -p'.
|
23379 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
23380 | |
as_ln_s='cp -p'
|
23381 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
23382 | |
as_ln_s=ln
|
23383 | |
else
|
23384 | |
as_ln_s='cp -p'
|
|
20648 |
mkdir conf$$.dir 2>/dev/null
|
|
20649 |
fi
|
|
20650 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
20651 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
20652 |
as_ln_s='ln -s'
|
|
20653 |
# ... but there are two gotchas:
|
|
20654 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
20655 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
20656 |
# In both cases, we have to default to `cp -pR'.
|
|
20657 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
20658 |
as_ln_s='cp -pR'
|
|
20659 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
20660 |
as_ln_s=ln
|
|
20661 |
else
|
|
20662 |
as_ln_s='cp -pR'
|
|
20663 |
fi
|
|
20664 |
else
|
|
20665 |
as_ln_s='cp -pR'
|
23385 | 20666 |
fi
|
23386 | 20667 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
23387 | 20668 |
rmdir conf$$.dir 2>/dev/null
|
23388 | 20669 |
|
23389 | |
if mkdir -p . 2>/dev/null; then
|
23390 | |
as_mkdir_p=:
|
23391 | |
else
|
23392 | |
test -d ./-p && rmdir ./-p
|
23393 | |
as_mkdir_p=false
|
23394 | |
fi
|
23395 | |
|
23396 | |
if test -x / >/dev/null 2>&1; then
|
23397 | |
as_test_x='test -x'
|
23398 | |
else
|
23399 | |
if ls -dL / >/dev/null 2>&1; then
|
23400 | |
as_ls_L_option=L
|
23401 | |
else
|
23402 | |
as_ls_L_option=
|
23403 | |
fi
|
23404 | |
as_test_x='
|
23405 | |
eval sh -c '\''
|
23406 | |
if test -d "$1"; then
|
23407 | |
test -d "$1/.";
|
23408 | |
else
|
23409 | |
case $1 in
|
23410 | |
-*)set "./$1";;
|
23411 | |
esac;
|
23412 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
23413 | |
???[sx]*):;;*)false;;esac;fi
|
23414 | |
'\'' sh
|
23415 | |
'
|
23416 | |
fi
|
23417 | |
as_executable_p=$as_test_x
|
23418 | |
|
23419 | |
# Sed expression to map a string onto a valid CPP name.
|
23420 | |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
23421 | |
|
23422 | |
# Sed expression to map a string onto a valid variable name.
|
23423 | |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
23424 | |
|
23425 | |
|
23426 | |
exec 6>&1
|
23427 | |
|
23428 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
23429 | |
# report actual input values of CONFIG_FILES etc. instead of their
|
23430 | |
# values after options handling.
|
23431 | |
ac_log="
|
23432 | |
This file was extended by $as_me, which was
|
23433 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
23434 | |
|
23435 | |
CONFIG_FILES = $CONFIG_FILES
|
23436 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
23437 | |
CONFIG_LINKS = $CONFIG_LINKS
|
23438 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
23439 | |
$ $0 $@
|
23440 | |
|
23441 | |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
23442 | |
"
|
23443 | |
|
23444 | |
_ACEOF
|
23445 | |
|
23446 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23447 | |
# Files that config.status was made for.
|
23448 | |
config_files="$ac_config_files"
|
23449 | |
config_headers="$ac_config_headers"
|
23450 | |
config_commands="$ac_config_commands"
|
23451 | |
|
23452 | |
_ACEOF
|
23453 | |
|
23454 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23455 | |
ac_cs_usage="\
|
23456 | |
\`$as_me' instantiates files from templates according to the
|
23457 | |
current configuration.
|
23458 | |
|
23459 | |
Usage: $0 [OPTIONS] [FILE]...
|
23460 | |
|
23461 | |
-h, --help print this help, then exit
|
23462 | |
-V, --version print version number and configuration settings, then exit
|
23463 | |
-q, --quiet do not print progress messages
|
23464 | |
-d, --debug don't remove temporary files
|
23465 | |
--recheck update $as_me by reconfiguring in the same conditions
|
23466 | |
--file=FILE[:TEMPLATE]
|
23467 | |
instantiate the configuration file FILE
|
23468 | |
--header=FILE[:TEMPLATE]
|
23469 | |
instantiate the configuration header FILE
|
23470 | |
|
23471 | |
Configuration files:
|
23472 | |
$config_files
|
23473 | |
|
23474 | |
Configuration headers:
|
23475 | |
$config_headers
|
23476 | |
|
23477 | |
Configuration commands:
|
23478 | |
$config_commands
|
23479 | |
|
23480 | |
Report bugs to <bug-autoconf@gnu.org>."
|
23481 | |
|
23482 | |
_ACEOF
|
23483 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23484 | |
ac_cs_version="\\
|
23485 | |
config.status
|
23486 | |
configured by $0, generated by GNU Autoconf 2.61,
|
23487 | |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
23488 | |
|
23489 | |
Copyright (C) 2006 Free Software Foundation, Inc.
|
23490 | |
This config.status script is free software; the Free Software Foundation
|
23491 | |
gives unlimited permission to copy, distribute and modify it."
|
23492 | |
|
23493 | |
ac_pwd='$ac_pwd'
|
23494 | |
srcdir='$srcdir'
|
23495 | |
INSTALL='$INSTALL'
|
23496 | |
_ACEOF
|
23497 | |
|
23498 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23499 | |
# If no file are specified by the user, then we need to provide default
|
23500 | |
# value. By we need to know if files were specified by the user.
|
23501 | |
ac_need_defaults=:
|
23502 | |
while test $# != 0
|
23503 | |
do
|
23504 | |
case $1 in
|
23505 | |
--*=*)
|
23506 | |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
23507 | |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
23508 | |
ac_shift=:
|
23509 | |
;;
|
23510 | |
*)
|
23511 | |
ac_option=$1
|
23512 | |
ac_optarg=$2
|
23513 | |
ac_shift=shift
|
23514 | |
;;
|
23515 | |
esac
|
23516 | |
|
23517 | |
case $ac_option in
|
23518 | |
# Handling of the options.
|
23519 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
23520 | |
ac_cs_recheck=: ;;
|
23521 | |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
23522 | |
echo "$ac_cs_version"; exit ;;
|
23523 | |
--debug | --debu | --deb | --de | --d | -d )
|
23524 | |
debug=: ;;
|
23525 | |
--file | --fil | --fi | --f )
|
23526 | |
$ac_shift
|
23527 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
23528 | |
ac_need_defaults=false;;
|
23529 | |
--header | --heade | --head | --hea )
|
23530 | |
$ac_shift
|
23531 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
23532 | |
ac_need_defaults=false;;
|
23533 | |
--he | --h)
|
23534 | |
# Conflict between --help and --header
|
23535 | |
{ echo "$as_me: error: ambiguous option: $1
|
23536 | |
Try \`$0 --help' for more information." >&2
|
23537 | |
{ (exit 1); exit 1; }; };;
|
23538 | |
--help | --hel | -h )
|
23539 | |
echo "$ac_cs_usage"; exit ;;
|
23540 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
23541 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
23542 | |
ac_cs_silent=: ;;
|
23543 | |
|
23544 | |
# This is an error.
|
23545 | |
-*) { echo "$as_me: error: unrecognized option: $1
|
23546 | |
Try \`$0 --help' for more information." >&2
|
23547 | |
{ (exit 1); exit 1; }; } ;;
|
23548 | |
|
23549 | |
*) ac_config_targets="$ac_config_targets $1"
|
23550 | |
ac_need_defaults=false ;;
|
23551 | |
|
23552 | |
esac
|
23553 | |
shift
|
23554 | |
done
|
23555 | |
|
23556 | |
ac_configure_extra_args=
|
23557 | |
|
23558 | |
if $ac_cs_silent; then
|
23559 | |
exec 6>/dev/null
|
23560 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
23561 | |
fi
|
23562 | |
|
23563 | |
_ACEOF
|
23564 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23565 | |
if \$ac_cs_recheck; then
|
23566 | |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
23567 | |
CONFIG_SHELL=$SHELL
|
23568 | |
export CONFIG_SHELL
|
23569 | |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
23570 | |
fi
|
23571 | |
|
23572 | |
_ACEOF
|
23573 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23574 | |
exec 5>>config.log
|
|
20670 |
|
|
20671 |
# as_fn_mkdir_p
|
|
20672 |
# -------------
|
|
20673 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
20674 |
as_fn_mkdir_p ()
|
23575 | 20675 |
{
|
23576 | |
echo
|
23577 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
23578 | |
## Running $as_me. ##
|
23579 | |
_ASBOX
|
23580 | |
echo "$ac_log"
|
23581 | |
} >&5
|
23582 | |
|
23583 | |
_ACEOF
|
23584 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23585 | |
#
|
23586 | |
# INIT-COMMANDS
|
23587 | |
#
|
23588 | |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
23589 | |
|
23590 | |
_ACEOF
|
23591 | |
|
23592 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23593 | |
|
23594 | |
# Handling of arguments.
|
23595 | |
for ac_config_target in $ac_config_targets
|
23596 | |
do
|
23597 | |
case $ac_config_target in
|
23598 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
23599 | |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
23600 | |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
23601 | |
"decoders/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/Makefile" ;;
|
23602 | |
"decoders/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/timidity/Makefile" ;;
|
23603 | |
"decoders/mpglib/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/mpglib/Makefile" ;;
|
23604 | |
"playsound/Makefile") CONFIG_FILES="$CONFIG_FILES playsound/Makefile" ;;
|
23605 | |
|
23606 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
23607 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
23608 | |
{ (exit 1); exit 1; }; };;
|
23609 | |
esac
|
23610 | |
done
|
23611 | |
|
23612 | |
|
23613 | |
# If the user did not use the arguments to specify the items to instantiate,
|
23614 | |
# then the envvar interface is used. Set only those that are not.
|
23615 | |
# We use the long form for the default assignment because of an extremely
|
23616 | |
# bizarre bug on SunOS 4.1.3.
|
23617 | |
if $ac_need_defaults; then
|
23618 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
23619 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
23620 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
23621 | |
fi
|
23622 | |
|
23623 | |
# Have a temporary directory for convenience. Make it in the build tree
|
23624 | |
# simply because there is no reason against having it here, and in addition,
|
23625 | |
# creating and moving files from /tmp can sometimes cause problems.
|
23626 | |
# Hook for its removal unless debugging.
|
23627 | |
# Note that there is a small window in which the directory will not be cleaned:
|
23628 | |
# after its creation but before its name has been assigned to `$tmp'.
|
23629 | |
$debug ||
|
23630 | |
{
|
23631 | |
tmp=
|
23632 | |
trap 'exit_status=$?
|
23633 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
23634 | |
' 0
|
23635 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
23636 | |
}
|
23637 | |
# Create a (secure) tmp directory for tmp files.
|
23638 | |
|
23639 | |
{
|
23640 | |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
23641 | |
test -n "$tmp" && test -d "$tmp"
|
23642 | |
} ||
|
23643 | |
{
|
23644 | |
tmp=./conf$$-$RANDOM
|
23645 | |
(umask 077 && mkdir "$tmp")
|
23646 | |
} ||
|
23647 | |
{
|
23648 | |
echo "$me: cannot create a temporary directory in ." >&2
|
23649 | |
{ (exit 1); exit 1; }
|
23650 | |
}
|
23651 | |
|
23652 | |
#
|
23653 | |
# Set up the sed scripts for CONFIG_FILES section.
|
23654 | |
#
|
23655 | |
|
23656 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
23657 | |
# This happens for instance when ./config.status config.h
|
23658 | |
if test -n "$CONFIG_FILES"; then
|
23659 | |
|
23660 | |
_ACEOF
|
23661 | |
|
23662 | |
|
23663 | |
|
23664 | |
ac_delim='%!_!# '
|
23665 | |
for ac_last_try in false false false false false :; do
|
23666 | |
cat >conf$$subs.sed <<_ACEOF
|
23667 | |
SHELL!$SHELL$ac_delim
|
23668 | |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
23669 | |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
23670 | |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
23671 | |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
23672 | |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
23673 | |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
23674 | |
exec_prefix!$exec_prefix$ac_delim
|
23675 | |
prefix!$prefix$ac_delim
|
23676 | |
program_transform_name!$program_transform_name$ac_delim
|
23677 | |
bindir!$bindir$ac_delim
|
23678 | |
sbindir!$sbindir$ac_delim
|
23679 | |
libexecdir!$libexecdir$ac_delim
|
23680 | |
datarootdir!$datarootdir$ac_delim
|
23681 | |
datadir!$datadir$ac_delim
|
23682 | |
sysconfdir!$sysconfdir$ac_delim
|
23683 | |
sharedstatedir!$sharedstatedir$ac_delim
|
23684 | |
localstatedir!$localstatedir$ac_delim
|
23685 | |
includedir!$includedir$ac_delim
|
23686 | |
oldincludedir!$oldincludedir$ac_delim
|
23687 | |
docdir!$docdir$ac_delim
|
23688 | |
infodir!$infodir$ac_delim
|
23689 | |
htmldir!$htmldir$ac_delim
|
23690 | |
dvidir!$dvidir$ac_delim
|
23691 | |
pdfdir!$pdfdir$ac_delim
|
23692 | |
psdir!$psdir$ac_delim
|
23693 | |
libdir!$libdir$ac_delim
|
23694 | |
localedir!$localedir$ac_delim
|
23695 | |
mandir!$mandir$ac_delim
|
23696 | |
DEFS!$DEFS$ac_delim
|
23697 | |
ECHO_C!$ECHO_C$ac_delim
|
23698 | |
ECHO_N!$ECHO_N$ac_delim
|
23699 | |
ECHO_T!$ECHO_T$ac_delim
|
23700 | |
LIBS!$LIBS$ac_delim
|
23701 | |
build_alias!$build_alias$ac_delim
|
23702 | |
host_alias!$host_alias$ac_delim
|
23703 | |
target_alias!$target_alias$ac_delim
|
23704 | |
MAJOR_VERSION!$MAJOR_VERSION$ac_delim
|
23705 | |
MINOR_VERSION!$MINOR_VERSION$ac_delim
|
23706 | |
MICRO_VERSION!$MICRO_VERSION$ac_delim
|
23707 | |
INTERFACE_AGE!$INTERFACE_AGE$ac_delim
|
23708 | |
BINARY_AGE!$BINARY_AGE$ac_delim
|
23709 | |
VERSION!$VERSION$ac_delim
|
23710 | |
LT_RELEASE!$LT_RELEASE$ac_delim
|
23711 | |
LT_CURRENT!$LT_CURRENT$ac_delim
|
23712 | |
LT_REVISION!$LT_REVISION$ac_delim
|
23713 | |
LT_AGE!$LT_AGE$ac_delim
|
23714 | |
build!$build$ac_delim
|
23715 | |
build_cpu!$build_cpu$ac_delim
|
23716 | |
build_vendor!$build_vendor$ac_delim
|
23717 | |
build_os!$build_os$ac_delim
|
23718 | |
host!$host$ac_delim
|
23719 | |
host_cpu!$host_cpu$ac_delim
|
23720 | |
host_vendor!$host_vendor$ac_delim
|
23721 | |
host_os!$host_os$ac_delim
|
23722 | |
target!$target$ac_delim
|
23723 | |
target_cpu!$target_cpu$ac_delim
|
23724 | |
target_vendor!$target_vendor$ac_delim
|
23725 | |
target_os!$target_os$ac_delim
|
23726 | |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
23727 | |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
23728 | |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
23729 | |
CYGPATH_W!$CYGPATH_W$ac_delim
|
23730 | |
PACKAGE!$PACKAGE$ac_delim
|
23731 | |
ACLOCAL!$ACLOCAL$ac_delim
|
23732 | |
AUTOCONF!$AUTOCONF$ac_delim
|
23733 | |
AUTOMAKE!$AUTOMAKE$ac_delim
|
23734 | |
AUTOHEADER!$AUTOHEADER$ac_delim
|
23735 | |
MAKEINFO!$MAKEINFO$ac_delim
|
23736 | |
install_sh!$install_sh$ac_delim
|
23737 | |
STRIP!$STRIP$ac_delim
|
23738 | |
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
23739 | |
mkdir_p!$mkdir_p$ac_delim
|
23740 | |
AWK!$AWK$ac_delim
|
23741 | |
SET_MAKE!$SET_MAKE$ac_delim
|
23742 | |
am__leading_dot!$am__leading_dot$ac_delim
|
23743 | |
AMTAR!$AMTAR$ac_delim
|
23744 | |
am__tar!$am__tar$ac_delim
|
23745 | |
am__untar!$am__untar$ac_delim
|
23746 | |
CC!$CC$ac_delim
|
23747 | |
CFLAGS!$CFLAGS$ac_delim
|
23748 | |
LDFLAGS!$LDFLAGS$ac_delim
|
23749 | |
CPPFLAGS!$CPPFLAGS$ac_delim
|
23750 | |
ac_ct_CC!$ac_ct_CC$ac_delim
|
23751 | |
EXEEXT!$EXEEXT$ac_delim
|
23752 | |
OBJEXT!$OBJEXT$ac_delim
|
23753 | |
DEPDIR!$DEPDIR$ac_delim
|
23754 | |
am__include!$am__include$ac_delim
|
23755 | |
am__quote!$am__quote$ac_delim
|
23756 | |
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
23757 | |
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
23758 | |
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
23759 | |
CCDEPMODE!$CCDEPMODE$ac_delim
|
23760 | |
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
23761 | |
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
23762 | |
LN_S!$LN_S$ac_delim
|
23763 | |
SED!$SED$ac_delim
|
23764 | |
_ACEOF
|
23765 | |
|
23766 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
23767 | |
break
|
23768 | |
elif $ac_last_try; then
|
23769 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
23770 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
23771 | |
{ (exit 1); exit 1; }; }
|
23772 | |
else
|
23773 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
23774 | |
fi
|
23775 | |
done
|
23776 | |
|
23777 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
23778 | |
if test -n "$ac_eof"; then
|
23779 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
23780 | |
ac_eof=`expr $ac_eof + 1`
|
23781 | |
fi
|
23782 | |
|
23783 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23784 | |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
23785 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
23786 | |
_ACEOF
|
23787 | |
sed '
|
23788 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
23789 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
23790 | |
:n
|
23791 | |
t n
|
23792 | |
s/'"$ac_delim"'$/,g/; t
|
23793 | |
s/$/\\/; p
|
23794 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
23795 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
23796 | |
rm -f conf$$subs.sed
|
23797 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23798 | |
CEOF$ac_eof
|
23799 | |
_ACEOF
|
23800 | |
|
23801 | |
|
23802 | |
ac_delim='%!_!# '
|
23803 | |
for ac_last_try in false false false false false :; do
|
23804 | |
cat >conf$$subs.sed <<_ACEOF
|
23805 | |
GREP!$GREP$ac_delim
|
23806 | |
EGREP!$EGREP$ac_delim
|
23807 | |
ECHO!$ECHO$ac_delim
|
23808 | |
AR!$AR$ac_delim
|
23809 | |
RANLIB!$RANLIB$ac_delim
|
23810 | |
CPP!$CPP$ac_delim
|
23811 | |
CXX!$CXX$ac_delim
|
23812 | |
CXXFLAGS!$CXXFLAGS$ac_delim
|
23813 | |
ac_ct_CXX!$ac_ct_CXX$ac_delim
|
23814 | |
CXXDEPMODE!$CXXDEPMODE$ac_delim
|
23815 | |
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
|
23816 | |
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
|
23817 | |
CXXCPP!$CXXCPP$ac_delim
|
23818 | |
F77!$F77$ac_delim
|
23819 | |
FFLAGS!$FFLAGS$ac_delim
|
23820 | |
ac_ct_F77!$ac_ct_F77$ac_delim
|
23821 | |
LIBTOOL!$LIBTOOL$ac_delim
|
23822 | |
SDL_CONFIG!$SDL_CONFIG$ac_delim
|
23823 | |
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
|
23824 | |
SDL_LIBS!$SDL_LIBS$ac_delim
|
23825 | |
LIBOBJS!$LIBOBJS$ac_delim
|
23826 | |
USE_TIMIDITY_TRUE!$USE_TIMIDITY_TRUE$ac_delim
|
23827 | |
USE_TIMIDITY_FALSE!$USE_TIMIDITY_FALSE$ac_delim
|
23828 | |
USE_MPGLIB_TRUE!$USE_MPGLIB_TRUE$ac_delim
|
23829 | |
USE_MPGLIB_FALSE!$USE_MPGLIB_FALSE$ac_delim
|
23830 | |
USE_PHYSICSFS_TRUE!$USE_PHYSICSFS_TRUE$ac_delim
|
23831 | |
USE_PHYSICSFS_FALSE!$USE_PHYSICSFS_FALSE$ac_delim
|
23832 | |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
23833 | |
_ACEOF
|
23834 | |
|
23835 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 28; then
|
23836 | |
break
|
23837 | |
elif $ac_last_try; then
|
23838 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
23839 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
23840 | |
{ (exit 1); exit 1; }; }
|
23841 | |
else
|
23842 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
23843 | |
fi
|
23844 | |
done
|
23845 | |
|
23846 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
23847 | |
if test -n "$ac_eof"; then
|
23848 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
23849 | |
ac_eof=`expr $ac_eof + 1`
|
23850 | |
fi
|
23851 | |
|
23852 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23853 | |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
|
23854 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
23855 | |
_ACEOF
|
23856 | |
sed '
|
23857 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
23858 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
23859 | |
:n
|
23860 | |
t n
|
23861 | |
s/'"$ac_delim"'$/,g/; t
|
23862 | |
s/$/\\/; p
|
23863 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
23864 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
23865 | |
rm -f conf$$subs.sed
|
23866 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
23867 | |
:end
|
23868 | |
s/|#_!!_#|//g
|
23869 | |
CEOF$ac_eof
|
23870 | |
_ACEOF
|
23871 | |
|
23872 | |
|
23873 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
23874 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
23875 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
23876 | |
# (actually we leave an empty line to preserve line numbers).
|
23877 | |
if test "x$srcdir" = x.; then
|
23878 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
23879 | |
s/:*\$(srcdir):*/:/
|
23880 | |
s/:*\${srcdir}:*/:/
|
23881 | |
s/:*@srcdir@:*/:/
|
23882 | |
s/^\([^=]*=[ ]*\):*/\1/
|
23883 | |
s/:*$//
|
23884 | |
s/^[^=]*=[ ]*$//
|
23885 | |
}'
|
23886 | |
fi
|
23887 | |
|
23888 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
23889 | |
fi # test -n "$CONFIG_FILES"
|
23890 | |
|
23891 | |
|
23892 | |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
23893 | |
do
|
23894 | |
case $ac_tag in
|
23895 | |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
23896 | |
esac
|
23897 | |
case $ac_mode$ac_tag in
|
23898 | |
:[FHL]*:*);;
|
23899 | |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
23900 | |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
23901 | |
{ (exit 1); exit 1; }; };;
|
23902 | |
:[FH]-) ac_tag=-:-;;
|
23903 | |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
23904 | |
esac
|
23905 | |
ac_save_IFS=$IFS
|
23906 | |
IFS=:
|
23907 | |
set x $ac_tag
|
23908 | |
IFS=$ac_save_IFS
|
23909 | |
shift
|
23910 | |
ac_file=$1
|
23911 | |
shift
|
23912 | |
|
23913 | |
case $ac_mode in
|
23914 | |
:L) ac_source=$1;;
|
23915 | |
:[FH])
|
23916 | |
ac_file_inputs=
|
23917 | |
for ac_f
|
23918 | |
do
|
23919 | |
case $ac_f in
|
23920 | |
-) ac_f="$tmp/stdin";;
|
23921 | |
*) # Look for the file first in the build tree, then in the source tree
|
23922 | |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
23923 | |
# because $ac_f cannot contain `:'.
|
23924 | |
test -f "$ac_f" ||
|
23925 | |
case $ac_f in
|
23926 | |
[\\/$]*) false;;
|
23927 | |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
23928 | |
esac ||
|
23929 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
23930 | |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
23931 | |
{ (exit 1); exit 1; }; };;
|
23932 | |
esac
|
23933 | |
ac_file_inputs="$ac_file_inputs $ac_f"
|
23934 | |
done
|
23935 | |
|
23936 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
23937 | |
# use $as_me), people would be surprised to read:
|
23938 | |
# /* config.h. Generated by config.status. */
|
23939 | |
configure_input="Generated from "`IFS=:
|
23940 | |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
23941 | |
if test x"$ac_file" != x-; then
|
23942 | |
configure_input="$ac_file. $configure_input"
|
23943 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
23944 | |
echo "$as_me: creating $ac_file" >&6;}
|
23945 | |
fi
|
23946 | |
|
23947 | |
case $ac_tag in
|
23948 | |
*:-:* | *:-) cat >"$tmp/stdin";;
|
23949 | |
esac
|
23950 | |
;;
|
23951 | |
esac
|
23952 | |
|
23953 | |
ac_dir=`$as_dirname -- "$ac_file" ||
|
23954 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
23955 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
23956 | |
X"$ac_file" : 'X\(//\)$' \| \
|
23957 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
23958 | |
echo X"$ac_file" |
|
23959 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
23960 | |
s//\1/
|
23961 | |
q
|
23962 | |
}
|
23963 | |
/^X\(\/\/\)[^/].*/{
|
23964 | |
s//\1/
|
23965 | |
q
|
23966 | |
}
|
23967 | |
/^X\(\/\/\)$/{
|
23968 | |
s//\1/
|
23969 | |
q
|
23970 | |
}
|
23971 | |
/^X\(\/\).*/{
|
23972 | |
s//\1/
|
23973 | |
q
|
23974 | |
}
|
23975 | |
s/.*/./; q'`
|
23976 | |
{ as_dir="$ac_dir"
|
|
20676 |
|
23977 | 20677 |
case $as_dir in #(
|
23978 | 20678 |
-*) as_dir=./$as_dir;;
|
23979 | 20679 |
esac
|
23980 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
20680 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
23981 | 20681 |
as_dirs=
|
23982 | 20682 |
while :; do
|
23983 | 20683 |
case $as_dir in #(
|
23984 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
20684 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
23985 | 20685 |
*) as_qdir=$as_dir;;
|
23986 | 20686 |
esac
|
23987 | 20687 |
as_dirs="'$as_qdir' $as_dirs"
|
|
23990 | 20690 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
23991 | 20691 |
X"$as_dir" : 'X\(//\)$' \| \
|
23992 | 20692 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
23993 | |
echo X"$as_dir" |
|
|
20693 |
$as_echo X"$as_dir" |
|
23994 | 20694 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
23995 | 20695 |
s//\1/
|
23996 | 20696 |
q
|
|
24011 | 20711 |
test -d "$as_dir" && break
|
24012 | 20712 |
done
|
24013 | 20713 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
24014 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
24015 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
24016 | |
{ (exit 1); exit 1; }; }; }
|
|
20714 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
20715 |
|
|
20716 |
|
|
20717 |
} # as_fn_mkdir_p
|
|
20718 |
if mkdir -p . 2>/dev/null; then
|
|
20719 |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
20720 |
else
|
|
20721 |
test -d ./-p && rmdir ./-p
|
|
20722 |
as_mkdir_p=false
|
|
20723 |
fi
|
|
20724 |
|
|
20725 |
|
|
20726 |
# as_fn_executable_p FILE
|
|
20727 |
# -----------------------
|
|
20728 |
# Test if FILE is an executable regular file.
|
|
20729 |
as_fn_executable_p ()
|
|
20730 |
{
|
|
20731 |
test -f "$1" && test -x "$1"
|
|
20732 |
} # as_fn_executable_p
|
|
20733 |
as_test_x='test -x'
|
|
20734 |
as_executable_p=as_fn_executable_p
|
|
20735 |
|
|
20736 |
# Sed expression to map a string onto a valid CPP name.
|
|
20737 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
20738 |
|
|
20739 |
# Sed expression to map a string onto a valid variable name.
|
|
20740 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
20741 |
|
|
20742 |
|
|
20743 |
exec 6>&1
|
|
20744 |
## ----------------------------------- ##
|
|
20745 |
## Main body of $CONFIG_STATUS script. ##
|
|
20746 |
## ----------------------------------- ##
|
|
20747 |
_ASEOF
|
|
20748 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
20749 |
|
|
20750 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
20751 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
20752 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
20753 |
# values after options handling.
|
|
20754 |
ac_log="
|
|
20755 |
This file was extended by $as_me, which was
|
|
20756 |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
20757 |
|
|
20758 |
CONFIG_FILES = $CONFIG_FILES
|
|
20759 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
20760 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
20761 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
20762 |
$ $0 $@
|
|
20763 |
|
|
20764 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
20765 |
"
|
|
20766 |
|
|
20767 |
_ACEOF
|
|
20768 |
|
|
20769 |
case $ac_config_files in *"
|
|
20770 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
20771 |
esac
|
|
20772 |
|
|
20773 |
case $ac_config_headers in *"
|
|
20774 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
20775 |
esac
|
|
20776 |
|
|
20777 |
|
|
20778 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
20779 |
# Files that config.status was made for.
|
|
20780 |
config_files="$ac_config_files"
|
|
20781 |
config_headers="$ac_config_headers"
|
|
20782 |
config_commands="$ac_config_commands"
|
|
20783 |
|
|
20784 |
_ACEOF
|
|
20785 |
|
|
20786 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
20787 |
ac_cs_usage="\
|
|
20788 |
\`$as_me' instantiates files and other configuration actions
|
|
20789 |
from templates according to the current configuration. Unless the files
|
|
20790 |
and actions are specified as TAGs, all are instantiated by default.
|
|
20791 |
|
|
20792 |
Usage: $0 [OPTION]... [TAG]...
|
|
20793 |
|
|
20794 |
-h, --help print this help, then exit
|
|
20795 |
-V, --version print version number and configuration settings, then exit
|
|
20796 |
--config print configuration, then exit
|
|
20797 |
-q, --quiet, --silent
|
|
20798 |
do not print progress messages
|
|
20799 |
-d, --debug don't remove temporary files
|
|
20800 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
20801 |
--file=FILE[:TEMPLATE]
|
|
20802 |
instantiate the configuration file FILE
|
|
20803 |
--header=FILE[:TEMPLATE]
|
|
20804 |
instantiate the configuration header FILE
|
|
20805 |
|
|
20806 |
Configuration files:
|
|
20807 |
$config_files
|
|
20808 |
|
|
20809 |
Configuration headers:
|
|
20810 |
$config_headers
|
|
20811 |
|
|
20812 |
Configuration commands:
|
|
20813 |
$config_commands
|
|
20814 |
|
|
20815 |
Report bugs to the package provider."
|
|
20816 |
|
|
20817 |
_ACEOF
|
|
20818 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
20819 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
20820 |
ac_cs_version="\\
|
|
20821 |
config.status
|
|
20822 |
configured by $0, generated by GNU Autoconf 2.69,
|
|
20823 |
with options \\"\$ac_cs_config\\"
|
|
20824 |
|
|
20825 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
20826 |
This config.status script is free software; the Free Software Foundation
|
|
20827 |
gives unlimited permission to copy, distribute and modify it."
|
|
20828 |
|
|
20829 |
ac_pwd='$ac_pwd'
|
|
20830 |
srcdir='$srcdir'
|
|
20831 |
INSTALL='$INSTALL'
|
|
20832 |
AWK='$AWK'
|
|
20833 |
test -n "\$AWK" || AWK=awk
|
|
20834 |
_ACEOF
|
|
20835 |
|
|
20836 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
20837 |
# The default lists apply if the user does not specify any file.
|
|
20838 |
ac_need_defaults=:
|
|
20839 |
while test $# != 0
|
|
20840 |
do
|
|
20841 |
case $1 in
|
|
20842 |
--*=?*)
|
|
20843 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
20844 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
20845 |
ac_shift=:
|
|
20846 |
;;
|
|
20847 |
--*=)
|
|
20848 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
20849 |
ac_optarg=
|
|
20850 |
ac_shift=:
|
|
20851 |
;;
|
|
20852 |
*)
|
|
20853 |
ac_option=$1
|
|
20854 |
ac_optarg=$2
|
|
20855 |
ac_shift=shift
|
|
20856 |
;;
|
|
20857 |
esac
|
|
20858 |
|
|
20859 |
case $ac_option in
|
|
20860 |
# Handling of the options.
|
|
20861 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
20862 |
ac_cs_recheck=: ;;
|
|
20863 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
20864 |
$as_echo "$ac_cs_version"; exit ;;
|
|
20865 |
--config | --confi | --conf | --con | --co | --c )
|
|
20866 |
$as_echo "$ac_cs_config"; exit ;;
|
|
20867 |
--debug | --debu | --deb | --de | --d | -d )
|
|
20868 |
debug=: ;;
|
|
20869 |
--file | --fil | --fi | --f )
|
|
20870 |
$ac_shift
|
|
20871 |
case $ac_optarg in
|
|
20872 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
20873 |
'') as_fn_error $? "missing file argument" ;;
|
|
20874 |
esac
|
|
20875 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
20876 |
ac_need_defaults=false;;
|
|
20877 |
--header | --heade | --head | --hea )
|
|
20878 |
$ac_shift
|
|
20879 |
case $ac_optarg in
|
|
20880 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
20881 |
esac
|
|
20882 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
20883 |
ac_need_defaults=false;;
|
|
20884 |
--he | --h)
|
|
20885 |
# Conflict between --help and --header
|
|
20886 |
as_fn_error $? "ambiguous option: \`$1'
|
|
20887 |
Try \`$0 --help' for more information.";;
|
|
20888 |
--help | --hel | -h )
|
|
20889 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
20890 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
20891 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
20892 |
ac_cs_silent=: ;;
|
|
20893 |
|
|
20894 |
# This is an error.
|
|
20895 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
20896 |
Try \`$0 --help' for more information." ;;
|
|
20897 |
|
|
20898 |
*) as_fn_append ac_config_targets " $1"
|
|
20899 |
ac_need_defaults=false ;;
|
|
20900 |
|
|
20901 |
esac
|
|
20902 |
shift
|
|
20903 |
done
|
|
20904 |
|
|
20905 |
ac_configure_extra_args=
|
|
20906 |
|
|
20907 |
if $ac_cs_silent; then
|
|
20908 |
exec 6>/dev/null
|
|
20909 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
20910 |
fi
|
|
20911 |
|
|
20912 |
_ACEOF
|
|
20913 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
20914 |
if \$ac_cs_recheck; then
|
|
20915 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
20916 |
shift
|
|
20917 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
20918 |
CONFIG_SHELL='$SHELL'
|
|
20919 |
export CONFIG_SHELL
|
|
20920 |
exec "\$@"
|
|
20921 |
fi
|
|
20922 |
|
|
20923 |
_ACEOF
|
|
20924 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
20925 |
exec 5>>config.log
|
|
20926 |
{
|
|
20927 |
echo
|
|
20928 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
20929 |
## Running $as_me. ##
|
|
20930 |
_ASBOX
|
|
20931 |
$as_echo "$ac_log"
|
|
20932 |
} >&5
|
|
20933 |
|
|
20934 |
_ACEOF
|
|
20935 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
20936 |
#
|
|
20937 |
# INIT-COMMANDS
|
|
20938 |
#
|
|
20939 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
20940 |
|
|
20941 |
_ACEOF
|
|
20942 |
|
|
20943 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
20944 |
|
|
20945 |
# Handling of arguments.
|
|
20946 |
for ac_config_target in $ac_config_targets
|
|
20947 |
do
|
|
20948 |
case $ac_config_target in
|
|
20949 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
20950 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
20951 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
20952 |
"decoders/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/Makefile" ;;
|
|
20953 |
"decoders/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/timidity/Makefile" ;;
|
|
20954 |
"decoders/mpglib/Makefile") CONFIG_FILES="$CONFIG_FILES decoders/mpglib/Makefile" ;;
|
|
20955 |
"playsound/Makefile") CONFIG_FILES="$CONFIG_FILES playsound/Makefile" ;;
|
|
20956 |
|
|
20957 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
20958 |
esac
|
|
20959 |
done
|
|
20960 |
|
|
20961 |
|
|
20962 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
20963 |
# then the envvar interface is used. Set only those that are not.
|
|
20964 |
# We use the long form for the default assignment because of an extremely
|
|
20965 |
# bizarre bug on SunOS 4.1.3.
|
|
20966 |
if $ac_need_defaults; then
|
|
20967 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
20968 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
20969 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
20970 |
fi
|
|
20971 |
|
|
20972 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
20973 |
# simply because there is no reason against having it here, and in addition,
|
|
20974 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
20975 |
# Hook for its removal unless debugging.
|
|
20976 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
20977 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
20978 |
$debug ||
|
|
20979 |
{
|
|
20980 |
tmp= ac_tmp=
|
|
20981 |
trap 'exit_status=$?
|
|
20982 |
: "${ac_tmp:=$tmp}"
|
|
20983 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
20984 |
' 0
|
|
20985 |
trap 'as_fn_exit 1' 1 2 13 15
|
|
20986 |
}
|
|
20987 |
# Create a (secure) tmp directory for tmp files.
|
|
20988 |
|
|
20989 |
{
|
|
20990 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
20991 |
test -d "$tmp"
|
|
20992 |
} ||
|
|
20993 |
{
|
|
20994 |
tmp=./conf$$-$RANDOM
|
|
20995 |
(umask 077 && mkdir "$tmp")
|
|
20996 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
20997 |
ac_tmp=$tmp
|
|
20998 |
|
|
20999 |
# Set up the scripts for CONFIG_FILES section.
|
|
21000 |
# No need to generate them if there are no CONFIG_FILES.
|
|
21001 |
# This happens for instance with `./config.status config.h'.
|
|
21002 |
if test -n "$CONFIG_FILES"; then
|
|
21003 |
|
|
21004 |
|
|
21005 |
ac_cr=`echo X | tr X '\015'`
|
|
21006 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
21007 |
# But we know of no other shell where ac_cr would be empty at this
|
|
21008 |
# point, so we can use a bashism as a fallback.
|
|
21009 |
if test "x$ac_cr" = x; then
|
|
21010 |
eval ac_cr=\$\'\\r\'
|
|
21011 |
fi
|
|
21012 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
21013 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
21014 |
ac_cs_awk_cr='\\r'
|
|
21015 |
else
|
|
21016 |
ac_cs_awk_cr=$ac_cr
|
|
21017 |
fi
|
|
21018 |
|
|
21019 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
|
21020 |
_ACEOF
|
|
21021 |
|
|
21022 |
|
|
21023 |
{
|
|
21024 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
21025 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
21026 |
echo "_ACEOF"
|
|
21027 |
} >conf$$subs.sh ||
|
|
21028 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
21029 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
|
21030 |
ac_delim='%!_!# '
|
|
21031 |
for ac_last_try in false false false false false :; do
|
|
21032 |
. ./conf$$subs.sh ||
|
|
21033 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
21034 |
|
|
21035 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
21036 |
if test $ac_delim_n = $ac_delim_num; then
|
|
21037 |
break
|
|
21038 |
elif $ac_last_try; then
|
|
21039 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
21040 |
else
|
|
21041 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
21042 |
fi
|
|
21043 |
done
|
|
21044 |
rm -f conf$$subs.sh
|
|
21045 |
|
|
21046 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
21047 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
|
21048 |
_ACEOF
|
|
21049 |
sed -n '
|
|
21050 |
h
|
|
21051 |
s/^/S["/; s/!.*/"]=/
|
|
21052 |
p
|
|
21053 |
g
|
|
21054 |
s/^[^!]*!//
|
|
21055 |
:repl
|
|
21056 |
t repl
|
|
21057 |
s/'"$ac_delim"'$//
|
|
21058 |
t delim
|
|
21059 |
:nl
|
|
21060 |
h
|
|
21061 |
s/\(.\{148\}\)..*/\1/
|
|
21062 |
t more1
|
|
21063 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
21064 |
p
|
|
21065 |
n
|
|
21066 |
b repl
|
|
21067 |
:more1
|
|
21068 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
21069 |
p
|
|
21070 |
g
|
|
21071 |
s/.\{148\}//
|
|
21072 |
t nl
|
|
21073 |
:delim
|
|
21074 |
h
|
|
21075 |
s/\(.\{148\}\)..*/\1/
|
|
21076 |
t more2
|
|
21077 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
21078 |
p
|
|
21079 |
b
|
|
21080 |
:more2
|
|
21081 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
21082 |
p
|
|
21083 |
g
|
|
21084 |
s/.\{148\}//
|
|
21085 |
t delim
|
|
21086 |
' <conf$$subs.awk | sed '
|
|
21087 |
/^[^""]/{
|
|
21088 |
N
|
|
21089 |
s/\n//
|
|
21090 |
}
|
|
21091 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
21092 |
rm -f conf$$subs.awk
|
|
21093 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
21094 |
_ACAWK
|
|
21095 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
|
21096 |
for (key in S) S_is_set[key] = 1
|
|
21097 |
FS = ""
|
|
21098 |
|
|
21099 |
}
|
|
21100 |
{
|
|
21101 |
line = $ 0
|
|
21102 |
nfields = split(line, field, "@")
|
|
21103 |
substed = 0
|
|
21104 |
len = length(field[1])
|
|
21105 |
for (i = 2; i < nfields; i++) {
|
|
21106 |
key = field[i]
|
|
21107 |
keylen = length(key)
|
|
21108 |
if (S_is_set[key]) {
|
|
21109 |
value = S[key]
|
|
21110 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
21111 |
len += length(value) + length(field[++i])
|
|
21112 |
substed = 1
|
|
21113 |
} else
|
|
21114 |
len += 1 + keylen
|
|
21115 |
}
|
|
21116 |
|
|
21117 |
print line
|
|
21118 |
}
|
|
21119 |
|
|
21120 |
_ACAWK
|
|
21121 |
_ACEOF
|
|
21122 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
21123 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
21124 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
21125 |
else
|
|
21126 |
cat
|
|
21127 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
21128 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
21129 |
_ACEOF
|
|
21130 |
|
|
21131 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
21132 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
21133 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
21134 |
# (actually we leave an empty line to preserve line numbers).
|
|
21135 |
if test "x$srcdir" = x.; then
|
|
21136 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
21137 |
h
|
|
21138 |
s///
|
|
21139 |
s/^/:/
|
|
21140 |
s/[ ]*$/:/
|
|
21141 |
s/:\$(srcdir):/:/g
|
|
21142 |
s/:\${srcdir}:/:/g
|
|
21143 |
s/:@srcdir@:/:/g
|
|
21144 |
s/^:*//
|
|
21145 |
s/:*$//
|
|
21146 |
x
|
|
21147 |
s/\(=[ ]*\).*/\1/
|
|
21148 |
G
|
|
21149 |
s/\n//
|
|
21150 |
s/^[^=]*=[ ]*$//
|
|
21151 |
}'
|
|
21152 |
fi
|
|
21153 |
|
|
21154 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
21155 |
fi # test -n "$CONFIG_FILES"
|
|
21156 |
|
|
21157 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
21158 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
21159 |
# This happens for instance with `./config.status Makefile'.
|
|
21160 |
if test -n "$CONFIG_HEADERS"; then
|
|
21161 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
|
21162 |
BEGIN {
|
|
21163 |
_ACEOF
|
|
21164 |
|
|
21165 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
21166 |
# here-document in config.status, that substitutes the proper values into
|
|
21167 |
# config.h.in to produce config.h.
|
|
21168 |
|
|
21169 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
21170 |
# handling of long lines.
|
|
21171 |
ac_delim='%!_!# '
|
|
21172 |
for ac_last_try in false false :; do
|
|
21173 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
21174 |
if test -z "$ac_tt"; then
|
|
21175 |
break
|
|
21176 |
elif $ac_last_try; then
|
|
21177 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
21178 |
else
|
|
21179 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
21180 |
fi
|
|
21181 |
done
|
|
21182 |
|
|
21183 |
# For the awk script, D is an array of macro values keyed by name,
|
|
21184 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
21185 |
# newline sequences.
|
|
21186 |
|
|
21187 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
21188 |
sed -n '
|
|
21189 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
21190 |
t rset
|
|
21191 |
:rset
|
|
21192 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
21193 |
t def
|
|
21194 |
d
|
|
21195 |
:def
|
|
21196 |
s/\\$//
|
|
21197 |
t bsnl
|
|
21198 |
s/["\\]/\\&/g
|
|
21199 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
21200 |
D["\1"]=" \3"/p
|
|
21201 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
21202 |
d
|
|
21203 |
:bsnl
|
|
21204 |
s/["\\]/\\&/g
|
|
21205 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
21206 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
21207 |
t cont
|
|
21208 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
21209 |
t cont
|
|
21210 |
d
|
|
21211 |
:cont
|
|
21212 |
n
|
|
21213 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
21214 |
t clear
|
|
21215 |
:clear
|
|
21216 |
s/\\$//
|
|
21217 |
t bsnlc
|
|
21218 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
21219 |
d
|
|
21220 |
:bsnlc
|
|
21221 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
21222 |
b cont
|
|
21223 |
' <confdefs.h | sed '
|
|
21224 |
s/'"$ac_delim"'/"\\\
|
|
21225 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
21226 |
|
|
21227 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
21228 |
for (key in D) D_is_set[key] = 1
|
|
21229 |
FS = ""
|
|
21230 |
}
|
|
21231 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
21232 |
line = \$ 0
|
|
21233 |
split(line, arg, " ")
|
|
21234 |
if (arg[1] == "#") {
|
|
21235 |
defundef = arg[2]
|
|
21236 |
mac1 = arg[3]
|
|
21237 |
} else {
|
|
21238 |
defundef = substr(arg[1], 2)
|
|
21239 |
mac1 = arg[2]
|
|
21240 |
}
|
|
21241 |
split(mac1, mac2, "(") #)
|
|
21242 |
macro = mac2[1]
|
|
21243 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
21244 |
if (D_is_set[macro]) {
|
|
21245 |
# Preserve the white space surrounding the "#".
|
|
21246 |
print prefix "define", macro P[macro] D[macro]
|
|
21247 |
next
|
|
21248 |
} else {
|
|
21249 |
# Replace #undef with comments. This is necessary, for example,
|
|
21250 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
21251 |
# on some systems where configure will not decide to define it.
|
|
21252 |
if (defundef == "undef") {
|
|
21253 |
print "/*", prefix defundef, macro, "*/"
|
|
21254 |
next
|
|
21255 |
}
|
|
21256 |
}
|
|
21257 |
}
|
|
21258 |
{ print }
|
|
21259 |
_ACAWK
|
|
21260 |
_ACEOF
|
|
21261 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
21262 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
|
21263 |
fi # test -n "$CONFIG_HEADERS"
|
|
21264 |
|
|
21265 |
|
|
21266 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
21267 |
shift
|
|
21268 |
for ac_tag
|
|
21269 |
do
|
|
21270 |
case $ac_tag in
|
|
21271 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
21272 |
esac
|
|
21273 |
case $ac_mode$ac_tag in
|
|
21274 |
:[FHL]*:*);;
|
|
21275 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
21276 |
:[FH]-) ac_tag=-:-;;
|
|
21277 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
21278 |
esac
|
|
21279 |
ac_save_IFS=$IFS
|
|
21280 |
IFS=:
|
|
21281 |
set x $ac_tag
|
|
21282 |
IFS=$ac_save_IFS
|
|
21283 |
shift
|
|
21284 |
ac_file=$1
|
|
21285 |
shift
|
|
21286 |
|
|
21287 |
case $ac_mode in
|
|
21288 |
:L) ac_source=$1;;
|
|
21289 |
:[FH])
|
|
21290 |
ac_file_inputs=
|
|
21291 |
for ac_f
|
|
21292 |
do
|
|
21293 |
case $ac_f in
|
|
21294 |
-) ac_f="$ac_tmp/stdin";;
|
|
21295 |
*) # Look for the file first in the build tree, then in the source tree
|
|
21296 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
21297 |
# because $ac_f cannot contain `:'.
|
|
21298 |
test -f "$ac_f" ||
|
|
21299 |
case $ac_f in
|
|
21300 |
[\\/$]*) false;;
|
|
21301 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
21302 |
esac ||
|
|
21303 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
21304 |
esac
|
|
21305 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
21306 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
21307 |
done
|
|
21308 |
|
|
21309 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
21310 |
# use $as_me), people would be surprised to read:
|
|
21311 |
# /* config.h. Generated by config.status. */
|
|
21312 |
configure_input='Generated from '`
|
|
21313 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
21314 |
`' by configure.'
|
|
21315 |
if test x"$ac_file" != x-; then
|
|
21316 |
configure_input="$ac_file. $configure_input"
|
|
21317 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
21318 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
21319 |
fi
|
|
21320 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
21321 |
case $configure_input in #(
|
|
21322 |
*\&* | *\|* | *\\* )
|
|
21323 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
21324 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
21325 |
*) ac_sed_conf_input=$configure_input;;
|
|
21326 |
esac
|
|
21327 |
|
|
21328 |
case $ac_tag in
|
|
21329 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
21330 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
21331 |
esac
|
|
21332 |
;;
|
|
21333 |
esac
|
|
21334 |
|
|
21335 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
21336 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
21337 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
21338 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
21339 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
21340 |
$as_echo X"$ac_file" |
|
|
21341 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
21342 |
s//\1/
|
|
21343 |
q
|
|
21344 |
}
|
|
21345 |
/^X\(\/\/\)[^/].*/{
|
|
21346 |
s//\1/
|
|
21347 |
q
|
|
21348 |
}
|
|
21349 |
/^X\(\/\/\)$/{
|
|
21350 |
s//\1/
|
|
21351 |
q
|
|
21352 |
}
|
|
21353 |
/^X\(\/\).*/{
|
|
21354 |
s//\1/
|
|
21355 |
q
|
|
21356 |
}
|
|
21357 |
s/.*/./; q'`
|
|
21358 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
24017 | 21359 |
ac_builddir=.
|
24018 | 21360 |
|
24019 | 21361 |
case "$ac_dir" in
|
24020 | 21362 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
24021 | 21363 |
*)
|
24022 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
21364 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
24023 | 21365 |
# A ".." for each directory in $ac_dir_suffix.
|
24024 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
21366 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
24025 | 21367 |
case $ac_top_builddir_sub in
|
24026 | 21368 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
24027 | 21369 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
24061 | 21403 |
esac
|
24062 | 21404 |
_ACEOF
|
24063 | 21405 |
|
24064 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
21406 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
24065 | 21407 |
# If the template does not know about datarootdir, expand it.
|
24066 | 21408 |
# FIXME: This hack should be removed a few years after 2.60.
|
24067 | 21409 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
24068 | |
|
24069 | |
case `sed -n '/datarootdir/ {
|
|
21410 |
ac_sed_dataroot='
|
|
21411 |
/datarootdir/ {
|
24070 | 21412 |
p
|
24071 | 21413 |
q
|
24072 | 21414 |
}
|
|
24074 | 21416 |
/@docdir@/p
|
24075 | 21417 |
/@infodir@/p
|
24076 | 21418 |
/@localedir@/p
|
24077 | |
/@mandir@/p
|
24078 | |
' $ac_file_inputs` in
|
|
21419 |
/@mandir@/p'
|
|
21420 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
24079 | 21421 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
24080 | 21422 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
24081 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
24082 | |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
21423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
21424 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
24083 | 21425 |
_ACEOF
|
24084 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
21426 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
24085 | 21427 |
ac_datarootdir_hack='
|
24086 | 21428 |
s&@datadir@&$datadir&g
|
24087 | 21429 |
s&@docdir@&$docdir&g
|
24088 | 21430 |
s&@infodir@&$infodir&g
|
24089 | 21431 |
s&@localedir@&$localedir&g
|
24090 | 21432 |
s&@mandir@&$mandir&g
|
24091 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
21433 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
24092 | 21434 |
esac
|
24093 | 21435 |
_ACEOF
|
24094 | 21436 |
|
24095 | 21437 |
# Neutralize VPATH when `$srcdir' = `.'.
|
24096 | 21438 |
# Shell code in configure.ac might set extrasub.
|
24097 | 21439 |
# FIXME: do we really want to maintain this feature?
|
24098 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
24099 | |
sed "$ac_vpsub
|
|
21440 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
21441 |
ac_sed_extra="$ac_vpsub
|
24100 | 21442 |
$extrasub
|
24101 | 21443 |
_ACEOF
|
24102 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
21444 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
24103 | 21445 |
:t
|
24104 | 21446 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
24105 | |
s&@configure_input@&$configure_input&;t t
|
|
21447 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
24106 | 21448 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
21449 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
24107 | 21450 |
s&@srcdir@&$ac_srcdir&;t t
|
24108 | 21451 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
24109 | 21452 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
24113 | 21456 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
24114 | 21457 |
s&@INSTALL@&$ac_INSTALL&;t t
|
24115 | 21458 |
$ac_datarootdir_hack
|
24116 | |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
|
|
21459 |
"
|
|
21460 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
21461 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
24117 | 21462 |
|
24118 | 21463 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
24119 | |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
24120 | |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
24121 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
24122 | |
which seems to be undefined. Please make sure it is defined." >&5
|
24123 | |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
24124 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
24125 | |
|
24126 | |
rm -f "$tmp/stdin"
|
|
21464 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|
21465 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
21466 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
21467 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
21468 |
which seems to be undefined. Please make sure it is defined" >&5
|
|
21469 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
21470 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
|
21471 |
|
|
21472 |
rm -f "$ac_tmp/stdin"
|
24127 | 21473 |
case $ac_file in
|
24128 | |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
24129 | |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
24130 | |
esac
|
|
21474 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|
21475 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
21476 |
esac \
|
|
21477 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
24131 | 21478 |
;;
|
24132 | 21479 |
:H)
|
24133 | 21480 |
#
|
24134 | 21481 |
# CONFIG_HEADER
|
24135 | 21482 |
#
|
24136 | |
_ACEOF
|
24137 | |
|
24138 | |
# Transform confdefs.h into a sed script `conftest.defines', that
|
24139 | |
# substitutes the proper values into config.h.in to produce config.h.
|
24140 | |
rm -f conftest.defines conftest.tail
|
24141 | |
# First, append a space to every undef/define line, to ease matching.
|
24142 | |
echo 's/$/ /' >conftest.defines
|
24143 | |
# Then, protect against being on the right side of a sed subst, or in
|
24144 | |
# an unquoted here document, in config.status. If some macros were
|
24145 | |
# called several times there might be several #defines for the same
|
24146 | |
# symbol, which is useless. But do not sort them, since the last
|
24147 | |
# AC_DEFINE must be honored.
|
24148 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
24149 | |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
24150 | |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
24151 | |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
24152 | |
# just an empty string.
|
24153 | |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
24154 | |
ac_dB='\\)[ (].*,\\1define\\2'
|
24155 | |
ac_dC=' '
|
24156 | |
ac_dD=' ,'
|
24157 | |
|
24158 | |
uniq confdefs.h |
|
24159 | |
sed -n '
|
24160 | |
t rset
|
24161 | |
:rset
|
24162 | |
s/^[ ]*#[ ]*define[ ][ ]*//
|
24163 | |
t ok
|
24164 | |
d
|
24165 | |
:ok
|
24166 | |
s/[\\&,]/\\&/g
|
24167 | |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
24168 | |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
24169 | |
' >>conftest.defines
|
24170 | |
|
24171 | |
# Remove the space that was appended to ease matching.
|
24172 | |
# Then replace #undef with comments. This is necessary, for
|
24173 | |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
24174 | |
# on some systems where configure will not decide to define it.
|
24175 | |
# (The regexp can be short, since the line contains either #define or #undef.)
|
24176 | |
echo 's/ $//
|
24177 | |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
24178 | |
|
24179 | |
# Break up conftest.defines:
|
24180 | |
ac_max_sed_lines=50
|
24181 | |
|
24182 | |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
24183 | |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
24184 | |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
24185 | |
# et cetera.
|
24186 | |
ac_in='$ac_file_inputs'
|
24187 | |
ac_out='"$tmp/out1"'
|
24188 | |
ac_nxt='"$tmp/out2"'
|
24189 | |
|
24190 | |
while :
|
24191 | |
do
|
24192 | |
# Write a here document:
|
24193 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
24194 | |
# First, check the format of the line:
|
24195 | |
cat >"\$tmp/defines.sed" <<\\CEOF
|
24196 | |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
24197 | |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
24198 | |
b
|
24199 | |
:def
|
24200 | |
_ACEOF
|
24201 | |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
24202 | |
echo 'CEOF
|
24203 | |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
24204 | |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
24205 | |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
24206 | |
grep . conftest.tail >/dev/null || break
|
24207 | |
rm -f conftest.defines
|
24208 | |
mv conftest.tail conftest.defines
|
24209 | |
done
|
24210 | |
rm -f conftest.defines conftest.tail
|
24211 | |
|
24212 | |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
24213 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
24214 | 21483 |
if test x"$ac_file" != x-; then
|
24215 | |
echo "/* $configure_input */" >"$tmp/config.h"
|
24216 | |
cat "$ac_result" >>"$tmp/config.h"
|
24217 | |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
24218 | |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
24219 | |
echo "$as_me: $ac_file is unchanged" >&6;}
|
|
21484 |
{
|
|
21485 |
$as_echo "/* $configure_input */" \
|
|
21486 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
21487 |
} >"$ac_tmp/config.h" \
|
|
21488 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
21489 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
21490 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
21491 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
24220 | 21492 |
else
|
24221 | |
rm -f $ac_file
|
24222 | |
mv "$tmp/config.h" $ac_file
|
|
21493 |
rm -f "$ac_file"
|
|
21494 |
mv "$ac_tmp/config.h" "$ac_file" \
|
|
21495 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
24223 | 21496 |
fi
|
24224 | 21497 |
else
|
24225 | |
echo "/* $configure_input */"
|
24226 | |
cat "$ac_result"
|
|
21498 |
$as_echo "/* $configure_input */" \
|
|
21499 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
21500 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
24227 | 21501 |
fi
|
24228 | |
rm -f "$tmp/out12"
|
24229 | |
# Compute $ac_file's index in $config_headers.
|
|
21502 |
# Compute "$ac_file"'s index in $config_headers.
|
24230 | 21503 |
_am_stamp_count=1
|
24231 | 21504 |
for _am_header in $config_headers :; do
|
24232 | 21505 |
case $_am_header in
|
24233 | |
$ac_file | $ac_file:* )
|
|
21506 |
"$ac_file" | "$ac_file":* )
|
24234 | 21507 |
break ;;
|
24235 | 21508 |
* )
|
24236 | 21509 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
24237 | 21510 |
esac
|
24238 | 21511 |
done
|
24239 | |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
|
24240 | |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
24241 | |
X$ac_file : 'X\(//\)[^/]' \| \
|
24242 | |
X$ac_file : 'X\(//\)$' \| \
|
24243 | |
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
|
24244 | |
echo X$ac_file |
|
|
21512 |
echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
|
|
21513 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
21514 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
21515 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
21516 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
21517 |
$as_echo X"$ac_file" |
|
24245 | 21518 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
24246 | 21519 |
s//\1/
|
24247 | 21520 |
q
|
|
24261 | 21534 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
24262 | 21535 |
;;
|
24263 | 21536 |
|
24264 | |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
24265 | |
echo "$as_me: executing $ac_file commands" >&6;}
|
|
21537 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
21538 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
24266 | 21539 |
;;
|
24267 | 21540 |
esac
|
24268 | 21541 |
|
|
24283 | 21556 |
X"$mf" : 'X\(//\)[^/]' \| \
|
24284 | 21557 |
X"$mf" : 'X\(//\)$' \| \
|
24285 | 21558 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
24286 | |
echo X"$mf" |
|
|
21559 |
$as_echo X"$mf" |
|
24287 | 21560 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
24288 | 21561 |
s//\1/
|
24289 | 21562 |
q
|
|
24327 | 21600 |
X"$file" : 'X\(//\)[^/]' \| \
|
24328 | 21601 |
X"$file" : 'X\(//\)$' \| \
|
24329 | 21602 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
24330 | |
echo X"$file" |
|
|
21603 |
$as_echo X"$file" |
|
24331 | 21604 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
24332 | 21605 |
s//\1/
|
24333 | 21606 |
q
|
|
24345 | 21618 |
q
|
24346 | 21619 |
}
|
24347 | 21620 |
s/.*/./; q'`
|
24348 | |
{ as_dir=$dirpart/$fdir
|
24349 | |
case $as_dir in #(
|
24350 | |
-*) as_dir=./$as_dir;;
|
24351 | |
esac
|
24352 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
24353 | |
as_dirs=
|
24354 | |
while :; do
|
24355 | |
case $as_dir in #(
|
24356 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
24357 | |
*) as_qdir=$as_dir;;
|
24358 | |
esac
|
24359 | |
as_dirs="'$as_qdir' $as_dirs"
|
24360 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
24361 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
24362 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
24363 | |
X"$as_dir" : 'X\(//\)$' \| \
|
24364 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
24365 | |
echo X"$as_dir" |
|
24366 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
24367 | |
s//\1/
|
24368 | |
q
|
24369 | |
}
|
24370 | |
/^X\(\/\/\)[^/].*/{
|
24371 | |
s//\1/
|
24372 | |
q
|
24373 | |
}
|
24374 | |
/^X\(\/\/\)$/{
|
24375 | |
s//\1/
|
24376 | |
q
|
24377 | |
}
|
24378 | |
/^X\(\/\).*/{
|
24379 | |
s//\1/
|
24380 | |
q
|
24381 | |
}
|
24382 | |
s/.*/./; q'`
|
24383 | |
test -d "$as_dir" && break
|
24384 | |
done
|
24385 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
24386 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
24387 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
24388 | |
{ (exit 1); exit 1; }; }; }
|
|
21621 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
24389 | 21622 |
# echo "creating $dirpart/$file"
|
24390 | 21623 |
echo '# dummy' > "$dirpart/$file"
|
24391 | 21624 |
done
|
|
24396 | 21629 |
done # for ac_tag
|
24397 | 21630 |
|
24398 | 21631 |
|
24399 | |
{ (exit 0); exit 0; }
|
|
21632 |
as_fn_exit 0
|
24400 | 21633 |
_ACEOF
|
24401 | |
chmod +x $CONFIG_STATUS
|
24402 | 21634 |
ac_clean_files=$ac_clean_files_save
|
|
21635 |
|
|
21636 |
test $ac_write_fail = 0 ||
|
|
21637 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
24403 | 21638 |
|
24404 | 21639 |
|
24405 | 21640 |
# configure is writing to config.log, and then calls config.status.
|
|
24420 | 21655 |
exec 5>>config.log
|
24421 | 21656 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
24422 | 21657 |
# would make configure fail if this is the last instruction.
|
24423 | |
$ac_cs_success || { (exit 1); exit 1; }
|
24424 | |
fi
|
24425 | |
|
|
21658 |
$ac_cs_success || as_fn_exit 1
|
|
21659 |
fi
|
|
21660 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
21661 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
21662 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
21663 |
fi
|
|
21664 |
|