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 for barrage 1.0.5.
|
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'"
|
|
547 | 553 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
548 | 554 |
|
549 | 555 |
|
550 | |
|
551 | |
exec 7<&0 </dev/null 6>&1
|
|
556 |
test -n "$DJDIR" || exec 7<&0 </dev/null
|
|
557 |
exec 6>&1
|
552 | 558 |
|
553 | 559 |
# Name of the host.
|
554 | |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
|
560 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
|
555 | 561 |
# so uname gets run too.
|
556 | 562 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
557 | 563 |
|
|
566 | 572 |
subdirs=
|
567 | 573 |
MFLAGS=
|
568 | 574 |
MAKEFLAGS=
|
569 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
570 | 575 |
|
571 | 576 |
# Identity of this package.
|
572 | |
PACKAGE_NAME=
|
573 | |
PACKAGE_TARNAME=
|
574 | |
PACKAGE_VERSION=
|
575 | |
PACKAGE_STRING=
|
576 | |
PACKAGE_BUGREPORT=
|
577 | |
|
578 | |
ac_unique_file="Makefile.am"
|
|
577 |
PACKAGE_NAME='barrage'
|
|
578 |
PACKAGE_TARNAME='barrage'
|
|
579 |
PACKAGE_VERSION='1.0.5'
|
|
580 |
PACKAGE_STRING='barrage 1.0.5'
|
|
581 |
PACKAGE_BUGREPORT=''
|
|
582 |
PACKAGE_URL=''
|
|
583 |
|
|
584 |
ac_unique_file="src/main.c"
|
579 | 585 |
# Factoring default headers for most tests.
|
580 | 586 |
ac_includes_default="\
|
581 | 587 |
#include <stdio.h>
|
|
612 | 618 |
# include <unistd.h>
|
613 | 619 |
#endif"
|
614 | 620 |
|
615 | |
ac_subst_vars='SHELL
|
|
621 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
622 |
am__EXEEXT_TRUE
|
|
623 |
LTLIBOBJS
|
|
624 |
hiscoredir
|
|
625 |
datdir
|
|
626 |
POW_LIB
|
|
627 |
LIBOBJS
|
|
628 |
ALLOCA
|
|
629 |
SDL_LIBS
|
|
630 |
SDL_CFLAGS
|
|
631 |
SDL_CONFIG
|
|
632 |
RANLIB
|
|
633 |
EGREP
|
|
634 |
GREP
|
|
635 |
CPP
|
|
636 |
am__fastdepCC_FALSE
|
|
637 |
am__fastdepCC_TRUE
|
|
638 |
CCDEPMODE
|
|
639 |
am__nodep
|
|
640 |
AMDEPBACKSLASH
|
|
641 |
AMDEP_FALSE
|
|
642 |
AMDEP_TRUE
|
|
643 |
am__quote
|
|
644 |
am__include
|
|
645 |
DEPDIR
|
|
646 |
OBJEXT
|
|
647 |
EXEEXT
|
|
648 |
ac_ct_CC
|
|
649 |
CPPFLAGS
|
|
650 |
LDFLAGS
|
|
651 |
CFLAGS
|
|
652 |
CC
|
|
653 |
AM_BACKSLASH
|
|
654 |
AM_DEFAULT_VERBOSITY
|
|
655 |
AM_DEFAULT_V
|
|
656 |
AM_V
|
|
657 |
am__untar
|
|
658 |
am__tar
|
|
659 |
AMTAR
|
|
660 |
am__leading_dot
|
|
661 |
SET_MAKE
|
|
662 |
AWK
|
|
663 |
mkdir_p
|
|
664 |
MKDIR_P
|
|
665 |
INSTALL_STRIP_PROGRAM
|
|
666 |
STRIP
|
|
667 |
install_sh
|
|
668 |
MAKEINFO
|
|
669 |
AUTOHEADER
|
|
670 |
AUTOMAKE
|
|
671 |
AUTOCONF
|
|
672 |
ACLOCAL
|
|
673 |
VERSION
|
|
674 |
PACKAGE
|
|
675 |
CYGPATH_W
|
|
676 |
am__isrc
|
|
677 |
INSTALL_DATA
|
|
678 |
INSTALL_SCRIPT
|
|
679 |
INSTALL_PROGRAM
|
|
680 |
target_os
|
|
681 |
target_vendor
|
|
682 |
target_cpu
|
|
683 |
target
|
|
684 |
host_os
|
|
685 |
host_vendor
|
|
686 |
host_cpu
|
|
687 |
host
|
|
688 |
build_os
|
|
689 |
build_vendor
|
|
690 |
build_cpu
|
|
691 |
build
|
|
692 |
target_alias
|
|
693 |
host_alias
|
|
694 |
build_alias
|
|
695 |
LIBS
|
|
696 |
ECHO_T
|
|
697 |
ECHO_N
|
|
698 |
ECHO_C
|
|
699 |
DEFS
|
|
700 |
mandir
|
|
701 |
localedir
|
|
702 |
libdir
|
|
703 |
psdir
|
|
704 |
pdfdir
|
|
705 |
dvidir
|
|
706 |
htmldir
|
|
707 |
infodir
|
|
708 |
docdir
|
|
709 |
oldincludedir
|
|
710 |
includedir
|
|
711 |
runstatedir
|
|
712 |
localstatedir
|
|
713 |
sharedstatedir
|
|
714 |
sysconfdir
|
|
715 |
datadir
|
|
716 |
datarootdir
|
|
717 |
libexecdir
|
|
718 |
sbindir
|
|
719 |
bindir
|
|
720 |
program_transform_name
|
|
721 |
prefix
|
|
722 |
exec_prefix
|
|
723 |
PACKAGE_URL
|
|
724 |
PACKAGE_BUGREPORT
|
|
725 |
PACKAGE_STRING
|
|
726 |
PACKAGE_VERSION
|
|
727 |
PACKAGE_TARNAME
|
|
728 |
PACKAGE_NAME
|
616 | 729 |
PATH_SEPARATOR
|
617 | |
PACKAGE_NAME
|
618 | |
PACKAGE_TARNAME
|
619 | |
PACKAGE_VERSION
|
620 | |
PACKAGE_STRING
|
621 | |
PACKAGE_BUGREPORT
|
622 | |
exec_prefix
|
623 | |
prefix
|
624 | |
program_transform_name
|
625 | |
bindir
|
626 | |
sbindir
|
627 | |
libexecdir
|
628 | |
datarootdir
|
629 | |
datadir
|
630 | |
sysconfdir
|
631 | |
sharedstatedir
|
632 | |
localstatedir
|
633 | |
includedir
|
634 | |
oldincludedir
|
635 | |
docdir
|
636 | |
infodir
|
637 | |
htmldir
|
638 | |
dvidir
|
639 | |
pdfdir
|
640 | |
psdir
|
641 | |
libdir
|
642 | |
localedir
|
643 | |
mandir
|
644 | |
DEFS
|
645 | |
ECHO_C
|
646 | |
ECHO_N
|
647 | |
ECHO_T
|
648 | |
LIBS
|
649 | |
build_alias
|
650 | |
host_alias
|
651 | |
target_alias
|
652 | |
build
|
653 | |
build_cpu
|
654 | |
build_vendor
|
655 | |
build_os
|
656 | |
host
|
657 | |
host_cpu
|
658 | |
host_vendor
|
659 | |
host_os
|
660 | |
target
|
661 | |
target_cpu
|
662 | |
target_vendor
|
663 | |
target_os
|
664 | |
CC
|
665 | |
CFLAGS
|
666 | |
LDFLAGS
|
667 | |
CPPFLAGS
|
668 | |
ac_ct_CC
|
669 | |
EXEEXT
|
670 | |
OBJEXT
|
671 | |
CPP
|
672 | |
GREP
|
673 | |
EGREP
|
674 | |
INSTALL_PROGRAM
|
675 | |
INSTALL_SCRIPT
|
676 | |
INSTALL_DATA
|
677 | |
CYGPATH_W
|
678 | |
PACKAGE
|
679 | |
VERSION
|
680 | |
ACLOCAL
|
681 | |
AUTOCONF
|
682 | |
AUTOMAKE
|
683 | |
AUTOHEADER
|
684 | |
MAKEINFO
|
685 | |
install_sh
|
686 | |
STRIP
|
687 | |
INSTALL_STRIP_PROGRAM
|
688 | |
mkdir_p
|
689 | |
AWK
|
690 | |
SET_MAKE
|
691 | |
am__leading_dot
|
692 | |
AMTAR
|
693 | |
am__tar
|
694 | |
am__untar
|
695 | |
DEPDIR
|
696 | |
am__include
|
697 | |
am__quote
|
698 | |
AMDEP_TRUE
|
699 | |
AMDEP_FALSE
|
700 | |
AMDEPBACKSLASH
|
701 | |
CCDEPMODE
|
702 | |
am__fastdepCC_TRUE
|
703 | |
am__fastdepCC_FALSE
|
704 | |
RANLIB
|
705 | |
SDL_CONFIG
|
706 | |
SDL_CFLAGS
|
707 | |
SDL_LIBS
|
708 | |
audio_flag
|
709 | |
audio_lib
|
710 | |
src_dir
|
711 | |
src_dir_flag
|
712 | |
LIBOBJS
|
713 | |
LTLIBOBJS'
|
|
730 |
SHELL'
|
714 | 731 |
ac_subst_files=''
|
|
732 |
ac_user_opts='
|
|
733 |
enable_option_checking
|
|
734 |
enable_silent_rules
|
|
735 |
enable_dependency_tracking
|
|
736 |
with_sdl_prefix
|
|
737 |
with_sdl_exec_prefix
|
|
738 |
enable_sdltest
|
|
739 |
enable_install
|
|
740 |
enable_debug
|
|
741 |
enable_audio
|
|
742 |
'
|
715 | 743 |
ac_precious_vars='build_alias
|
716 | 744 |
host_alias
|
717 | 745 |
target_alias
|
|
726 | 754 |
# Initialize some variables set by options.
|
727 | 755 |
ac_init_help=
|
728 | 756 |
ac_init_version=false
|
|
757 |
ac_unrecognized_opts=
|
|
758 |
ac_unrecognized_sep=
|
729 | 759 |
# The variables have the same names as the options, with
|
730 | 760 |
# dashes changed to underlines.
|
731 | 761 |
cache_file=/dev/null
|
|
757 | 787 |
sysconfdir='${prefix}/etc'
|
758 | 788 |
sharedstatedir='${prefix}/com'
|
759 | 789 |
localstatedir='${prefix}/var'
|
|
790 |
runstatedir='${localstatedir}/run'
|
760 | 791 |
includedir='${prefix}/include'
|
761 | 792 |
oldincludedir='/usr/include'
|
762 | |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
793 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
763 | 794 |
infodir='${datarootdir}/info'
|
764 | 795 |
htmldir='${docdir}'
|
765 | 796 |
dvidir='${docdir}'
|
|
781 | 812 |
fi
|
782 | 813 |
|
783 | 814 |
case $ac_option in
|
784 | |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
785 | |
*) ac_optarg=yes ;;
|
|
815 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
816 |
*=) ac_optarg= ;;
|
|
817 |
*) ac_optarg=yes ;;
|
786 | 818 |
esac
|
787 | 819 |
|
788 | 820 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
824 | 856 |
datarootdir=$ac_optarg ;;
|
825 | 857 |
|
826 | 858 |
-disable-* | --disable-*)
|
827 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
859 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
828 | 860 |
# Reject names that are not valid shell variable names.
|
829 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
830 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
831 | |
{ (exit 1); exit 1; }; }
|
832 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
833 | |
eval enable_$ac_feature=no ;;
|
|
861 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
862 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
863 |
ac_useropt_orig=$ac_useropt
|
|
864 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
865 |
case $ac_user_opts in
|
|
866 |
*"
|
|
867 |
"enable_$ac_useropt"
|
|
868 |
"*) ;;
|
|
869 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
870 |
ac_unrecognized_sep=', ';;
|
|
871 |
esac
|
|
872 |
eval enable_$ac_useropt=no ;;
|
834 | 873 |
|
835 | 874 |
-docdir | --docdir | --docdi | --doc | --do)
|
836 | 875 |
ac_prev=docdir ;;
|
|
843 | 882 |
dvidir=$ac_optarg ;;
|
844 | 883 |
|
845 | 884 |
-enable-* | --enable-*)
|
846 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
885 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
847 | 886 |
# Reject names that are not valid shell variable names.
|
848 | |
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
849 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
850 | |
{ (exit 1); exit 1; }; }
|
851 | |
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
|
852 | |
eval enable_$ac_feature=\$ac_optarg ;;
|
|
887 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
888 |
as_fn_error $? "invalid feature name: $ac_useropt"
|
|
889 |
ac_useropt_orig=$ac_useropt
|
|
890 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
891 |
case $ac_user_opts in
|
|
892 |
*"
|
|
893 |
"enable_$ac_useropt"
|
|
894 |
"*) ;;
|
|
895 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
896 |
ac_unrecognized_sep=', ';;
|
|
897 |
esac
|
|
898 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
853 | 899 |
|
854 | 900 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
855 | 901 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
994 | 1040 |
| -silent | --silent | --silen | --sile | --sil)
|
995 | 1041 |
silent=yes ;;
|
996 | 1042 |
|
|
1043 |
-runstatedir | --runstatedir | --runstatedi | --runstated \
|
|
1044 |
| --runstate | --runstat | --runsta | --runst | --runs \
|
|
1045 |
| --run | --ru | --r)
|
|
1046 |
ac_prev=runstatedir ;;
|
|
1047 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
|
|
1048 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
|
|
1049 |
| --run=* | --ru=* | --r=*)
|
|
1050 |
runstatedir=$ac_optarg ;;
|
|
1051 |
|
997 | 1052 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
998 | 1053 |
ac_prev=sbindir ;;
|
999 | 1054 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
1040 | 1095 |
ac_init_version=: ;;
|
1041 | 1096 |
|
1042 | 1097 |
-with-* | --with-*)
|
1043 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
1098 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1044 | 1099 |
# Reject names that are not valid shell variable names.
|
1045 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1046 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1047 | |
{ (exit 1); exit 1; }; }
|
1048 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1049 | |
eval with_$ac_package=\$ac_optarg ;;
|
|
1100 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1101 |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1102 |
ac_useropt_orig=$ac_useropt
|
|
1103 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1104 |
case $ac_user_opts in
|
|
1105 |
*"
|
|
1106 |
"with_$ac_useropt"
|
|
1107 |
"*) ;;
|
|
1108 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
1109 |
ac_unrecognized_sep=', ';;
|
|
1110 |
esac
|
|
1111 |
eval with_$ac_useropt=\$ac_optarg ;;
|
1050 | 1112 |
|
1051 | 1113 |
-without-* | --without-*)
|
1052 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1114 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1053 | 1115 |
# Reject names that are not valid shell variable names.
|
1054 | |
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1055 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
1056 | |
{ (exit 1); exit 1; }; }
|
1057 | |
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
|
1058 | |
eval with_$ac_package=no ;;
|
|
1116 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1117 |
as_fn_error $? "invalid package name: $ac_useropt"
|
|
1118 |
ac_useropt_orig=$ac_useropt
|
|
1119 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1120 |
case $ac_user_opts in
|
|
1121 |
*"
|
|
1122 |
"with_$ac_useropt"
|
|
1123 |
"*) ;;
|
|
1124 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1125 |
ac_unrecognized_sep=', ';;
|
|
1126 |
esac
|
|
1127 |
eval with_$ac_useropt=no ;;
|
1059 | 1128 |
|
1060 | 1129 |
--x)
|
1061 | 1130 |
# Obsolete; use --with-x.
|
|
1075 | 1144 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1076 | 1145 |
x_libraries=$ac_optarg ;;
|
1077 | 1146 |
|
1078 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
1079 | |
Try \`$0 --help' for more information." >&2
|
1080 | |
{ (exit 1); exit 1; }; }
|
|
1147 |
-*) as_fn_error $? "unrecognized option: \`$ac_option'
|
|
1148 |
Try \`$0 --help' for more information"
|
1081 | 1149 |
;;
|
1082 | 1150 |
|
1083 | 1151 |
*=*)
|
1084 | 1152 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1085 | 1153 |
# Reject names that are not valid shell variable names.
|
1086 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
1087 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
1088 | |
{ (exit 1); exit 1; }; }
|
|
1154 |
case $ac_envvar in #(
|
|
1155 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1156 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
|
|
1157 |
esac
|
1089 | 1158 |
eval $ac_envvar=\$ac_optarg
|
1090 | 1159 |
export $ac_envvar ;;
|
1091 | 1160 |
|
1092 | 1161 |
*)
|
1093 | 1162 |
# FIXME: should be removed in autoconf 3.0.
|
1094 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1163 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1095 | 1164 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1096 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1097 | |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
|
1165 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1166 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
|
1098 | 1167 |
;;
|
1099 | 1168 |
|
1100 | 1169 |
esac
|
|
1102 | 1171 |
|
1103 | 1172 |
if test -n "$ac_prev"; then
|
1104 | 1173 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1105 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
1106 | |
{ (exit 1); exit 1; }; }
|
1107 | |
fi
|
1108 | |
|
1109 | |
# Be sure to have absolute directory names.
|
|
1174 |
as_fn_error $? "missing argument to $ac_option"
|
|
1175 |
fi
|
|
1176 |
|
|
1177 |
if test -n "$ac_unrecognized_opts"; then
|
|
1178 |
case $enable_option_checking in
|
|
1179 |
no) ;;
|
|
1180 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1181 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1182 |
esac
|
|
1183 |
fi
|
|
1184 |
|
|
1185 |
# Check all directory arguments for consistency.
|
1110 | 1186 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1111 | 1187 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1112 | 1188 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1113 | |
libdir localedir mandir
|
|
1189 |
libdir localedir mandir runstatedir
|
1114 | 1190 |
do
|
1115 | 1191 |
eval ac_val=\$$ac_var
|
|
1192 |
# Remove trailing slashes.
|
|
1193 |
case $ac_val in
|
|
1194 |
*/ )
|
|
1195 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1196 |
eval $ac_var=\$ac_val;;
|
|
1197 |
esac
|
|
1198 |
# Be sure to have absolute directory names.
|
1116 | 1199 |
case $ac_val in
|
1117 | 1200 |
[\\/$]* | ?:[\\/]* ) continue;;
|
1118 | 1201 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1119 | 1202 |
esac
|
1120 | |
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
1121 | |
{ (exit 1); exit 1; }; }
|
|
1203 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
|
1122 | 1204 |
done
|
1123 | 1205 |
|
1124 | 1206 |
# There might be people who depend on the old broken behavior: `$host'
|
|
1132 | 1214 |
if test "x$host_alias" != x; then
|
1133 | 1215 |
if test "x$build_alias" = x; then
|
1134 | 1216 |
cross_compiling=maybe
|
1135 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1136 | |
If a cross compiler is detected then cross compile mode will be used." >&2
|
1137 | 1217 |
elif test "x$build_alias" != "x$host_alias"; then
|
1138 | 1218 |
cross_compiling=yes
|
1139 | 1219 |
fi
|
|
1148 | 1228 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1149 | 1229 |
ac_ls_di=`ls -di .` &&
|
1150 | 1230 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1151 | |
{ echo "$as_me: error: Working directory cannot be determined" >&2
|
1152 | |
{ (exit 1); exit 1; }; }
|
|
1231 |
as_fn_error $? "working directory cannot be determined"
|
1153 | 1232 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1154 | |
{ echo "$as_me: error: pwd does not report name of working directory" >&2
|
1155 | |
{ (exit 1); exit 1; }; }
|
|
1233 |
as_fn_error $? "pwd does not report name of working directory"
|
1156 | 1234 |
|
1157 | 1235 |
|
1158 | 1236 |
# Find the source files, if location was not specified.
|
1159 | 1237 |
if test -z "$srcdir"; then
|
1160 | 1238 |
ac_srcdir_defaulted=yes
|
1161 | 1239 |
# Try the directory containing this script, then the parent directory.
|
1162 | |
ac_confdir=`$as_dirname -- "$0" ||
|
1163 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1164 | |
X"$0" : 'X\(//\)[^/]' \| \
|
1165 | |
X"$0" : 'X\(//\)$' \| \
|
1166 | |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
1167 | |
echo X"$0" |
|
|
1240 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1241 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1242 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1243 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1244 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1245 |
$as_echo X"$as_myself" |
|
1168 | 1246 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1169 | 1247 |
s//\1/
|
1170 | 1248 |
q
|
|
1191 | 1269 |
fi
|
1192 | 1270 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
1193 | 1271 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1194 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
1195 | |
{ (exit 1); exit 1; }; }
|
|
1272 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
|
1196 | 1273 |
fi
|
1197 | 1274 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1198 | 1275 |
ac_abs_confdir=`(
|
1199 | |
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
|
1200 | |
{ (exit 1); exit 1; }; }
|
|
1276 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
|
1201 | 1277 |
pwd)`
|
1202 | 1278 |
# When building in place, set srcdir=.
|
1203 | 1279 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1223 | 1299 |
# Omit some internal or obsolete options to make the list less imposing.
|
1224 | 1300 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
1225 | 1301 |
cat <<_ACEOF
|
1226 | |
\`configure' configures this package to adapt to many kinds of systems.
|
|
1302 |
\`configure' configures barrage 1.0.5 to adapt to many kinds of systems.
|
1227 | 1303 |
|
1228 | 1304 |
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1229 | 1305 |
|
|
1237 | 1313 |
--help=short display options specific to this package
|
1238 | 1314 |
--help=recursive display the short help of all the included packages
|
1239 | 1315 |
-V, --version display version information and exit
|
1240 | |
-q, --quiet, --silent do not print \`checking...' messages
|
|
1316 |
-q, --quiet, --silent do not print \`checking ...' messages
|
1241 | 1317 |
--cache-file=FILE cache test results in FILE [disabled]
|
1242 | 1318 |
-C, --config-cache alias for \`--cache-file=config.cache'
|
1243 | 1319 |
-n, --no-create do not create output files
|
|
1245 | 1321 |
|
1246 | 1322 |
Installation directories:
|
1247 | 1323 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
1248 | |
[$ac_default_prefix]
|
|
1324 |
[$ac_default_prefix]
|
1249 | 1325 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1250 | |
[PREFIX]
|
|
1326 |
[PREFIX]
|
1251 | 1327 |
|
1252 | 1328 |
By default, \`make install' will install all the files in
|
1253 | 1329 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
1257 | 1333 |
For better control, use the options below.
|
1258 | 1334 |
|
1259 | 1335 |
Fine tuning of the installation directories:
|
1260 | |
--bindir=DIR user executables [EPREFIX/bin]
|
1261 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1262 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1263 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1264 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1265 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1266 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
1267 | |
--includedir=DIR C header files [PREFIX/include]
|
1268 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1269 | |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1270 | |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1271 | |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1272 | |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1273 | |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1274 | |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
1275 | |
--htmldir=DIR html documentation [DOCDIR]
|
1276 | |
--dvidir=DIR dvi documentation [DOCDIR]
|
1277 | |
--pdfdir=DIR pdf documentation [DOCDIR]
|
1278 | |
--psdir=DIR ps documentation [DOCDIR]
|
|
1336 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1337 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1338 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1339 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1340 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1341 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1342 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
|
1343 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1344 |
--includedir=DIR C header files [PREFIX/include]
|
|
1345 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1346 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1347 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1348 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1349 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1350 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1351 |
--docdir=DIR documentation root [DATAROOTDIR/doc/barrage]
|
|
1352 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1353 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1354 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1355 |
--psdir=DIR ps documentation [DOCDIR]
|
1279 | 1356 |
_ACEOF
|
1280 | 1357 |
|
1281 | 1358 |
cat <<\_ACEOF
|
|
1293 | 1370 |
fi
|
1294 | 1371 |
|
1295 | 1372 |
if test -n "$ac_init_help"; then
|
1296 | |
|
|
1373 |
case $ac_init_help in
|
|
1374 |
short | recursive ) echo "Configuration of barrage 1.0.5:";;
|
|
1375 |
esac
|
1297 | 1376 |
cat <<\_ACEOF
|
1298 | 1377 |
|
1299 | 1378 |
Optional Features:
|
|
1379 |
--disable-option-checking ignore unrecognized --enable/--with options
|
1300 | 1380 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1301 | 1381 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1302 | |
--disable-dependency-tracking speeds up one-time build
|
1303 | |
--enable-dependency-tracking do not reject slow dependency extractors
|
|
1382 |
--enable-silent-rules less verbose build output (undo: "make V=1")
|
|
1383 |
--disable-silent-rules verbose build output (undo: "make V=0")
|
|
1384 |
--enable-dependency-tracking
|
|
1385 |
do not reject slow dependency extractors
|
|
1386 |
--disable-dependency-tracking
|
|
1387 |
speeds up one-time build
|
1304 | 1388 |
--disable-sdltest Do not try to compile and run a test SDL program
|
1305 | |
--disable-audio Disables Audio
|
1306 | |
--disable-install No installation. Played from the source directory.
|
|
1389 |
--disable-install No installation. Start from source directory.
|
|
1390 |
--enable-debug Add debug symbols, no optimization.
|
|
1391 |
--disable-audio Disable Audio
|
1307 | 1392 |
|
1308 | 1393 |
Optional Packages:
|
1309 | 1394 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
1317 | 1402 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
1318 | 1403 |
nonstandard directory <lib dir>
|
1319 | 1404 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
1320 | |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1405 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
1321 | 1406 |
you have headers in a nonstandard directory <include dir>
|
1322 | 1407 |
CPP C preprocessor
|
1323 | 1408 |
|
1324 | 1409 |
Use these variables to override the choices made by `configure' or to help
|
1325 | 1410 |
it to find libraries and programs with nonstandard names/locations.
|
1326 | 1411 |
|
|
1412 |
Report bugs to the package provider.
|
1327 | 1413 |
_ACEOF
|
1328 | 1414 |
ac_status=$?
|
1329 | 1415 |
fi
|
|
1331 | 1417 |
if test "$ac_init_help" = "recursive"; then
|
1332 | 1418 |
# If there are subdirs, report their specific --help.
|
1333 | 1419 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1334 | |
test -d "$ac_dir" || continue
|
|
1420 |
test -d "$ac_dir" ||
|
|
1421 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1422 |
continue
|
1335 | 1423 |
ac_builddir=.
|
1336 | 1424 |
|
1337 | 1425 |
case "$ac_dir" in
|
1338 | 1426 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1339 | 1427 |
*)
|
1340 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
1428 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1341 | 1429 |
# A ".." for each directory in $ac_dir_suffix.
|
1342 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
1430 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1343 | 1431 |
case $ac_top_builddir_sub in
|
1344 | 1432 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1345 | 1433 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1375 | 1463 |
echo &&
|
1376 | 1464 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
1377 | 1465 |
else
|
1378 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1466 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1379 | 1467 |
fi || ac_status=$?
|
1380 | 1468 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
1381 | 1469 |
done
|
|
1384 | 1472 |
test -n "$ac_init_help" && exit $ac_status
|
1385 | 1473 |
if $ac_init_version; then
|
1386 | 1474 |
cat <<\_ACEOF
|
1387 | |
configure
|
1388 | |
generated by GNU Autoconf 2.61
|
1389 | |
|
1390 | |
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
1391 | |
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
1475 |
barrage configure 1.0.5
|
|
1476 |
generated by GNU Autoconf 2.69
|
|
1477 |
|
|
1478 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
1392 | 1479 |
This configure script is free software; the Free Software Foundation
|
1393 | 1480 |
gives unlimited permission to copy, distribute and modify it.
|
1394 | 1481 |
_ACEOF
|
1395 | 1482 |
exit
|
1396 | 1483 |
fi
|
|
1484 |
|
|
1485 |
## ------------------------ ##
|
|
1486 |
## Autoconf initialization. ##
|
|
1487 |
## ------------------------ ##
|
|
1488 |
|
|
1489 |
# ac_fn_c_try_compile LINENO
|
|
1490 |
# --------------------------
|
|
1491 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1492 |
ac_fn_c_try_compile ()
|
|
1493 |
{
|
|
1494 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1495 |
rm -f conftest.$ac_objext
|
|
1496 |
if { { ac_try="$ac_compile"
|
|
1497 |
case "(($ac_try" in
|
|
1498 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1499 |
*) ac_try_echo=$ac_try;;
|
|
1500 |
esac
|
|
1501 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1502 |
$as_echo "$ac_try_echo"; } >&5
|
|
1503 |
(eval "$ac_compile") 2>conftest.err
|
|
1504 |
ac_status=$?
|
|
1505 |
if test -s conftest.err; then
|
|
1506 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1507 |
cat conftest.er1 >&5
|
|
1508 |
mv -f conftest.er1 conftest.err
|
|
1509 |
fi
|
|
1510 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1511 |
test $ac_status = 0; } && {
|
|
1512 |
test -z "$ac_c_werror_flag" ||
|
|
1513 |
test ! -s conftest.err
|
|
1514 |
} && test -s conftest.$ac_objext; then :
|
|
1515 |
ac_retval=0
|
|
1516 |
else
|
|
1517 |
$as_echo "$as_me: failed program was:" >&5
|
|
1518 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1519 |
|
|
1520 |
ac_retval=1
|
|
1521 |
fi
|
|
1522 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1523 |
as_fn_set_status $ac_retval
|
|
1524 |
|
|
1525 |
} # ac_fn_c_try_compile
|
|
1526 |
|
|
1527 |
# ac_fn_c_try_cpp LINENO
|
|
1528 |
# ----------------------
|
|
1529 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
|
1530 |
ac_fn_c_try_cpp ()
|
|
1531 |
{
|
|
1532 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1533 |
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
|
1534 |
case "(($ac_try" in
|
|
1535 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1536 |
*) ac_try_echo=$ac_try;;
|
|
1537 |
esac
|
|
1538 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1539 |
$as_echo "$ac_try_echo"; } >&5
|
|
1540 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
|
1541 |
ac_status=$?
|
|
1542 |
if test -s conftest.err; then
|
|
1543 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1544 |
cat conftest.er1 >&5
|
|
1545 |
mv -f conftest.er1 conftest.err
|
|
1546 |
fi
|
|
1547 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1548 |
test $ac_status = 0; } > conftest.i && {
|
|
1549 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
|
1550 |
test ! -s conftest.err
|
|
1551 |
}; then :
|
|
1552 |
ac_retval=0
|
|
1553 |
else
|
|
1554 |
$as_echo "$as_me: failed program was:" >&5
|
|
1555 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1556 |
|
|
1557 |
ac_retval=1
|
|
1558 |
fi
|
|
1559 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1560 |
as_fn_set_status $ac_retval
|
|
1561 |
|
|
1562 |
} # ac_fn_c_try_cpp
|
|
1563 |
|
|
1564 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
|
1565 |
# -------------------------------------------------------
|
|
1566 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
|
1567 |
# the include files in INCLUDES and setting the cache variable VAR
|
|
1568 |
# accordingly.
|
|
1569 |
ac_fn_c_check_header_mongrel ()
|
|
1570 |
{
|
|
1571 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1572 |
if eval \${$3+:} false; then :
|
|
1573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1574 |
$as_echo_n "checking for $2... " >&6; }
|
|
1575 |
if eval \${$3+:} false; then :
|
|
1576 |
$as_echo_n "(cached) " >&6
|
|
1577 |
fi
|
|
1578 |
eval ac_res=\$$3
|
|
1579 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1580 |
$as_echo "$ac_res" >&6; }
|
|
1581 |
else
|
|
1582 |
# Is the header compilable?
|
|
1583 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
|
1584 |
$as_echo_n "checking $2 usability... " >&6; }
|
|
1585 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1586 |
/* end confdefs.h. */
|
|
1587 |
$4
|
|
1588 |
#include <$2>
|
|
1589 |
_ACEOF
|
|
1590 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1591 |
ac_header_compiler=yes
|
|
1592 |
else
|
|
1593 |
ac_header_compiler=no
|
|
1594 |
fi
|
|
1595 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1596 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
|
1597 |
$as_echo "$ac_header_compiler" >&6; }
|
|
1598 |
|
|
1599 |
# Is the header present?
|
|
1600 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
|
1601 |
$as_echo_n "checking $2 presence... " >&6; }
|
|
1602 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1603 |
/* end confdefs.h. */
|
|
1604 |
#include <$2>
|
|
1605 |
_ACEOF
|
|
1606 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
1607 |
ac_header_preproc=yes
|
|
1608 |
else
|
|
1609 |
ac_header_preproc=no
|
|
1610 |
fi
|
|
1611 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
1612 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
|
1613 |
$as_echo "$ac_header_preproc" >&6; }
|
|
1614 |
|
|
1615 |
# So? What about this header?
|
|
1616 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
|
1617 |
yes:no: )
|
|
1618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
|
1619 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
|
1620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1621 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1622 |
;;
|
|
1623 |
no:yes:* )
|
|
1624 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
|
1625 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
|
1626 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
|
1627 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
|
1628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
|
1629 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
|
1630 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
|
1631 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
|
1632 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
|
1633 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
|
1634 |
;;
|
|
1635 |
esac
|
|
1636 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1637 |
$as_echo_n "checking for $2... " >&6; }
|
|
1638 |
if eval \${$3+:} false; then :
|
|
1639 |
$as_echo_n "(cached) " >&6
|
|
1640 |
else
|
|
1641 |
eval "$3=\$ac_header_compiler"
|
|
1642 |
fi
|
|
1643 |
eval ac_res=\$$3
|
|
1644 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1645 |
$as_echo "$ac_res" >&6; }
|
|
1646 |
fi
|
|
1647 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1648 |
|
|
1649 |
} # ac_fn_c_check_header_mongrel
|
|
1650 |
|
|
1651 |
# ac_fn_c_try_run LINENO
|
|
1652 |
# ----------------------
|
|
1653 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
|
1654 |
# that executables *can* be run.
|
|
1655 |
ac_fn_c_try_run ()
|
|
1656 |
{
|
|
1657 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1658 |
if { { ac_try="$ac_link"
|
|
1659 |
case "(($ac_try" in
|
|
1660 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1661 |
*) ac_try_echo=$ac_try;;
|
|
1662 |
esac
|
|
1663 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1664 |
$as_echo "$ac_try_echo"; } >&5
|
|
1665 |
(eval "$ac_link") 2>&5
|
|
1666 |
ac_status=$?
|
|
1667 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1668 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
|
1669 |
{ { case "(($ac_try" in
|
|
1670 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1671 |
*) ac_try_echo=$ac_try;;
|
|
1672 |
esac
|
|
1673 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1674 |
$as_echo "$ac_try_echo"; } >&5
|
|
1675 |
(eval "$ac_try") 2>&5
|
|
1676 |
ac_status=$?
|
|
1677 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1678 |
test $ac_status = 0; }; }; then :
|
|
1679 |
ac_retval=0
|
|
1680 |
else
|
|
1681 |
$as_echo "$as_me: program exited with status $ac_status" >&5
|
|
1682 |
$as_echo "$as_me: failed program was:" >&5
|
|
1683 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1684 |
|
|
1685 |
ac_retval=$ac_status
|
|
1686 |
fi
|
|
1687 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1688 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1689 |
as_fn_set_status $ac_retval
|
|
1690 |
|
|
1691 |
} # ac_fn_c_try_run
|
|
1692 |
|
|
1693 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
|
1694 |
# -------------------------------------------------------
|
|
1695 |
# Tests whether HEADER exists and can be compiled using the include files in
|
|
1696 |
# INCLUDES, setting the cache variable VAR accordingly.
|
|
1697 |
ac_fn_c_check_header_compile ()
|
|
1698 |
{
|
|
1699 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1700 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1701 |
$as_echo_n "checking for $2... " >&6; }
|
|
1702 |
if eval \${$3+:} false; then :
|
|
1703 |
$as_echo_n "(cached) " >&6
|
|
1704 |
else
|
|
1705 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1706 |
/* end confdefs.h. */
|
|
1707 |
$4
|
|
1708 |
#include <$2>
|
|
1709 |
_ACEOF
|
|
1710 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1711 |
eval "$3=yes"
|
|
1712 |
else
|
|
1713 |
eval "$3=no"
|
|
1714 |
fi
|
|
1715 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1716 |
fi
|
|
1717 |
eval ac_res=\$$3
|
|
1718 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1719 |
$as_echo "$ac_res" >&6; }
|
|
1720 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1721 |
|
|
1722 |
} # ac_fn_c_check_header_compile
|
|
1723 |
|
|
1724 |
# ac_fn_c_try_link LINENO
|
|
1725 |
# -----------------------
|
|
1726 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1727 |
ac_fn_c_try_link ()
|
|
1728 |
{
|
|
1729 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1730 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1731 |
if { { ac_try="$ac_link"
|
|
1732 |
case "(($ac_try" in
|
|
1733 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1734 |
*) ac_try_echo=$ac_try;;
|
|
1735 |
esac
|
|
1736 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1737 |
$as_echo "$ac_try_echo"; } >&5
|
|
1738 |
(eval "$ac_link") 2>conftest.err
|
|
1739 |
ac_status=$?
|
|
1740 |
if test -s conftest.err; then
|
|
1741 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1742 |
cat conftest.er1 >&5
|
|
1743 |
mv -f conftest.er1 conftest.err
|
|
1744 |
fi
|
|
1745 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1746 |
test $ac_status = 0; } && {
|
|
1747 |
test -z "$ac_c_werror_flag" ||
|
|
1748 |
test ! -s conftest.err
|
|
1749 |
} && test -s conftest$ac_exeext && {
|
|
1750 |
test "$cross_compiling" = yes ||
|
|
1751 |
test -x conftest$ac_exeext
|
|
1752 |
}; then :
|
|
1753 |
ac_retval=0
|
|
1754 |
else
|
|
1755 |
$as_echo "$as_me: failed program was:" >&5
|
|
1756 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1757 |
|
|
1758 |
ac_retval=1
|
|
1759 |
fi
|
|
1760 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1761 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1762 |
# interfere with the next link command; also delete a directory that is
|
|
1763 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1764 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1765 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1766 |
as_fn_set_status $ac_retval
|
|
1767 |
|
|
1768 |
} # ac_fn_c_try_link
|
|
1769 |
|
|
1770 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
|
|
1771 |
# -------------------------------------------
|
|
1772 |
# Tests whether TYPE exists after having included INCLUDES, setting cache
|
|
1773 |
# variable VAR accordingly.
|
|
1774 |
ac_fn_c_check_type ()
|
|
1775 |
{
|
|
1776 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1777 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1778 |
$as_echo_n "checking for $2... " >&6; }
|
|
1779 |
if eval \${$3+:} false; then :
|
|
1780 |
$as_echo_n "(cached) " >&6
|
|
1781 |
else
|
|
1782 |
eval "$3=no"
|
|
1783 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1784 |
/* end confdefs.h. */
|
|
1785 |
$4
|
|
1786 |
int
|
|
1787 |
main ()
|
|
1788 |
{
|
|
1789 |
if (sizeof ($2))
|
|
1790 |
return 0;
|
|
1791 |
;
|
|
1792 |
return 0;
|
|
1793 |
}
|
|
1794 |
_ACEOF
|
|
1795 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1796 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1797 |
/* end confdefs.h. */
|
|
1798 |
$4
|
|
1799 |
int
|
|
1800 |
main ()
|
|
1801 |
{
|
|
1802 |
if (sizeof (($2)))
|
|
1803 |
return 0;
|
|
1804 |
;
|
|
1805 |
return 0;
|
|
1806 |
}
|
|
1807 |
_ACEOF
|
|
1808 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
1809 |
|
|
1810 |
else
|
|
1811 |
eval "$3=yes"
|
|
1812 |
fi
|
|
1813 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1814 |
fi
|
|
1815 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
1816 |
fi
|
|
1817 |
eval ac_res=\$$3
|
|
1818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1819 |
$as_echo "$ac_res" >&6; }
|
|
1820 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1821 |
|
|
1822 |
} # ac_fn_c_check_type
|
|
1823 |
|
|
1824 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1825 |
# ----------------------------------
|
|
1826 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1827 |
ac_fn_c_check_func ()
|
|
1828 |
{
|
|
1829 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1830 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1831 |
$as_echo_n "checking for $2... " >&6; }
|
|
1832 |
if eval \${$3+:} false; then :
|
|
1833 |
$as_echo_n "(cached) " >&6
|
|
1834 |
else
|
|
1835 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1836 |
/* end confdefs.h. */
|
|
1837 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1838 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1839 |
#define $2 innocuous_$2
|
|
1840 |
|
|
1841 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1842 |
which can conflict with char $2 (); below.
|
|
1843 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1844 |
<limits.h> exists even on freestanding compilers. */
|
|
1845 |
|
|
1846 |
#ifdef __STDC__
|
|
1847 |
# include <limits.h>
|
|
1848 |
#else
|
|
1849 |
# include <assert.h>
|
|
1850 |
#endif
|
|
1851 |
|
|
1852 |
#undef $2
|
|
1853 |
|
|
1854 |
/* Override any GCC internal prototype to avoid an error.
|
|
1855 |
Use char because int might match the return type of a GCC
|
|
1856 |
builtin and then its argument prototype would still apply. */
|
|
1857 |
#ifdef __cplusplus
|
|
1858 |
extern "C"
|
|
1859 |
#endif
|
|
1860 |
char $2 ();
|
|
1861 |
/* The GNU C library defines this for functions which it implements
|
|
1862 |
to always fail with ENOSYS. Some functions are actually named
|
|
1863 |
something starting with __ and the normal name is an alias. */
|
|
1864 |
#if defined __stub_$2 || defined __stub___$2
|
|
1865 |
choke me
|
|
1866 |
#endif
|
|
1867 |
|
|
1868 |
int
|
|
1869 |
main ()
|
|
1870 |
{
|
|
1871 |
return $2 ();
|
|
1872 |
;
|
|
1873 |
return 0;
|
|
1874 |
}
|
|
1875 |
_ACEOF
|
|
1876 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1877 |
eval "$3=yes"
|
|
1878 |
else
|
|
1879 |
eval "$3=no"
|
|
1880 |
fi
|
|
1881 |
rm -f core conftest.err conftest.$ac_objext \
|
|
1882 |
conftest$ac_exeext conftest.$ac_ext
|
|
1883 |
fi
|
|
1884 |
eval ac_res=\$$3
|
|
1885 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1886 |
$as_echo "$ac_res" >&6; }
|
|
1887 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
|
|
1888 |
|
|
1889 |
} # ac_fn_c_check_func
|
1397 | 1890 |
cat >config.log <<_ACEOF
|
1398 | 1891 |
This file contains any messages produced by compilers while
|
1399 | 1892 |
running configure, to aid debugging if configure makes a mistake.
|
1400 | 1893 |
|
1401 | |
It was created by $as_me, which was
|
1402 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
|
1894 |
It was created by barrage $as_me 1.0.5, which was
|
|
1895 |
generated by GNU Autoconf 2.69. Invocation command line was
|
1403 | 1896 |
|
1404 | 1897 |
$ $0 $@
|
1405 | 1898 |
|
|
1435 | 1928 |
do
|
1436 | 1929 |
IFS=$as_save_IFS
|
1437 | 1930 |
test -z "$as_dir" && as_dir=.
|
1438 | |
echo "PATH: $as_dir"
|
1439 | |
done
|
|
1931 |
$as_echo "PATH: $as_dir"
|
|
1932 |
done
|
1440 | 1933 |
IFS=$as_save_IFS
|
1441 | 1934 |
|
1442 | 1935 |
} >&5
|
|
1470 | 1963 |
| -silent | --silent | --silen | --sile | --sil)
|
1471 | 1964 |
continue ;;
|
1472 | 1965 |
*\'*)
|
1473 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1966 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1474 | 1967 |
esac
|
1475 | 1968 |
case $ac_pass in
|
1476 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1969 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1477 | 1970 |
2)
|
1478 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1971 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1479 | 1972 |
if test $ac_must_keep_next = true; then
|
1480 | 1973 |
ac_must_keep_next=false # Got value, back to normal.
|
1481 | 1974 |
else
|
|
1491 | 1984 |
-* ) ac_must_keep_next=true ;;
|
1492 | 1985 |
esac
|
1493 | 1986 |
fi
|
1494 | |
ac_configure_args="$ac_configure_args '$ac_arg'"
|
|
1987 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1495 | 1988 |
;;
|
1496 | 1989 |
esac
|
1497 | 1990 |
done
|
1498 | 1991 |
done
|
1499 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1500 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1992 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1993 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1501 | 1994 |
|
1502 | 1995 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1503 | 1996 |
# config.log. We remove comments because anyway the quotes in there
|
|
1509 | 2002 |
{
|
1510 | 2003 |
echo
|
1511 | 2004 |
|
1512 | |
cat <<\_ASBOX
|
1513 | |
## ---------------- ##
|
|
2005 |
$as_echo "## ---------------- ##
|
1514 | 2006 |
## Cache variables. ##
|
1515 | |
## ---------------- ##
|
1516 | |
_ASBOX
|
|
2007 |
## ---------------- ##"
|
1517 | 2008 |
echo
|
1518 | 2009 |
# The following way of writing the cache mishandles newlines in values,
|
1519 | 2010 |
(
|
|
1522 | 2013 |
case $ac_val in #(
|
1523 | 2014 |
*${as_nl}*)
|
1524 | 2015 |
case $ac_var in #(
|
1525 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
1526 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
2016 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
2017 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
1527 | 2018 |
esac
|
1528 | 2019 |
case $ac_var in #(
|
1529 | 2020 |
_ | IFS | as_nl) ;; #(
|
1530 | |
*) $as_unset $ac_var ;;
|
|
2021 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
2022 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
1531 | 2023 |
esac ;;
|
1532 | 2024 |
esac
|
1533 | 2025 |
done
|
|
1546 | 2038 |
)
|
1547 | 2039 |
echo
|
1548 | 2040 |
|
1549 | |
cat <<\_ASBOX
|
1550 | |
## ----------------- ##
|
|
2041 |
$as_echo "## ----------------- ##
|
1551 | 2042 |
## Output variables. ##
|
1552 | |
## ----------------- ##
|
1553 | |
_ASBOX
|
|
2043 |
## ----------------- ##"
|
1554 | 2044 |
echo
|
1555 | 2045 |
for ac_var in $ac_subst_vars
|
1556 | 2046 |
do
|
1557 | 2047 |
eval ac_val=\$$ac_var
|
1558 | 2048 |
case $ac_val in
|
1559 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2049 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1560 | 2050 |
esac
|
1561 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2051 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1562 | 2052 |
done | sort
|
1563 | 2053 |
echo
|
1564 | 2054 |
|
1565 | 2055 |
if test -n "$ac_subst_files"; then
|
1566 | |
cat <<\_ASBOX
|
1567 | |
## ------------------- ##
|
|
2056 |
$as_echo "## ------------------- ##
|
1568 | 2057 |
## File substitutions. ##
|
1569 | |
## ------------------- ##
|
1570 | |
_ASBOX
|
|
2058 |
## ------------------- ##"
|
1571 | 2059 |
echo
|
1572 | 2060 |
for ac_var in $ac_subst_files
|
1573 | 2061 |
do
|
1574 | 2062 |
eval ac_val=\$$ac_var
|
1575 | 2063 |
case $ac_val in
|
1576 | |
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
2064 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
1577 | 2065 |
esac
|
1578 | |
echo "$ac_var='\''$ac_val'\''"
|
|
2066 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1579 | 2067 |
done | sort
|
1580 | 2068 |
echo
|
1581 | 2069 |
fi
|
1582 | 2070 |
|
1583 | 2071 |
if test -s confdefs.h; then
|
1584 | |
cat <<\_ASBOX
|
1585 | |
## ----------- ##
|
|
2072 |
$as_echo "## ----------- ##
|
1586 | 2073 |
## confdefs.h. ##
|
1587 | |
## ----------- ##
|
1588 | |
_ASBOX
|
|
2074 |
## ----------- ##"
|
1589 | 2075 |
echo
|
1590 | 2076 |
cat confdefs.h
|
1591 | 2077 |
echo
|
1592 | 2078 |
fi
|
1593 | 2079 |
test "$ac_signal" != 0 &&
|
1594 | |
echo "$as_me: caught signal $ac_signal"
|
1595 | |
echo "$as_me: exit $exit_status"
|
|
2080 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
2081 |
$as_echo "$as_me: exit $exit_status"
|
1596 | 2082 |
} >&5
|
1597 | 2083 |
rm -f core *.core core.conftest.* &&
|
1598 | 2084 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1599 | 2085 |
exit $exit_status
|
1600 | 2086 |
' 0
|
1601 | 2087 |
for ac_signal in 1 2 13 15; do
|
1602 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
2088 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1603 | 2089 |
done
|
1604 | 2090 |
ac_signal=0
|
1605 | 2091 |
|
1606 | 2092 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1607 | 2093 |
rm -f -r conftest* confdefs.h
|
1608 | 2094 |
|
|
2095 |
$as_echo "/* confdefs.h */" > confdefs.h
|
|
2096 |
|
1609 | 2097 |
# Predefined preprocessor variables.
|
1610 | 2098 |
|
1611 | 2099 |
cat >>confdefs.h <<_ACEOF
|
1612 | 2100 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1613 | 2101 |
_ACEOF
|
1614 | 2102 |
|
1615 | |
|
1616 | 2103 |
cat >>confdefs.h <<_ACEOF
|
1617 | 2104 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1618 | 2105 |
_ACEOF
|
1619 | 2106 |
|
1620 | |
|
1621 | 2107 |
cat >>confdefs.h <<_ACEOF
|
1622 | 2108 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1623 | 2109 |
_ACEOF
|
1624 | 2110 |
|
1625 | |
|
1626 | 2111 |
cat >>confdefs.h <<_ACEOF
|
1627 | 2112 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1628 | 2113 |
_ACEOF
|
1629 | 2114 |
|
1630 | |
|
1631 | 2115 |
cat >>confdefs.h <<_ACEOF
|
1632 | 2116 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1633 | 2117 |
_ACEOF
|
1634 | 2118 |
|
|
2119 |
cat >>confdefs.h <<_ACEOF
|
|
2120 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
2121 |
_ACEOF
|
|
2122 |
|
1635 | 2123 |
|
1636 | 2124 |
# Let the site file select an alternate cache file if it wants to.
|
1637 | |
# Prefer explicitly selected file to automatically selected ones.
|
|
2125 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
2126 |
ac_site_file1=NONE
|
|
2127 |
ac_site_file2=NONE
|
1638 | 2128 |
if test -n "$CONFIG_SITE"; then
|
1639 | |
set x "$CONFIG_SITE"
|
|
2129 |
# We do not want a PATH search for config.site.
|
|
2130 |
case $CONFIG_SITE in #((
|
|
2131 |
-*) ac_site_file1=./$CONFIG_SITE;;
|
|
2132 |
*/*) ac_site_file1=$CONFIG_SITE;;
|
|
2133 |
*) ac_site_file1=./$CONFIG_SITE;;
|
|
2134 |
esac
|
1640 | 2135 |
elif test "x$prefix" != xNONE; then
|
1641 | |
set x "$prefix/share/config.site" "$prefix/etc/config.site"
|
1642 | |
else
|
1643 | |
set x "$ac_default_prefix/share/config.site" \
|
1644 | |
"$ac_default_prefix/etc/config.site"
|
1645 | |
fi
|
1646 | |
shift
|
1647 | |
for ac_site_file
|
|
2136 |
ac_site_file1=$prefix/share/config.site
|
|
2137 |
ac_site_file2=$prefix/etc/config.site
|
|
2138 |
else
|
|
2139 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
2140 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
2141 |
fi
|
|
2142 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
1648 | 2143 |
do
|
1649 | |
if test -r "$ac_site_file"; then
|
1650 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1651 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
2144 |
test "x$ac_site_file" = xNONE && continue
|
|
2145 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
|
|
2146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
2147 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1652 | 2148 |
sed 's/^/| /' "$ac_site_file" >&5
|
1653 | |
. "$ac_site_file"
|
|
2149 |
. "$ac_site_file" \
|
|
2150 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2151 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2152 |
as_fn_error $? "failed to load site script $ac_site_file
|
|
2153 |
See \`config.log' for more details" "$LINENO" 5; }
|
1654 | 2154 |
fi
|
1655 | 2155 |
done
|
1656 | 2156 |
|
1657 | 2157 |
if test -r "$cache_file"; then
|
1658 | |
# Some versions of bash will fail to source /dev/null (special
|
1659 | |
# files actually), so we avoid doing that.
|
1660 | |
if test -f "$cache_file"; then
|
1661 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1662 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
2158 |
# Some versions of bash will fail to source /dev/null (special files
|
|
2159 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
|
|
2160 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
|
|
2161 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
2162 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1663 | 2163 |
case $cache_file in
|
1664 | 2164 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
1665 | 2165 |
*) . "./$cache_file";;
|
1666 | 2166 |
esac
|
1667 | 2167 |
fi
|
1668 | 2168 |
else
|
1669 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1670 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
2169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
2170 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1671 | 2171 |
>$cache_file
|
1672 | 2172 |
fi
|
1673 | 2173 |
|
|
1681 | 2181 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1682 | 2182 |
case $ac_old_set,$ac_new_set in
|
1683 | 2183 |
set,)
|
1684 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1685 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
2184 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
2185 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1686 | 2186 |
ac_cache_corrupted=: ;;
|
1687 | 2187 |
,set)
|
1688 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1689 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
2188 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
2189 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1690 | 2190 |
ac_cache_corrupted=: ;;
|
1691 | 2191 |
,);;
|
1692 | 2192 |
*)
|
1693 | 2193 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1694 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1695 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1696 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1697 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1698 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1699 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1700 | |
ac_cache_corrupted=:
|
|
2194 |
# differences in whitespace do not lead to failure.
|
|
2195 |
ac_old_val_w=`echo x $ac_old_val`
|
|
2196 |
ac_new_val_w=`echo x $ac_new_val`
|
|
2197 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
2198 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
2199 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
2200 |
ac_cache_corrupted=:
|
|
2201 |
else
|
|
2202 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
2203 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
2204 |
eval $ac_var=\$ac_old_val
|
|
2205 |
fi
|
|
2206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
2207 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
2208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
2209 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1701 | 2210 |
fi;;
|
1702 | 2211 |
esac
|
1703 | 2212 |
# Pass precious variables to config.status.
|
1704 | 2213 |
if test "$ac_new_set" = set; then
|
1705 | 2214 |
case $ac_new_val in
|
1706 | |
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
2215 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1707 | 2216 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1708 | 2217 |
esac
|
1709 | 2218 |
case " $ac_configure_args " in
|
1710 | 2219 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1711 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
2220 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1712 | 2221 |
esac
|
1713 | 2222 |
fi
|
1714 | 2223 |
done
|
1715 | 2224 |
if $ac_cache_corrupted; then
|
1716 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1717 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1718 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1719 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1720 | |
{ (exit 1); exit 1; }; }
|
1721 | |
fi
|
1722 | |
|
1723 | |
|
1724 | |
|
1725 | |
|
1726 | |
|
1727 | |
|
1728 | |
|
1729 | |
|
1730 | |
|
1731 | |
|
1732 | |
|
1733 | |
|
1734 | |
|
1735 | |
|
1736 | |
|
1737 | |
|
|
2225 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2226 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2227 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
2228 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
2229 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
2230 |
fi
|
|
2231 |
## -------------------- ##
|
|
2232 |
## Main body of script. ##
|
|
2233 |
## -------------------- ##
|
1738 | 2234 |
|
1739 | 2235 |
ac_ext=c
|
1740 | 2236 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1742 | 2238 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
1743 | 2239 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1744 | 2240 |
|
|
2241 |
|
|
2242 |
|
|
2243 |
ac_config_headers="$ac_config_headers config.h"
|
1745 | 2244 |
|
1746 | 2245 |
ac_aux_dir=
|
1747 | 2246 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1760 | 2259 |
fi
|
1761 | 2260 |
done
|
1762 | 2261 |
if test -z "$ac_aux_dir"; then
|
1763 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
|
1764 | |
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
|
1765 | |
{ (exit 1); exit 1; }; }
|
|
2262 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
1766 | 2263 |
fi
|
1767 | 2264 |
|
1768 | 2265 |
# These three variables are undocumented and unsupported,
|
|
1776 | 2273 |
|
1777 | 2274 |
# Make sure we can run config.sub.
|
1778 | 2275 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
1779 | |
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
|
1780 | |
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
|
1781 | |
{ (exit 1); exit 1; }; }
|
1782 | |
|
1783 | |
{ echo "$as_me:$LINENO: checking build system type" >&5
|
1784 | |
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
|
1785 | |
if test "${ac_cv_build+set}" = set; then
|
1786 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2276 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
|
2277 |
|
|
2278 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
|
2279 |
$as_echo_n "checking build system type... " >&6; }
|
|
2280 |
if ${ac_cv_build+:} false; then :
|
|
2281 |
$as_echo_n "(cached) " >&6
|
1787 | 2282 |
else
|
1788 | 2283 |
ac_build_alias=$build_alias
|
1789 | 2284 |
test "x$ac_build_alias" = x &&
|
1790 | 2285 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
1791 | 2286 |
test "x$ac_build_alias" = x &&
|
1792 | |
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
|
1793 | |
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
|
1794 | |
{ (exit 1); exit 1; }; }
|
|
2287 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
|
1795 | 2288 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
1796 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
|
1797 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
|
1798 | |
{ (exit 1); exit 1; }; }
|
1799 | |
|
1800 | |
fi
|
1801 | |
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
|
1802 | |
echo "${ECHO_T}$ac_cv_build" >&6; }
|
|
2289 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
|
2290 |
|
|
2291 |
fi
|
|
2292 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
|
2293 |
$as_echo "$ac_cv_build" >&6; }
|
1803 | 2294 |
case $ac_cv_build in
|
1804 | 2295 |
*-*-*) ;;
|
1805 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
|
1806 | |
echo "$as_me: error: invalid value of canonical build" >&2;}
|
1807 | |
{ (exit 1); exit 1; }; };;
|
|
2296 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
|
1808 | 2297 |
esac
|
1809 | 2298 |
build=$ac_cv_build
|
1810 | 2299 |
ac_save_IFS=$IFS; IFS='-'
|
|
1820 | 2309 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
1821 | 2310 |
|
1822 | 2311 |
|
1823 | |
{ echo "$as_me:$LINENO: checking host system type" >&5
|
1824 | |
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
|
1825 | |
if test "${ac_cv_host+set}" = set; then
|
1826 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
|
2313 |
$as_echo_n "checking host system type... " >&6; }
|
|
2314 |
if ${ac_cv_host+:} false; then :
|
|
2315 |
$as_echo_n "(cached) " >&6
|
1827 | 2316 |
else
|
1828 | 2317 |
if test "x$host_alias" = x; then
|
1829 | 2318 |
ac_cv_host=$ac_cv_build
|
1830 | 2319 |
else
|
1831 | 2320 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
1832 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
|
1833 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
|
1834 | |
{ (exit 1); exit 1; }; }
|
1835 | |
fi
|
1836 | |
|
1837 | |
fi
|
1838 | |
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
|
1839 | |
echo "${ECHO_T}$ac_cv_host" >&6; }
|
|
2321 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
|
2322 |
fi
|
|
2323 |
|
|
2324 |
fi
|
|
2325 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
|
2326 |
$as_echo "$ac_cv_host" >&6; }
|
1840 | 2327 |
case $ac_cv_host in
|
1841 | 2328 |
*-*-*) ;;
|
1842 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
|
1843 | |
echo "$as_me: error: invalid value of canonical host" >&2;}
|
1844 | |
{ (exit 1); exit 1; }; };;
|
|
2329 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
|
1845 | 2330 |
esac
|
1846 | 2331 |
host=$ac_cv_host
|
1847 | 2332 |
ac_save_IFS=$IFS; IFS='-'
|
|
1857 | 2342 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
1858 | 2343 |
|
1859 | 2344 |
|
1860 | |
{ echo "$as_me:$LINENO: checking target system type" >&5
|
1861 | |
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
|
1862 | |
if test "${ac_cv_target+set}" = set; then
|
1863 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
|
2346 |
$as_echo_n "checking target system type... " >&6; }
|
|
2347 |
if ${ac_cv_target+:} false; then :
|
|
2348 |
$as_echo_n "(cached) " >&6
|
1864 | 2349 |
else
|
1865 | 2350 |
if test "x$target_alias" = x; then
|
1866 | 2351 |
ac_cv_target=$ac_cv_host
|
1867 | 2352 |
else
|
1868 | 2353 |
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
1869 | |
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
|
1870 | |
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
|
1871 | |
{ (exit 1); exit 1; }; }
|
1872 | |
fi
|
1873 | |
|
1874 | |
fi
|
1875 | |
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
|
1876 | |
echo "${ECHO_T}$ac_cv_target" >&6; }
|
|
2354 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
|
2355 |
fi
|
|
2356 |
|
|
2357 |
fi
|
|
2358 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
|
2359 |
$as_echo "$ac_cv_target" >&6; }
|
1877 | 2360 |
case $ac_cv_target in
|
1878 | 2361 |
*-*-*) ;;
|
1879 | |
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
|
1880 | |
echo "$as_me: error: invalid value of canonical target" >&2;}
|
1881 | |
{ (exit 1); exit 1; }; };;
|
|
2362 |
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
|
1882 | 2363 |
esac
|
1883 | 2364 |
target=$ac_cv_target
|
1884 | 2365 |
ac_save_IFS=$IFS; IFS='-'
|
|
1900 | 2381 |
test "$program_prefix$program_suffix$program_transform_name" = \
|
1901 | 2382 |
NONENONEs,x,x, &&
|
1902 | 2383 |
program_prefix=${target_alias}-
|
1903 | |
|
1904 | |
cat >>confdefs.h <<\_ACEOF
|
1905 | |
#define _GNU_SOURCE 1
|
1906 | |
_ACEOF
|
|
2384 |
am__api_version='1.15'
|
|
2385 |
|
|
2386 |
# Find a good install program. We prefer a C program (faster),
|
|
2387 |
# so one script is as good as another. But avoid the broken or
|
|
2388 |
# incompatible versions:
|
|
2389 |
# SysV /etc/install, /usr/sbin/install
|
|
2390 |
# SunOS /usr/etc/install
|
|
2391 |
# IRIX /sbin/install
|
|
2392 |
# AIX /bin/install
|
|
2393 |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
|
2394 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
|
2395 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
2396 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
2397 |
# OS/2's system install, which has a completely different semantic
|
|
2398 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
2399 |
# Reject install programs that cannot install multiple files.
|
|
2400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
2401 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
|
2402 |
if test -z "$INSTALL"; then
|
|
2403 |
if ${ac_cv_path_install+:} false; then :
|
|
2404 |
$as_echo_n "(cached) " >&6
|
|
2405 |
else
|
|
2406 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2407 |
for as_dir in $PATH
|
|
2408 |
do
|
|
2409 |
IFS=$as_save_IFS
|
|
2410 |
test -z "$as_dir" && as_dir=.
|
|
2411 |
# Account for people who put trailing slashes in PATH elements.
|
|
2412 |
case $as_dir/ in #((
|
|
2413 |
./ | .// | /[cC]/* | \
|
|
2414 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
|
2415 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
|
2416 |
/usr/ucb/* ) ;;
|
|
2417 |
*)
|
|
2418 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
2419 |
# Don't use installbsd from OSF since it installs stuff as root
|
|
2420 |
# by default.
|
|
2421 |
for ac_prog in ginstall scoinst install; do
|
|
2422 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2423 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
2424 |
if test $ac_prog = install &&
|
|
2425 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
2426 |
# AIX install. It has an incompatible calling convention.
|
|
2427 |
:
|
|
2428 |
elif test $ac_prog = install &&
|
|
2429 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
|
2430 |
# program-specific install script used by HP pwplus--don't use.
|
|
2431 |
:
|
|
2432 |
else
|
|
2433 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2434 |
echo one > conftest.one
|
|
2435 |
echo two > conftest.two
|
|
2436 |
mkdir conftest.dir
|
|
2437 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
2438 |
test -s conftest.one && test -s conftest.two &&
|
|
2439 |
test -s conftest.dir/conftest.one &&
|
|
2440 |
test -s conftest.dir/conftest.two
|
|
2441 |
then
|
|
2442 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
2443 |
break 3
|
|
2444 |
fi
|
|
2445 |
fi
|
|
2446 |
fi
|
|
2447 |
done
|
|
2448 |
done
|
|
2449 |
;;
|
|
2450 |
esac
|
|
2451 |
|
|
2452 |
done
|
|
2453 |
IFS=$as_save_IFS
|
|
2454 |
|
|
2455 |
rm -rf conftest.one conftest.two conftest.dir
|
|
2456 |
|
|
2457 |
fi
|
|
2458 |
if test "${ac_cv_path_install+set}" = set; then
|
|
2459 |
INSTALL=$ac_cv_path_install
|
|
2460 |
else
|
|
2461 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2462 |
# value for INSTALL within a source directory, because that will
|
|
2463 |
# break other packages using the cache if that directory is
|
|
2464 |
# removed, or if the value is a relative name.
|
|
2465 |
INSTALL=$ac_install_sh
|
|
2466 |
fi
|
|
2467 |
fi
|
|
2468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
2469 |
$as_echo "$INSTALL" >&6; }
|
|
2470 |
|
|
2471 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
2472 |
# It thinks the first close brace ends the variable substitution.
|
|
2473 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
2474 |
|
|
2475 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
|
2476 |
|
|
2477 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
2478 |
|
|
2479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
2480 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
|
2481 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
2482 |
# name. Accept space and tab only in the latter.
|
|
2483 |
am_lf='
|
|
2484 |
'
|
|
2485 |
case `pwd` in
|
|
2486 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
2487 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
|
|
2488 |
esac
|
|
2489 |
case $srcdir in
|
|
2490 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
2491 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
|
|
2492 |
esac
|
|
2493 |
|
|
2494 |
# Do 'set' in a subshell so we don't clobber the current shell's
|
|
2495 |
# arguments. Must try -L first in case configure is actually a
|
|
2496 |
# symlink; some systems play weird games with the mod time of symlinks
|
|
2497 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
|
2498 |
# directory).
|
|
2499 |
if (
|
|
2500 |
am_has_slept=no
|
|
2501 |
for am_try in 1 2; do
|
|
2502 |
echo "timestamp, slept: $am_has_slept" > conftest.file
|
|
2503 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
|
2504 |
if test "$*" = "X"; then
|
|
2505 |
# -L didn't work.
|
|
2506 |
set X `ls -t "$srcdir/configure" conftest.file`
|
|
2507 |
fi
|
|
2508 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
2509 |
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
|
2510 |
|
|
2511 |
# If neither matched, then we have a broken ls. This can happen
|
|
2512 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
|
2513 |
# broken ls alias from the environment. This has actually
|
|
2514 |
# happened. Such a system could not be considered "sane".
|
|
2515 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
|
|
2516 |
alias in your environment" "$LINENO" 5
|
|
2517 |
fi
|
|
2518 |
if test "$2" = conftest.file || test $am_try -eq 2; then
|
|
2519 |
break
|
|
2520 |
fi
|
|
2521 |
# Just in case.
|
|
2522 |
sleep 1
|
|
2523 |
am_has_slept=yes
|
|
2524 |
done
|
|
2525 |
test "$2" = conftest.file
|
|
2526 |
)
|
|
2527 |
then
|
|
2528 |
# Ok.
|
|
2529 |
:
|
|
2530 |
else
|
|
2531 |
as_fn_error $? "newly created file is older than distributed files!
|
|
2532 |
Check your system clock" "$LINENO" 5
|
|
2533 |
fi
|
|
2534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2535 |
$as_echo "yes" >&6; }
|
|
2536 |
# If we didn't sleep, we still need to ensure time stamps of config.status and
|
|
2537 |
# generated files are strictly newer.
|
|
2538 |
am_sleep_pid=
|
|
2539 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
|
|
2540 |
( sleep 1 ) &
|
|
2541 |
am_sleep_pid=$!
|
|
2542 |
fi
|
|
2543 |
|
|
2544 |
rm -f conftest.file
|
|
2545 |
|
|
2546 |
test "$program_prefix" != NONE &&
|
|
2547 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
|
2548 |
# Use a double $ so make ignores it.
|
|
2549 |
test "$program_suffix" != NONE &&
|
|
2550 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
|
2551 |
# Double any \ or $.
|
|
2552 |
# By default was `s,x,x', remove it if useless.
|
|
2553 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
2554 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
|
2555 |
|
|
2556 |
# Expand $ac_aux_dir to an absolute path.
|
|
2557 |
am_aux_dir=`cd "$ac_aux_dir" && pwd`
|
|
2558 |
|
|
2559 |
if test x"${MISSING+set}" != xset; then
|
|
2560 |
case $am_aux_dir in
|
|
2561 |
*\ * | *\ *)
|
|
2562 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
2563 |
*)
|
|
2564 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
2565 |
esac
|
|
2566 |
fi
|
|
2567 |
# Use eval to expand $SHELL
|
|
2568 |
if eval "$MISSING --is-lightweight"; then
|
|
2569 |
am_missing_run="$MISSING "
|
|
2570 |
else
|
|
2571 |
am_missing_run=
|
|
2572 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
|
|
2573 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
|
|
2574 |
fi
|
|
2575 |
|
|
2576 |
if test x"${install_sh+set}" != xset; then
|
|
2577 |
case $am_aux_dir in
|
|
2578 |
*\ * | *\ *)
|
|
2579 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
2580 |
*)
|
|
2581 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
2582 |
esac
|
|
2583 |
fi
|
|
2584 |
|
|
2585 |
# Installed binaries are usually stripped using 'strip' when the user
|
|
2586 |
# run "make install-strip". However 'strip' might not be the right
|
|
2587 |
# tool to use in cross-compilation environments, therefore Automake
|
|
2588 |
# will honor the 'STRIP' environment variable to overrule this program.
|
|
2589 |
if test "$cross_compiling" != no; then
|
|
2590 |
if test -n "$ac_tool_prefix"; then
|
|
2591 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
|
2592 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
|
2593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2594 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2595 |
if ${ac_cv_prog_STRIP+:} false; then :
|
|
2596 |
$as_echo_n "(cached) " >&6
|
|
2597 |
else
|
|
2598 |
if test -n "$STRIP"; then
|
|
2599 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
2600 |
else
|
|
2601 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2602 |
for as_dir in $PATH
|
|
2603 |
do
|
|
2604 |
IFS=$as_save_IFS
|
|
2605 |
test -z "$as_dir" && as_dir=.
|
|
2606 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2607 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2608 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
|
2609 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2610 |
break 2
|
|
2611 |
fi
|
|
2612 |
done
|
|
2613 |
done
|
|
2614 |
IFS=$as_save_IFS
|
|
2615 |
|
|
2616 |
fi
|
|
2617 |
fi
|
|
2618 |
STRIP=$ac_cv_prog_STRIP
|
|
2619 |
if test -n "$STRIP"; then
|
|
2620 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
2621 |
$as_echo "$STRIP" >&6; }
|
|
2622 |
else
|
|
2623 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2624 |
$as_echo "no" >&6; }
|
|
2625 |
fi
|
|
2626 |
|
|
2627 |
|
|
2628 |
fi
|
|
2629 |
if test -z "$ac_cv_prog_STRIP"; then
|
|
2630 |
ac_ct_STRIP=$STRIP
|
|
2631 |
# Extract the first word of "strip", so it can be a program name with args.
|
|
2632 |
set dummy strip; ac_word=$2
|
|
2633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2634 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2635 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
|
|
2636 |
$as_echo_n "(cached) " >&6
|
|
2637 |
else
|
|
2638 |
if test -n "$ac_ct_STRIP"; then
|
|
2639 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
2640 |
else
|
|
2641 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2642 |
for as_dir in $PATH
|
|
2643 |
do
|
|
2644 |
IFS=$as_save_IFS
|
|
2645 |
test -z "$as_dir" && as_dir=.
|
|
2646 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2647 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2648 |
ac_cv_prog_ac_ct_STRIP="strip"
|
|
2649 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2650 |
break 2
|
|
2651 |
fi
|
|
2652 |
done
|
|
2653 |
done
|
|
2654 |
IFS=$as_save_IFS
|
|
2655 |
|
|
2656 |
fi
|
|
2657 |
fi
|
|
2658 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
|
2659 |
if test -n "$ac_ct_STRIP"; then
|
|
2660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
2661 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
2662 |
else
|
|
2663 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2664 |
$as_echo "no" >&6; }
|
|
2665 |
fi
|
|
2666 |
|
|
2667 |
if test "x$ac_ct_STRIP" = x; then
|
|
2668 |
STRIP=":"
|
|
2669 |
else
|
|
2670 |
case $cross_compiling:$ac_tool_warned in
|
|
2671 |
yes:)
|
|
2672 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2673 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2674 |
ac_tool_warned=yes ;;
|
|
2675 |
esac
|
|
2676 |
STRIP=$ac_ct_STRIP
|
|
2677 |
fi
|
|
2678 |
else
|
|
2679 |
STRIP="$ac_cv_prog_STRIP"
|
|
2680 |
fi
|
|
2681 |
|
|
2682 |
fi
|
|
2683 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2684 |
|
|
2685 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
|
2686 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
2687 |
if test -z "$MKDIR_P"; then
|
|
2688 |
if ${ac_cv_path_mkdir+:} false; then :
|
|
2689 |
$as_echo_n "(cached) " >&6
|
|
2690 |
else
|
|
2691 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2692 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
2693 |
do
|
|
2694 |
IFS=$as_save_IFS
|
|
2695 |
test -z "$as_dir" && as_dir=.
|
|
2696 |
for ac_prog in mkdir gmkdir; do
|
|
2697 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2698 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
|
|
2699 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2700 |
'mkdir (GNU coreutils) '* | \
|
|
2701 |
'mkdir (coreutils) '* | \
|
|
2702 |
'mkdir (fileutils) '4.1*)
|
|
2703 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
2704 |
break 3;;
|
|
2705 |
esac
|
|
2706 |
done
|
|
2707 |
done
|
|
2708 |
done
|
|
2709 |
IFS=$as_save_IFS
|
|
2710 |
|
|
2711 |
fi
|
|
2712 |
|
|
2713 |
test -d ./--version && rmdir ./--version
|
|
2714 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2715 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
2716 |
else
|
|
2717 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2718 |
# value for MKDIR_P within a source directory, because that will
|
|
2719 |
# break other packages using the cache if that directory is
|
|
2720 |
# removed, or if the value is a relative name.
|
|
2721 |
MKDIR_P="$ac_install_sh -d"
|
|
2722 |
fi
|
|
2723 |
fi
|
|
2724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
2725 |
$as_echo "$MKDIR_P" >&6; }
|
|
2726 |
|
|
2727 |
for ac_prog in gawk mawk nawk awk
|
|
2728 |
do
|
|
2729 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2730 |
set dummy $ac_prog; ac_word=$2
|
|
2731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2732 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2733 |
if ${ac_cv_prog_AWK+:} false; then :
|
|
2734 |
$as_echo_n "(cached) " >&6
|
|
2735 |
else
|
|
2736 |
if test -n "$AWK"; then
|
|
2737 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2738 |
else
|
|
2739 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2740 |
for as_dir in $PATH
|
|
2741 |
do
|
|
2742 |
IFS=$as_save_IFS
|
|
2743 |
test -z "$as_dir" && as_dir=.
|
|
2744 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2745 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2746 |
ac_cv_prog_AWK="$ac_prog"
|
|
2747 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2748 |
break 2
|
|
2749 |
fi
|
|
2750 |
done
|
|
2751 |
done
|
|
2752 |
IFS=$as_save_IFS
|
|
2753 |
|
|
2754 |
fi
|
|
2755 |
fi
|
|
2756 |
AWK=$ac_cv_prog_AWK
|
|
2757 |
if test -n "$AWK"; then
|
|
2758 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
2759 |
$as_echo "$AWK" >&6; }
|
|
2760 |
else
|
|
2761 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2762 |
$as_echo "no" >&6; }
|
|
2763 |
fi
|
|
2764 |
|
|
2765 |
|
|
2766 |
test -n "$AWK" && break
|
|
2767 |
done
|
|
2768 |
|
|
2769 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2770 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
2771 |
set x ${MAKE-make}
|
|
2772 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
2773 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
|
|
2774 |
$as_echo_n "(cached) " >&6
|
|
2775 |
else
|
|
2776 |
cat >conftest.make <<\_ACEOF
|
|
2777 |
SHELL = /bin/sh
|
|
2778 |
all:
|
|
2779 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
2780 |
_ACEOF
|
|
2781 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
|
|
2782 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
2783 |
*@@@%%%=?*=@@@%%%*)
|
|
2784 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2785 |
*)
|
|
2786 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
2787 |
esac
|
|
2788 |
rm -f conftest.make
|
|
2789 |
fi
|
|
2790 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
2791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2792 |
$as_echo "yes" >&6; }
|
|
2793 |
SET_MAKE=
|
|
2794 |
else
|
|
2795 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2796 |
$as_echo "no" >&6; }
|
|
2797 |
SET_MAKE="MAKE=${MAKE-make}"
|
|
2798 |
fi
|
|
2799 |
|
|
2800 |
rm -rf .tst 2>/dev/null
|
|
2801 |
mkdir .tst 2>/dev/null
|
|
2802 |
if test -d .tst; then
|
|
2803 |
am__leading_dot=.
|
|
2804 |
else
|
|
2805 |
am__leading_dot=_
|
|
2806 |
fi
|
|
2807 |
rmdir .tst 2>/dev/null
|
|
2808 |
|
|
2809 |
# Check whether --enable-silent-rules was given.
|
|
2810 |
if test "${enable_silent_rules+set}" = set; then :
|
|
2811 |
enableval=$enable_silent_rules;
|
|
2812 |
fi
|
|
2813 |
|
|
2814 |
case $enable_silent_rules in # (((
|
|
2815 |
yes) AM_DEFAULT_VERBOSITY=0;;
|
|
2816 |
no) AM_DEFAULT_VERBOSITY=1;;
|
|
2817 |
*) AM_DEFAULT_VERBOSITY=1;;
|
|
2818 |
esac
|
|
2819 |
am_make=${MAKE-make}
|
|
2820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
|
|
2821 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
|
|
2822 |
if ${am_cv_make_support_nested_variables+:} false; then :
|
|
2823 |
$as_echo_n "(cached) " >&6
|
|
2824 |
else
|
|
2825 |
if $as_echo 'TRUE=$(BAR$(V))
|
|
2826 |
BAR0=false
|
|
2827 |
BAR1=true
|
|
2828 |
V=1
|
|
2829 |
am__doit:
|
|
2830 |
@$(TRUE)
|
|
2831 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
|
|
2832 |
am_cv_make_support_nested_variables=yes
|
|
2833 |
else
|
|
2834 |
am_cv_make_support_nested_variables=no
|
|
2835 |
fi
|
|
2836 |
fi
|
|
2837 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
|
|
2838 |
$as_echo "$am_cv_make_support_nested_variables" >&6; }
|
|
2839 |
if test $am_cv_make_support_nested_variables = yes; then
|
|
2840 |
AM_V='$(V)'
|
|
2841 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
|
|
2842 |
else
|
|
2843 |
AM_V=$AM_DEFAULT_VERBOSITY
|
|
2844 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
|
|
2845 |
fi
|
|
2846 |
AM_BACKSLASH='\'
|
|
2847 |
|
|
2848 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
2849 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2850 |
# is not polluted with repeated "-I."
|
|
2851 |
am__isrc=' -I$(srcdir)'
|
|
2852 |
# test to see if srcdir already configured
|
|
2853 |
if test -f $srcdir/config.status; then
|
|
2854 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
|
2855 |
fi
|
|
2856 |
fi
|
|
2857 |
|
|
2858 |
# test whether we have cygpath
|
|
2859 |
if test -z "$CYGPATH_W"; then
|
|
2860 |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
2861 |
CYGPATH_W='cygpath -w'
|
|
2862 |
else
|
|
2863 |
CYGPATH_W=echo
|
|
2864 |
fi
|
|
2865 |
fi
|
|
2866 |
|
|
2867 |
|
|
2868 |
# Define the identity of the package.
|
|
2869 |
PACKAGE='barrage'
|
|
2870 |
VERSION='1.0.5'
|
|
2871 |
|
|
2872 |
|
|
2873 |
cat >>confdefs.h <<_ACEOF
|
|
2874 |
#define PACKAGE "$PACKAGE"
|
|
2875 |
_ACEOF
|
|
2876 |
|
|
2877 |
|
|
2878 |
cat >>confdefs.h <<_ACEOF
|
|
2879 |
#define VERSION "$VERSION"
|
|
2880 |
_ACEOF
|
|
2881 |
|
|
2882 |
# Some tools Automake needs.
|
|
2883 |
|
|
2884 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
|
2885 |
|
|
2886 |
|
|
2887 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
2888 |
|
|
2889 |
|
|
2890 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
|
2891 |
|
|
2892 |
|
|
2893 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
2894 |
|
|
2895 |
|
|
2896 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
2897 |
|
|
2898 |
# For better backward compatibility. To be removed once Automake 1.9.x
|
|
2899 |
# dies out for good. For more background, see:
|
|
2900 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
|
|
2901 |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
|
|
2902 |
mkdir_p='$(MKDIR_P)'
|
|
2903 |
|
|
2904 |
# We need awk for the "check" target (and possibly the TAP driver). The
|
|
2905 |
# system "awk" is bad on some platforms.
|
|
2906 |
# Always define AMTAR for backward compatibility. Yes, it's still used
|
|
2907 |
# in the wild :-( We should find a proper way to deprecate it ...
|
|
2908 |
AMTAR='$${TAR-tar}'
|
|
2909 |
|
|
2910 |
|
|
2911 |
# We'll loop over all known methods to create a tar archive until one works.
|
|
2912 |
_am_tools='gnutar pax cpio none'
|
|
2913 |
|
|
2914 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
|
|
2915 |
|
|
2916 |
|
|
2917 |
|
|
2918 |
|
|
2919 |
|
|
2920 |
|
|
2921 |
# POSIX will say in a future version that running "rm -f" with no argument
|
|
2922 |
# is OK; and we want to be able to make that assumption in our Makefile
|
|
2923 |
# recipes. So use an aggressive probe to check that the usage we want is
|
|
2924 |
# actually supported "in the wild" to an acceptable degree.
|
|
2925 |
# See automake bug#10828.
|
|
2926 |
# To make any issue more visible, cause the running configure to be aborted
|
|
2927 |
# by default if the 'rm' program in use doesn't match our expectations; the
|
|
2928 |
# user can still override this though.
|
|
2929 |
if rm -f && rm -fr && rm -rf; then : OK; else
|
|
2930 |
cat >&2 <<'END'
|
|
2931 |
Oops!
|
|
2932 |
|
|
2933 |
Your 'rm' program seems unable to run without file operands specified
|
|
2934 |
on the command line, even when the '-f' option is present. This is contrary
|
|
2935 |
to the behaviour of most rm programs out there, and not conforming with
|
|
2936 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
|
|
2937 |
|
|
2938 |
Please tell bug-automake@gnu.org about your system, including the value
|
|
2939 |
of your $PATH and any error possibly output before this message. This
|
|
2940 |
can help us improve future automake versions.
|
|
2941 |
|
|
2942 |
END
|
|
2943 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
|
|
2944 |
echo 'Configuration will proceed anyway, since you have set the' >&2
|
|
2945 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
|
|
2946 |
echo >&2
|
|
2947 |
else
|
|
2948 |
cat >&2 <<'END'
|
|
2949 |
Aborting the configuration process, to ensure you take notice of the issue.
|
|
2950 |
|
|
2951 |
You can download and install GNU coreutils to get an 'rm' implementation
|
|
2952 |
that behaves properly: <http://www.gnu.org/software/coreutils/>.
|
|
2953 |
|
|
2954 |
If you want to complete the configuration process using your problematic
|
|
2955 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
|
|
2956 |
to "yes", and re-run configure.
|
|
2957 |
|
|
2958 |
END
|
|
2959 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
|
|
2960 |
fi
|
|
2961 |
fi
|
|
2962 |
|
|
2963 |
|
|
2964 |
DEPDIR="${am__leading_dot}deps"
|
|
2965 |
|
|
2966 |
ac_config_commands="$ac_config_commands depfiles"
|
|
2967 |
|
|
2968 |
|
|
2969 |
am_make=${MAKE-make}
|
|
2970 |
cat > confinc << 'END'
|
|
2971 |
am__doit:
|
|
2972 |
@echo this is the am__doit target
|
|
2973 |
.PHONY: am__doit
|
|
2974 |
END
|
|
2975 |
# If we don't find an include directive, just comment out the code.
|
|
2976 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
2977 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
|
2978 |
am__include="#"
|
|
2979 |
am__quote=
|
|
2980 |
_am_result=none
|
|
2981 |
# First try GNU make style include.
|
|
2982 |
echo "include confinc" > confmf
|
|
2983 |
# Ignore all kinds of additional output from 'make'.
|
|
2984 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
2985 |
*the\ am__doit\ target*)
|
|
2986 |
am__include=include
|
|
2987 |
am__quote=
|
|
2988 |
_am_result=GNU
|
|
2989 |
;;
|
|
2990 |
esac
|
|
2991 |
# Now try BSD make style include.
|
|
2992 |
if test "$am__include" = "#"; then
|
|
2993 |
echo '.include "confinc"' > confmf
|
|
2994 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
2995 |
*the\ am__doit\ target*)
|
|
2996 |
am__include=.include
|
|
2997 |
am__quote="\""
|
|
2998 |
_am_result=BSD
|
|
2999 |
;;
|
|
3000 |
esac
|
|
3001 |
fi
|
|
3002 |
|
|
3003 |
|
|
3004 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
3005 |
$as_echo "$_am_result" >&6; }
|
|
3006 |
rm -f confinc confmf
|
|
3007 |
|
|
3008 |
# Check whether --enable-dependency-tracking was given.
|
|
3009 |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
3010 |
enableval=$enable_dependency_tracking;
|
|
3011 |
fi
|
|
3012 |
|
|
3013 |
if test "x$enable_dependency_tracking" != xno; then
|
|
3014 |
am_depcomp="$ac_aux_dir/depcomp"
|
|
3015 |
AMDEPBACKSLASH='\'
|
|
3016 |
am__nodep='_no'
|
|
3017 |
fi
|
|
3018 |
if test "x$enable_dependency_tracking" != xno; then
|
|
3019 |
AMDEP_TRUE=
|
|
3020 |
AMDEP_FALSE='#'
|
|
3021 |
else
|
|
3022 |
AMDEP_TRUE='#'
|
|
3023 |
AMDEP_FALSE=
|
|
3024 |
fi
|
1907 | 3025 |
|
1908 | 3026 |
|
1909 | 3027 |
ac_ext=c
|
|
1914 | 3032 |
if test -n "$ac_tool_prefix"; then
|
1915 | 3033 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1916 | 3034 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1917 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1918 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1919 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1920 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3036 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3037 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3038 |
$as_echo_n "(cached) " >&6
|
1921 | 3039 |
else
|
1922 | 3040 |
if test -n "$CC"; then
|
1923 | 3041 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1927 | 3045 |
do
|
1928 | 3046 |
IFS=$as_save_IFS
|
1929 | 3047 |
test -z "$as_dir" && as_dir=.
|
1930 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1931 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3048 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3049 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1932 | 3050 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1933 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3051 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1934 | 3052 |
break 2
|
1935 | 3053 |
fi
|
1936 | 3054 |
done
|
1937 | |
done
|
|
3055 |
done
|
1938 | 3056 |
IFS=$as_save_IFS
|
1939 | 3057 |
|
1940 | 3058 |
fi
|
1941 | 3059 |
fi
|
1942 | 3060 |
CC=$ac_cv_prog_CC
|
1943 | 3061 |
if test -n "$CC"; then
|
1944 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
1945 | |
echo "${ECHO_T}$CC" >&6; }
|
1946 | |
else
|
1947 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
1948 | |
echo "${ECHO_T}no" >&6; }
|
|
3062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3063 |
$as_echo "$CC" >&6; }
|
|
3064 |
else
|
|
3065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3066 |
$as_echo "no" >&6; }
|
1949 | 3067 |
fi
|
1950 | 3068 |
|
1951 | 3069 |
|
|
1954 | 3072 |
ac_ct_CC=$CC
|
1955 | 3073 |
# Extract the first word of "gcc", so it can be a program name with args.
|
1956 | 3074 |
set dummy gcc; ac_word=$2
|
1957 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1958 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
1959 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1960 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3075 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3076 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3077 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
3078 |
$as_echo_n "(cached) " >&6
|
1961 | 3079 |
else
|
1962 | 3080 |
if test -n "$ac_ct_CC"; then
|
1963 | 3081 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
1967 | 3085 |
do
|
1968 | 3086 |
IFS=$as_save_IFS
|
1969 | 3087 |
test -z "$as_dir" && as_dir=.
|
1970 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1971 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3088 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3089 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1972 | 3090 |
ac_cv_prog_ac_ct_CC="gcc"
|
1973 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3091 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1974 | 3092 |
break 2
|
1975 | 3093 |
fi
|
1976 | 3094 |
done
|
1977 | |
done
|
|
3095 |
done
|
1978 | 3096 |
IFS=$as_save_IFS
|
1979 | 3097 |
|
1980 | 3098 |
fi
|
1981 | 3099 |
fi
|
1982 | 3100 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1983 | 3101 |
if test -n "$ac_ct_CC"; then
|
1984 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1985 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
1986 | |
else
|
1987 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
1988 | |
echo "${ECHO_T}no" >&6; }
|
|
3102 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3103 |
$as_echo "$ac_ct_CC" >&6; }
|
|
3104 |
else
|
|
3105 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3106 |
$as_echo "no" >&6; }
|
1989 | 3107 |
fi
|
1990 | 3108 |
|
1991 | 3109 |
if test "x$ac_ct_CC" = x; then
|
|
1993 | 3111 |
else
|
1994 | 3112 |
case $cross_compiling:$ac_tool_warned in
|
1995 | 3113 |
yes:)
|
1996 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
1997 | |
whose name does not start with the host triplet. If you think this
|
1998 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
1999 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2000 | |
whose name does not start with the host triplet. If you think this
|
2001 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3114 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3115 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2002 | 3116 |
ac_tool_warned=yes ;;
|
2003 | 3117 |
esac
|
2004 | 3118 |
CC=$ac_ct_CC
|
|
2011 | 3125 |
if test -n "$ac_tool_prefix"; then
|
2012 | 3126 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
2013 | 3127 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
2014 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2015 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2016 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2017 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3128 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3129 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3130 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3131 |
$as_echo_n "(cached) " >&6
|
2018 | 3132 |
else
|
2019 | 3133 |
if test -n "$CC"; then
|
2020 | 3134 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2024 | 3138 |
do
|
2025 | 3139 |
IFS=$as_save_IFS
|
2026 | 3140 |
test -z "$as_dir" && as_dir=.
|
2027 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2028 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3141 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3142 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2029 | 3143 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
2030 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3144 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2031 | 3145 |
break 2
|
2032 | 3146 |
fi
|
2033 | 3147 |
done
|
2034 | |
done
|
|
3148 |
done
|
2035 | 3149 |
IFS=$as_save_IFS
|
2036 | 3150 |
|
2037 | 3151 |
fi
|
2038 | 3152 |
fi
|
2039 | 3153 |
CC=$ac_cv_prog_CC
|
2040 | 3154 |
if test -n "$CC"; then
|
2041 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2042 | |
echo "${ECHO_T}$CC" >&6; }
|
2043 | |
else
|
2044 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2045 | |
echo "${ECHO_T}no" >&6; }
|
|
3155 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3156 |
$as_echo "$CC" >&6; }
|
|
3157 |
else
|
|
3158 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3159 |
$as_echo "no" >&6; }
|
2046 | 3160 |
fi
|
2047 | 3161 |
|
2048 | 3162 |
|
|
2051 | 3165 |
if test -z "$CC"; then
|
2052 | 3166 |
# Extract the first word of "cc", so it can be a program name with args.
|
2053 | 3167 |
set dummy cc; ac_word=$2
|
2054 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2055 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2056 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2057 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3168 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3169 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3170 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3171 |
$as_echo_n "(cached) " >&6
|
2058 | 3172 |
else
|
2059 | 3173 |
if test -n "$CC"; then
|
2060 | 3174 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2065 | 3179 |
do
|
2066 | 3180 |
IFS=$as_save_IFS
|
2067 | 3181 |
test -z "$as_dir" && as_dir=.
|
2068 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2069 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3182 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3183 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2070 | 3184 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
2071 | 3185 |
ac_prog_rejected=yes
|
2072 | 3186 |
continue
|
2073 | 3187 |
fi
|
2074 | 3188 |
ac_cv_prog_CC="cc"
|
2075 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3189 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2076 | 3190 |
break 2
|
2077 | 3191 |
fi
|
2078 | 3192 |
done
|
2079 | |
done
|
|
3193 |
done
|
2080 | 3194 |
IFS=$as_save_IFS
|
2081 | 3195 |
|
2082 | 3196 |
if test $ac_prog_rejected = yes; then
|
|
2095 | 3209 |
fi
|
2096 | 3210 |
CC=$ac_cv_prog_CC
|
2097 | 3211 |
if test -n "$CC"; then
|
2098 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2099 | |
echo "${ECHO_T}$CC" >&6; }
|
2100 | |
else
|
2101 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2102 | |
echo "${ECHO_T}no" >&6; }
|
|
3212 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3213 |
$as_echo "$CC" >&6; }
|
|
3214 |
else
|
|
3215 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3216 |
$as_echo "no" >&6; }
|
2103 | 3217 |
fi
|
2104 | 3218 |
|
2105 | 3219 |
|
|
2110 | 3224 |
do
|
2111 | 3225 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
2112 | 3226 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
2113 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2114 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2115 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
2116 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3227 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3228 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3229 |
if ${ac_cv_prog_CC+:} false; then :
|
|
3230 |
$as_echo_n "(cached) " >&6
|
2117 | 3231 |
else
|
2118 | 3232 |
if test -n "$CC"; then
|
2119 | 3233 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
2123 | 3237 |
do
|
2124 | 3238 |
IFS=$as_save_IFS
|
2125 | 3239 |
test -z "$as_dir" && as_dir=.
|
2126 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2127 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3240 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3241 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2128 | 3242 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
2129 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3243 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2130 | 3244 |
break 2
|
2131 | 3245 |
fi
|
2132 | 3246 |
done
|
2133 | |
done
|
|
3247 |
done
|
2134 | 3248 |
IFS=$as_save_IFS
|
2135 | 3249 |
|
2136 | 3250 |
fi
|
2137 | 3251 |
fi
|
2138 | 3252 |
CC=$ac_cv_prog_CC
|
2139 | 3253 |
if test -n "$CC"; then
|
2140 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
2141 | |
echo "${ECHO_T}$CC" >&6; }
|
2142 | |
else
|
2143 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2144 | |
echo "${ECHO_T}no" >&6; }
|
|
3254 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
3255 |
$as_echo "$CC" >&6; }
|
|
3256 |
else
|
|
3257 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3258 |
$as_echo "no" >&6; }
|
2145 | 3259 |
fi
|
2146 | 3260 |
|
2147 | 3261 |
|
|
2154 | 3268 |
do
|
2155 | 3269 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2156 | 3270 |
set dummy $ac_prog; ac_word=$2
|
2157 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2158 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
2159 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
2160 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3271 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3272 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3273 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
3274 |
$as_echo_n "(cached) " >&6
|
2161 | 3275 |
else
|
2162 | 3276 |
if test -n "$ac_ct_CC"; then
|
2163 | 3277 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
2167 | 3281 |
do
|
2168 | 3282 |
IFS=$as_save_IFS
|
2169 | 3283 |
test -z "$as_dir" && as_dir=.
|
2170 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2171 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
3284 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3285 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
2172 | 3286 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
2173 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3287 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2174 | 3288 |
break 2
|
2175 | 3289 |
fi
|
2176 | 3290 |
done
|
2177 | |
done
|
|
3291 |
done
|
2178 | 3292 |
IFS=$as_save_IFS
|
2179 | 3293 |
|
2180 | 3294 |
fi
|
2181 | 3295 |
fi
|
2182 | 3296 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
2183 | 3297 |
if test -n "$ac_ct_CC"; then
|
2184 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
2185 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
2186 | |
else
|
2187 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
2188 | |
echo "${ECHO_T}no" >&6; }
|
|
3298 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
3299 |
$as_echo "$ac_ct_CC" >&6; }
|
|
3300 |
else
|
|
3301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3302 |
$as_echo "no" >&6; }
|
2189 | 3303 |
fi
|
2190 | 3304 |
|
2191 | 3305 |
|
|
2197 | 3311 |
else
|
2198 | 3312 |
case $cross_compiling:$ac_tool_warned in
|
2199 | 3313 |
yes:)
|
2200 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
2201 | |
whose name does not start with the host triplet. If you think this
|
2202 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
2203 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
2204 | |
whose name does not start with the host triplet. If you think this
|
2205 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
3314 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
3315 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
2206 | 3316 |
ac_tool_warned=yes ;;
|
2207 | 3317 |
esac
|
2208 | 3318 |
CC=$ac_ct_CC
|
|
2212 | 3322 |
fi
|
2213 | 3323 |
|
2214 | 3324 |
|
2215 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2216 | |
See \`config.log' for more details." >&5
|
2217 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2218 | |
See \`config.log' for more details." >&2;}
|
2219 | |
{ (exit 1); exit 1; }; }
|
|
3325 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3326 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3327 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
3328 |
See \`config.log' for more details" "$LINENO" 5; }
|
2220 | 3329 |
|
2221 | 3330 |
# Provide some information about the compiler.
|
2222 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
2223 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2224 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
3331 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
3332 |
set X $ac_compile
|
|
3333 |
ac_compiler=$2
|
|
3334 |
for ac_option in --version -v -V -qversion; do
|
|
3335 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
2225 | 3336 |
case "(($ac_try" in
|
2226 | 3337 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2227 | 3338 |
*) ac_try_echo=$ac_try;;
|
2228 | 3339 |
esac
|
2229 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2230 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
3340 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3341 |
$as_echo "$ac_try_echo"; } >&5
|
|
3342 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2231 | 3343 |
ac_status=$?
|
2232 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2233 | |
(exit $ac_status); }
|
2234 | |
{ (ac_try="$ac_compiler -v >&5"
|
|
3344 |
if test -s conftest.err; then
|
|
3345 |
sed '10a\
|
|
3346 |
... rest of stderr output deleted ...
|
|
3347 |
10q' conftest.err >conftest.er1
|
|
3348 |
cat conftest.er1 >&5
|
|
3349 |
fi
|
|
3350 |
rm -f conftest.er1 conftest.err
|
|
3351 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3352 |
test $ac_status = 0; }
|
|
3353 |
done
|
|
3354 |
|
|
3355 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3356 |
/* end confdefs.h. */
|
|
3357 |
|
|
3358 |
int
|
|
3359 |
main ()
|
|
3360 |
{
|
|
3361 |
|
|
3362 |
;
|
|
3363 |
return 0;
|
|
3364 |
}
|
|
3365 |
_ACEOF
|
|
3366 |
ac_clean_files_save=$ac_clean_files
|
|
3367 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
|
|
3368 |
# Try to create an executable without -o first, disregard a.out.
|
|
3369 |
# It will help us diagnose broken compilers, and finding out an intuition
|
|
3370 |
# of exeext.
|
|
3371 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
3372 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
|
3373 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
3374 |
|
|
3375 |
# The possible output files:
|
|
3376 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
3377 |
|
|
3378 |
ac_rmfiles=
|
|
3379 |
for ac_file in $ac_files
|
|
3380 |
do
|
|
3381 |
case $ac_file in
|
|
3382 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
3383 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
3384 |
esac
|
|
3385 |
done
|
|
3386 |
rm -f $ac_rmfiles
|
|
3387 |
|
|
3388 |
if { { ac_try="$ac_link_default"
|
2235 | 3389 |
case "(($ac_try" in
|
2236 | 3390 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2237 | 3391 |
*) ac_try_echo=$ac_try;;
|
2238 | 3392 |
esac
|
2239 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2240 | |
(eval "$ac_compiler -v >&5") 2>&5
|
2241 | |
ac_status=$?
|
2242 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2243 | |
(exit $ac_status); }
|
2244 | |
{ (ac_try="$ac_compiler -V >&5"
|
2245 | |
case "(($ac_try" in
|
2246 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2247 | |
*) ac_try_echo=$ac_try;;
|
2248 | |
esac
|
2249 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2250 | |
(eval "$ac_compiler -V >&5") 2>&5
|
2251 | |
ac_status=$?
|
2252 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2253 | |
(exit $ac_status); }
|
2254 | |
|
2255 | |
cat >conftest.$ac_ext <<_ACEOF
|
2256 | |
/* confdefs.h. */
|
2257 | |
_ACEOF
|
2258 | |
cat confdefs.h >>conftest.$ac_ext
|
2259 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2260 | |
/* end confdefs.h. */
|
2261 | |
|
2262 | |
int
|
2263 | |
main ()
|
2264 | |
{
|
2265 | |
|
2266 | |
;
|
2267 | |
return 0;
|
2268 | |
}
|
2269 | |
_ACEOF
|
2270 | |
ac_clean_files_save=$ac_clean_files
|
2271 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
2272 | |
# Try to create an executable without -o first, disregard a.out.
|
2273 | |
# It will help us diagnose broken compilers, and finding out an intuition
|
2274 | |
# of exeext.
|
2275 | |
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2276 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
|
2277 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2278 | |
#
|
2279 | |
# List of possible output files, starting from the most likely.
|
2280 | |
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
|
2281 | |
# only as a last resort. b.out is created by i960 compilers.
|
2282 | |
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
|
2283 | |
#
|
2284 | |
# The IRIX 6 linker writes into existing files which may not be
|
2285 | |
# executable, retaining their permissions. Remove them first so a
|
2286 | |
# subsequent execution test works.
|
2287 | |
ac_rmfiles=
|
2288 | |
for ac_file in $ac_files
|
2289 | |
do
|
2290 | |
case $ac_file in
|
2291 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
2292 | |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
2293 | |
esac
|
2294 | |
done
|
2295 | |
rm -f $ac_rmfiles
|
2296 | |
|
2297 | |
if { (ac_try="$ac_link_default"
|
2298 | |
case "(($ac_try" in
|
2299 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2300 | |
*) ac_try_echo=$ac_try;;
|
2301 | |
esac
|
2302 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3393 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3394 |
$as_echo "$ac_try_echo"; } >&5
|
2303 | 3395 |
(eval "$ac_link_default") 2>&5
|
2304 | 3396 |
ac_status=$?
|
2305 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2306 | |
(exit $ac_status); }; then
|
|
3397 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3398 |
test $ac_status = 0; }; then :
|
2307 | 3399 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
2308 | 3400 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
2309 | 3401 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2313 | 3405 |
do
|
2314 | 3406 |
test -f "$ac_file" || continue
|
2315 | 3407 |
case $ac_file in
|
2316 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
|
|
3408 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2317 | 3409 |
;;
|
2318 | 3410 |
[ab].out )
|
2319 | 3411 |
# We found the default executable, but exeext='' is most
|
2320 | 3412 |
# certainly right.
|
2321 | 3413 |
break;;
|
2322 | 3414 |
*.* )
|
2323 | |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
3415 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
2324 | 3416 |
then :; else
|
2325 | 3417 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2326 | 3418 |
fi
|
|
2339 | 3431 |
else
|
2340 | 3432 |
ac_file=''
|
2341 | 3433 |
fi
|
2342 | |
|
2343 | |
{ echo "$as_me:$LINENO: result: $ac_file" >&5
|
2344 | |
echo "${ECHO_T}$ac_file" >&6; }
|
2345 | |
if test -z "$ac_file"; then
|
2346 | |
echo "$as_me: failed program was:" >&5
|
|
3434 |
if test -z "$ac_file"; then :
|
|
3435 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3436 |
$as_echo "no" >&6; }
|
|
3437 |
$as_echo "$as_me: failed program was:" >&5
|
2347 | 3438 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2348 | 3439 |
|
2349 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2350 | |
See \`config.log' for more details." >&5
|
2351 | |
echo "$as_me: error: C compiler cannot create executables
|
2352 | |
See \`config.log' for more details." >&2;}
|
2353 | |
{ (exit 77); exit 77; }; }
|
2354 | |
fi
|
2355 | |
|
|
3440 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3441 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3442 |
as_fn_error 77 "C compiler cannot create executables
|
|
3443 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3444 |
else
|
|
3445 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3446 |
$as_echo "yes" >&6; }
|
|
3447 |
fi
|
|
3448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
3449 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
3450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
3451 |
$as_echo "$ac_file" >&6; }
|
2356 | 3452 |
ac_exeext=$ac_cv_exeext
|
2357 | 3453 |
|
2358 | |
# Check that the compiler produces executables we can run. If not, either
|
2359 | |
# the compiler is broken, or we cross compile.
|
2360 | |
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2361 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
|
2362 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
2363 | |
# If not cross compiling, check that we can run a simple program.
|
2364 | |
if test "$cross_compiling" != yes; then
|
2365 | |
if { ac_try='./$ac_file'
|
2366 | |
{ (case "(($ac_try" in
|
2367 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2368 | |
*) ac_try_echo=$ac_try;;
|
2369 | |
esac
|
2370 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2371 | |
(eval "$ac_try") 2>&5
|
2372 | |
ac_status=$?
|
2373 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2374 | |
(exit $ac_status); }; }; then
|
2375 | |
cross_compiling=no
|
2376 | |
else
|
2377 | |
if test "$cross_compiling" = maybe; then
|
2378 | |
cross_compiling=yes
|
2379 | |
else
|
2380 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
2381 | |
If you meant to cross compile, use \`--host'.
|
2382 | |
See \`config.log' for more details." >&5
|
2383 | |
echo "$as_me: error: cannot run C compiled programs.
|
2384 | |
If you meant to cross compile, use \`--host'.
|
2385 | |
See \`config.log' for more details." >&2;}
|
2386 | |
{ (exit 1); exit 1; }; }
|
2387 | |
fi
|
2388 | |
fi
|
2389 | |
fi
|
2390 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
2391 | |
echo "${ECHO_T}yes" >&6; }
|
2392 | |
|
2393 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
3454 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
|
2394 | 3455 |
ac_clean_files=$ac_clean_files_save
|
2395 | |
# Check that the compiler produces executables we can run. If not, either
|
2396 | |
# the compiler is broken, or we cross compile.
|
2397 | |
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2398 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
|
2399 | |
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2400 | |
echo "${ECHO_T}$cross_compiling" >&6; }
|
2401 | |
|
2402 | |
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2403 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
|
2404 | |
if { (ac_try="$ac_link"
|
|
3456 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
3457 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
3458 |
if { { ac_try="$ac_link"
|
2405 | 3459 |
case "(($ac_try" in
|
2406 | 3460 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2407 | 3461 |
*) ac_try_echo=$ac_try;;
|
2408 | 3462 |
esac
|
2409 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3463 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3464 |
$as_echo "$ac_try_echo"; } >&5
|
2410 | 3465 |
(eval "$ac_link") 2>&5
|
2411 | 3466 |
ac_status=$?
|
2412 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2413 | |
(exit $ac_status); }; then
|
|
3467 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3468 |
test $ac_status = 0; }; then :
|
2414 | 3469 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2415 | 3470 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2416 | 3471 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2418 | 3473 |
for ac_file in conftest.exe conftest conftest.*; do
|
2419 | 3474 |
test -f "$ac_file" || continue
|
2420 | 3475 |
case $ac_file in
|
2421 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
|
|
3476 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2422 | 3477 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2423 | 3478 |
break;;
|
2424 | 3479 |
* ) break;;
|
2425 | 3480 |
esac
|
2426 | 3481 |
done
|
2427 | 3482 |
else
|
2428 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2429 | |
See \`config.log' for more details." >&5
|
2430 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2431 | |
See \`config.log' for more details." >&2;}
|
2432 | |
{ (exit 1); exit 1; }; }
|
2433 | |
fi
|
2434 | |
|
2435 | |
rm -f conftest$ac_cv_exeext
|
2436 | |
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2437 | |
echo "${ECHO_T}$ac_cv_exeext" >&6; }
|
|
3483 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3484 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3485 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
|
|
3486 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3487 |
fi
|
|
3488 |
rm -f conftest conftest$ac_cv_exeext
|
|
3489 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
3490 |
$as_echo "$ac_cv_exeext" >&6; }
|
2438 | 3491 |
|
2439 | 3492 |
rm -f conftest.$ac_ext
|
2440 | 3493 |
EXEEXT=$ac_cv_exeext
|
2441 | 3494 |
ac_exeext=$EXEEXT
|
2442 | |
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2443 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
|
2444 | |
if test "${ac_cv_objext+set}" = set; then
|
2445 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2446 | |
else
|
2447 | |
cat >conftest.$ac_ext <<_ACEOF
|
2448 | |
/* confdefs.h. */
|
2449 | |
_ACEOF
|
2450 | |
cat confdefs.h >>conftest.$ac_ext
|
2451 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3495 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2452 | 3496 |
/* end confdefs.h. */
|
2453 | |
|
|
3497 |
#include <stdio.h>
|
2454 | 3498 |
int
|
2455 | 3499 |
main ()
|
2456 | 3500 |
{
|
|
3501 |
FILE *f = fopen ("conftest.out", "w");
|
|
3502 |
return ferror (f) || fclose (f) != 0;
|
2457 | 3503 |
|
2458 | 3504 |
;
|
2459 | 3505 |
return 0;
|
2460 | 3506 |
}
|
2461 | 3507 |
_ACEOF
|
2462 | |
rm -f conftest.o conftest.obj
|
2463 | |
if { (ac_try="$ac_compile"
|
|
3508 |
ac_clean_files="$ac_clean_files conftest.out"
|
|
3509 |
# Check that the compiler produces executables we can run. If not, either
|
|
3510 |
# the compiler is broken, or we cross compile.
|
|
3511 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
3512 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
3513 |
if test "$cross_compiling" != yes; then
|
|
3514 |
{ { ac_try="$ac_link"
|
2464 | 3515 |
case "(($ac_try" in
|
2465 | 3516 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2466 | 3517 |
*) ac_try_echo=$ac_try;;
|
2467 | 3518 |
esac
|
2468 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
|
3519 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3520 |
$as_echo "$ac_try_echo"; } >&5
|
|
3521 |
(eval "$ac_link") 2>&5
|
|
3522 |
ac_status=$?
|
|
3523 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3524 |
test $ac_status = 0; }
|
|
3525 |
if { ac_try='./conftest$ac_cv_exeext'
|
|
3526 |
{ { case "(($ac_try" in
|
|
3527 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3528 |
*) ac_try_echo=$ac_try;;
|
|
3529 |
esac
|
|
3530 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3531 |
$as_echo "$ac_try_echo"; } >&5
|
|
3532 |
(eval "$ac_try") 2>&5
|
|
3533 |
ac_status=$?
|
|
3534 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3535 |
test $ac_status = 0; }; }; then
|
|
3536 |
cross_compiling=no
|
|
3537 |
else
|
|
3538 |
if test "$cross_compiling" = maybe; then
|
|
3539 |
cross_compiling=yes
|
|
3540 |
else
|
|
3541 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3542 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3543 |
as_fn_error $? "cannot run C compiled programs.
|
|
3544 |
If you meant to cross compile, use \`--host'.
|
|
3545 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3546 |
fi
|
|
3547 |
fi
|
|
3548 |
fi
|
|
3549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
3550 |
$as_echo "$cross_compiling" >&6; }
|
|
3551 |
|
|
3552 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
|
|
3553 |
ac_clean_files=$ac_clean_files_save
|
|
3554 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
3555 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
3556 |
if ${ac_cv_objext+:} false; then :
|
|
3557 |
$as_echo_n "(cached) " >&6
|
|
3558 |
else
|
|
3559 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
3560 |
/* end confdefs.h. */
|
|
3561 |
|
|
3562 |
int
|
|
3563 |
main ()
|
|
3564 |
{
|
|
3565 |
|
|
3566 |
;
|
|
3567 |
return 0;
|
|
3568 |
}
|
|
3569 |
_ACEOF
|
|
3570 |
rm -f conftest.o conftest.obj
|
|
3571 |
if { { ac_try="$ac_compile"
|
|
3572 |
case "(($ac_try" in
|
|
3573 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
3574 |
*) ac_try_echo=$ac_try;;
|
|
3575 |
esac
|
|
3576 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
3577 |
$as_echo "$ac_try_echo"; } >&5
|
2469 | 3578 |
(eval "$ac_compile") 2>&5
|
2470 | 3579 |
ac_status=$?
|
2471 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2472 | |
(exit $ac_status); }; then
|
|
3580 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
3581 |
test $ac_status = 0; }; then :
|
2473 | 3582 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
2474 | 3583 |
test -f "$ac_file" || continue;
|
2475 | 3584 |
case $ac_file in
|
2476 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
|
|
3585 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2477 | 3586 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2478 | 3587 |
break;;
|
2479 | 3588 |
esac
|
2480 | 3589 |
done
|
2481 | 3590 |
else
|
2482 | |
echo "$as_me: failed program was:" >&5
|
|
3591 |
$as_echo "$as_me: failed program was:" >&5
|
2483 | 3592 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2484 | 3593 |
|
2485 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2486 | |
See \`config.log' for more details." >&5
|
2487 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2488 | |
See \`config.log' for more details." >&2;}
|
2489 | |
{ (exit 1); exit 1; }; }
|
2490 | |
fi
|
2491 | |
|
|
3594 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
3595 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
3596 |
as_fn_error $? "cannot compute suffix of object files: cannot compile
|
|
3597 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
3598 |
fi
|
2492 | 3599 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2493 | 3600 |
fi
|
2494 | |
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2495 | |
echo "${ECHO_T}$ac_cv_objext" >&6; }
|
|
3601 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
3602 |
$as_echo "$ac_cv_objext" >&6; }
|
2496 | 3603 |
OBJEXT=$ac_cv_objext
|
2497 | 3604 |
ac_objext=$OBJEXT
|
2498 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2499 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
2500 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2501 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2502 | |
else
|
2503 | |
cat >conftest.$ac_ext <<_ACEOF
|
2504 | |
/* confdefs.h. */
|
2505 | |
_ACEOF
|
2506 | |
cat confdefs.h >>conftest.$ac_ext
|
2507 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
3606 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
3607 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
|
3608 |
$as_echo_n "(cached) " >&6
|
|
3609 |
else
|
|
3610 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2508 | 3611 |
/* end confdefs.h. */
|
2509 | 3612 |
|
2510 | 3613 |
int
|
|
2518 | 3621 |
return 0;
|
2519 | 3622 |
}
|
2520 | 3623 |
_ACEOF
|
2521 | |
rm -f conftest.$ac_objext
|
2522 | |
if { (ac_try="$ac_compile"
|
2523 | |
case "(($ac_try" in
|
2524 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2525 | |
*) ac_try_echo=$ac_try;;
|
2526 | |
esac
|
2527 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2528 | |
(eval "$ac_compile") 2>conftest.er1
|
2529 | |
ac_status=$?
|
2530 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2531 | |
rm -f conftest.er1
|
2532 | |
cat conftest.err >&5
|
2533 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2534 | |
(exit $ac_status); } && {
|
2535 | |
test -z "$ac_c_werror_flag" ||
|
2536 | |
test ! -s conftest.err
|
2537 | |
} && test -s conftest.$ac_objext; then
|
|
3624 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2538 | 3625 |
ac_compiler_gnu=yes
|
2539 | 3626 |
else
|
2540 | |
echo "$as_me: failed program was:" >&5
|
2541 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2542 | |
|
2543 | |
ac_compiler_gnu=no
|
2544 | |
fi
|
2545 | |
|
|
3627 |
ac_compiler_gnu=no
|
|
3628 |
fi
|
2546 | 3629 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2547 | 3630 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2548 | 3631 |
|
2549 | 3632 |
fi
|
2550 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2551 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
2552 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
3633 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
3634 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
3635 |
if test $ac_compiler_gnu = yes; then
|
|
3636 |
GCC=yes
|
|
3637 |
else
|
|
3638 |
GCC=
|
|
3639 |
fi
|
2553 | 3640 |
ac_test_CFLAGS=${CFLAGS+set}
|
2554 | 3641 |
ac_save_CFLAGS=$CFLAGS
|
2555 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2556 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
2557 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2558 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3642 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
3643 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
3644 |
if ${ac_cv_prog_cc_g+:} false; then :
|
|
3645 |
$as_echo_n "(cached) " >&6
|
2559 | 3646 |
else
|
2560 | 3647 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
2561 | 3648 |
ac_c_werror_flag=yes
|
2562 | 3649 |
ac_cv_prog_cc_g=no
|
2563 | 3650 |
CFLAGS="-g"
|
2564 | |
cat >conftest.$ac_ext <<_ACEOF
|
2565 | |
/* confdefs.h. */
|
2566 | |
_ACEOF
|
2567 | |
cat confdefs.h >>conftest.$ac_ext
|
2568 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3651 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2569 | 3652 |
/* end confdefs.h. */
|
2570 | 3653 |
|
2571 | 3654 |
int
|
|
2576 | 3659 |
return 0;
|
2577 | 3660 |
}
|
2578 | 3661 |
_ACEOF
|
2579 | |
rm -f conftest.$ac_objext
|
2580 | |
if { (ac_try="$ac_compile"
|
2581 | |
case "(($ac_try" in
|
2582 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2583 | |
*) ac_try_echo=$ac_try;;
|
2584 | |
esac
|
2585 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2586 | |
(eval "$ac_compile") 2>conftest.er1
|
2587 | |
ac_status=$?
|
2588 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2589 | |
rm -f conftest.er1
|
2590 | |
cat conftest.err >&5
|
2591 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2592 | |
(exit $ac_status); } && {
|
2593 | |
test -z "$ac_c_werror_flag" ||
|
2594 | |
test ! -s conftest.err
|
2595 | |
} && test -s conftest.$ac_objext; then
|
|
3662 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2596 | 3663 |
ac_cv_prog_cc_g=yes
|
2597 | 3664 |
else
|
2598 | |
echo "$as_me: failed program was:" >&5
|
2599 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2600 | |
|
2601 | |
CFLAGS=""
|
2602 | |
cat >conftest.$ac_ext <<_ACEOF
|
2603 | |
/* confdefs.h. */
|
2604 | |
_ACEOF
|
2605 | |
cat confdefs.h >>conftest.$ac_ext
|
2606 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3665 |
CFLAGS=""
|
|
3666 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2607 | 3667 |
/* end confdefs.h. */
|
2608 | 3668 |
|
2609 | 3669 |
int
|
|
2614 | 3674 |
return 0;
|
2615 | 3675 |
}
|
2616 | 3676 |
_ACEOF
|
2617 | |
rm -f conftest.$ac_objext
|
2618 | |
if { (ac_try="$ac_compile"
|
2619 | |
case "(($ac_try" in
|
2620 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2621 | |
*) ac_try_echo=$ac_try;;
|
2622 | |
esac
|
2623 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2624 | |
(eval "$ac_compile") 2>conftest.er1
|
2625 | |
ac_status=$?
|
2626 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2627 | |
rm -f conftest.er1
|
2628 | |
cat conftest.err >&5
|
2629 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2630 | |
(exit $ac_status); } && {
|
2631 | |
test -z "$ac_c_werror_flag" ||
|
2632 | |
test ! -s conftest.err
|
2633 | |
} && test -s conftest.$ac_objext; then
|
2634 | |
:
|
2635 | |
else
|
2636 | |
echo "$as_me: failed program was:" >&5
|
2637 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2638 | |
|
2639 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3677 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3678 |
|
|
3679 |
else
|
|
3680 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2640 | 3681 |
CFLAGS="-g"
|
2641 | |
cat >conftest.$ac_ext <<_ACEOF
|
2642 | |
/* confdefs.h. */
|
2643 | |
_ACEOF
|
2644 | |
cat confdefs.h >>conftest.$ac_ext
|
2645 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3682 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2646 | 3683 |
/* end confdefs.h. */
|
2647 | 3684 |
|
2648 | 3685 |
int
|
|
2653 | 3690 |
return 0;
|
2654 | 3691 |
}
|
2655 | 3692 |
_ACEOF
|
2656 | |
rm -f conftest.$ac_objext
|
2657 | |
if { (ac_try="$ac_compile"
|
2658 | |
case "(($ac_try" in
|
2659 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2660 | |
*) ac_try_echo=$ac_try;;
|
2661 | |
esac
|
2662 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2663 | |
(eval "$ac_compile") 2>conftest.er1
|
2664 | |
ac_status=$?
|
2665 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2666 | |
rm -f conftest.er1
|
2667 | |
cat conftest.err >&5
|
2668 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2669 | |
(exit $ac_status); } && {
|
2670 | |
test -z "$ac_c_werror_flag" ||
|
2671 | |
test ! -s conftest.err
|
2672 | |
} && test -s conftest.$ac_objext; then
|
|
3693 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2673 | 3694 |
ac_cv_prog_cc_g=yes
|
2674 | |
else
|
2675 | |
echo "$as_me: failed program was:" >&5
|
2676 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2677 | |
|
2678 | |
|
2679 | |
fi
|
2680 | |
|
|
3695 |
fi
|
2681 | 3696 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2682 | 3697 |
fi
|
2683 | |
|
2684 | 3698 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2685 | 3699 |
fi
|
2686 | |
|
2687 | 3700 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2688 | 3701 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
2689 | 3702 |
fi
|
2690 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2691 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
3703 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
3704 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
2692 | 3705 |
if test "$ac_test_CFLAGS" = set; then
|
2693 | 3706 |
CFLAGS=$ac_save_CFLAGS
|
2694 | 3707 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2704 | 3717 |
CFLAGS=
|
2705 | 3718 |
fi
|
2706 | 3719 |
fi
|
2707 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
2708 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
2709 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
2710 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3720 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
3721 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3722 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
|
3723 |
$as_echo_n "(cached) " >&6
|
2711 | 3724 |
else
|
2712 | 3725 |
ac_cv_prog_cc_c89=no
|
2713 | 3726 |
ac_save_CC=$CC
|
2714 | |
cat >conftest.$ac_ext <<_ACEOF
|
2715 | |
/* confdefs.h. */
|
2716 | |
_ACEOF
|
2717 | |
cat confdefs.h >>conftest.$ac_ext
|
2718 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3727 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2719 | 3728 |
/* end confdefs.h. */
|
2720 | 3729 |
#include <stdarg.h>
|
2721 | 3730 |
#include <stdio.h>
|
2722 | |
#include <sys/types.h>
|
2723 | |
#include <sys/stat.h>
|
|
3731 |
struct stat;
|
2724 | 3732 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
2725 | 3733 |
struct buf { int x; };
|
2726 | 3734 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
2772 | 3780 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2773 | 3781 |
do
|
2774 | 3782 |
CC="$ac_save_CC $ac_arg"
|
2775 | |
rm -f conftest.$ac_objext
|
2776 | |
if { (ac_try="$ac_compile"
|
2777 | |
case "(($ac_try" in
|
2778 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2779 | |
*) ac_try_echo=$ac_try;;
|
2780 | |
esac
|
2781 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2782 | |
(eval "$ac_compile") 2>conftest.er1
|
2783 | |
ac_status=$?
|
2784 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2785 | |
rm -f conftest.er1
|
2786 | |
cat conftest.err >&5
|
2787 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2788 | |
(exit $ac_status); } && {
|
2789 | |
test -z "$ac_c_werror_flag" ||
|
2790 | |
test ! -s conftest.err
|
2791 | |
} && test -s conftest.$ac_objext; then
|
|
3783 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2792 | 3784 |
ac_cv_prog_cc_c89=$ac_arg
|
2793 | |
else
|
2794 | |
echo "$as_me: failed program was:" >&5
|
2795 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2796 | |
|
2797 | |
|
2798 | |
fi
|
2799 | |
|
|
3785 |
fi
|
2800 | 3786 |
rm -f core conftest.err conftest.$ac_objext
|
2801 | 3787 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2802 | 3788 |
done
|
|
2807 | 3793 |
# AC_CACHE_VAL
|
2808 | 3794 |
case "x$ac_cv_prog_cc_c89" in
|
2809 | 3795 |
x)
|
2810 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
2811 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
3796 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
3797 |
$as_echo "none needed" >&6; } ;;
|
2812 | 3798 |
xno)
|
2813 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
2814 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
3799 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
3800 |
$as_echo "unsupported" >&6; } ;;
|
2815 | 3801 |
*)
|
2816 | 3802 |
CC="$CC $ac_cv_prog_cc_c89"
|
2817 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
2818 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
3803 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
3804 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
2819 | 3805 |
esac
|
2820 | |
|
|
3806 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3807 |
|
|
3808 |
fi
|
2821 | 3809 |
|
2822 | 3810 |
ac_ext=c
|
2823 | 3811 |
ac_cpp='$CPP $CPPFLAGS'
|
|
2825 | 3813 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2826 | 3814 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2827 | 3815 |
|
2828 | |
|
2829 | 3816 |
ac_ext=c
|
2830 | 3817 |
ac_cpp='$CPP $CPPFLAGS'
|
2831 | 3818 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2832 | 3819 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2833 | 3820 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2834 | |
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
|
2835 | |
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
|
2836 | |
# On Suns, sometimes $CPP names a directory.
|
2837 | |
if test -n "$CPP" && test -d "$CPP"; then
|
2838 | |
CPP=
|
2839 | |
fi
|
2840 | |
if test -z "$CPP"; then
|
2841 | |
if test "${ac_cv_prog_CPP+set}" = set; then
|
2842 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2843 | |
else
|
2844 | |
# Double quotes because CPP needs to be expanded
|
2845 | |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
2846 | |
do
|
2847 | |
ac_preproc_ok=false
|
2848 | |
for ac_c_preproc_warn_flag in '' yes
|
2849 | |
do
|
2850 | |
# Use a header file that comes with gcc, so configuring glibc
|
2851 | |
# with a fresh cross-compiler works.
|
2852 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2853 | |
# <limits.h> exists even on freestanding compilers.
|
2854 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2855 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
2856 | |
cat >conftest.$ac_ext <<_ACEOF
|
2857 | |
/* confdefs.h. */
|
2858 | |
_ACEOF
|
2859 | |
cat confdefs.h >>conftest.$ac_ext
|
2860 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3821 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
3822 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
|
3823 |
if ${am_cv_prog_cc_c_o+:} false; then :
|
|
3824 |
$as_echo_n "(cached) " >&6
|
|
3825 |
else
|
|
3826 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2861 | 3827 |
/* end confdefs.h. */
|
2862 | |
#ifdef __STDC__
|
2863 | |
# include <limits.h>
|
2864 | |
#else
|
2865 | |
# include <assert.h>
|
2866 | |
#endif
|
2867 | |
Syntax error
|
2868 | |
_ACEOF
|
2869 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
2870 | |
case "(($ac_try" in
|
2871 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2872 | |
*) ac_try_echo=$ac_try;;
|
2873 | |
esac
|
2874 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2875 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2876 | |
ac_status=$?
|
2877 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2878 | |
rm -f conftest.er1
|
2879 | |
cat conftest.err >&5
|
2880 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2881 | |
(exit $ac_status); } >/dev/null && {
|
2882 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
2883 | |
test ! -s conftest.err
|
2884 | |
}; then
|
2885 | |
:
|
2886 | |
else
|
2887 | |
echo "$as_me: failed program was:" >&5
|
2888 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2889 | |
|
2890 | |
# Broken: fails on valid input.
|
2891 | |
continue
|
2892 | |
fi
|
2893 | |
|
2894 | |
rm -f conftest.err conftest.$ac_ext
|
2895 | |
|
2896 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
2897 | |
# can be detected and how.
|
2898 | |
cat >conftest.$ac_ext <<_ACEOF
|
2899 | |
/* confdefs.h. */
|
2900 | |
_ACEOF
|
2901 | |
cat confdefs.h >>conftest.$ac_ext
|
2902 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2903 | |
/* end confdefs.h. */
|
2904 | |
#include <ac_nonexistent.h>
|
2905 | |
_ACEOF
|
2906 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
2907 | |
case "(($ac_try" in
|
2908 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2909 | |
*) ac_try_echo=$ac_try;;
|
2910 | |
esac
|
2911 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2912 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2913 | |
ac_status=$?
|
2914 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2915 | |
rm -f conftest.er1
|
2916 | |
cat conftest.err >&5
|
2917 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2918 | |
(exit $ac_status); } >/dev/null && {
|
2919 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
2920 | |
test ! -s conftest.err
|
2921 | |
}; then
|
2922 | |
# Broken: success on invalid input.
|
2923 | |
continue
|
2924 | |
else
|
2925 | |
echo "$as_me: failed program was:" >&5
|
2926 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2927 | |
|
2928 | |
# Passes both tests.
|
2929 | |
ac_preproc_ok=:
|
2930 | |
break
|
2931 | |
fi
|
2932 | |
|
2933 | |
rm -f conftest.err conftest.$ac_ext
|
2934 | |
|
2935 | |
done
|
2936 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
2937 | |
rm -f conftest.err conftest.$ac_ext
|
2938 | |
if $ac_preproc_ok; then
|
2939 | |
break
|
2940 | |
fi
|
2941 | |
|
2942 | |
done
|
2943 | |
ac_cv_prog_CPP=$CPP
|
2944 | |
|
2945 | |
fi
|
2946 | |
CPP=$ac_cv_prog_CPP
|
2947 | |
else
|
2948 | |
ac_cv_prog_CPP=$CPP
|
2949 | |
fi
|
2950 | |
{ echo "$as_me:$LINENO: result: $CPP" >&5
|
2951 | |
echo "${ECHO_T}$CPP" >&6; }
|
2952 | |
ac_preproc_ok=false
|
2953 | |
for ac_c_preproc_warn_flag in '' yes
|
2954 | |
do
|
2955 | |
# Use a header file that comes with gcc, so configuring glibc
|
2956 | |
# with a fresh cross-compiler works.
|
2957 | |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2958 | |
# <limits.h> exists even on freestanding compilers.
|
2959 | |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
2960 | |
# not just through cpp. "Syntax error" is here to catch this case.
|
2961 | |
cat >conftest.$ac_ext <<_ACEOF
|
2962 | |
/* confdefs.h. */
|
2963 | |
_ACEOF
|
2964 | |
cat confdefs.h >>conftest.$ac_ext
|
2965 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2966 | |
/* end confdefs.h. */
|
2967 | |
#ifdef __STDC__
|
2968 | |
# include <limits.h>
|
2969 | |
#else
|
2970 | |
# include <assert.h>
|
2971 | |
#endif
|
2972 | |
Syntax error
|
2973 | |
_ACEOF
|
2974 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
2975 | |
case "(($ac_try" in
|
2976 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2977 | |
*) ac_try_echo=$ac_try;;
|
2978 | |
esac
|
2979 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
2980 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
2981 | |
ac_status=$?
|
2982 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2983 | |
rm -f conftest.er1
|
2984 | |
cat conftest.err >&5
|
2985 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2986 | |
(exit $ac_status); } >/dev/null && {
|
2987 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
2988 | |
test ! -s conftest.err
|
2989 | |
}; then
|
2990 | |
:
|
2991 | |
else
|
2992 | |
echo "$as_me: failed program was:" >&5
|
2993 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2994 | |
|
2995 | |
# Broken: fails on valid input.
|
2996 | |
continue
|
2997 | |
fi
|
2998 | |
|
2999 | |
rm -f conftest.err conftest.$ac_ext
|
3000 | |
|
3001 | |
# OK, works on sane cases. Now check whether nonexistent headers
|
3002 | |
# can be detected and how.
|
3003 | |
cat >conftest.$ac_ext <<_ACEOF
|
3004 | |
/* confdefs.h. */
|
3005 | |
_ACEOF
|
3006 | |
cat confdefs.h >>conftest.$ac_ext
|
3007 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3008 | |
/* end confdefs.h. */
|
3009 | |
#include <ac_nonexistent.h>
|
3010 | |
_ACEOF
|
3011 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3012 | |
case "(($ac_try" in
|
3013 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3014 | |
*) ac_try_echo=$ac_try;;
|
3015 | |
esac
|
3016 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3017 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3018 | |
ac_status=$?
|
3019 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3020 | |
rm -f conftest.er1
|
3021 | |
cat conftest.err >&5
|
3022 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3023 | |
(exit $ac_status); } >/dev/null && {
|
3024 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3025 | |
test ! -s conftest.err
|
3026 | |
}; then
|
3027 | |
# Broken: success on invalid input.
|
3028 | |
continue
|
3029 | |
else
|
3030 | |
echo "$as_me: failed program was:" >&5
|
3031 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3032 | |
|
3033 | |
# Passes both tests.
|
3034 | |
ac_preproc_ok=:
|
3035 | |
break
|
3036 | |
fi
|
3037 | |
|
3038 | |
rm -f conftest.err conftest.$ac_ext
|
3039 | |
|
3040 | |
done
|
3041 | |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
3042 | |
rm -f conftest.err conftest.$ac_ext
|
3043 | |
if $ac_preproc_ok; then
|
3044 | |
:
|
3045 | |
else
|
3046 | |
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
|
3047 | |
See \`config.log' for more details." >&5
|
3048 | |
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
|
3049 | |
See \`config.log' for more details." >&2;}
|
3050 | |
{ (exit 1); exit 1; }; }
|
3051 | |
fi
|
3052 | |
|
|
3828 |
|
|
3829 |
int
|
|
3830 |
main ()
|
|
3831 |
{
|
|
3832 |
|
|
3833 |
;
|
|
3834 |
return 0;
|
|
3835 |
}
|
|
3836 |
_ACEOF
|
|
3837 |
# Make sure it works both with $CC and with simple cc.
|
|
3838 |
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
3839 |
# compilers refuse to overwrite an existing .o file with -o,
|
|
3840 |
# though they will create one.
|
|
3841 |
am_cv_prog_cc_c_o=yes
|
|
3842 |
for am_i in 1 2; do
|
|
3843 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
|
3844 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
|
3845 |
ac_status=$?
|
|
3846 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
3847 |
(exit $ac_status); } \
|
|
3848 |
&& test -f conftest2.$ac_objext; then
|
|
3849 |
: OK
|
|
3850 |
else
|
|
3851 |
am_cv_prog_cc_c_o=no
|
|
3852 |
break
|
|
3853 |
fi
|
|
3854 |
done
|
|
3855 |
rm -f core conftest*
|
|
3856 |
unset am_i
|
|
3857 |
fi
|
|
3858 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
3859 |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
3860 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
3861 |
# Losing compiler, so override with the script.
|
|
3862 |
# FIXME: It is wrong to rewrite CC.
|
|
3863 |
# But if we don't then we get into trouble of one sort or another.
|
|
3864 |
# A longer-term fix would be to have automake use am__CC in this case,
|
|
3865 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
3866 |
CC="$am_aux_dir/compile $CC"
|
|
3867 |
fi
|
3053 | 3868 |
ac_ext=c
|
3054 | 3869 |
ac_cpp='$CPP $CPPFLAGS'
|
3055 | 3870 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
3057 | 3872 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3058 | 3873 |
|
3059 | 3874 |
|
3060 | |
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
|
3061 | |
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
|
3062 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3063 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3064 | |
else
|
3065 | |
# Extract the first word of "grep ggrep" to use in msg output
|
3066 | |
if test -z "$GREP"; then
|
3067 | |
set dummy grep ggrep; ac_prog_name=$2
|
3068 | |
if test "${ac_cv_path_GREP+set}" = set; then
|
3069 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3070 | |
else
|
3071 | |
ac_path_GREP_found=false
|
3072 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3073 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3074 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3075 | |
do
|
3076 | |
IFS=$as_save_IFS
|
3077 | |
test -z "$as_dir" && as_dir=.
|
3078 | |
for ac_prog in grep ggrep; do
|
3079 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3080 | |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
3081 | |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
3082 | |
# Check for GNU ac_path_GREP and select it if it is found.
|
3083 | |
# Check for GNU $ac_path_GREP
|
3084 | |
case `"$ac_path_GREP" --version 2>&1` in
|
3085 | |
*GNU*)
|
3086 | |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
3087 | |
*)
|
3088 | |
ac_count=0
|
3089 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
3090 | |
while :
|
3091 | |
do
|
3092 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3093 | |
mv "conftest.tmp" "conftest.in"
|
3094 | |
cp "conftest.in" "conftest.nl"
|
3095 | |
echo 'GREP' >> "conftest.nl"
|
3096 | |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3097 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3098 | |
ac_count=`expr $ac_count + 1`
|
3099 | |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
3100 | |
# Best one so far, save it but keep looking for a better one
|
3101 | |
ac_cv_path_GREP="$ac_path_GREP"
|
3102 | |
ac_path_GREP_max=$ac_count
|
3103 | |
fi
|
3104 | |
# 10*(2^10) chars as input seems more than enough
|
3105 | |
test $ac_count -gt 10 && break
|
3106 | |
done
|
3107 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3108 | |
esac
|
3109 | |
|
3110 | |
|
3111 | |
$ac_path_GREP_found && break 3
|
3112 | |
done
|
3113 | |
done
|
3114 | |
|
3115 | |
done
|
3116 | |
IFS=$as_save_IFS
|
3117 | |
|
3118 | |
|
3119 | |
fi
|
3120 | |
|
3121 | |
GREP="$ac_cv_path_GREP"
|
3122 | |
if test -z "$GREP"; then
|
3123 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3124 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3125 | |
{ (exit 1); exit 1; }; }
|
3126 | |
fi
|
3127 | |
|
3128 | |
else
|
3129 | |
ac_cv_path_GREP=$GREP
|
3130 | |
fi
|
3131 | |
|
3132 | |
|
3133 | |
fi
|
3134 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
|
3135 | |
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
|
3136 | |
GREP="$ac_cv_path_GREP"
|
3137 | |
|
3138 | |
|
3139 | |
{ echo "$as_me:$LINENO: checking for egrep" >&5
|
3140 | |
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
|
3141 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3142 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3143 | |
else
|
3144 | |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
3145 | |
then ac_cv_path_EGREP="$GREP -E"
|
3146 | |
else
|
3147 | |
# Extract the first word of "egrep" to use in msg output
|
3148 | |
if test -z "$EGREP"; then
|
3149 | |
set dummy egrep; ac_prog_name=$2
|
3150 | |
if test "${ac_cv_path_EGREP+set}" = set; then
|
3151 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3152 | |
else
|
3153 | |
ac_path_EGREP_found=false
|
3154 | |
# Loop through the user's path and test for each of PROGNAME-LIST
|
3155 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3156 | |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
3157 | |
do
|
3158 | |
IFS=$as_save_IFS
|
3159 | |
test -z "$as_dir" && as_dir=.
|
3160 | |
for ac_prog in egrep; do
|
3161 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3162 | |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
3163 | |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
3164 | |
# Check for GNU ac_path_EGREP and select it if it is found.
|
3165 | |
# Check for GNU $ac_path_EGREP
|
3166 | |
case `"$ac_path_EGREP" --version 2>&1` in
|
3167 | |
*GNU*)
|
3168 | |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
3169 | |
*)
|
3170 | |
ac_count=0
|
3171 | |
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
|
3172 | |
while :
|
3173 | |
do
|
3174 | |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
3175 | |
mv "conftest.tmp" "conftest.in"
|
3176 | |
cp "conftest.in" "conftest.nl"
|
3177 | |
echo 'EGREP' >> "conftest.nl"
|
3178 | |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
3179 | |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
3180 | |
ac_count=`expr $ac_count + 1`
|
3181 | |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
3182 | |
# Best one so far, save it but keep looking for a better one
|
3183 | |
ac_cv_path_EGREP="$ac_path_EGREP"
|
3184 | |
ac_path_EGREP_max=$ac_count
|
3185 | |
fi
|
3186 | |
# 10*(2^10) chars as input seems more than enough
|
3187 | |
test $ac_count -gt 10 && break
|
3188 | |
done
|
3189 | |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
3190 | |
esac
|
3191 | |
|
3192 | |
|
3193 | |
$ac_path_EGREP_found && break 3
|
3194 | |
done
|
3195 | |
done
|
3196 | |
|
3197 | |
done
|
3198 | |
IFS=$as_save_IFS
|
3199 | |
|
3200 | |
|
3201 | |
fi
|
3202 | |
|
3203 | |
EGREP="$ac_cv_path_EGREP"
|
3204 | |
if test -z "$EGREP"; then
|
3205 | |
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
|
3206 | |
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
|
3207 | |
{ (exit 1); exit 1; }; }
|
3208 | |
fi
|
3209 | |
|
3210 | |
else
|
3211 | |
ac_cv_path_EGREP=$EGREP
|
3212 | |
fi
|
3213 | |
|
3214 | |
|
3215 | |
fi
|
3216 | |
fi
|
3217 | |
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
|
3218 | |
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
|
3219 | |
EGREP="$ac_cv_path_EGREP"
|
3220 | |
|
3221 | |
|
3222 | |
|
3223 | |
{ echo "$as_me:$LINENO: checking for AIX" >&5
|
3224 | |
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
|
3225 | |
cat >conftest.$ac_ext <<_ACEOF
|
3226 | |
/* confdefs.h. */
|
3227 | |
_ACEOF
|
3228 | |
cat confdefs.h >>conftest.$ac_ext
|
3229 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3230 | |
/* end confdefs.h. */
|
3231 | |
#ifdef _AIX
|
3232 | |
yes
|
3233 | |
#endif
|
3234 | |
|
3235 | |
_ACEOF
|
3236 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3237 | |
$EGREP "yes" >/dev/null 2>&1; then
|
3238 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3239 | |
echo "${ECHO_T}yes" >&6; }
|
3240 | |
cat >>confdefs.h <<\_ACEOF
|
3241 | |
#define _ALL_SOURCE 1
|
3242 | |
_ACEOF
|
3243 | |
|
3244 | |
else
|
3245 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
3246 | |
echo "${ECHO_T}no" >&6; }
|
3247 | |
fi
|
3248 | |
rm -f conftest*
|
3249 | |
|
3250 | |
|
3251 | |
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
|
3252 | |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
|
3253 | |
if test "${ac_cv_header_stdc+set}" = set; then
|
3254 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3255 | |
else
|
3256 | |
cat >conftest.$ac_ext <<_ACEOF
|
3257 | |
/* confdefs.h. */
|
3258 | |
_ACEOF
|
3259 | |
cat confdefs.h >>conftest.$ac_ext
|
3260 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3261 | |
/* end confdefs.h. */
|
3262 | |
#include <stdlib.h>
|
3263 | |
#include <stdarg.h>
|
3264 | |
#include <string.h>
|
3265 | |
#include <float.h>
|
3266 | |
|
3267 | |
int
|
3268 | |
main ()
|
3269 | |
{
|
3270 | |
|
3271 | |
;
|
3272 | |
return 0;
|
3273 | |
}
|
3274 | |
_ACEOF
|
3275 | |
rm -f conftest.$ac_objext
|
3276 | |
if { (ac_try="$ac_compile"
|
3277 | |
case "(($ac_try" in
|
3278 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3279 | |
*) ac_try_echo=$ac_try;;
|
3280 | |
esac
|
3281 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3282 | |
(eval "$ac_compile") 2>conftest.er1
|
3283 | |
ac_status=$?
|
3284 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3285 | |
rm -f conftest.er1
|
3286 | |
cat conftest.err >&5
|
3287 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3288 | |
(exit $ac_status); } && {
|
3289 | |
test -z "$ac_c_werror_flag" ||
|
3290 | |
test ! -s conftest.err
|
3291 | |
} && test -s conftest.$ac_objext; then
|
3292 | |
ac_cv_header_stdc=yes
|
3293 | |
else
|
3294 | |
echo "$as_me: failed program was:" >&5
|
3295 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3296 | |
|
3297 | |
ac_cv_header_stdc=no
|
3298 | |
fi
|
3299 | |
|
3300 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3301 | |
|
3302 | |
if test $ac_cv_header_stdc = yes; then
|
3303 | |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
3304 | |
cat >conftest.$ac_ext <<_ACEOF
|
3305 | |
/* confdefs.h. */
|
3306 | |
_ACEOF
|
3307 | |
cat confdefs.h >>conftest.$ac_ext
|
3308 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3309 | |
/* end confdefs.h. */
|
3310 | |
#include <string.h>
|
3311 | |
|
3312 | |
_ACEOF
|
3313 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3314 | |
$EGREP "memchr" >/dev/null 2>&1; then
|
3315 | |
:
|
3316 | |
else
|
3317 | |
ac_cv_header_stdc=no
|
3318 | |
fi
|
3319 | |
rm -f conftest*
|
3320 | |
|
3321 | |
fi
|
3322 | |
|
3323 | |
if test $ac_cv_header_stdc = yes; then
|
3324 | |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
3325 | |
cat >conftest.$ac_ext <<_ACEOF
|
3326 | |
/* confdefs.h. */
|
3327 | |
_ACEOF
|
3328 | |
cat confdefs.h >>conftest.$ac_ext
|
3329 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3330 | |
/* end confdefs.h. */
|
3331 | |
#include <stdlib.h>
|
3332 | |
|
3333 | |
_ACEOF
|
3334 | |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
3335 | |
$EGREP "free" >/dev/null 2>&1; then
|
3336 | |
:
|
3337 | |
else
|
3338 | |
ac_cv_header_stdc=no
|
3339 | |
fi
|
3340 | |
rm -f conftest*
|
3341 | |
|
3342 | |
fi
|
3343 | |
|
3344 | |
if test $ac_cv_header_stdc = yes; then
|
3345 | |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
3346 | |
if test "$cross_compiling" = yes; then
|
3347 | |
:
|
3348 | |
else
|
3349 | |
cat >conftest.$ac_ext <<_ACEOF
|
3350 | |
/* confdefs.h. */
|
3351 | |
_ACEOF
|
3352 | |
cat confdefs.h >>conftest.$ac_ext
|
3353 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3354 | |
/* end confdefs.h. */
|
3355 | |
#include <ctype.h>
|
3356 | |
#include <stdlib.h>
|
3357 | |
#if ((' ' & 0x0FF) == 0x020)
|
3358 | |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
3359 | |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
3360 | |
#else
|
3361 | |
# define ISLOWER(c) \
|
3362 | |
(('a' <= (c) && (c) <= 'i') \
|
3363 | |
|| ('j' <= (c) && (c) <= 'r') \
|
3364 | |
|| ('s' <= (c) && (c) <= 'z'))
|
3365 | |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
3366 | |
#endif
|
3367 | |
|
3368 | |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
3369 | |
int
|
3370 | |
main ()
|
3371 | |
{
|
3372 | |
int i;
|
3373 | |
for (i = 0; i < 256; i++)
|
3374 | |
if (XOR (islower (i), ISLOWER (i))
|
3375 | |
|| toupper (i) != TOUPPER (i))
|
3376 | |
return 2;
|
3377 | |
return 0;
|
3378 | |
}
|
3379 | |
_ACEOF
|
3380 | |
rm -f conftest$ac_exeext
|
3381 | |
if { (ac_try="$ac_link"
|
3382 | |
case "(($ac_try" in
|
3383 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3384 | |
*) ac_try_echo=$ac_try;;
|
3385 | |
esac
|
3386 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3387 | |
(eval "$ac_link") 2>&5
|
3388 | |
ac_status=$?
|
3389 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3390 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
3391 | |
{ (case "(($ac_try" in
|
3392 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3393 | |
*) ac_try_echo=$ac_try;;
|
3394 | |
esac
|
3395 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3396 | |
(eval "$ac_try") 2>&5
|
3397 | |
ac_status=$?
|
3398 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3399 | |
(exit $ac_status); }; }; then
|
3400 | |
:
|
3401 | |
else
|
3402 | |
echo "$as_me: program exited with status $ac_status" >&5
|
3403 | |
echo "$as_me: failed program was:" >&5
|
3404 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3405 | |
|
3406 | |
( exit $ac_status )
|
3407 | |
ac_cv_header_stdc=no
|
3408 | |
fi
|
3409 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
3410 | |
fi
|
3411 | |
|
3412 | |
|
3413 | |
fi
|
3414 | |
fi
|
3415 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
|
3416 | |
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
|
3417 | |
if test $ac_cv_header_stdc = yes; then
|
3418 | |
|
3419 | |
cat >>confdefs.h <<\_ACEOF
|
3420 | |
#define STDC_HEADERS 1
|
3421 | |
_ACEOF
|
3422 | |
|
3423 | |
fi
|
3424 | |
|
3425 | |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
3426 | |
|
3427 | |
|
3428 | |
|
3429 | |
|
3430 | |
|
3431 | |
|
3432 | |
|
3433 | |
|
3434 | |
|
3435 | |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
3436 | |
inttypes.h stdint.h unistd.h
|
3437 | |
do
|
3438 | |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
3439 | |
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
|
3440 | |
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
|
3441 | |
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
|
3442 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3443 | |
else
|
3444 | |
cat >conftest.$ac_ext <<_ACEOF
|
3445 | |
/* confdefs.h. */
|
3446 | |
_ACEOF
|
3447 | |
cat confdefs.h >>conftest.$ac_ext
|
3448 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3449 | |
/* end confdefs.h. */
|
3450 | |
$ac_includes_default
|
3451 | |
|
3452 | |
#include <$ac_header>
|
3453 | |
_ACEOF
|
3454 | |
rm -f conftest.$ac_objext
|
3455 | |
if { (ac_try="$ac_compile"
|
3456 | |
case "(($ac_try" in
|
3457 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3458 | |
*) ac_try_echo=$ac_try;;
|
3459 | |
esac
|
3460 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3461 | |
(eval "$ac_compile") 2>conftest.er1
|
3462 | |
ac_status=$?
|
3463 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3464 | |
rm -f conftest.er1
|
3465 | |
cat conftest.err >&5
|
3466 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3467 | |
(exit $ac_status); } && {
|
3468 | |
test -z "$ac_c_werror_flag" ||
|
3469 | |
test ! -s conftest.err
|
3470 | |
} && test -s conftest.$ac_objext; then
|
3471 | |
eval "$as_ac_Header=yes"
|
3472 | |
else
|
3473 | |
echo "$as_me: failed program was:" >&5
|
3474 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3475 | |
|
3476 | |
eval "$as_ac_Header=no"
|
3477 | |
fi
|
3478 | |
|
3479 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3480 | |
fi
|
3481 | |
ac_res=`eval echo '${'$as_ac_Header'}'`
|
3482 | |
{ echo "$as_me:$LINENO: result: $ac_res" >&5
|
3483 | |
echo "${ECHO_T}$ac_res" >&6; }
|
3484 | |
if test `eval echo '${'$as_ac_Header'}'` = yes; then
|
3485 | |
cat >>confdefs.h <<_ACEOF
|
3486 | |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
3487 | |
_ACEOF
|
3488 | |
|
3489 | |
fi
|
3490 | |
|
3491 | |
done
|
3492 | |
|
3493 | |
|
3494 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3495 | |
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3496 | |
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
3497 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3498 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3499 | |
fi
|
3500 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3501 | |
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
3502 | |
else
|
3503 | |
# Is the header compilable?
|
3504 | |
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
|
3505 | |
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
|
3506 | |
cat >conftest.$ac_ext <<_ACEOF
|
3507 | |
/* confdefs.h. */
|
3508 | |
_ACEOF
|
3509 | |
cat confdefs.h >>conftest.$ac_ext
|
3510 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3511 | |
/* end confdefs.h. */
|
3512 | |
$ac_includes_default
|
3513 | |
#include <minix/config.h>
|
3514 | |
_ACEOF
|
3515 | |
rm -f conftest.$ac_objext
|
3516 | |
if { (ac_try="$ac_compile"
|
3517 | |
case "(($ac_try" in
|
3518 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3519 | |
*) ac_try_echo=$ac_try;;
|
3520 | |
esac
|
3521 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3522 | |
(eval "$ac_compile") 2>conftest.er1
|
3523 | |
ac_status=$?
|
3524 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3525 | |
rm -f conftest.er1
|
3526 | |
cat conftest.err >&5
|
3527 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3528 | |
(exit $ac_status); } && {
|
3529 | |
test -z "$ac_c_werror_flag" ||
|
3530 | |
test ! -s conftest.err
|
3531 | |
} && test -s conftest.$ac_objext; then
|
3532 | |
ac_header_compiler=yes
|
3533 | |
else
|
3534 | |
echo "$as_me: failed program was:" >&5
|
3535 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3536 | |
|
3537 | |
ac_header_compiler=no
|
3538 | |
fi
|
3539 | |
|
3540 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3541 | |
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
|
3542 | |
echo "${ECHO_T}$ac_header_compiler" >&6; }
|
3543 | |
|
3544 | |
# Is the header present?
|
3545 | |
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
|
3546 | |
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
|
3547 | |
cat >conftest.$ac_ext <<_ACEOF
|
3548 | |
/* confdefs.h. */
|
3549 | |
_ACEOF
|
3550 | |
cat confdefs.h >>conftest.$ac_ext
|
3551 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3552 | |
/* end confdefs.h. */
|
3553 | |
#include <minix/config.h>
|
3554 | |
_ACEOF
|
3555 | |
if { (ac_try="$ac_cpp conftest.$ac_ext"
|
3556 | |
case "(($ac_try" in
|
3557 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3558 | |
*) ac_try_echo=$ac_try;;
|
3559 | |
esac
|
3560 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3561 | |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
|
3562 | |
ac_status=$?
|
3563 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3564 | |
rm -f conftest.er1
|
3565 | |
cat conftest.err >&5
|
3566 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3567 | |
(exit $ac_status); } >/dev/null && {
|
3568 | |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
3569 | |
test ! -s conftest.err
|
3570 | |
}; then
|
3571 | |
ac_header_preproc=yes
|
3572 | |
else
|
3573 | |
echo "$as_me: failed program was:" >&5
|
3574 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3575 | |
|
3576 | |
ac_header_preproc=no
|
3577 | |
fi
|
3578 | |
|
3579 | |
rm -f conftest.err conftest.$ac_ext
|
3580 | |
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
|
3581 | |
echo "${ECHO_T}$ac_header_preproc" >&6; }
|
3582 | |
|
3583 | |
# So? What about this header?
|
3584 | |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
|
3585 | |
yes:no: )
|
3586 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
|
3587 | |
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
3588 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
|
3589 | |
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
|
3590 | |
ac_header_preproc=yes
|
3591 | |
;;
|
3592 | |
no:yes:* )
|
3593 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
|
3594 | |
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
|
3595 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
|
3596 | |
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
|
3597 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
|
3598 | |
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
|
3599 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
|
3600 | |
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
|
3601 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
|
3602 | |
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
|
3603 | |
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
|
3604 | |
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
|
3605 | |
|
3606 | |
;;
|
3607 | |
esac
|
3608 | |
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
|
3609 | |
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
|
3610 | |
if test "${ac_cv_header_minix_config_h+set}" = set; then
|
3611 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3612 | |
else
|
3613 | |
ac_cv_header_minix_config_h=$ac_header_preproc
|
3614 | |
fi
|
3615 | |
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
|
3616 | |
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
|
3617 | |
|
3618 | |
fi
|
3619 | |
if test $ac_cv_header_minix_config_h = yes; then
|
3620 | |
MINIX=yes
|
3621 | |
else
|
3622 | |
MINIX=
|
3623 | |
fi
|
3624 | |
|
3625 | |
|
3626 | |
if test "$MINIX" = yes; then
|
3627 | |
|
3628 | |
cat >>confdefs.h <<\_ACEOF
|
3629 | |
#define _POSIX_SOURCE 1
|
3630 | |
_ACEOF
|
3631 | |
|
3632 | |
|
3633 | |
cat >>confdefs.h <<\_ACEOF
|
3634 | |
#define _POSIX_1_SOURCE 2
|
3635 | |
_ACEOF
|
3636 | |
|
3637 | |
|
3638 | |
cat >>confdefs.h <<\_ACEOF
|
3639 | |
#define _MINIX 1
|
3640 | |
_ACEOF
|
3641 | |
|
3642 | |
fi
|
3643 | |
|
3644 | |
|
3645 | |
|
3646 | |
|
3647 | |
|
3648 | |
|
3649 | |
|
3650 | |
|
3651 | |
|
3652 | |
|
3653 | |
|
3654 | |
{ echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
|
3655 | |
echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
|
3656 | |
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
|
3657 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3658 | |
else
|
3659 | |
cat >conftest.$ac_ext <<_ACEOF
|
3660 | |
/* confdefs.h. */
|
3661 | |
_ACEOF
|
3662 | |
cat confdefs.h >>conftest.$ac_ext
|
3663 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3664 | |
/* end confdefs.h. */
|
3665 | |
|
3666 | |
# define __EXTENSIONS__ 1
|
3667 | |
$ac_includes_default
|
3668 | |
int
|
3669 | |
main ()
|
3670 | |
{
|
3671 | |
|
3672 | |
;
|
3673 | |
return 0;
|
3674 | |
}
|
3675 | |
_ACEOF
|
3676 | |
rm -f conftest.$ac_objext
|
3677 | |
if { (ac_try="$ac_compile"
|
3678 | |
case "(($ac_try" in
|
3679 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3680 | |
*) ac_try_echo=$ac_try;;
|
3681 | |
esac
|
3682 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
3683 | |
(eval "$ac_compile") 2>conftest.er1
|
3684 | |
ac_status=$?
|
3685 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3686 | |
rm -f conftest.er1
|
3687 | |
cat conftest.err >&5
|
3688 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3689 | |
(exit $ac_status); } && {
|
3690 | |
test -z "$ac_c_werror_flag" ||
|
3691 | |
test ! -s conftest.err
|
3692 | |
} && test -s conftest.$ac_objext; then
|
3693 | |
ac_cv_safe_to_define___extensions__=yes
|
3694 | |
else
|
3695 | |
echo "$as_me: failed program was:" >&5
|
3696 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3697 | |
|
3698 | |
ac_cv_safe_to_define___extensions__=no
|
3699 | |
fi
|
3700 | |
|
3701 | |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3702 | |
fi
|
3703 | |
{ echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
|
3704 | |
echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
|
3705 | |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
3706 | |
cat >>confdefs.h <<\_ACEOF
|
3707 | |
#define __EXTENSIONS__ 1
|
3708 | |
_ACEOF
|
3709 | |
|
3710 | |
cat >>confdefs.h <<\_ACEOF
|
3711 | |
#define _POSIX_PTHREAD_SEMANTICS 1
|
3712 | |
_ACEOF
|
3713 | |
|
3714 | |
cat >>confdefs.h <<\_ACEOF
|
3715 | |
#define _TANDEM_SOURCE 1
|
3716 | |
_ACEOF
|
3717 | |
|
3718 | |
|
3719 | |
|
3720 | |
ac_config_headers="$ac_config_headers config.h"
|
3721 | |
|
3722 | |
|
3723 | |
am__api_version="1.9"
|
3724 | |
# Find a good install program. We prefer a C program (faster),
|
3725 | |
# so one script is as good as another. But avoid the broken or
|
3726 | |
# incompatible versions:
|
3727 | |
# SysV /etc/install, /usr/sbin/install
|
3728 | |
# SunOS /usr/etc/install
|
3729 | |
# IRIX /sbin/install
|
3730 | |
# AIX /bin/install
|
3731 | |
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
3732 | |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
3733 | |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
3734 | |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
3735 | |
# OS/2's system install, which has a completely different semantic
|
3736 | |
# ./install, which can be erroneously created by make from ./install.sh.
|
3737 | |
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
3738 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
|
3739 | |
if test -z "$INSTALL"; then
|
3740 | |
if test "${ac_cv_path_install+set}" = set; then
|
3741 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3742 | |
else
|
3743 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3744 | |
for as_dir in $PATH
|
3745 | |
do
|
3746 | |
IFS=$as_save_IFS
|
3747 | |
test -z "$as_dir" && as_dir=.
|
3748 | |
# Account for people who put trailing slashes in PATH elements.
|
3749 | |
case $as_dir/ in
|
3750 | |
./ | .// | /cC/* | \
|
3751 | |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
3752 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
3753 | |
/usr/ucb/* ) ;;
|
3754 | |
*)
|
3755 | |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
3756 | |
# Don't use installbsd from OSF since it installs stuff as root
|
3757 | |
# by default.
|
3758 | |
for ac_prog in ginstall scoinst install; do
|
3759 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3760 | |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
3761 | |
if test $ac_prog = install &&
|
3762 | |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3763 | |
# AIX install. It has an incompatible calling convention.
|
3764 | |
:
|
3765 | |
elif test $ac_prog = install &&
|
3766 | |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
3767 | |
# program-specific install script used by HP pwplus--don't use.
|
3768 | |
:
|
3769 | |
else
|
3770 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
3771 | |
break 3
|
3772 | |
fi
|
3773 | |
fi
|
3774 | |
done
|
3775 | |
done
|
3776 | |
;;
|
3777 | |
esac
|
3778 | |
done
|
3779 | |
IFS=$as_save_IFS
|
3780 | |
|
3781 | |
|
3782 | |
fi
|
3783 | |
if test "${ac_cv_path_install+set}" = set; then
|
3784 | |
INSTALL=$ac_cv_path_install
|
3785 | |
else
|
3786 | |
# As a last resort, use the slow shell script. Don't cache a
|
3787 | |
# value for INSTALL within a source directory, because that will
|
3788 | |
# break other packages using the cache if that directory is
|
3789 | |
# removed, or if the value is a relative name.
|
3790 | |
INSTALL=$ac_install_sh
|
3791 | |
fi
|
3792 | |
fi
|
3793 | |
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
|
3794 | |
echo "${ECHO_T}$INSTALL" >&6; }
|
3795 | |
|
3796 | |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
3797 | |
# It thinks the first close brace ends the variable substitution.
|
3798 | |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
3799 | |
|
3800 | |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
3801 | |
|
3802 | |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
3803 | |
|
3804 | |
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
3805 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
|
3806 | |
# Just in case
|
3807 | |
sleep 1
|
3808 | |
echo timestamp > conftest.file
|
3809 | |
# Do `set' in a subshell so we don't clobber the current shell's
|
3810 | |
# arguments. Must try -L first in case configure is actually a
|
3811 | |
# symlink; some systems play weird games with the mod time of symlinks
|
3812 | |
# (eg FreeBSD returns the mod time of the symlink's containing
|
3813 | |
# directory).
|
3814 | |
if (
|
3815 | |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
3816 | |
if test "$*" = "X"; then
|
3817 | |
# -L didn't work.
|
3818 | |
set X `ls -t $srcdir/configure conftest.file`
|
3819 | |
fi
|
3820 | |
rm -f conftest.file
|
3821 | |
if test "$*" != "X $srcdir/configure conftest.file" \
|
3822 | |
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
3823 | |
|
3824 | |
# If neither matched, then we have a broken ls. This can happen
|
3825 | |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
3826 | |
# broken ls alias from the environment. This has actually
|
3827 | |
# happened. Such a system could not be considered "sane".
|
3828 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
3829 | |
alias in your environment" >&5
|
3830 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
3831 | |
alias in your environment" >&2;}
|
3832 | |
{ (exit 1); exit 1; }; }
|
3833 | |
fi
|
3834 | |
|
3835 | |
test "$2" = conftest.file
|
3836 | |
)
|
3837 | |
then
|
3838 | |
# Ok.
|
3839 | |
:
|
3840 | |
else
|
3841 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
3842 | |
Check your system clock" >&5
|
3843 | |
echo "$as_me: error: newly created file is older than distributed files!
|
3844 | |
Check your system clock" >&2;}
|
3845 | |
{ (exit 1); exit 1; }; }
|
3846 | |
fi
|
3847 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3848 | |
echo "${ECHO_T}yes" >&6; }
|
3849 | |
test "$program_prefix" != NONE &&
|
3850 | |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
3851 | |
# Use a double $ so make ignores it.
|
3852 | |
test "$program_suffix" != NONE &&
|
3853 | |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
3854 | |
# Double any \ or $. echo might interpret backslashes.
|
3855 | |
# By default was `s,x,x', remove it if useless.
|
3856 | |
cat <<\_ACEOF >conftest.sed
|
3857 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
3858 | |
_ACEOF
|
3859 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
3860 | |
rm -f conftest.sed
|
3861 | |
|
3862 | |
# expand $ac_aux_dir to an absolute path
|
3863 | |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
3864 | |
|
3865 | |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
3866 | |
# Use eval to expand $SHELL
|
3867 | |
if eval "$MISSING --run true"; then
|
3868 | |
am_missing_run="$MISSING --run "
|
3869 | |
else
|
3870 | |
am_missing_run=
|
3871 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
3872 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
3873 | |
fi
|
3874 | |
|
3875 | |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
3876 | |
# We used to keeping the `.' as first argument, in order to
|
3877 | |
# allow $(mkdir_p) to be used without argument. As in
|
3878 | |
# $(mkdir_p) $(somedir)
|
3879 | |
# where $(somedir) is conditionally defined. However this is wrong
|
3880 | |
# for two reasons:
|
3881 | |
# 1. if the package is installed by a user who cannot write `.'
|
3882 | |
# make install will fail,
|
3883 | |
# 2. the above comment should most certainly read
|
3884 | |
# $(mkdir_p) $(DESTDIR)$(somedir)
|
3885 | |
# so it does not work when $(somedir) is undefined and
|
3886 | |
# $(DESTDIR) is not.
|
3887 | |
# To support the latter case, we have to write
|
3888 | |
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
3889 | |
# so the `.' trick is pointless.
|
3890 | |
mkdir_p='mkdir -p --'
|
3891 | |
else
|
3892 | |
# On NextStep and OpenStep, the `mkdir' command does not
|
3893 | |
# recognize any option. It will interpret all options as
|
3894 | |
# directories to create, and then abort because `.' already
|
3895 | |
# exists.
|
3896 | |
for d in ./-p ./--version;
|
3897 | |
do
|
3898 | |
test -d $d && rmdir $d
|
3899 | |
done
|
3900 | |
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
3901 | |
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
3902 | |
mkdir_p='$(mkinstalldirs)'
|
3903 | |
else
|
3904 | |
mkdir_p='$(install_sh) -d'
|
3905 | |
fi
|
3906 | |
fi
|
3907 | |
|
3908 | |
for ac_prog in gawk mawk nawk awk
|
3909 | |
do
|
3910 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3911 | |
set dummy $ac_prog; ac_word=$2
|
3912 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
3913 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
3914 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
3915 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3916 | |
else
|
3917 | |
if test -n "$AWK"; then
|
3918 | |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
3919 | |
else
|
3920 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3921 | |
for as_dir in $PATH
|
3922 | |
do
|
3923 | |
IFS=$as_save_IFS
|
3924 | |
test -z "$as_dir" && as_dir=.
|
3925 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
3926 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3927 | |
ac_cv_prog_AWK="$ac_prog"
|
3928 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3929 | |
break 2
|
3930 | |
fi
|
3931 | |
done
|
3932 | |
done
|
3933 | |
IFS=$as_save_IFS
|
3934 | |
|
3935 | |
fi
|
3936 | |
fi
|
3937 | |
AWK=$ac_cv_prog_AWK
|
3938 | |
if test -n "$AWK"; then
|
3939 | |
{ echo "$as_me:$LINENO: result: $AWK" >&5
|
3940 | |
echo "${ECHO_T}$AWK" >&6; }
|
3941 | |
else
|
3942 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
3943 | |
echo "${ECHO_T}no" >&6; }
|
3944 | |
fi
|
3945 | |
|
3946 | |
|
3947 | |
test -n "$AWK" && break
|
3948 | |
done
|
3949 | |
|
3950 | |
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
3951 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
|
3952 | |
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
3953 | |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
|
3954 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3955 | |
else
|
3956 | |
cat >conftest.make <<\_ACEOF
|
3957 | |
SHELL = /bin/sh
|
3958 | |
all:
|
3959 | |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
3960 | |
_ACEOF
|
3961 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
3962 | |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
3963 | |
*@@@%%%=?*=@@@%%%*)
|
3964 | |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
3965 | |
*)
|
3966 | |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
3967 | |
esac
|
3968 | |
rm -f conftest.make
|
3969 | |
fi
|
3970 | |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
3971 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
3972 | |
echo "${ECHO_T}yes" >&6; }
|
3973 | |
SET_MAKE=
|
3974 | |
else
|
3975 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
3976 | |
echo "${ECHO_T}no" >&6; }
|
3977 | |
SET_MAKE="MAKE=${MAKE-make}"
|
3978 | |
fi
|
3979 | |
|
3980 | |
rm -rf .tst 2>/dev/null
|
3981 | |
mkdir .tst 2>/dev/null
|
3982 | |
if test -d .tst; then
|
3983 | |
am__leading_dot=.
|
3984 | |
else
|
3985 | |
am__leading_dot=_
|
3986 | |
fi
|
3987 | |
rmdir .tst 2>/dev/null
|
3988 | |
|
3989 | |
DEPDIR="${am__leading_dot}deps"
|
3990 | |
|
3991 | |
ac_config_commands="$ac_config_commands depfiles"
|
3992 | |
|
3993 | |
|
3994 | |
am_make=${MAKE-make}
|
3995 | |
cat > confinc << 'END'
|
3996 | |
am__doit:
|
3997 | |
@echo done
|
3998 | |
.PHONY: am__doit
|
3999 | |
END
|
4000 | |
# If we don't find an include directive, just comment out the code.
|
4001 | |
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
4002 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
|
4003 | |
am__include="#"
|
4004 | |
am__quote=
|
4005 | |
_am_result=none
|
4006 | |
# First try GNU make style include.
|
4007 | |
echo "include confinc" > confmf
|
4008 | |
# We grep out `Entering directory' and `Leaving directory'
|
4009 | |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
4010 | |
# In particular we don't look at `^make:' because GNU make might
|
4011 | |
# be invoked under some other name (usually "gmake"), in which
|
4012 | |
# case it prints its new name instead of `make'.
|
4013 | |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
4014 | |
am__include=include
|
4015 | |
am__quote=
|
4016 | |
_am_result=GNU
|
4017 | |
fi
|
4018 | |
# Now try BSD make style include.
|
4019 | |
if test "$am__include" = "#"; then
|
4020 | |
echo '.include "confinc"' > confmf
|
4021 | |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
4022 | |
am__include=.include
|
4023 | |
am__quote="\""
|
4024 | |
_am_result=BSD
|
4025 | |
fi
|
4026 | |
fi
|
4027 | |
|
4028 | |
|
4029 | |
{ echo "$as_me:$LINENO: result: $_am_result" >&5
|
4030 | |
echo "${ECHO_T}$_am_result" >&6; }
|
4031 | |
rm -f confinc confmf
|
4032 | |
|
4033 | |
# Check whether --enable-dependency-tracking was given.
|
4034 | |
if test "${enable_dependency_tracking+set}" = set; then
|
4035 | |
enableval=$enable_dependency_tracking;
|
4036 | |
fi
|
4037 | |
|
4038 | |
if test "x$enable_dependency_tracking" != xno; then
|
4039 | |
am_depcomp="$ac_aux_dir/depcomp"
|
4040 | |
AMDEPBACKSLASH='\'
|
4041 | |
fi
|
4042 | |
|
4043 | |
|
4044 | |
if test "x$enable_dependency_tracking" != xno; then
|
4045 | |
AMDEP_TRUE=
|
4046 | |
AMDEP_FALSE='#'
|
4047 | |
else
|
4048 | |
AMDEP_TRUE='#'
|
4049 | |
AMDEP_FALSE=
|
4050 | |
fi
|
4051 | |
|
4052 | |
|
4053 | |
|
4054 | |
# test to see if srcdir already configured
|
4055 | |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
4056 | |
test -f $srcdir/config.status; then
|
4057 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
4058 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
4059 | |
{ (exit 1); exit 1; }; }
|
4060 | |
fi
|
4061 | |
|
4062 | |
# test whether we have cygpath
|
4063 | |
if test -z "$CYGPATH_W"; then
|
4064 | |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
4065 | |
CYGPATH_W='cygpath -w'
|
4066 | |
else
|
4067 | |
CYGPATH_W=echo
|
4068 | |
fi
|
4069 | |
fi
|
4070 | |
|
4071 | |
|
4072 | |
# Define the identity of the package.
|
4073 | |
PACKAGE=barrage
|
4074 | |
VERSION=1.0.4
|
4075 | |
|
4076 | |
|
4077 | |
cat >>confdefs.h <<_ACEOF
|
4078 | |
#define PACKAGE "$PACKAGE"
|
4079 | |
_ACEOF
|
4080 | |
|
4081 | |
|
4082 | |
cat >>confdefs.h <<_ACEOF
|
4083 | |
#define VERSION "$VERSION"
|
4084 | |
_ACEOF
|
4085 | |
|
4086 | |
# Some tools Automake needs.
|
4087 | |
|
4088 | |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
4089 | |
|
4090 | |
|
4091 | |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
4092 | |
|
4093 | |
|
4094 | |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
4095 | |
|
4096 | |
|
4097 | |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
4098 | |
|
4099 | |
|
4100 | |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
4101 | |
|
4102 | |
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
4103 | |
|
4104 | |
# Installed binaries are usually stripped using `strip' when the user
|
4105 | |
# run `make install-strip'. However `strip' might not be the right
|
4106 | |
# tool to use in cross-compilation environments, therefore Automake
|
4107 | |
# will honor the `STRIP' environment variable to overrule this program.
|
4108 | |
if test "$cross_compiling" != no; then
|
4109 | |
if test -n "$ac_tool_prefix"; then
|
4110 | |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
4111 | |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
4112 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4113 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4114 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
4115 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4116 | |
else
|
4117 | |
if test -n "$STRIP"; then
|
4118 | |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
4119 | |
else
|
4120 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4121 | |
for as_dir in $PATH
|
4122 | |
do
|
4123 | |
IFS=$as_save_IFS
|
4124 | |
test -z "$as_dir" && as_dir=.
|
4125 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4126 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4127 | |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
4128 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4129 | |
break 2
|
4130 | |
fi
|
4131 | |
done
|
4132 | |
done
|
4133 | |
IFS=$as_save_IFS
|
4134 | |
|
4135 | |
fi
|
4136 | |
fi
|
4137 | |
STRIP=$ac_cv_prog_STRIP
|
4138 | |
if test -n "$STRIP"; then
|
4139 | |
{ echo "$as_me:$LINENO: result: $STRIP" >&5
|
4140 | |
echo "${ECHO_T}$STRIP" >&6; }
|
4141 | |
else
|
4142 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4143 | |
echo "${ECHO_T}no" >&6; }
|
4144 | |
fi
|
4145 | |
|
4146 | |
|
4147 | |
fi
|
4148 | |
if test -z "$ac_cv_prog_STRIP"; then
|
4149 | |
ac_ct_STRIP=$STRIP
|
4150 | |
# Extract the first word of "strip", so it can be a program name with args.
|
4151 | |
set dummy strip; ac_word=$2
|
4152 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4153 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4154 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
4155 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4156 | |
else
|
4157 | |
if test -n "$ac_ct_STRIP"; then
|
4158 | |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
4159 | |
else
|
4160 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4161 | |
for as_dir in $PATH
|
4162 | |
do
|
4163 | |
IFS=$as_save_IFS
|
4164 | |
test -z "$as_dir" && as_dir=.
|
4165 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4166 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4167 | |
ac_cv_prog_ac_ct_STRIP="strip"
|
4168 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4169 | |
break 2
|
4170 | |
fi
|
4171 | |
done
|
4172 | |
done
|
4173 | |
IFS=$as_save_IFS
|
4174 | |
|
4175 | |
fi
|
4176 | |
fi
|
4177 | |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
4178 | |
if test -n "$ac_ct_STRIP"; then
|
4179 | |
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
4180 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
|
4181 | |
else
|
4182 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4183 | |
echo "${ECHO_T}no" >&6; }
|
4184 | |
fi
|
4185 | |
|
4186 | |
if test "x$ac_ct_STRIP" = x; then
|
4187 | |
STRIP=":"
|
4188 | |
else
|
4189 | |
case $cross_compiling:$ac_tool_warned in
|
4190 | |
yes:)
|
4191 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
4192 | |
whose name does not start with the host triplet. If you think this
|
4193 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
4194 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
4195 | |
whose name does not start with the host triplet. If you think this
|
4196 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
4197 | |
ac_tool_warned=yes ;;
|
4198 | |
esac
|
4199 | |
STRIP=$ac_ct_STRIP
|
4200 | |
fi
|
4201 | |
else
|
4202 | |
STRIP="$ac_cv_prog_STRIP"
|
4203 | |
fi
|
4204 | |
|
4205 | |
fi
|
4206 | |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
4207 | |
|
4208 | |
# We need awk for the "check" target. The system "awk" is bad on
|
4209 | |
# some platforms.
|
4210 | |
# Always define AMTAR for backward compatibility.
|
4211 | |
|
4212 | |
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
4213 | |
|
4214 | |
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
4215 | |
|
4216 | |
|
4217 | |
|
4218 | |
|
4219 | 3875 |
depcc="$CC" am_compiler_list=
|
4220 | 3876 |
|
4221 | |
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
4222 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
|
4223 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
4224 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
3878 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
3879 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
|
3880 |
$as_echo_n "(cached) " >&6
|
4225 | 3881 |
else
|
4226 | 3882 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4227 | 3883 |
# We make a subdir and do the tests there. Otherwise we can end up
|
4228 | 3884 |
# making bogus files that we don't know about and never remove. For
|
4229 | 3885 |
# instance it was reported that on HP-UX the gcc test will end up
|
4230 | |
# making a dummy file named `D' -- because `-MD' means `put the output
|
4231 | |
# in D'.
|
|
3886 |
# making a dummy file named 'D' -- because '-MD' means "put the output
|
|
3887 |
# in D".
|
|
3888 |
rm -rf conftest.dir
|
4232 | 3889 |
mkdir conftest.dir
|
4233 | 3890 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
4234 | 3891 |
# using a relative directory.
|
|
4246 | 3903 |
if test "$am_compiler_list" = ""; then
|
4247 | 3904 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
4248 | 3905 |
fi
|
|
3906 |
am__universal=false
|
|
3907 |
case " $depcc " in #(
|
|
3908 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3909 |
esac
|
|
3910 |
|
4249 | 3911 |
for depmode in $am_compiler_list; do
|
4250 | 3912 |
# Setup a source with many dependencies, because some compilers
|
4251 | 3913 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
4257 | 3919 |
: > sub/conftest.c
|
4258 | 3920 |
for i in 1 2 3 4 5 6; do
|
4259 | 3921 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
4260 | |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
4261 | |
# Solaris 8's {/usr,}/bin/sh.
|
4262 | |
touch sub/conftst$i.h
|
|
3922 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
3923 |
# Solaris 10 /bin/sh.
|
|
3924 |
echo '/* dummy */' > sub/conftst$i.h
|
4263 | 3925 |
done
|
4264 | 3926 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
4265 | 3927 |
|
|
3928 |
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
3929 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3930 |
# handle '-M -o', and we need to detect this. Also, some Intel
|
|
3931 |
# versions had trouble with output in subdirs.
|
|
3932 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
3933 |
am__minus_obj="-o $am__obj"
|
4266 | 3934 |
case $depmode in
|
|
3935 |
gcc)
|
|
3936 |
# This depmode causes a compiler race in universal mode.
|
|
3937 |
test "$am__universal" = false || continue
|
|
3938 |
;;
|
4267 | 3939 |
nosideeffect)
|
4268 | |
# after this tag, mechanisms are not by side-effect, so they'll
|
4269 | |
# only be used when explicitly requested
|
|
3940 |
# After this tag, mechanisms are not by side-effect, so they'll
|
|
3941 |
# only be used when explicitly requested.
|
4270 | 3942 |
if test "x$enable_dependency_tracking" = xyes; then
|
4271 | 3943 |
continue
|
4272 | 3944 |
else
|
4273 | 3945 |
break
|
4274 | 3946 |
fi
|
4275 | 3947 |
;;
|
|
3948 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
3949 |
# This compiler won't grok '-c -o', but also, the minuso test has
|
|
3950 |
# not run yet. These depmodes are late enough in the game, and
|
|
3951 |
# so weak that their functioning should not be impacted.
|
|
3952 |
am__obj=conftest.${OBJEXT-o}
|
|
3953 |
am__minus_obj=
|
|
3954 |
;;
|
4276 | 3955 |
none) break ;;
|
4277 | 3956 |
esac
|
4278 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
4279 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
4280 | |
# handle `-M -o', and we need to detect this.
|
4281 | 3957 |
if depmode=$depmode \
|
4282 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3958 |
source=sub/conftest.c object=$am__obj \
|
4283 | 3959 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
4284 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3960 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
4285 | 3961 |
>/dev/null 2>conftest.err &&
|
|
3962 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
4286 | 3963 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
4287 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3964 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
4288 | 3965 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
4289 | 3966 |
# icc doesn't choke on unknown options, it will just issue warnings
|
4290 | 3967 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
4308 | 3985 |
fi
|
4309 | 3986 |
|
4310 | 3987 |
fi
|
4311 | |
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4312 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
3988 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3989 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4313 | 3990 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4314 | 3991 |
|
4315 | |
|
4316 | |
|
4317 | |
if
|
|
3992 |
if
|
4318 | 3993 |
test "x$enable_dependency_tracking" != xno \
|
4319 | 3994 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
4320 | 3995 |
am__fastdepCC_TRUE=
|
|
4326 | 4001 |
|
4327 | 4002 |
|
4328 | 4003 |
|
4329 | |
|
|
4004 |
ac_ext=c
|
|
4005 |
ac_cpp='$CPP $CPPFLAGS'
|
|
4006 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4007 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4008 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4009 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
|
4010 |
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
|
4011 |
# On Suns, sometimes $CPP names a directory.
|
|
4012 |
if test -n "$CPP" && test -d "$CPP"; then
|
|
4013 |
CPP=
|
|
4014 |
fi
|
|
4015 |
if test -z "$CPP"; then
|
|
4016 |
if ${ac_cv_prog_CPP+:} false; then :
|
|
4017 |
$as_echo_n "(cached) " >&6
|
|
4018 |
else
|
|
4019 |
# Double quotes because CPP needs to be expanded
|
|
4020 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
|
4021 |
do
|
|
4022 |
ac_preproc_ok=false
|
|
4023 |
for ac_c_preproc_warn_flag in '' yes
|
|
4024 |
do
|
|
4025 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4026 |
# with a fresh cross-compiler works.
|
|
4027 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4028 |
# <limits.h> exists even on freestanding compilers.
|
|
4029 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4030 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
4031 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4032 |
/* end confdefs.h. */
|
|
4033 |
#ifdef __STDC__
|
|
4034 |
# include <limits.h>
|
|
4035 |
#else
|
|
4036 |
# include <assert.h>
|
|
4037 |
#endif
|
|
4038 |
Syntax error
|
|
4039 |
_ACEOF
|
|
4040 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4041 |
|
|
4042 |
else
|
|
4043 |
# Broken: fails on valid input.
|
|
4044 |
continue
|
|
4045 |
fi
|
|
4046 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
4047 |
|
|
4048 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4049 |
# can be detected and how.
|
|
4050 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4051 |
/* end confdefs.h. */
|
|
4052 |
#include <ac_nonexistent.h>
|
|
4053 |
_ACEOF
|
|
4054 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4055 |
# Broken: success on invalid input.
|
|
4056 |
continue
|
|
4057 |
else
|
|
4058 |
# Passes both tests.
|
|
4059 |
ac_preproc_ok=:
|
|
4060 |
break
|
|
4061 |
fi
|
|
4062 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
4063 |
|
|
4064 |
done
|
|
4065 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
4066 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
4067 |
if $ac_preproc_ok; then :
|
|
4068 |
break
|
|
4069 |
fi
|
|
4070 |
|
|
4071 |
done
|
|
4072 |
ac_cv_prog_CPP=$CPP
|
|
4073 |
|
|
4074 |
fi
|
|
4075 |
CPP=$ac_cv_prog_CPP
|
|
4076 |
else
|
|
4077 |
ac_cv_prog_CPP=$CPP
|
|
4078 |
fi
|
|
4079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
|
4080 |
$as_echo "$CPP" >&6; }
|
|
4081 |
ac_preproc_ok=false
|
|
4082 |
for ac_c_preproc_warn_flag in '' yes
|
|
4083 |
do
|
|
4084 |
# Use a header file that comes with gcc, so configuring glibc
|
|
4085 |
# with a fresh cross-compiler works.
|
|
4086 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
4087 |
# <limits.h> exists even on freestanding compilers.
|
|
4088 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
4089 |
# not just through cpp. "Syntax error" is here to catch this case.
|
|
4090 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4091 |
/* end confdefs.h. */
|
|
4092 |
#ifdef __STDC__
|
|
4093 |
# include <limits.h>
|
|
4094 |
#else
|
|
4095 |
# include <assert.h>
|
|
4096 |
#endif
|
|
4097 |
Syntax error
|
|
4098 |
_ACEOF
|
|
4099 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4100 |
|
|
4101 |
else
|
|
4102 |
# Broken: fails on valid input.
|
|
4103 |
continue
|
|
4104 |
fi
|
|
4105 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
4106 |
|
|
4107 |
# OK, works on sane cases. Now check whether nonexistent headers
|
|
4108 |
# can be detected and how.
|
|
4109 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4110 |
/* end confdefs.h. */
|
|
4111 |
#include <ac_nonexistent.h>
|
|
4112 |
_ACEOF
|
|
4113 |
if ac_fn_c_try_cpp "$LINENO"; then :
|
|
4114 |
# Broken: success on invalid input.
|
|
4115 |
continue
|
|
4116 |
else
|
|
4117 |
# Passes both tests.
|
|
4118 |
ac_preproc_ok=:
|
|
4119 |
break
|
|
4120 |
fi
|
|
4121 |
rm -f conftest.err conftest.i conftest.$ac_ext
|
|
4122 |
|
|
4123 |
done
|
|
4124 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
|
4125 |
rm -f conftest.i conftest.err conftest.$ac_ext
|
|
4126 |
if $ac_preproc_ok; then :
|
|
4127 |
|
|
4128 |
else
|
|
4129 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4130 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4131 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
|
|
4132 |
See \`config.log' for more details" "$LINENO" 5; }
|
|
4133 |
fi
|
|
4134 |
|
|
4135 |
ac_ext=c
|
|
4136 |
ac_cpp='$CPP $CPPFLAGS'
|
|
4137 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4138 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
4139 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
4140 |
|
|
4141 |
|
|
4142 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
|
4143 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
|
4144 |
if ${ac_cv_path_GREP+:} false; then :
|
|
4145 |
$as_echo_n "(cached) " >&6
|
|
4146 |
else
|
|
4147 |
if test -z "$GREP"; then
|
|
4148 |
ac_path_GREP_found=false
|
|
4149 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4150 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4151 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
4152 |
do
|
|
4153 |
IFS=$as_save_IFS
|
|
4154 |
test -z "$as_dir" && as_dir=.
|
|
4155 |
for ac_prog in grep ggrep; do
|
|
4156 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4157 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4158 |
as_fn_executable_p "$ac_path_GREP" || continue
|
|
4159 |
# Check for GNU ac_path_GREP and select it if it is found.
|
|
4160 |
# Check for GNU $ac_path_GREP
|
|
4161 |
case `"$ac_path_GREP" --version 2>&1` in
|
|
4162 |
*GNU*)
|
|
4163 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
|
4164 |
*)
|
|
4165 |
ac_count=0
|
|
4166 |
$as_echo_n 0123456789 >"conftest.in"
|
|
4167 |
while :
|
|
4168 |
do
|
|
4169 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
4170 |
mv "conftest.tmp" "conftest.in"
|
|
4171 |
cp "conftest.in" "conftest.nl"
|
|
4172 |
$as_echo 'GREP' >> "conftest.nl"
|
|
4173 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
4174 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
4175 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4176 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
|
4177 |
# Best one so far, save it but keep looking for a better one
|
|
4178 |
ac_cv_path_GREP="$ac_path_GREP"
|
|
4179 |
ac_path_GREP_max=$ac_count
|
|
4180 |
fi
|
|
4181 |
# 10*(2^10) chars as input seems more than enough
|
|
4182 |
test $ac_count -gt 10 && break
|
|
4183 |
done
|
|
4184 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4185 |
esac
|
|
4186 |
|
|
4187 |
$ac_path_GREP_found && break 3
|
|
4188 |
done
|
|
4189 |
done
|
|
4190 |
done
|
|
4191 |
IFS=$as_save_IFS
|
|
4192 |
if test -z "$ac_cv_path_GREP"; then
|
|
4193 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4194 |
fi
|
|
4195 |
else
|
|
4196 |
ac_cv_path_GREP=$GREP
|
|
4197 |
fi
|
|
4198 |
|
|
4199 |
fi
|
|
4200 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
|
4201 |
$as_echo "$ac_cv_path_GREP" >&6; }
|
|
4202 |
GREP="$ac_cv_path_GREP"
|
|
4203 |
|
|
4204 |
|
|
4205 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
|
4206 |
$as_echo_n "checking for egrep... " >&6; }
|
|
4207 |
if ${ac_cv_path_EGREP+:} false; then :
|
|
4208 |
$as_echo_n "(cached) " >&6
|
|
4209 |
else
|
|
4210 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
|
4211 |
then ac_cv_path_EGREP="$GREP -E"
|
|
4212 |
else
|
|
4213 |
if test -z "$EGREP"; then
|
|
4214 |
ac_path_EGREP_found=false
|
|
4215 |
# Loop through the user's path and test for each of PROGNAME-LIST
|
|
4216 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
4217 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
|
4218 |
do
|
|
4219 |
IFS=$as_save_IFS
|
|
4220 |
test -z "$as_dir" && as_dir=.
|
|
4221 |
for ac_prog in egrep; do
|
|
4222 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4223 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
|
4224 |
as_fn_executable_p "$ac_path_EGREP" || continue
|
|
4225 |
# Check for GNU ac_path_EGREP and select it if it is found.
|
|
4226 |
# Check for GNU $ac_path_EGREP
|
|
4227 |
case `"$ac_path_EGREP" --version 2>&1` in
|
|
4228 |
*GNU*)
|
|
4229 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
|
4230 |
*)
|
|
4231 |
ac_count=0
|
|
4232 |
$as_echo_n 0123456789 >"conftest.in"
|
|
4233 |
while :
|
|
4234 |
do
|
|
4235 |
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
|
4236 |
mv "conftest.tmp" "conftest.in"
|
|
4237 |
cp "conftest.in" "conftest.nl"
|
|
4238 |
$as_echo 'EGREP' >> "conftest.nl"
|
|
4239 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
|
4240 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
|
4241 |
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
|
4242 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
|
4243 |
# Best one so far, save it but keep looking for a better one
|
|
4244 |
ac_cv_path_EGREP="$ac_path_EGREP"
|
|
4245 |
ac_path_EGREP_max=$ac_count
|
|
4246 |
fi
|
|
4247 |
# 10*(2^10) chars as input seems more than enough
|
|
4248 |
test $ac_count -gt 10 && break
|
|
4249 |
done
|
|
4250 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
|
4251 |
esac
|
|
4252 |
|
|
4253 |
$ac_path_EGREP_found && break 3
|
|
4254 |
done
|
|
4255 |
done
|
|
4256 |
done
|
|
4257 |
IFS=$as_save_IFS
|
|
4258 |
if test -z "$ac_cv_path_EGREP"; then
|
|
4259 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
|
4260 |
fi
|
|
4261 |
else
|
|
4262 |
ac_cv_path_EGREP=$EGREP
|
|
4263 |
fi
|
|
4264 |
|
|
4265 |
fi
|
|
4266 |
fi
|
|
4267 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
|
4268 |
$as_echo "$ac_cv_path_EGREP" >&6; }
|
|
4269 |
EGREP="$ac_cv_path_EGREP"
|
|
4270 |
|
|
4271 |
|
|
4272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
|
4273 |
$as_echo_n "checking for ANSI C header files... " >&6; }
|
|
4274 |
if ${ac_cv_header_stdc+:} false; then :
|
|
4275 |
$as_echo_n "(cached) " >&6
|
|
4276 |
else
|
|
4277 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4278 |
/* end confdefs.h. */
|
|
4279 |
#include <stdlib.h>
|
|
4280 |
#include <stdarg.h>
|
|
4281 |
#include <string.h>
|
|
4282 |
#include <float.h>
|
|
4283 |
|
|
4284 |
int
|
|
4285 |
main ()
|
|
4286 |
{
|
|
4287 |
|
|
4288 |
;
|
|
4289 |
return 0;
|
|
4290 |
}
|
|
4291 |
_ACEOF
|
|
4292 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4293 |
ac_cv_header_stdc=yes
|
|
4294 |
else
|
|
4295 |
ac_cv_header_stdc=no
|
|
4296 |
fi
|
|
4297 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4298 |
|
|
4299 |
if test $ac_cv_header_stdc = yes; then
|
|
4300 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
4301 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4302 |
/* end confdefs.h. */
|
|
4303 |
#include <string.h>
|
|
4304 |
|
|
4305 |
_ACEOF
|
|
4306 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
4307 |
$EGREP "memchr" >/dev/null 2>&1; then :
|
|
4308 |
|
|
4309 |
else
|
|
4310 |
ac_cv_header_stdc=no
|
|
4311 |
fi
|
|
4312 |
rm -f conftest*
|
|
4313 |
|
|
4314 |
fi
|
|
4315 |
|
|
4316 |
if test $ac_cv_header_stdc = yes; then
|
|
4317 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
4318 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4319 |
/* end confdefs.h. */
|
|
4320 |
#include <stdlib.h>
|
|
4321 |
|
|
4322 |
_ACEOF
|
|
4323 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
4324 |
$EGREP "free" >/dev/null 2>&1; then :
|
|
4325 |
|
|
4326 |
else
|
|
4327 |
ac_cv_header_stdc=no
|
|
4328 |
fi
|
|
4329 |
rm -f conftest*
|
|
4330 |
|
|
4331 |
fi
|
|
4332 |
|
|
4333 |
if test $ac_cv_header_stdc = yes; then
|
|
4334 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
4335 |
if test "$cross_compiling" = yes; then :
|
|
4336 |
:
|
|
4337 |
else
|
|
4338 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4339 |
/* end confdefs.h. */
|
|
4340 |
#include <ctype.h>
|
|
4341 |
#include <stdlib.h>
|
|
4342 |
#if ((' ' & 0x0FF) == 0x020)
|
|
4343 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
4344 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
4345 |
#else
|
|
4346 |
# define ISLOWER(c) \
|
|
4347 |
(('a' <= (c) && (c) <= 'i') \
|
|
4348 |
|| ('j' <= (c) && (c) <= 'r') \
|
|
4349 |
|| ('s' <= (c) && (c) <= 'z'))
|
|
4350 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
|
4351 |
#endif
|
|
4352 |
|
|
4353 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
4354 |
int
|
|
4355 |
main ()
|
|
4356 |
{
|
|
4357 |
int i;
|
|
4358 |
for (i = 0; i < 256; i++)
|
|
4359 |
if (XOR (islower (i), ISLOWER (i))
|
|
4360 |
|| toupper (i) != TOUPPER (i))
|
|
4361 |
return 2;
|
|
4362 |
return 0;
|
|
4363 |
}
|
|
4364 |
_ACEOF
|
|
4365 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
4366 |
|
|
4367 |
else
|
|
4368 |
ac_cv_header_stdc=no
|
|
4369 |
fi
|
|
4370 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
4371 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
4372 |
fi
|
|
4373 |
|
|
4374 |
fi
|
|
4375 |
fi
|
|
4376 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
|
4377 |
$as_echo "$ac_cv_header_stdc" >&6; }
|
|
4378 |
if test $ac_cv_header_stdc = yes; then
|
|
4379 |
|
|
4380 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
|
4381 |
|
|
4382 |
fi
|
|
4383 |
|
|
4384 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
|
4385 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
|
4386 |
inttypes.h stdint.h unistd.h
|
|
4387 |
do :
|
|
4388 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
4389 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
|
4390 |
"
|
|
4391 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|
4392 |
cat >>confdefs.h <<_ACEOF
|
|
4393 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
4394 |
_ACEOF
|
|
4395 |
|
|
4396 |
fi
|
|
4397 |
|
|
4398 |
done
|
|
4399 |
|
|
4400 |
|
|
4401 |
|
|
4402 |
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
|
4403 |
if test "x$ac_cv_header_minix_config_h" = xyes; then :
|
|
4404 |
MINIX=yes
|
|
4405 |
else
|
|
4406 |
MINIX=
|
|
4407 |
fi
|
|
4408 |
|
|
4409 |
|
|
4410 |
if test "$MINIX" = yes; then
|
|
4411 |
|
|
4412 |
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
|
4413 |
|
|
4414 |
|
|
4415 |
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
|
4416 |
|
|
4417 |
|
|
4418 |
$as_echo "#define _MINIX 1" >>confdefs.h
|
|
4419 |
|
|
4420 |
fi
|
|
4421 |
|
|
4422 |
|
|
4423 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
|
4424 |
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
|
4425 |
if ${ac_cv_safe_to_define___extensions__+:} false; then :
|
|
4426 |
$as_echo_n "(cached) " >&6
|
|
4427 |
else
|
|
4428 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
4429 |
/* end confdefs.h. */
|
|
4430 |
|
|
4431 |
# define __EXTENSIONS__ 1
|
|
4432 |
$ac_includes_default
|
|
4433 |
int
|
|
4434 |
main ()
|
|
4435 |
{
|
|
4436 |
|
|
4437 |
;
|
|
4438 |
return 0;
|
|
4439 |
}
|
|
4440 |
_ACEOF
|
|
4441 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4442 |
ac_cv_safe_to_define___extensions__=yes
|
|
4443 |
else
|
|
4444 |
ac_cv_safe_to_define___extensions__=no
|
|
4445 |
fi
|
|
4446 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
4447 |
fi
|
|
4448 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
|
4449 |
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
|
4450 |
test $ac_cv_safe_to_define___extensions__ = yes &&
|
|
4451 |
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
|
4452 |
|
|
4453 |
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
|
4454 |
|
|
4455 |
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
|
4456 |
|
|
4457 |
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
|
4458 |
|
|
4459 |
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
|
4460 |
|
|
4461 |
|
|
4462 |
|
|
4463 |
# Checks for programs.
|
4330 | 4464 |
ac_ext=c
|
4331 | 4465 |
ac_cpp='$CPP $CPPFLAGS'
|
4332 | 4466 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
4335 | 4469 |
if test -n "$ac_tool_prefix"; then
|
4336 | 4470 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
4337 | 4471 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
4338 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4339 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4340 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
4341 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4472 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4473 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4474 |
if ${ac_cv_prog_CC+:} false; then :
|
|
4475 |
$as_echo_n "(cached) " >&6
|
4342 | 4476 |
else
|
4343 | 4477 |
if test -n "$CC"; then
|
4344 | 4478 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4348 | 4482 |
do
|
4349 | 4483 |
IFS=$as_save_IFS
|
4350 | 4484 |
test -z "$as_dir" && as_dir=.
|
4351 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4352 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4485 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4486 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4353 | 4487 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
4354 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4488 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4355 | 4489 |
break 2
|
4356 | 4490 |
fi
|
4357 | 4491 |
done
|
4358 | |
done
|
|
4492 |
done
|
4359 | 4493 |
IFS=$as_save_IFS
|
4360 | 4494 |
|
4361 | 4495 |
fi
|
4362 | 4496 |
fi
|
4363 | 4497 |
CC=$ac_cv_prog_CC
|
4364 | 4498 |
if test -n "$CC"; then
|
4365 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
4366 | |
echo "${ECHO_T}$CC" >&6; }
|
4367 | |
else
|
4368 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4369 | |
echo "${ECHO_T}no" >&6; }
|
|
4499 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4500 |
$as_echo "$CC" >&6; }
|
|
4501 |
else
|
|
4502 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4503 |
$as_echo "no" >&6; }
|
4370 | 4504 |
fi
|
4371 | 4505 |
|
4372 | 4506 |
|
|
4375 | 4509 |
ac_ct_CC=$CC
|
4376 | 4510 |
# Extract the first word of "gcc", so it can be a program name with args.
|
4377 | 4511 |
set dummy gcc; ac_word=$2
|
4378 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4379 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4380 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
4381 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4512 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4513 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4514 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
4515 |
$as_echo_n "(cached) " >&6
|
4382 | 4516 |
else
|
4383 | 4517 |
if test -n "$ac_ct_CC"; then
|
4384 | 4518 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4388 | 4522 |
do
|
4389 | 4523 |
IFS=$as_save_IFS
|
4390 | 4524 |
test -z "$as_dir" && as_dir=.
|
4391 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4392 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4525 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4526 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4393 | 4527 |
ac_cv_prog_ac_ct_CC="gcc"
|
4394 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4528 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4395 | 4529 |
break 2
|
4396 | 4530 |
fi
|
4397 | 4531 |
done
|
4398 | |
done
|
|
4532 |
done
|
4399 | 4533 |
IFS=$as_save_IFS
|
4400 | 4534 |
|
4401 | 4535 |
fi
|
4402 | 4536 |
fi
|
4403 | 4537 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
4404 | 4538 |
if test -n "$ac_ct_CC"; then
|
4405 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
4406 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
4407 | |
else
|
4408 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4409 | |
echo "${ECHO_T}no" >&6; }
|
|
4539 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4540 |
$as_echo "$ac_ct_CC" >&6; }
|
|
4541 |
else
|
|
4542 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4543 |
$as_echo "no" >&6; }
|
4410 | 4544 |
fi
|
4411 | 4545 |
|
4412 | 4546 |
if test "x$ac_ct_CC" = x; then
|
|
4414 | 4548 |
else
|
4415 | 4549 |
case $cross_compiling:$ac_tool_warned in
|
4416 | 4550 |
yes:)
|
4417 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
4418 | |
whose name does not start with the host triplet. If you think this
|
4419 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
4420 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
4421 | |
whose name does not start with the host triplet. If you think this
|
4422 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
4551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4552 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4423 | 4553 |
ac_tool_warned=yes ;;
|
4424 | 4554 |
esac
|
4425 | 4555 |
CC=$ac_ct_CC
|
|
4432 | 4562 |
if test -n "$ac_tool_prefix"; then
|
4433 | 4563 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
4434 | 4564 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
4435 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4436 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4437 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
4438 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4565 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4566 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4567 |
if ${ac_cv_prog_CC+:} false; then :
|
|
4568 |
$as_echo_n "(cached) " >&6
|
4439 | 4569 |
else
|
4440 | 4570 |
if test -n "$CC"; then
|
4441 | 4571 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4445 | 4575 |
do
|
4446 | 4576 |
IFS=$as_save_IFS
|
4447 | 4577 |
test -z "$as_dir" && as_dir=.
|
4448 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4449 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4578 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4579 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4450 | 4580 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
4451 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4581 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4452 | 4582 |
break 2
|
4453 | 4583 |
fi
|
4454 | 4584 |
done
|
4455 | |
done
|
|
4585 |
done
|
4456 | 4586 |
IFS=$as_save_IFS
|
4457 | 4587 |
|
4458 | 4588 |
fi
|
4459 | 4589 |
fi
|
4460 | 4590 |
CC=$ac_cv_prog_CC
|
4461 | 4591 |
if test -n "$CC"; then
|
4462 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
4463 | |
echo "${ECHO_T}$CC" >&6; }
|
4464 | |
else
|
4465 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4466 | |
echo "${ECHO_T}no" >&6; }
|
|
4592 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4593 |
$as_echo "$CC" >&6; }
|
|
4594 |
else
|
|
4595 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4596 |
$as_echo "no" >&6; }
|
4467 | 4597 |
fi
|
4468 | 4598 |
|
4469 | 4599 |
|
|
4472 | 4602 |
if test -z "$CC"; then
|
4473 | 4603 |
# Extract the first word of "cc", so it can be a program name with args.
|
4474 | 4604 |
set dummy cc; ac_word=$2
|
4475 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4476 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4477 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
4478 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4605 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4606 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4607 |
if ${ac_cv_prog_CC+:} false; then :
|
|
4608 |
$as_echo_n "(cached) " >&6
|
4479 | 4609 |
else
|
4480 | 4610 |
if test -n "$CC"; then
|
4481 | 4611 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4486 | 4616 |
do
|
4487 | 4617 |
IFS=$as_save_IFS
|
4488 | 4618 |
test -z "$as_dir" && as_dir=.
|
4489 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4490 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4619 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4620 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4491 | 4621 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
4492 | 4622 |
ac_prog_rejected=yes
|
4493 | 4623 |
continue
|
4494 | 4624 |
fi
|
4495 | 4625 |
ac_cv_prog_CC="cc"
|
4496 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4626 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4497 | 4627 |
break 2
|
4498 | 4628 |
fi
|
4499 | 4629 |
done
|
4500 | |
done
|
|
4630 |
done
|
4501 | 4631 |
IFS=$as_save_IFS
|
4502 | 4632 |
|
4503 | 4633 |
if test $ac_prog_rejected = yes; then
|
|
4516 | 4646 |
fi
|
4517 | 4647 |
CC=$ac_cv_prog_CC
|
4518 | 4648 |
if test -n "$CC"; then
|
4519 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
4520 | |
echo "${ECHO_T}$CC" >&6; }
|
4521 | |
else
|
4522 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4523 | |
echo "${ECHO_T}no" >&6; }
|
|
4649 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4650 |
$as_echo "$CC" >&6; }
|
|
4651 |
else
|
|
4652 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4653 |
$as_echo "no" >&6; }
|
4524 | 4654 |
fi
|
4525 | 4655 |
|
4526 | 4656 |
|
|
4531 | 4661 |
do
|
4532 | 4662 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4533 | 4663 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4534 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4535 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4536 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
4537 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4664 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4665 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4666 |
if ${ac_cv_prog_CC+:} false; then :
|
|
4667 |
$as_echo_n "(cached) " >&6
|
4538 | 4668 |
else
|
4539 | 4669 |
if test -n "$CC"; then
|
4540 | 4670 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
4544 | 4674 |
do
|
4545 | 4675 |
IFS=$as_save_IFS
|
4546 | 4676 |
test -z "$as_dir" && as_dir=.
|
4547 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4548 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4677 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4678 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4549 | 4679 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
4550 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4680 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4551 | 4681 |
break 2
|
4552 | 4682 |
fi
|
4553 | 4683 |
done
|
4554 | |
done
|
|
4684 |
done
|
4555 | 4685 |
IFS=$as_save_IFS
|
4556 | 4686 |
|
4557 | 4687 |
fi
|
4558 | 4688 |
fi
|
4559 | 4689 |
CC=$ac_cv_prog_CC
|
4560 | 4690 |
if test -n "$CC"; then
|
4561 | |
{ echo "$as_me:$LINENO: result: $CC" >&5
|
4562 | |
echo "${ECHO_T}$CC" >&6; }
|
4563 | |
else
|
4564 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4565 | |
echo "${ECHO_T}no" >&6; }
|
|
4691 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
4692 |
$as_echo "$CC" >&6; }
|
|
4693 |
else
|
|
4694 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4695 |
$as_echo "no" >&6; }
|
4566 | 4696 |
fi
|
4567 | 4697 |
|
4568 | 4698 |
|
|
4575 | 4705 |
do
|
4576 | 4706 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4577 | 4707 |
set dummy $ac_prog; ac_word=$2
|
4578 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
4579 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
4580 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
4581 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4708 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
4709 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
4710 |
if ${ac_cv_prog_ac_ct_CC+:} false; then :
|
|
4711 |
$as_echo_n "(cached) " >&6
|
4582 | 4712 |
else
|
4583 | 4713 |
if test -n "$ac_ct_CC"; then
|
4584 | 4714 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
4588 | 4718 |
do
|
4589 | 4719 |
IFS=$as_save_IFS
|
4590 | 4720 |
test -z "$as_dir" && as_dir=.
|
4591 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
4592 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
4721 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
4722 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
4593 | 4723 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
4594 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
4724 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4595 | 4725 |
break 2
|
4596 | 4726 |
fi
|
4597 | 4727 |
done
|
4598 | |
done
|
|
4728 |
done
|
4599 | 4729 |
IFS=$as_save_IFS
|
4600 | 4730 |
|
4601 | 4731 |
fi
|
4602 | 4732 |
fi
|
4603 | 4733 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
4604 | 4734 |
if test -n "$ac_ct_CC"; then
|
4605 | |
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
4606 | |
echo "${ECHO_T}$ac_ct_CC" >&6; }
|
4607 | |
else
|
4608 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
4609 | |
echo "${ECHO_T}no" >&6; }
|
|
4735 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
4736 |
$as_echo "$ac_ct_CC" >&6; }
|
|
4737 |
else
|
|
4738 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
4739 |
$as_echo "no" >&6; }
|
4610 | 4740 |
fi
|
4611 | 4741 |
|
4612 | 4742 |
|
|
4618 | 4748 |
else
|
4619 | 4749 |
case $cross_compiling:$ac_tool_warned in
|
4620 | 4750 |
yes:)
|
4621 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
4622 | |
whose name does not start with the host triplet. If you think this
|
4623 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
4624 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
4625 | |
whose name does not start with the host triplet. If you think this
|
4626 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
4751 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
4752 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4627 | 4753 |
ac_tool_warned=yes ;;
|
4628 | 4754 |
esac
|
4629 | 4755 |
CC=$ac_ct_CC
|
|
4633 | 4759 |
fi
|
4634 | 4760 |
|
4635 | 4761 |
|
4636 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
4637 | |
See \`config.log' for more details." >&5
|
4638 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
4639 | |
See \`config.log' for more details." >&2;}
|
4640 | |
{ (exit 1); exit 1; }; }
|
|
4762 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
4763 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
4764 |
as_fn_error $? "no acceptable C compiler found in \$PATH
|
|
4765 |
See \`config.log' for more details" "$LINENO" 5; }
|
4641 | 4766 |
|
4642 | 4767 |
# Provide some information about the compiler.
|
4643 | |
echo "$as_me:$LINENO: checking for C compiler version" >&5
|
4644 | |
ac_compiler=`set X $ac_compile; echo $2`
|
4645 | |
{ (ac_try="$ac_compiler --version >&5"
|
|
4768 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
4769 |
set X $ac_compile
|
|
4770 |
ac_compiler=$2
|
|
4771 |
for ac_option in --version -v -V -qversion; do
|
|
4772 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
4646 | 4773 |
case "(($ac_try" in
|
4647 | 4774 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4648 | 4775 |
*) ac_try_echo=$ac_try;;
|
4649 | 4776 |
esac
|
4650 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4651 | |
(eval "$ac_compiler --version >&5") 2>&5
|
|
4777 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
4778 |
$as_echo "$ac_try_echo"; } >&5
|
|
4779 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
4652 | 4780 |
ac_status=$?
|
4653 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4654 | |
(exit $ac_status); }
|
4655 | |
{ (ac_try="$ac_compiler -v >&5"
|
4656 | |
case "(($ac_try" in
|
4657 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4658 | |
*) ac_try_echo=$ac_try;;
|
4659 | |
esac
|
4660 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4661 | |
(eval "$ac_compiler -v >&5") 2>&5
|
4662 | |
ac_status=$?
|
4663 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4664 | |
(exit $ac_status); }
|
4665 | |
{ (ac_try="$ac_compiler -V >&5"
|
4666 | |
case "(($ac_try" in
|
4667 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4668 | |
*) ac_try_echo=$ac_try;;
|
4669 | |
esac
|
4670 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4671 | |
(eval "$ac_compiler -V >&5") 2>&5
|
4672 | |
ac_status=$?
|
4673 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4674 | |
(exit $ac_status); }
|
4675 | |
|
4676 | |
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
4677 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
|
4678 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
4679 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
4680 | |
else
|
4681 | |
cat >conftest.$ac_ext <<_ACEOF
|
4682 | |
/* confdefs.h. */
|
4683 | |
_ACEOF
|
4684 | |
cat confdefs.h >>conftest.$ac_ext
|
4685 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4781 |
if test -s conftest.err; then
|
|
4782 |
sed '10a\
|
|
4783 |
... rest of stderr output deleted ...
|
|
4784 |
10q' conftest.err >conftest.er1
|
|
4785 |
cat conftest.er1 >&5
|
|
4786 |
fi
|
|
4787 |
rm -f conftest.er1 conftest.err
|
|
4788 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
4789 |
test $ac_status = 0; }
|
|
4790 |
done
|
|
4791 |
|
|
4792 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
4793 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
4794 |
if ${ac_cv_c_compiler_gnu+:} false; then :
|
|
4795 |
$as_echo_n "(cached) " >&6
|
|
4796 |
else
|
|
4797 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4686 | 4798 |
/* end confdefs.h. */
|
4687 | 4799 |
|
4688 | 4800 |
int
|
|
4696 | 4808 |
return 0;
|
4697 | 4809 |
}
|
4698 | 4810 |
_ACEOF
|
4699 | |
rm -f conftest.$ac_objext
|
4700 | |
if { (ac_try="$ac_compile"
|
4701 | |
case "(($ac_try" in
|
4702 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4703 | |
*) ac_try_echo=$ac_try;;
|
4704 | |
esac
|
4705 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4706 | |
(eval "$ac_compile") 2>conftest.er1
|
4707 | |
ac_status=$?
|
4708 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4709 | |
rm -f conftest.er1
|
4710 | |
cat conftest.err >&5
|
4711 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4712 | |
(exit $ac_status); } && {
|
4713 | |
test -z "$ac_c_werror_flag" ||
|
4714 | |
test ! -s conftest.err
|
4715 | |
} && test -s conftest.$ac_objext; then
|
|
4811 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4716 | 4812 |
ac_compiler_gnu=yes
|
4717 | 4813 |
else
|
4718 | |
echo "$as_me: failed program was:" >&5
|
4719 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4720 | |
|
4721 | |
ac_compiler_gnu=no
|
4722 | |
fi
|
4723 | |
|
|
4814 |
ac_compiler_gnu=no
|
|
4815 |
fi
|
4724 | 4816 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4725 | 4817 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4726 | 4818 |
|
4727 | 4819 |
fi
|
4728 | |
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
4729 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
|
4730 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
4820 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
4821 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
4822 |
if test $ac_compiler_gnu = yes; then
|
|
4823 |
GCC=yes
|
|
4824 |
else
|
|
4825 |
GCC=
|
|
4826 |
fi
|
4731 | 4827 |
ac_test_CFLAGS=${CFLAGS+set}
|
4732 | 4828 |
ac_save_CFLAGS=$CFLAGS
|
4733 | |
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
4734 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
|
4735 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
4736 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4829 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
4830 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
4831 |
if ${ac_cv_prog_cc_g+:} false; then :
|
|
4832 |
$as_echo_n "(cached) " >&6
|
4737 | 4833 |
else
|
4738 | 4834 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
4739 | 4835 |
ac_c_werror_flag=yes
|
4740 | 4836 |
ac_cv_prog_cc_g=no
|
4741 | 4837 |
CFLAGS="-g"
|
4742 | |
cat >conftest.$ac_ext <<_ACEOF
|
4743 | |
/* confdefs.h. */
|
4744 | |
_ACEOF
|
4745 | |
cat confdefs.h >>conftest.$ac_ext
|
4746 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4838 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4747 | 4839 |
/* end confdefs.h. */
|
4748 | 4840 |
|
4749 | 4841 |
int
|
|
4754 | 4846 |
return 0;
|
4755 | 4847 |
}
|
4756 | 4848 |
_ACEOF
|
4757 | |
rm -f conftest.$ac_objext
|
4758 | |
if { (ac_try="$ac_compile"
|
4759 | |
case "(($ac_try" in
|
4760 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4761 | |
*) ac_try_echo=$ac_try;;
|
4762 | |
esac
|
4763 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4764 | |
(eval "$ac_compile") 2>conftest.er1
|
4765 | |
ac_status=$?
|
4766 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4767 | |
rm -f conftest.er1
|
4768 | |
cat conftest.err >&5
|
4769 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4770 | |
(exit $ac_status); } && {
|
4771 | |
test -z "$ac_c_werror_flag" ||
|
4772 | |
test ! -s conftest.err
|
4773 | |
} && test -s conftest.$ac_objext; then
|
|
4849 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4774 | 4850 |
ac_cv_prog_cc_g=yes
|
4775 | 4851 |
else
|
4776 | |
echo "$as_me: failed program was:" >&5
|
4777 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4778 | |
|
4779 | |
CFLAGS=""
|
4780 | |
cat >conftest.$ac_ext <<_ACEOF
|
4781 | |
/* confdefs.h. */
|
4782 | |
_ACEOF
|
4783 | |
cat confdefs.h >>conftest.$ac_ext
|
4784 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4852 |
CFLAGS=""
|
|
4853 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4785 | 4854 |
/* end confdefs.h. */
|
4786 | 4855 |
|
4787 | 4856 |
int
|
|
4792 | 4861 |
return 0;
|
4793 | 4862 |
}
|
4794 | 4863 |
_ACEOF
|
4795 | |
rm -f conftest.$ac_objext
|
4796 | |
if { (ac_try="$ac_compile"
|
4797 | |
case "(($ac_try" in
|
4798 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4799 | |
*) ac_try_echo=$ac_try;;
|
4800 | |
esac
|
4801 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4802 | |
(eval "$ac_compile") 2>conftest.er1
|
4803 | |
ac_status=$?
|
4804 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4805 | |
rm -f conftest.er1
|
4806 | |
cat conftest.err >&5
|
4807 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4808 | |
(exit $ac_status); } && {
|
4809 | |
test -z "$ac_c_werror_flag" ||
|
4810 | |
test ! -s conftest.err
|
4811 | |
} && test -s conftest.$ac_objext; then
|
4812 | |
:
|
4813 | |
else
|
4814 | |
echo "$as_me: failed program was:" >&5
|
4815 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4816 | |
|
4817 | |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
4864 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
4865 |
|
|
4866 |
else
|
|
4867 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4818 | 4868 |
CFLAGS="-g"
|
4819 | |
cat >conftest.$ac_ext <<_ACEOF
|
4820 | |
/* confdefs.h. */
|
4821 | |
_ACEOF
|
4822 | |
cat confdefs.h >>conftest.$ac_ext
|
4823 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4869 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4824 | 4870 |
/* end confdefs.h. */
|
4825 | 4871 |
|
4826 | 4872 |
int
|
|
4831 | 4877 |
return 0;
|
4832 | 4878 |
}
|
4833 | 4879 |
_ACEOF
|
4834 | |
rm -f conftest.$ac_objext
|
4835 | |
if { (ac_try="$ac_compile"
|
4836 | |
case "(($ac_try" in
|
4837 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4838 | |
*) ac_try_echo=$ac_try;;
|
4839 | |
esac
|
4840 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4841 | |
(eval "$ac_compile") 2>conftest.er1
|
4842 | |
ac_status=$?
|
4843 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4844 | |
rm -f conftest.er1
|
4845 | |
cat conftest.err >&5
|
4846 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4847 | |
(exit $ac_status); } && {
|
4848 | |
test -z "$ac_c_werror_flag" ||
|
4849 | |
test ! -s conftest.err
|
4850 | |
} && test -s conftest.$ac_objext; then
|
|
4880 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4851 | 4881 |
ac_cv_prog_cc_g=yes
|
4852 | |
else
|
4853 | |
echo "$as_me: failed program was:" >&5
|
4854 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4855 | |
|
4856 | |
|
4857 | |
fi
|
4858 | |
|
|
4882 |
fi
|
4859 | 4883 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4860 | 4884 |
fi
|
4861 | |
|
4862 | 4885 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4863 | 4886 |
fi
|
4864 | |
|
4865 | 4887 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4866 | 4888 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
4867 | 4889 |
fi
|
4868 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
4869 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
|
|
4890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
4891 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
4870 | 4892 |
if test "$ac_test_CFLAGS" = set; then
|
4871 | 4893 |
CFLAGS=$ac_save_CFLAGS
|
4872 | 4894 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
4882 | 4904 |
CFLAGS=
|
4883 | 4905 |
fi
|
4884 | 4906 |
fi
|
4885 | |
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
|
4886 | |
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
|
4887 | |
if test "${ac_cv_prog_cc_c89+set}" = set; then
|
4888 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
4907 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
4908 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
4909 |
if ${ac_cv_prog_cc_c89+:} false; then :
|
|
4910 |
$as_echo_n "(cached) " >&6
|
4889 | 4911 |
else
|
4890 | 4912 |
ac_cv_prog_cc_c89=no
|
4891 | 4913 |
ac_save_CC=$CC
|
4892 | |
cat >conftest.$ac_ext <<_ACEOF
|
4893 | |
/* confdefs.h. */
|
4894 | |
_ACEOF
|
4895 | |
cat confdefs.h >>conftest.$ac_ext
|
4896 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
4914 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4897 | 4915 |
/* end confdefs.h. */
|
4898 | 4916 |
#include <stdarg.h>
|
4899 | 4917 |
#include <stdio.h>
|
4900 | |
#include <sys/types.h>
|
4901 | |
#include <sys/stat.h>
|
|
4918 |
struct stat;
|
4902 | 4919 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4903 | 4920 |
struct buf { int x; };
|
4904 | 4921 |
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
|
4950 | 4967 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4951 | 4968 |
do
|
4952 | 4969 |
CC="$ac_save_CC $ac_arg"
|
4953 | |
rm -f conftest.$ac_objext
|
4954 | |
if { (ac_try="$ac_compile"
|
4955 | |
case "(($ac_try" in
|
4956 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4957 | |
*) ac_try_echo=$ac_try;;
|
4958 | |
esac
|
4959 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
4960 | |
(eval "$ac_compile") 2>conftest.er1
|
4961 | |
ac_status=$?
|
4962 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
4963 | |
rm -f conftest.er1
|
4964 | |
cat conftest.err >&5
|
4965 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
4966 | |
(exit $ac_status); } && {
|
4967 | |
test -z "$ac_c_werror_flag" ||
|
4968 | |
test ! -s conftest.err
|
4969 | |
} && test -s conftest.$ac_objext; then
|
|
4970 |
if ac_fn_c_try_compile "$LINENO"; then :
|
4970 | 4971 |
ac_cv_prog_cc_c89=$ac_arg
|
4971 | |
else
|
4972 | |
echo "$as_me: failed program was:" >&5
|
4973 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
4974 | |
|
4975 | |
|
4976 | |
fi
|
4977 | |
|
|
4972 |
fi
|
4978 | 4973 |
rm -f core conftest.err conftest.$ac_objext
|
4979 | 4974 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4980 | 4975 |
done
|
|
4985 | 4980 |
# AC_CACHE_VAL
|
4986 | 4981 |
case "x$ac_cv_prog_cc_c89" in
|
4987 | 4982 |
x)
|
4988 | |
{ echo "$as_me:$LINENO: result: none needed" >&5
|
4989 | |
echo "${ECHO_T}none needed" >&6; } ;;
|
|
4983 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
4984 |
$as_echo "none needed" >&6; } ;;
|
4990 | 4985 |
xno)
|
4991 | |
{ echo "$as_me:$LINENO: result: unsupported" >&5
|
4992 | |
echo "${ECHO_T}unsupported" >&6; } ;;
|
|
4986 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
4987 |
$as_echo "unsupported" >&6; } ;;
|
4993 | 4988 |
*)
|
4994 | 4989 |
CC="$CC $ac_cv_prog_cc_c89"
|
4995 | |
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
|
4996 | |
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
|
|
4990 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
4991 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4997 | 4992 |
esac
|
4998 | |
|
|
4993 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
4994 |
|
|
4995 |
fi
|
4999 | 4996 |
|
5000 | 4997 |
ac_ext=c
|
5001 | 4998 |
ac_cpp='$CPP $CPPFLAGS'
|
|
5003 | 5000 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5004 | 5001 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5005 | 5002 |
|
|
5003 |
ac_ext=c
|
|
5004 |
ac_cpp='$CPP $CPPFLAGS'
|
|
5005 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
5006 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
5007 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
5008 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
|
|
5009 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
|
|
5010 |
if ${am_cv_prog_cc_c_o+:} false; then :
|
|
5011 |
$as_echo_n "(cached) " >&6
|
|
5012 |
else
|
|
5013 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5014 |
/* end confdefs.h. */
|
|
5015 |
|
|
5016 |
int
|
|
5017 |
main ()
|
|
5018 |
{
|
|
5019 |
|
|
5020 |
;
|
|
5021 |
return 0;
|
|
5022 |
}
|
|
5023 |
_ACEOF
|
|
5024 |
# Make sure it works both with $CC and with simple cc.
|
|
5025 |
# Following AC_PROG_CC_C_O, we do the test twice because some
|
|
5026 |
# compilers refuse to overwrite an existing .o file with -o,
|
|
5027 |
# though they will create one.
|
|
5028 |
am_cv_prog_cc_c_o=yes
|
|
5029 |
for am_i in 1 2; do
|
|
5030 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
|
|
5031 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
|
|
5032 |
ac_status=$?
|
|
5033 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
5034 |
(exit $ac_status); } \
|
|
5035 |
&& test -f conftest2.$ac_objext; then
|
|
5036 |
: OK
|
|
5037 |
else
|
|
5038 |
am_cv_prog_cc_c_o=no
|
|
5039 |
break
|
|
5040 |
fi
|
|
5041 |
done
|
|
5042 |
rm -f core conftest*
|
|
5043 |
unset am_i
|
|
5044 |
fi
|
|
5045 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
|
|
5046 |
$as_echo "$am_cv_prog_cc_c_o" >&6; }
|
|
5047 |
if test "$am_cv_prog_cc_c_o" != yes; then
|
|
5048 |
# Losing compiler, so override with the script.
|
|
5049 |
# FIXME: It is wrong to rewrite CC.
|
|
5050 |
# But if we don't then we get into trouble of one sort or another.
|
|
5051 |
# A longer-term fix would be to have automake use am__CC in this case,
|
|
5052 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
|
|
5053 |
CC="$am_aux_dir/compile $CC"
|
|
5054 |
fi
|
|
5055 |
ac_ext=c
|
|
5056 |
ac_cpp='$CPP $CPPFLAGS'
|
|
5057 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
5058 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
|
5059 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
5060 |
|
|
5061 |
|
|
5062 |
depcc="$CC" am_compiler_list=
|
|
5063 |
|
|
5064 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
5065 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
5066 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
|
|
5067 |
$as_echo_n "(cached) " >&6
|
|
5068 |
else
|
|
5069 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
|
5070 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
5071 |
# making bogus files that we don't know about and never remove. For
|
|
5072 |
# instance it was reported that on HP-UX the gcc test will end up
|
|
5073 |
# making a dummy file named 'D' -- because '-MD' means "put the output
|
|
5074 |
# in D".
|
|
5075 |
rm -rf conftest.dir
|
|
5076 |
mkdir conftest.dir
|
|
5077 |
# Copy depcomp to subdir because otherwise we won't find it if we're
|
|
5078 |
# using a relative directory.
|
|
5079 |
cp "$am_depcomp" conftest.dir
|
|
5080 |
cd conftest.dir
|
|
5081 |
# We will build objects and dependencies in a subdirectory because
|
|
5082 |
# it helps to detect inapplicable dependency modes. For instance
|
|
5083 |
# both Tru64's cc and ICC support -MD to output dependencies as a
|
|
5084 |
# side effect of compilation, but ICC will put the dependencies in
|
|
5085 |
# the current directory while Tru64 will put them in the object
|
|
5086 |
# directory.
|
|
5087 |
mkdir sub
|
|
5088 |
|
|
5089 |
am_cv_CC_dependencies_compiler_type=none
|
|
5090 |
if test "$am_compiler_list" = ""; then
|
|
5091 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
|
5092 |
fi
|
|
5093 |
am__universal=false
|
|
5094 |
case " $depcc " in #(
|
|
5095 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
5096 |
esac
|
|
5097 |
|
|
5098 |
for depmode in $am_compiler_list; do
|
|
5099 |
# Setup a source with many dependencies, because some compilers
|
|
5100 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
5101 |
# we should not choose a depcomp mode which is confused by this.
|
|
5102 |
#
|
|
5103 |
# We need to recreate these files for each test, as the compiler may
|
|
5104 |
# overwrite some of them when testing with obscure command lines.
|
|
5105 |
# This happens at least with the AIX C compiler.
|
|
5106 |
: > sub/conftest.c
|
|
5107 |
for i in 1 2 3 4 5 6; do
|
|
5108 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
|
5109 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
|
|
5110 |
# Solaris 10 /bin/sh.
|
|
5111 |
echo '/* dummy */' > sub/conftst$i.h
|
|
5112 |
done
|
|
5113 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
|
5114 |
|
|
5115 |
# We check with '-c' and '-o' for the sake of the "dashmstdout"
|
|
5116 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
5117 |
# handle '-M -o', and we need to detect this. Also, some Intel
|
|
5118 |
# versions had trouble with output in subdirs.
|
|
5119 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
5120 |
am__minus_obj="-o $am__obj"
|
|
5121 |
case $depmode in
|
|
5122 |
gcc)
|
|
5123 |
# This depmode causes a compiler race in universal mode.
|
|
5124 |
test "$am__universal" = false || continue
|
|
5125 |
;;
|
|
5126 |
nosideeffect)
|
|
5127 |
# After this tag, mechanisms are not by side-effect, so they'll
|
|
5128 |
# only be used when explicitly requested.
|
|
5129 |
if test "x$enable_dependency_tracking" = xyes; then
|
|
5130 |
continue
|
|
5131 |
else
|
|
5132 |
break
|
|
5133 |
fi
|
|
5134 |
;;
|
|
5135 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
|
|
5136 |
# This compiler won't grok '-c -o', but also, the minuso test has
|
|
5137 |
# not run yet. These depmodes are late enough in the game, and
|
|
5138 |
# so weak that their functioning should not be impacted.
|
|
5139 |
am__obj=conftest.${OBJEXT-o}
|
|
5140 |
am__minus_obj=
|
|
5141 |
;;
|
|
5142 |
none) break ;;
|
|
5143 |
esac
|
|
5144 |
if depmode=$depmode \
|
|
5145 |
source=sub/conftest.c object=$am__obj \
|
|
5146 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
|
5147 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
|
5148 |
>/dev/null 2>conftest.err &&
|
|
5149 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
5150 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
|
5151 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
|
5152 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
|
5153 |
# icc doesn't choke on unknown options, it will just issue warnings
|
|
5154 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
5155 |
# that says an option was ignored or not supported.
|
|
5156 |
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
|
5157 |
# icc: Command line warning: ignoring option '-M'; no argument required
|
|
5158 |
# The diagnosis changed in icc 8.0:
|
|
5159 |
# icc: Command line remark: option '-MP' not supported
|
|
5160 |
if (grep 'ignoring option' conftest.err ||
|
|
5161 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
|
5162 |
am_cv_CC_dependencies_compiler_type=$depmode
|
|
5163 |
break
|
|
5164 |
fi
|
|
5165 |
fi
|
|
5166 |
done
|
|
5167 |
|
|
5168 |
cd ..
|
|
5169 |
rm -rf conftest.dir
|
|
5170 |
else
|
|
5171 |
am_cv_CC_dependencies_compiler_type=none
|
|
5172 |
fi
|
|
5173 |
|
|
5174 |
fi
|
|
5175 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
5176 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
|
5177 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
|
5178 |
|
|
5179 |
if
|
|
5180 |
test "x$enable_dependency_tracking" != xno \
|
|
5181 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
|
5182 |
am__fastdepCC_TRUE=
|
|
5183 |
am__fastdepCC_FALSE='#'
|
|
5184 |
else
|
|
5185 |
am__fastdepCC_TRUE='#'
|
|
5186 |
am__fastdepCC_FALSE=
|
|
5187 |
fi
|
|
5188 |
|
|
5189 |
|
5006 | 5190 |
if test -n "$ac_tool_prefix"; then
|
5007 | 5191 |
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
5008 | 5192 |
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
5009 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5010 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5011 | |
if test "${ac_cv_prog_RANLIB+set}" = set; then
|
5012 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5194 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5195 |
if ${ac_cv_prog_RANLIB+:} false; then :
|
|
5196 |
$as_echo_n "(cached) " >&6
|
5013 | 5197 |
else
|
5014 | 5198 |
if test -n "$RANLIB"; then
|
5015 | 5199 |
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
|
5019 | 5203 |
do
|
5020 | 5204 |
IFS=$as_save_IFS
|
5021 | 5205 |
test -z "$as_dir" && as_dir=.
|
5022 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5023 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5206 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5207 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5024 | 5208 |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
5025 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5209 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5026 | 5210 |
break 2
|
5027 | 5211 |
fi
|
5028 | 5212 |
done
|
5029 | |
done
|
|
5213 |
done
|
5030 | 5214 |
IFS=$as_save_IFS
|
5031 | 5215 |
|
5032 | 5216 |
fi
|
5033 | 5217 |
fi
|
5034 | 5218 |
RANLIB=$ac_cv_prog_RANLIB
|
5035 | 5219 |
if test -n "$RANLIB"; then
|
5036 | |
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
|
5037 | |
echo "${ECHO_T}$RANLIB" >&6; }
|
5038 | |
else
|
5039 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5040 | |
echo "${ECHO_T}no" >&6; }
|
|
5220 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
|
5221 |
$as_echo "$RANLIB" >&6; }
|
|
5222 |
else
|
|
5223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5224 |
$as_echo "no" >&6; }
|
5041 | 5225 |
fi
|
5042 | 5226 |
|
5043 | 5227 |
|
|
5046 | 5230 |
ac_ct_RANLIB=$RANLIB
|
5047 | 5231 |
# Extract the first word of "ranlib", so it can be a program name with args.
|
5048 | 5232 |
set dummy ranlib; ac_word=$2
|
5049 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5050 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5051 | |
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
|
5052 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5233 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5234 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5235 |
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
|
|
5236 |
$as_echo_n "(cached) " >&6
|
5053 | 5237 |
else
|
5054 | 5238 |
if test -n "$ac_ct_RANLIB"; then
|
5055 | 5239 |
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
|
5059 | 5243 |
do
|
5060 | 5244 |
IFS=$as_save_IFS
|
5061 | 5245 |
test -z "$as_dir" && as_dir=.
|
5062 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5063 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5246 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5247 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5064 | 5248 |
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
5065 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5249 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5066 | 5250 |
break 2
|
5067 | 5251 |
fi
|
5068 | 5252 |
done
|
5069 | |
done
|
|
5253 |
done
|
5070 | 5254 |
IFS=$as_save_IFS
|
5071 | 5255 |
|
5072 | 5256 |
fi
|
5073 | 5257 |
fi
|
5074 | 5258 |
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
5075 | 5259 |
if test -n "$ac_ct_RANLIB"; then
|
5076 | |
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
|
5077 | |
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
|
5078 | |
else
|
5079 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5080 | |
echo "${ECHO_T}no" >&6; }
|
|
5260 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
|
5261 |
$as_echo "$ac_ct_RANLIB" >&6; }
|
|
5262 |
else
|
|
5263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5264 |
$as_echo "no" >&6; }
|
5081 | 5265 |
fi
|
5082 | 5266 |
|
5083 | 5267 |
if test "x$ac_ct_RANLIB" = x; then
|
|
5085 | 5269 |
else
|
5086 | 5270 |
case $cross_compiling:$ac_tool_warned in
|
5087 | 5271 |
yes:)
|
5088 | |
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
|
5089 | |
whose name does not start with the host triplet. If you think this
|
5090 | |
configuration is useful to you, please write to autoconf@gnu.org." >&5
|
5091 | |
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
|
5092 | |
whose name does not start with the host triplet. If you think this
|
5093 | |
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
|
|
5272 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
5273 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
5094 | 5274 |
ac_tool_warned=yes ;;
|
5095 | 5275 |
esac
|
5096 | 5276 |
RANLIB=$ac_ct_RANLIB
|
|
5101 | 5281 |
|
5102 | 5282 |
|
5103 | 5283 |
|
5104 | |
CFLAGS="$CFLAGS -Wall"
|
|
5284 |
# Checks for libraries.
|
|
5285 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
|
|
5286 |
$as_echo_n "checking for main in -lm... " >&6; }
|
|
5287 |
if ${ac_cv_lib_m_main+:} false; then :
|
|
5288 |
$as_echo_n "(cached) " >&6
|
|
5289 |
else
|
|
5290 |
ac_check_lib_save_LIBS=$LIBS
|
|
5291 |
LIBS="-lm $LIBS"
|
|
5292 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5293 |
/* end confdefs.h. */
|
|
5294 |
|
|
5295 |
|
|
5296 |
int
|
|
5297 |
main ()
|
|
5298 |
{
|
|
5299 |
return main ();
|
|
5300 |
;
|
|
5301 |
return 0;
|
|
5302 |
}
|
|
5303 |
_ACEOF
|
|
5304 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5305 |
ac_cv_lib_m_main=yes
|
|
5306 |
else
|
|
5307 |
ac_cv_lib_m_main=no
|
|
5308 |
fi
|
|
5309 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5310 |
conftest$ac_exeext conftest.$ac_ext
|
|
5311 |
LIBS=$ac_check_lib_save_LIBS
|
|
5312 |
fi
|
|
5313 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
|
|
5314 |
$as_echo "$ac_cv_lib_m_main" >&6; }
|
|
5315 |
if test "x$ac_cv_lib_m_main" = xyes; then :
|
|
5316 |
cat >>confdefs.h <<_ACEOF
|
|
5317 |
#define HAVE_LIBM 1
|
|
5318 |
_ACEOF
|
|
5319 |
|
|
5320 |
LIBS="-lm $LIBS"
|
|
5321 |
|
|
5322 |
else
|
|
5323 |
as_fn_error $? "lib math is needed" "$LINENO" 5
|
|
5324 |
fi
|
5105 | 5325 |
|
5106 | 5326 |
|
5107 | 5327 |
# Check whether --with-sdl-prefix was given.
|
5108 | |
if test "${with_sdl_prefix+set}" = set; then
|
|
5328 |
if test "${with_sdl_prefix+set}" = set; then :
|
5109 | 5329 |
withval=$with_sdl_prefix; sdl_prefix="$withval"
|
5110 | 5330 |
else
|
5111 | 5331 |
sdl_prefix=""
|
|
5113 | 5333 |
|
5114 | 5334 |
|
5115 | 5335 |
# Check whether --with-sdl-exec-prefix was given.
|
5116 | |
if test "${with_sdl_exec_prefix+set}" = set; then
|
|
5336 |
if test "${with_sdl_exec_prefix+set}" = set; then :
|
5117 | 5337 |
withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
|
5118 | 5338 |
else
|
5119 | 5339 |
sdl_exec_prefix=""
|
5120 | 5340 |
fi
|
5121 | 5341 |
|
5122 | 5342 |
# Check whether --enable-sdltest was given.
|
5123 | |
if test "${enable_sdltest+set}" = set; then
|
|
5343 |
if test "${enable_sdltest+set}" = set; then :
|
5124 | 5344 |
enableval=$enable_sdltest;
|
5125 | 5345 |
else
|
5126 | 5346 |
enable_sdltest=yes
|
|
5144 | 5364 |
PATH="$prefix/bin:$prefix/usr/bin:$PATH"
|
5145 | 5365 |
# Extract the first word of "sdl-config", so it can be a program name with args.
|
5146 | 5366 |
set dummy sdl-config; ac_word=$2
|
5147 | |
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
5148 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
5149 | |
if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
|
5150 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5367 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
5368 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
5369 |
if ${ac_cv_path_SDL_CONFIG+:} false; then :
|
|
5370 |
$as_echo_n "(cached) " >&6
|
5151 | 5371 |
else
|
5152 | 5372 |
case $SDL_CONFIG in
|
5153 | 5373 |
[\\/]* | ?:[\\/]*)
|
|
5159 | 5379 |
do
|
5160 | 5380 |
IFS=$as_save_IFS
|
5161 | 5381 |
test -z "$as_dir" && as_dir=.
|
5162 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
5163 | |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
5382 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
5383 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
5164 | 5384 |
ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
|
5165 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
5385 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5166 | 5386 |
break 2
|
5167 | 5387 |
fi
|
5168 | 5388 |
done
|
5169 | |
done
|
|
5389 |
done
|
5170 | 5390 |
IFS=$as_save_IFS
|
5171 | 5391 |
|
5172 | 5392 |
test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
|
|
5175 | 5395 |
fi
|
5176 | 5396 |
SDL_CONFIG=$ac_cv_path_SDL_CONFIG
|
5177 | 5397 |
if test -n "$SDL_CONFIG"; then
|
5178 | |
{ echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
|
5179 | |
echo "${ECHO_T}$SDL_CONFIG" >&6; }
|
5180 | |
else
|
5181 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5182 | |
echo "${ECHO_T}no" >&6; }
|
|
5398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
|
|
5399 |
$as_echo "$SDL_CONFIG" >&6; }
|
|
5400 |
else
|
|
5401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5402 |
$as_echo "no" >&6; }
|
5183 | 5403 |
fi
|
5184 | 5404 |
|
5185 | 5405 |
|
5186 | 5406 |
min_sdl_version=1.2.0
|
5187 | |
{ echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
|
5188 | |
echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
|
|
5407 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
|
|
5408 |
$as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
|
5189 | 5409 |
no_sdl=""
|
5190 | 5410 |
if test "$SDL_CONFIG" = "no" ; then
|
5191 | 5411 |
no_sdl=yes
|
|
5205 | 5425 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
5206 | 5426 |
LIBS="$LIBS $SDL_LIBS"
|
5207 | 5427 |
rm -f conf.sdltest
|
5208 | |
if test "$cross_compiling" = yes; then
|
|
5428 |
if test "$cross_compiling" = yes; then :
|
5209 | 5429 |
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
5210 | 5430 |
else
|
5211 | |
cat >conftest.$ac_ext <<_ACEOF
|
5212 | |
/* confdefs.h. */
|
5213 | |
_ACEOF
|
5214 | |
cat confdefs.h >>conftest.$ac_ext
|
5215 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5431 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5216 | 5432 |
/* end confdefs.h. */
|
5217 | 5433 |
|
5218 | 5434 |
#include <stdio.h>
|
|
5273 | 5489 |
|
5274 | 5490 |
|
5275 | 5491 |
_ACEOF
|
5276 | |
rm -f conftest$ac_exeext
|
5277 | |
if { (ac_try="$ac_link"
|
5278 | |
case "(($ac_try" in
|
5279 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5280 | |
*) ac_try_echo=$ac_try;;
|
5281 | |
esac
|
5282 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5283 | |
(eval "$ac_link") 2>&5
|
5284 | |
ac_status=$?
|
5285 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5286 | |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
5287 | |
{ (case "(($ac_try" in
|
5288 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5289 | |
*) ac_try_echo=$ac_try;;
|
5290 | |
esac
|
5291 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5292 | |
(eval "$ac_try") 2>&5
|
5293 | |
ac_status=$?
|
5294 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5295 | |
(exit $ac_status); }; }; then
|
5296 | |
:
|
5297 | |
else
|
5298 | |
echo "$as_me: program exited with status $ac_status" >&5
|
5299 | |
echo "$as_me: failed program was:" >&5
|
5300 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5301 | |
|
5302 | |
( exit $ac_status )
|
5303 | |
no_sdl=yes
|
5304 | |
fi
|
5305 | |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
5306 | |
fi
|
5307 | |
|
|
5492 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5493 |
|
|
5494 |
else
|
|
5495 |
no_sdl=yes
|
|
5496 |
fi
|
|
5497 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5498 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5499 |
fi
|
5308 | 5500 |
|
5309 | 5501 |
CFLAGS="$ac_save_CFLAGS"
|
5310 | 5502 |
LIBS="$ac_save_LIBS"
|
5311 | 5503 |
fi
|
5312 | 5504 |
fi
|
5313 | 5505 |
if test "x$no_sdl" = x ; then
|
5314 | |
{ echo "$as_me:$LINENO: result: yes" >&5
|
5315 | |
echo "${ECHO_T}yes" >&6; }
|
|
5506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
5507 |
$as_echo "yes" >&6; }
|
5316 | 5508 |
:
|
5317 | 5509 |
else
|
5318 | |
{ echo "$as_me:$LINENO: result: no" >&5
|
5319 | |
echo "${ECHO_T}no" >&6; }
|
|
5510 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
5511 |
$as_echo "no" >&6; }
|
5320 | 5512 |
if test "$SDL_CONFIG" = "no" ; then
|
5321 | 5513 |
echo "*** The sdl-config script installed by SDL could not be found"
|
5322 | 5514 |
echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
|
|
5329 | 5521 |
echo "*** Could not run SDL test program, checking why..."
|
5330 | 5522 |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
5331 | 5523 |
LIBS="$LIBS $SDL_LIBS"
|
5332 | |
cat >conftest.$ac_ext <<_ACEOF
|
5333 | |
/* confdefs.h. */
|
5334 | |
_ACEOF
|
5335 | |
cat confdefs.h >>conftest.$ac_ext
|
5336 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5524 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5337 | 5525 |
/* end confdefs.h. */
|
5338 | 5526 |
|
5339 | 5527 |
#include <stdio.h>
|
|
5352 | 5540 |
return 0;
|
5353 | 5541 |
}
|
5354 | 5542 |
_ACEOF
|
5355 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5356 | |
if { (ac_try="$ac_link"
|
5357 | |
case "(($ac_try" in
|
5358 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5359 | |
*) ac_try_echo=$ac_try;;
|
5360 | |
esac
|
5361 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5362 | |
(eval "$ac_link") 2>conftest.er1
|
5363 | |
ac_status=$?
|
5364 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5365 | |
rm -f conftest.er1
|
5366 | |
cat conftest.err >&5
|
5367 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5368 | |
(exit $ac_status); } && {
|
5369 | |
test -z "$ac_c_werror_flag" ||
|
5370 | |
test ! -s conftest.err
|
5371 | |
} && test -s conftest$ac_exeext &&
|
5372 | |
$as_test_x conftest$ac_exeext; then
|
|
5543 |
if ac_fn_c_try_link "$LINENO"; then :
|
5373 | 5544 |
echo "*** The test program compiled, but did not run. This usually means"
|
5374 | 5545 |
echo "*** that the run-time linker is not finding SDL or finding the wrong"
|
5375 | 5546 |
echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
|
|
5380 | 5551 |
echo "*** If you have an old version installed, it is best to remove it, although"
|
5381 | 5552 |
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
|
5382 | 5553 |
else
|
5383 | |
echo "$as_me: failed program was:" >&5
|
5384 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5385 | |
|
5386 | |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
|
5554 |
echo "*** The test program failed to compile or link. See the file config.log for the"
|
5387 | 5555 |
echo "*** exact error that occured. This usually means SDL was incorrectly installed"
|
5388 | 5556 |
echo "*** or that you have moved SDL since it was installed. In the latter case, you"
|
5389 | 5557 |
echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
|
5390 | 5558 |
fi
|
5391 | |
|
5392 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5393 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5559 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5560 |
conftest$ac_exeext conftest.$ac_ext
|
5394 | 5561 |
CFLAGS="$ac_save_CFLAGS"
|
5395 | 5562 |
LIBS="$ac_save_LIBS"
|
5396 | 5563 |
fi
|
5397 | 5564 |
fi
|
5398 | 5565 |
SDL_CFLAGS=""
|
5399 | 5566 |
SDL_LIBS=""
|
5400 | |
{ { echo "$as_me:$LINENO: error: lib SDL is needed" >&5
|
5401 | |
echo "$as_me: error: lib SDL is needed" >&2;}
|
5402 | |
{ (exit 1); exit 1; }; }
|
|
5567 |
as_fn_error $? "lib SDL is needed" "$LINENO" 5
|
5403 | 5568 |
fi
|
5404 | 5569 |
|
5405 | 5570 |
|
5406 | 5571 |
rm -f conf.sdltest
|
5407 | 5572 |
|
5408 | |
CFLAGS="$CFLAGS $SDL_CFLAGS"
|
5409 | |
LIBS="$LIBS $SDL_LIBS"
|
5410 | |
|
|
5573 |
#AC_CHECK_LIB(SDL, main,, AC_MSG_ERROR(lib SDL is needed))
|
|
5574 |
|
|
5575 |
# Mixer is optional
|
5411 | 5576 |
audio_flag="-DAUDIO_ENABLED"
|
5412 | 5577 |
audio_lib="-lSDL_mixer"
|
5413 | |
# Check whether --enable-audio was given.
|
5414 | |
if test "${enable_audio+set}" = set; then
|
5415 | |
enableval=$enable_audio; audio_flag=""; audio_lib=""
|
5416 | |
fi
|
5417 | |
|
5418 | |
{ echo "$as_me:$LINENO: checking for main in -lSDL_mixer" >&5
|
5419 | |
echo $ECHO_N "checking for main in -lSDL_mixer... $ECHO_C" >&6; }
|
5420 | |
if test "${ac_cv_lib_SDL_mixer_main+set}" = set; then
|
5421 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
5578 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lSDL_mixer" >&5
|
|
5579 |
$as_echo_n "checking for main in -lSDL_mixer... " >&6; }
|
|
5580 |
if ${ac_cv_lib_SDL_mixer_main+:} false; then :
|
|
5581 |
$as_echo_n "(cached) " >&6
|
5422 | 5582 |
else
|
5423 | 5583 |
ac_check_lib_save_LIBS=$LIBS
|
5424 | 5584 |
LIBS="-lSDL_mixer $LIBS"
|
5425 | |
cat >conftest.$ac_ext <<_ACEOF
|
5426 | |
/* confdefs.h. */
|
5427 | |
_ACEOF
|
5428 | |
cat confdefs.h >>conftest.$ac_ext
|
5429 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
5585 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5430 | 5586 |
/* end confdefs.h. */
|
5431 | 5587 |
|
5432 | 5588 |
|
|
5438 | 5594 |
return 0;
|
5439 | 5595 |
}
|
5440 | 5596 |
_ACEOF
|
5441 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
5442 | |
if { (ac_try="$ac_link"
|
5443 | |
case "(($ac_try" in
|
5444 | |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
5445 | |
*) ac_try_echo=$ac_try;;
|
|
5597 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5598 |
ac_cv_lib_SDL_mixer_main=yes
|
|
5599 |
else
|
|
5600 |
ac_cv_lib_SDL_mixer_main=no
|
|
5601 |
fi
|
|
5602 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5603 |
conftest$ac_exeext conftest.$ac_ext
|
|
5604 |
LIBS=$ac_check_lib_save_LIBS
|
|
5605 |
fi
|
|
5606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SDL_mixer_main" >&5
|
|
5607 |
$as_echo "$ac_cv_lib_SDL_mixer_main" >&6; }
|
|
5608 |
if test "x$ac_cv_lib_SDL_mixer_main" = xyes; then :
|
|
5609 |
cat >>confdefs.h <<_ACEOF
|
|
5610 |
#define HAVE_LIBSDL_MIXER 1
|
|
5611 |
_ACEOF
|
|
5612 |
|
|
5613 |
LIBS="-lSDL_mixer $LIBS"
|
|
5614 |
|
|
5615 |
else
|
|
5616 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: lib SDL mixer is missing" >&5
|
|
5617 |
$as_echo "lib SDL mixer is missing" >&6; }; audio_flag=""; audio_lib=""
|
|
5618 |
fi
|
|
5619 |
|
|
5620 |
|
|
5621 |
# Checks for header files.
|
|
5622 |
for ac_header in stdlib.h string.h
|
|
5623 |
do :
|
|
5624 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
|
5625 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
|
5626 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|
5627 |
cat >>confdefs.h <<_ACEOF
|
|
5628 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
|
5629 |
_ACEOF
|
|
5630 |
|
|
5631 |
fi
|
|
5632 |
|
|
5633 |
done
|
|
5634 |
|
|
5635 |
|
|
5636 |
# Checks for typedefs, structures, and compiler characteristics.
|
|
5637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
|
|
5638 |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
|
|
5639 |
if ${ac_cv_header_stdbool_h+:} false; then :
|
|
5640 |
$as_echo_n "(cached) " >&6
|
|
5641 |
else
|
|
5642 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5643 |
/* end confdefs.h. */
|
|
5644 |
|
|
5645 |
#include <stdbool.h>
|
|
5646 |
#ifndef bool
|
|
5647 |
"error: bool is not defined"
|
|
5648 |
#endif
|
|
5649 |
#ifndef false
|
|
5650 |
"error: false is not defined"
|
|
5651 |
#endif
|
|
5652 |
#if false
|
|
5653 |
"error: false is not 0"
|
|
5654 |
#endif
|
|
5655 |
#ifndef true
|
|
5656 |
"error: true is not defined"
|
|
5657 |
#endif
|
|
5658 |
#if true != 1
|
|
5659 |
"error: true is not 1"
|
|
5660 |
#endif
|
|
5661 |
#ifndef __bool_true_false_are_defined
|
|
5662 |
"error: __bool_true_false_are_defined is not defined"
|
|
5663 |
#endif
|
|
5664 |
|
|
5665 |
struct s { _Bool s: 1; _Bool t; } s;
|
|
5666 |
|
|
5667 |
char a[true == 1 ? 1 : -1];
|
|
5668 |
char b[false == 0 ? 1 : -1];
|
|
5669 |
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
|
|
5670 |
char d[(bool) 0.5 == true ? 1 : -1];
|
|
5671 |
/* See body of main program for 'e'. */
|
|
5672 |
char f[(_Bool) 0.0 == false ? 1 : -1];
|
|
5673 |
char g[true];
|
|
5674 |
char h[sizeof (_Bool)];
|
|
5675 |
char i[sizeof s.t];
|
|
5676 |
enum { j = false, k = true, l = false * true, m = true * 256 };
|
|
5677 |
/* The following fails for
|
|
5678 |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
|
|
5679 |
_Bool n[m];
|
|
5680 |
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
|
|
5681 |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
|
|
5682 |
/* Catch a bug in an HP-UX C compiler. See
|
|
5683 |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
|
|
5684 |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
|
|
5685 |
*/
|
|
5686 |
_Bool q = true;
|
|
5687 |
_Bool *pq = &q;
|
|
5688 |
|
|
5689 |
int
|
|
5690 |
main ()
|
|
5691 |
{
|
|
5692 |
|
|
5693 |
bool e = &s;
|
|
5694 |
*pq |= q;
|
|
5695 |
*pq |= ! q;
|
|
5696 |
/* Refer to every declared value, to avoid compiler optimizations. */
|
|
5697 |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
|
|
5698 |
+ !m + !n + !o + !p + !q + !pq);
|
|
5699 |
|
|
5700 |
;
|
|
5701 |
return 0;
|
|
5702 |
}
|
|
5703 |
_ACEOF
|
|
5704 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5705 |
ac_cv_header_stdbool_h=yes
|
|
5706 |
else
|
|
5707 |
ac_cv_header_stdbool_h=no
|
|
5708 |
fi
|
|
5709 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5710 |
fi
|
|
5711 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
|
|
5712 |
$as_echo "$ac_cv_header_stdbool_h" >&6; }
|
|
5713 |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
|
|
5714 |
if test "x$ac_cv_type__Bool" = xyes; then :
|
|
5715 |
|
|
5716 |
cat >>confdefs.h <<_ACEOF
|
|
5717 |
#define HAVE__BOOL 1
|
|
5718 |
_ACEOF
|
|
5719 |
|
|
5720 |
|
|
5721 |
fi
|
|
5722 |
|
|
5723 |
|
|
5724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
|
|
5725 |
$as_echo_n "checking for inline... " >&6; }
|
|
5726 |
if ${ac_cv_c_inline+:} false; then :
|
|
5727 |
$as_echo_n "(cached) " >&6
|
|
5728 |
else
|
|
5729 |
ac_cv_c_inline=no
|
|
5730 |
for ac_kw in inline __inline__ __inline; do
|
|
5731 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5732 |
/* end confdefs.h. */
|
|
5733 |
#ifndef __cplusplus
|
|
5734 |
typedef int foo_t;
|
|
5735 |
static $ac_kw foo_t static_foo () {return 0; }
|
|
5736 |
$ac_kw foo_t foo () {return 0; }
|
|
5737 |
#endif
|
|
5738 |
|
|
5739 |
_ACEOF
|
|
5740 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
5741 |
ac_cv_c_inline=$ac_kw
|
|
5742 |
fi
|
|
5743 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
5744 |
test "$ac_cv_c_inline" != no && break
|
|
5745 |
done
|
|
5746 |
|
|
5747 |
fi
|
|
5748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
|
|
5749 |
$as_echo "$ac_cv_c_inline" >&6; }
|
|
5750 |
|
|
5751 |
case $ac_cv_c_inline in
|
|
5752 |
inline | yes) ;;
|
|
5753 |
*)
|
|
5754 |
case $ac_cv_c_inline in
|
|
5755 |
no) ac_val=;;
|
|
5756 |
*) ac_val=$ac_cv_c_inline;;
|
|
5757 |
esac
|
|
5758 |
cat >>confdefs.h <<_ACEOF
|
|
5759 |
#ifndef __cplusplus
|
|
5760 |
#define inline $ac_val
|
|
5761 |
#endif
|
|
5762 |
_ACEOF
|
|
5763 |
;;
|
5446 | 5764 |
esac
|
5447 | |
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
|
5448 | |
(eval "$ac_link") 2>conftest.er1
|
5449 | |
ac_status=$?
|
5450 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
5451 | |
rm -f conftest.er1
|
5452 | |
cat conftest.err >&5
|
5453 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
5454 | |
(exit $ac_status); } && {
|
5455 | |
test -z "$ac_c_werror_flag" ||
|
5456 | |
test ! -s conftest.err
|
5457 | |
} && test -s conftest$ac_exeext &&
|
5458 | |
$as_test_x conftest$ac_exeext; then
|
5459 | |
ac_cv_lib_SDL_mixer_main=yes
|
5460 | |
else
|
5461 | |
echo "$as_me: failed program was:" >&5
|
5462 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
5463 | |
|
5464 | |
ac_cv_lib_SDL_mixer_main=no
|
5465 | |
fi
|
5466 | |
|
5467 | |
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
5468 | |
conftest$ac_exeext conftest.$ac_ext
|
|
5765 |
|
|
5766 |
|
|
5767 |
# Checks for library functions.
|
|
5768 |
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
|
|
5769 |
if test "x$ac_cv_type_size_t" = xyes; then :
|
|
5770 |
|
|
5771 |
else
|
|
5772 |
|
|
5773 |
cat >>confdefs.h <<_ACEOF
|
|
5774 |
#define size_t unsigned int
|
|
5775 |
_ACEOF
|
|
5776 |
|
|
5777 |
fi
|
|
5778 |
|
|
5779 |
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
|
|
5780 |
# for constant arguments. Useless!
|
|
5781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
|
|
5782 |
$as_echo_n "checking for working alloca.h... " >&6; }
|
|
5783 |
if ${ac_cv_working_alloca_h+:} false; then :
|
|
5784 |
$as_echo_n "(cached) " >&6
|
|
5785 |
else
|
|
5786 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5787 |
/* end confdefs.h. */
|
|
5788 |
#include <alloca.h>
|
|
5789 |
int
|
|
5790 |
main ()
|
|
5791 |
{
|
|
5792 |
char *p = (char *) alloca (2 * sizeof (int));
|
|
5793 |
if (p) return 0;
|
|
5794 |
;
|
|
5795 |
return 0;
|
|
5796 |
}
|
|
5797 |
_ACEOF
|
|
5798 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5799 |
ac_cv_working_alloca_h=yes
|
|
5800 |
else
|
|
5801 |
ac_cv_working_alloca_h=no
|
|
5802 |
fi
|
|
5803 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5804 |
conftest$ac_exeext conftest.$ac_ext
|
|
5805 |
fi
|
|
5806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
|
|
5807 |
$as_echo "$ac_cv_working_alloca_h" >&6; }
|
|
5808 |
if test $ac_cv_working_alloca_h = yes; then
|
|
5809 |
|
|
5810 |
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
|
|
5811 |
|
|
5812 |
fi
|
|
5813 |
|
|
5814 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
|
|
5815 |
$as_echo_n "checking for alloca... " >&6; }
|
|
5816 |
if ${ac_cv_func_alloca_works+:} false; then :
|
|
5817 |
$as_echo_n "(cached) " >&6
|
|
5818 |
else
|
|
5819 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5820 |
/* end confdefs.h. */
|
|
5821 |
#ifdef __GNUC__
|
|
5822 |
# define alloca __builtin_alloca
|
|
5823 |
#else
|
|
5824 |
# ifdef _MSC_VER
|
|
5825 |
# include <malloc.h>
|
|
5826 |
# define alloca _alloca
|
|
5827 |
# else
|
|
5828 |
# ifdef HAVE_ALLOCA_H
|
|
5829 |
# include <alloca.h>
|
|
5830 |
# else
|
|
5831 |
# ifdef _AIX
|
|
5832 |
#pragma alloca
|
|
5833 |
# else
|
|
5834 |
# ifndef alloca /* predefined by HP cc +Olibcalls */
|
|
5835 |
void *alloca (size_t);
|
|
5836 |
# endif
|
|
5837 |
# endif
|
|
5838 |
# endif
|
|
5839 |
# endif
|
|
5840 |
#endif
|
|
5841 |
|
|
5842 |
int
|
|
5843 |
main ()
|
|
5844 |
{
|
|
5845 |
char *p = (char *) alloca (1);
|
|
5846 |
if (p) return 0;
|
|
5847 |
;
|
|
5848 |
return 0;
|
|
5849 |
}
|
|
5850 |
_ACEOF
|
|
5851 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
5852 |
ac_cv_func_alloca_works=yes
|
|
5853 |
else
|
|
5854 |
ac_cv_func_alloca_works=no
|
|
5855 |
fi
|
|
5856 |
rm -f core conftest.err conftest.$ac_objext \
|
|
5857 |
conftest$ac_exeext conftest.$ac_ext
|
|
5858 |
fi
|
|
5859 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
|
|
5860 |
$as_echo "$ac_cv_func_alloca_works" >&6; }
|
|
5861 |
|
|
5862 |
if test $ac_cv_func_alloca_works = yes; then
|
|
5863 |
|
|
5864 |
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
|
|
5865 |
|
|
5866 |
else
|
|
5867 |
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
|
|
5868 |
# that cause trouble. Some versions do not even contain alloca or
|
|
5869 |
# contain a buggy version. If you still want to use their alloca,
|
|
5870 |
# use ar to extract alloca.o from them instead of compiling alloca.c.
|
|
5871 |
|
|
5872 |
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
|
|
5873 |
|
|
5874 |
$as_echo "#define C_ALLOCA 1" >>confdefs.h
|
|
5875 |
|
|
5876 |
|
|
5877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
|
|
5878 |
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
|
|
5879 |
if ${ac_cv_os_cray+:} false; then :
|
|
5880 |
$as_echo_n "(cached) " >&6
|
|
5881 |
else
|
|
5882 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5883 |
/* end confdefs.h. */
|
|
5884 |
#if defined CRAY && ! defined CRAY2
|
|
5885 |
webecray
|
|
5886 |
#else
|
|
5887 |
wenotbecray
|
|
5888 |
#endif
|
|
5889 |
|
|
5890 |
_ACEOF
|
|
5891 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
5892 |
$EGREP "webecray" >/dev/null 2>&1; then :
|
|
5893 |
ac_cv_os_cray=yes
|
|
5894 |
else
|
|
5895 |
ac_cv_os_cray=no
|
|
5896 |
fi
|
|
5897 |
rm -f conftest*
|
|
5898 |
|
|
5899 |
fi
|
|
5900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
|
|
5901 |
$as_echo "$ac_cv_os_cray" >&6; }
|
|
5902 |
if test $ac_cv_os_cray = yes; then
|
|
5903 |
for ac_func in _getb67 GETB67 getb67; do
|
|
5904 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
5905 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
5906 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
|
5907 |
|
|
5908 |
cat >>confdefs.h <<_ACEOF
|
|
5909 |
#define CRAY_STACKSEG_END $ac_func
|
|
5910 |
_ACEOF
|
|
5911 |
|
|
5912 |
break
|
|
5913 |
fi
|
|
5914 |
|
|
5915 |
done
|
|
5916 |
fi
|
|
5917 |
|
|
5918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
|
|
5919 |
$as_echo_n "checking stack direction for C alloca... " >&6; }
|
|
5920 |
if ${ac_cv_c_stack_direction+:} false; then :
|
|
5921 |
$as_echo_n "(cached) " >&6
|
|
5922 |
else
|
|
5923 |
if test "$cross_compiling" = yes; then :
|
|
5924 |
ac_cv_c_stack_direction=0
|
|
5925 |
else
|
|
5926 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5927 |
/* end confdefs.h. */
|
|
5928 |
$ac_includes_default
|
|
5929 |
int
|
|
5930 |
find_stack_direction (int *addr, int depth)
|
|
5931 |
{
|
|
5932 |
int dir, dummy = 0;
|
|
5933 |
if (! addr)
|
|
5934 |
addr = &dummy;
|
|
5935 |
*addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
|
|
5936 |
dir = depth ? find_stack_direction (addr, depth - 1) : 0;
|
|
5937 |
return dir + dummy;
|
|
5938 |
}
|
|
5939 |
|
|
5940 |
int
|
|
5941 |
main (int argc, char **argv)
|
|
5942 |
{
|
|
5943 |
return find_stack_direction (0, argc + !argv + 20) < 0;
|
|
5944 |
}
|
|
5945 |
_ACEOF
|
|
5946 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
5947 |
ac_cv_c_stack_direction=1
|
|
5948 |
else
|
|
5949 |
ac_cv_c_stack_direction=-1
|
|
5950 |
fi
|
|
5951 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
5952 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
5953 |
fi
|
|
5954 |
|
|
5955 |
fi
|
|
5956 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
|
|
5957 |
$as_echo "$ac_cv_c_stack_direction" >&6; }
|
|
5958 |
cat >>confdefs.h <<_ACEOF
|
|
5959 |
#define STACK_DIRECTION $ac_cv_c_stack_direction
|
|
5960 |
_ACEOF
|
|
5961 |
|
|
5962 |
|
|
5963 |
fi
|
|
5964 |
|
|
5965 |
for ac_header in stdlib.h
|
|
5966 |
do :
|
|
5967 |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
|
5968 |
if test "x$ac_cv_header_stdlib_h" = xyes; then :
|
|
5969 |
cat >>confdefs.h <<_ACEOF
|
|
5970 |
#define HAVE_STDLIB_H 1
|
|
5971 |
_ACEOF
|
|
5972 |
|
|
5973 |
fi
|
|
5974 |
|
|
5975 |
done
|
|
5976 |
|
|
5977 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
|
|
5978 |
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
|
|
5979 |
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
|
|
5980 |
$as_echo_n "(cached) " >&6
|
|
5981 |
else
|
|
5982 |
if test "$cross_compiling" = yes; then :
|
|
5983 |
ac_cv_func_malloc_0_nonnull=no
|
|
5984 |
else
|
|
5985 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
5986 |
/* end confdefs.h. */
|
|
5987 |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
|
5988 |
# include <stdlib.h>
|
|
5989 |
#else
|
|
5990 |
char *malloc ();
|
|
5991 |
#endif
|
|
5992 |
|
|
5993 |
int
|
|
5994 |
main ()
|
|
5995 |
{
|
|
5996 |
return ! malloc (0);
|
|
5997 |
;
|
|
5998 |
return 0;
|
|
5999 |
}
|
|
6000 |
_ACEOF
|
|
6001 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
6002 |
ac_cv_func_malloc_0_nonnull=yes
|
|
6003 |
else
|
|
6004 |
ac_cv_func_malloc_0_nonnull=no
|
|
6005 |
fi
|
|
6006 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
6007 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
6008 |
fi
|
|
6009 |
|
|
6010 |
fi
|
|
6011 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
|
|
6012 |
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
|
|
6013 |
if test $ac_cv_func_malloc_0_nonnull = yes; then :
|
|
6014 |
|
|
6015 |
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
|
|
6016 |
|
|
6017 |
else
|
|
6018 |
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
|
|
6019 |
|
|
6020 |
case " $LIBOBJS " in
|
|
6021 |
*" malloc.$ac_objext "* ) ;;
|
|
6022 |
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
|
6023 |
;;
|
|
6024 |
esac
|
|
6025 |
|
|
6026 |
|
|
6027 |
$as_echo "#define malloc rpl_malloc" >>confdefs.h
|
|
6028 |
|
|
6029 |
fi
|
|
6030 |
|
|
6031 |
|
|
6032 |
for ac_header in stdlib.h
|
|
6033 |
do :
|
|
6034 |
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
|
|
6035 |
if test "x$ac_cv_header_stdlib_h" = xyes; then :
|
|
6036 |
cat >>confdefs.h <<_ACEOF
|
|
6037 |
#define HAVE_STDLIB_H 1
|
|
6038 |
_ACEOF
|
|
6039 |
|
|
6040 |
fi
|
|
6041 |
|
|
6042 |
done
|
|
6043 |
|
|
6044 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
|
|
6045 |
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
|
|
6046 |
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
|
|
6047 |
$as_echo_n "(cached) " >&6
|
|
6048 |
else
|
|
6049 |
if test "$cross_compiling" = yes; then :
|
|
6050 |
ac_cv_func_realloc_0_nonnull=no
|
|
6051 |
else
|
|
6052 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6053 |
/* end confdefs.h. */
|
|
6054 |
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
|
|
6055 |
# include <stdlib.h>
|
|
6056 |
#else
|
|
6057 |
char *realloc ();
|
|
6058 |
#endif
|
|
6059 |
|
|
6060 |
int
|
|
6061 |
main ()
|
|
6062 |
{
|
|
6063 |
return ! realloc (0, 0);
|
|
6064 |
;
|
|
6065 |
return 0;
|
|
6066 |
}
|
|
6067 |
_ACEOF
|
|
6068 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
6069 |
ac_cv_func_realloc_0_nonnull=yes
|
|
6070 |
else
|
|
6071 |
ac_cv_func_realloc_0_nonnull=no
|
|
6072 |
fi
|
|
6073 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
6074 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
6075 |
fi
|
|
6076 |
|
|
6077 |
fi
|
|
6078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
|
|
6079 |
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
|
|
6080 |
if test $ac_cv_func_realloc_0_nonnull = yes; then :
|
|
6081 |
|
|
6082 |
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
|
|
6083 |
|
|
6084 |
else
|
|
6085 |
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
|
|
6086 |
|
|
6087 |
case " $LIBOBJS " in
|
|
6088 |
*" realloc.$ac_objext "* ) ;;
|
|
6089 |
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
|
6090 |
;;
|
|
6091 |
esac
|
|
6092 |
|
|
6093 |
|
|
6094 |
$as_echo "#define realloc rpl_realloc" >>confdefs.h
|
|
6095 |
|
|
6096 |
fi
|
|
6097 |
|
|
6098 |
|
|
6099 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strtod" >&5
|
|
6100 |
$as_echo_n "checking for working strtod... " >&6; }
|
|
6101 |
if ${ac_cv_func_strtod+:} false; then :
|
|
6102 |
$as_echo_n "(cached) " >&6
|
|
6103 |
else
|
|
6104 |
if test "$cross_compiling" = yes; then :
|
|
6105 |
ac_cv_func_strtod=no
|
|
6106 |
else
|
|
6107 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6108 |
/* end confdefs.h. */
|
|
6109 |
|
|
6110 |
$ac_includes_default
|
|
6111 |
#ifndef strtod
|
|
6112 |
double strtod ();
|
|
6113 |
#endif
|
|
6114 |
int
|
|
6115 |
main()
|
|
6116 |
{
|
|
6117 |
{
|
|
6118 |
/* Some versions of Linux strtod mis-parse strings with leading '+'. */
|
|
6119 |
char *string = " +69";
|
|
6120 |
char *term;
|
|
6121 |
double value;
|
|
6122 |
value = strtod (string, &term);
|
|
6123 |
if (value != 69 || term != (string + 4))
|
|
6124 |
return 1;
|
|
6125 |
}
|
|
6126 |
|
|
6127 |
{
|
|
6128 |
/* Under Solaris 2.4, strtod returns the wrong value for the
|
|
6129 |
terminating character under some conditions. */
|
|
6130 |
char *string = "NaN";
|
|
6131 |
char *term;
|
|
6132 |
strtod (string, &term);
|
|
6133 |
if (term != string && *(term - 1) == 0)
|
|
6134 |
return 1;
|
|
6135 |
}
|
|
6136 |
return 0;
|
|
6137 |
}
|
|
6138 |
|
|
6139 |
_ACEOF
|
|
6140 |
if ac_fn_c_try_run "$LINENO"; then :
|
|
6141 |
ac_cv_func_strtod=yes
|
|
6142 |
else
|
|
6143 |
ac_cv_func_strtod=no
|
|
6144 |
fi
|
|
6145 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
6146 |
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
6147 |
fi
|
|
6148 |
|
|
6149 |
fi
|
|
6150 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strtod" >&5
|
|
6151 |
$as_echo "$ac_cv_func_strtod" >&6; }
|
|
6152 |
if test $ac_cv_func_strtod = no; then
|
|
6153 |
case " $LIBOBJS " in
|
|
6154 |
*" strtod.$ac_objext "* ) ;;
|
|
6155 |
*) LIBOBJS="$LIBOBJS strtod.$ac_objext"
|
|
6156 |
;;
|
|
6157 |
esac
|
|
6158 |
|
|
6159 |
ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
|
|
6160 |
if test "x$ac_cv_func_pow" = xyes; then :
|
|
6161 |
|
|
6162 |
fi
|
|
6163 |
|
|
6164 |
if test $ac_cv_func_pow = no; then
|
|
6165 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
|
|
6166 |
$as_echo_n "checking for pow in -lm... " >&6; }
|
|
6167 |
if ${ac_cv_lib_m_pow+:} false; then :
|
|
6168 |
$as_echo_n "(cached) " >&6
|
|
6169 |
else
|
|
6170 |
ac_check_lib_save_LIBS=$LIBS
|
|
6171 |
LIBS="-lm $LIBS"
|
|
6172 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
6173 |
/* end confdefs.h. */
|
|
6174 |
|
|
6175 |
/* Override any GCC internal prototype to avoid an error.
|
|
6176 |
Use char because int might match the return type of a GCC
|
|
6177 |
builtin and then its argument prototype would still apply. */
|
|
6178 |
#ifdef __cplusplus
|
|
6179 |
extern "C"
|
|
6180 |
#endif
|
|
6181 |
char pow ();
|
|
6182 |
int
|
|
6183 |
main ()
|
|
6184 |
{
|
|
6185 |
return pow ();
|
|
6186 |
;
|
|
6187 |
return 0;
|
|
6188 |
}
|
|
6189 |
_ACEOF
|
|
6190 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
6191 |
ac_cv_lib_m_pow=yes
|
|
6192 |
else
|
|
6193 |
ac_cv_lib_m_pow=no
|
|
6194 |
fi
|
|
6195 |
rm -f core conftest.err conftest.$ac_objext \
|
|
6196 |
conftest$ac_exeext conftest.$ac_ext
|
5469 | 6197 |
LIBS=$ac_check_lib_save_LIBS
|
5470 | 6198 |
fi
|
5471 | |
{ echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_mixer_main" >&5
|
5472 | |
echo "${ECHO_T}$ac_cv_lib_SDL_mixer_main" >&6; }
|
5473 | |
if test $ac_cv_lib_SDL_mixer_main = yes; then
|
5474 | |
{ echo "$as_me:$LINENO: result: \"SDL_Mixer found\"" >&5
|
5475 | |
echo "${ECHO_T}\"SDL_Mixer found\"" >&6; }
|
5476 | |
else
|
5477 | |
{ echo "$as_me:$LINENO: result: \"SDL_Mixer NOT found: Audio disabled: Please visit http://libsdl.org\"" >&5
|
5478 | |
echo "${ECHO_T}\"SDL_Mixer NOT found: Audio disabled: Please visit http://libsdl.org\"" >&6; }; audio_flag=""; audio_lib=""
|
5479 | |
fi
|
5480 | |
|
5481 | |
|
5482 | |
|
5483 | |
|
5484 | |
|
5485 | |
src_dir="$datadir/games/barrage"
|
5486 | |
|
|
6199 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
|
|
6200 |
$as_echo "$ac_cv_lib_m_pow" >&6; }
|
|
6201 |
if test "x$ac_cv_lib_m_pow" = xyes; then :
|
|
6202 |
POW_LIB=-lm
|
|
6203 |
else
|
|
6204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
|
|
6205 |
$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
|
|
6206 |
fi
|
|
6207 |
|
|
6208 |
fi
|
|
6209 |
|
|
6210 |
fi
|
|
6211 |
|
|
6212 |
for ac_func in memset strchr strdup strrchr
|
|
6213 |
do :
|
|
6214 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
|
6215 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
|
6216 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
|
|
6217 |
cat >>confdefs.h <<_ACEOF
|
|
6218 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
|
6219 |
_ACEOF
|
|
6220 |
|
|
6221 |
fi
|
|
6222 |
done
|
|
6223 |
|
|
6224 |
|
|
6225 |
# Flags
|
|
6226 |
datdir=$datadir/$PACKAGE
|
|
6227 |
hiscoredir=$localstatedir
|
|
6228 |
configdir="~/.config"
|
|
6229 |
debugflags=""
|
5487 | 6230 |
# Check whether --enable-install was given.
|
5488 | |
if test "${enable_install+set}" = set; then
|
5489 | |
enableval=$enable_install; src_dir="."
|
5490 | |
fi
|
5491 | |
|
5492 | |
src_dir_flag="-DSRC_DIR=\\\"$src_dir\\\""
|
5493 | |
|
5494 | |
|
|
6231 |
if test "${enable_install+set}" = set; then :
|
|
6232 |
enableval=$enable_install; datdir="." hiscoredir="." configdir="."
|
|
6233 |
fi
|
|
6234 |
|
|
6235 |
# Check whether --enable-debug was given.
|
|
6236 |
if test "${enable_debug+set}" = set; then :
|
|
6237 |
enableval=$enable_debug; debugflags="-O0 -g"
|
|
6238 |
fi
|
|
6239 |
|
|
6240 |
# Check whether --enable-audio was given.
|
|
6241 |
if test "${enable_audio+set}" = set; then :
|
|
6242 |
enableval=$enable_audio; audio_flag=""; audio_lib=""
|
|
6243 |
fi
|
|
6244 |
|
|
6245 |
|
|
6246 |
|
|
6247 |
|
|
6248 |
CFLAGS="$CFLAGS -Wall -Wno-int-conversion -Wno-format -Wno-implicit-function-declaration"
|
|
6249 |
CFLAGS="$CFLAGS $SDL_CFLAGS $audio_flag $debugflags -DSRC_DIR=\\\"$datdir\\\" -DCONFIGDIRNAME=\\\"$configdir\\\" -DHISCOREDIR=\\\"$hiscoredir\\\""
|
|
6250 |
LIBS="$LIBS -lm $SDL_LIBS $audio_lib"
|
5495 | 6251 |
|
5496 | 6252 |
ac_config_files="$ac_config_files Makefile src/Makefile src/gfx/Makefile src/sounds/Makefile barrage.spec"
|
5497 | 6253 |
|
|
5522 | 6278 |
case $ac_val in #(
|
5523 | 6279 |
*${as_nl}*)
|
5524 | 6280 |
case $ac_var in #(
|
5525 | |
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
|
5526 | |
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
|
|
6281 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
6282 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
5527 | 6283 |
esac
|
5528 | 6284 |
case $ac_var in #(
|
5529 | 6285 |
_ | IFS | as_nl) ;; #(
|
5530 | |
*) $as_unset $ac_var ;;
|
|
6286 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
6287 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
5531 | 6288 |
esac ;;
|
5532 | 6289 |
esac
|
5533 | 6290 |
done
|
|
5535 | 6292 |
(set) 2>&1 |
|
5536 | 6293 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
5537 | 6294 |
*${as_nl}ac_space=\ *)
|
5538 | |
# `set' does not quote correctly, so add quotes (double-quote
|
5539 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
6295 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
6296 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
5540 | 6297 |
sed -n \
|
5541 | 6298 |
"s/'/'\\\\''/g;
|
5542 | 6299 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
|
5558 | 6315 |
:end' >>confcache
|
5559 | 6316 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
5560 | 6317 |
if test -w "$cache_file"; then
|
5561 | |
test "x$cache_file" != "x/dev/null" &&
|
5562 | |
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
|
5563 | |
echo "$as_me: updating cache $cache_file" >&6;}
|
5564 | |
cat confcache >$cache_file
|
|
6318 |
if test "x$cache_file" != "x/dev/null"; then
|
|
6319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
6320 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
|
6321 |
if test ! -f "$cache_file" || test -h "$cache_file"; then
|
|
6322 |
cat confcache >"$cache_file"
|
|
6323 |
else
|
|
6324 |
case $cache_file in #(
|
|
6325 |
*/* | ?:*)
|
|
6326 |
mv -f confcache "$cache_file"$$ &&
|
|
6327 |
mv -f "$cache_file"$$ "$cache_file" ;; #(
|
|
6328 |
*)
|
|
6329 |
mv -f confcache "$cache_file" ;;
|
|
6330 |
esac
|
|
6331 |
fi
|
|
6332 |
fi
|
5565 | 6333 |
else
|
5566 | |
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
|
5567 | |
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
|
6334 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
6335 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
5568 | 6336 |
fi
|
5569 | 6337 |
fi
|
5570 | 6338 |
rm -f confcache
|
|
5577 | 6345 |
|
5578 | 6346 |
ac_libobjs=
|
5579 | 6347 |
ac_ltlibobjs=
|
|
6348 |
U=
|
5580 | 6349 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
5581 | 6350 |
# 1. Remove the extension, and $U if already installed.
|
5582 | 6351 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
5583 | |
ac_i=`echo "$ac_i" | sed "$ac_script"`
|
|
6352 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
5584 | 6353 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
5585 | 6354 |
# will be set to the directory where LIBOBJS objects are built.
|
5586 | |
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
5587 | |
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
|
|
6355 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
6356 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
5588 | 6357 |
done
|
5589 | 6358 |
LIBOBJS=$ac_libobjs
|
5590 | 6359 |
|
5591 | 6360 |
LTLIBOBJS=$ac_ltlibobjs
|
5592 | 6361 |
|
5593 | 6362 |
|
|
6363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
|
|
6364 |
$as_echo_n "checking that generated files are newer than configure... " >&6; }
|
|
6365 |
if test -n "$am_sleep_pid"; then
|
|
6366 |
# Hide warnings about reused PIDs.
|
|
6367 |
wait $am_sleep_pid 2>/dev/null
|
|
6368 |
fi
|
|
6369 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
|
|
6370 |
$as_echo "done" >&6; }
|
|
6371 |
if test -n "$EXEEXT"; then
|
|
6372 |
am__EXEEXT_TRUE=
|
|
6373 |
am__EXEEXT_FALSE='#'
|
|
6374 |
else
|
|
6375 |
am__EXEEXT_TRUE='#'
|
|
6376 |
am__EXEEXT_FALSE=
|
|
6377 |
fi
|
|
6378 |
|
5594 | 6379 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
5595 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
5596 | |
Usually this means the macro was only invoked conditionally." >&5
|
5597 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
5598 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5599 | |
{ (exit 1); exit 1; }; }
|
|
6380 |
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
|
6381 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
5600 | 6382 |
fi
|
5601 | 6383 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
5602 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
5603 | |
Usually this means the macro was only invoked conditionally." >&5
|
5604 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
5605 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
5606 | |
{ (exit 1); exit 1; }; }
|
5607 | |
fi
|
5608 | |
|
5609 | |
: ${CONFIG_STATUS=./config.status}
|
|
6384 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
6385 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
6386 |
fi
|
|
6387 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
|
6388 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
|
6389 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
|
6390 |
fi
|
|
6391 |
|
|
6392 |
: "${CONFIG_STATUS=./config.status}"
|
|
6393 |
ac_write_fail=0
|
5610 | 6394 |
ac_clean_files_save=$ac_clean_files
|
5611 | 6395 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
5612 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
5613 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
5614 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
6396 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
6397 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
6398 |
as_write_fail=0
|
|
6399 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
5615 | 6400 |
#! $SHELL
|
5616 | 6401 |
# Generated by $as_me.
|
5617 | 6402 |
# Run this file to recreate the current configuration.
|
|
5621 | 6406 |
debug=false
|
5622 | 6407 |
ac_cs_recheck=false
|
5623 | 6408 |
ac_cs_silent=false
|
|
6409 |
|
5624 | 6410 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
5625 | |
_ACEOF
|
5626 | |
|
5627 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5628 | |
## --------------------- ##
|
5629 | |
## M4sh Initialization. ##
|
5630 | |
## --------------------- ##
|
|
6411 |
export SHELL
|
|
6412 |
_ASEOF
|
|
6413 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
6414 |
## -------------------- ##
|
|
6415 |
## M4sh Initialization. ##
|
|
6416 |
## -------------------- ##
|
5631 | 6417 |
|
5632 | 6418 |
# Be more Bourne compatible
|
5633 | 6419 |
DUALCASE=1; export DUALCASE # for MKS sh
|
5634 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
6420 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
5635 | 6421 |
emulate sh
|
5636 | 6422 |
NULLCMD=:
|
5637 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
6423 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
5638 | 6424 |
# is contrary to our usage. Disable this feature.
|
5639 | 6425 |
alias -g '${1+"$@"}'='"$@"'
|
5640 | 6426 |
setopt NO_GLOB_SUBST
|
5641 | 6427 |
else
|
5642 | |
case `(set -o) 2>/dev/null` in
|
5643 | |
*posix*) set -o posix ;;
|
|
6428 |
case `(set -o) 2>/dev/null` in #(
|
|
6429 |
*posix*) :
|
|
6430 |
set -o posix ;; #(
|
|
6431 |
*) :
|
|
6432 |
;;
|
5644 | 6433 |
esac
|
5645 | |
|
5646 | |
fi
|
5647 | |
|
5648 | |
|
5649 | |
|
5650 | |
|
5651 | |
# PATH needs CR
|
5652 | |
# Avoid depending upon Character Ranges.
|
5653 | |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
5654 | |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
5655 | |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
5656 | |
as_cr_digits='0123456789'
|
5657 | |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
|
6434 |
fi
|
|
6435 |
|
|
6436 |
|
|
6437 |
as_nl='
|
|
6438 |
'
|
|
6439 |
export as_nl
|
|
6440 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
6441 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
6442 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
6443 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
6444 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
6445 |
# but without wasting forks for bash or zsh.
|
|
6446 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
6447 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
6448 |
as_echo='print -r --'
|
|
6449 |
as_echo_n='print -rn --'
|
|
6450 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
6451 |
as_echo='printf %s\n'
|
|
6452 |
as_echo_n='printf %s'
|
|
6453 |
else
|
|
6454 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
6455 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
6456 |
as_echo_n='/usr/ucb/echo -n'
|
|
6457 |
else
|
|
6458 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
6459 |
as_echo_n_body='eval
|
|
6460 |
arg=$1;
|
|
6461 |
case $arg in #(
|
|
6462 |
*"$as_nl"*)
|
|
6463 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
6464 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
6465 |
esac;
|
|
6466 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
6467 |
'
|
|
6468 |
export as_echo_n_body
|
|
6469 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
6470 |
fi
|
|
6471 |
export as_echo_body
|
|
6472 |
as_echo='sh -c $as_echo_body as_echo'
|
|
6473 |
fi
|
5658 | 6474 |
|
5659 | 6475 |
# The user is always right.
|
5660 | 6476 |
if test "${PATH_SEPARATOR+set}" != set; then
|
5661 | |
echo "#! /bin/sh" >conf$$.sh
|
5662 | |
echo "exit 0" >>conf$$.sh
|
5663 | |
chmod +x conf$$.sh
|
5664 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
5665 | |
PATH_SEPARATOR=';'
|
5666 | |
else
|
5667 | |
PATH_SEPARATOR=:
|
5668 | |
fi
|
5669 | |
rm -f conf$$.sh
|
5670 | |
fi
|
5671 | |
|
5672 | |
# Support unset when possible.
|
5673 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
5674 | |
as_unset=unset
|
5675 | |
else
|
5676 | |
as_unset=false
|
|
6477 |
PATH_SEPARATOR=:
|
|
6478 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
6479 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
6480 |
PATH_SEPARATOR=';'
|
|
6481 |
}
|
5677 | 6482 |
fi
|
5678 | 6483 |
|
5679 | 6484 |
|
|
5682 | 6487 |
# there to prevent editors from complaining about space-tab.
|
5683 | 6488 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
5684 | 6489 |
# splitting by setting IFS to empty value.)
|
5685 | |
as_nl='
|
5686 | |
'
|
5687 | 6490 |
IFS=" "" $as_nl"
|
5688 | 6491 |
|
5689 | 6492 |
# Find who we are. Look in the path if we contain no directory separator.
|
5690 | |
case $0 in
|
|
6493 |
as_myself=
|
|
6494 |
case $0 in #((
|
5691 | 6495 |
*[\\/]* ) as_myself=$0 ;;
|
5692 | 6496 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5693 | 6497 |
for as_dir in $PATH
|
5694 | 6498 |
do
|
5695 | 6499 |
IFS=$as_save_IFS
|
5696 | 6500 |
test -z "$as_dir" && as_dir=.
|
5697 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
5698 | |
done
|
|
6501 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
6502 |
done
|
5699 | 6503 |
IFS=$as_save_IFS
|
5700 | 6504 |
|
5701 | 6505 |
;;
|
|
5706 | 6510 |
as_myself=$0
|
5707 | 6511 |
fi
|
5708 | 6512 |
if test ! -f "$as_myself"; then
|
5709 | |
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
5710 | |
{ (exit 1); exit 1; }
|
5711 | |
fi
|
5712 | |
|
5713 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
5714 | |
for as_var in ENV MAIL MAILPATH
|
5715 | |
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
6513 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
6514 |
exit 1
|
|
6515 |
fi
|
|
6516 |
|
|
6517 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
6518 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
6519 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
6520 |
# trigger a bug in pdksh 5.2.14.
|
|
6521 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
6522 |
do eval test x\${$as_var+set} = xset \
|
|
6523 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
5716 | 6524 |
done
|
5717 | 6525 |
PS1='$ '
|
5718 | 6526 |
PS2='> '
|
5719 | 6527 |
PS4='+ '
|
5720 | 6528 |
|
5721 | 6529 |
# NLS nuisances.
|
5722 | |
for as_var in \
|
5723 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
5724 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
5725 | |
LC_TELEPHONE LC_TIME
|
5726 | |
do
|
5727 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
5728 | |
eval $as_var=C; export $as_var
|
5729 | |
else
|
5730 | |
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
|
|
6530 |
LC_ALL=C
|
|
6531 |
export LC_ALL
|
|
6532 |
LANGUAGE=C
|
|
6533 |
export LANGUAGE
|
|
6534 |
|
|
6535 |
# CDPATH.
|
|
6536 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
6537 |
|
|
6538 |
|
|
6539 |
# as_fn_error STATUS ERROR [LINENO LOG_FD]
|
|
6540 |
# ----------------------------------------
|
|
6541 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
6542 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
6543 |
# script with STATUS, using 1 if that was 0.
|
|
6544 |
as_fn_error ()
|
|
6545 |
{
|
|
6546 |
as_status=$1; test $as_status -eq 0 && as_status=1
|
|
6547 |
if test "$4"; then
|
|
6548 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
6549 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
|
5731 | 6550 |
fi
|
5732 | |
done
|
5733 | |
|
5734 | |
# Required to use basename.
|
|
6551 |
$as_echo "$as_me: error: $2" >&2
|
|
6552 |
as_fn_exit $as_status
|
|
6553 |
} # as_fn_error
|
|
6554 |
|
|
6555 |
|
|
6556 |
# as_fn_set_status STATUS
|
|
6557 |
# -----------------------
|
|
6558 |
# Set $? to STATUS, without forking.
|
|
6559 |
as_fn_set_status ()
|
|
6560 |
{
|
|
6561 |
return $1
|
|
6562 |
} # as_fn_set_status
|
|
6563 |
|
|
6564 |
# as_fn_exit STATUS
|
|
6565 |
# -----------------
|
|
6566 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
6567 |
as_fn_exit ()
|
|
6568 |
{
|
|
6569 |
set +e
|
|
6570 |
as_fn_set_status $1
|
|
6571 |
exit $1
|
|
6572 |
} # as_fn_exit
|
|
6573 |
|
|
6574 |
# as_fn_unset VAR
|
|
6575 |
# ---------------
|
|
6576 |
# Portably unset VAR.
|
|
6577 |
as_fn_unset ()
|
|
6578 |
{
|
|
6579 |
{ eval $1=; unset $1;}
|
|
6580 |
}
|
|
6581 |
as_unset=as_fn_unset
|
|
6582 |
# as_fn_append VAR VALUE
|
|
6583 |
# ----------------------
|
|
6584 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
6585 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
6586 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
6587 |
# implementations.
|
|
6588 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
6589 |
eval 'as_fn_append ()
|
|
6590 |
{
|
|
6591 |
eval $1+=\$2
|
|
6592 |
}'
|
|
6593 |
else
|
|
6594 |
as_fn_append ()
|
|
6595 |
{
|
|
6596 |
eval $1=\$$1\$2
|
|
6597 |
}
|
|
6598 |
fi # as_fn_append
|
|
6599 |
|
|
6600 |
# as_fn_arith ARG...
|
|
6601 |
# ------------------
|
|
6602 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
6603 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
6604 |
# must be portable across $(()) and expr.
|
|
6605 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
6606 |
eval 'as_fn_arith ()
|
|
6607 |
{
|
|
6608 |
as_val=$(( $* ))
|
|
6609 |
}'
|
|
6610 |
else
|
|
6611 |
as_fn_arith ()
|
|
6612 |
{
|
|
6613 |
as_val=`expr "$@" || test $? -eq 1`
|
|
6614 |
}
|
|
6615 |
fi # as_fn_arith
|
|
6616 |
|
|
6617 |
|
5735 | 6618 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5736 | 6619 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5737 | 6620 |
as_expr=expr
|
|
5745 | 6628 |
as_basename=false
|
5746 | 6629 |
fi
|
5747 | 6630 |
|
5748 | |
|
5749 | |
# Name of the executable.
|
|
6631 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
6632 |
as_dirname=dirname
|
|
6633 |
else
|
|
6634 |
as_dirname=false
|
|
6635 |
fi
|
|
6636 |
|
5750 | 6637 |
as_me=`$as_basename -- "$0" ||
|
5751 | 6638 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
5752 | 6639 |
X"$0" : 'X\(//\)$' \| \
|
5753 | 6640 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
5754 | |
echo X/"$0" |
|
|
6641 |
$as_echo X/"$0" |
|
5755 | 6642 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
5756 | 6643 |
s//\1/
|
5757 | 6644 |
q
|
|
5766 | 6653 |
}
|
5767 | 6654 |
s/.*/./; q'`
|
5768 | 6655 |
|
5769 | |
# CDPATH.
|
5770 | |
$as_unset CDPATH
|
5771 | |
|
5772 | |
|
5773 | |
|
5774 | |
as_lineno_1=$LINENO
|
5775 | |
as_lineno_2=$LINENO
|
5776 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
5777 | |
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
|
5778 | |
|
5779 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
5780 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
5781 | |
# line-number line after each line using $LINENO; the second 'sed'
|
5782 | |
# does the real work. The second script uses 'N' to pair each
|
5783 | |
# line-number line with the line containing $LINENO, and appends
|
5784 | |
# trailing '-' during substitution so that $LINENO is not a special
|
5785 | |
# case at line end.
|
5786 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
5787 | |
# scripts with optimization help from Paolo Bonzini. Blame Lee
|
5788 | |
# E. McMahon (1931-1989) for sed's syntax. :-)
|
5789 | |
sed -n '
|
5790 | |
p
|
5791 | |
/[$]LINENO/=
|
5792 | |
' <$as_myself |
|
5793 | |
sed '
|
5794 | |
s/[$]LINENO.*/&-/
|
5795 | |
t lineno
|
5796 | |
b
|
5797 | |
:lineno
|
5798 | |
N
|
5799 | |
:loop
|
5800 | |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
5801 | |
t loop
|
5802 | |
s/-\n.*//
|
5803 | |
' >$as_me.lineno &&
|
5804 | |
chmod +x "$as_me.lineno" ||
|
5805 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
5806 | |
{ (exit 1); exit 1; }; }
|
5807 | |
|
5808 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
5809 | |
# (the dirname of $[0] is not the place where we might find the
|
5810 | |
# original and so on. Autoconf is especially sensitive to this).
|
5811 | |
. "./$as_me.lineno"
|
5812 | |
# Exit status is that of the last command.
|
5813 | |
exit
|
5814 | |
}
|
5815 | |
|
5816 | |
|
5817 | |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
5818 | |
as_dirname=dirname
|
5819 | |
else
|
5820 | |
as_dirname=false
|
5821 | |
fi
|
|
6656 |
# Avoid depending upon Character Ranges.
|
|
6657 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
|
6658 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
6659 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
|
6660 |
as_cr_digits='0123456789'
|
|
6661 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
5822 | 6662 |
|
5823 | 6663 |
ECHO_C= ECHO_N= ECHO_T=
|
5824 | |
case `echo -n x` in
|
|
6664 |
case `echo -n x` in #(((((
|
5825 | 6665 |
-n*)
|
5826 | |
case `echo 'x\c'` in
|
|
6666 |
case `echo 'xy\c'` in
|
5827 | 6667 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
5828 | |
*) ECHO_C='\c';;
|
|
6668 |
xy) ECHO_C='\c';;
|
|
6669 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
6670 |
ECHO_T=' ';;
|
5829 | 6671 |
esac;;
|
5830 | 6672 |
*)
|
5831 | 6673 |
ECHO_N='-n';;
|
5832 | 6674 |
esac
|
5833 | 6675 |
|
5834 | |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
5835 | |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
5836 | |
as_expr=expr
|
5837 | |
else
|
5838 | |
as_expr=false
|
5839 | |
fi
|
5840 | |
|
5841 | 6676 |
rm -f conf$$ conf$$.exe conf$$.file
|
5842 | 6677 |
if test -d conf$$.dir; then
|
5843 | 6678 |
rm -f conf$$.dir/conf$$.file
|
5844 | 6679 |
else
|
5845 | 6680 |
rm -f conf$$.dir
|
5846 | |
mkdir conf$$.dir
|
5847 | |
fi
|
5848 | |
echo >conf$$.file
|
5849 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
5850 | |
as_ln_s='ln -s'
|
5851 | |
# ... but there are two gotchas:
|
5852 | |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
5853 | |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
5854 | |
# In both cases, we have to default to `cp -p'.
|
5855 | |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
5856 | |
as_ln_s='cp -p'
|
5857 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
5858 | |
as_ln_s=ln
|
5859 | |
else
|
5860 | |
as_ln_s='cp -p'
|
|
6681 |
mkdir conf$$.dir 2>/dev/null
|
|
6682 |
fi
|
|
6683 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
6684 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
6685 |
as_ln_s='ln -s'
|
|
6686 |
# ... but there are two gotchas:
|
|
6687 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
6688 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
6689 |
# In both cases, we have to default to `cp -pR'.
|
|
6690 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
6691 |
as_ln_s='cp -pR'
|
|
6692 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
6693 |
as_ln_s=ln
|
|
6694 |
else
|
|
6695 |
as_ln_s='cp -pR'
|
|
6696 |
fi
|
|
6697 |
else
|
|
6698 |
as_ln_s='cp -pR'
|
5861 | 6699 |
fi
|
5862 | 6700 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
5863 | 6701 |
rmdir conf$$.dir 2>/dev/null
|
5864 | 6702 |
|
5865 | |
if mkdir -p . 2>/dev/null; then
|
5866 | |
as_mkdir_p=:
|
5867 | |
else
|
5868 | |
test -d ./-p && rmdir ./-p
|
5869 | |
as_mkdir_p=false
|
5870 | |
fi
|
5871 | |
|
5872 | |
if test -x / >/dev/null 2>&1; then
|
5873 | |
as_test_x='test -x'
|
5874 | |
else
|
5875 | |
if ls -dL / >/dev/null 2>&1; then
|
5876 | |
as_ls_L_option=L
|
5877 | |
else
|
5878 | |
as_ls_L_option=
|
5879 | |
fi
|
5880 | |
as_test_x='
|
5881 | |
eval sh -c '\''
|
5882 | |
if test -d "$1"; then
|
5883 | |
test -d "$1/.";
|
5884 | |
else
|
5885 | |
case $1 in
|
5886 | |
-*)set "./$1";;
|
5887 | |
esac;
|
5888 | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
|
5889 | |
???[sx]*):;;*)false;;esac;fi
|
5890 | |
'\'' sh
|
5891 | |
'
|
5892 | |
fi
|
5893 | |
as_executable_p=$as_test_x
|
5894 | |
|
5895 | |
# Sed expression to map a string onto a valid CPP name.
|
5896 | |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
5897 | |
|
5898 | |
# Sed expression to map a string onto a valid variable name.
|
5899 | |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
5900 | |
|
5901 | |
|
5902 | |
exec 6>&1
|
5903 | |
|
5904 | |
# Save the log message, to keep $[0] and so on meaningful, and to
|
5905 | |
# report actual input values of CONFIG_FILES etc. instead of their
|
5906 | |
# values after options handling.
|
5907 | |
ac_log="
|
5908 | |
This file was extended by $as_me, which was
|
5909 | |
generated by GNU Autoconf 2.61. Invocation command line was
|
5910 | |
|
5911 | |
CONFIG_FILES = $CONFIG_FILES
|
5912 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
5913 | |
CONFIG_LINKS = $CONFIG_LINKS
|
5914 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
5915 | |
$ $0 $@
|
5916 | |
|
5917 | |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
5918 | |
"
|
5919 | |
|
5920 | |
_ACEOF
|
5921 | |
|
5922 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
5923 | |
# Files that config.status was made for.
|
5924 | |
config_files="$ac_config_files"
|
5925 | |
config_headers="$ac_config_headers"
|
5926 | |
config_commands="$ac_config_commands"
|
5927 | |
|
5928 | |
_ACEOF
|
5929 | |
|
5930 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5931 | |
ac_cs_usage="\
|
5932 | |
\`$as_me' instantiates files from templates according to the
|
5933 | |
current configuration.
|
5934 | |
|
5935 | |
Usage: $0 [OPTIONS] [FILE]...
|
5936 | |
|
5937 | |
-h, --help print this help, then exit
|
5938 | |
-V, --version print version number and configuration settings, then exit
|
5939 | |
-q, --quiet do not print progress messages
|
5940 | |
-d, --debug don't remove temporary files
|
5941 | |
--recheck update $as_me by reconfiguring in the same conditions
|
5942 | |
--file=FILE[:TEMPLATE]
|
5943 | |
instantiate the configuration file FILE
|
5944 | |
--header=FILE[:TEMPLATE]
|
5945 | |
instantiate the configuration header FILE
|
5946 | |
|
5947 | |
Configuration files:
|
5948 | |
$config_files
|
5949 | |
|
5950 | |
Configuration headers:
|
5951 | |
$config_headers
|
5952 | |
|
5953 | |
Configuration commands:
|
5954 | |
$config_commands
|
5955 | |
|
5956 | |
Report bugs to <bug-autoconf@gnu.org>."
|
5957 | |
|
5958 | |
_ACEOF
|
5959 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
5960 | |
ac_cs_version="\\
|
5961 | |
config.status
|
5962 | |
configured by $0, generated by GNU Autoconf 2.61,
|
5963 | |
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
5964 | |
|
5965 | |
Copyright (C) 2006 Free Software Foundation, Inc.
|
5966 | |
This config.status script is free software; the Free Software Foundation
|
5967 | |
gives unlimited permission to copy, distribute and modify it."
|
5968 | |
|
5969 | |
ac_pwd='$ac_pwd'
|
5970 | |
srcdir='$srcdir'
|
5971 | |
INSTALL='$INSTALL'
|
5972 | |
_ACEOF
|
5973 | |
|
5974 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
5975 | |
# If no file are specified by the user, then we need to provide default
|
5976 | |
# value. By we need to know if files were specified by the user.
|
5977 | |
ac_need_defaults=:
|
5978 | |
while test $# != 0
|
5979 | |
do
|
5980 | |
case $1 in
|
5981 | |
--*=*)
|
5982 | |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
5983 | |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
5984 | |
ac_shift=:
|
5985 | |
;;
|
5986 | |
*)
|
5987 | |
ac_option=$1
|
5988 | |
ac_optarg=$2
|
5989 | |
ac_shift=shift
|
5990 | |
;;
|
5991 | |
esac
|
5992 | |
|
5993 | |
case $ac_option in
|
5994 | |
# Handling of the options.
|
5995 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
5996 | |
ac_cs_recheck=: ;;
|
5997 | |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
5998 | |
echo "$ac_cs_version"; exit ;;
|
5999 | |
--debug | --debu | --deb | --de | --d | -d )
|
6000 | |
debug=: ;;
|
6001 | |
--file | --fil | --fi | --f )
|
6002 | |
$ac_shift
|
6003 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
6004 | |
ac_need_defaults=false;;
|
6005 | |
--header | --heade | --head | --hea )
|
6006 | |
$ac_shift
|
6007 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
6008 | |
ac_need_defaults=false;;
|
6009 | |
--he | --h)
|
6010 | |
# Conflict between --help and --header
|
6011 | |
{ echo "$as_me: error: ambiguous option: $1
|
6012 | |
Try \`$0 --help' for more information." >&2
|
6013 | |
{ (exit 1); exit 1; }; };;
|
6014 | |
--help | --hel | -h )
|
6015 | |
echo "$ac_cs_usage"; exit ;;
|
6016 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
6017 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
6018 | |
ac_cs_silent=: ;;
|
6019 | |
|
6020 | |
# This is an error.
|
6021 | |
-*) { echo "$as_me: error: unrecognized option: $1
|
6022 | |
Try \`$0 --help' for more information." >&2
|
6023 | |
{ (exit 1); exit 1; }; } ;;
|
6024 | |
|
6025 | |
*) ac_config_targets="$ac_config_targets $1"
|
6026 | |
ac_need_defaults=false ;;
|
6027 | |
|
6028 | |
esac
|
6029 | |
shift
|
6030 | |
done
|
6031 | |
|
6032 | |
ac_configure_extra_args=
|
6033 | |
|
6034 | |
if $ac_cs_silent; then
|
6035 | |
exec 6>/dev/null
|
6036 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
6037 | |
fi
|
6038 | |
|
6039 | |
_ACEOF
|
6040 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6041 | |
if \$ac_cs_recheck; then
|
6042 | |
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
6043 | |
CONFIG_SHELL=$SHELL
|
6044 | |
export CONFIG_SHELL
|
6045 | |
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
6046 | |
fi
|
6047 | |
|
6048 | |
_ACEOF
|
6049 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6050 | |
exec 5>>config.log
|
|
6703 |
|
|
6704 |
# as_fn_mkdir_p
|
|
6705 |
# -------------
|
|
6706 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
6707 |
as_fn_mkdir_p ()
|
6051 | 6708 |
{
|
6052 | |
echo
|
6053 | |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
6054 | |
## Running $as_me. ##
|
6055 | |
_ASBOX
|
6056 | |
echo "$ac_log"
|
6057 | |
} >&5
|
6058 | |
|
6059 | |
_ACEOF
|
6060 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6061 | |
#
|
6062 | |
# INIT-COMMANDS
|
6063 | |
#
|
6064 | |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
6065 | |
|
6066 | |
_ACEOF
|
6067 | |
|
6068 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6069 | |
|
6070 | |
# Handling of arguments.
|
6071 | |
for ac_config_target in $ac_config_targets
|
6072 | |
do
|
6073 | |
case $ac_config_target in
|
6074 | |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
6075 | |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
6076 | |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
6077 | |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
6078 | |
"src/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES src/gfx/Makefile" ;;
|
6079 | |
"src/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
|
6080 | |
"barrage.spec") CONFIG_FILES="$CONFIG_FILES barrage.spec" ;;
|
6081 | |
|
6082 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
6083 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
6084 | |
{ (exit 1); exit 1; }; };;
|
6085 | |
esac
|
6086 | |
done
|
6087 | |
|
6088 | |
|
6089 | |
# If the user did not use the arguments to specify the items to instantiate,
|
6090 | |
# then the envvar interface is used. Set only those that are not.
|
6091 | |
# We use the long form for the default assignment because of an extremely
|
6092 | |
# bizarre bug on SunOS 4.1.3.
|
6093 | |
if $ac_need_defaults; then
|
6094 | |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
6095 | |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
6096 | |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
6097 | |
fi
|
6098 | |
|
6099 | |
# Have a temporary directory for convenience. Make it in the build tree
|
6100 | |
# simply because there is no reason against having it here, and in addition,
|
6101 | |
# creating and moving files from /tmp can sometimes cause problems.
|
6102 | |
# Hook for its removal unless debugging.
|
6103 | |
# Note that there is a small window in which the directory will not be cleaned:
|
6104 | |
# after its creation but before its name has been assigned to `$tmp'.
|
6105 | |
$debug ||
|
6106 | |
{
|
6107 | |
tmp=
|
6108 | |
trap 'exit_status=$?
|
6109 | |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
6110 | |
' 0
|
6111 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
6112 | |
}
|
6113 | |
# Create a (secure) tmp directory for tmp files.
|
6114 | |
|
6115 | |
{
|
6116 | |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
6117 | |
test -n "$tmp" && test -d "$tmp"
|
6118 | |
} ||
|
6119 | |
{
|
6120 | |
tmp=./conf$$-$RANDOM
|
6121 | |
(umask 077 && mkdir "$tmp")
|
6122 | |
} ||
|
6123 | |
{
|
6124 | |
echo "$me: cannot create a temporary directory in ." >&2
|
6125 | |
{ (exit 1); exit 1; }
|
6126 | |
}
|
6127 | |
|
6128 | |
#
|
6129 | |
# Set up the sed scripts for CONFIG_FILES section.
|
6130 | |
#
|
6131 | |
|
6132 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
6133 | |
# This happens for instance when ./config.status config.h
|
6134 | |
if test -n "$CONFIG_FILES"; then
|
6135 | |
|
6136 | |
_ACEOF
|
6137 | |
|
6138 | |
|
6139 | |
|
6140 | |
ac_delim='%!_!# '
|
6141 | |
for ac_last_try in false false false false false :; do
|
6142 | |
cat >conf$$subs.sed <<_ACEOF
|
6143 | |
SHELL!$SHELL$ac_delim
|
6144 | |
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
|
6145 | |
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
|
6146 | |
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
|
6147 | |
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
|
6148 | |
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
|
6149 | |
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
|
6150 | |
exec_prefix!$exec_prefix$ac_delim
|
6151 | |
prefix!$prefix$ac_delim
|
6152 | |
program_transform_name!$program_transform_name$ac_delim
|
6153 | |
bindir!$bindir$ac_delim
|
6154 | |
sbindir!$sbindir$ac_delim
|
6155 | |
libexecdir!$libexecdir$ac_delim
|
6156 | |
datarootdir!$datarootdir$ac_delim
|
6157 | |
datadir!$datadir$ac_delim
|
6158 | |
sysconfdir!$sysconfdir$ac_delim
|
6159 | |
sharedstatedir!$sharedstatedir$ac_delim
|
6160 | |
localstatedir!$localstatedir$ac_delim
|
6161 | |
includedir!$includedir$ac_delim
|
6162 | |
oldincludedir!$oldincludedir$ac_delim
|
6163 | |
docdir!$docdir$ac_delim
|
6164 | |
infodir!$infodir$ac_delim
|
6165 | |
htmldir!$htmldir$ac_delim
|
6166 | |
dvidir!$dvidir$ac_delim
|
6167 | |
pdfdir!$pdfdir$ac_delim
|
6168 | |
psdir!$psdir$ac_delim
|
6169 | |
libdir!$libdir$ac_delim
|
6170 | |
localedir!$localedir$ac_delim
|
6171 | |
mandir!$mandir$ac_delim
|
6172 | |
DEFS!$DEFS$ac_delim
|
6173 | |
ECHO_C!$ECHO_C$ac_delim
|
6174 | |
ECHO_N!$ECHO_N$ac_delim
|
6175 | |
ECHO_T!$ECHO_T$ac_delim
|
6176 | |
LIBS!$LIBS$ac_delim
|
6177 | |
build_alias!$build_alias$ac_delim
|
6178 | |
host_alias!$host_alias$ac_delim
|
6179 | |
target_alias!$target_alias$ac_delim
|
6180 | |
build!$build$ac_delim
|
6181 | |
build_cpu!$build_cpu$ac_delim
|
6182 | |
build_vendor!$build_vendor$ac_delim
|
6183 | |
build_os!$build_os$ac_delim
|
6184 | |
host!$host$ac_delim
|
6185 | |
host_cpu!$host_cpu$ac_delim
|
6186 | |
host_vendor!$host_vendor$ac_delim
|
6187 | |
host_os!$host_os$ac_delim
|
6188 | |
target!$target$ac_delim
|
6189 | |
target_cpu!$target_cpu$ac_delim
|
6190 | |
target_vendor!$target_vendor$ac_delim
|
6191 | |
target_os!$target_os$ac_delim
|
6192 | |
CC!$CC$ac_delim
|
6193 | |
CFLAGS!$CFLAGS$ac_delim
|
6194 | |
LDFLAGS!$LDFLAGS$ac_delim
|
6195 | |
CPPFLAGS!$CPPFLAGS$ac_delim
|
6196 | |
ac_ct_CC!$ac_ct_CC$ac_delim
|
6197 | |
EXEEXT!$EXEEXT$ac_delim
|
6198 | |
OBJEXT!$OBJEXT$ac_delim
|
6199 | |
CPP!$CPP$ac_delim
|
6200 | |
GREP!$GREP$ac_delim
|
6201 | |
EGREP!$EGREP$ac_delim
|
6202 | |
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
|
6203 | |
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
|
6204 | |
INSTALL_DATA!$INSTALL_DATA$ac_delim
|
6205 | |
CYGPATH_W!$CYGPATH_W$ac_delim
|
6206 | |
PACKAGE!$PACKAGE$ac_delim
|
6207 | |
VERSION!$VERSION$ac_delim
|
6208 | |
ACLOCAL!$ACLOCAL$ac_delim
|
6209 | |
AUTOCONF!$AUTOCONF$ac_delim
|
6210 | |
AUTOMAKE!$AUTOMAKE$ac_delim
|
6211 | |
AUTOHEADER!$AUTOHEADER$ac_delim
|
6212 | |
MAKEINFO!$MAKEINFO$ac_delim
|
6213 | |
install_sh!$install_sh$ac_delim
|
6214 | |
STRIP!$STRIP$ac_delim
|
6215 | |
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
|
6216 | |
mkdir_p!$mkdir_p$ac_delim
|
6217 | |
AWK!$AWK$ac_delim
|
6218 | |
SET_MAKE!$SET_MAKE$ac_delim
|
6219 | |
am__leading_dot!$am__leading_dot$ac_delim
|
6220 | |
AMTAR!$AMTAR$ac_delim
|
6221 | |
am__tar!$am__tar$ac_delim
|
6222 | |
am__untar!$am__untar$ac_delim
|
6223 | |
DEPDIR!$DEPDIR$ac_delim
|
6224 | |
am__include!$am__include$ac_delim
|
6225 | |
am__quote!$am__quote$ac_delim
|
6226 | |
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
|
6227 | |
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
|
6228 | |
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
|
6229 | |
CCDEPMODE!$CCDEPMODE$ac_delim
|
6230 | |
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
|
6231 | |
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
|
6232 | |
RANLIB!$RANLIB$ac_delim
|
6233 | |
SDL_CONFIG!$SDL_CONFIG$ac_delim
|
6234 | |
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
|
6235 | |
SDL_LIBS!$SDL_LIBS$ac_delim
|
6236 | |
audio_flag!$audio_flag$ac_delim
|
6237 | |
audio_lib!$audio_lib$ac_delim
|
6238 | |
src_dir!$src_dir$ac_delim
|
6239 | |
src_dir_flag!$src_dir_flag$ac_delim
|
6240 | |
_ACEOF
|
6241 | |
|
6242 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
6243 | |
break
|
6244 | |
elif $ac_last_try; then
|
6245 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6246 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6247 | |
{ (exit 1); exit 1; }; }
|
6248 | |
else
|
6249 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6250 | |
fi
|
6251 | |
done
|
6252 | |
|
6253 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
6254 | |
if test -n "$ac_eof"; then
|
6255 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
6256 | |
ac_eof=`expr $ac_eof + 1`
|
6257 | |
fi
|
6258 | |
|
6259 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6260 | |
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
|
6261 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
6262 | |
_ACEOF
|
6263 | |
sed '
|
6264 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
6265 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
6266 | |
:n
|
6267 | |
t n
|
6268 | |
s/'"$ac_delim"'$/,g/; t
|
6269 | |
s/$/\\/; p
|
6270 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
6271 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
6272 | |
rm -f conf$$subs.sed
|
6273 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6274 | |
CEOF$ac_eof
|
6275 | |
_ACEOF
|
6276 | |
|
6277 | |
|
6278 | |
ac_delim='%!_!# '
|
6279 | |
for ac_last_try in false false false false false :; do
|
6280 | |
cat >conf$$subs.sed <<_ACEOF
|
6281 | |
LIBOBJS!$LIBOBJS$ac_delim
|
6282 | |
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
6283 | |
_ACEOF
|
6284 | |
|
6285 | |
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 2; then
|
6286 | |
break
|
6287 | |
elif $ac_last_try; then
|
6288 | |
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
6289 | |
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
|
6290 | |
{ (exit 1); exit 1; }; }
|
6291 | |
else
|
6292 | |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
6293 | |
fi
|
6294 | |
done
|
6295 | |
|
6296 | |
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
|
6297 | |
if test -n "$ac_eof"; then
|
6298 | |
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
|
6299 | |
ac_eof=`expr $ac_eof + 1`
|
6300 | |
fi
|
6301 | |
|
6302 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6303 | |
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
|
6304 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
|
6305 | |
_ACEOF
|
6306 | |
sed '
|
6307 | |
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
|
6308 | |
s/^/s,@/; s/!/@,|#_!!_#|/
|
6309 | |
:n
|
6310 | |
t n
|
6311 | |
s/'"$ac_delim"'$/,g/; t
|
6312 | |
s/$/\\/; p
|
6313 | |
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
|
6314 | |
' >>$CONFIG_STATUS <conf$$subs.sed
|
6315 | |
rm -f conf$$subs.sed
|
6316 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6317 | |
:end
|
6318 | |
s/|#_!!_#|//g
|
6319 | |
CEOF$ac_eof
|
6320 | |
_ACEOF
|
6321 | |
|
6322 | |
|
6323 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
6324 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
6325 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
6326 | |
# (actually we leave an empty line to preserve line numbers).
|
6327 | |
if test "x$srcdir" = x.; then
|
6328 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
6329 | |
s/:*\$(srcdir):*/:/
|
6330 | |
s/:*\${srcdir}:*/:/
|
6331 | |
s/:*@srcdir@:*/:/
|
6332 | |
s/^\([^=]*=[ ]*\):*/\1/
|
6333 | |
s/:*$//
|
6334 | |
s/^[^=]*=[ ]*$//
|
6335 | |
}'
|
6336 | |
fi
|
6337 | |
|
6338 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6339 | |
fi # test -n "$CONFIG_FILES"
|
6340 | |
|
6341 | |
|
6342 | |
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
|
6343 | |
do
|
6344 | |
case $ac_tag in
|
6345 | |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
6346 | |
esac
|
6347 | |
case $ac_mode$ac_tag in
|
6348 | |
:[FHL]*:*);;
|
6349 | |
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
|
6350 | |
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
|
6351 | |
{ (exit 1); exit 1; }; };;
|
6352 | |
:[FH]-) ac_tag=-:-;;
|
6353 | |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
6354 | |
esac
|
6355 | |
ac_save_IFS=$IFS
|
6356 | |
IFS=:
|
6357 | |
set x $ac_tag
|
6358 | |
IFS=$ac_save_IFS
|
6359 | |
shift
|
6360 | |
ac_file=$1
|
6361 | |
shift
|
6362 | |
|
6363 | |
case $ac_mode in
|
6364 | |
:L) ac_source=$1;;
|
6365 | |
:[FH])
|
6366 | |
ac_file_inputs=
|
6367 | |
for ac_f
|
6368 | |
do
|
6369 | |
case $ac_f in
|
6370 | |
-) ac_f="$tmp/stdin";;
|
6371 | |
*) # Look for the file first in the build tree, then in the source tree
|
6372 | |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
6373 | |
# because $ac_f cannot contain `:'.
|
6374 | |
test -f "$ac_f" ||
|
6375 | |
case $ac_f in
|
6376 | |
[\\/$]*) false;;
|
6377 | |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
6378 | |
esac ||
|
6379 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
|
6380 | |
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
|
6381 | |
{ (exit 1); exit 1; }; };;
|
6382 | |
esac
|
6383 | |
ac_file_inputs="$ac_file_inputs $ac_f"
|
6384 | |
done
|
6385 | |
|
6386 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
6387 | |
# use $as_me), people would be surprised to read:
|
6388 | |
# /* config.h. Generated by config.status. */
|
6389 | |
configure_input="Generated from "`IFS=:
|
6390 | |
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
|
6391 | |
if test x"$ac_file" != x-; then
|
6392 | |
configure_input="$ac_file. $configure_input"
|
6393 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
6394 | |
echo "$as_me: creating $ac_file" >&6;}
|
6395 | |
fi
|
6396 | |
|
6397 | |
case $ac_tag in
|
6398 | |
*:-:* | *:-) cat >"$tmp/stdin";;
|
6399 | |
esac
|
6400 | |
;;
|
6401 | |
esac
|
6402 | |
|
6403 | |
ac_dir=`$as_dirname -- "$ac_file" ||
|
6404 | |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6405 | |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
6406 | |
X"$ac_file" : 'X\(//\)$' \| \
|
6407 | |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
6408 | |
echo X"$ac_file" |
|
6409 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6410 | |
s//\1/
|
6411 | |
q
|
6412 | |
}
|
6413 | |
/^X\(\/\/\)[^/].*/{
|
6414 | |
s//\1/
|
6415 | |
q
|
6416 | |
}
|
6417 | |
/^X\(\/\/\)$/{
|
6418 | |
s//\1/
|
6419 | |
q
|
6420 | |
}
|
6421 | |
/^X\(\/\).*/{
|
6422 | |
s//\1/
|
6423 | |
q
|
6424 | |
}
|
6425 | |
s/.*/./; q'`
|
6426 | |
{ as_dir="$ac_dir"
|
|
6709 |
|
6427 | 6710 |
case $as_dir in #(
|
6428 | 6711 |
-*) as_dir=./$as_dir;;
|
6429 | 6712 |
esac
|
6430 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
|
6713 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
6431 | 6714 |
as_dirs=
|
6432 | 6715 |
while :; do
|
6433 | 6716 |
case $as_dir in #(
|
6434 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
|
6717 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
6435 | 6718 |
*) as_qdir=$as_dir;;
|
6436 | 6719 |
esac
|
6437 | 6720 |
as_dirs="'$as_qdir' $as_dirs"
|
|
6440 | 6723 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6441 | 6724 |
X"$as_dir" : 'X\(//\)$' \| \
|
6442 | 6725 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6443 | |
echo X"$as_dir" |
|
|
6726 |
$as_echo X"$as_dir" |
|
6444 | 6727 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6445 | 6728 |
s//\1/
|
6446 | 6729 |
q
|
|
6461 | 6744 |
test -d "$as_dir" && break
|
6462 | 6745 |
done
|
6463 | 6746 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6464 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6465 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6466 | |
{ (exit 1); exit 1; }; }; }
|
|
6747 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
|
|
6748 |
|
|
6749 |
|
|
6750 |
} # as_fn_mkdir_p
|
|
6751 |
if mkdir -p . 2>/dev/null; then
|
|
6752 |
as_mkdir_p='mkdir -p "$as_dir"'
|
|
6753 |
else
|
|
6754 |
test -d ./-p && rmdir ./-p
|
|
6755 |
as_mkdir_p=false
|
|
6756 |
fi
|
|
6757 |
|
|
6758 |
|
|
6759 |
# as_fn_executable_p FILE
|
|
6760 |
# -----------------------
|
|
6761 |
# Test if FILE is an executable regular file.
|
|
6762 |
as_fn_executable_p ()
|
|
6763 |
{
|
|
6764 |
test -f "$1" && test -x "$1"
|
|
6765 |
} # as_fn_executable_p
|
|
6766 |
as_test_x='test -x'
|
|
6767 |
as_executable_p=as_fn_executable_p
|
|
6768 |
|
|
6769 |
# Sed expression to map a string onto a valid CPP name.
|
|
6770 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
6771 |
|
|
6772 |
# Sed expression to map a string onto a valid variable name.
|
|
6773 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
|
6774 |
|
|
6775 |
|
|
6776 |
exec 6>&1
|
|
6777 |
## ----------------------------------- ##
|
|
6778 |
## Main body of $CONFIG_STATUS script. ##
|
|
6779 |
## ----------------------------------- ##
|
|
6780 |
_ASEOF
|
|
6781 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
6782 |
|
|
6783 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6784 |
# Save the log message, to keep $0 and so on meaningful, and to
|
|
6785 |
# report actual input values of CONFIG_FILES etc. instead of their
|
|
6786 |
# values after options handling.
|
|
6787 |
ac_log="
|
|
6788 |
This file was extended by barrage $as_me 1.0.5, which was
|
|
6789 |
generated by GNU Autoconf 2.69. Invocation command line was
|
|
6790 |
|
|
6791 |
CONFIG_FILES = $CONFIG_FILES
|
|
6792 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
6793 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
6794 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
6795 |
$ $0 $@
|
|
6796 |
|
|
6797 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
6798 |
"
|
|
6799 |
|
|
6800 |
_ACEOF
|
|
6801 |
|
|
6802 |
case $ac_config_files in *"
|
|
6803 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
6804 |
esac
|
|
6805 |
|
|
6806 |
case $ac_config_headers in *"
|
|
6807 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
|
6808 |
esac
|
|
6809 |
|
|
6810 |
|
|
6811 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6812 |
# Files that config.status was made for.
|
|
6813 |
config_files="$ac_config_files"
|
|
6814 |
config_headers="$ac_config_headers"
|
|
6815 |
config_commands="$ac_config_commands"
|
|
6816 |
|
|
6817 |
_ACEOF
|
|
6818 |
|
|
6819 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6820 |
ac_cs_usage="\
|
|
6821 |
\`$as_me' instantiates files and other configuration actions
|
|
6822 |
from templates according to the current configuration. Unless the files
|
|
6823 |
and actions are specified as TAGs, all are instantiated by default.
|
|
6824 |
|
|
6825 |
Usage: $0 [OPTION]... [TAG]...
|
|
6826 |
|
|
6827 |
-h, --help print this help, then exit
|
|
6828 |
-V, --version print version number and configuration settings, then exit
|
|
6829 |
--config print configuration, then exit
|
|
6830 |
-q, --quiet, --silent
|
|
6831 |
do not print progress messages
|
|
6832 |
-d, --debug don't remove temporary files
|
|
6833 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
6834 |
--file=FILE[:TEMPLATE]
|
|
6835 |
instantiate the configuration file FILE
|
|
6836 |
--header=FILE[:TEMPLATE]
|
|
6837 |
instantiate the configuration header FILE
|
|
6838 |
|
|
6839 |
Configuration files:
|
|
6840 |
$config_files
|
|
6841 |
|
|
6842 |
Configuration headers:
|
|
6843 |
$config_headers
|
|
6844 |
|
|
6845 |
Configuration commands:
|
|
6846 |
$config_commands
|
|
6847 |
|
|
6848 |
Report bugs to the package provider."
|
|
6849 |
|
|
6850 |
_ACEOF
|
|
6851 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6852 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
|
6853 |
ac_cs_version="\\
|
|
6854 |
barrage config.status 1.0.5
|
|
6855 |
configured by $0, generated by GNU Autoconf 2.69,
|
|
6856 |
with options \\"\$ac_cs_config\\"
|
|
6857 |
|
|
6858 |
Copyright (C) 2012 Free Software Foundation, Inc.
|
|
6859 |
This config.status script is free software; the Free Software Foundation
|
|
6860 |
gives unlimited permission to copy, distribute and modify it."
|
|
6861 |
|
|
6862 |
ac_pwd='$ac_pwd'
|
|
6863 |
srcdir='$srcdir'
|
|
6864 |
INSTALL='$INSTALL'
|
|
6865 |
MKDIR_P='$MKDIR_P'
|
|
6866 |
AWK='$AWK'
|
|
6867 |
test -n "\$AWK" || AWK=awk
|
|
6868 |
_ACEOF
|
|
6869 |
|
|
6870 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6871 |
# The default lists apply if the user does not specify any file.
|
|
6872 |
ac_need_defaults=:
|
|
6873 |
while test $# != 0
|
|
6874 |
do
|
|
6875 |
case $1 in
|
|
6876 |
--*=?*)
|
|
6877 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6878 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
6879 |
ac_shift=:
|
|
6880 |
;;
|
|
6881 |
--*=)
|
|
6882 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
6883 |
ac_optarg=
|
|
6884 |
ac_shift=:
|
|
6885 |
;;
|
|
6886 |
*)
|
|
6887 |
ac_option=$1
|
|
6888 |
ac_optarg=$2
|
|
6889 |
ac_shift=shift
|
|
6890 |
;;
|
|
6891 |
esac
|
|
6892 |
|
|
6893 |
case $ac_option in
|
|
6894 |
# Handling of the options.
|
|
6895 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
6896 |
ac_cs_recheck=: ;;
|
|
6897 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
6898 |
$as_echo "$ac_cs_version"; exit ;;
|
|
6899 |
--config | --confi | --conf | --con | --co | --c )
|
|
6900 |
$as_echo "$ac_cs_config"; exit ;;
|
|
6901 |
--debug | --debu | --deb | --de | --d | -d )
|
|
6902 |
debug=: ;;
|
|
6903 |
--file | --fil | --fi | --f )
|
|
6904 |
$ac_shift
|
|
6905 |
case $ac_optarg in
|
|
6906 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6907 |
'') as_fn_error $? "missing file argument" ;;
|
|
6908 |
esac
|
|
6909 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
6910 |
ac_need_defaults=false;;
|
|
6911 |
--header | --heade | --head | --hea )
|
|
6912 |
$ac_shift
|
|
6913 |
case $ac_optarg in
|
|
6914 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
6915 |
esac
|
|
6916 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
|
6917 |
ac_need_defaults=false;;
|
|
6918 |
--he | --h)
|
|
6919 |
# Conflict between --help and --header
|
|
6920 |
as_fn_error $? "ambiguous option: \`$1'
|
|
6921 |
Try \`$0 --help' for more information.";;
|
|
6922 |
--help | --hel | -h )
|
|
6923 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
6924 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
6925 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
6926 |
ac_cs_silent=: ;;
|
|
6927 |
|
|
6928 |
# This is an error.
|
|
6929 |
-*) as_fn_error $? "unrecognized option: \`$1'
|
|
6930 |
Try \`$0 --help' for more information." ;;
|
|
6931 |
|
|
6932 |
*) as_fn_append ac_config_targets " $1"
|
|
6933 |
ac_need_defaults=false ;;
|
|
6934 |
|
|
6935 |
esac
|
|
6936 |
shift
|
|
6937 |
done
|
|
6938 |
|
|
6939 |
ac_configure_extra_args=
|
|
6940 |
|
|
6941 |
if $ac_cs_silent; then
|
|
6942 |
exec 6>/dev/null
|
|
6943 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
6944 |
fi
|
|
6945 |
|
|
6946 |
_ACEOF
|
|
6947 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6948 |
if \$ac_cs_recheck; then
|
|
6949 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
6950 |
shift
|
|
6951 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
6952 |
CONFIG_SHELL='$SHELL'
|
|
6953 |
export CONFIG_SHELL
|
|
6954 |
exec "\$@"
|
|
6955 |
fi
|
|
6956 |
|
|
6957 |
_ACEOF
|
|
6958 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6959 |
exec 5>>config.log
|
|
6960 |
{
|
|
6961 |
echo
|
|
6962 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
|
6963 |
## Running $as_me. ##
|
|
6964 |
_ASBOX
|
|
6965 |
$as_echo "$ac_log"
|
|
6966 |
} >&5
|
|
6967 |
|
|
6968 |
_ACEOF
|
|
6969 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
6970 |
#
|
|
6971 |
# INIT-COMMANDS
|
|
6972 |
#
|
|
6973 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
6974 |
|
|
6975 |
_ACEOF
|
|
6976 |
|
|
6977 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
6978 |
|
|
6979 |
# Handling of arguments.
|
|
6980 |
for ac_config_target in $ac_config_targets
|
|
6981 |
do
|
|
6982 |
case $ac_config_target in
|
|
6983 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
|
|
6984 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
6985 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
6986 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
|
|
6987 |
"src/gfx/Makefile") CONFIG_FILES="$CONFIG_FILES src/gfx/Makefile" ;;
|
|
6988 |
"src/sounds/Makefile") CONFIG_FILES="$CONFIG_FILES src/sounds/Makefile" ;;
|
|
6989 |
"barrage.spec") CONFIG_FILES="$CONFIG_FILES barrage.spec" ;;
|
|
6990 |
|
|
6991 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
|
6992 |
esac
|
|
6993 |
done
|
|
6994 |
|
|
6995 |
|
|
6996 |
# If the user did not use the arguments to specify the items to instantiate,
|
|
6997 |
# then the envvar interface is used. Set only those that are not.
|
|
6998 |
# We use the long form for the default assignment because of an extremely
|
|
6999 |
# bizarre bug on SunOS 4.1.3.
|
|
7000 |
if $ac_need_defaults; then
|
|
7001 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
|
7002 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
|
7003 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
|
7004 |
fi
|
|
7005 |
|
|
7006 |
# Have a temporary directory for convenience. Make it in the build tree
|
|
7007 |
# simply because there is no reason against having it here, and in addition,
|
|
7008 |
# creating and moving files from /tmp can sometimes cause problems.
|
|
7009 |
# Hook for its removal unless debugging.
|
|
7010 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
7011 |
# after its creation but before its name has been assigned to `$tmp'.
|
|
7012 |
$debug ||
|
|
7013 |
{
|
|
7014 |
tmp= ac_tmp=
|
|
7015 |
trap 'exit_status=$?
|
|
7016 |
: "${ac_tmp:=$tmp}"
|
|
7017 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
|
|
7018 |
' 0
|
|
7019 |
trap 'as_fn_exit 1' 1 2 13 15
|
|
7020 |
}
|
|
7021 |
# Create a (secure) tmp directory for tmp files.
|
|
7022 |
|
|
7023 |
{
|
|
7024 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
|
7025 |
test -d "$tmp"
|
|
7026 |
} ||
|
|
7027 |
{
|
|
7028 |
tmp=./conf$$-$RANDOM
|
|
7029 |
(umask 077 && mkdir "$tmp")
|
|
7030 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
|
7031 |
ac_tmp=$tmp
|
|
7032 |
|
|
7033 |
# Set up the scripts for CONFIG_FILES section.
|
|
7034 |
# No need to generate them if there are no CONFIG_FILES.
|
|
7035 |
# This happens for instance with `./config.status config.h'.
|
|
7036 |
if test -n "$CONFIG_FILES"; then
|
|
7037 |
|
|
7038 |
|
|
7039 |
ac_cr=`echo X | tr X '\015'`
|
|
7040 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
7041 |
# But we know of no other shell where ac_cr would be empty at this
|
|
7042 |
# point, so we can use a bashism as a fallback.
|
|
7043 |
if test "x$ac_cr" = x; then
|
|
7044 |
eval ac_cr=\$\'\\r\'
|
|
7045 |
fi
|
|
7046 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
7047 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
7048 |
ac_cs_awk_cr='\\r'
|
|
7049 |
else
|
|
7050 |
ac_cs_awk_cr=$ac_cr
|
|
7051 |
fi
|
|
7052 |
|
|
7053 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
|
7054 |
_ACEOF
|
|
7055 |
|
|
7056 |
|
|
7057 |
{
|
|
7058 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
7059 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
7060 |
echo "_ACEOF"
|
|
7061 |
} >conf$$subs.sh ||
|
|
7062 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
7063 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
|
7064 |
ac_delim='%!_!# '
|
|
7065 |
for ac_last_try in false false false false false :; do
|
|
7066 |
. ./conf$$subs.sh ||
|
|
7067 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
7068 |
|
|
7069 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
7070 |
if test $ac_delim_n = $ac_delim_num; then
|
|
7071 |
break
|
|
7072 |
elif $ac_last_try; then
|
|
7073 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
7074 |
else
|
|
7075 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
7076 |
fi
|
|
7077 |
done
|
|
7078 |
rm -f conf$$subs.sh
|
|
7079 |
|
|
7080 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7081 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
|
7082 |
_ACEOF
|
|
7083 |
sed -n '
|
|
7084 |
h
|
|
7085 |
s/^/S["/; s/!.*/"]=/
|
|
7086 |
p
|
|
7087 |
g
|
|
7088 |
s/^[^!]*!//
|
|
7089 |
:repl
|
|
7090 |
t repl
|
|
7091 |
s/'"$ac_delim"'$//
|
|
7092 |
t delim
|
|
7093 |
:nl
|
|
7094 |
h
|
|
7095 |
s/\(.\{148\}\)..*/\1/
|
|
7096 |
t more1
|
|
7097 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
7098 |
p
|
|
7099 |
n
|
|
7100 |
b repl
|
|
7101 |
:more1
|
|
7102 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7103 |
p
|
|
7104 |
g
|
|
7105 |
s/.\{148\}//
|
|
7106 |
t nl
|
|
7107 |
:delim
|
|
7108 |
h
|
|
7109 |
s/\(.\{148\}\)..*/\1/
|
|
7110 |
t more2
|
|
7111 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
7112 |
p
|
|
7113 |
b
|
|
7114 |
:more2
|
|
7115 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
7116 |
p
|
|
7117 |
g
|
|
7118 |
s/.\{148\}//
|
|
7119 |
t delim
|
|
7120 |
' <conf$$subs.awk | sed '
|
|
7121 |
/^[^""]/{
|
|
7122 |
N
|
|
7123 |
s/\n//
|
|
7124 |
}
|
|
7125 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
7126 |
rm -f conf$$subs.awk
|
|
7127 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7128 |
_ACAWK
|
|
7129 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
|
7130 |
for (key in S) S_is_set[key] = 1
|
|
7131 |
FS = ""
|
|
7132 |
|
|
7133 |
}
|
|
7134 |
{
|
|
7135 |
line = $ 0
|
|
7136 |
nfields = split(line, field, "@")
|
|
7137 |
substed = 0
|
|
7138 |
len = length(field[1])
|
|
7139 |
for (i = 2; i < nfields; i++) {
|
|
7140 |
key = field[i]
|
|
7141 |
keylen = length(key)
|
|
7142 |
if (S_is_set[key]) {
|
|
7143 |
value = S[key]
|
|
7144 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
7145 |
len += length(value) + length(field[++i])
|
|
7146 |
substed = 1
|
|
7147 |
} else
|
|
7148 |
len += 1 + keylen
|
|
7149 |
}
|
|
7150 |
|
|
7151 |
print line
|
|
7152 |
}
|
|
7153 |
|
|
7154 |
_ACAWK
|
|
7155 |
_ACEOF
|
|
7156 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7157 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
7158 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
7159 |
else
|
|
7160 |
cat
|
|
7161 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
|
7162 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
|
7163 |
_ACEOF
|
|
7164 |
|
|
7165 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
|
7166 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
|
7167 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
7168 |
# (actually we leave an empty line to preserve line numbers).
|
|
7169 |
if test "x$srcdir" = x.; then
|
|
7170 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
|
7171 |
h
|
|
7172 |
s///
|
|
7173 |
s/^/:/
|
|
7174 |
s/[ ]*$/:/
|
|
7175 |
s/:\$(srcdir):/:/g
|
|
7176 |
s/:\${srcdir}:/:/g
|
|
7177 |
s/:@srcdir@:/:/g
|
|
7178 |
s/^:*//
|
|
7179 |
s/:*$//
|
|
7180 |
x
|
|
7181 |
s/\(=[ ]*\).*/\1/
|
|
7182 |
G
|
|
7183 |
s/\n//
|
|
7184 |
s/^[^=]*=[ ]*$//
|
|
7185 |
}'
|
|
7186 |
fi
|
|
7187 |
|
|
7188 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7189 |
fi # test -n "$CONFIG_FILES"
|
|
7190 |
|
|
7191 |
# Set up the scripts for CONFIG_HEADERS section.
|
|
7192 |
# No need to generate them if there are no CONFIG_HEADERS.
|
|
7193 |
# This happens for instance with `./config.status Makefile'.
|
|
7194 |
if test -n "$CONFIG_HEADERS"; then
|
|
7195 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
|
|
7196 |
BEGIN {
|
|
7197 |
_ACEOF
|
|
7198 |
|
|
7199 |
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
|
7200 |
# here-document in config.status, that substitutes the proper values into
|
|
7201 |
# config.h.in to produce config.h.
|
|
7202 |
|
|
7203 |
# Create a delimiter string that does not exist in confdefs.h, to ease
|
|
7204 |
# handling of long lines.
|
|
7205 |
ac_delim='%!_!# '
|
|
7206 |
for ac_last_try in false false :; do
|
|
7207 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
|
|
7208 |
if test -z "$ac_tt"; then
|
|
7209 |
break
|
|
7210 |
elif $ac_last_try; then
|
|
7211 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
|
|
7212 |
else
|
|
7213 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
7214 |
fi
|
|
7215 |
done
|
|
7216 |
|
|
7217 |
# For the awk script, D is an array of macro values keyed by name,
|
|
7218 |
# likewise P contains macro parameters if any. Preserve backslash
|
|
7219 |
# newline sequences.
|
|
7220 |
|
|
7221 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
|
7222 |
sed -n '
|
|
7223 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
7224 |
t rset
|
|
7225 |
:rset
|
|
7226 |
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
|
7227 |
t def
|
|
7228 |
d
|
|
7229 |
:def
|
|
7230 |
s/\\$//
|
|
7231 |
t bsnl
|
|
7232 |
s/["\\]/\\&/g
|
|
7233 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
7234 |
D["\1"]=" \3"/p
|
|
7235 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
|
7236 |
d
|
|
7237 |
:bsnl
|
|
7238 |
s/["\\]/\\&/g
|
|
7239 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
|
7240 |
D["\1"]=" \3\\\\\\n"\\/p
|
|
7241 |
t cont
|
|
7242 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
|
7243 |
t cont
|
|
7244 |
d
|
|
7245 |
:cont
|
|
7246 |
n
|
|
7247 |
s/.\{148\}/&'"$ac_delim"'/g
|
|
7248 |
t clear
|
|
7249 |
:clear
|
|
7250 |
s/\\$//
|
|
7251 |
t bsnlc
|
|
7252 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
|
7253 |
d
|
|
7254 |
:bsnlc
|
|
7255 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
|
7256 |
b cont
|
|
7257 |
' <confdefs.h | sed '
|
|
7258 |
s/'"$ac_delim"'/"\\\
|
|
7259 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
|
7260 |
|
|
7261 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7262 |
for (key in D) D_is_set[key] = 1
|
|
7263 |
FS = ""
|
|
7264 |
}
|
|
7265 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
|
7266 |
line = \$ 0
|
|
7267 |
split(line, arg, " ")
|
|
7268 |
if (arg[1] == "#") {
|
|
7269 |
defundef = arg[2]
|
|
7270 |
mac1 = arg[3]
|
|
7271 |
} else {
|
|
7272 |
defundef = substr(arg[1], 2)
|
|
7273 |
mac1 = arg[2]
|
|
7274 |
}
|
|
7275 |
split(mac1, mac2, "(") #)
|
|
7276 |
macro = mac2[1]
|
|
7277 |
prefix = substr(line, 1, index(line, defundef) - 1)
|
|
7278 |
if (D_is_set[macro]) {
|
|
7279 |
# Preserve the white space surrounding the "#".
|
|
7280 |
print prefix "define", macro P[macro] D[macro]
|
|
7281 |
next
|
|
7282 |
} else {
|
|
7283 |
# Replace #undef with comments. This is necessary, for example,
|
|
7284 |
# in the case of _POSIX_SOURCE, which is predefined and required
|
|
7285 |
# on some systems where configure will not decide to define it.
|
|
7286 |
if (defundef == "undef") {
|
|
7287 |
print "/*", prefix defundef, macro, "*/"
|
|
7288 |
next
|
|
7289 |
}
|
|
7290 |
}
|
|
7291 |
}
|
|
7292 |
{ print }
|
|
7293 |
_ACAWK
|
|
7294 |
_ACEOF
|
|
7295 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
7296 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
|
|
7297 |
fi # test -n "$CONFIG_HEADERS"
|
|
7298 |
|
|
7299 |
|
|
7300 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
|
7301 |
shift
|
|
7302 |
for ac_tag
|
|
7303 |
do
|
|
7304 |
case $ac_tag in
|
|
7305 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
7306 |
esac
|
|
7307 |
case $ac_mode$ac_tag in
|
|
7308 |
:[FHL]*:*);;
|
|
7309 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
7310 |
:[FH]-) ac_tag=-:-;;
|
|
7311 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
7312 |
esac
|
|
7313 |
ac_save_IFS=$IFS
|
|
7314 |
IFS=:
|
|
7315 |
set x $ac_tag
|
|
7316 |
IFS=$ac_save_IFS
|
|
7317 |
shift
|
|
7318 |
ac_file=$1
|
|
7319 |
shift
|
|
7320 |
|
|
7321 |
case $ac_mode in
|
|
7322 |
:L) ac_source=$1;;
|
|
7323 |
:[FH])
|
|
7324 |
ac_file_inputs=
|
|
7325 |
for ac_f
|
|
7326 |
do
|
|
7327 |
case $ac_f in
|
|
7328 |
-) ac_f="$ac_tmp/stdin";;
|
|
7329 |
*) # Look for the file first in the build tree, then in the source tree
|
|
7330 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
7331 |
# because $ac_f cannot contain `:'.
|
|
7332 |
test -f "$ac_f" ||
|
|
7333 |
case $ac_f in
|
|
7334 |
[\\/$]*) false;;
|
|
7335 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
7336 |
esac ||
|
|
7337 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
7338 |
esac
|
|
7339 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
7340 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
7341 |
done
|
|
7342 |
|
|
7343 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
7344 |
# use $as_me), people would be surprised to read:
|
|
7345 |
# /* config.h. Generated by config.status. */
|
|
7346 |
configure_input='Generated from '`
|
|
7347 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
7348 |
`' by configure.'
|
|
7349 |
if test x"$ac_file" != x-; then
|
|
7350 |
configure_input="$ac_file. $configure_input"
|
|
7351 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
7352 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
|
7353 |
fi
|
|
7354 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
7355 |
case $configure_input in #(
|
|
7356 |
*\&* | *\|* | *\\* )
|
|
7357 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
7358 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
7359 |
*) ac_sed_conf_input=$configure_input;;
|
|
7360 |
esac
|
|
7361 |
|
|
7362 |
case $ac_tag in
|
|
7363 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \
|
|
7364 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
|
|
7365 |
esac
|
|
7366 |
;;
|
|
7367 |
esac
|
|
7368 |
|
|
7369 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
|
7370 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7371 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
|
7372 |
X"$ac_file" : 'X\(//\)$' \| \
|
|
7373 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7374 |
$as_echo X"$ac_file" |
|
|
7375 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
7376 |
s//\1/
|
|
7377 |
q
|
|
7378 |
}
|
|
7379 |
/^X\(\/\/\)[^/].*/{
|
|
7380 |
s//\1/
|
|
7381 |
q
|
|
7382 |
}
|
|
7383 |
/^X\(\/\/\)$/{
|
|
7384 |
s//\1/
|
|
7385 |
q
|
|
7386 |
}
|
|
7387 |
/^X\(\/\).*/{
|
|
7388 |
s//\1/
|
|
7389 |
q
|
|
7390 |
}
|
|
7391 |
s/.*/./; q'`
|
|
7392 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
6467 | 7393 |
ac_builddir=.
|
6468 | 7394 |
|
6469 | 7395 |
case "$ac_dir" in
|
6470 | 7396 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
6471 | 7397 |
*)
|
6472 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
|
7398 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
6473 | 7399 |
# A ".." for each directory in $ac_dir_suffix.
|
6474 | |
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
|
|
7400 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
6475 | 7401 |
case $ac_top_builddir_sub in
|
6476 | 7402 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
6477 | 7403 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
6509 | 7435 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
6510 | 7436 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
6511 | 7437 |
esac
|
6512 | |
_ACEOF
|
6513 | |
|
6514 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7438 |
ac_MKDIR_P=$MKDIR_P
|
|
7439 |
case $MKDIR_P in
|
|
7440 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
7441 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
7442 |
esac
|
|
7443 |
_ACEOF
|
|
7444 |
|
|
7445 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6515 | 7446 |
# If the template does not know about datarootdir, expand it.
|
6516 | 7447 |
# FIXME: This hack should be removed a few years after 2.60.
|
6517 | 7448 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
6518 | |
|
6519 | |
case `sed -n '/datarootdir/ {
|
|
7449 |
ac_sed_dataroot='
|
|
7450 |
/datarootdir/ {
|
6520 | 7451 |
p
|
6521 | 7452 |
q
|
6522 | 7453 |
}
|
|
6524 | 7455 |
/@docdir@/p
|
6525 | 7456 |
/@infodir@/p
|
6526 | 7457 |
/@localedir@/p
|
6527 | |
/@mandir@/p
|
6528 | |
' $ac_file_inputs` in
|
|
7458 |
/@mandir@/p'
|
|
7459 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
6529 | 7460 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
6530 | 7461 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
6531 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
6532 | |
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
6533 | |
_ACEOF
|
6534 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
|
7462 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
7463 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
7464 |
_ACEOF
|
|
7465 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
6535 | 7466 |
ac_datarootdir_hack='
|
6536 | 7467 |
s&@datadir@&$datadir&g
|
6537 | 7468 |
s&@docdir@&$docdir&g
|
6538 | 7469 |
s&@infodir@&$infodir&g
|
6539 | 7470 |
s&@localedir@&$localedir&g
|
6540 | 7471 |
s&@mandir@&$mandir&g
|
6541 | |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
7472 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
6542 | 7473 |
esac
|
6543 | 7474 |
_ACEOF
|
6544 | 7475 |
|
6545 | 7476 |
# Neutralize VPATH when `$srcdir' = `.'.
|
6546 | 7477 |
# Shell code in configure.ac might set extrasub.
|
6547 | 7478 |
# FIXME: do we really want to maintain this feature?
|
6548 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6549 | |
sed "$ac_vpsub
|
|
7479 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
7480 |
ac_sed_extra="$ac_vpsub
|
6550 | 7481 |
$extrasub
|
6551 | 7482 |
_ACEOF
|
6552 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
7483 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
6553 | 7484 |
:t
|
6554 | 7485 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
6555 | |
s&@configure_input@&$configure_input&;t t
|
|
7486 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
6556 | 7487 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
7488 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
6557 | 7489 |
s&@srcdir@&$ac_srcdir&;t t
|
6558 | 7490 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
6559 | 7491 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
6562 | 7494 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
6563 | 7495 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
6564 | 7496 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
7497 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
6565 | 7498 |
$ac_datarootdir_hack
|
6566 | |
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
|
|
7499 |
"
|
|
7500 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
|
7501 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
6567 | 7502 |
|
6568 | 7503 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
6569 | |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
6570 | |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
6571 | |
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6572 | |
which seems to be undefined. Please make sure it is defined." >&5
|
6573 | |
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
6574 | |
which seems to be undefined. Please make sure it is defined." >&2;}
|
6575 | |
|
6576 | |
rm -f "$tmp/stdin"
|
|
7504 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
|
7505 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
|
7506 |
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
|
7507 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7508 |
which seems to be undefined. Please make sure it is defined" >&5
|
|
7509 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
7510 |
which seems to be undefined. Please make sure it is defined" >&2;}
|
|
7511 |
|
|
7512 |
rm -f "$ac_tmp/stdin"
|
6577 | 7513 |
case $ac_file in
|
6578 | |
-) cat "$tmp/out"; rm -f "$tmp/out";;
|
6579 | |
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
|
6580 | |
esac
|
|
7514 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
|
7515 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
|
7516 |
esac \
|
|
7517 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
6581 | 7518 |
;;
|
6582 | 7519 |
:H)
|
6583 | 7520 |
#
|
6584 | 7521 |
# CONFIG_HEADER
|
6585 | 7522 |
#
|
6586 | |
_ACEOF
|
6587 | |
|
6588 | |
# Transform confdefs.h into a sed script `conftest.defines', that
|
6589 | |
# substitutes the proper values into config.h.in to produce config.h.
|
6590 | |
rm -f conftest.defines conftest.tail
|
6591 | |
# First, append a space to every undef/define line, to ease matching.
|
6592 | |
echo 's/$/ /' >conftest.defines
|
6593 | |
# Then, protect against being on the right side of a sed subst, or in
|
6594 | |
# an unquoted here document, in config.status. If some macros were
|
6595 | |
# called several times there might be several #defines for the same
|
6596 | |
# symbol, which is useless. But do not sort them, since the last
|
6597 | |
# AC_DEFINE must be honored.
|
6598 | |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
6599 | |
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
|
6600 | |
# NAME is the cpp macro being defined, VALUE is the value it is being given.
|
6601 | |
# PARAMS is the parameter list in the macro definition--in most cases, it's
|
6602 | |
# just an empty string.
|
6603 | |
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
|
6604 | |
ac_dB='\\)[ (].*,\\1define\\2'
|
6605 | |
ac_dC=' '
|
6606 | |
ac_dD=' ,'
|
6607 | |
|
6608 | |
uniq confdefs.h |
|
6609 | |
sed -n '
|
6610 | |
t rset
|
6611 | |
:rset
|
6612 | |
s/^[ ]*#[ ]*define[ ][ ]*//
|
6613 | |
t ok
|
6614 | |
d
|
6615 | |
:ok
|
6616 | |
s/[\\&,]/\\&/g
|
6617 | |
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
|
6618 | |
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
|
6619 | |
' >>conftest.defines
|
6620 | |
|
6621 | |
# Remove the space that was appended to ease matching.
|
6622 | |
# Then replace #undef with comments. This is necessary, for
|
6623 | |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
6624 | |
# on some systems where configure will not decide to define it.
|
6625 | |
# (The regexp can be short, since the line contains either #define or #undef.)
|
6626 | |
echo 's/ $//
|
6627 | |
s,^[ #]*u.*,/* & */,' >>conftest.defines
|
6628 | |
|
6629 | |
# Break up conftest.defines:
|
6630 | |
ac_max_sed_lines=50
|
6631 | |
|
6632 | |
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
|
6633 | |
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
|
6634 | |
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
|
6635 | |
# et cetera.
|
6636 | |
ac_in='$ac_file_inputs'
|
6637 | |
ac_out='"$tmp/out1"'
|
6638 | |
ac_nxt='"$tmp/out2"'
|
6639 | |
|
6640 | |
while :
|
6641 | |
do
|
6642 | |
# Write a here document:
|
6643 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
6644 | |
# First, check the format of the line:
|
6645 | |
cat >"\$tmp/defines.sed" <<\\CEOF
|
6646 | |
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
|
6647 | |
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
|
6648 | |
b
|
6649 | |
:def
|
6650 | |
_ACEOF
|
6651 | |
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
|
6652 | |
echo 'CEOF
|
6653 | |
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
|
6654 | |
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
|
6655 | |
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
|
6656 | |
grep . conftest.tail >/dev/null || break
|
6657 | |
rm -f conftest.defines
|
6658 | |
mv conftest.tail conftest.defines
|
6659 | |
done
|
6660 | |
rm -f conftest.defines conftest.tail
|
6661 | |
|
6662 | |
echo "ac_result=$ac_in" >>$CONFIG_STATUS
|
6663 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
6664 | 7523 |
if test x"$ac_file" != x-; then
|
6665 | |
echo "/* $configure_input */" >"$tmp/config.h"
|
6666 | |
cat "$ac_result" >>"$tmp/config.h"
|
6667 | |
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
|
6668 | |
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
|
6669 | |
echo "$as_me: $ac_file is unchanged" >&6;}
|
|
7524 |
{
|
|
7525 |
$as_echo "/* $configure_input */" \
|
|
7526 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
|
|
7527 |
} >"$ac_tmp/config.h" \
|
|
7528 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
|
7529 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
|
|
7530 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
|
7531 |
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
6670 | 7532 |
else
|
6671 | |
rm -f $ac_file
|
6672 | |
mv "$tmp/config.h" $ac_file
|
|
7533 |
rm -f "$ac_file"
|
|
7534 |
mv "$ac_tmp/config.h" "$ac_file" \
|
|
7535 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
6673 | 7536 |
fi
|
6674 | 7537 |
else
|
6675 | |
echo "/* $configure_input */"
|
6676 | |
cat "$ac_result"
|
|
7538 |
$as_echo "/* $configure_input */" \
|
|
7539 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
|
|
7540 |
|| as_fn_error $? "could not create -" "$LINENO" 5
|
6677 | 7541 |
fi
|
6678 | |
rm -f "$tmp/out12"
|
6679 | |
# Compute $ac_file's index in $config_headers.
|
|
7542 |
# Compute "$ac_file"'s index in $config_headers.
|
|
7543 |
_am_arg="$ac_file"
|
6680 | 7544 |
_am_stamp_count=1
|
6681 | 7545 |
for _am_header in $config_headers :; do
|
6682 | 7546 |
case $_am_header in
|
6683 | |
$ac_file | $ac_file:* )
|
|
7547 |
$_am_arg | $_am_arg:* )
|
6684 | 7548 |
break ;;
|
6685 | 7549 |
* )
|
6686 | 7550 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
6687 | 7551 |
esac
|
6688 | 7552 |
done
|
6689 | |
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
|
6690 | |
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6691 | |
X$ac_file : 'X\(//\)[^/]' \| \
|
6692 | |
X$ac_file : 'X\(//\)$' \| \
|
6693 | |
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
|
6694 | |
echo X$ac_file |
|
|
7553 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
|
7554 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
7555 |
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
|
7556 |
X"$_am_arg" : 'X\(//\)$' \| \
|
|
7557 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
|
7558 |
$as_echo X"$_am_arg" |
|
6695 | 7559 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6696 | 7560 |
s//\1/
|
6697 | 7561 |
q
|
|
6711 | 7575 |
s/.*/./; q'`/stamp-h$_am_stamp_count
|
6712 | 7576 |
;;
|
6713 | 7577 |
|
6714 | |
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
|
6715 | |
echo "$as_me: executing $ac_file commands" >&6;}
|
|
7578 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
7579 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
6716 | 7580 |
;;
|
6717 | 7581 |
esac
|
6718 | 7582 |
|
6719 | 7583 |
|
6720 | 7584 |
case $ac_file$ac_mode in
|
6721 | |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
6722 | |
# Strip MF so we end up with the name of the file.
|
6723 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
6724 | |
# Check whether this is an Automake generated Makefile or not.
|
6725 | |
# We used to match only the files named `Makefile.in', but
|
6726 | |
# some people rename them; so instead we look at the file content.
|
6727 | |
# Grep'ing the first line is not enough: some people post-process
|
6728 | |
# each Makefile.in and add a new line on top of each file to say so.
|
6729 | |
# So let's grep whole file.
|
6730 | |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
6731 | |
dirpart=`$as_dirname -- "$mf" ||
|
|
7585 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
7586 |
# Older Autoconf quotes --file arguments for eval, but not when files
|
|
7587 |
# are listed without --file. Let's play safe and only enable the eval
|
|
7588 |
# if we detect the quoting.
|
|
7589 |
case $CONFIG_FILES in
|
|
7590 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
7591 |
*) set x $CONFIG_FILES ;;
|
|
7592 |
esac
|
|
7593 |
shift
|
|
7594 |
for mf
|
|
7595 |
do
|
|
7596 |
# Strip MF so we end up with the name of the file.
|
|
7597 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
7598 |
# Check whether this is an Automake generated Makefile or not.
|
|
7599 |
# We used to match only the files named 'Makefile.in', but
|
|
7600 |
# some people rename them; so instead we look at the file content.
|
|
7601 |
# Grep'ing the first line is not enough: some people post-process
|
|
7602 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
7603 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
7604 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
7605 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
7606 |
dirpart=`$as_dirname -- "$mf" ||
|
6732 | 7607 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6733 | 7608 |
X"$mf" : 'X\(//\)[^/]' \| \
|
6734 | 7609 |
X"$mf" : 'X\(//\)$' \| \
|
6735 | 7610 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
6736 | |
echo X"$mf" |
|
|
7611 |
$as_echo X"$mf" |
|
6737 | 7612 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6738 | 7613 |
s//\1/
|
6739 | 7614 |
q
|
|
6751 | 7626 |
q
|
6752 | 7627 |
}
|
6753 | 7628 |
s/.*/./; q'`
|
6754 | |
else
|
6755 | |
continue
|
6756 | |
fi
|
6757 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
6758 | |
# from the Makefile without running `make'.
|
6759 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
6760 | |
test -z "$DEPDIR" && continue
|
6761 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
6762 | |
test -z "am__include" && continue
|
6763 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
6764 | |
# When using ansi2knr, U may be empty or an underscore; expand it
|
6765 | |
U=`sed -n 's/^U = //p' < "$mf"`
|
6766 | |
# Find all dependency output files, they are included files with
|
6767 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
6768 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
6769 | |
# expansion.
|
6770 | |
for file in `sed -n "
|
6771 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
6772 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
6773 | |
# Make sure the directory exists.
|
6774 | |
test -f "$dirpart/$file" && continue
|
6775 | |
fdir=`$as_dirname -- "$file" ||
|
|
7629 |
else
|
|
7630 |
continue
|
|
7631 |
fi
|
|
7632 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
7633 |
# from the Makefile without running 'make'.
|
|
7634 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
7635 |
test -z "$DEPDIR" && continue
|
|
7636 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
7637 |
test -z "$am__include" && continue
|
|
7638 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
7639 |
# Find all dependency output files, they are included files with
|
|
7640 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
7641 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
7642 |
# expansion.
|
|
7643 |
for file in `sed -n "
|
|
7644 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
7645 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
|
|
7646 |
# Make sure the directory exists.
|
|
7647 |
test -f "$dirpart/$file" && continue
|
|
7648 |
fdir=`$as_dirname -- "$file" ||
|
6776 | 7649 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6777 | 7650 |
X"$file" : 'X\(//\)[^/]' \| \
|
6778 | 7651 |
X"$file" : 'X\(//\)$' \| \
|
6779 | 7652 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
6780 | |
echo X"$file" |
|
|
7653 |
$as_echo X"$file" |
|
6781 | 7654 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6782 | 7655 |
s//\1/
|
6783 | 7656 |
q
|
|
6795 | 7668 |
q
|
6796 | 7669 |
}
|
6797 | 7670 |
s/.*/./; q'`
|
6798 | |
{ as_dir=$dirpart/$fdir
|
6799 | |
case $as_dir in #(
|
6800 | |
-*) as_dir=./$as_dir;;
|
6801 | |
esac
|
6802 | |
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
|
6803 | |
as_dirs=
|
6804 | |
while :; do
|
6805 | |
case $as_dir in #(
|
6806 | |
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
|
6807 | |
*) as_qdir=$as_dir;;
|
6808 | |
esac
|
6809 | |
as_dirs="'$as_qdir' $as_dirs"
|
6810 | |
as_dir=`$as_dirname -- "$as_dir" ||
|
6811 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
6812 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
6813 | |
X"$as_dir" : 'X\(//\)$' \| \
|
6814 | |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
6815 | |
echo X"$as_dir" |
|
6816 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
6817 | |
s//\1/
|
6818 | |
q
|
6819 | |
}
|
6820 | |
/^X\(\/\/\)[^/].*/{
|
6821 | |
s//\1/
|
6822 | |
q
|
6823 | |
}
|
6824 | |
/^X\(\/\/\)$/{
|
6825 | |
s//\1/
|
6826 | |
q
|
6827 | |
}
|
6828 | |
/^X\(\/\).*/{
|
6829 | |
s//\1/
|
6830 | |
q
|
6831 | |
}
|
6832 | |
s/.*/./; q'`
|
6833 | |
test -d "$as_dir" && break
|
|
7671 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
7672 |
# echo "creating $dirpart/$file"
|
|
7673 |
echo '# dummy' > "$dirpart/$file"
|
6834 | 7674 |
done
|
6835 | |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
6836 | |
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
|
6837 | |
echo "$as_me: error: cannot create directory $as_dir" >&2;}
|
6838 | |
{ (exit 1); exit 1; }; }; }
|
6839 | |
# echo "creating $dirpart/$file"
|
6840 | |
echo '# dummy' > "$dirpart/$file"
|
6841 | 7675 |
done
|
6842 | |
done
|
|
7676 |
}
|
6843 | 7677 |
;;
|
6844 | 7678 |
|
6845 | 7679 |
esac
|
6846 | 7680 |
done # for ac_tag
|
6847 | 7681 |
|
6848 | 7682 |
|
6849 | |
{ (exit 0); exit 0; }
|
6850 | |
_ACEOF
|
6851 | |
chmod +x $CONFIG_STATUS
|
|
7683 |
as_fn_exit 0
|
|
7684 |
_ACEOF
|
6852 | 7685 |
ac_clean_files=$ac_clean_files_save
|
|
7686 |
|
|
7687 |
test $ac_write_fail = 0 ||
|
|
7688 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
6853 | 7689 |
|
6854 | 7690 |
|
6855 | 7691 |
# configure is writing to config.log, and then calls config.status.
|
|
6870 | 7706 |
exec 5>>config.log
|
6871 | 7707 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
6872 | 7708 |
# would make configure fail if this is the last instruction.
|
6873 | |
$ac_cs_success || { (exit 1); exit 1; }
|
6874 | |
fi
|
6875 | |
|
6876 | |
|
|
7709 |
$ac_cs_success || as_fn_exit 1
|
|
7710 |
fi
|
|
7711 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
7712 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
7713 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
7714 |
fi
|
|
7715 |
|
|
7716 |
|