1 |
27 |
khays |
#! /bin/sh
|
2 |
|
|
# Guess values for system-dependent variables and create Makefiles.
|
3 |
|
|
# Generated by GNU Autoconf 2.64 for gold 0.1.
|
4 |
|
|
#
|
5 |
|
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
6 |
|
|
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
|
7 |
|
|
# Foundation, Inc.
|
8 |
|
|
#
|
9 |
|
|
# This configure script is free software; the Free Software Foundation
|
10 |
|
|
# gives unlimited permission to copy, distribute and modify it.
|
11 |
|
|
## -------------------- ##
|
12 |
|
|
## M4sh Initialization. ##
|
13 |
|
|
## -------------------- ##
|
14 |
|
|
|
15 |
|
|
# Be more Bourne compatible
|
16 |
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
17 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
18 |
|
|
emulate sh
|
19 |
|
|
NULLCMD=:
|
20 |
|
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
21 |
|
|
# is contrary to our usage. Disable this feature.
|
22 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
23 |
|
|
setopt NO_GLOB_SUBST
|
24 |
|
|
else
|
25 |
|
|
case `(set -o) 2>/dev/null` in #(
|
26 |
|
|
*posix*) :
|
27 |
|
|
set -o posix ;; #(
|
28 |
|
|
*) :
|
29 |
|
|
;;
|
30 |
|
|
esac
|
31 |
|
|
fi
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
as_nl='
|
35 |
|
|
'
|
36 |
|
|
export as_nl
|
37 |
|
|
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
38 |
|
|
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
39 |
|
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
40 |
|
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
41 |
|
|
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
42 |
|
|
# but without wasting forks for bash or zsh.
|
43 |
|
|
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
44 |
|
|
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
45 |
|
|
as_echo='print -r --'
|
46 |
|
|
as_echo_n='print -rn --'
|
47 |
|
|
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
48 |
|
|
as_echo='printf %s\n'
|
49 |
|
|
as_echo_n='printf %s'
|
50 |
|
|
else
|
51 |
|
|
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
52 |
|
|
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
53 |
|
|
as_echo_n='/usr/ucb/echo -n'
|
54 |
|
|
else
|
55 |
|
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
56 |
|
|
as_echo_n_body='eval
|
57 |
|
|
arg=$1;
|
58 |
|
|
case $arg in #(
|
59 |
|
|
*"$as_nl"*)
|
60 |
|
|
expr "X$arg" : "X\\(.*\\)$as_nl";
|
61 |
|
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
62 |
|
|
esac;
|
63 |
|
|
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
64 |
|
|
'
|
65 |
|
|
export as_echo_n_body
|
66 |
|
|
as_echo_n='sh -c $as_echo_n_body as_echo'
|
67 |
|
|
fi
|
68 |
|
|
export as_echo_body
|
69 |
|
|
as_echo='sh -c $as_echo_body as_echo'
|
70 |
|
|
fi
|
71 |
|
|
|
72 |
|
|
# The user is always right.
|
73 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
74 |
|
|
PATH_SEPARATOR=:
|
75 |
|
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
76 |
|
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
77 |
|
|
PATH_SEPARATOR=';'
|
78 |
|
|
}
|
79 |
|
|
fi
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
# IFS
|
83 |
|
|
# We need space, tab and new line, in precisely that order. Quoting is
|
84 |
|
|
# there to prevent editors from complaining about space-tab.
|
85 |
|
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
86 |
|
|
# splitting by setting IFS to empty value.)
|
87 |
|
|
IFS=" "" $as_nl"
|
88 |
|
|
|
89 |
|
|
# Find who we are. Look in the path if we contain no directory separator.
|
90 |
|
|
case $0 in #((
|
91 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
92 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
93 |
|
|
for as_dir in $PATH
|
94 |
|
|
do
|
95 |
|
|
IFS=$as_save_IFS
|
96 |
|
|
test -z "$as_dir" && as_dir=.
|
97 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
98 |
|
|
done
|
99 |
|
|
IFS=$as_save_IFS
|
100 |
|
|
|
101 |
|
|
;;
|
102 |
|
|
esac
|
103 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
104 |
|
|
# in which case we are not to be found in the path.
|
105 |
|
|
if test "x$as_myself" = x; then
|
106 |
|
|
as_myself=$0
|
107 |
|
|
fi
|
108 |
|
|
if test ! -f "$as_myself"; then
|
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 || :
|
120 |
|
|
done
|
121 |
|
|
PS1='$ '
|
122 |
|
|
PS2='> '
|
123 |
|
|
PS4='+ '
|
124 |
|
|
|
125 |
|
|
# NLS nuisances.
|
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 |
|
|
if test "x$CONFIG_SHELL" = x; then
|
135 |
|
|
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
136 |
|
|
emulate sh
|
137 |
|
|
NULLCMD=:
|
138 |
|
|
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
139 |
|
|
# is contrary to our usage. Disable this feature.
|
140 |
|
|
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
141 |
|
|
setopt NO_GLOB_SUBST
|
142 |
|
|
else
|
143 |
|
|
case \`(set -o) 2>/dev/null\` in #(
|
144 |
|
|
*posix*) :
|
145 |
|
|
set -o posix ;; #(
|
146 |
|
|
*) :
|
147 |
|
|
;;
|
148 |
|
|
esac
|
149 |
|
|
fi
|
150 |
|
|
"
|
151 |
|
|
as_required="as_fn_return () { (exit \$1); }
|
152 |
|
|
as_fn_success () { as_fn_return 0; }
|
153 |
|
|
as_fn_failure () { as_fn_return 1; }
|
154 |
|
|
as_fn_ret_success () { return 0; }
|
155 |
|
|
as_fn_ret_failure () { return 1; }
|
156 |
|
|
|
157 |
|
|
exitcode=0
|
158 |
|
|
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
159 |
|
|
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
160 |
|
|
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
161 |
|
|
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
162 |
|
|
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
163 |
|
|
|
164 |
|
|
else
|
165 |
|
|
exitcode=1; echo positional parameters were not saved.
|
166 |
|
|
fi
|
167 |
|
|
test x\$exitcode = x0 || exit 1"
|
168 |
|
|
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
169 |
|
|
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
170 |
|
|
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
171 |
|
|
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
|
172 |
|
|
test \$(( 1 + 1 )) = 2 || exit 1"
|
173 |
|
|
if (eval "$as_required") 2>/dev/null; then :
|
174 |
|
|
as_have_required=yes
|
175 |
|
|
else
|
176 |
|
|
as_have_required=no
|
177 |
|
|
fi
|
178 |
|
|
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
179 |
|
|
|
180 |
|
|
else
|
181 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
182 |
|
|
as_found=false
|
183 |
|
|
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
184 |
|
|
do
|
185 |
|
|
IFS=$as_save_IFS
|
186 |
|
|
test -z "$as_dir" && as_dir=.
|
187 |
|
|
as_found=:
|
188 |
|
|
case $as_dir in #(
|
189 |
|
|
/*)
|
190 |
|
|
for as_base in sh bash ksh sh5; do
|
191 |
|
|
# Try only shells that exist, to save several forks.
|
192 |
|
|
as_shell=$as_dir/$as_base
|
193 |
|
|
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
194 |
|
|
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
195 |
|
|
CONFIG_SHELL=$as_shell as_have_required=yes
|
196 |
|
|
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
197 |
|
|
break 2
|
198 |
|
|
fi
|
199 |
|
|
fi
|
200 |
|
|
done;;
|
201 |
|
|
esac
|
202 |
|
|
as_found=false
|
203 |
|
|
done
|
204 |
|
|
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
205 |
|
|
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
206 |
|
|
CONFIG_SHELL=$SHELL as_have_required=yes
|
207 |
|
|
fi; }
|
208 |
|
|
IFS=$as_save_IFS
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
if test "x$CONFIG_SHELL" != x; then :
|
212 |
|
|
# We cannot yet assume a decent shell, so we have to provide a
|
213 |
|
|
# neutralization value for shells without unset; and this also
|
214 |
|
|
# works around shells that cannot unset nonexistent variables.
|
215 |
|
|
BASH_ENV=/dev/null
|
216 |
|
|
ENV=/dev/null
|
217 |
|
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
218 |
|
|
export CONFIG_SHELL
|
219 |
|
|
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
220 |
|
|
fi
|
221 |
|
|
|
222 |
|
|
if test x$as_have_required = xno; then :
|
223 |
|
|
$as_echo "$0: This script requires a shell more modern than all"
|
224 |
|
|
$as_echo "$0: the shells that I found on your system."
|
225 |
|
|
if test x${ZSH_VERSION+set} = xset ; then
|
226 |
|
|
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
227 |
|
|
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
228 |
|
|
else
|
229 |
|
|
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
230 |
|
|
$0: including any error possibly output before this
|
231 |
|
|
$0: message. Then install a modern shell, or manually run
|
232 |
|
|
$0: the script under such a shell if you do have one."
|
233 |
|
|
fi
|
234 |
|
|
exit 1
|
235 |
|
|
fi
|
236 |
|
|
fi
|
237 |
|
|
fi
|
238 |
|
|
SHELL=${CONFIG_SHELL-/bin/sh}
|
239 |
|
|
export SHELL
|
240 |
|
|
# Unset more variables known to interfere with behavior of common tools.
|
241 |
|
|
CLICOLOR_FORCE= GREP_OPTIONS=
|
242 |
|
|
unset CLICOLOR_FORCE GREP_OPTIONS
|
243 |
|
|
|
244 |
|
|
## --------------------- ##
|
245 |
|
|
## M4sh Shell Functions. ##
|
246 |
|
|
## --------------------- ##
|
247 |
|
|
# as_fn_unset VAR
|
248 |
|
|
# ---------------
|
249 |
|
|
# Portably unset VAR.
|
250 |
|
|
as_fn_unset ()
|
251 |
|
|
{
|
252 |
|
|
{ eval $1=; unset $1;}
|
253 |
|
|
}
|
254 |
|
|
as_unset=as_fn_unset
|
255 |
|
|
|
256 |
|
|
# as_fn_set_status STATUS
|
257 |
|
|
# -----------------------
|
258 |
|
|
# Set $? to STATUS, without forking.
|
259 |
|
|
as_fn_set_status ()
|
260 |
|
|
{
|
261 |
|
|
return $1
|
262 |
|
|
} # as_fn_set_status
|
263 |
|
|
|
264 |
|
|
# as_fn_exit STATUS
|
265 |
|
|
# -----------------
|
266 |
|
|
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
267 |
|
|
as_fn_exit ()
|
268 |
|
|
{
|
269 |
|
|
set +e
|
270 |
|
|
as_fn_set_status $1
|
271 |
|
|
exit $1
|
272 |
|
|
} # as_fn_exit
|
273 |
|
|
|
274 |
|
|
# as_fn_mkdir_p
|
275 |
|
|
# -------------
|
276 |
|
|
# Create "$as_dir" as a directory, including parents if necessary.
|
277 |
|
|
as_fn_mkdir_p ()
|
278 |
|
|
{
|
279 |
|
|
|
280 |
|
|
case $as_dir in #(
|
281 |
|
|
-*) as_dir=./$as_dir;;
|
282 |
|
|
esac
|
283 |
|
|
test -d "$as_dir" || eval $as_mkdir_p || {
|
284 |
|
|
as_dirs=
|
285 |
|
|
while :; do
|
286 |
|
|
case $as_dir in #(
|
287 |
|
|
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
288 |
|
|
*) as_qdir=$as_dir;;
|
289 |
|
|
esac
|
290 |
|
|
as_dirs="'$as_qdir' $as_dirs"
|
291 |
|
|
as_dir=`$as_dirname -- "$as_dir" ||
|
292 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
293 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
294 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
295 |
|
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
296 |
|
|
$as_echo X"$as_dir" |
|
297 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
298 |
|
|
s//\1/
|
299 |
|
|
q
|
300 |
|
|
}
|
301 |
|
|
/^X\(\/\/\)[^/].*/{
|
302 |
|
|
s//\1/
|
303 |
|
|
q
|
304 |
|
|
}
|
305 |
|
|
/^X\(\/\/\)$/{
|
306 |
|
|
s//\1/
|
307 |
|
|
q
|
308 |
|
|
}
|
309 |
|
|
/^X\(\/\).*/{
|
310 |
|
|
s//\1/
|
311 |
|
|
q
|
312 |
|
|
}
|
313 |
|
|
s/.*/./; q'`
|
314 |
|
|
test -d "$as_dir" && break
|
315 |
|
|
done
|
316 |
|
|
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
317 |
|
|
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
318 |
|
|
|
319 |
|
|
|
320 |
|
|
} # as_fn_mkdir_p
|
321 |
|
|
# as_fn_append VAR VALUE
|
322 |
|
|
# ----------------------
|
323 |
|
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
324 |
|
|
# advantage of any shell optimizations that allow amortized linear growth over
|
325 |
|
|
# repeated appends, instead of the typical quadratic growth present in naive
|
326 |
|
|
# implementations.
|
327 |
|
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
328 |
|
|
eval 'as_fn_append ()
|
329 |
|
|
{
|
330 |
|
|
eval $1+=\$2
|
331 |
|
|
}'
|
332 |
|
|
else
|
333 |
|
|
as_fn_append ()
|
334 |
|
|
{
|
335 |
|
|
eval $1=\$$1\$2
|
336 |
|
|
}
|
337 |
|
|
fi # as_fn_append
|
338 |
|
|
|
339 |
|
|
# as_fn_arith ARG...
|
340 |
|
|
# ------------------
|
341 |
|
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
342 |
|
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
343 |
|
|
# must be portable across $(()) and expr.
|
344 |
|
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
345 |
|
|
eval 'as_fn_arith ()
|
346 |
|
|
{
|
347 |
|
|
as_val=$(( $* ))
|
348 |
|
|
}'
|
349 |
|
|
else
|
350 |
|
|
as_fn_arith ()
|
351 |
|
|
{
|
352 |
|
|
as_val=`expr "$@" || test $? -eq 1`
|
353 |
|
|
}
|
354 |
|
|
fi # as_fn_arith
|
355 |
|
|
|
356 |
|
|
|
357 |
|
|
# as_fn_error ERROR [LINENO LOG_FD]
|
358 |
|
|
# ---------------------------------
|
359 |
|
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
360 |
|
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
361 |
|
|
# script with status $?, using 1 if that was 0.
|
362 |
|
|
as_fn_error ()
|
363 |
|
|
{
|
364 |
|
|
as_status=$?; test $as_status -eq 0 && as_status=1
|
365 |
|
|
if test "$3"; then
|
366 |
|
|
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
367 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
368 |
|
|
fi
|
369 |
|
|
$as_echo "$as_me: error: $1" >&2
|
370 |
|
|
as_fn_exit $as_status
|
371 |
|
|
} # as_fn_error
|
372 |
|
|
|
373 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
374 |
|
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
375 |
|
|
as_expr=expr
|
376 |
|
|
else
|
377 |
|
|
as_expr=false
|
378 |
|
|
fi
|
379 |
|
|
|
380 |
|
|
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
381 |
|
|
as_basename=basename
|
382 |
|
|
else
|
383 |
|
|
as_basename=false
|
384 |
|
|
fi
|
385 |
|
|
|
386 |
|
|
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
387 |
|
|
as_dirname=dirname
|
388 |
|
|
else
|
389 |
|
|
as_dirname=false
|
390 |
|
|
fi
|
391 |
|
|
|
392 |
|
|
as_me=`$as_basename -- "$0" ||
|
393 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
394 |
|
|
X"$0" : 'X\(//\)$' \| \
|
395 |
|
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
396 |
|
|
$as_echo X/"$0" |
|
397 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
398 |
|
|
s//\1/
|
399 |
|
|
q
|
400 |
|
|
}
|
401 |
|
|
/^X\/\(\/\/\)$/{
|
402 |
|
|
s//\1/
|
403 |
|
|
q
|
404 |
|
|
}
|
405 |
|
|
/^X\/\(\/\).*/{
|
406 |
|
|
s//\1/
|
407 |
|
|
q
|
408 |
|
|
}
|
409 |
|
|
s/.*/./; q'`
|
410 |
|
|
|
411 |
|
|
# Avoid depending upon Character Ranges.
|
412 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
413 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
414 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
415 |
|
|
as_cr_digits='0123456789'
|
416 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
417 |
|
|
|
418 |
|
|
|
419 |
|
|
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
420 |
|
|
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
421 |
|
|
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
422 |
|
|
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
423 |
|
|
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
424 |
|
|
sed -n '
|
425 |
|
|
p
|
426 |
|
|
/[$]LINENO/=
|
427 |
|
|
' <$as_myself |
|
428 |
|
|
sed '
|
429 |
|
|
s/[$]LINENO.*/&-/
|
430 |
|
|
t lineno
|
431 |
|
|
b
|
432 |
|
|
:lineno
|
433 |
|
|
N
|
434 |
|
|
:loop
|
435 |
|
|
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
436 |
|
|
t loop
|
437 |
|
|
s/-\n.*//
|
438 |
|
|
' >$as_me.lineno &&
|
439 |
|
|
chmod +x "$as_me.lineno" ||
|
440 |
|
|
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
441 |
|
|
|
442 |
|
|
# Don't try to exec as it changes $[0], causing all sort of problems
|
443 |
|
|
# (the dirname of $[0] is not the place where we might find the
|
444 |
|
|
# original and so on. Autoconf is especially sensitive to this).
|
445 |
|
|
. "./$as_me.lineno"
|
446 |
|
|
# Exit status is that of the last command.
|
447 |
|
|
exit
|
448 |
|
|
}
|
449 |
|
|
|
450 |
|
|
ECHO_C= ECHO_N= ECHO_T=
|
451 |
|
|
case `echo -n x` in #(((((
|
452 |
|
|
-n*)
|
453 |
|
|
case `echo 'xy\c'` in
|
454 |
|
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
455 |
|
|
xy) ECHO_C='\c';;
|
456 |
|
|
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
457 |
|
|
ECHO_T=' ';;
|
458 |
|
|
esac;;
|
459 |
|
|
*)
|
460 |
|
|
ECHO_N='-n';;
|
461 |
|
|
esac
|
462 |
|
|
|
463 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
464 |
|
|
if test -d conf$$.dir; then
|
465 |
|
|
rm -f conf$$.dir/conf$$.file
|
466 |
|
|
else
|
467 |
|
|
rm -f conf$$.dir
|
468 |
|
|
mkdir conf$$.dir 2>/dev/null
|
469 |
|
|
fi
|
470 |
|
|
if (echo >conf$$.file) 2>/dev/null; then
|
471 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
472 |
|
|
as_ln_s='ln -s'
|
473 |
|
|
# ... but there are two gotchas:
|
474 |
|
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
475 |
|
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
476 |
|
|
# In both cases, we have to default to `cp -p'.
|
477 |
|
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
478 |
|
|
as_ln_s='cp -p'
|
479 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
480 |
|
|
as_ln_s=ln
|
481 |
|
|
else
|
482 |
|
|
as_ln_s='cp -p'
|
483 |
|
|
fi
|
484 |
|
|
else
|
485 |
|
|
as_ln_s='cp -p'
|
486 |
|
|
fi
|
487 |
|
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
488 |
|
|
rmdir conf$$.dir 2>/dev/null
|
489 |
|
|
|
490 |
|
|
if mkdir -p . 2>/dev/null; then
|
491 |
|
|
as_mkdir_p='mkdir -p "$as_dir"'
|
492 |
|
|
else
|
493 |
|
|
test -d ./-p && rmdir ./-p
|
494 |
|
|
as_mkdir_p=false
|
495 |
|
|
fi
|
496 |
|
|
|
497 |
|
|
if test -x / >/dev/null 2>&1; then
|
498 |
|
|
as_test_x='test -x'
|
499 |
|
|
else
|
500 |
|
|
if ls -dL / >/dev/null 2>&1; then
|
501 |
|
|
as_ls_L_option=L
|
502 |
|
|
else
|
503 |
|
|
as_ls_L_option=
|
504 |
|
|
fi
|
505 |
|
|
as_test_x='
|
506 |
|
|
eval sh -c '\''
|
507 |
|
|
if test -d "$1"; then
|
508 |
|
|
test -d "$1/.";
|
509 |
|
|
else
|
510 |
|
|
case $1 in #(
|
511 |
|
|
-*)set "./$1";;
|
512 |
|
|
esac;
|
513 |
|
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
514 |
|
|
???[sx]*):;;*)false;;esac;fi
|
515 |
|
|
'\'' sh
|
516 |
|
|
'
|
517 |
|
|
fi
|
518 |
|
|
as_executable_p=$as_test_x
|
519 |
|
|
|
520 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
521 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
522 |
|
|
|
523 |
|
|
# Sed expression to map a string onto a valid variable name.
|
524 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
525 |
|
|
|
526 |
|
|
|
527 |
|
|
exec 7<&0 &1
|
528 |
|
|
|
529 |
|
|
# Name of the host.
|
530 |
|
|
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
531 |
|
|
# so uname gets run too.
|
532 |
|
|
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
533 |
|
|
|
534 |
|
|
#
|
535 |
|
|
# Initializations.
|
536 |
|
|
#
|
537 |
|
|
ac_default_prefix=/usr/local
|
538 |
|
|
ac_clean_files=
|
539 |
|
|
ac_config_libobj_dir=.
|
540 |
|
|
LIBOBJS=
|
541 |
|
|
cross_compiling=no
|
542 |
|
|
subdirs=
|
543 |
|
|
MFLAGS=
|
544 |
|
|
MAKEFLAGS=
|
545 |
|
|
|
546 |
|
|
# Identity of this package.
|
547 |
|
|
PACKAGE_NAME='gold'
|
548 |
|
|
PACKAGE_TARNAME='gold'
|
549 |
|
|
PACKAGE_VERSION='0.1'
|
550 |
|
|
PACKAGE_STRING='gold 0.1'
|
551 |
|
|
PACKAGE_BUGREPORT=''
|
552 |
|
|
PACKAGE_URL=''
|
553 |
|
|
|
554 |
|
|
ac_unique_file="gold.cc"
|
555 |
|
|
# Factoring default headers for most tests.
|
556 |
|
|
ac_includes_default="\
|
557 |
|
|
#include
|
558 |
|
|
#ifdef HAVE_SYS_TYPES_H
|
559 |
|
|
# include
|
560 |
|
|
#endif
|
561 |
|
|
#ifdef HAVE_SYS_STAT_H
|
562 |
|
|
# include
|
563 |
|
|
#endif
|
564 |
|
|
#ifdef STDC_HEADERS
|
565 |
|
|
# include
|
566 |
|
|
# include
|
567 |
|
|
#else
|
568 |
|
|
# ifdef HAVE_STDLIB_H
|
569 |
|
|
# include
|
570 |
|
|
# endif
|
571 |
|
|
#endif
|
572 |
|
|
#ifdef HAVE_STRING_H
|
573 |
|
|
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
|
574 |
|
|
# include
|
575 |
|
|
# endif
|
576 |
|
|
# include
|
577 |
|
|
#endif
|
578 |
|
|
#ifdef HAVE_STRINGS_H
|
579 |
|
|
# include
|
580 |
|
|
#endif
|
581 |
|
|
#ifdef HAVE_INTTYPES_H
|
582 |
|
|
# include
|
583 |
|
|
#endif
|
584 |
|
|
#ifdef HAVE_STDINT_H
|
585 |
|
|
# include
|
586 |
|
|
#endif
|
587 |
|
|
#ifdef HAVE_UNISTD_H
|
588 |
|
|
# include
|
589 |
|
|
#endif"
|
590 |
|
|
|
591 |
|
|
ac_subst_vars='am__EXEEXT_FALSE
|
592 |
|
|
am__EXEEXT_TRUE
|
593 |
|
|
LTLIBOBJS
|
594 |
|
|
MAINT
|
595 |
|
|
MAINTAINER_MODE_FALSE
|
596 |
|
|
MAINTAINER_MODE_TRUE
|
597 |
|
|
CXXCPP
|
598 |
|
|
HAVE_ZLIB_FALSE
|
599 |
|
|
HAVE_ZLIB_TRUE
|
600 |
|
|
LIBOBJS
|
601 |
|
|
LFS_CFLAGS
|
602 |
|
|
WARN_CXXFLAGS
|
603 |
|
|
NO_WERROR
|
604 |
|
|
WARN_CFLAGS
|
605 |
|
|
IFUNC_FALSE
|
606 |
|
|
IFUNC_TRUE
|
607 |
|
|
RANDOM_SEED_CFLAGS
|
608 |
|
|
CONSTRUCTOR_PRIORITY_FALSE
|
609 |
|
|
CONSTRUCTOR_PRIORITY_TRUE
|
610 |
|
|
TLS_DESCRIPTORS_FALSE
|
611 |
|
|
TLS_DESCRIPTORS_TRUE
|
612 |
|
|
TLS_GNU2_DIALECT_FALSE
|
613 |
|
|
TLS_GNU2_DIALECT_TRUE
|
614 |
|
|
OMP_SUPPORT_FALSE
|
615 |
|
|
OMP_SUPPORT_TRUE
|
616 |
|
|
STATIC_TLS_FALSE
|
617 |
|
|
STATIC_TLS_TRUE
|
618 |
|
|
TLS_FALSE
|
619 |
|
|
TLS_TRUE
|
620 |
|
|
MCMODEL_MEDIUM_FALSE
|
621 |
|
|
MCMODEL_MEDIUM_TRUE
|
622 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_FALSE
|
623 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE
|
624 |
|
|
NATIVE_OR_CROSS_LINKER_FALSE
|
625 |
|
|
NATIVE_OR_CROSS_LINKER_TRUE
|
626 |
|
|
GCC_FALSE
|
627 |
|
|
GCC_TRUE
|
628 |
|
|
NATIVE_LINKER_FALSE
|
629 |
|
|
NATIVE_LINKER_TRUE
|
630 |
|
|
MSGMERGE
|
631 |
|
|
MSGFMT
|
632 |
|
|
MKINSTALLDIRS
|
633 |
|
|
CATOBJEXT
|
634 |
|
|
GENCAT
|
635 |
|
|
INSTOBJEXT
|
636 |
|
|
DATADIRNAME
|
637 |
|
|
CATALOGS
|
638 |
|
|
POSUB
|
639 |
|
|
GMSGFMT
|
640 |
|
|
XGETTEXT
|
641 |
|
|
INCINTL
|
642 |
|
|
LIBINTL_DEP
|
643 |
|
|
LIBINTL
|
644 |
|
|
USE_NLS
|
645 |
|
|
EGREP
|
646 |
|
|
GREP
|
647 |
|
|
CPP
|
648 |
|
|
LN_S
|
649 |
|
|
RANLIB
|
650 |
|
|
YFLAGS
|
651 |
|
|
YACC
|
652 |
|
|
am__fastdepCXX_FALSE
|
653 |
|
|
am__fastdepCXX_TRUE
|
654 |
|
|
CXXDEPMODE
|
655 |
|
|
ac_ct_CXX
|
656 |
|
|
CXXFLAGS
|
657 |
|
|
CXX
|
658 |
|
|
am__fastdepCC_FALSE
|
659 |
|
|
am__fastdepCC_TRUE
|
660 |
|
|
CCDEPMODE
|
661 |
|
|
AMDEPBACKSLASH
|
662 |
|
|
AMDEP_FALSE
|
663 |
|
|
AMDEP_TRUE
|
664 |
|
|
am__quote
|
665 |
|
|
am__include
|
666 |
|
|
DEPDIR
|
667 |
|
|
OBJEXT
|
668 |
|
|
EXEEXT
|
669 |
|
|
ac_ct_CC
|
670 |
|
|
CPPFLAGS
|
671 |
|
|
LDFLAGS
|
672 |
|
|
CFLAGS
|
673 |
|
|
CC
|
674 |
|
|
TARGETOBJS
|
675 |
|
|
DEFAULT_TARGET_X86_64_FALSE
|
676 |
|
|
DEFAULT_TARGET_X86_64_TRUE
|
677 |
|
|
DEFAULT_TARGET_SPARC_FALSE
|
678 |
|
|
DEFAULT_TARGET_SPARC_TRUE
|
679 |
|
|
DEFAULT_TARGET_POWERPC_FALSE
|
680 |
|
|
DEFAULT_TARGET_POWERPC_TRUE
|
681 |
|
|
DEFAULT_TARGET_I386_FALSE
|
682 |
|
|
DEFAULT_TARGET_I386_TRUE
|
683 |
|
|
DEFAULT_TARGET_ARM_FALSE
|
684 |
|
|
DEFAULT_TARGET_ARM_TRUE
|
685 |
|
|
PLUGINS_FALSE
|
686 |
|
|
PLUGINS_TRUE
|
687 |
|
|
THREADS_FALSE
|
688 |
|
|
THREADS_TRUE
|
689 |
|
|
installed_linker
|
690 |
|
|
install_as_default
|
691 |
|
|
am__untar
|
692 |
|
|
am__tar
|
693 |
|
|
AMTAR
|
694 |
|
|
am__leading_dot
|
695 |
|
|
SET_MAKE
|
696 |
|
|
AWK
|
697 |
|
|
mkdir_p
|
698 |
|
|
MKDIR_P
|
699 |
|
|
INSTALL_STRIP_PROGRAM
|
700 |
|
|
STRIP
|
701 |
|
|
install_sh
|
702 |
|
|
MAKEINFO
|
703 |
|
|
AUTOHEADER
|
704 |
|
|
AUTOMAKE
|
705 |
|
|
AUTOCONF
|
706 |
|
|
ACLOCAL
|
707 |
|
|
VERSION
|
708 |
|
|
PACKAGE
|
709 |
|
|
CYGPATH_W
|
710 |
|
|
am__isrc
|
711 |
|
|
INSTALL_DATA
|
712 |
|
|
INSTALL_SCRIPT
|
713 |
|
|
INSTALL_PROGRAM
|
714 |
|
|
target_os
|
715 |
|
|
target_vendor
|
716 |
|
|
target_cpu
|
717 |
|
|
target
|
718 |
|
|
host_os
|
719 |
|
|
host_vendor
|
720 |
|
|
host_cpu
|
721 |
|
|
host
|
722 |
|
|
build_os
|
723 |
|
|
build_vendor
|
724 |
|
|
build_cpu
|
725 |
|
|
build
|
726 |
|
|
target_alias
|
727 |
|
|
host_alias
|
728 |
|
|
build_alias
|
729 |
|
|
LIBS
|
730 |
|
|
ECHO_T
|
731 |
|
|
ECHO_N
|
732 |
|
|
ECHO_C
|
733 |
|
|
DEFS
|
734 |
|
|
mandir
|
735 |
|
|
localedir
|
736 |
|
|
libdir
|
737 |
|
|
psdir
|
738 |
|
|
pdfdir
|
739 |
|
|
dvidir
|
740 |
|
|
htmldir
|
741 |
|
|
infodir
|
742 |
|
|
docdir
|
743 |
|
|
oldincludedir
|
744 |
|
|
includedir
|
745 |
|
|
localstatedir
|
746 |
|
|
sharedstatedir
|
747 |
|
|
sysconfdir
|
748 |
|
|
datadir
|
749 |
|
|
datarootdir
|
750 |
|
|
libexecdir
|
751 |
|
|
sbindir
|
752 |
|
|
bindir
|
753 |
|
|
program_transform_name
|
754 |
|
|
prefix
|
755 |
|
|
exec_prefix
|
756 |
|
|
PACKAGE_URL
|
757 |
|
|
PACKAGE_BUGREPORT
|
758 |
|
|
PACKAGE_STRING
|
759 |
|
|
PACKAGE_VERSION
|
760 |
|
|
PACKAGE_TARNAME
|
761 |
|
|
PACKAGE_NAME
|
762 |
|
|
PATH_SEPARATOR
|
763 |
|
|
SHELL'
|
764 |
|
|
ac_subst_files=''
|
765 |
|
|
ac_user_opts='
|
766 |
|
|
enable_option_checking
|
767 |
|
|
with_sysroot
|
768 |
|
|
enable_ld
|
769 |
|
|
enable_gold
|
770 |
|
|
enable_threads
|
771 |
|
|
enable_plugins
|
772 |
|
|
enable_targets
|
773 |
|
|
enable_dependency_tracking
|
774 |
|
|
enable_nls
|
775 |
|
|
enable_werror
|
776 |
|
|
enable_build_warnings
|
777 |
|
|
enable_maintainer_mode
|
778 |
|
|
'
|
779 |
|
|
ac_precious_vars='build_alias
|
780 |
|
|
host_alias
|
781 |
|
|
target_alias
|
782 |
|
|
CC
|
783 |
|
|
CFLAGS
|
784 |
|
|
LDFLAGS
|
785 |
|
|
LIBS
|
786 |
|
|
CPPFLAGS
|
787 |
|
|
CXX
|
788 |
|
|
CXXFLAGS
|
789 |
|
|
CCC
|
790 |
|
|
YACC
|
791 |
|
|
YFLAGS
|
792 |
|
|
CPP
|
793 |
|
|
CXXCPP'
|
794 |
|
|
|
795 |
|
|
|
796 |
|
|
# Initialize some variables set by options.
|
797 |
|
|
ac_init_help=
|
798 |
|
|
ac_init_version=false
|
799 |
|
|
ac_unrecognized_opts=
|
800 |
|
|
ac_unrecognized_sep=
|
801 |
|
|
# The variables have the same names as the options, with
|
802 |
|
|
# dashes changed to underlines.
|
803 |
|
|
cache_file=/dev/null
|
804 |
|
|
exec_prefix=NONE
|
805 |
|
|
no_create=
|
806 |
|
|
no_recursion=
|
807 |
|
|
prefix=NONE
|
808 |
|
|
program_prefix=NONE
|
809 |
|
|
program_suffix=NONE
|
810 |
|
|
program_transform_name=s,x,x,
|
811 |
|
|
silent=
|
812 |
|
|
site=
|
813 |
|
|
srcdir=
|
814 |
|
|
verbose=
|
815 |
|
|
x_includes=NONE
|
816 |
|
|
x_libraries=NONE
|
817 |
|
|
|
818 |
|
|
# Installation directory options.
|
819 |
|
|
# These are left unexpanded so users can "make install exec_prefix=/foo"
|
820 |
|
|
# and all the variables that are supposed to be based on exec_prefix
|
821 |
|
|
# by default will actually change.
|
822 |
|
|
# Use braces instead of parens because sh, perl, etc. also accept them.
|
823 |
|
|
# (The list follows the same order as the GNU Coding Standards.)
|
824 |
|
|
bindir='${exec_prefix}/bin'
|
825 |
|
|
sbindir='${exec_prefix}/sbin'
|
826 |
|
|
libexecdir='${exec_prefix}/libexec'
|
827 |
|
|
datarootdir='${prefix}/share'
|
828 |
|
|
datadir='${datarootdir}'
|
829 |
|
|
sysconfdir='${prefix}/etc'
|
830 |
|
|
sharedstatedir='${prefix}/com'
|
831 |
|
|
localstatedir='${prefix}/var'
|
832 |
|
|
includedir='${prefix}/include'
|
833 |
|
|
oldincludedir='/usr/include'
|
834 |
|
|
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
|
835 |
|
|
infodir='${datarootdir}/info'
|
836 |
|
|
htmldir='${docdir}'
|
837 |
|
|
dvidir='${docdir}'
|
838 |
|
|
pdfdir='${docdir}'
|
839 |
|
|
psdir='${docdir}'
|
840 |
|
|
libdir='${exec_prefix}/lib'
|
841 |
|
|
localedir='${datarootdir}/locale'
|
842 |
|
|
mandir='${datarootdir}/man'
|
843 |
|
|
|
844 |
|
|
ac_prev=
|
845 |
|
|
ac_dashdash=
|
846 |
|
|
for ac_option
|
847 |
|
|
do
|
848 |
|
|
# If the previous option needs an argument, assign it.
|
849 |
|
|
if test -n "$ac_prev"; then
|
850 |
|
|
eval $ac_prev=\$ac_option
|
851 |
|
|
ac_prev=
|
852 |
|
|
continue
|
853 |
|
|
fi
|
854 |
|
|
|
855 |
|
|
case $ac_option in
|
856 |
|
|
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
857 |
|
|
*) ac_optarg=yes ;;
|
858 |
|
|
esac
|
859 |
|
|
|
860 |
|
|
# Accept the important Cygnus configure options, so we can diagnose typos.
|
861 |
|
|
|
862 |
|
|
case $ac_dashdash$ac_option in
|
863 |
|
|
--)
|
864 |
|
|
ac_dashdash=yes ;;
|
865 |
|
|
|
866 |
|
|
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
867 |
|
|
ac_prev=bindir ;;
|
868 |
|
|
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
869 |
|
|
bindir=$ac_optarg ;;
|
870 |
|
|
|
871 |
|
|
-build | --build | --buil | --bui | --bu)
|
872 |
|
|
ac_prev=build_alias ;;
|
873 |
|
|
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
874 |
|
|
build_alias=$ac_optarg ;;
|
875 |
|
|
|
876 |
|
|
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
877 |
|
|
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
878 |
|
|
ac_prev=cache_file ;;
|
879 |
|
|
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
880 |
|
|
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
881 |
|
|
cache_file=$ac_optarg ;;
|
882 |
|
|
|
883 |
|
|
--config-cache | -C)
|
884 |
|
|
cache_file=config.cache ;;
|
885 |
|
|
|
886 |
|
|
-datadir | --datadir | --datadi | --datad)
|
887 |
|
|
ac_prev=datadir ;;
|
888 |
|
|
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
889 |
|
|
datadir=$ac_optarg ;;
|
890 |
|
|
|
891 |
|
|
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
892 |
|
|
| --dataroo | --dataro | --datar)
|
893 |
|
|
ac_prev=datarootdir ;;
|
894 |
|
|
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
895 |
|
|
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
896 |
|
|
datarootdir=$ac_optarg ;;
|
897 |
|
|
|
898 |
|
|
-disable-* | --disable-*)
|
899 |
|
|
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
900 |
|
|
# Reject names that are not valid shell variable names.
|
901 |
|
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
902 |
|
|
as_fn_error "invalid feature name: $ac_useropt"
|
903 |
|
|
ac_useropt_orig=$ac_useropt
|
904 |
|
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
905 |
|
|
case $ac_user_opts in
|
906 |
|
|
*"
|
907 |
|
|
"enable_$ac_useropt"
|
908 |
|
|
"*) ;;
|
909 |
|
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
910 |
|
|
ac_unrecognized_sep=', ';;
|
911 |
|
|
esac
|
912 |
|
|
eval enable_$ac_useropt=no ;;
|
913 |
|
|
|
914 |
|
|
-docdir | --docdir | --docdi | --doc | --do)
|
915 |
|
|
ac_prev=docdir ;;
|
916 |
|
|
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
917 |
|
|
docdir=$ac_optarg ;;
|
918 |
|
|
|
919 |
|
|
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
920 |
|
|
ac_prev=dvidir ;;
|
921 |
|
|
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
922 |
|
|
dvidir=$ac_optarg ;;
|
923 |
|
|
|
924 |
|
|
-enable-* | --enable-*)
|
925 |
|
|
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
926 |
|
|
# Reject names that are not valid shell variable names.
|
927 |
|
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
928 |
|
|
as_fn_error "invalid feature name: $ac_useropt"
|
929 |
|
|
ac_useropt_orig=$ac_useropt
|
930 |
|
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
931 |
|
|
case $ac_user_opts in
|
932 |
|
|
*"
|
933 |
|
|
"enable_$ac_useropt"
|
934 |
|
|
"*) ;;
|
935 |
|
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
936 |
|
|
ac_unrecognized_sep=', ';;
|
937 |
|
|
esac
|
938 |
|
|
eval enable_$ac_useropt=\$ac_optarg ;;
|
939 |
|
|
|
940 |
|
|
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
941 |
|
|
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
942 |
|
|
| --exec | --exe | --ex)
|
943 |
|
|
ac_prev=exec_prefix ;;
|
944 |
|
|
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
945 |
|
|
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
946 |
|
|
| --exec=* | --exe=* | --ex=*)
|
947 |
|
|
exec_prefix=$ac_optarg ;;
|
948 |
|
|
|
949 |
|
|
-gas | --gas | --ga | --g)
|
950 |
|
|
# Obsolete; use --with-gas.
|
951 |
|
|
with_gas=yes ;;
|
952 |
|
|
|
953 |
|
|
-help | --help | --hel | --he | -h)
|
954 |
|
|
ac_init_help=long ;;
|
955 |
|
|
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
|
956 |
|
|
ac_init_help=recursive ;;
|
957 |
|
|
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
|
958 |
|
|
ac_init_help=short ;;
|
959 |
|
|
|
960 |
|
|
-host | --host | --hos | --ho)
|
961 |
|
|
ac_prev=host_alias ;;
|
962 |
|
|
-host=* | --host=* | --hos=* | --ho=*)
|
963 |
|
|
host_alias=$ac_optarg ;;
|
964 |
|
|
|
965 |
|
|
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
966 |
|
|
ac_prev=htmldir ;;
|
967 |
|
|
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
968 |
|
|
| --ht=*)
|
969 |
|
|
htmldir=$ac_optarg ;;
|
970 |
|
|
|
971 |
|
|
-includedir | --includedir | --includedi | --included | --include \
|
972 |
|
|
| --includ | --inclu | --incl | --inc)
|
973 |
|
|
ac_prev=includedir ;;
|
974 |
|
|
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
975 |
|
|
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
976 |
|
|
includedir=$ac_optarg ;;
|
977 |
|
|
|
978 |
|
|
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
979 |
|
|
ac_prev=infodir ;;
|
980 |
|
|
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
981 |
|
|
infodir=$ac_optarg ;;
|
982 |
|
|
|
983 |
|
|
-libdir | --libdir | --libdi | --libd)
|
984 |
|
|
ac_prev=libdir ;;
|
985 |
|
|
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
986 |
|
|
libdir=$ac_optarg ;;
|
987 |
|
|
|
988 |
|
|
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
989 |
|
|
| --libexe | --libex | --libe)
|
990 |
|
|
ac_prev=libexecdir ;;
|
991 |
|
|
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
992 |
|
|
| --libexe=* | --libex=* | --libe=*)
|
993 |
|
|
libexecdir=$ac_optarg ;;
|
994 |
|
|
|
995 |
|
|
-localedir | --localedir | --localedi | --localed | --locale)
|
996 |
|
|
ac_prev=localedir ;;
|
997 |
|
|
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
998 |
|
|
localedir=$ac_optarg ;;
|
999 |
|
|
|
1000 |
|
|
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
1001 |
|
|
| --localstate | --localstat | --localsta | --localst | --locals)
|
1002 |
|
|
ac_prev=localstatedir ;;
|
1003 |
|
|
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
1004 |
|
|
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
1005 |
|
|
localstatedir=$ac_optarg ;;
|
1006 |
|
|
|
1007 |
|
|
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
1008 |
|
|
ac_prev=mandir ;;
|
1009 |
|
|
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
1010 |
|
|
mandir=$ac_optarg ;;
|
1011 |
|
|
|
1012 |
|
|
-nfp | --nfp | --nf)
|
1013 |
|
|
# Obsolete; use --without-fp.
|
1014 |
|
|
with_fp=no ;;
|
1015 |
|
|
|
1016 |
|
|
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
1017 |
|
|
| --no-cr | --no-c | -n)
|
1018 |
|
|
no_create=yes ;;
|
1019 |
|
|
|
1020 |
|
|
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
1021 |
|
|
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
1022 |
|
|
no_recursion=yes ;;
|
1023 |
|
|
|
1024 |
|
|
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
1025 |
|
|
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
1026 |
|
|
| --oldin | --oldi | --old | --ol | --o)
|
1027 |
|
|
ac_prev=oldincludedir ;;
|
1028 |
|
|
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
1029 |
|
|
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
1030 |
|
|
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
1031 |
|
|
oldincludedir=$ac_optarg ;;
|
1032 |
|
|
|
1033 |
|
|
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
1034 |
|
|
ac_prev=prefix ;;
|
1035 |
|
|
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
1036 |
|
|
prefix=$ac_optarg ;;
|
1037 |
|
|
|
1038 |
|
|
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
1039 |
|
|
| --program-pre | --program-pr | --program-p)
|
1040 |
|
|
ac_prev=program_prefix ;;
|
1041 |
|
|
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
1042 |
|
|
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
1043 |
|
|
program_prefix=$ac_optarg ;;
|
1044 |
|
|
|
1045 |
|
|
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
1046 |
|
|
| --program-suf | --program-su | --program-s)
|
1047 |
|
|
ac_prev=program_suffix ;;
|
1048 |
|
|
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
1049 |
|
|
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
1050 |
|
|
program_suffix=$ac_optarg ;;
|
1051 |
|
|
|
1052 |
|
|
-program-transform-name | --program-transform-name \
|
1053 |
|
|
| --program-transform-nam | --program-transform-na \
|
1054 |
|
|
| --program-transform-n | --program-transform- \
|
1055 |
|
|
| --program-transform | --program-transfor \
|
1056 |
|
|
| --program-transfo | --program-transf \
|
1057 |
|
|
| --program-trans | --program-tran \
|
1058 |
|
|
| --progr-tra | --program-tr | --program-t)
|
1059 |
|
|
ac_prev=program_transform_name ;;
|
1060 |
|
|
-program-transform-name=* | --program-transform-name=* \
|
1061 |
|
|
| --program-transform-nam=* | --program-transform-na=* \
|
1062 |
|
|
| --program-transform-n=* | --program-transform-=* \
|
1063 |
|
|
| --program-transform=* | --program-transfor=* \
|
1064 |
|
|
| --program-transfo=* | --program-transf=* \
|
1065 |
|
|
| --program-trans=* | --program-tran=* \
|
1066 |
|
|
| --progr-tra=* | --program-tr=* | --program-t=*)
|
1067 |
|
|
program_transform_name=$ac_optarg ;;
|
1068 |
|
|
|
1069 |
|
|
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
1070 |
|
|
ac_prev=pdfdir ;;
|
1071 |
|
|
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
1072 |
|
|
pdfdir=$ac_optarg ;;
|
1073 |
|
|
|
1074 |
|
|
-psdir | --psdir | --psdi | --psd | --ps)
|
1075 |
|
|
ac_prev=psdir ;;
|
1076 |
|
|
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
1077 |
|
|
psdir=$ac_optarg ;;
|
1078 |
|
|
|
1079 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1080 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
1081 |
|
|
silent=yes ;;
|
1082 |
|
|
|
1083 |
|
|
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
1084 |
|
|
ac_prev=sbindir ;;
|
1085 |
|
|
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
1086 |
|
|
| --sbi=* | --sb=*)
|
1087 |
|
|
sbindir=$ac_optarg ;;
|
1088 |
|
|
|
1089 |
|
|
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
1090 |
|
|
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
1091 |
|
|
| --sharedst | --shareds | --shared | --share | --shar \
|
1092 |
|
|
| --sha | --sh)
|
1093 |
|
|
ac_prev=sharedstatedir ;;
|
1094 |
|
|
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
1095 |
|
|
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
1096 |
|
|
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
1097 |
|
|
| --sha=* | --sh=*)
|
1098 |
|
|
sharedstatedir=$ac_optarg ;;
|
1099 |
|
|
|
1100 |
|
|
-site | --site | --sit)
|
1101 |
|
|
ac_prev=site ;;
|
1102 |
|
|
-site=* | --site=* | --sit=*)
|
1103 |
|
|
site=$ac_optarg ;;
|
1104 |
|
|
|
1105 |
|
|
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
1106 |
|
|
ac_prev=srcdir ;;
|
1107 |
|
|
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
1108 |
|
|
srcdir=$ac_optarg ;;
|
1109 |
|
|
|
1110 |
|
|
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
1111 |
|
|
| --syscon | --sysco | --sysc | --sys | --sy)
|
1112 |
|
|
ac_prev=sysconfdir ;;
|
1113 |
|
|
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
1114 |
|
|
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
1115 |
|
|
sysconfdir=$ac_optarg ;;
|
1116 |
|
|
|
1117 |
|
|
-target | --target | --targe | --targ | --tar | --ta | --t)
|
1118 |
|
|
ac_prev=target_alias ;;
|
1119 |
|
|
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
1120 |
|
|
target_alias=$ac_optarg ;;
|
1121 |
|
|
|
1122 |
|
|
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
1123 |
|
|
verbose=yes ;;
|
1124 |
|
|
|
1125 |
|
|
-version | --version | --versio | --versi | --vers | -V)
|
1126 |
|
|
ac_init_version=: ;;
|
1127 |
|
|
|
1128 |
|
|
-with-* | --with-*)
|
1129 |
|
|
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
1130 |
|
|
# Reject names that are not valid shell variable names.
|
1131 |
|
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1132 |
|
|
as_fn_error "invalid package name: $ac_useropt"
|
1133 |
|
|
ac_useropt_orig=$ac_useropt
|
1134 |
|
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1135 |
|
|
case $ac_user_opts in
|
1136 |
|
|
*"
|
1137 |
|
|
"with_$ac_useropt"
|
1138 |
|
|
"*) ;;
|
1139 |
|
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
1140 |
|
|
ac_unrecognized_sep=', ';;
|
1141 |
|
|
esac
|
1142 |
|
|
eval with_$ac_useropt=\$ac_optarg ;;
|
1143 |
|
|
|
1144 |
|
|
-without-* | --without-*)
|
1145 |
|
|
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
1146 |
|
|
# Reject names that are not valid shell variable names.
|
1147 |
|
|
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
1148 |
|
|
as_fn_error "invalid package name: $ac_useropt"
|
1149 |
|
|
ac_useropt_orig=$ac_useropt
|
1150 |
|
|
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
1151 |
|
|
case $ac_user_opts in
|
1152 |
|
|
*"
|
1153 |
|
|
"with_$ac_useropt"
|
1154 |
|
|
"*) ;;
|
1155 |
|
|
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
1156 |
|
|
ac_unrecognized_sep=', ';;
|
1157 |
|
|
esac
|
1158 |
|
|
eval with_$ac_useropt=no ;;
|
1159 |
|
|
|
1160 |
|
|
--x)
|
1161 |
|
|
# Obsolete; use --with-x.
|
1162 |
|
|
with_x=yes ;;
|
1163 |
|
|
|
1164 |
|
|
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
1165 |
|
|
| --x-incl | --x-inc | --x-in | --x-i)
|
1166 |
|
|
ac_prev=x_includes ;;
|
1167 |
|
|
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
1168 |
|
|
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
1169 |
|
|
x_includes=$ac_optarg ;;
|
1170 |
|
|
|
1171 |
|
|
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
1172 |
|
|
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
1173 |
|
|
ac_prev=x_libraries ;;
|
1174 |
|
|
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
1175 |
|
|
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
1176 |
|
|
x_libraries=$ac_optarg ;;
|
1177 |
|
|
|
1178 |
|
|
-*) as_fn_error "unrecognized option: \`$ac_option'
|
1179 |
|
|
Try \`$0 --help' for more information."
|
1180 |
|
|
;;
|
1181 |
|
|
|
1182 |
|
|
*=*)
|
1183 |
|
|
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
1184 |
|
|
# Reject names that are not valid shell variable names.
|
1185 |
|
|
case $ac_envvar in #(
|
1186 |
|
|
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
1187 |
|
|
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
1188 |
|
|
esac
|
1189 |
|
|
eval $ac_envvar=\$ac_optarg
|
1190 |
|
|
export $ac_envvar ;;
|
1191 |
|
|
|
1192 |
|
|
*)
|
1193 |
|
|
# FIXME: should be removed in autoconf 3.0.
|
1194 |
|
|
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
1195 |
|
|
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
1196 |
|
|
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
1197 |
|
|
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
1198 |
|
|
;;
|
1199 |
|
|
|
1200 |
|
|
esac
|
1201 |
|
|
done
|
1202 |
|
|
|
1203 |
|
|
if test -n "$ac_prev"; then
|
1204 |
|
|
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
1205 |
|
|
as_fn_error "missing argument to $ac_option"
|
1206 |
|
|
fi
|
1207 |
|
|
|
1208 |
|
|
if test -n "$ac_unrecognized_opts"; then
|
1209 |
|
|
case $enable_option_checking in
|
1210 |
|
|
no) ;;
|
1211 |
|
|
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
1212 |
|
|
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
1213 |
|
|
esac
|
1214 |
|
|
fi
|
1215 |
|
|
|
1216 |
|
|
# Check all directory arguments for consistency.
|
1217 |
|
|
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
1218 |
|
|
datadir sysconfdir sharedstatedir localstatedir includedir \
|
1219 |
|
|
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
1220 |
|
|
libdir localedir mandir
|
1221 |
|
|
do
|
1222 |
|
|
eval ac_val=\$$ac_var
|
1223 |
|
|
# Remove trailing slashes.
|
1224 |
|
|
case $ac_val in
|
1225 |
|
|
*/ )
|
1226 |
|
|
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
1227 |
|
|
eval $ac_var=\$ac_val;;
|
1228 |
|
|
esac
|
1229 |
|
|
# Be sure to have absolute directory names.
|
1230 |
|
|
case $ac_val in
|
1231 |
|
|
[\\/$]* | ?:[\\/]* ) continue;;
|
1232 |
|
|
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
1233 |
|
|
esac
|
1234 |
|
|
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
1235 |
|
|
done
|
1236 |
|
|
|
1237 |
|
|
# There might be people who depend on the old broken behavior: `$host'
|
1238 |
|
|
# used to hold the argument of --host etc.
|
1239 |
|
|
# FIXME: To remove some day.
|
1240 |
|
|
build=$build_alias
|
1241 |
|
|
host=$host_alias
|
1242 |
|
|
target=$target_alias
|
1243 |
|
|
|
1244 |
|
|
# FIXME: To remove some day.
|
1245 |
|
|
if test "x$host_alias" != x; then
|
1246 |
|
|
if test "x$build_alias" = x; then
|
1247 |
|
|
cross_compiling=maybe
|
1248 |
|
|
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
1249 |
|
|
If a cross compiler is detected then cross compile mode will be used." >&2
|
1250 |
|
|
elif test "x$build_alias" != "x$host_alias"; then
|
1251 |
|
|
cross_compiling=yes
|
1252 |
|
|
fi
|
1253 |
|
|
fi
|
1254 |
|
|
|
1255 |
|
|
ac_tool_prefix=
|
1256 |
|
|
test -n "$host_alias" && ac_tool_prefix=$host_alias-
|
1257 |
|
|
|
1258 |
|
|
test "$silent" = yes && exec 6>/dev/null
|
1259 |
|
|
|
1260 |
|
|
|
1261 |
|
|
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
1262 |
|
|
ac_ls_di=`ls -di .` &&
|
1263 |
|
|
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
1264 |
|
|
as_fn_error "working directory cannot be determined"
|
1265 |
|
|
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
1266 |
|
|
as_fn_error "pwd does not report name of working directory"
|
1267 |
|
|
|
1268 |
|
|
|
1269 |
|
|
# Find the source files, if location was not specified.
|
1270 |
|
|
if test -z "$srcdir"; then
|
1271 |
|
|
ac_srcdir_defaulted=yes
|
1272 |
|
|
# Try the directory containing this script, then the parent directory.
|
1273 |
|
|
ac_confdir=`$as_dirname -- "$as_myself" ||
|
1274 |
|
|
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
1275 |
|
|
X"$as_myself" : 'X\(//\)[^/]' \| \
|
1276 |
|
|
X"$as_myself" : 'X\(//\)$' \| \
|
1277 |
|
|
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
1278 |
|
|
$as_echo X"$as_myself" |
|
1279 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
1280 |
|
|
s//\1/
|
1281 |
|
|
q
|
1282 |
|
|
}
|
1283 |
|
|
/^X\(\/\/\)[^/].*/{
|
1284 |
|
|
s//\1/
|
1285 |
|
|
q
|
1286 |
|
|
}
|
1287 |
|
|
/^X\(\/\/\)$/{
|
1288 |
|
|
s//\1/
|
1289 |
|
|
q
|
1290 |
|
|
}
|
1291 |
|
|
/^X\(\/\).*/{
|
1292 |
|
|
s//\1/
|
1293 |
|
|
q
|
1294 |
|
|
}
|
1295 |
|
|
s/.*/./; q'`
|
1296 |
|
|
srcdir=$ac_confdir
|
1297 |
|
|
if test ! -r "$srcdir/$ac_unique_file"; then
|
1298 |
|
|
srcdir=..
|
1299 |
|
|
fi
|
1300 |
|
|
else
|
1301 |
|
|
ac_srcdir_defaulted=no
|
1302 |
|
|
fi
|
1303 |
|
|
if test ! -r "$srcdir/$ac_unique_file"; then
|
1304 |
|
|
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
1305 |
|
|
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
1306 |
|
|
fi
|
1307 |
|
|
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
1308 |
|
|
ac_abs_confdir=`(
|
1309 |
|
|
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
1310 |
|
|
pwd)`
|
1311 |
|
|
# When building in place, set srcdir=.
|
1312 |
|
|
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
1313 |
|
|
srcdir=.
|
1314 |
|
|
fi
|
1315 |
|
|
# Remove unnecessary trailing slashes from srcdir.
|
1316 |
|
|
# Double slashes in file names in object file debugging info
|
1317 |
|
|
# mess up M-x gdb in Emacs.
|
1318 |
|
|
case $srcdir in
|
1319 |
|
|
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
1320 |
|
|
esac
|
1321 |
|
|
for ac_var in $ac_precious_vars; do
|
1322 |
|
|
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
1323 |
|
|
eval ac_env_${ac_var}_value=\$${ac_var}
|
1324 |
|
|
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
1325 |
|
|
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
1326 |
|
|
done
|
1327 |
|
|
|
1328 |
|
|
#
|
1329 |
|
|
# Report the --help message.
|
1330 |
|
|
#
|
1331 |
|
|
if test "$ac_init_help" = "long"; then
|
1332 |
|
|
# Omit some internal or obsolete options to make the list less imposing.
|
1333 |
|
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1334 |
|
|
cat <<_ACEOF
|
1335 |
|
|
\`configure' configures gold 0.1 to adapt to many kinds of systems.
|
1336 |
|
|
|
1337 |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1338 |
|
|
|
1339 |
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
1340 |
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
1341 |
|
|
|
1342 |
|
|
Defaults for the options are specified in brackets.
|
1343 |
|
|
|
1344 |
|
|
Configuration:
|
1345 |
|
|
-h, --help display this help and exit
|
1346 |
|
|
--help=short display options specific to this package
|
1347 |
|
|
--help=recursive display the short help of all the included packages
|
1348 |
|
|
-V, --version display version information and exit
|
1349 |
|
|
-q, --quiet, --silent do not print \`checking...' messages
|
1350 |
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
1351 |
|
|
-C, --config-cache alias for \`--cache-file=config.cache'
|
1352 |
|
|
-n, --no-create do not create output files
|
1353 |
|
|
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
1354 |
|
|
|
1355 |
|
|
Installation directories:
|
1356 |
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
1357 |
|
|
[$ac_default_prefix]
|
1358 |
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
1359 |
|
|
[PREFIX]
|
1360 |
|
|
|
1361 |
|
|
By default, \`make install' will install all the files in
|
1362 |
|
|
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
1363 |
|
|
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
|
1364 |
|
|
for instance \`--prefix=\$HOME'.
|
1365 |
|
|
|
1366 |
|
|
For better control, use the options below.
|
1367 |
|
|
|
1368 |
|
|
Fine tuning of the installation directories:
|
1369 |
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
1370 |
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
1371 |
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
1372 |
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
1373 |
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
1374 |
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
1375 |
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
1376 |
|
|
--includedir=DIR C header files [PREFIX/include]
|
1377 |
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
1378 |
|
|
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
1379 |
|
|
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
1380 |
|
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
1381 |
|
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
1382 |
|
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
1383 |
|
|
--docdir=DIR documentation root [DATAROOTDIR/doc/gold]
|
1384 |
|
|
--htmldir=DIR html documentation [DOCDIR]
|
1385 |
|
|
--dvidir=DIR dvi documentation [DOCDIR]
|
1386 |
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
1387 |
|
|
--psdir=DIR ps documentation [DOCDIR]
|
1388 |
|
|
_ACEOF
|
1389 |
|
|
|
1390 |
|
|
cat <<\_ACEOF
|
1391 |
|
|
|
1392 |
|
|
Program names:
|
1393 |
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
1394 |
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
1395 |
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
1396 |
|
|
|
1397 |
|
|
System types:
|
1398 |
|
|
--build=BUILD configure for building on BUILD [guessed]
|
1399 |
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
1400 |
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
1401 |
|
|
_ACEOF
|
1402 |
|
|
fi
|
1403 |
|
|
|
1404 |
|
|
if test -n "$ac_init_help"; then
|
1405 |
|
|
case $ac_init_help in
|
1406 |
|
|
short | recursive ) echo "Configuration of gold 0.1:";;
|
1407 |
|
|
esac
|
1408 |
|
|
cat <<\_ACEOF
|
1409 |
|
|
|
1410 |
|
|
Optional Features:
|
1411 |
|
|
--disable-option-checking ignore unrecognized --enable/--with options
|
1412 |
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
1413 |
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
1414 |
|
|
--enable-ld[=ARG] build ld [ARG={default,yes,no}]
|
1415 |
|
|
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
|
1416 |
|
|
--enable-threads multi-threaded linking
|
1417 |
|
|
--enable-plugins linker plugins
|
1418 |
|
|
--enable-targets alternative target configurations
|
1419 |
|
|
--disable-dependency-tracking speeds up one-time build
|
1420 |
|
|
--enable-dependency-tracking do not reject slow dependency extractors
|
1421 |
|
|
--disable-nls do not use Native Language Support
|
1422 |
|
|
--enable-werror treat compile warnings as errors
|
1423 |
|
|
--enable-build-warnings enable build-time compiler warnings
|
1424 |
|
|
--enable-maintainer-mode enable make rules and dependencies not useful
|
1425 |
|
|
(and sometimes confusing) to the casual installer
|
1426 |
|
|
|
1427 |
|
|
Optional Packages:
|
1428 |
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
1429 |
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
1430 |
|
|
--with-sysroot=DIR search for usr/lib et al within DIR
|
1431 |
|
|
|
1432 |
|
|
Some influential environment variables:
|
1433 |
|
|
CC C compiler command
|
1434 |
|
|
CFLAGS C compiler flags
|
1435 |
|
|
LDFLAGS linker flags, e.g. -L if you have libraries in a
|
1436 |
|
|
nonstandard directory
|
1437 |
|
|
LIBS libraries to pass to the linker, e.g. -l
|
1438 |
|
|
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if
|
1439 |
|
|
you have headers in a nonstandard directory
|
1440 |
|
|
CXX C++ compiler command
|
1441 |
|
|
CXXFLAGS C++ compiler flags
|
1442 |
|
|
YACC The `Yet Another C Compiler' implementation to use. Defaults to
|
1443 |
|
|
the first program found out of: `bison -y', `byacc', `yacc'.
|
1444 |
|
|
YFLAGS The list of arguments that will be passed by default to $YACC.
|
1445 |
|
|
This script will default YFLAGS to the empty string to avoid a
|
1446 |
|
|
default value of `-d' given by some make applications.
|
1447 |
|
|
CPP C preprocessor
|
1448 |
|
|
CXXCPP C++ preprocessor
|
1449 |
|
|
|
1450 |
|
|
Use these variables to override the choices made by `configure' or to help
|
1451 |
|
|
it to find libraries and programs with nonstandard names/locations.
|
1452 |
|
|
|
1453 |
|
|
Report bugs to the package provider.
|
1454 |
|
|
_ACEOF
|
1455 |
|
|
ac_status=$?
|
1456 |
|
|
fi
|
1457 |
|
|
|
1458 |
|
|
if test "$ac_init_help" = "recursive"; then
|
1459 |
|
|
# If there are subdirs, report their specific --help.
|
1460 |
|
|
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
1461 |
|
|
test -d "$ac_dir" ||
|
1462 |
|
|
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
1463 |
|
|
continue
|
1464 |
|
|
ac_builddir=.
|
1465 |
|
|
|
1466 |
|
|
case "$ac_dir" in
|
1467 |
|
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1468 |
|
|
*)
|
1469 |
|
|
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
1470 |
|
|
# A ".." for each directory in $ac_dir_suffix.
|
1471 |
|
|
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
1472 |
|
|
case $ac_top_builddir_sub in
|
1473 |
|
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
1474 |
|
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
1475 |
|
|
esac ;;
|
1476 |
|
|
esac
|
1477 |
|
|
ac_abs_top_builddir=$ac_pwd
|
1478 |
|
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
1479 |
|
|
# for backward compatibility:
|
1480 |
|
|
ac_top_builddir=$ac_top_build_prefix
|
1481 |
|
|
|
1482 |
|
|
case $srcdir in
|
1483 |
|
|
.) # We are building in place.
|
1484 |
|
|
ac_srcdir=.
|
1485 |
|
|
ac_top_srcdir=$ac_top_builddir_sub
|
1486 |
|
|
ac_abs_top_srcdir=$ac_pwd ;;
|
1487 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute name.
|
1488 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
1489 |
|
|
ac_top_srcdir=$srcdir
|
1490 |
|
|
ac_abs_top_srcdir=$srcdir ;;
|
1491 |
|
|
*) # Relative name.
|
1492 |
|
|
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
1493 |
|
|
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
1494 |
|
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
1495 |
|
|
esac
|
1496 |
|
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
1497 |
|
|
|
1498 |
|
|
cd "$ac_dir" || { ac_status=$?; continue; }
|
1499 |
|
|
# Check for guested configure.
|
1500 |
|
|
if test -f "$ac_srcdir/configure.gnu"; then
|
1501 |
|
|
echo &&
|
1502 |
|
|
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
1503 |
|
|
elif test -f "$ac_srcdir/configure"; then
|
1504 |
|
|
echo &&
|
1505 |
|
|
$SHELL "$ac_srcdir/configure" --help=recursive
|
1506 |
|
|
else
|
1507 |
|
|
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
1508 |
|
|
fi || ac_status=$?
|
1509 |
|
|
cd "$ac_pwd" || { ac_status=$?; break; }
|
1510 |
|
|
done
|
1511 |
|
|
fi
|
1512 |
|
|
|
1513 |
|
|
test -n "$ac_init_help" && exit $ac_status
|
1514 |
|
|
if $ac_init_version; then
|
1515 |
|
|
cat <<\_ACEOF
|
1516 |
|
|
gold configure 0.1
|
1517 |
|
|
generated by GNU Autoconf 2.64
|
1518 |
|
|
|
1519 |
|
|
Copyright (C) 2009 Free Software Foundation, Inc.
|
1520 |
|
|
This configure script is free software; the Free Software Foundation
|
1521 |
|
|
gives unlimited permission to copy, distribute and modify it.
|
1522 |
|
|
_ACEOF
|
1523 |
|
|
exit
|
1524 |
|
|
fi
|
1525 |
|
|
|
1526 |
|
|
## ------------------------ ##
|
1527 |
|
|
## Autoconf initialization. ##
|
1528 |
|
|
## ------------------------ ##
|
1529 |
|
|
|
1530 |
|
|
# ac_fn_c_try_compile LINENO
|
1531 |
|
|
# --------------------------
|
1532 |
|
|
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
1533 |
|
|
ac_fn_c_try_compile ()
|
1534 |
|
|
{
|
1535 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1536 |
|
|
rm -f conftest.$ac_objext
|
1537 |
|
|
if { { ac_try="$ac_compile"
|
1538 |
|
|
case "(($ac_try" in
|
1539 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1540 |
|
|
*) ac_try_echo=$ac_try;;
|
1541 |
|
|
esac
|
1542 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1543 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1544 |
|
|
(eval "$ac_compile") 2>conftest.err
|
1545 |
|
|
ac_status=$?
|
1546 |
|
|
if test -s conftest.err; then
|
1547 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
1548 |
|
|
cat conftest.er1 >&5
|
1549 |
|
|
mv -f conftest.er1 conftest.err
|
1550 |
|
|
fi
|
1551 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1552 |
|
|
test $ac_status = 0; } && {
|
1553 |
|
|
test -z "$ac_c_werror_flag" ||
|
1554 |
|
|
test ! -s conftest.err
|
1555 |
|
|
} && test -s conftest.$ac_objext; then :
|
1556 |
|
|
ac_retval=0
|
1557 |
|
|
else
|
1558 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1559 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1560 |
|
|
|
1561 |
|
|
ac_retval=1
|
1562 |
|
|
fi
|
1563 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1564 |
|
|
return $ac_retval
|
1565 |
|
|
|
1566 |
|
|
} # ac_fn_c_try_compile
|
1567 |
|
|
|
1568 |
|
|
# ac_fn_cxx_try_compile LINENO
|
1569 |
|
|
# ----------------------------
|
1570 |
|
|
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
1571 |
|
|
ac_fn_cxx_try_compile ()
|
1572 |
|
|
{
|
1573 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1574 |
|
|
rm -f conftest.$ac_objext
|
1575 |
|
|
if { { ac_try="$ac_compile"
|
1576 |
|
|
case "(($ac_try" in
|
1577 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1578 |
|
|
*) ac_try_echo=$ac_try;;
|
1579 |
|
|
esac
|
1580 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1581 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1582 |
|
|
(eval "$ac_compile") 2>conftest.err
|
1583 |
|
|
ac_status=$?
|
1584 |
|
|
if test -s conftest.err; then
|
1585 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
1586 |
|
|
cat conftest.er1 >&5
|
1587 |
|
|
mv -f conftest.er1 conftest.err
|
1588 |
|
|
fi
|
1589 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1590 |
|
|
test $ac_status = 0; } && {
|
1591 |
|
|
test -z "$ac_cxx_werror_flag" ||
|
1592 |
|
|
test ! -s conftest.err
|
1593 |
|
|
} && test -s conftest.$ac_objext; then :
|
1594 |
|
|
ac_retval=0
|
1595 |
|
|
else
|
1596 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1597 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1598 |
|
|
|
1599 |
|
|
ac_retval=1
|
1600 |
|
|
fi
|
1601 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1602 |
|
|
return $ac_retval
|
1603 |
|
|
|
1604 |
|
|
} # ac_fn_cxx_try_compile
|
1605 |
|
|
|
1606 |
|
|
# ac_fn_c_try_cpp LINENO
|
1607 |
|
|
# ----------------------
|
1608 |
|
|
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1609 |
|
|
ac_fn_c_try_cpp ()
|
1610 |
|
|
{
|
1611 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1612 |
|
|
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1613 |
|
|
case "(($ac_try" in
|
1614 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1615 |
|
|
*) ac_try_echo=$ac_try;;
|
1616 |
|
|
esac
|
1617 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1618 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1619 |
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1620 |
|
|
ac_status=$?
|
1621 |
|
|
if test -s conftest.err; then
|
1622 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
1623 |
|
|
cat conftest.er1 >&5
|
1624 |
|
|
mv -f conftest.er1 conftest.err
|
1625 |
|
|
fi
|
1626 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1627 |
|
|
test $ac_status = 0; } >/dev/null && {
|
1628 |
|
|
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
|
1629 |
|
|
test ! -s conftest.err
|
1630 |
|
|
}; then :
|
1631 |
|
|
ac_retval=0
|
1632 |
|
|
else
|
1633 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1634 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1635 |
|
|
|
1636 |
|
|
ac_retval=1
|
1637 |
|
|
fi
|
1638 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1639 |
|
|
return $ac_retval
|
1640 |
|
|
|
1641 |
|
|
} # ac_fn_c_try_cpp
|
1642 |
|
|
|
1643 |
|
|
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1644 |
|
|
# -------------------------------------------------------
|
1645 |
|
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
1646 |
|
|
# the include files in INCLUDES and setting the cache variable VAR
|
1647 |
|
|
# accordingly.
|
1648 |
|
|
ac_fn_c_check_header_mongrel ()
|
1649 |
|
|
{
|
1650 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1651 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1652 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1653 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
1654 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1655 |
|
|
$as_echo_n "(cached) " >&6
|
1656 |
|
|
fi
|
1657 |
|
|
eval ac_res=\$$3
|
1658 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1659 |
|
|
$as_echo "$ac_res" >&6; }
|
1660 |
|
|
else
|
1661 |
|
|
# Is the header compilable?
|
1662 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
1663 |
|
|
$as_echo_n "checking $2 usability... " >&6; }
|
1664 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1665 |
|
|
/* end confdefs.h. */
|
1666 |
|
|
$4
|
1667 |
|
|
#include <$2>
|
1668 |
|
|
_ACEOF
|
1669 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
1670 |
|
|
ac_header_compiler=yes
|
1671 |
|
|
else
|
1672 |
|
|
ac_header_compiler=no
|
1673 |
|
|
fi
|
1674 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1675 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
1676 |
|
|
$as_echo "$ac_header_compiler" >&6; }
|
1677 |
|
|
|
1678 |
|
|
# Is the header present?
|
1679 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
1680 |
|
|
$as_echo_n "checking $2 presence... " >&6; }
|
1681 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1682 |
|
|
/* end confdefs.h. */
|
1683 |
|
|
#include <$2>
|
1684 |
|
|
_ACEOF
|
1685 |
|
|
if ac_fn_c_try_cpp "$LINENO"; then :
|
1686 |
|
|
ac_header_preproc=yes
|
1687 |
|
|
else
|
1688 |
|
|
ac_header_preproc=no
|
1689 |
|
|
fi
|
1690 |
|
|
rm -f conftest.err conftest.$ac_ext
|
1691 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
1692 |
|
|
$as_echo "$ac_header_preproc" >&6; }
|
1693 |
|
|
|
1694 |
|
|
# So? What about this header?
|
1695 |
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
|
1696 |
|
|
yes:no: )
|
1697 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
1698 |
|
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
1699 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1700 |
|
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1701 |
|
|
;;
|
1702 |
|
|
no:yes:* )
|
1703 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
1704 |
|
|
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
1705 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
1706 |
|
|
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
1707 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
1708 |
|
|
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
1709 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
1710 |
|
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
1711 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
1712 |
|
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
1713 |
|
|
;;
|
1714 |
|
|
esac
|
1715 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1716 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
1717 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1718 |
|
|
$as_echo_n "(cached) " >&6
|
1719 |
|
|
else
|
1720 |
|
|
eval "$3=\$ac_header_compiler"
|
1721 |
|
|
fi
|
1722 |
|
|
eval ac_res=\$$3
|
1723 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1724 |
|
|
$as_echo "$ac_res" >&6; }
|
1725 |
|
|
fi
|
1726 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1727 |
|
|
|
1728 |
|
|
} # ac_fn_c_check_header_mongrel
|
1729 |
|
|
|
1730 |
|
|
# ac_fn_c_try_run LINENO
|
1731 |
|
|
# ----------------------
|
1732 |
|
|
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
|
1733 |
|
|
# that executables *can* be run.
|
1734 |
|
|
ac_fn_c_try_run ()
|
1735 |
|
|
{
|
1736 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1737 |
|
|
if { { ac_try="$ac_link"
|
1738 |
|
|
case "(($ac_try" in
|
1739 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1740 |
|
|
*) ac_try_echo=$ac_try;;
|
1741 |
|
|
esac
|
1742 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1743 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1744 |
|
|
(eval "$ac_link") 2>&5
|
1745 |
|
|
ac_status=$?
|
1746 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1747 |
|
|
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
|
1748 |
|
|
{ { case "(($ac_try" in
|
1749 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1750 |
|
|
*) ac_try_echo=$ac_try;;
|
1751 |
|
|
esac
|
1752 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1753 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1754 |
|
|
(eval "$ac_try") 2>&5
|
1755 |
|
|
ac_status=$?
|
1756 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1757 |
|
|
test $ac_status = 0; }; }; then :
|
1758 |
|
|
ac_retval=0
|
1759 |
|
|
else
|
1760 |
|
|
$as_echo "$as_me: program exited with status $ac_status" >&5
|
1761 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1762 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1763 |
|
|
|
1764 |
|
|
ac_retval=$ac_status
|
1765 |
|
|
fi
|
1766 |
|
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1767 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1768 |
|
|
return $ac_retval
|
1769 |
|
|
|
1770 |
|
|
} # ac_fn_c_try_run
|
1771 |
|
|
|
1772 |
|
|
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
|
1773 |
|
|
# -------------------------------------------------------
|
1774 |
|
|
# Tests whether HEADER exists and can be compiled using the include files in
|
1775 |
|
|
# INCLUDES, setting the cache variable VAR accordingly.
|
1776 |
|
|
ac_fn_c_check_header_compile ()
|
1777 |
|
|
{
|
1778 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1779 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1780 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
1781 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1782 |
|
|
$as_echo_n "(cached) " >&6
|
1783 |
|
|
else
|
1784 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1785 |
|
|
/* end confdefs.h. */
|
1786 |
|
|
$4
|
1787 |
|
|
#include <$2>
|
1788 |
|
|
_ACEOF
|
1789 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
1790 |
|
|
eval "$3=yes"
|
1791 |
|
|
else
|
1792 |
|
|
eval "$3=no"
|
1793 |
|
|
fi
|
1794 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1795 |
|
|
fi
|
1796 |
|
|
eval ac_res=\$$3
|
1797 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1798 |
|
|
$as_echo "$ac_res" >&6; }
|
1799 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1800 |
|
|
|
1801 |
|
|
} # ac_fn_c_check_header_compile
|
1802 |
|
|
|
1803 |
|
|
# ac_fn_c_try_link LINENO
|
1804 |
|
|
# -----------------------
|
1805 |
|
|
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
1806 |
|
|
ac_fn_c_try_link ()
|
1807 |
|
|
{
|
1808 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1809 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
1810 |
|
|
if { { ac_try="$ac_link"
|
1811 |
|
|
case "(($ac_try" in
|
1812 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1813 |
|
|
*) ac_try_echo=$ac_try;;
|
1814 |
|
|
esac
|
1815 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1816 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1817 |
|
|
(eval "$ac_link") 2>conftest.err
|
1818 |
|
|
ac_status=$?
|
1819 |
|
|
if test -s conftest.err; then
|
1820 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
1821 |
|
|
cat conftest.er1 >&5
|
1822 |
|
|
mv -f conftest.er1 conftest.err
|
1823 |
|
|
fi
|
1824 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1825 |
|
|
test $ac_status = 0; } && {
|
1826 |
|
|
test -z "$ac_c_werror_flag" ||
|
1827 |
|
|
test ! -s conftest.err
|
1828 |
|
|
} && test -s conftest$ac_exeext && {
|
1829 |
|
|
test "$cross_compiling" = yes ||
|
1830 |
|
|
$as_test_x conftest$ac_exeext
|
1831 |
|
|
}; then :
|
1832 |
|
|
ac_retval=0
|
1833 |
|
|
else
|
1834 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1835 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1836 |
|
|
|
1837 |
|
|
ac_retval=1
|
1838 |
|
|
fi
|
1839 |
|
|
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
1840 |
|
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
1841 |
|
|
# interfere with the next link command; also delete a directory that is
|
1842 |
|
|
# left behind by Apple's compiler. We do this before executing the actions.
|
1843 |
|
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
1844 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1845 |
|
|
return $ac_retval
|
1846 |
|
|
|
1847 |
|
|
} # ac_fn_c_try_link
|
1848 |
|
|
|
1849 |
|
|
# ac_fn_c_check_func LINENO FUNC VAR
|
1850 |
|
|
# ----------------------------------
|
1851 |
|
|
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
1852 |
|
|
ac_fn_c_check_func ()
|
1853 |
|
|
{
|
1854 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1855 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
1856 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
1857 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1858 |
|
|
$as_echo_n "(cached) " >&6
|
1859 |
|
|
else
|
1860 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1861 |
|
|
/* end confdefs.h. */
|
1862 |
|
|
/* Define $2 to an innocuous variant, in case declares $2.
|
1863 |
|
|
For example, HP-UX 11i declares gettimeofday. */
|
1864 |
|
|
#define $2 innocuous_$2
|
1865 |
|
|
|
1866 |
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
1867 |
|
|
which can conflict with char $2 (); below.
|
1868 |
|
|
Prefer to if __STDC__ is defined, since
|
1869 |
|
|
exists even on freestanding compilers. */
|
1870 |
|
|
|
1871 |
|
|
#ifdef __STDC__
|
1872 |
|
|
# include
|
1873 |
|
|
#else
|
1874 |
|
|
# include
|
1875 |
|
|
#endif
|
1876 |
|
|
|
1877 |
|
|
#undef $2
|
1878 |
|
|
|
1879 |
|
|
/* Override any GCC internal prototype to avoid an error.
|
1880 |
|
|
Use char because int might match the return type of a GCC
|
1881 |
|
|
builtin and then its argument prototype would still apply. */
|
1882 |
|
|
#ifdef __cplusplus
|
1883 |
|
|
extern "C"
|
1884 |
|
|
#endif
|
1885 |
|
|
char $2 ();
|
1886 |
|
|
/* The GNU C library defines this for functions which it implements
|
1887 |
|
|
to always fail with ENOSYS. Some functions are actually named
|
1888 |
|
|
something starting with __ and the normal name is an alias. */
|
1889 |
|
|
#if defined __stub_$2 || defined __stub___$2
|
1890 |
|
|
choke me
|
1891 |
|
|
#endif
|
1892 |
|
|
|
1893 |
|
|
int
|
1894 |
|
|
main ()
|
1895 |
|
|
{
|
1896 |
|
|
return $2 ();
|
1897 |
|
|
;
|
1898 |
|
|
return 0;
|
1899 |
|
|
}
|
1900 |
|
|
_ACEOF
|
1901 |
|
|
if ac_fn_c_try_link "$LINENO"; then :
|
1902 |
|
|
eval "$3=yes"
|
1903 |
|
|
else
|
1904 |
|
|
eval "$3=no"
|
1905 |
|
|
fi
|
1906 |
|
|
rm -f core conftest.err conftest.$ac_objext \
|
1907 |
|
|
conftest$ac_exeext conftest.$ac_ext
|
1908 |
|
|
fi
|
1909 |
|
|
eval ac_res=\$$3
|
1910 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1911 |
|
|
$as_echo "$ac_res" >&6; }
|
1912 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1913 |
|
|
|
1914 |
|
|
} # ac_fn_c_check_func
|
1915 |
|
|
|
1916 |
|
|
# ac_fn_c_check_decl LINENO SYMBOL VAR
|
1917 |
|
|
# ------------------------------------
|
1918 |
|
|
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
|
1919 |
|
|
ac_fn_c_check_decl ()
|
1920 |
|
|
{
|
1921 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1922 |
|
|
as_decl_name=`echo $2|sed 's/ *(.*//'`
|
1923 |
|
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
|
1924 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
|
1925 |
|
|
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
|
1926 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
1927 |
|
|
$as_echo_n "(cached) " >&6
|
1928 |
|
|
else
|
1929 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
1930 |
|
|
/* end confdefs.h. */
|
1931 |
|
|
$4
|
1932 |
|
|
int
|
1933 |
|
|
main ()
|
1934 |
|
|
{
|
1935 |
|
|
#ifndef $as_decl_name
|
1936 |
|
|
#ifdef __cplusplus
|
1937 |
|
|
(void) $as_decl_use;
|
1938 |
|
|
#else
|
1939 |
|
|
(void) $as_decl_name;
|
1940 |
|
|
#endif
|
1941 |
|
|
#endif
|
1942 |
|
|
|
1943 |
|
|
;
|
1944 |
|
|
return 0;
|
1945 |
|
|
}
|
1946 |
|
|
_ACEOF
|
1947 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
1948 |
|
|
eval "$3=yes"
|
1949 |
|
|
else
|
1950 |
|
|
eval "$3=no"
|
1951 |
|
|
fi
|
1952 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
1953 |
|
|
fi
|
1954 |
|
|
eval ac_res=\$$3
|
1955 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
1956 |
|
|
$as_echo "$ac_res" >&6; }
|
1957 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1958 |
|
|
|
1959 |
|
|
} # ac_fn_c_check_decl
|
1960 |
|
|
|
1961 |
|
|
# ac_fn_cxx_try_cpp LINENO
|
1962 |
|
|
# ------------------------
|
1963 |
|
|
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
|
1964 |
|
|
ac_fn_cxx_try_cpp ()
|
1965 |
|
|
{
|
1966 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
1967 |
|
|
if { { ac_try="$ac_cpp conftest.$ac_ext"
|
1968 |
|
|
case "(($ac_try" in
|
1969 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
1970 |
|
|
*) ac_try_echo=$ac_try;;
|
1971 |
|
|
esac
|
1972 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
1973 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
1974 |
|
|
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
|
1975 |
|
|
ac_status=$?
|
1976 |
|
|
if test -s conftest.err; then
|
1977 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
1978 |
|
|
cat conftest.er1 >&5
|
1979 |
|
|
mv -f conftest.er1 conftest.err
|
1980 |
|
|
fi
|
1981 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
1982 |
|
|
test $ac_status = 0; } >/dev/null && {
|
1983 |
|
|
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
|
1984 |
|
|
test ! -s conftest.err
|
1985 |
|
|
}; then :
|
1986 |
|
|
ac_retval=0
|
1987 |
|
|
else
|
1988 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
1989 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
1990 |
|
|
|
1991 |
|
|
ac_retval=1
|
1992 |
|
|
fi
|
1993 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
1994 |
|
|
return $ac_retval
|
1995 |
|
|
|
1996 |
|
|
} # ac_fn_cxx_try_cpp
|
1997 |
|
|
|
1998 |
|
|
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
|
1999 |
|
|
# ---------------------------------------------------------
|
2000 |
|
|
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
|
2001 |
|
|
# the include files in INCLUDES and setting the cache variable VAR
|
2002 |
|
|
# accordingly.
|
2003 |
|
|
ac_fn_cxx_check_header_mongrel ()
|
2004 |
|
|
{
|
2005 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2006 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2007 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2008 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
2009 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2010 |
|
|
$as_echo_n "(cached) " >&6
|
2011 |
|
|
fi
|
2012 |
|
|
eval ac_res=\$$3
|
2013 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2014 |
|
|
$as_echo "$ac_res" >&6; }
|
2015 |
|
|
else
|
2016 |
|
|
# Is the header compilable?
|
2017 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
|
2018 |
|
|
$as_echo_n "checking $2 usability... " >&6; }
|
2019 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2020 |
|
|
/* end confdefs.h. */
|
2021 |
|
|
$4
|
2022 |
|
|
#include <$2>
|
2023 |
|
|
_ACEOF
|
2024 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2025 |
|
|
ac_header_compiler=yes
|
2026 |
|
|
else
|
2027 |
|
|
ac_header_compiler=no
|
2028 |
|
|
fi
|
2029 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2030 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
|
2031 |
|
|
$as_echo "$ac_header_compiler" >&6; }
|
2032 |
|
|
|
2033 |
|
|
# Is the header present?
|
2034 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
|
2035 |
|
|
$as_echo_n "checking $2 presence... " >&6; }
|
2036 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2037 |
|
|
/* end confdefs.h. */
|
2038 |
|
|
#include <$2>
|
2039 |
|
|
_ACEOF
|
2040 |
|
|
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
2041 |
|
|
ac_header_preproc=yes
|
2042 |
|
|
else
|
2043 |
|
|
ac_header_preproc=no
|
2044 |
|
|
fi
|
2045 |
|
|
rm -f conftest.err conftest.$ac_ext
|
2046 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
|
2047 |
|
|
$as_echo "$ac_header_preproc" >&6; }
|
2048 |
|
|
|
2049 |
|
|
# So? What about this header?
|
2050 |
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
|
2051 |
|
|
yes:no: )
|
2052 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
|
2053 |
|
|
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
|
2054 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2055 |
|
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2056 |
|
|
;;
|
2057 |
|
|
no:yes:* )
|
2058 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
|
2059 |
|
|
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
|
2060 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
|
2061 |
|
|
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
|
2062 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
|
2063 |
|
|
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
|
2064 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
|
2065 |
|
|
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
|
2066 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
|
2067 |
|
|
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
|
2068 |
|
|
;;
|
2069 |
|
|
esac
|
2070 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2071 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
2072 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2073 |
|
|
$as_echo_n "(cached) " >&6
|
2074 |
|
|
else
|
2075 |
|
|
eval "$3=\$ac_header_compiler"
|
2076 |
|
|
fi
|
2077 |
|
|
eval ac_res=\$$3
|
2078 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2079 |
|
|
$as_echo "$ac_res" >&6; }
|
2080 |
|
|
fi
|
2081 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
2082 |
|
|
|
2083 |
|
|
} # ac_fn_cxx_check_header_mongrel
|
2084 |
|
|
|
2085 |
|
|
# ac_fn_cxx_try_link LINENO
|
2086 |
|
|
# -------------------------
|
2087 |
|
|
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
2088 |
|
|
ac_fn_cxx_try_link ()
|
2089 |
|
|
{
|
2090 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2091 |
|
|
rm -f conftest.$ac_objext conftest$ac_exeext
|
2092 |
|
|
if { { ac_try="$ac_link"
|
2093 |
|
|
case "(($ac_try" in
|
2094 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
2095 |
|
|
*) ac_try_echo=$ac_try;;
|
2096 |
|
|
esac
|
2097 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
2098 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
2099 |
|
|
(eval "$ac_link") 2>conftest.err
|
2100 |
|
|
ac_status=$?
|
2101 |
|
|
if test -s conftest.err; then
|
2102 |
|
|
grep -v '^ *+' conftest.err >conftest.er1
|
2103 |
|
|
cat conftest.er1 >&5
|
2104 |
|
|
mv -f conftest.er1 conftest.err
|
2105 |
|
|
fi
|
2106 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
2107 |
|
|
test $ac_status = 0; } && {
|
2108 |
|
|
test -z "$ac_cxx_werror_flag" ||
|
2109 |
|
|
test ! -s conftest.err
|
2110 |
|
|
} && test -s conftest$ac_exeext && {
|
2111 |
|
|
test "$cross_compiling" = yes ||
|
2112 |
|
|
$as_test_x conftest$ac_exeext
|
2113 |
|
|
}; then :
|
2114 |
|
|
ac_retval=0
|
2115 |
|
|
else
|
2116 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
2117 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
2118 |
|
|
|
2119 |
|
|
ac_retval=1
|
2120 |
|
|
fi
|
2121 |
|
|
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
2122 |
|
|
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
2123 |
|
|
# interfere with the next link command; also delete a directory that is
|
2124 |
|
|
# left behind by Apple's compiler. We do this before executing the actions.
|
2125 |
|
|
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
2126 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
2127 |
|
|
return $ac_retval
|
2128 |
|
|
|
2129 |
|
|
} # ac_fn_cxx_try_link
|
2130 |
|
|
|
2131 |
|
|
# ac_fn_cxx_check_func LINENO FUNC VAR
|
2132 |
|
|
# ------------------------------------
|
2133 |
|
|
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
2134 |
|
|
ac_fn_cxx_check_func ()
|
2135 |
|
|
{
|
2136 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2137 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
2138 |
|
|
$as_echo_n "checking for $2... " >&6; }
|
2139 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2140 |
|
|
$as_echo_n "(cached) " >&6
|
2141 |
|
|
else
|
2142 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2143 |
|
|
/* end confdefs.h. */
|
2144 |
|
|
/* Define $2 to an innocuous variant, in case declares $2.
|
2145 |
|
|
For example, HP-UX 11i declares gettimeofday. */
|
2146 |
|
|
#define $2 innocuous_$2
|
2147 |
|
|
|
2148 |
|
|
/* System header to define __stub macros and hopefully few prototypes,
|
2149 |
|
|
which can conflict with char $2 (); below.
|
2150 |
|
|
Prefer to if __STDC__ is defined, since
|
2151 |
|
|
exists even on freestanding compilers. */
|
2152 |
|
|
|
2153 |
|
|
#ifdef __STDC__
|
2154 |
|
|
# include
|
2155 |
|
|
#else
|
2156 |
|
|
# include
|
2157 |
|
|
#endif
|
2158 |
|
|
|
2159 |
|
|
#undef $2
|
2160 |
|
|
|
2161 |
|
|
/* Override any GCC internal prototype to avoid an error.
|
2162 |
|
|
Use char because int might match the return type of a GCC
|
2163 |
|
|
builtin and then its argument prototype would still apply. */
|
2164 |
|
|
#ifdef __cplusplus
|
2165 |
|
|
extern "C"
|
2166 |
|
|
#endif
|
2167 |
|
|
char $2 ();
|
2168 |
|
|
/* The GNU C library defines this for functions which it implements
|
2169 |
|
|
to always fail with ENOSYS. Some functions are actually named
|
2170 |
|
|
something starting with __ and the normal name is an alias. */
|
2171 |
|
|
#if defined __stub_$2 || defined __stub___$2
|
2172 |
|
|
choke me
|
2173 |
|
|
#endif
|
2174 |
|
|
|
2175 |
|
|
int
|
2176 |
|
|
main ()
|
2177 |
|
|
{
|
2178 |
|
|
return $2 ();
|
2179 |
|
|
;
|
2180 |
|
|
return 0;
|
2181 |
|
|
}
|
2182 |
|
|
_ACEOF
|
2183 |
|
|
if ac_fn_cxx_try_link "$LINENO"; then :
|
2184 |
|
|
eval "$3=yes"
|
2185 |
|
|
else
|
2186 |
|
|
eval "$3=no"
|
2187 |
|
|
fi
|
2188 |
|
|
rm -f core conftest.err conftest.$ac_objext \
|
2189 |
|
|
conftest$ac_exeext conftest.$ac_ext
|
2190 |
|
|
fi
|
2191 |
|
|
eval ac_res=\$$3
|
2192 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2193 |
|
|
$as_echo "$ac_res" >&6; }
|
2194 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
2195 |
|
|
|
2196 |
|
|
} # ac_fn_cxx_check_func
|
2197 |
|
|
|
2198 |
|
|
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
|
2199 |
|
|
# --------------------------------------
|
2200 |
|
|
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
|
2201 |
|
|
ac_fn_cxx_check_decl ()
|
2202 |
|
|
{
|
2203 |
|
|
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
2204 |
|
|
as_decl_name=`echo $2|sed 's/ *(.*//'`
|
2205 |
|
|
as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
|
2206 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
|
2207 |
|
|
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
|
2208 |
|
|
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
2209 |
|
|
$as_echo_n "(cached) " >&6
|
2210 |
|
|
else
|
2211 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2212 |
|
|
/* end confdefs.h. */
|
2213 |
|
|
$4
|
2214 |
|
|
int
|
2215 |
|
|
main ()
|
2216 |
|
|
{
|
2217 |
|
|
#ifndef $as_decl_name
|
2218 |
|
|
#ifdef __cplusplus
|
2219 |
|
|
(void) $as_decl_use;
|
2220 |
|
|
#else
|
2221 |
|
|
(void) $as_decl_name;
|
2222 |
|
|
#endif
|
2223 |
|
|
#endif
|
2224 |
|
|
|
2225 |
|
|
;
|
2226 |
|
|
return 0;
|
2227 |
|
|
}
|
2228 |
|
|
_ACEOF
|
2229 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
2230 |
|
|
eval "$3=yes"
|
2231 |
|
|
else
|
2232 |
|
|
eval "$3=no"
|
2233 |
|
|
fi
|
2234 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2235 |
|
|
fi
|
2236 |
|
|
eval ac_res=\$$3
|
2237 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
2238 |
|
|
$as_echo "$ac_res" >&6; }
|
2239 |
|
|
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
2240 |
|
|
|
2241 |
|
|
} # ac_fn_cxx_check_decl
|
2242 |
|
|
cat >config.log <<_ACEOF
|
2243 |
|
|
This file contains any messages produced by compilers while
|
2244 |
|
|
running configure, to aid debugging if configure makes a mistake.
|
2245 |
|
|
|
2246 |
|
|
It was created by gold $as_me 0.1, which was
|
2247 |
|
|
generated by GNU Autoconf 2.64. Invocation command line was
|
2248 |
|
|
|
2249 |
|
|
$ $0 $@
|
2250 |
|
|
|
2251 |
|
|
_ACEOF
|
2252 |
|
|
exec 5>>config.log
|
2253 |
|
|
{
|
2254 |
|
|
cat <<_ASUNAME
|
2255 |
|
|
## --------- ##
|
2256 |
|
|
## Platform. ##
|
2257 |
|
|
## --------- ##
|
2258 |
|
|
|
2259 |
|
|
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
|
2260 |
|
|
uname -m = `(uname -m) 2>/dev/null || echo unknown`
|
2261 |
|
|
uname -r = `(uname -r) 2>/dev/null || echo unknown`
|
2262 |
|
|
uname -s = `(uname -s) 2>/dev/null || echo unknown`
|
2263 |
|
|
uname -v = `(uname -v) 2>/dev/null || echo unknown`
|
2264 |
|
|
|
2265 |
|
|
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
|
2266 |
|
|
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
|
2267 |
|
|
|
2268 |
|
|
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
2269 |
|
|
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
2270 |
|
|
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
2271 |
|
|
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
2272 |
|
|
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
2273 |
|
|
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
2274 |
|
|
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
2275 |
|
|
|
2276 |
|
|
_ASUNAME
|
2277 |
|
|
|
2278 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2279 |
|
|
for as_dir in $PATH
|
2280 |
|
|
do
|
2281 |
|
|
IFS=$as_save_IFS
|
2282 |
|
|
test -z "$as_dir" && as_dir=.
|
2283 |
|
|
$as_echo "PATH: $as_dir"
|
2284 |
|
|
done
|
2285 |
|
|
IFS=$as_save_IFS
|
2286 |
|
|
|
2287 |
|
|
} >&5
|
2288 |
|
|
|
2289 |
|
|
cat >&5 <<_ACEOF
|
2290 |
|
|
|
2291 |
|
|
|
2292 |
|
|
## ----------- ##
|
2293 |
|
|
## Core tests. ##
|
2294 |
|
|
## ----------- ##
|
2295 |
|
|
|
2296 |
|
|
_ACEOF
|
2297 |
|
|
|
2298 |
|
|
|
2299 |
|
|
# Keep a trace of the command line.
|
2300 |
|
|
# Strip out --no-create and --no-recursion so they do not pile up.
|
2301 |
|
|
# Strip out --silent because we don't want to record it for future runs.
|
2302 |
|
|
# Also quote any args containing shell meta-characters.
|
2303 |
|
|
# Make two passes to allow for proper duplicate-argument suppression.
|
2304 |
|
|
ac_configure_args=
|
2305 |
|
|
ac_configure_args0=
|
2306 |
|
|
ac_configure_args1=
|
2307 |
|
|
ac_must_keep_next=false
|
2308 |
|
|
for ac_pass in 1 2
|
2309 |
|
|
do
|
2310 |
|
|
for ac_arg
|
2311 |
|
|
do
|
2312 |
|
|
case $ac_arg in
|
2313 |
|
|
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
|
2314 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
2315 |
|
|
| -silent | --silent | --silen | --sile | --sil)
|
2316 |
|
|
continue ;;
|
2317 |
|
|
*\'*)
|
2318 |
|
|
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2319 |
|
|
esac
|
2320 |
|
|
case $ac_pass in
|
2321 |
|
|
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
2322 |
|
|
2)
|
2323 |
|
|
as_fn_append ac_configure_args1 " '$ac_arg'"
|
2324 |
|
|
if test $ac_must_keep_next = true; then
|
2325 |
|
|
ac_must_keep_next=false # Got value, back to normal.
|
2326 |
|
|
else
|
2327 |
|
|
case $ac_arg in
|
2328 |
|
|
*=* | --config-cache | -C | -disable-* | --disable-* \
|
2329 |
|
|
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
|
2330 |
|
|
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
|
2331 |
|
|
| -with-* | --with-* | -without-* | --without-* | --x)
|
2332 |
|
|
case "$ac_configure_args0 " in
|
2333 |
|
|
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
|
2334 |
|
|
esac
|
2335 |
|
|
;;
|
2336 |
|
|
-* ) ac_must_keep_next=true ;;
|
2337 |
|
|
esac
|
2338 |
|
|
fi
|
2339 |
|
|
as_fn_append ac_configure_args " '$ac_arg'"
|
2340 |
|
|
;;
|
2341 |
|
|
esac
|
2342 |
|
|
done
|
2343 |
|
|
done
|
2344 |
|
|
{ ac_configure_args0=; unset ac_configure_args0;}
|
2345 |
|
|
{ ac_configure_args1=; unset ac_configure_args1;}
|
2346 |
|
|
|
2347 |
|
|
# When interrupted or exit'd, cleanup temporary files, and complete
|
2348 |
|
|
# config.log. We remove comments because anyway the quotes in there
|
2349 |
|
|
# would cause problems or look ugly.
|
2350 |
|
|
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
2351 |
|
|
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
2352 |
|
|
trap 'exit_status=$?
|
2353 |
|
|
# Save into config.log some information that might help in debugging.
|
2354 |
|
|
{
|
2355 |
|
|
echo
|
2356 |
|
|
|
2357 |
|
|
cat <<\_ASBOX
|
2358 |
|
|
## ---------------- ##
|
2359 |
|
|
## Cache variables. ##
|
2360 |
|
|
## ---------------- ##
|
2361 |
|
|
_ASBOX
|
2362 |
|
|
echo
|
2363 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
2364 |
|
|
(
|
2365 |
|
|
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
2366 |
|
|
eval ac_val=\$$ac_var
|
2367 |
|
|
case $ac_val in #(
|
2368 |
|
|
*${as_nl}*)
|
2369 |
|
|
case $ac_var in #(
|
2370 |
|
|
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
2371 |
|
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
2372 |
|
|
esac
|
2373 |
|
|
case $ac_var in #(
|
2374 |
|
|
_ | IFS | as_nl) ;; #(
|
2375 |
|
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
2376 |
|
|
*) { eval $ac_var=; unset $ac_var;} ;;
|
2377 |
|
|
esac ;;
|
2378 |
|
|
esac
|
2379 |
|
|
done
|
2380 |
|
|
(set) 2>&1 |
|
2381 |
|
|
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
2382 |
|
|
*${as_nl}ac_space=\ *)
|
2383 |
|
|
sed -n \
|
2384 |
|
|
"s/'\''/'\''\\\\'\'''\''/g;
|
2385 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
2386 |
|
|
;; #(
|
2387 |
|
|
*)
|
2388 |
|
|
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
2389 |
|
|
;;
|
2390 |
|
|
esac |
|
2391 |
|
|
sort
|
2392 |
|
|
)
|
2393 |
|
|
echo
|
2394 |
|
|
|
2395 |
|
|
cat <<\_ASBOX
|
2396 |
|
|
## ----------------- ##
|
2397 |
|
|
## Output variables. ##
|
2398 |
|
|
## ----------------- ##
|
2399 |
|
|
_ASBOX
|
2400 |
|
|
echo
|
2401 |
|
|
for ac_var in $ac_subst_vars
|
2402 |
|
|
do
|
2403 |
|
|
eval ac_val=\$$ac_var
|
2404 |
|
|
case $ac_val in
|
2405 |
|
|
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2406 |
|
|
esac
|
2407 |
|
|
$as_echo "$ac_var='\''$ac_val'\''"
|
2408 |
|
|
done | sort
|
2409 |
|
|
echo
|
2410 |
|
|
|
2411 |
|
|
if test -n "$ac_subst_files"; then
|
2412 |
|
|
cat <<\_ASBOX
|
2413 |
|
|
## ------------------- ##
|
2414 |
|
|
## File substitutions. ##
|
2415 |
|
|
## ------------------- ##
|
2416 |
|
|
_ASBOX
|
2417 |
|
|
echo
|
2418 |
|
|
for ac_var in $ac_subst_files
|
2419 |
|
|
do
|
2420 |
|
|
eval ac_val=\$$ac_var
|
2421 |
|
|
case $ac_val in
|
2422 |
|
|
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
2423 |
|
|
esac
|
2424 |
|
|
$as_echo "$ac_var='\''$ac_val'\''"
|
2425 |
|
|
done | sort
|
2426 |
|
|
echo
|
2427 |
|
|
fi
|
2428 |
|
|
|
2429 |
|
|
if test -s confdefs.h; then
|
2430 |
|
|
cat <<\_ASBOX
|
2431 |
|
|
## ----------- ##
|
2432 |
|
|
## confdefs.h. ##
|
2433 |
|
|
## ----------- ##
|
2434 |
|
|
_ASBOX
|
2435 |
|
|
echo
|
2436 |
|
|
cat confdefs.h
|
2437 |
|
|
echo
|
2438 |
|
|
fi
|
2439 |
|
|
test "$ac_signal" != 0 &&
|
2440 |
|
|
$as_echo "$as_me: caught signal $ac_signal"
|
2441 |
|
|
$as_echo "$as_me: exit $exit_status"
|
2442 |
|
|
} >&5
|
2443 |
|
|
rm -f core *.core core.conftest.* &&
|
2444 |
|
|
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
2445 |
|
|
exit $exit_status
|
2446 |
|
|
' 0
|
2447 |
|
|
for ac_signal in 1 2 13 15; do
|
2448 |
|
|
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
2449 |
|
|
done
|
2450 |
|
|
ac_signal=0
|
2451 |
|
|
|
2452 |
|
|
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
2453 |
|
|
rm -f -r conftest* confdefs.h
|
2454 |
|
|
|
2455 |
|
|
$as_echo "/* confdefs.h */" > confdefs.h
|
2456 |
|
|
|
2457 |
|
|
# Predefined preprocessor variables.
|
2458 |
|
|
|
2459 |
|
|
cat >>confdefs.h <<_ACEOF
|
2460 |
|
|
#define PACKAGE_NAME "$PACKAGE_NAME"
|
2461 |
|
|
_ACEOF
|
2462 |
|
|
|
2463 |
|
|
cat >>confdefs.h <<_ACEOF
|
2464 |
|
|
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
2465 |
|
|
_ACEOF
|
2466 |
|
|
|
2467 |
|
|
cat >>confdefs.h <<_ACEOF
|
2468 |
|
|
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
2469 |
|
|
_ACEOF
|
2470 |
|
|
|
2471 |
|
|
cat >>confdefs.h <<_ACEOF
|
2472 |
|
|
#define PACKAGE_STRING "$PACKAGE_STRING"
|
2473 |
|
|
_ACEOF
|
2474 |
|
|
|
2475 |
|
|
cat >>confdefs.h <<_ACEOF
|
2476 |
|
|
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
2477 |
|
|
_ACEOF
|
2478 |
|
|
|
2479 |
|
|
cat >>confdefs.h <<_ACEOF
|
2480 |
|
|
#define PACKAGE_URL "$PACKAGE_URL"
|
2481 |
|
|
_ACEOF
|
2482 |
|
|
|
2483 |
|
|
|
2484 |
|
|
# Let the site file select an alternate cache file if it wants to.
|
2485 |
|
|
# Prefer an explicitly selected file to automatically selected ones.
|
2486 |
|
|
ac_site_file1=NONE
|
2487 |
|
|
ac_site_file2=NONE
|
2488 |
|
|
if test -n "$CONFIG_SITE"; then
|
2489 |
|
|
ac_site_file1=$CONFIG_SITE
|
2490 |
|
|
elif test "x$prefix" != xNONE; then
|
2491 |
|
|
ac_site_file1=$prefix/share/config.site
|
2492 |
|
|
ac_site_file2=$prefix/etc/config.site
|
2493 |
|
|
else
|
2494 |
|
|
ac_site_file1=$ac_default_prefix/share/config.site
|
2495 |
|
|
ac_site_file2=$ac_default_prefix/etc/config.site
|
2496 |
|
|
fi
|
2497 |
|
|
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
2498 |
|
|
do
|
2499 |
|
|
test "x$ac_site_file" = xNONE && continue
|
2500 |
|
|
if test -r "$ac_site_file"; then
|
2501 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
2502 |
|
|
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
2503 |
|
|
sed 's/^/| /' "$ac_site_file" >&5
|
2504 |
|
|
. "$ac_site_file"
|
2505 |
|
|
fi
|
2506 |
|
|
done
|
2507 |
|
|
|
2508 |
|
|
if test -r "$cache_file"; then
|
2509 |
|
|
# Some versions of bash will fail to source /dev/null (special
|
2510 |
|
|
# files actually), so we avoid doing that.
|
2511 |
|
|
if test -f "$cache_file"; then
|
2512 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
2513 |
|
|
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
2514 |
|
|
case $cache_file in
|
2515 |
|
|
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
2516 |
|
|
*) . "./$cache_file";;
|
2517 |
|
|
esac
|
2518 |
|
|
fi
|
2519 |
|
|
else
|
2520 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
2521 |
|
|
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
2522 |
|
|
>$cache_file
|
2523 |
|
|
fi
|
2524 |
|
|
|
2525 |
|
|
# Check that the precious variables saved in the cache have kept the same
|
2526 |
|
|
# value.
|
2527 |
|
|
ac_cache_corrupted=false
|
2528 |
|
|
for ac_var in $ac_precious_vars; do
|
2529 |
|
|
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
2530 |
|
|
eval ac_new_set=\$ac_env_${ac_var}_set
|
2531 |
|
|
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
2532 |
|
|
eval ac_new_val=\$ac_env_${ac_var}_value
|
2533 |
|
|
case $ac_old_set,$ac_new_set in
|
2534 |
|
|
set,)
|
2535 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
2536 |
|
|
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
2537 |
|
|
ac_cache_corrupted=: ;;
|
2538 |
|
|
,set)
|
2539 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
2540 |
|
|
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
2541 |
|
|
ac_cache_corrupted=: ;;
|
2542 |
|
|
,);;
|
2543 |
|
|
*)
|
2544 |
|
|
if test "x$ac_old_val" != "x$ac_new_val"; then
|
2545 |
|
|
# differences in whitespace do not lead to failure.
|
2546 |
|
|
ac_old_val_w=`echo x $ac_old_val`
|
2547 |
|
|
ac_new_val_w=`echo x $ac_new_val`
|
2548 |
|
|
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
2549 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
2550 |
|
|
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
2551 |
|
|
ac_cache_corrupted=:
|
2552 |
|
|
else
|
2553 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
2554 |
|
|
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
2555 |
|
|
eval $ac_var=\$ac_old_val
|
2556 |
|
|
fi
|
2557 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
2558 |
|
|
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
2559 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
2560 |
|
|
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
2561 |
|
|
fi;;
|
2562 |
|
|
esac
|
2563 |
|
|
# Pass precious variables to config.status.
|
2564 |
|
|
if test "$ac_new_set" = set; then
|
2565 |
|
|
case $ac_new_val in
|
2566 |
|
|
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
2567 |
|
|
*) ac_arg=$ac_var=$ac_new_val ;;
|
2568 |
|
|
esac
|
2569 |
|
|
case " $ac_configure_args " in
|
2570 |
|
|
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
2571 |
|
|
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
2572 |
|
|
esac
|
2573 |
|
|
fi
|
2574 |
|
|
done
|
2575 |
|
|
if $ac_cache_corrupted; then
|
2576 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
2577 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
2578 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
2579 |
|
|
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
2580 |
|
|
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
2581 |
|
|
fi
|
2582 |
|
|
## -------------------- ##
|
2583 |
|
|
## Main body of script. ##
|
2584 |
|
|
## -------------------- ##
|
2585 |
|
|
|
2586 |
|
|
ac_ext=c
|
2587 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
2588 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
2589 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
2590 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2591 |
|
|
|
2592 |
|
|
|
2593 |
|
|
|
2594 |
|
|
|
2595 |
|
|
|
2596 |
|
|
|
2597 |
|
|
|
2598 |
|
|
ac_aux_dir=
|
2599 |
|
|
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
2600 |
|
|
for ac_t in install-sh install.sh shtool; do
|
2601 |
|
|
if test -f "$ac_dir/$ac_t"; then
|
2602 |
|
|
ac_aux_dir=$ac_dir
|
2603 |
|
|
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
2604 |
|
|
break 2
|
2605 |
|
|
fi
|
2606 |
|
|
done
|
2607 |
|
|
done
|
2608 |
|
|
if test -z "$ac_aux_dir"; then
|
2609 |
|
|
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
2610 |
|
|
fi
|
2611 |
|
|
|
2612 |
|
|
# These three variables are undocumented and unsupported,
|
2613 |
|
|
# and are intended to be withdrawn in a future Autoconf release.
|
2614 |
|
|
# They can cause serious problems if a builder's source tree is in a directory
|
2615 |
|
|
# whose full name contains unusual characters.
|
2616 |
|
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
2617 |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
2618 |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
2619 |
|
|
|
2620 |
|
|
|
2621 |
|
|
# Make sure we can run config.sub.
|
2622 |
|
|
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
|
2623 |
|
|
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
|
2624 |
|
|
|
2625 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
|
2626 |
|
|
$as_echo_n "checking build system type... " >&6; }
|
2627 |
|
|
if test "${ac_cv_build+set}" = set; then :
|
2628 |
|
|
$as_echo_n "(cached) " >&6
|
2629 |
|
|
else
|
2630 |
|
|
ac_build_alias=$build_alias
|
2631 |
|
|
test "x$ac_build_alias" = x &&
|
2632 |
|
|
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
|
2633 |
|
|
test "x$ac_build_alias" = x &&
|
2634 |
|
|
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
|
2635 |
|
|
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
|
2636 |
|
|
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
|
2637 |
|
|
|
2638 |
|
|
fi
|
2639 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
|
2640 |
|
|
$as_echo "$ac_cv_build" >&6; }
|
2641 |
|
|
case $ac_cv_build in
|
2642 |
|
|
*-*-*) ;;
|
2643 |
|
|
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
|
2644 |
|
|
esac
|
2645 |
|
|
build=$ac_cv_build
|
2646 |
|
|
ac_save_IFS=$IFS; IFS='-'
|
2647 |
|
|
set x $ac_cv_build
|
2648 |
|
|
shift
|
2649 |
|
|
build_cpu=$1
|
2650 |
|
|
build_vendor=$2
|
2651 |
|
|
shift; shift
|
2652 |
|
|
# Remember, the first character of IFS is used to create $*,
|
2653 |
|
|
# except with old shells:
|
2654 |
|
|
build_os=$*
|
2655 |
|
|
IFS=$ac_save_IFS
|
2656 |
|
|
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
|
2657 |
|
|
|
2658 |
|
|
|
2659 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
|
2660 |
|
|
$as_echo_n "checking host system type... " >&6; }
|
2661 |
|
|
if test "${ac_cv_host+set}" = set; then :
|
2662 |
|
|
$as_echo_n "(cached) " >&6
|
2663 |
|
|
else
|
2664 |
|
|
if test "x$host_alias" = x; then
|
2665 |
|
|
ac_cv_host=$ac_cv_build
|
2666 |
|
|
else
|
2667 |
|
|
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
|
2668 |
|
|
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
|
2669 |
|
|
fi
|
2670 |
|
|
|
2671 |
|
|
fi
|
2672 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
|
2673 |
|
|
$as_echo "$ac_cv_host" >&6; }
|
2674 |
|
|
case $ac_cv_host in
|
2675 |
|
|
*-*-*) ;;
|
2676 |
|
|
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
|
2677 |
|
|
esac
|
2678 |
|
|
host=$ac_cv_host
|
2679 |
|
|
ac_save_IFS=$IFS; IFS='-'
|
2680 |
|
|
set x $ac_cv_host
|
2681 |
|
|
shift
|
2682 |
|
|
host_cpu=$1
|
2683 |
|
|
host_vendor=$2
|
2684 |
|
|
shift; shift
|
2685 |
|
|
# Remember, the first character of IFS is used to create $*,
|
2686 |
|
|
# except with old shells:
|
2687 |
|
|
host_os=$*
|
2688 |
|
|
IFS=$ac_save_IFS
|
2689 |
|
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
|
2690 |
|
|
|
2691 |
|
|
|
2692 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
|
2693 |
|
|
$as_echo_n "checking target system type... " >&6; }
|
2694 |
|
|
if test "${ac_cv_target+set}" = set; then :
|
2695 |
|
|
$as_echo_n "(cached) " >&6
|
2696 |
|
|
else
|
2697 |
|
|
if test "x$target_alias" = x; then
|
2698 |
|
|
ac_cv_target=$ac_cv_host
|
2699 |
|
|
else
|
2700 |
|
|
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
|
2701 |
|
|
as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
|
2702 |
|
|
fi
|
2703 |
|
|
|
2704 |
|
|
fi
|
2705 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
|
2706 |
|
|
$as_echo "$ac_cv_target" >&6; }
|
2707 |
|
|
case $ac_cv_target in
|
2708 |
|
|
*-*-*) ;;
|
2709 |
|
|
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
|
2710 |
|
|
esac
|
2711 |
|
|
target=$ac_cv_target
|
2712 |
|
|
ac_save_IFS=$IFS; IFS='-'
|
2713 |
|
|
set x $ac_cv_target
|
2714 |
|
|
shift
|
2715 |
|
|
target_cpu=$1
|
2716 |
|
|
target_vendor=$2
|
2717 |
|
|
shift; shift
|
2718 |
|
|
# Remember, the first character of IFS is used to create $*,
|
2719 |
|
|
# except with old shells:
|
2720 |
|
|
target_os=$*
|
2721 |
|
|
IFS=$ac_save_IFS
|
2722 |
|
|
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
|
2723 |
|
|
|
2724 |
|
|
|
2725 |
|
|
# The aliases save the names the user supplied, while $host etc.
|
2726 |
|
|
# will get canonicalized.
|
2727 |
|
|
test -n "$target_alias" &&
|
2728 |
|
|
test "$program_prefix$program_suffix$program_transform_name" = \
|
2729 |
|
|
NONENONEs,x,x, &&
|
2730 |
|
|
program_prefix=${target_alias}-
|
2731 |
|
|
|
2732 |
|
|
am__api_version='1.11'
|
2733 |
|
|
|
2734 |
|
|
# Find a good install program. We prefer a C program (faster),
|
2735 |
|
|
# so one script is as good as another. But avoid the broken or
|
2736 |
|
|
# incompatible versions:
|
2737 |
|
|
# SysV /etc/install, /usr/sbin/install
|
2738 |
|
|
# SunOS /usr/etc/install
|
2739 |
|
|
# IRIX /sbin/install
|
2740 |
|
|
# AIX /bin/install
|
2741 |
|
|
# AmigaOS /C/install, which installs bootblocks on floppy discs
|
2742 |
|
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
|
2743 |
|
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
2744 |
|
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
2745 |
|
|
# OS/2's system install, which has a completely different semantic
|
2746 |
|
|
# ./install, which can be erroneously created by make from ./install.sh.
|
2747 |
|
|
# Reject install programs that cannot install multiple files.
|
2748 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
2749 |
|
|
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
2750 |
|
|
if test -z "$INSTALL"; then
|
2751 |
|
|
if test "${ac_cv_path_install+set}" = set; then :
|
2752 |
|
|
$as_echo_n "(cached) " >&6
|
2753 |
|
|
else
|
2754 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2755 |
|
|
for as_dir in $PATH
|
2756 |
|
|
do
|
2757 |
|
|
IFS=$as_save_IFS
|
2758 |
|
|
test -z "$as_dir" && as_dir=.
|
2759 |
|
|
# Account for people who put trailing slashes in PATH elements.
|
2760 |
|
|
case $as_dir/ in #((
|
2761 |
|
|
./ | .// | /[cC]/* | \
|
2762 |
|
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
2763 |
|
|
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
2764 |
|
|
/usr/ucb/* ) ;;
|
2765 |
|
|
*)
|
2766 |
|
|
# OSF1 and SCO ODT 3.0 have their own names for install.
|
2767 |
|
|
# Don't use installbsd from OSF since it installs stuff as root
|
2768 |
|
|
# by default.
|
2769 |
|
|
for ac_prog in ginstall scoinst install; do
|
2770 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2771 |
|
|
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
2772 |
|
|
if test $ac_prog = install &&
|
2773 |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2774 |
|
|
# AIX install. It has an incompatible calling convention.
|
2775 |
|
|
:
|
2776 |
|
|
elif test $ac_prog = install &&
|
2777 |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
2778 |
|
|
# program-specific install script used by HP pwplus--don't use.
|
2779 |
|
|
:
|
2780 |
|
|
else
|
2781 |
|
|
rm -rf conftest.one conftest.two conftest.dir
|
2782 |
|
|
echo one > conftest.one
|
2783 |
|
|
echo two > conftest.two
|
2784 |
|
|
mkdir conftest.dir
|
2785 |
|
|
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
2786 |
|
|
test -s conftest.one && test -s conftest.two &&
|
2787 |
|
|
test -s conftest.dir/conftest.one &&
|
2788 |
|
|
test -s conftest.dir/conftest.two
|
2789 |
|
|
then
|
2790 |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
2791 |
|
|
break 3
|
2792 |
|
|
fi
|
2793 |
|
|
fi
|
2794 |
|
|
fi
|
2795 |
|
|
done
|
2796 |
|
|
done
|
2797 |
|
|
;;
|
2798 |
|
|
esac
|
2799 |
|
|
|
2800 |
|
|
done
|
2801 |
|
|
IFS=$as_save_IFS
|
2802 |
|
|
|
2803 |
|
|
rm -rf conftest.one conftest.two conftest.dir
|
2804 |
|
|
|
2805 |
|
|
fi
|
2806 |
|
|
if test "${ac_cv_path_install+set}" = set; then
|
2807 |
|
|
INSTALL=$ac_cv_path_install
|
2808 |
|
|
else
|
2809 |
|
|
# As a last resort, use the slow shell script. Don't cache a
|
2810 |
|
|
# value for INSTALL within a source directory, because that will
|
2811 |
|
|
# break other packages using the cache if that directory is
|
2812 |
|
|
# removed, or if the value is a relative name.
|
2813 |
|
|
INSTALL=$ac_install_sh
|
2814 |
|
|
fi
|
2815 |
|
|
fi
|
2816 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
2817 |
|
|
$as_echo "$INSTALL" >&6; }
|
2818 |
|
|
|
2819 |
|
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
2820 |
|
|
# It thinks the first close brace ends the variable substitution.
|
2821 |
|
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
2822 |
|
|
|
2823 |
|
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
|
2824 |
|
|
|
2825 |
|
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
2826 |
|
|
|
2827 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
2828 |
|
|
$as_echo_n "checking whether build environment is sane... " >&6; }
|
2829 |
|
|
# Just in case
|
2830 |
|
|
sleep 1
|
2831 |
|
|
echo timestamp > conftest.file
|
2832 |
|
|
# Reject unsafe characters in $srcdir or the absolute working directory
|
2833 |
|
|
# name. Accept space and tab only in the latter.
|
2834 |
|
|
am_lf='
|
2835 |
|
|
'
|
2836 |
|
|
case `pwd` in
|
2837 |
|
|
*[\\\"\#\$\&\'\`$am_lf]*)
|
2838 |
|
|
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
2839 |
|
|
esac
|
2840 |
|
|
case $srcdir in
|
2841 |
|
|
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
2842 |
|
|
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
2843 |
|
|
esac
|
2844 |
|
|
|
2845 |
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
2846 |
|
|
# arguments. Must try -L first in case configure is actually a
|
2847 |
|
|
# symlink; some systems play weird games with the mod time of symlinks
|
2848 |
|
|
# (eg FreeBSD returns the mod time of the symlink's containing
|
2849 |
|
|
# directory).
|
2850 |
|
|
if (
|
2851 |
|
|
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
2852 |
|
|
if test "$*" = "X"; then
|
2853 |
|
|
# -L didn't work.
|
2854 |
|
|
set X `ls -t "$srcdir/configure" conftest.file`
|
2855 |
|
|
fi
|
2856 |
|
|
rm -f conftest.file
|
2857 |
|
|
if test "$*" != "X $srcdir/configure conftest.file" \
|
2858 |
|
|
&& test "$*" != "X conftest.file $srcdir/configure"; then
|
2859 |
|
|
|
2860 |
|
|
# If neither matched, then we have a broken ls. This can happen
|
2861 |
|
|
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
2862 |
|
|
# broken ls alias from the environment. This has actually
|
2863 |
|
|
# happened. Such a system could not be considered "sane".
|
2864 |
|
|
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
2865 |
|
|
alias in your environment" "$LINENO" 5
|
2866 |
|
|
fi
|
2867 |
|
|
|
2868 |
|
|
test "$2" = conftest.file
|
2869 |
|
|
)
|
2870 |
|
|
then
|
2871 |
|
|
# Ok.
|
2872 |
|
|
:
|
2873 |
|
|
else
|
2874 |
|
|
as_fn_error "newly created file is older than distributed files!
|
2875 |
|
|
Check your system clock" "$LINENO" 5
|
2876 |
|
|
fi
|
2877 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
2878 |
|
|
$as_echo "yes" >&6; }
|
2879 |
|
|
test "$program_prefix" != NONE &&
|
2880 |
|
|
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
2881 |
|
|
# Use a double $ so make ignores it.
|
2882 |
|
|
test "$program_suffix" != NONE &&
|
2883 |
|
|
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
2884 |
|
|
# Double any \ or $.
|
2885 |
|
|
# By default was `s,x,x', remove it if useless.
|
2886 |
|
|
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
2887 |
|
|
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
2888 |
|
|
|
2889 |
|
|
# expand $ac_aux_dir to an absolute path
|
2890 |
|
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
2891 |
|
|
|
2892 |
|
|
if test x"${MISSING+set}" != xset; then
|
2893 |
|
|
case $am_aux_dir in
|
2894 |
|
|
*\ * | *\ *)
|
2895 |
|
|
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
2896 |
|
|
*)
|
2897 |
|
|
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
2898 |
|
|
esac
|
2899 |
|
|
fi
|
2900 |
|
|
# Use eval to expand $SHELL
|
2901 |
|
|
if eval "$MISSING --run true"; then
|
2902 |
|
|
am_missing_run="$MISSING --run "
|
2903 |
|
|
else
|
2904 |
|
|
am_missing_run=
|
2905 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
2906 |
|
|
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
2907 |
|
|
fi
|
2908 |
|
|
|
2909 |
|
|
if test x"${install_sh}" != xset; then
|
2910 |
|
|
case $am_aux_dir in
|
2911 |
|
|
*\ * | *\ *)
|
2912 |
|
|
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
2913 |
|
|
*)
|
2914 |
|
|
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
2915 |
|
|
esac
|
2916 |
|
|
fi
|
2917 |
|
|
|
2918 |
|
|
# Installed binaries are usually stripped using `strip' when the user
|
2919 |
|
|
# run `make install-strip'. However `strip' might not be the right
|
2920 |
|
|
# tool to use in cross-compilation environments, therefore Automake
|
2921 |
|
|
# will honor the `STRIP' environment variable to overrule this program.
|
2922 |
|
|
if test "$cross_compiling" != no; then
|
2923 |
|
|
if test -n "$ac_tool_prefix"; then
|
2924 |
|
|
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
2925 |
|
|
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
2926 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2927 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
2928 |
|
|
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
2929 |
|
|
$as_echo_n "(cached) " >&6
|
2930 |
|
|
else
|
2931 |
|
|
if test -n "$STRIP"; then
|
2932 |
|
|
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
2933 |
|
|
else
|
2934 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2935 |
|
|
for as_dir in $PATH
|
2936 |
|
|
do
|
2937 |
|
|
IFS=$as_save_IFS
|
2938 |
|
|
test -z "$as_dir" && as_dir=.
|
2939 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2940 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2941 |
|
|
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
2942 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2943 |
|
|
break 2
|
2944 |
|
|
fi
|
2945 |
|
|
done
|
2946 |
|
|
done
|
2947 |
|
|
IFS=$as_save_IFS
|
2948 |
|
|
|
2949 |
|
|
fi
|
2950 |
|
|
fi
|
2951 |
|
|
STRIP=$ac_cv_prog_STRIP
|
2952 |
|
|
if test -n "$STRIP"; then
|
2953 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
2954 |
|
|
$as_echo "$STRIP" >&6; }
|
2955 |
|
|
else
|
2956 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2957 |
|
|
$as_echo "no" >&6; }
|
2958 |
|
|
fi
|
2959 |
|
|
|
2960 |
|
|
|
2961 |
|
|
fi
|
2962 |
|
|
if test -z "$ac_cv_prog_STRIP"; then
|
2963 |
|
|
ac_ct_STRIP=$STRIP
|
2964 |
|
|
# Extract the first word of "strip", so it can be a program name with args.
|
2965 |
|
|
set dummy strip; ac_word=$2
|
2966 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
2967 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
2968 |
|
|
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
2969 |
|
|
$as_echo_n "(cached) " >&6
|
2970 |
|
|
else
|
2971 |
|
|
if test -n "$ac_ct_STRIP"; then
|
2972 |
|
|
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
2973 |
|
|
else
|
2974 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
2975 |
|
|
for as_dir in $PATH
|
2976 |
|
|
do
|
2977 |
|
|
IFS=$as_save_IFS
|
2978 |
|
|
test -z "$as_dir" && as_dir=.
|
2979 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
2980 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2981 |
|
|
ac_cv_prog_ac_ct_STRIP="strip"
|
2982 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2983 |
|
|
break 2
|
2984 |
|
|
fi
|
2985 |
|
|
done
|
2986 |
|
|
done
|
2987 |
|
|
IFS=$as_save_IFS
|
2988 |
|
|
|
2989 |
|
|
fi
|
2990 |
|
|
fi
|
2991 |
|
|
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
2992 |
|
|
if test -n "$ac_ct_STRIP"; then
|
2993 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
2994 |
|
|
$as_echo "$ac_ct_STRIP" >&6; }
|
2995 |
|
|
else
|
2996 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
2997 |
|
|
$as_echo "no" >&6; }
|
2998 |
|
|
fi
|
2999 |
|
|
|
3000 |
|
|
if test "x$ac_ct_STRIP" = x; then
|
3001 |
|
|
STRIP=":"
|
3002 |
|
|
else
|
3003 |
|
|
case $cross_compiling:$ac_tool_warned in
|
3004 |
|
|
yes:)
|
3005 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3006 |
|
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3007 |
|
|
ac_tool_warned=yes ;;
|
3008 |
|
|
esac
|
3009 |
|
|
STRIP=$ac_ct_STRIP
|
3010 |
|
|
fi
|
3011 |
|
|
else
|
3012 |
|
|
STRIP="$ac_cv_prog_STRIP"
|
3013 |
|
|
fi
|
3014 |
|
|
|
3015 |
|
|
fi
|
3016 |
|
|
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
3017 |
|
|
|
3018 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
3019 |
|
|
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
3020 |
|
|
if test -z "$MKDIR_P"; then
|
3021 |
|
|
if test "${ac_cv_path_mkdir+set}" = set; then :
|
3022 |
|
|
$as_echo_n "(cached) " >&6
|
3023 |
|
|
else
|
3024 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3025 |
|
|
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
3026 |
|
|
do
|
3027 |
|
|
IFS=$as_save_IFS
|
3028 |
|
|
test -z "$as_dir" && as_dir=.
|
3029 |
|
|
for ac_prog in mkdir gmkdir; do
|
3030 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3031 |
|
|
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
3032 |
|
|
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
3033 |
|
|
'mkdir (GNU coreutils) '* | \
|
3034 |
|
|
'mkdir (coreutils) '* | \
|
3035 |
|
|
'mkdir (fileutils) '4.1*)
|
3036 |
|
|
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
3037 |
|
|
break 3;;
|
3038 |
|
|
esac
|
3039 |
|
|
done
|
3040 |
|
|
done
|
3041 |
|
|
done
|
3042 |
|
|
IFS=$as_save_IFS
|
3043 |
|
|
|
3044 |
|
|
fi
|
3045 |
|
|
|
3046 |
|
|
if test "${ac_cv_path_mkdir+set}" = set; then
|
3047 |
|
|
MKDIR_P="$ac_cv_path_mkdir -p"
|
3048 |
|
|
else
|
3049 |
|
|
# As a last resort, use the slow shell script. Don't cache a
|
3050 |
|
|
# value for MKDIR_P within a source directory, because that will
|
3051 |
|
|
# break other packages using the cache if that directory is
|
3052 |
|
|
# removed, or if the value is a relative name.
|
3053 |
|
|
test -d ./--version && rmdir ./--version
|
3054 |
|
|
MKDIR_P="$ac_install_sh -d"
|
3055 |
|
|
fi
|
3056 |
|
|
fi
|
3057 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
3058 |
|
|
$as_echo "$MKDIR_P" >&6; }
|
3059 |
|
|
|
3060 |
|
|
mkdir_p="$MKDIR_P"
|
3061 |
|
|
case $mkdir_p in
|
3062 |
|
|
[\\/$]* | ?:[\\/]*) ;;
|
3063 |
|
|
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
3064 |
|
|
esac
|
3065 |
|
|
|
3066 |
|
|
for ac_prog in gawk mawk nawk awk
|
3067 |
|
|
do
|
3068 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3069 |
|
|
set dummy $ac_prog; ac_word=$2
|
3070 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3071 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3072 |
|
|
if test "${ac_cv_prog_AWK+set}" = set; then :
|
3073 |
|
|
$as_echo_n "(cached) " >&6
|
3074 |
|
|
else
|
3075 |
|
|
if test -n "$AWK"; then
|
3076 |
|
|
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
3077 |
|
|
else
|
3078 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3079 |
|
|
for as_dir in $PATH
|
3080 |
|
|
do
|
3081 |
|
|
IFS=$as_save_IFS
|
3082 |
|
|
test -z "$as_dir" && as_dir=.
|
3083 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3084 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3085 |
|
|
ac_cv_prog_AWK="$ac_prog"
|
3086 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3087 |
|
|
break 2
|
3088 |
|
|
fi
|
3089 |
|
|
done
|
3090 |
|
|
done
|
3091 |
|
|
IFS=$as_save_IFS
|
3092 |
|
|
|
3093 |
|
|
fi
|
3094 |
|
|
fi
|
3095 |
|
|
AWK=$ac_cv_prog_AWK
|
3096 |
|
|
if test -n "$AWK"; then
|
3097 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
3098 |
|
|
$as_echo "$AWK" >&6; }
|
3099 |
|
|
else
|
3100 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3101 |
|
|
$as_echo "no" >&6; }
|
3102 |
|
|
fi
|
3103 |
|
|
|
3104 |
|
|
|
3105 |
|
|
test -n "$AWK" && break
|
3106 |
|
|
done
|
3107 |
|
|
|
3108 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
3109 |
|
|
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
3110 |
|
|
set x ${MAKE-make}
|
3111 |
|
|
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
3112 |
|
|
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
3113 |
|
|
$as_echo_n "(cached) " >&6
|
3114 |
|
|
else
|
3115 |
|
|
cat >conftest.make <<\_ACEOF
|
3116 |
|
|
SHELL = /bin/sh
|
3117 |
|
|
all:
|
3118 |
|
|
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
3119 |
|
|
_ACEOF
|
3120 |
|
|
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
3121 |
|
|
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
3122 |
|
|
*@@@%%%=?*=@@@%%%*)
|
3123 |
|
|
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
3124 |
|
|
*)
|
3125 |
|
|
eval ac_cv_prog_make_${ac_make}_set=no;;
|
3126 |
|
|
esac
|
3127 |
|
|
rm -f conftest.make
|
3128 |
|
|
fi
|
3129 |
|
|
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
3130 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3131 |
|
|
$as_echo "yes" >&6; }
|
3132 |
|
|
SET_MAKE=
|
3133 |
|
|
else
|
3134 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3135 |
|
|
$as_echo "no" >&6; }
|
3136 |
|
|
SET_MAKE="MAKE=${MAKE-make}"
|
3137 |
|
|
fi
|
3138 |
|
|
|
3139 |
|
|
rm -rf .tst 2>/dev/null
|
3140 |
|
|
mkdir .tst 2>/dev/null
|
3141 |
|
|
if test -d .tst; then
|
3142 |
|
|
am__leading_dot=.
|
3143 |
|
|
else
|
3144 |
|
|
am__leading_dot=_
|
3145 |
|
|
fi
|
3146 |
|
|
rmdir .tst 2>/dev/null
|
3147 |
|
|
|
3148 |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
3149 |
|
|
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
3150 |
|
|
# is not polluted with repeated "-I."
|
3151 |
|
|
am__isrc=' -I$(srcdir)'
|
3152 |
|
|
# test to see if srcdir already configured
|
3153 |
|
|
if test -f $srcdir/config.status; then
|
3154 |
|
|
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
3155 |
|
|
fi
|
3156 |
|
|
fi
|
3157 |
|
|
|
3158 |
|
|
# test whether we have cygpath
|
3159 |
|
|
if test -z "$CYGPATH_W"; then
|
3160 |
|
|
if (cygpath --version) >/dev/null 2>/dev/null; then
|
3161 |
|
|
CYGPATH_W='cygpath -w'
|
3162 |
|
|
else
|
3163 |
|
|
CYGPATH_W=echo
|
3164 |
|
|
fi
|
3165 |
|
|
fi
|
3166 |
|
|
|
3167 |
|
|
|
3168 |
|
|
# Define the identity of the package.
|
3169 |
|
|
PACKAGE='gold'
|
3170 |
|
|
VERSION='0.1'
|
3171 |
|
|
|
3172 |
|
|
|
3173 |
|
|
cat >>confdefs.h <<_ACEOF
|
3174 |
|
|
#define PACKAGE "$PACKAGE"
|
3175 |
|
|
_ACEOF
|
3176 |
|
|
|
3177 |
|
|
|
3178 |
|
|
cat >>confdefs.h <<_ACEOF
|
3179 |
|
|
#define VERSION "$VERSION"
|
3180 |
|
|
_ACEOF
|
3181 |
|
|
|
3182 |
|
|
# Some tools Automake needs.
|
3183 |
|
|
|
3184 |
|
|
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
3185 |
|
|
|
3186 |
|
|
|
3187 |
|
|
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
3188 |
|
|
|
3189 |
|
|
|
3190 |
|
|
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
3191 |
|
|
|
3192 |
|
|
|
3193 |
|
|
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
3194 |
|
|
|
3195 |
|
|
|
3196 |
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
3197 |
|
|
|
3198 |
|
|
# We need awk for the "check" target. The system "awk" is bad on
|
3199 |
|
|
# some platforms.
|
3200 |
|
|
# Always define AMTAR for backward compatibility.
|
3201 |
|
|
|
3202 |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"}
|
3203 |
|
|
|
3204 |
|
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
|
3205 |
|
|
|
3206 |
|
|
|
3207 |
|
|
|
3208 |
|
|
|
3209 |
|
|
|
3210 |
|
|
|
3211 |
|
|
ac_config_headers="$ac_config_headers config.h:config.in"
|
3212 |
|
|
|
3213 |
|
|
|
3214 |
|
|
|
3215 |
|
|
# Check whether --with-sysroot was given.
|
3216 |
|
|
if test "${with_sysroot+set}" = set; then :
|
3217 |
|
|
withval=$with_sysroot; sysroot=$withval
|
3218 |
|
|
else
|
3219 |
|
|
sysroot=no
|
3220 |
|
|
fi
|
3221 |
|
|
|
3222 |
|
|
|
3223 |
|
|
if test "$sysroot" = "yes"; then
|
3224 |
|
|
sysroot='${exec_prefix}/${target_alias}/sys-root'
|
3225 |
|
|
elif test "$sysroot" = "no"; then
|
3226 |
|
|
sysroot=
|
3227 |
|
|
fi
|
3228 |
|
|
|
3229 |
|
|
sysroot_relocatable=0
|
3230 |
|
|
if test -n "$sysroot"; then
|
3231 |
|
|
case "sysroot" in
|
3232 |
|
|
"${prefix}" | "${prefix}/"* | \
|
3233 |
|
|
"${exec_prefix}" | "${exec_prefix}/"* | \
|
3234 |
|
|
'${prefix}' | '${prefix}/'*| \
|
3235 |
|
|
'${exec_prefix}' | '${exec_prefix}/'*)
|
3236 |
|
|
sysroot_relocatable=1
|
3237 |
|
|
;;
|
3238 |
|
|
esac
|
3239 |
|
|
fi
|
3240 |
|
|
|
3241 |
|
|
|
3242 |
|
|
cat >>confdefs.h <<_ACEOF
|
3243 |
|
|
#define TARGET_SYSTEM_ROOT "$sysroot"
|
3244 |
|
|
_ACEOF
|
3245 |
|
|
|
3246 |
|
|
|
3247 |
|
|
cat >>confdefs.h <<_ACEOF
|
3248 |
|
|
#define TARGET_SYSTEM_ROOT_RELOCATABLE $sysroot_relocatable
|
3249 |
|
|
_ACEOF
|
3250 |
|
|
|
3251 |
|
|
|
3252 |
|
|
|
3253 |
|
|
default_ld=
|
3254 |
|
|
# Check whether --enable-ld was given.
|
3255 |
|
|
if test "${enable_ld+set}" = set; then :
|
3256 |
|
|
enableval=$enable_ld; case "${enableval}" in
|
3257 |
|
|
default)
|
3258 |
|
|
default_ld=ld.bfd
|
3259 |
|
|
;;
|
3260 |
|
|
esac
|
3261 |
|
|
fi
|
3262 |
|
|
|
3263 |
|
|
|
3264 |
|
|
# Check whether --enable-gold was given.
|
3265 |
|
|
if test "${enable_gold+set}" = set; then :
|
3266 |
|
|
enableval=$enable_gold; case "${enableval}" in
|
3267 |
|
|
yes|default)
|
3268 |
|
|
if test x${default_ld} = x; then
|
3269 |
|
|
install_as_default=yes
|
3270 |
|
|
fi
|
3271 |
|
|
installed_linker=ld.gold
|
3272 |
|
|
;;
|
3273 |
|
|
no)
|
3274 |
|
|
;;
|
3275 |
|
|
*)
|
3276 |
|
|
as_fn_error "invalid --enable-gold argument" "$LINENO" 5
|
3277 |
|
|
;;
|
3278 |
|
|
esac
|
3279 |
|
|
else
|
3280 |
|
|
install_as_default=no
|
3281 |
|
|
installed_linker=ld.gold
|
3282 |
|
|
fi
|
3283 |
|
|
|
3284 |
|
|
|
3285 |
|
|
|
3286 |
|
|
|
3287 |
|
|
# Check whether --enable-threads was given.
|
3288 |
|
|
if test "${enable_threads+set}" = set; then :
|
3289 |
|
|
enableval=$enable_threads; case "${enableval}" in
|
3290 |
|
|
yes | "") threads=yes ;;
|
3291 |
|
|
no) threads=no ;;
|
3292 |
|
|
*) threads=yes ;;
|
3293 |
|
|
esac
|
3294 |
|
|
else
|
3295 |
|
|
threads=no
|
3296 |
|
|
fi
|
3297 |
|
|
|
3298 |
|
|
if test "$threads" = "yes"; then
|
3299 |
|
|
|
3300 |
|
|
$as_echo "#define ENABLE_THREADS 1" >>confdefs.h
|
3301 |
|
|
|
3302 |
|
|
fi
|
3303 |
|
|
if test "$threads" = "yes"; then
|
3304 |
|
|
THREADS_TRUE=
|
3305 |
|
|
THREADS_FALSE='#'
|
3306 |
|
|
else
|
3307 |
|
|
THREADS_TRUE='#'
|
3308 |
|
|
THREADS_FALSE=
|
3309 |
|
|
fi
|
3310 |
|
|
|
3311 |
|
|
|
3312 |
|
|
# Check whether --enable-plugins was given.
|
3313 |
|
|
if test "${enable_plugins+set}" = set; then :
|
3314 |
|
|
enableval=$enable_plugins; case "${enableval}" in
|
3315 |
|
|
yes | "") plugins=yes ;;
|
3316 |
|
|
no) plugins=no ;;
|
3317 |
|
|
*) plugins=yes ;;
|
3318 |
|
|
esac
|
3319 |
|
|
else
|
3320 |
|
|
plugins=no
|
3321 |
|
|
fi
|
3322 |
|
|
|
3323 |
|
|
if test "$plugins" = "yes"; then
|
3324 |
|
|
|
3325 |
|
|
$as_echo "#define ENABLE_PLUGINS 1" >>confdefs.h
|
3326 |
|
|
|
3327 |
|
|
fi
|
3328 |
|
|
if test "$plugins" = "yes"; then
|
3329 |
|
|
PLUGINS_TRUE=
|
3330 |
|
|
PLUGINS_FALSE='#'
|
3331 |
|
|
else
|
3332 |
|
|
PLUGINS_TRUE='#'
|
3333 |
|
|
PLUGINS_FALSE=
|
3334 |
|
|
fi
|
3335 |
|
|
|
3336 |
|
|
|
3337 |
|
|
# Check whether --enable-targets was given.
|
3338 |
|
|
if test "${enable_targets+set}" = set; then :
|
3339 |
|
|
enableval=$enable_targets; case "${enableval}" in
|
3340 |
|
|
yes | "")
|
3341 |
|
|
as_fn_error "--enable-targets option must specify target names or 'all'" "$LINENO" 5
|
3342 |
|
|
;;
|
3343 |
|
|
no)
|
3344 |
|
|
enable_targets=
|
3345 |
|
|
;;
|
3346 |
|
|
*)
|
3347 |
|
|
enable_targets=$enableval
|
3348 |
|
|
;;
|
3349 |
|
|
esac
|
3350 |
|
|
else
|
3351 |
|
|
# For now, enable all targets by default
|
3352 |
|
|
enable_targets=all
|
3353 |
|
|
|
3354 |
|
|
fi
|
3355 |
|
|
|
3356 |
|
|
|
3357 |
|
|
# Canonicalize the enabled targets.
|
3358 |
|
|
if test -n "$enable_targets"; then
|
3359 |
|
|
for targ in `echo $enable_targets | sed -e 's/,/ /g'`; do
|
3360 |
|
|
result=`$ac_config_sub $targ 2>/dev/null`
|
3361 |
|
|
if test -n "$result"; then
|
3362 |
|
|
canon_targets="$canon_targets $result"
|
3363 |
|
|
else
|
3364 |
|
|
# Permit unrecognized target names, like "all".
|
3365 |
|
|
canon_targets="$canon_targets $targ"
|
3366 |
|
|
fi
|
3367 |
|
|
done
|
3368 |
|
|
fi
|
3369 |
|
|
|
3370 |
|
|
# See which specific instantiations we need.
|
3371 |
|
|
targetobjs=
|
3372 |
|
|
all_targets=
|
3373 |
|
|
default_machine=
|
3374 |
|
|
default_size=
|
3375 |
|
|
default_big_endian=
|
3376 |
|
|
default_osabi=ELFOSABI_NONE
|
3377 |
|
|
targ_32_little=
|
3378 |
|
|
targ_32_big=
|
3379 |
|
|
targ_64_little=
|
3380 |
|
|
targ_64_big=
|
3381 |
|
|
for targ in $target $canon_targets; do
|
3382 |
|
|
if test "$targ" = "all"; then
|
3383 |
|
|
targ_32_little=yes
|
3384 |
|
|
targ_32_big=yes
|
3385 |
|
|
targ_64_little=yes
|
3386 |
|
|
targ_64_big=yes
|
3387 |
|
|
all_targets=yes
|
3388 |
|
|
else
|
3389 |
|
|
. ${srcdir}/configure.tgt
|
3390 |
|
|
|
3391 |
|
|
if test "$targ_obj" = "UNKNOWN"; then
|
3392 |
|
|
as_fn_error "\"unsupported target $targ\"" "$LINENO" 5
|
3393 |
|
|
else
|
3394 |
|
|
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
|
3395 |
|
|
if test "$targ_extra_obj" != ""; then
|
3396 |
|
|
targetobjs="$targetobjs ${targ_extra_obj}.\$(OBJEXT)"
|
3397 |
|
|
fi
|
3398 |
|
|
if test "$targ_size" = "32" -o "$targ_extra_size" = "32"; then
|
3399 |
|
|
if test "$targ_big_endian" = "true" \
|
3400 |
|
|
-o "$targ_extra_big_endian" = "true"; then
|
3401 |
|
|
targ_32_big=yes
|
3402 |
|
|
fi
|
3403 |
|
|
if test "$targ_big_endian" = "false" \
|
3404 |
|
|
-o "$targ_extra_big_endian" = "false"; then
|
3405 |
|
|
targ_32_little=yes
|
3406 |
|
|
fi
|
3407 |
|
|
fi
|
3408 |
|
|
if test "$targ_size" = "64" -o "$targ_extra_size" = "64"; then
|
3409 |
|
|
if test "$targ_big_endian" = "true" \
|
3410 |
|
|
-o "$targ_extra_big_endian" = "true"; then
|
3411 |
|
|
targ_64_big=yes
|
3412 |
|
|
fi
|
3413 |
|
|
if test "$targ_big_endian" = "false" \
|
3414 |
|
|
-o "$targ_extra_big_endian" = "false"; then
|
3415 |
|
|
targ_64_little=yes
|
3416 |
|
|
fi
|
3417 |
|
|
fi
|
3418 |
|
|
|
3419 |
|
|
if test "$target" = "$targ"; then
|
3420 |
|
|
default_machine=$targ_machine
|
3421 |
|
|
default_size=$targ_size
|
3422 |
|
|
default_big_endian=$targ_big_endian
|
3423 |
|
|
default_osabi=$targ_osabi
|
3424 |
|
|
|
3425 |
|
|
if test "$targ_obj" = "arm"; then
|
3426 |
|
|
DEFAULT_TARGET_ARM_TRUE=
|
3427 |
|
|
DEFAULT_TARGET_ARM_FALSE='#'
|
3428 |
|
|
else
|
3429 |
|
|
DEFAULT_TARGET_ARM_TRUE='#'
|
3430 |
|
|
DEFAULT_TARGET_ARM_FALSE=
|
3431 |
|
|
fi
|
3432 |
|
|
|
3433 |
|
|
if test "$targ_obj" = "i386"; then
|
3434 |
|
|
DEFAULT_TARGET_I386_TRUE=
|
3435 |
|
|
DEFAULT_TARGET_I386_FALSE='#'
|
3436 |
|
|
else
|
3437 |
|
|
DEFAULT_TARGET_I386_TRUE='#'
|
3438 |
|
|
DEFAULT_TARGET_I386_FALSE=
|
3439 |
|
|
fi
|
3440 |
|
|
|
3441 |
|
|
if test "$targ_obj" = "powerpc"; then
|
3442 |
|
|
DEFAULT_TARGET_POWERPC_TRUE=
|
3443 |
|
|
DEFAULT_TARGET_POWERPC_FALSE='#'
|
3444 |
|
|
else
|
3445 |
|
|
DEFAULT_TARGET_POWERPC_TRUE='#'
|
3446 |
|
|
DEFAULT_TARGET_POWERPC_FALSE=
|
3447 |
|
|
fi
|
3448 |
|
|
|
3449 |
|
|
if test "$targ_obj" = "sparc"; then
|
3450 |
|
|
DEFAULT_TARGET_SPARC_TRUE=
|
3451 |
|
|
DEFAULT_TARGET_SPARC_FALSE='#'
|
3452 |
|
|
else
|
3453 |
|
|
DEFAULT_TARGET_SPARC_TRUE='#'
|
3454 |
|
|
DEFAULT_TARGET_SPARC_FALSE=
|
3455 |
|
|
fi
|
3456 |
|
|
|
3457 |
|
|
if test "$targ_obj" = "x86_64"; then
|
3458 |
|
|
DEFAULT_TARGET_X86_64_TRUE=
|
3459 |
|
|
DEFAULT_TARGET_X86_64_FALSE='#'
|
3460 |
|
|
else
|
3461 |
|
|
DEFAULT_TARGET_X86_64_TRUE='#'
|
3462 |
|
|
DEFAULT_TARGET_X86_64_FALSE=
|
3463 |
|
|
fi
|
3464 |
|
|
|
3465 |
|
|
fi
|
3466 |
|
|
fi
|
3467 |
|
|
fi
|
3468 |
|
|
done
|
3469 |
|
|
|
3470 |
|
|
# Remove any duplicates.
|
3471 |
|
|
to=""
|
3472 |
|
|
for t in $targetobjs; do
|
3473 |
|
|
case " $to " in
|
3474 |
|
|
*" $t "*) ;;
|
3475 |
|
|
*) to="$to $t" ;;
|
3476 |
|
|
esac
|
3477 |
|
|
done
|
3478 |
|
|
targetobjs=$to
|
3479 |
|
|
|
3480 |
|
|
if test -n "$targ_32_little"; then
|
3481 |
|
|
|
3482 |
|
|
$as_echo "#define HAVE_TARGET_32_LITTLE 1" >>confdefs.h
|
3483 |
|
|
|
3484 |
|
|
fi
|
3485 |
|
|
if test -n "$targ_32_big"; then
|
3486 |
|
|
|
3487 |
|
|
$as_echo "#define HAVE_TARGET_32_BIG 1" >>confdefs.h
|
3488 |
|
|
|
3489 |
|
|
fi
|
3490 |
|
|
if test -n "$targ_64_little"; then
|
3491 |
|
|
|
3492 |
|
|
$as_echo "#define HAVE_TARGET_64_LITTLE 1" >>confdefs.h
|
3493 |
|
|
|
3494 |
|
|
fi
|
3495 |
|
|
if test -n "$targ_64_big"; then
|
3496 |
|
|
|
3497 |
|
|
$as_echo "#define HAVE_TARGET_64_BIG 1" >>confdefs.h
|
3498 |
|
|
|
3499 |
|
|
fi
|
3500 |
|
|
|
3501 |
|
|
if test -n "$all_targets"; then
|
3502 |
|
|
TARGETOBJS='$(ALL_TARGETOBJS)'
|
3503 |
|
|
else
|
3504 |
|
|
TARGETOBJS="$targetobjs"
|
3505 |
|
|
fi
|
3506 |
|
|
|
3507 |
|
|
|
3508 |
|
|
|
3509 |
|
|
cat >>confdefs.h <<_ACEOF
|
3510 |
|
|
#define GOLD_DEFAULT_MACHINE $default_machine
|
3511 |
|
|
_ACEOF
|
3512 |
|
|
|
3513 |
|
|
|
3514 |
|
|
cat >>confdefs.h <<_ACEOF
|
3515 |
|
|
#define GOLD_DEFAULT_SIZE $default_size
|
3516 |
|
|
_ACEOF
|
3517 |
|
|
|
3518 |
|
|
|
3519 |
|
|
cat >>confdefs.h <<_ACEOF
|
3520 |
|
|
#define GOLD_DEFAULT_BIG_ENDIAN $default_big_endian
|
3521 |
|
|
_ACEOF
|
3522 |
|
|
|
3523 |
|
|
|
3524 |
|
|
cat >>confdefs.h <<_ACEOF
|
3525 |
|
|
#define GOLD_DEFAULT_OSABI $default_osabi
|
3526 |
|
|
_ACEOF
|
3527 |
|
|
|
3528 |
|
|
|
3529 |
|
|
ac_ext=c
|
3530 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
3531 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3532 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3533 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
3534 |
|
|
if test -n "$ac_tool_prefix"; then
|
3535 |
|
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
3536 |
|
|
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
3537 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3538 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3539 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then :
|
3540 |
|
|
$as_echo_n "(cached) " >&6
|
3541 |
|
|
else
|
3542 |
|
|
if test -n "$CC"; then
|
3543 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3544 |
|
|
else
|
3545 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3546 |
|
|
for as_dir in $PATH
|
3547 |
|
|
do
|
3548 |
|
|
IFS=$as_save_IFS
|
3549 |
|
|
test -z "$as_dir" && as_dir=.
|
3550 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3551 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3552 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
3553 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3554 |
|
|
break 2
|
3555 |
|
|
fi
|
3556 |
|
|
done
|
3557 |
|
|
done
|
3558 |
|
|
IFS=$as_save_IFS
|
3559 |
|
|
|
3560 |
|
|
fi
|
3561 |
|
|
fi
|
3562 |
|
|
CC=$ac_cv_prog_CC
|
3563 |
|
|
if test -n "$CC"; then
|
3564 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3565 |
|
|
$as_echo "$CC" >&6; }
|
3566 |
|
|
else
|
3567 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3568 |
|
|
$as_echo "no" >&6; }
|
3569 |
|
|
fi
|
3570 |
|
|
|
3571 |
|
|
|
3572 |
|
|
fi
|
3573 |
|
|
if test -z "$ac_cv_prog_CC"; then
|
3574 |
|
|
ac_ct_CC=$CC
|
3575 |
|
|
# Extract the first word of "gcc", so it can be a program name with args.
|
3576 |
|
|
set dummy gcc; ac_word=$2
|
3577 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3578 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3579 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3580 |
|
|
$as_echo_n "(cached) " >&6
|
3581 |
|
|
else
|
3582 |
|
|
if test -n "$ac_ct_CC"; then
|
3583 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3584 |
|
|
else
|
3585 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3586 |
|
|
for as_dir in $PATH
|
3587 |
|
|
do
|
3588 |
|
|
IFS=$as_save_IFS
|
3589 |
|
|
test -z "$as_dir" && as_dir=.
|
3590 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3591 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3592 |
|
|
ac_cv_prog_ac_ct_CC="gcc"
|
3593 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3594 |
|
|
break 2
|
3595 |
|
|
fi
|
3596 |
|
|
done
|
3597 |
|
|
done
|
3598 |
|
|
IFS=$as_save_IFS
|
3599 |
|
|
|
3600 |
|
|
fi
|
3601 |
|
|
fi
|
3602 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3603 |
|
|
if test -n "$ac_ct_CC"; then
|
3604 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3605 |
|
|
$as_echo "$ac_ct_CC" >&6; }
|
3606 |
|
|
else
|
3607 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3608 |
|
|
$as_echo "no" >&6; }
|
3609 |
|
|
fi
|
3610 |
|
|
|
3611 |
|
|
if test "x$ac_ct_CC" = x; then
|
3612 |
|
|
CC=""
|
3613 |
|
|
else
|
3614 |
|
|
case $cross_compiling:$ac_tool_warned in
|
3615 |
|
|
yes:)
|
3616 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3617 |
|
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3618 |
|
|
ac_tool_warned=yes ;;
|
3619 |
|
|
esac
|
3620 |
|
|
CC=$ac_ct_CC
|
3621 |
|
|
fi
|
3622 |
|
|
else
|
3623 |
|
|
CC="$ac_cv_prog_CC"
|
3624 |
|
|
fi
|
3625 |
|
|
|
3626 |
|
|
if test -z "$CC"; then
|
3627 |
|
|
if test -n "$ac_tool_prefix"; then
|
3628 |
|
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
3629 |
|
|
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
3630 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3631 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3632 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then :
|
3633 |
|
|
$as_echo_n "(cached) " >&6
|
3634 |
|
|
else
|
3635 |
|
|
if test -n "$CC"; then
|
3636 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3637 |
|
|
else
|
3638 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3639 |
|
|
for as_dir in $PATH
|
3640 |
|
|
do
|
3641 |
|
|
IFS=$as_save_IFS
|
3642 |
|
|
test -z "$as_dir" && as_dir=.
|
3643 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3644 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3645 |
|
|
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
3646 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3647 |
|
|
break 2
|
3648 |
|
|
fi
|
3649 |
|
|
done
|
3650 |
|
|
done
|
3651 |
|
|
IFS=$as_save_IFS
|
3652 |
|
|
|
3653 |
|
|
fi
|
3654 |
|
|
fi
|
3655 |
|
|
CC=$ac_cv_prog_CC
|
3656 |
|
|
if test -n "$CC"; then
|
3657 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3658 |
|
|
$as_echo "$CC" >&6; }
|
3659 |
|
|
else
|
3660 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3661 |
|
|
$as_echo "no" >&6; }
|
3662 |
|
|
fi
|
3663 |
|
|
|
3664 |
|
|
|
3665 |
|
|
fi
|
3666 |
|
|
fi
|
3667 |
|
|
if test -z "$CC"; then
|
3668 |
|
|
# Extract the first word of "cc", so it can be a program name with args.
|
3669 |
|
|
set dummy cc; ac_word=$2
|
3670 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3671 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3672 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then :
|
3673 |
|
|
$as_echo_n "(cached) " >&6
|
3674 |
|
|
else
|
3675 |
|
|
if test -n "$CC"; then
|
3676 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3677 |
|
|
else
|
3678 |
|
|
ac_prog_rejected=no
|
3679 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3680 |
|
|
for as_dir in $PATH
|
3681 |
|
|
do
|
3682 |
|
|
IFS=$as_save_IFS
|
3683 |
|
|
test -z "$as_dir" && as_dir=.
|
3684 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3685 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3686 |
|
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
3687 |
|
|
ac_prog_rejected=yes
|
3688 |
|
|
continue
|
3689 |
|
|
fi
|
3690 |
|
|
ac_cv_prog_CC="cc"
|
3691 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3692 |
|
|
break 2
|
3693 |
|
|
fi
|
3694 |
|
|
done
|
3695 |
|
|
done
|
3696 |
|
|
IFS=$as_save_IFS
|
3697 |
|
|
|
3698 |
|
|
if test $ac_prog_rejected = yes; then
|
3699 |
|
|
# We found a bogon in the path, so make sure we never use it.
|
3700 |
|
|
set dummy $ac_cv_prog_CC
|
3701 |
|
|
shift
|
3702 |
|
|
if test $# != 0; then
|
3703 |
|
|
# We chose a different compiler from the bogus one.
|
3704 |
|
|
# However, it has the same basename, so the bogon will be chosen
|
3705 |
|
|
# first if we set CC to just the basename; use the full file name.
|
3706 |
|
|
shift
|
3707 |
|
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
|
3708 |
|
|
fi
|
3709 |
|
|
fi
|
3710 |
|
|
fi
|
3711 |
|
|
fi
|
3712 |
|
|
CC=$ac_cv_prog_CC
|
3713 |
|
|
if test -n "$CC"; then
|
3714 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3715 |
|
|
$as_echo "$CC" >&6; }
|
3716 |
|
|
else
|
3717 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3718 |
|
|
$as_echo "no" >&6; }
|
3719 |
|
|
fi
|
3720 |
|
|
|
3721 |
|
|
|
3722 |
|
|
fi
|
3723 |
|
|
if test -z "$CC"; then
|
3724 |
|
|
if test -n "$ac_tool_prefix"; then
|
3725 |
|
|
for ac_prog in cl.exe
|
3726 |
|
|
do
|
3727 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
3728 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
3729 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3730 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3731 |
|
|
if test "${ac_cv_prog_CC+set}" = set; then :
|
3732 |
|
|
$as_echo_n "(cached) " >&6
|
3733 |
|
|
else
|
3734 |
|
|
if test -n "$CC"; then
|
3735 |
|
|
ac_cv_prog_CC="$CC" # Let the user override the test.
|
3736 |
|
|
else
|
3737 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3738 |
|
|
for as_dir in $PATH
|
3739 |
|
|
do
|
3740 |
|
|
IFS=$as_save_IFS
|
3741 |
|
|
test -z "$as_dir" && as_dir=.
|
3742 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3743 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3744 |
|
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
3745 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3746 |
|
|
break 2
|
3747 |
|
|
fi
|
3748 |
|
|
done
|
3749 |
|
|
done
|
3750 |
|
|
IFS=$as_save_IFS
|
3751 |
|
|
|
3752 |
|
|
fi
|
3753 |
|
|
fi
|
3754 |
|
|
CC=$ac_cv_prog_CC
|
3755 |
|
|
if test -n "$CC"; then
|
3756 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
3757 |
|
|
$as_echo "$CC" >&6; }
|
3758 |
|
|
else
|
3759 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3760 |
|
|
$as_echo "no" >&6; }
|
3761 |
|
|
fi
|
3762 |
|
|
|
3763 |
|
|
|
3764 |
|
|
test -n "$CC" && break
|
3765 |
|
|
done
|
3766 |
|
|
fi
|
3767 |
|
|
if test -z "$CC"; then
|
3768 |
|
|
ac_ct_CC=$CC
|
3769 |
|
|
for ac_prog in cl.exe
|
3770 |
|
|
do
|
3771 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
3772 |
|
|
set dummy $ac_prog; ac_word=$2
|
3773 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
3774 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
3775 |
|
|
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
3776 |
|
|
$as_echo_n "(cached) " >&6
|
3777 |
|
|
else
|
3778 |
|
|
if test -n "$ac_ct_CC"; then
|
3779 |
|
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
3780 |
|
|
else
|
3781 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3782 |
|
|
for as_dir in $PATH
|
3783 |
|
|
do
|
3784 |
|
|
IFS=$as_save_IFS
|
3785 |
|
|
test -z "$as_dir" && as_dir=.
|
3786 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
3787 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
3788 |
|
|
ac_cv_prog_ac_ct_CC="$ac_prog"
|
3789 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
3790 |
|
|
break 2
|
3791 |
|
|
fi
|
3792 |
|
|
done
|
3793 |
|
|
done
|
3794 |
|
|
IFS=$as_save_IFS
|
3795 |
|
|
|
3796 |
|
|
fi
|
3797 |
|
|
fi
|
3798 |
|
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
3799 |
|
|
if test -n "$ac_ct_CC"; then
|
3800 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
3801 |
|
|
$as_echo "$ac_ct_CC" >&6; }
|
3802 |
|
|
else
|
3803 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
3804 |
|
|
$as_echo "no" >&6; }
|
3805 |
|
|
fi
|
3806 |
|
|
|
3807 |
|
|
|
3808 |
|
|
test -n "$ac_ct_CC" && break
|
3809 |
|
|
done
|
3810 |
|
|
|
3811 |
|
|
if test "x$ac_ct_CC" = x; then
|
3812 |
|
|
CC=""
|
3813 |
|
|
else
|
3814 |
|
|
case $cross_compiling:$ac_tool_warned in
|
3815 |
|
|
yes:)
|
3816 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
3817 |
|
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
3818 |
|
|
ac_tool_warned=yes ;;
|
3819 |
|
|
esac
|
3820 |
|
|
CC=$ac_ct_CC
|
3821 |
|
|
fi
|
3822 |
|
|
fi
|
3823 |
|
|
|
3824 |
|
|
fi
|
3825 |
|
|
|
3826 |
|
|
|
3827 |
|
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3828 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3829 |
|
|
as_fn_error "no acceptable C compiler found in \$PATH
|
3830 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
3831 |
|
|
|
3832 |
|
|
# Provide some information about the compiler.
|
3833 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
3834 |
|
|
set X $ac_compile
|
3835 |
|
|
ac_compiler=$2
|
3836 |
|
|
for ac_option in --version -v -V -qversion; do
|
3837 |
|
|
{ { ac_try="$ac_compiler $ac_option >&5"
|
3838 |
|
|
case "(($ac_try" in
|
3839 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3840 |
|
|
*) ac_try_echo=$ac_try;;
|
3841 |
|
|
esac
|
3842 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3843 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
3844 |
|
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
3845 |
|
|
ac_status=$?
|
3846 |
|
|
if test -s conftest.err; then
|
3847 |
|
|
sed '10a\
|
3848 |
|
|
... rest of stderr output deleted ...
|
3849 |
|
|
10q' conftest.err >conftest.er1
|
3850 |
|
|
cat conftest.er1 >&5
|
3851 |
|
|
rm -f conftest.er1 conftest.err
|
3852 |
|
|
fi
|
3853 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3854 |
|
|
test $ac_status = 0; }
|
3855 |
|
|
done
|
3856 |
|
|
|
3857 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3858 |
|
|
/* end confdefs.h. */
|
3859 |
|
|
|
3860 |
|
|
int
|
3861 |
|
|
main ()
|
3862 |
|
|
{
|
3863 |
|
|
|
3864 |
|
|
;
|
3865 |
|
|
return 0;
|
3866 |
|
|
}
|
3867 |
|
|
_ACEOF
|
3868 |
|
|
ac_clean_files_save=$ac_clean_files
|
3869 |
|
|
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
|
3870 |
|
|
# Try to create an executable without -o first, disregard a.out.
|
3871 |
|
|
# It will help us diagnose broken compilers, and finding out an intuition
|
3872 |
|
|
# of exeext.
|
3873 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
3874 |
|
|
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
3875 |
|
|
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
3876 |
|
|
|
3877 |
|
|
# The possible output files:
|
3878 |
|
|
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
3879 |
|
|
|
3880 |
|
|
ac_rmfiles=
|
3881 |
|
|
for ac_file in $ac_files
|
3882 |
|
|
do
|
3883 |
|
|
case $ac_file in
|
3884 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
3885 |
|
|
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
3886 |
|
|
esac
|
3887 |
|
|
done
|
3888 |
|
|
rm -f $ac_rmfiles
|
3889 |
|
|
|
3890 |
|
|
if { { ac_try="$ac_link_default"
|
3891 |
|
|
case "(($ac_try" in
|
3892 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3893 |
|
|
*) ac_try_echo=$ac_try;;
|
3894 |
|
|
esac
|
3895 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3896 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
3897 |
|
|
(eval "$ac_link_default") 2>&5
|
3898 |
|
|
ac_status=$?
|
3899 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3900 |
|
|
test $ac_status = 0; }; then :
|
3901 |
|
|
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
3902 |
|
|
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
3903 |
|
|
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
3904 |
|
|
# so that the user can short-circuit this test for compilers unknown to
|
3905 |
|
|
# Autoconf.
|
3906 |
|
|
for ac_file in $ac_files ''
|
3907 |
|
|
do
|
3908 |
|
|
test -f "$ac_file" || continue
|
3909 |
|
|
case $ac_file in
|
3910 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
3911 |
|
|
;;
|
3912 |
|
|
[ab].out )
|
3913 |
|
|
# We found the default executable, but exeext='' is most
|
3914 |
|
|
# certainly right.
|
3915 |
|
|
break;;
|
3916 |
|
|
*.* )
|
3917 |
|
|
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
3918 |
|
|
then :; else
|
3919 |
|
|
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
3920 |
|
|
fi
|
3921 |
|
|
# We set ac_cv_exeext here because the later test for it is not
|
3922 |
|
|
# safe: cross compilers may not add the suffix if given an `-o'
|
3923 |
|
|
# argument, so we may need to know it at that point already.
|
3924 |
|
|
# Even if this section looks crufty: it has the advantage of
|
3925 |
|
|
# actually working.
|
3926 |
|
|
break;;
|
3927 |
|
|
* )
|
3928 |
|
|
break;;
|
3929 |
|
|
esac
|
3930 |
|
|
done
|
3931 |
|
|
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
3932 |
|
|
|
3933 |
|
|
else
|
3934 |
|
|
ac_file=''
|
3935 |
|
|
fi
|
3936 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
3937 |
|
|
$as_echo "$ac_file" >&6; }
|
3938 |
|
|
if test -z "$ac_file"; then :
|
3939 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
3940 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
3941 |
|
|
|
3942 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3943 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3944 |
|
|
{ as_fn_set_status 77
|
3945 |
|
|
as_fn_error "C compiler cannot create executables
|
3946 |
|
|
See \`config.log' for more details." "$LINENO" 5; }; }
|
3947 |
|
|
fi
|
3948 |
|
|
ac_exeext=$ac_cv_exeext
|
3949 |
|
|
|
3950 |
|
|
# Check that the compiler produces executables we can run. If not, either
|
3951 |
|
|
# the compiler is broken, or we cross compile.
|
3952 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
3953 |
|
|
$as_echo_n "checking whether the C compiler works... " >&6; }
|
3954 |
|
|
# If not cross compiling, check that we can run a simple program.
|
3955 |
|
|
if test "$cross_compiling" != yes; then
|
3956 |
|
|
if { ac_try='./$ac_file'
|
3957 |
|
|
{ { case "(($ac_try" in
|
3958 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3959 |
|
|
*) ac_try_echo=$ac_try;;
|
3960 |
|
|
esac
|
3961 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
3962 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
3963 |
|
|
(eval "$ac_try") 2>&5
|
3964 |
|
|
ac_status=$?
|
3965 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
3966 |
|
|
test $ac_status = 0; }; }; then
|
3967 |
|
|
cross_compiling=no
|
3968 |
|
|
else
|
3969 |
|
|
if test "$cross_compiling" = maybe; then
|
3970 |
|
|
cross_compiling=yes
|
3971 |
|
|
else
|
3972 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
3973 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
3974 |
|
|
as_fn_error "cannot run C compiled programs.
|
3975 |
|
|
If you meant to cross compile, use \`--host'.
|
3976 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
3977 |
|
|
fi
|
3978 |
|
|
fi
|
3979 |
|
|
fi
|
3980 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
3981 |
|
|
$as_echo "yes" >&6; }
|
3982 |
|
|
|
3983 |
|
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
|
3984 |
|
|
ac_clean_files=$ac_clean_files_save
|
3985 |
|
|
# Check that the compiler produces executables we can run. If not, either
|
3986 |
|
|
# the compiler is broken, or we cross compile.
|
3987 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
3988 |
|
|
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
3989 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
3990 |
|
|
$as_echo "$cross_compiling" >&6; }
|
3991 |
|
|
|
3992 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
3993 |
|
|
$as_echo_n "checking for suffix of executables... " >&6; }
|
3994 |
|
|
if { { ac_try="$ac_link"
|
3995 |
|
|
case "(($ac_try" in
|
3996 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
3997 |
|
|
*) ac_try_echo=$ac_try;;
|
3998 |
|
|
esac
|
3999 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4000 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
4001 |
|
|
(eval "$ac_link") 2>&5
|
4002 |
|
|
ac_status=$?
|
4003 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4004 |
|
|
test $ac_status = 0; }; then :
|
4005 |
|
|
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
4006 |
|
|
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
4007 |
|
|
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
4008 |
|
|
# `rm'.
|
4009 |
|
|
for ac_file in conftest.exe conftest conftest.*; do
|
4010 |
|
|
test -f "$ac_file" || continue
|
4011 |
|
|
case $ac_file in
|
4012 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
4013 |
|
|
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
4014 |
|
|
break;;
|
4015 |
|
|
* ) break;;
|
4016 |
|
|
esac
|
4017 |
|
|
done
|
4018 |
|
|
else
|
4019 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4020 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4021 |
|
|
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
4022 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
4023 |
|
|
fi
|
4024 |
|
|
rm -f conftest$ac_cv_exeext
|
4025 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
4026 |
|
|
$as_echo "$ac_cv_exeext" >&6; }
|
4027 |
|
|
|
4028 |
|
|
rm -f conftest.$ac_ext
|
4029 |
|
|
EXEEXT=$ac_cv_exeext
|
4030 |
|
|
ac_exeext=$EXEEXT
|
4031 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
4032 |
|
|
$as_echo_n "checking for suffix of object files... " >&6; }
|
4033 |
|
|
if test "${ac_cv_objext+set}" = set; then :
|
4034 |
|
|
$as_echo_n "(cached) " >&6
|
4035 |
|
|
else
|
4036 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4037 |
|
|
/* end confdefs.h. */
|
4038 |
|
|
|
4039 |
|
|
int
|
4040 |
|
|
main ()
|
4041 |
|
|
{
|
4042 |
|
|
|
4043 |
|
|
;
|
4044 |
|
|
return 0;
|
4045 |
|
|
}
|
4046 |
|
|
_ACEOF
|
4047 |
|
|
rm -f conftest.o conftest.obj
|
4048 |
|
|
if { { ac_try="$ac_compile"
|
4049 |
|
|
case "(($ac_try" in
|
4050 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4051 |
|
|
*) ac_try_echo=$ac_try;;
|
4052 |
|
|
esac
|
4053 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4054 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
4055 |
|
|
(eval "$ac_compile") 2>&5
|
4056 |
|
|
ac_status=$?
|
4057 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4058 |
|
|
test $ac_status = 0; }; then :
|
4059 |
|
|
for ac_file in conftest.o conftest.obj conftest.*; do
|
4060 |
|
|
test -f "$ac_file" || continue;
|
4061 |
|
|
case $ac_file in
|
4062 |
|
|
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
4063 |
|
|
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
4064 |
|
|
break;;
|
4065 |
|
|
esac
|
4066 |
|
|
done
|
4067 |
|
|
else
|
4068 |
|
|
$as_echo "$as_me: failed program was:" >&5
|
4069 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5
|
4070 |
|
|
|
4071 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
4072 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
4073 |
|
|
as_fn_error "cannot compute suffix of object files: cannot compile
|
4074 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
4075 |
|
|
fi
|
4076 |
|
|
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
4077 |
|
|
fi
|
4078 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
4079 |
|
|
$as_echo "$ac_cv_objext" >&6; }
|
4080 |
|
|
OBJEXT=$ac_cv_objext
|
4081 |
|
|
ac_objext=$OBJEXT
|
4082 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
4083 |
|
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
4084 |
|
|
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
4085 |
|
|
$as_echo_n "(cached) " >&6
|
4086 |
|
|
else
|
4087 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4088 |
|
|
/* end confdefs.h. */
|
4089 |
|
|
|
4090 |
|
|
int
|
4091 |
|
|
main ()
|
4092 |
|
|
{
|
4093 |
|
|
#ifndef __GNUC__
|
4094 |
|
|
choke me
|
4095 |
|
|
#endif
|
4096 |
|
|
|
4097 |
|
|
;
|
4098 |
|
|
return 0;
|
4099 |
|
|
}
|
4100 |
|
|
_ACEOF
|
4101 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
4102 |
|
|
ac_compiler_gnu=yes
|
4103 |
|
|
else
|
4104 |
|
|
ac_compiler_gnu=no
|
4105 |
|
|
fi
|
4106 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4107 |
|
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
4108 |
|
|
|
4109 |
|
|
fi
|
4110 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
4111 |
|
|
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
4112 |
|
|
if test $ac_compiler_gnu = yes; then
|
4113 |
|
|
GCC=yes
|
4114 |
|
|
else
|
4115 |
|
|
GCC=
|
4116 |
|
|
fi
|
4117 |
|
|
ac_test_CFLAGS=${CFLAGS+set}
|
4118 |
|
|
ac_save_CFLAGS=$CFLAGS
|
4119 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
4120 |
|
|
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
4121 |
|
|
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
4122 |
|
|
$as_echo_n "(cached) " >&6
|
4123 |
|
|
else
|
4124 |
|
|
ac_save_c_werror_flag=$ac_c_werror_flag
|
4125 |
|
|
ac_c_werror_flag=yes
|
4126 |
|
|
ac_cv_prog_cc_g=no
|
4127 |
|
|
CFLAGS="-g"
|
4128 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4129 |
|
|
/* end confdefs.h. */
|
4130 |
|
|
|
4131 |
|
|
int
|
4132 |
|
|
main ()
|
4133 |
|
|
{
|
4134 |
|
|
|
4135 |
|
|
;
|
4136 |
|
|
return 0;
|
4137 |
|
|
}
|
4138 |
|
|
_ACEOF
|
4139 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
4140 |
|
|
ac_cv_prog_cc_g=yes
|
4141 |
|
|
else
|
4142 |
|
|
CFLAGS=""
|
4143 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4144 |
|
|
/* end confdefs.h. */
|
4145 |
|
|
|
4146 |
|
|
int
|
4147 |
|
|
main ()
|
4148 |
|
|
{
|
4149 |
|
|
|
4150 |
|
|
;
|
4151 |
|
|
return 0;
|
4152 |
|
|
}
|
4153 |
|
|
_ACEOF
|
4154 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
4155 |
|
|
|
4156 |
|
|
else
|
4157 |
|
|
ac_c_werror_flag=$ac_save_c_werror_flag
|
4158 |
|
|
CFLAGS="-g"
|
4159 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4160 |
|
|
/* end confdefs.h. */
|
4161 |
|
|
|
4162 |
|
|
int
|
4163 |
|
|
main ()
|
4164 |
|
|
{
|
4165 |
|
|
|
4166 |
|
|
;
|
4167 |
|
|
return 0;
|
4168 |
|
|
}
|
4169 |
|
|
_ACEOF
|
4170 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
4171 |
|
|
ac_cv_prog_cc_g=yes
|
4172 |
|
|
fi
|
4173 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4174 |
|
|
fi
|
4175 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4176 |
|
|
fi
|
4177 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4178 |
|
|
ac_c_werror_flag=$ac_save_c_werror_flag
|
4179 |
|
|
fi
|
4180 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
4181 |
|
|
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
4182 |
|
|
if test "$ac_test_CFLAGS" = set; then
|
4183 |
|
|
CFLAGS=$ac_save_CFLAGS
|
4184 |
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
4185 |
|
|
if test "$GCC" = yes; then
|
4186 |
|
|
CFLAGS="-g -O2"
|
4187 |
|
|
else
|
4188 |
|
|
CFLAGS="-g"
|
4189 |
|
|
fi
|
4190 |
|
|
else
|
4191 |
|
|
if test "$GCC" = yes; then
|
4192 |
|
|
CFLAGS="-O2"
|
4193 |
|
|
else
|
4194 |
|
|
CFLAGS=
|
4195 |
|
|
fi
|
4196 |
|
|
fi
|
4197 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
4198 |
|
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
4199 |
|
|
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
4200 |
|
|
$as_echo_n "(cached) " >&6
|
4201 |
|
|
else
|
4202 |
|
|
ac_cv_prog_cc_c89=no
|
4203 |
|
|
ac_save_CC=$CC
|
4204 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4205 |
|
|
/* end confdefs.h. */
|
4206 |
|
|
#include
|
4207 |
|
|
#include
|
4208 |
|
|
#include
|
4209 |
|
|
#include
|
4210 |
|
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
|
4211 |
|
|
struct buf { int x; };
|
4212 |
|
|
FILE * (*rcsopen) (struct buf *, struct stat *, int);
|
4213 |
|
|
static char *e (p, i)
|
4214 |
|
|
char **p;
|
4215 |
|
|
int i;
|
4216 |
|
|
{
|
4217 |
|
|
return p[i];
|
4218 |
|
|
}
|
4219 |
|
|
static char *f (char * (*g) (char **, int), char **p, ...)
|
4220 |
|
|
{
|
4221 |
|
|
char *s;
|
4222 |
|
|
va_list v;
|
4223 |
|
|
va_start (v,p);
|
4224 |
|
|
s = g (p, va_arg (v,int));
|
4225 |
|
|
va_end (v);
|
4226 |
|
|
return s;
|
4227 |
|
|
}
|
4228 |
|
|
|
4229 |
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
4230 |
|
|
function prototypes and stuff, but not '\xHH' hex character constants.
|
4231 |
|
|
These don't provoke an error unfortunately, instead are silently treated
|
4232 |
|
|
as 'x'. The following induces an error, until -std is added to get
|
4233 |
|
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
4234 |
|
|
array size at least. It's necessary to write '\x00'==0 to get something
|
4235 |
|
|
that's true only with -std. */
|
4236 |
|
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
4237 |
|
|
|
4238 |
|
|
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
4239 |
|
|
inside strings and character constants. */
|
4240 |
|
|
#define FOO(x) 'x'
|
4241 |
|
|
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
4242 |
|
|
|
4243 |
|
|
int test (int i, double x);
|
4244 |
|
|
struct s1 {int (*f) (int a);};
|
4245 |
|
|
struct s2 {int (*f) (double a);};
|
4246 |
|
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
|
4247 |
|
|
int argc;
|
4248 |
|
|
char **argv;
|
4249 |
|
|
int
|
4250 |
|
|
main ()
|
4251 |
|
|
{
|
4252 |
|
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
|
4253 |
|
|
;
|
4254 |
|
|
return 0;
|
4255 |
|
|
}
|
4256 |
|
|
_ACEOF
|
4257 |
|
|
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
4258 |
|
|
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
4259 |
|
|
do
|
4260 |
|
|
CC="$ac_save_CC $ac_arg"
|
4261 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
4262 |
|
|
ac_cv_prog_cc_c89=$ac_arg
|
4263 |
|
|
fi
|
4264 |
|
|
rm -f core conftest.err conftest.$ac_objext
|
4265 |
|
|
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
4266 |
|
|
done
|
4267 |
|
|
rm -f conftest.$ac_ext
|
4268 |
|
|
CC=$ac_save_CC
|
4269 |
|
|
|
4270 |
|
|
fi
|
4271 |
|
|
# AC_CACHE_VAL
|
4272 |
|
|
case "x$ac_cv_prog_cc_c89" in
|
4273 |
|
|
x)
|
4274 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
4275 |
|
|
$as_echo "none needed" >&6; } ;;
|
4276 |
|
|
xno)
|
4277 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
4278 |
|
|
$as_echo "unsupported" >&6; } ;;
|
4279 |
|
|
*)
|
4280 |
|
|
CC="$CC $ac_cv_prog_cc_c89"
|
4281 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
4282 |
|
|
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
4283 |
|
|
esac
|
4284 |
|
|
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
4285 |
|
|
|
4286 |
|
|
fi
|
4287 |
|
|
|
4288 |
|
|
ac_ext=c
|
4289 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
4290 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4291 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4292 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4293 |
|
|
DEPDIR="${am__leading_dot}deps"
|
4294 |
|
|
|
4295 |
|
|
ac_config_commands="$ac_config_commands depfiles"
|
4296 |
|
|
|
4297 |
|
|
|
4298 |
|
|
am_make=${MAKE-make}
|
4299 |
|
|
cat > confinc << 'END'
|
4300 |
|
|
am__doit:
|
4301 |
|
|
@echo this is the am__doit target
|
4302 |
|
|
.PHONY: am__doit
|
4303 |
|
|
END
|
4304 |
|
|
# If we don't find an include directive, just comment out the code.
|
4305 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
4306 |
|
|
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
4307 |
|
|
am__include="#"
|
4308 |
|
|
am__quote=
|
4309 |
|
|
_am_result=none
|
4310 |
|
|
# First try GNU make style include.
|
4311 |
|
|
echo "include confinc" > confmf
|
4312 |
|
|
# Ignore all kinds of additional output from `make'.
|
4313 |
|
|
case `$am_make -s -f confmf 2> /dev/null` in #(
|
4314 |
|
|
*the\ am__doit\ target*)
|
4315 |
|
|
am__include=include
|
4316 |
|
|
am__quote=
|
4317 |
|
|
_am_result=GNU
|
4318 |
|
|
;;
|
4319 |
|
|
esac
|
4320 |
|
|
# Now try BSD make style include.
|
4321 |
|
|
if test "$am__include" = "#"; then
|
4322 |
|
|
echo '.include "confinc"' > confmf
|
4323 |
|
|
case `$am_make -s -f confmf 2> /dev/null` in #(
|
4324 |
|
|
*the\ am__doit\ target*)
|
4325 |
|
|
am__include=.include
|
4326 |
|
|
am__quote="\""
|
4327 |
|
|
_am_result=BSD
|
4328 |
|
|
;;
|
4329 |
|
|
esac
|
4330 |
|
|
fi
|
4331 |
|
|
|
4332 |
|
|
|
4333 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
4334 |
|
|
$as_echo "$_am_result" >&6; }
|
4335 |
|
|
rm -f confinc confmf
|
4336 |
|
|
|
4337 |
|
|
# Check whether --enable-dependency-tracking was given.
|
4338 |
|
|
if test "${enable_dependency_tracking+set}" = set; then :
|
4339 |
|
|
enableval=$enable_dependency_tracking;
|
4340 |
|
|
fi
|
4341 |
|
|
|
4342 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
4343 |
|
|
am_depcomp="$ac_aux_dir/depcomp"
|
4344 |
|
|
AMDEPBACKSLASH='\'
|
4345 |
|
|
fi
|
4346 |
|
|
if test "x$enable_dependency_tracking" != xno; then
|
4347 |
|
|
AMDEP_TRUE=
|
4348 |
|
|
AMDEP_FALSE='#'
|
4349 |
|
|
else
|
4350 |
|
|
AMDEP_TRUE='#'
|
4351 |
|
|
AMDEP_FALSE=
|
4352 |
|
|
fi
|
4353 |
|
|
|
4354 |
|
|
|
4355 |
|
|
|
4356 |
|
|
depcc="$CC" am_compiler_list=
|
4357 |
|
|
|
4358 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4359 |
|
|
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4360 |
|
|
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
4361 |
|
|
$as_echo_n "(cached) " >&6
|
4362 |
|
|
else
|
4363 |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4364 |
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
4365 |
|
|
# making bogus files that we don't know about and never remove. For
|
4366 |
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
4367 |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
4368 |
|
|
# in D'.
|
4369 |
|
|
mkdir conftest.dir
|
4370 |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
4371 |
|
|
# using a relative directory.
|
4372 |
|
|
cp "$am_depcomp" conftest.dir
|
4373 |
|
|
cd conftest.dir
|
4374 |
|
|
# We will build objects and dependencies in a subdirectory because
|
4375 |
|
|
# it helps to detect inapplicable dependency modes. For instance
|
4376 |
|
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
4377 |
|
|
# side effect of compilation, but ICC will put the dependencies in
|
4378 |
|
|
# the current directory while Tru64 will put them in the object
|
4379 |
|
|
# directory.
|
4380 |
|
|
mkdir sub
|
4381 |
|
|
|
4382 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
4383 |
|
|
if test "$am_compiler_list" = ""; then
|
4384 |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
4385 |
|
|
fi
|
4386 |
|
|
am__universal=false
|
4387 |
|
|
case " $depcc " in #(
|
4388 |
|
|
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
4389 |
|
|
esac
|
4390 |
|
|
|
4391 |
|
|
for depmode in $am_compiler_list; do
|
4392 |
|
|
# Setup a source with many dependencies, because some compilers
|
4393 |
|
|
# like to wrap large dependency lists on column 80 (with \), and
|
4394 |
|
|
# we should not choose a depcomp mode which is confused by this.
|
4395 |
|
|
#
|
4396 |
|
|
# We need to recreate these files for each test, as the compiler may
|
4397 |
|
|
# overwrite some of them when testing with obscure command lines.
|
4398 |
|
|
# This happens at least with the AIX C compiler.
|
4399 |
|
|
: > sub/conftest.c
|
4400 |
|
|
for i in 1 2 3 4 5 6; do
|
4401 |
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
4402 |
|
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
4403 |
|
|
# Solaris 8's {/usr,}/bin/sh.
|
4404 |
|
|
touch sub/conftst$i.h
|
4405 |
|
|
done
|
4406 |
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
4407 |
|
|
|
4408 |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
4409 |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
4410 |
|
|
# handle `-M -o', and we need to detect this. Also, some Intel
|
4411 |
|
|
# versions had trouble with output in subdirs
|
4412 |
|
|
am__obj=sub/conftest.${OBJEXT-o}
|
4413 |
|
|
am__minus_obj="-o $am__obj"
|
4414 |
|
|
case $depmode in
|
4415 |
|
|
gcc)
|
4416 |
|
|
# This depmode causes a compiler race in universal mode.
|
4417 |
|
|
test "$am__universal" = false || continue
|
4418 |
|
|
;;
|
4419 |
|
|
nosideeffect)
|
4420 |
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
4421 |
|
|
# only be used when explicitly requested
|
4422 |
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
4423 |
|
|
continue
|
4424 |
|
|
else
|
4425 |
|
|
break
|
4426 |
|
|
fi
|
4427 |
|
|
;;
|
4428 |
|
|
msvisualcpp | msvcmsys)
|
4429 |
|
|
# This compiler won't grok `-c -o', but also, the minuso test has
|
4430 |
|
|
# not run yet. These depmodes are late enough in the game, and
|
4431 |
|
|
# so weak that their functioning should not be impacted.
|
4432 |
|
|
am__obj=conftest.${OBJEXT-o}
|
4433 |
|
|
am__minus_obj=
|
4434 |
|
|
;;
|
4435 |
|
|
none) break ;;
|
4436 |
|
|
esac
|
4437 |
|
|
if depmode=$depmode \
|
4438 |
|
|
source=sub/conftest.c object=$am__obj \
|
4439 |
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
4440 |
|
|
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
4441 |
|
|
>/dev/null 2>conftest.err &&
|
4442 |
|
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
4443 |
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
4444 |
|
|
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
4445 |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
4446 |
|
|
# icc doesn't choke on unknown options, it will just issue warnings
|
4447 |
|
|
# or remarks (even with -Werror). So we grep stderr for any message
|
4448 |
|
|
# that says an option was ignored or not supported.
|
4449 |
|
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
4450 |
|
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
4451 |
|
|
# The diagnosis changed in icc 8.0:
|
4452 |
|
|
# icc: Command line remark: option '-MP' not supported
|
4453 |
|
|
if (grep 'ignoring option' conftest.err ||
|
4454 |
|
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
4455 |
|
|
am_cv_CC_dependencies_compiler_type=$depmode
|
4456 |
|
|
break
|
4457 |
|
|
fi
|
4458 |
|
|
fi
|
4459 |
|
|
done
|
4460 |
|
|
|
4461 |
|
|
cd ..
|
4462 |
|
|
rm -rf conftest.dir
|
4463 |
|
|
else
|
4464 |
|
|
am_cv_CC_dependencies_compiler_type=none
|
4465 |
|
|
fi
|
4466 |
|
|
|
4467 |
|
|
fi
|
4468 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
4469 |
|
|
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
4470 |
|
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
4471 |
|
|
|
4472 |
|
|
if
|
4473 |
|
|
test "x$enable_dependency_tracking" != xno \
|
4474 |
|
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
4475 |
|
|
am__fastdepCC_TRUE=
|
4476 |
|
|
am__fastdepCC_FALSE='#'
|
4477 |
|
|
else
|
4478 |
|
|
am__fastdepCC_TRUE='#'
|
4479 |
|
|
am__fastdepCC_FALSE=
|
4480 |
|
|
fi
|
4481 |
|
|
|
4482 |
|
|
|
4483 |
|
|
ac_ext=cpp
|
4484 |
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
4485 |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4486 |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4487 |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
4488 |
|
|
if test -z "$CXX"; then
|
4489 |
|
|
if test -n "$CCC"; then
|
4490 |
|
|
CXX=$CCC
|
4491 |
|
|
else
|
4492 |
|
|
if test -n "$ac_tool_prefix"; then
|
4493 |
|
|
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
4494 |
|
|
do
|
4495 |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
4496 |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
4497 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4498 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
4499 |
|
|
if test "${ac_cv_prog_CXX+set}" = set; then :
|
4500 |
|
|
$as_echo_n "(cached) " >&6
|
4501 |
|
|
else
|
4502 |
|
|
if test -n "$CXX"; then
|
4503 |
|
|
ac_cv_prog_CXX="$CXX" # Let the user override the test.
|
4504 |
|
|
else
|
4505 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4506 |
|
|
for as_dir in $PATH
|
4507 |
|
|
do
|
4508 |
|
|
IFS=$as_save_IFS
|
4509 |
|
|
test -z "$as_dir" && as_dir=.
|
4510 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4511 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4512 |
|
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
|
4513 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4514 |
|
|
break 2
|
4515 |
|
|
fi
|
4516 |
|
|
done
|
4517 |
|
|
done
|
4518 |
|
|
IFS=$as_save_IFS
|
4519 |
|
|
|
4520 |
|
|
fi
|
4521 |
|
|
fi
|
4522 |
|
|
CXX=$ac_cv_prog_CXX
|
4523 |
|
|
if test -n "$CXX"; then
|
4524 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
|
4525 |
|
|
$as_echo "$CXX" >&6; }
|
4526 |
|
|
else
|
4527 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4528 |
|
|
$as_echo "no" >&6; }
|
4529 |
|
|
fi
|
4530 |
|
|
|
4531 |
|
|
|
4532 |
|
|
test -n "$CXX" && break
|
4533 |
|
|
done
|
4534 |
|
|
fi
|
4535 |
|
|
if test -z "$CXX"; then
|
4536 |
|
|
ac_ct_CXX=$CXX
|
4537 |
|
|
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
|
4538 |
|
|
do
|
4539 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4540 |
|
|
set dummy $ac_prog; ac_word=$2
|
4541 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4542 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
4543 |
|
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
|
4544 |
|
|
$as_echo_n "(cached) " >&6
|
4545 |
|
|
else
|
4546 |
|
|
if test -n "$ac_ct_CXX"; then
|
4547 |
|
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
|
4548 |
|
|
else
|
4549 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4550 |
|
|
for as_dir in $PATH
|
4551 |
|
|
do
|
4552 |
|
|
IFS=$as_save_IFS
|
4553 |
|
|
test -z "$as_dir" && as_dir=.
|
4554 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4555 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4556 |
|
|
ac_cv_prog_ac_ct_CXX="$ac_prog"
|
4557 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4558 |
|
|
break 2
|
4559 |
|
|
fi
|
4560 |
|
|
done
|
4561 |
|
|
done
|
4562 |
|
|
IFS=$as_save_IFS
|
4563 |
|
|
|
4564 |
|
|
fi
|
4565 |
|
|
fi
|
4566 |
|
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
|
4567 |
|
|
if test -n "$ac_ct_CXX"; then
|
4568 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
|
4569 |
|
|
$as_echo "$ac_ct_CXX" >&6; }
|
4570 |
|
|
else
|
4571 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4572 |
|
|
$as_echo "no" >&6; }
|
4573 |
|
|
fi
|
4574 |
|
|
|
4575 |
|
|
|
4576 |
|
|
test -n "$ac_ct_CXX" && break
|
4577 |
|
|
done
|
4578 |
|
|
|
4579 |
|
|
if test "x$ac_ct_CXX" = x; then
|
4580 |
|
|
CXX="g++"
|
4581 |
|
|
else
|
4582 |
|
|
case $cross_compiling:$ac_tool_warned in
|
4583 |
|
|
yes:)
|
4584 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4585 |
|
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4586 |
|
|
ac_tool_warned=yes ;;
|
4587 |
|
|
esac
|
4588 |
|
|
CXX=$ac_ct_CXX
|
4589 |
|
|
fi
|
4590 |
|
|
fi
|
4591 |
|
|
|
4592 |
|
|
fi
|
4593 |
|
|
fi
|
4594 |
|
|
# Provide some information about the compiler.
|
4595 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
|
4596 |
|
|
set X $ac_compile
|
4597 |
|
|
ac_compiler=$2
|
4598 |
|
|
for ac_option in --version -v -V -qversion; do
|
4599 |
|
|
{ { ac_try="$ac_compiler $ac_option >&5"
|
4600 |
|
|
case "(($ac_try" in
|
4601 |
|
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
4602 |
|
|
*) ac_try_echo=$ac_try;;
|
4603 |
|
|
esac
|
4604 |
|
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
4605 |
|
|
$as_echo "$ac_try_echo"; } >&5
|
4606 |
|
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
4607 |
|
|
ac_status=$?
|
4608 |
|
|
if test -s conftest.err; then
|
4609 |
|
|
sed '10a\
|
4610 |
|
|
... rest of stderr output deleted ...
|
4611 |
|
|
10q' conftest.err >conftest.er1
|
4612 |
|
|
cat conftest.er1 >&5
|
4613 |
|
|
rm -f conftest.er1 conftest.err
|
4614 |
|
|
fi
|
4615 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
4616 |
|
|
test $ac_status = 0; }
|
4617 |
|
|
done
|
4618 |
|
|
|
4619 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
|
4620 |
|
|
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
|
4621 |
|
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
|
4622 |
|
|
$as_echo_n "(cached) " >&6
|
4623 |
|
|
else
|
4624 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4625 |
|
|
/* end confdefs.h. */
|
4626 |
|
|
|
4627 |
|
|
int
|
4628 |
|
|
main ()
|
4629 |
|
|
{
|
4630 |
|
|
#ifndef __GNUC__
|
4631 |
|
|
choke me
|
4632 |
|
|
#endif
|
4633 |
|
|
|
4634 |
|
|
;
|
4635 |
|
|
return 0;
|
4636 |
|
|
}
|
4637 |
|
|
_ACEOF
|
4638 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4639 |
|
|
ac_compiler_gnu=yes
|
4640 |
|
|
else
|
4641 |
|
|
ac_compiler_gnu=no
|
4642 |
|
|
fi
|
4643 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4644 |
|
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
|
4645 |
|
|
|
4646 |
|
|
fi
|
4647 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
|
4648 |
|
|
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
|
4649 |
|
|
if test $ac_compiler_gnu = yes; then
|
4650 |
|
|
GXX=yes
|
4651 |
|
|
else
|
4652 |
|
|
GXX=
|
4653 |
|
|
fi
|
4654 |
|
|
ac_test_CXXFLAGS=${CXXFLAGS+set}
|
4655 |
|
|
ac_save_CXXFLAGS=$CXXFLAGS
|
4656 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
|
4657 |
|
|
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
|
4658 |
|
|
if test "${ac_cv_prog_cxx_g+set}" = set; then :
|
4659 |
|
|
$as_echo_n "(cached) " >&6
|
4660 |
|
|
else
|
4661 |
|
|
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
|
4662 |
|
|
ac_cxx_werror_flag=yes
|
4663 |
|
|
ac_cv_prog_cxx_g=no
|
4664 |
|
|
CXXFLAGS="-g"
|
4665 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4666 |
|
|
/* end confdefs.h. */
|
4667 |
|
|
|
4668 |
|
|
int
|
4669 |
|
|
main ()
|
4670 |
|
|
{
|
4671 |
|
|
|
4672 |
|
|
;
|
4673 |
|
|
return 0;
|
4674 |
|
|
}
|
4675 |
|
|
_ACEOF
|
4676 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4677 |
|
|
ac_cv_prog_cxx_g=yes
|
4678 |
|
|
else
|
4679 |
|
|
CXXFLAGS=""
|
4680 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4681 |
|
|
/* end confdefs.h. */
|
4682 |
|
|
|
4683 |
|
|
int
|
4684 |
|
|
main ()
|
4685 |
|
|
{
|
4686 |
|
|
|
4687 |
|
|
;
|
4688 |
|
|
return 0;
|
4689 |
|
|
}
|
4690 |
|
|
_ACEOF
|
4691 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4692 |
|
|
|
4693 |
|
|
else
|
4694 |
|
|
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
4695 |
|
|
CXXFLAGS="-g"
|
4696 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4697 |
|
|
/* end confdefs.h. */
|
4698 |
|
|
|
4699 |
|
|
int
|
4700 |
|
|
main ()
|
4701 |
|
|
{
|
4702 |
|
|
|
4703 |
|
|
;
|
4704 |
|
|
return 0;
|
4705 |
|
|
}
|
4706 |
|
|
_ACEOF
|
4707 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
4708 |
|
|
ac_cv_prog_cxx_g=yes
|
4709 |
|
|
fi
|
4710 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4711 |
|
|
fi
|
4712 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4713 |
|
|
fi
|
4714 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
4715 |
|
|
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
|
4716 |
|
|
fi
|
4717 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
|
4718 |
|
|
$as_echo "$ac_cv_prog_cxx_g" >&6; }
|
4719 |
|
|
if test "$ac_test_CXXFLAGS" = set; then
|
4720 |
|
|
CXXFLAGS=$ac_save_CXXFLAGS
|
4721 |
|
|
elif test $ac_cv_prog_cxx_g = yes; then
|
4722 |
|
|
if test "$GXX" = yes; then
|
4723 |
|
|
CXXFLAGS="-g -O2"
|
4724 |
|
|
else
|
4725 |
|
|
CXXFLAGS="-g"
|
4726 |
|
|
fi
|
4727 |
|
|
else
|
4728 |
|
|
if test "$GXX" = yes; then
|
4729 |
|
|
CXXFLAGS="-O2"
|
4730 |
|
|
else
|
4731 |
|
|
CXXFLAGS=
|
4732 |
|
|
fi
|
4733 |
|
|
fi
|
4734 |
|
|
ac_ext=c
|
4735 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
4736 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
4737 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
4738 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
4739 |
|
|
|
4740 |
|
|
depcc="$CXX" am_compiler_list=
|
4741 |
|
|
|
4742 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
4743 |
|
|
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
4744 |
|
|
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
|
4745 |
|
|
$as_echo_n "(cached) " >&6
|
4746 |
|
|
else
|
4747 |
|
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
4748 |
|
|
# We make a subdir and do the tests there. Otherwise we can end up
|
4749 |
|
|
# making bogus files that we don't know about and never remove. For
|
4750 |
|
|
# instance it was reported that on HP-UX the gcc test will end up
|
4751 |
|
|
# making a dummy file named `D' -- because `-MD' means `put the output
|
4752 |
|
|
# in D'.
|
4753 |
|
|
mkdir conftest.dir
|
4754 |
|
|
# Copy depcomp to subdir because otherwise we won't find it if we're
|
4755 |
|
|
# using a relative directory.
|
4756 |
|
|
cp "$am_depcomp" conftest.dir
|
4757 |
|
|
cd conftest.dir
|
4758 |
|
|
# We will build objects and dependencies in a subdirectory because
|
4759 |
|
|
# it helps to detect inapplicable dependency modes. For instance
|
4760 |
|
|
# both Tru64's cc and ICC support -MD to output dependencies as a
|
4761 |
|
|
# side effect of compilation, but ICC will put the dependencies in
|
4762 |
|
|
# the current directory while Tru64 will put them in the object
|
4763 |
|
|
# directory.
|
4764 |
|
|
mkdir sub
|
4765 |
|
|
|
4766 |
|
|
am_cv_CXX_dependencies_compiler_type=none
|
4767 |
|
|
if test "$am_compiler_list" = ""; then
|
4768 |
|
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
4769 |
|
|
fi
|
4770 |
|
|
am__universal=false
|
4771 |
|
|
case " $depcc " in #(
|
4772 |
|
|
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
4773 |
|
|
esac
|
4774 |
|
|
|
4775 |
|
|
for depmode in $am_compiler_list; do
|
4776 |
|
|
# Setup a source with many dependencies, because some compilers
|
4777 |
|
|
# like to wrap large dependency lists on column 80 (with \), and
|
4778 |
|
|
# we should not choose a depcomp mode which is confused by this.
|
4779 |
|
|
#
|
4780 |
|
|
# We need to recreate these files for each test, as the compiler may
|
4781 |
|
|
# overwrite some of them when testing with obscure command lines.
|
4782 |
|
|
# This happens at least with the AIX C compiler.
|
4783 |
|
|
: > sub/conftest.c
|
4784 |
|
|
for i in 1 2 3 4 5 6; do
|
4785 |
|
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
4786 |
|
|
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
4787 |
|
|
# Solaris 8's {/usr,}/bin/sh.
|
4788 |
|
|
touch sub/conftst$i.h
|
4789 |
|
|
done
|
4790 |
|
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
4791 |
|
|
|
4792 |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
4793 |
|
|
# mode. It turns out that the SunPro C++ compiler does not properly
|
4794 |
|
|
# handle `-M -o', and we need to detect this. Also, some Intel
|
4795 |
|
|
# versions had trouble with output in subdirs
|
4796 |
|
|
am__obj=sub/conftest.${OBJEXT-o}
|
4797 |
|
|
am__minus_obj="-o $am__obj"
|
4798 |
|
|
case $depmode in
|
4799 |
|
|
gcc)
|
4800 |
|
|
# This depmode causes a compiler race in universal mode.
|
4801 |
|
|
test "$am__universal" = false || continue
|
4802 |
|
|
;;
|
4803 |
|
|
nosideeffect)
|
4804 |
|
|
# after this tag, mechanisms are not by side-effect, so they'll
|
4805 |
|
|
# only be used when explicitly requested
|
4806 |
|
|
if test "x$enable_dependency_tracking" = xyes; then
|
4807 |
|
|
continue
|
4808 |
|
|
else
|
4809 |
|
|
break
|
4810 |
|
|
fi
|
4811 |
|
|
;;
|
4812 |
|
|
msvisualcpp | msvcmsys)
|
4813 |
|
|
# This compiler won't grok `-c -o', but also, the minuso test has
|
4814 |
|
|
# not run yet. These depmodes are late enough in the game, and
|
4815 |
|
|
# so weak that their functioning should not be impacted.
|
4816 |
|
|
am__obj=conftest.${OBJEXT-o}
|
4817 |
|
|
am__minus_obj=
|
4818 |
|
|
;;
|
4819 |
|
|
none) break ;;
|
4820 |
|
|
esac
|
4821 |
|
|
if depmode=$depmode \
|
4822 |
|
|
source=sub/conftest.c object=$am__obj \
|
4823 |
|
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
4824 |
|
|
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
4825 |
|
|
>/dev/null 2>conftest.err &&
|
4826 |
|
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
4827 |
|
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
4828 |
|
|
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
4829 |
|
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
4830 |
|
|
# icc doesn't choke on unknown options, it will just issue warnings
|
4831 |
|
|
# or remarks (even with -Werror). So we grep stderr for any message
|
4832 |
|
|
# that says an option was ignored or not supported.
|
4833 |
|
|
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
4834 |
|
|
# icc: Command line warning: ignoring option '-M'; no argument required
|
4835 |
|
|
# The diagnosis changed in icc 8.0:
|
4836 |
|
|
# icc: Command line remark: option '-MP' not supported
|
4837 |
|
|
if (grep 'ignoring option' conftest.err ||
|
4838 |
|
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
4839 |
|
|
am_cv_CXX_dependencies_compiler_type=$depmode
|
4840 |
|
|
break
|
4841 |
|
|
fi
|
4842 |
|
|
fi
|
4843 |
|
|
done
|
4844 |
|
|
|
4845 |
|
|
cd ..
|
4846 |
|
|
rm -rf conftest.dir
|
4847 |
|
|
else
|
4848 |
|
|
am_cv_CXX_dependencies_compiler_type=none
|
4849 |
|
|
fi
|
4850 |
|
|
|
4851 |
|
|
fi
|
4852 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
|
4853 |
|
|
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
|
4854 |
|
|
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
|
4855 |
|
|
|
4856 |
|
|
if
|
4857 |
|
|
test "x$enable_dependency_tracking" != xno \
|
4858 |
|
|
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
|
4859 |
|
|
am__fastdepCXX_TRUE=
|
4860 |
|
|
am__fastdepCXX_FALSE='#'
|
4861 |
|
|
else
|
4862 |
|
|
am__fastdepCXX_TRUE='#'
|
4863 |
|
|
am__fastdepCXX_FALSE=
|
4864 |
|
|
fi
|
4865 |
|
|
|
4866 |
|
|
|
4867 |
|
|
for ac_prog in 'bison -y' byacc
|
4868 |
|
|
do
|
4869 |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
4870 |
|
|
set dummy $ac_prog; ac_word=$2
|
4871 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4872 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
4873 |
|
|
if test "${ac_cv_prog_YACC+set}" = set; then :
|
4874 |
|
|
$as_echo_n "(cached) " >&6
|
4875 |
|
|
else
|
4876 |
|
|
if test -n "$YACC"; then
|
4877 |
|
|
ac_cv_prog_YACC="$YACC" # Let the user override the test.
|
4878 |
|
|
else
|
4879 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4880 |
|
|
for as_dir in $PATH
|
4881 |
|
|
do
|
4882 |
|
|
IFS=$as_save_IFS
|
4883 |
|
|
test -z "$as_dir" && as_dir=.
|
4884 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4885 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4886 |
|
|
ac_cv_prog_YACC="$ac_prog"
|
4887 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4888 |
|
|
break 2
|
4889 |
|
|
fi
|
4890 |
|
|
done
|
4891 |
|
|
done
|
4892 |
|
|
IFS=$as_save_IFS
|
4893 |
|
|
|
4894 |
|
|
fi
|
4895 |
|
|
fi
|
4896 |
|
|
YACC=$ac_cv_prog_YACC
|
4897 |
|
|
if test -n "$YACC"; then
|
4898 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
|
4899 |
|
|
$as_echo "$YACC" >&6; }
|
4900 |
|
|
else
|
4901 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4902 |
|
|
$as_echo "no" >&6; }
|
4903 |
|
|
fi
|
4904 |
|
|
|
4905 |
|
|
|
4906 |
|
|
test -n "$YACC" && break
|
4907 |
|
|
done
|
4908 |
|
|
test -n "$YACC" || YACC="yacc"
|
4909 |
|
|
|
4910 |
|
|
if test -n "$ac_tool_prefix"; then
|
4911 |
|
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
|
4912 |
|
|
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
|
4913 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4914 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
4915 |
|
|
if test "${ac_cv_prog_RANLIB+set}" = set; then :
|
4916 |
|
|
$as_echo_n "(cached) " >&6
|
4917 |
|
|
else
|
4918 |
|
|
if test -n "$RANLIB"; then
|
4919 |
|
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
|
4920 |
|
|
else
|
4921 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4922 |
|
|
for as_dir in $PATH
|
4923 |
|
|
do
|
4924 |
|
|
IFS=$as_save_IFS
|
4925 |
|
|
test -z "$as_dir" && as_dir=.
|
4926 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4927 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4928 |
|
|
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
|
4929 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4930 |
|
|
break 2
|
4931 |
|
|
fi
|
4932 |
|
|
done
|
4933 |
|
|
done
|
4934 |
|
|
IFS=$as_save_IFS
|
4935 |
|
|
|
4936 |
|
|
fi
|
4937 |
|
|
fi
|
4938 |
|
|
RANLIB=$ac_cv_prog_RANLIB
|
4939 |
|
|
if test -n "$RANLIB"; then
|
4940 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
|
4941 |
|
|
$as_echo "$RANLIB" >&6; }
|
4942 |
|
|
else
|
4943 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4944 |
|
|
$as_echo "no" >&6; }
|
4945 |
|
|
fi
|
4946 |
|
|
|
4947 |
|
|
|
4948 |
|
|
fi
|
4949 |
|
|
if test -z "$ac_cv_prog_RANLIB"; then
|
4950 |
|
|
ac_ct_RANLIB=$RANLIB
|
4951 |
|
|
# Extract the first word of "ranlib", so it can be a program name with args.
|
4952 |
|
|
set dummy ranlib; ac_word=$2
|
4953 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
4954 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
4955 |
|
|
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
|
4956 |
|
|
$as_echo_n "(cached) " >&6
|
4957 |
|
|
else
|
4958 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
4959 |
|
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
|
4960 |
|
|
else
|
4961 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
4962 |
|
|
for as_dir in $PATH
|
4963 |
|
|
do
|
4964 |
|
|
IFS=$as_save_IFS
|
4965 |
|
|
test -z "$as_dir" && as_dir=.
|
4966 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
4967 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
4968 |
|
|
ac_cv_prog_ac_ct_RANLIB="ranlib"
|
4969 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
4970 |
|
|
break 2
|
4971 |
|
|
fi
|
4972 |
|
|
done
|
4973 |
|
|
done
|
4974 |
|
|
IFS=$as_save_IFS
|
4975 |
|
|
|
4976 |
|
|
fi
|
4977 |
|
|
fi
|
4978 |
|
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
|
4979 |
|
|
if test -n "$ac_ct_RANLIB"; then
|
4980 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
|
4981 |
|
|
$as_echo "$ac_ct_RANLIB" >&6; }
|
4982 |
|
|
else
|
4983 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
4984 |
|
|
$as_echo "no" >&6; }
|
4985 |
|
|
fi
|
4986 |
|
|
|
4987 |
|
|
if test "x$ac_ct_RANLIB" = x; then
|
4988 |
|
|
RANLIB=":"
|
4989 |
|
|
else
|
4990 |
|
|
case $cross_compiling:$ac_tool_warned in
|
4991 |
|
|
yes:)
|
4992 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
4993 |
|
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
4994 |
|
|
ac_tool_warned=yes ;;
|
4995 |
|
|
esac
|
4996 |
|
|
RANLIB=$ac_ct_RANLIB
|
4997 |
|
|
fi
|
4998 |
|
|
else
|
4999 |
|
|
RANLIB="$ac_cv_prog_RANLIB"
|
5000 |
|
|
fi
|
5001 |
|
|
|
5002 |
|
|
|
5003 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
|
5004 |
|
|
$as_echo_n "checking whether ln -s works... " >&6; }
|
5005 |
|
|
LN_S=$as_ln_s
|
5006 |
|
|
if test "$LN_S" = "ln -s"; then
|
5007 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5008 |
|
|
$as_echo "yes" >&6; }
|
5009 |
|
|
else
|
5010 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
|
5011 |
|
|
$as_echo "no, using $LN_S" >&6; }
|
5012 |
|
|
fi
|
5013 |
|
|
|
5014 |
|
|
|
5015 |
|
|
|
5016 |
|
|
ac_ext=c
|
5017 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
5018 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5019 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5020 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5021 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
|
5022 |
|
|
$as_echo_n "checking how to run the C preprocessor... " >&6; }
|
5023 |
|
|
# On Suns, sometimes $CPP names a directory.
|
5024 |
|
|
if test -n "$CPP" && test -d "$CPP"; then
|
5025 |
|
|
CPP=
|
5026 |
|
|
fi
|
5027 |
|
|
if test -z "$CPP"; then
|
5028 |
|
|
if test "${ac_cv_prog_CPP+set}" = set; then :
|
5029 |
|
|
$as_echo_n "(cached) " >&6
|
5030 |
|
|
else
|
5031 |
|
|
# Double quotes because CPP needs to be expanded
|
5032 |
|
|
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
|
5033 |
|
|
do
|
5034 |
|
|
ac_preproc_ok=false
|
5035 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
5036 |
|
|
do
|
5037 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
5038 |
|
|
# with a fresh cross-compiler works.
|
5039 |
|
|
# Prefer to if __STDC__ is defined, since
|
5040 |
|
|
# exists even on freestanding compilers.
|
5041 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5042 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
5043 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5044 |
|
|
/* end confdefs.h. */
|
5045 |
|
|
#ifdef __STDC__
|
5046 |
|
|
# include
|
5047 |
|
|
#else
|
5048 |
|
|
# include
|
5049 |
|
|
#endif
|
5050 |
|
|
Syntax error
|
5051 |
|
|
_ACEOF
|
5052 |
|
|
if ac_fn_c_try_cpp "$LINENO"; then :
|
5053 |
|
|
|
5054 |
|
|
else
|
5055 |
|
|
# Broken: fails on valid input.
|
5056 |
|
|
continue
|
5057 |
|
|
fi
|
5058 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5059 |
|
|
|
5060 |
|
|
# OK, works on sane cases. Now check whether nonexistent headers
|
5061 |
|
|
# can be detected and how.
|
5062 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5063 |
|
|
/* end confdefs.h. */
|
5064 |
|
|
#include
|
5065 |
|
|
_ACEOF
|
5066 |
|
|
if ac_fn_c_try_cpp "$LINENO"; then :
|
5067 |
|
|
# Broken: success on invalid input.
|
5068 |
|
|
continue
|
5069 |
|
|
else
|
5070 |
|
|
# Passes both tests.
|
5071 |
|
|
ac_preproc_ok=:
|
5072 |
|
|
break
|
5073 |
|
|
fi
|
5074 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5075 |
|
|
|
5076 |
|
|
done
|
5077 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5078 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5079 |
|
|
if $ac_preproc_ok; then :
|
5080 |
|
|
break
|
5081 |
|
|
fi
|
5082 |
|
|
|
5083 |
|
|
done
|
5084 |
|
|
ac_cv_prog_CPP=$CPP
|
5085 |
|
|
|
5086 |
|
|
fi
|
5087 |
|
|
CPP=$ac_cv_prog_CPP
|
5088 |
|
|
else
|
5089 |
|
|
ac_cv_prog_CPP=$CPP
|
5090 |
|
|
fi
|
5091 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
|
5092 |
|
|
$as_echo "$CPP" >&6; }
|
5093 |
|
|
ac_preproc_ok=false
|
5094 |
|
|
for ac_c_preproc_warn_flag in '' yes
|
5095 |
|
|
do
|
5096 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
5097 |
|
|
# with a fresh cross-compiler works.
|
5098 |
|
|
# Prefer to if __STDC__ is defined, since
|
5099 |
|
|
# exists even on freestanding compilers.
|
5100 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
5101 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
5102 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5103 |
|
|
/* end confdefs.h. */
|
5104 |
|
|
#ifdef __STDC__
|
5105 |
|
|
# include
|
5106 |
|
|
#else
|
5107 |
|
|
# include
|
5108 |
|
|
#endif
|
5109 |
|
|
Syntax error
|
5110 |
|
|
_ACEOF
|
5111 |
|
|
if ac_fn_c_try_cpp "$LINENO"; then :
|
5112 |
|
|
|
5113 |
|
|
else
|
5114 |
|
|
# Broken: fails on valid input.
|
5115 |
|
|
continue
|
5116 |
|
|
fi
|
5117 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5118 |
|
|
|
5119 |
|
|
# OK, works on sane cases. Now check whether nonexistent headers
|
5120 |
|
|
# can be detected and how.
|
5121 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5122 |
|
|
/* end confdefs.h. */
|
5123 |
|
|
#include
|
5124 |
|
|
_ACEOF
|
5125 |
|
|
if ac_fn_c_try_cpp "$LINENO"; then :
|
5126 |
|
|
# Broken: success on invalid input.
|
5127 |
|
|
continue
|
5128 |
|
|
else
|
5129 |
|
|
# Passes both tests.
|
5130 |
|
|
ac_preproc_ok=:
|
5131 |
|
|
break
|
5132 |
|
|
fi
|
5133 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5134 |
|
|
|
5135 |
|
|
done
|
5136 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
5137 |
|
|
rm -f conftest.err conftest.$ac_ext
|
5138 |
|
|
if $ac_preproc_ok; then :
|
5139 |
|
|
|
5140 |
|
|
else
|
5141 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
5142 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
5143 |
|
|
as_fn_error "C preprocessor \"$CPP\" fails sanity check
|
5144 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
5145 |
|
|
fi
|
5146 |
|
|
|
5147 |
|
|
ac_ext=c
|
5148 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
5149 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
5150 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
5151 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
5152 |
|
|
|
5153 |
|
|
|
5154 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
|
5155 |
|
|
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
|
5156 |
|
|
if test "${ac_cv_path_GREP+set}" = set; then :
|
5157 |
|
|
$as_echo_n "(cached) " >&6
|
5158 |
|
|
else
|
5159 |
|
|
if test -z "$GREP"; then
|
5160 |
|
|
ac_path_GREP_found=false
|
5161 |
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
5162 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5163 |
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5164 |
|
|
do
|
5165 |
|
|
IFS=$as_save_IFS
|
5166 |
|
|
test -z "$as_dir" && as_dir=.
|
5167 |
|
|
for ac_prog in grep ggrep; do
|
5168 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5169 |
|
|
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
|
5170 |
|
|
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
|
5171 |
|
|
# Check for GNU ac_path_GREP and select it if it is found.
|
5172 |
|
|
# Check for GNU $ac_path_GREP
|
5173 |
|
|
case `"$ac_path_GREP" --version 2>&1` in
|
5174 |
|
|
*GNU*)
|
5175 |
|
|
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
|
5176 |
|
|
*)
|
5177 |
|
|
ac_count=0
|
5178 |
|
|
$as_echo_n 0123456789 >"conftest.in"
|
5179 |
|
|
while :
|
5180 |
|
|
do
|
5181 |
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5182 |
|
|
mv "conftest.tmp" "conftest.in"
|
5183 |
|
|
cp "conftest.in" "conftest.nl"
|
5184 |
|
|
$as_echo 'GREP' >> "conftest.nl"
|
5185 |
|
|
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5186 |
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5187 |
|
|
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5188 |
|
|
if test $ac_count -gt ${ac_path_GREP_max-0}; then
|
5189 |
|
|
# Best one so far, save it but keep looking for a better one
|
5190 |
|
|
ac_cv_path_GREP="$ac_path_GREP"
|
5191 |
|
|
ac_path_GREP_max=$ac_count
|
5192 |
|
|
fi
|
5193 |
|
|
# 10*(2^10) chars as input seems more than enough
|
5194 |
|
|
test $ac_count -gt 10 && break
|
5195 |
|
|
done
|
5196 |
|
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5197 |
|
|
esac
|
5198 |
|
|
|
5199 |
|
|
$ac_path_GREP_found && break 3
|
5200 |
|
|
done
|
5201 |
|
|
done
|
5202 |
|
|
done
|
5203 |
|
|
IFS=$as_save_IFS
|
5204 |
|
|
if test -z "$ac_cv_path_GREP"; then
|
5205 |
|
|
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5206 |
|
|
fi
|
5207 |
|
|
else
|
5208 |
|
|
ac_cv_path_GREP=$GREP
|
5209 |
|
|
fi
|
5210 |
|
|
|
5211 |
|
|
fi
|
5212 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
|
5213 |
|
|
$as_echo "$ac_cv_path_GREP" >&6; }
|
5214 |
|
|
GREP="$ac_cv_path_GREP"
|
5215 |
|
|
|
5216 |
|
|
|
5217 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
|
5218 |
|
|
$as_echo_n "checking for egrep... " >&6; }
|
5219 |
|
|
if test "${ac_cv_path_EGREP+set}" = set; then :
|
5220 |
|
|
$as_echo_n "(cached) " >&6
|
5221 |
|
|
else
|
5222 |
|
|
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
|
5223 |
|
|
then ac_cv_path_EGREP="$GREP -E"
|
5224 |
|
|
else
|
5225 |
|
|
if test -z "$EGREP"; then
|
5226 |
|
|
ac_path_EGREP_found=false
|
5227 |
|
|
# Loop through the user's path and test for each of PROGNAME-LIST
|
5228 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5229 |
|
|
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
|
5230 |
|
|
do
|
5231 |
|
|
IFS=$as_save_IFS
|
5232 |
|
|
test -z "$as_dir" && as_dir=.
|
5233 |
|
|
for ac_prog in egrep; do
|
5234 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5235 |
|
|
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
|
5236 |
|
|
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
|
5237 |
|
|
# Check for GNU ac_path_EGREP and select it if it is found.
|
5238 |
|
|
# Check for GNU $ac_path_EGREP
|
5239 |
|
|
case `"$ac_path_EGREP" --version 2>&1` in
|
5240 |
|
|
*GNU*)
|
5241 |
|
|
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
|
5242 |
|
|
*)
|
5243 |
|
|
ac_count=0
|
5244 |
|
|
$as_echo_n 0123456789 >"conftest.in"
|
5245 |
|
|
while :
|
5246 |
|
|
do
|
5247 |
|
|
cat "conftest.in" "conftest.in" >"conftest.tmp"
|
5248 |
|
|
mv "conftest.tmp" "conftest.in"
|
5249 |
|
|
cp "conftest.in" "conftest.nl"
|
5250 |
|
|
$as_echo 'EGREP' >> "conftest.nl"
|
5251 |
|
|
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
|
5252 |
|
|
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
|
5253 |
|
|
as_fn_arith $ac_count + 1 && ac_count=$as_val
|
5254 |
|
|
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
|
5255 |
|
|
# Best one so far, save it but keep looking for a better one
|
5256 |
|
|
ac_cv_path_EGREP="$ac_path_EGREP"
|
5257 |
|
|
ac_path_EGREP_max=$ac_count
|
5258 |
|
|
fi
|
5259 |
|
|
# 10*(2^10) chars as input seems more than enough
|
5260 |
|
|
test $ac_count -gt 10 && break
|
5261 |
|
|
done
|
5262 |
|
|
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
|
5263 |
|
|
esac
|
5264 |
|
|
|
5265 |
|
|
$ac_path_EGREP_found && break 3
|
5266 |
|
|
done
|
5267 |
|
|
done
|
5268 |
|
|
done
|
5269 |
|
|
IFS=$as_save_IFS
|
5270 |
|
|
if test -z "$ac_cv_path_EGREP"; then
|
5271 |
|
|
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
|
5272 |
|
|
fi
|
5273 |
|
|
else
|
5274 |
|
|
ac_cv_path_EGREP=$EGREP
|
5275 |
|
|
fi
|
5276 |
|
|
|
5277 |
|
|
fi
|
5278 |
|
|
fi
|
5279 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
|
5280 |
|
|
$as_echo "$ac_cv_path_EGREP" >&6; }
|
5281 |
|
|
EGREP="$ac_cv_path_EGREP"
|
5282 |
|
|
|
5283 |
|
|
|
5284 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
|
5285 |
|
|
$as_echo_n "checking for ANSI C header files... " >&6; }
|
5286 |
|
|
if test "${ac_cv_header_stdc+set}" = set; then :
|
5287 |
|
|
$as_echo_n "(cached) " >&6
|
5288 |
|
|
else
|
5289 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5290 |
|
|
/* end confdefs.h. */
|
5291 |
|
|
#include
|
5292 |
|
|
#include
|
5293 |
|
|
#include
|
5294 |
|
|
#include
|
5295 |
|
|
|
5296 |
|
|
int
|
5297 |
|
|
main ()
|
5298 |
|
|
{
|
5299 |
|
|
|
5300 |
|
|
;
|
5301 |
|
|
return 0;
|
5302 |
|
|
}
|
5303 |
|
|
_ACEOF
|
5304 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5305 |
|
|
ac_cv_header_stdc=yes
|
5306 |
|
|
else
|
5307 |
|
|
ac_cv_header_stdc=no
|
5308 |
|
|
fi
|
5309 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5310 |
|
|
|
5311 |
|
|
if test $ac_cv_header_stdc = yes; then
|
5312 |
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
5313 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5314 |
|
|
/* end confdefs.h. */
|
5315 |
|
|
#include
|
5316 |
|
|
|
5317 |
|
|
_ACEOF
|
5318 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5319 |
|
|
$EGREP "memchr" >/dev/null 2>&1; then :
|
5320 |
|
|
|
5321 |
|
|
else
|
5322 |
|
|
ac_cv_header_stdc=no
|
5323 |
|
|
fi
|
5324 |
|
|
rm -f conftest*
|
5325 |
|
|
|
5326 |
|
|
fi
|
5327 |
|
|
|
5328 |
|
|
if test $ac_cv_header_stdc = yes; then
|
5329 |
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
5330 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5331 |
|
|
/* end confdefs.h. */
|
5332 |
|
|
#include
|
5333 |
|
|
|
5334 |
|
|
_ACEOF
|
5335 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
5336 |
|
|
$EGREP "free" >/dev/null 2>&1; then :
|
5337 |
|
|
|
5338 |
|
|
else
|
5339 |
|
|
ac_cv_header_stdc=no
|
5340 |
|
|
fi
|
5341 |
|
|
rm -f conftest*
|
5342 |
|
|
|
5343 |
|
|
fi
|
5344 |
|
|
|
5345 |
|
|
if test $ac_cv_header_stdc = yes; then
|
5346 |
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
5347 |
|
|
if test "$cross_compiling" = yes; then :
|
5348 |
|
|
:
|
5349 |
|
|
else
|
5350 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5351 |
|
|
/* end confdefs.h. */
|
5352 |
|
|
#include
|
5353 |
|
|
#include
|
5354 |
|
|
#if ((' ' & 0x0FF) == 0x020)
|
5355 |
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
5356 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
5357 |
|
|
#else
|
5358 |
|
|
# define ISLOWER(c) \
|
5359 |
|
|
(('a' <= (c) && (c) <= 'i') \
|
5360 |
|
|
|| ('j' <= (c) && (c) <= 'r') \
|
5361 |
|
|
|| ('s' <= (c) && (c) <= 'z'))
|
5362 |
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
|
5363 |
|
|
#endif
|
5364 |
|
|
|
5365 |
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
5366 |
|
|
int
|
5367 |
|
|
main ()
|
5368 |
|
|
{
|
5369 |
|
|
int i;
|
5370 |
|
|
for (i = 0; i < 256; i++)
|
5371 |
|
|
if (XOR (islower (i), ISLOWER (i))
|
5372 |
|
|
|| toupper (i) != TOUPPER (i))
|
5373 |
|
|
return 2;
|
5374 |
|
|
return 0;
|
5375 |
|
|
}
|
5376 |
|
|
_ACEOF
|
5377 |
|
|
if ac_fn_c_try_run "$LINENO"; then :
|
5378 |
|
|
|
5379 |
|
|
else
|
5380 |
|
|
ac_cv_header_stdc=no
|
5381 |
|
|
fi
|
5382 |
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
5383 |
|
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
5384 |
|
|
fi
|
5385 |
|
|
|
5386 |
|
|
fi
|
5387 |
|
|
fi
|
5388 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
|
5389 |
|
|
$as_echo "$ac_cv_header_stdc" >&6; }
|
5390 |
|
|
if test $ac_cv_header_stdc = yes; then
|
5391 |
|
|
|
5392 |
|
|
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
|
5393 |
|
|
|
5394 |
|
|
fi
|
5395 |
|
|
|
5396 |
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
|
5397 |
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
|
5398 |
|
|
inttypes.h stdint.h unistd.h
|
5399 |
|
|
do :
|
5400 |
|
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
5401 |
|
|
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
|
5402 |
|
|
"
|
5403 |
|
|
eval as_val=\$$as_ac_Header
|
5404 |
|
|
if test "x$as_val" = x""yes; then :
|
5405 |
|
|
cat >>confdefs.h <<_ACEOF
|
5406 |
|
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
5407 |
|
|
_ACEOF
|
5408 |
|
|
|
5409 |
|
|
fi
|
5410 |
|
|
|
5411 |
|
|
done
|
5412 |
|
|
|
5413 |
|
|
|
5414 |
|
|
|
5415 |
|
|
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
|
5416 |
|
|
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
|
5417 |
|
|
MINIX=yes
|
5418 |
|
|
else
|
5419 |
|
|
MINIX=
|
5420 |
|
|
fi
|
5421 |
|
|
|
5422 |
|
|
|
5423 |
|
|
if test "$MINIX" = yes; then
|
5424 |
|
|
|
5425 |
|
|
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
|
5426 |
|
|
|
5427 |
|
|
|
5428 |
|
|
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
|
5429 |
|
|
|
5430 |
|
|
|
5431 |
|
|
$as_echo "#define _MINIX 1" >>confdefs.h
|
5432 |
|
|
|
5433 |
|
|
fi
|
5434 |
|
|
|
5435 |
|
|
|
5436 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
|
5437 |
|
|
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
|
5438 |
|
|
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
|
5439 |
|
|
$as_echo_n "(cached) " >&6
|
5440 |
|
|
else
|
5441 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5442 |
|
|
/* end confdefs.h. */
|
5443 |
|
|
|
5444 |
|
|
# define __EXTENSIONS__ 1
|
5445 |
|
|
$ac_includes_default
|
5446 |
|
|
int
|
5447 |
|
|
main ()
|
5448 |
|
|
{
|
5449 |
|
|
|
5450 |
|
|
;
|
5451 |
|
|
return 0;
|
5452 |
|
|
}
|
5453 |
|
|
_ACEOF
|
5454 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5455 |
|
|
ac_cv_safe_to_define___extensions__=yes
|
5456 |
|
|
else
|
5457 |
|
|
ac_cv_safe_to_define___extensions__=no
|
5458 |
|
|
fi
|
5459 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5460 |
|
|
fi
|
5461 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
|
5462 |
|
|
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
|
5463 |
|
|
test $ac_cv_safe_to_define___extensions__ = yes &&
|
5464 |
|
|
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
|
5465 |
|
|
|
5466 |
|
|
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
|
5467 |
|
|
|
5468 |
|
|
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
|
5469 |
|
|
|
5470 |
|
|
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
|
5471 |
|
|
|
5472 |
|
|
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
5473 |
|
|
|
5474 |
|
|
|
5475 |
|
|
|
5476 |
|
|
|
5477 |
|
|
# If we haven't got the data from the intl directory,
|
5478 |
|
|
# assume NLS is disabled.
|
5479 |
|
|
USE_NLS=no
|
5480 |
|
|
LIBINTL=
|
5481 |
|
|
LIBINTL_DEP=
|
5482 |
|
|
INCINTL=
|
5483 |
|
|
XGETTEXT=
|
5484 |
|
|
GMSGFMT=
|
5485 |
|
|
POSUB=
|
5486 |
|
|
|
5487 |
|
|
if test -f ../intl/config.intl; then
|
5488 |
|
|
. ../intl/config.intl
|
5489 |
|
|
fi
|
5490 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
|
5491 |
|
|
$as_echo_n "checking whether NLS is requested... " >&6; }
|
5492 |
|
|
if test x"$USE_NLS" != xyes; then
|
5493 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5494 |
|
|
$as_echo "no" >&6; }
|
5495 |
|
|
else
|
5496 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
5497 |
|
|
$as_echo "yes" >&6; }
|
5498 |
|
|
|
5499 |
|
|
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
|
5500 |
|
|
|
5501 |
|
|
|
5502 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
|
5503 |
|
|
$as_echo_n "checking for catalogs to be installed... " >&6; }
|
5504 |
|
|
# Look for .po and .gmo files in the source directory.
|
5505 |
|
|
CATALOGS=
|
5506 |
|
|
XLINGUAS=
|
5507 |
|
|
for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
|
5508 |
|
|
# If there aren't any .gmo files the shell will give us the
|
5509 |
|
|
# literal string "../path/to/srcdir/po/*.gmo" which has to be
|
5510 |
|
|
# weeded out.
|
5511 |
|
|
case "$cat" in *\**)
|
5512 |
|
|
continue;;
|
5513 |
|
|
esac
|
5514 |
|
|
# The quadruple backslash is collapsed to a double backslash
|
5515 |
|
|
# by the backticks, then collapsed again by the double quotes,
|
5516 |
|
|
# leaving us with one backslash in the sed expression (right
|
5517 |
|
|
# before the dot that mustn't act as a wildcard).
|
5518 |
|
|
cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
|
5519 |
|
|
lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
|
5520 |
|
|
# The user is allowed to set LINGUAS to a list of languages to
|
5521 |
|
|
# install catalogs for. If it's empty that means "all of them."
|
5522 |
|
|
if test "x$LINGUAS" = x; then
|
5523 |
|
|
CATALOGS="$CATALOGS $cat"
|
5524 |
|
|
XLINGUAS="$XLINGUAS $lang"
|
5525 |
|
|
else
|
5526 |
|
|
case "$LINGUAS" in *$lang*)
|
5527 |
|
|
CATALOGS="$CATALOGS $cat"
|
5528 |
|
|
XLINGUAS="$XLINGUAS $lang"
|
5529 |
|
|
;;
|
5530 |
|
|
esac
|
5531 |
|
|
fi
|
5532 |
|
|
done
|
5533 |
|
|
LINGUAS="$XLINGUAS"
|
5534 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
|
5535 |
|
|
$as_echo "$LINGUAS" >&6; }
|
5536 |
|
|
|
5537 |
|
|
|
5538 |
|
|
DATADIRNAME=share
|
5539 |
|
|
|
5540 |
|
|
INSTOBJEXT=.mo
|
5541 |
|
|
|
5542 |
|
|
GENCAT=gencat
|
5543 |
|
|
|
5544 |
|
|
CATOBJEXT=.gmo
|
5545 |
|
|
|
5546 |
|
|
fi
|
5547 |
|
|
|
5548 |
|
|
MKINSTALLDIRS=
|
5549 |
|
|
if test -n "$ac_aux_dir"; then
|
5550 |
|
|
case "$ac_aux_dir" in
|
5551 |
|
|
/*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
|
5552 |
|
|
*) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
|
5553 |
|
|
esac
|
5554 |
|
|
fi
|
5555 |
|
|
if test -z "$MKINSTALLDIRS"; then
|
5556 |
|
|
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
|
5557 |
|
|
fi
|
5558 |
|
|
|
5559 |
|
|
|
5560 |
|
|
|
5561 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
|
5562 |
|
|
$as_echo_n "checking whether NLS is requested... " >&6; }
|
5563 |
|
|
# Check whether --enable-nls was given.
|
5564 |
|
|
if test "${enable_nls+set}" = set; then :
|
5565 |
|
|
enableval=$enable_nls; USE_NLS=$enableval
|
5566 |
|
|
else
|
5567 |
|
|
USE_NLS=yes
|
5568 |
|
|
fi
|
5569 |
|
|
|
5570 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
|
5571 |
|
|
$as_echo "$USE_NLS" >&6; }
|
5572 |
|
|
|
5573 |
|
|
|
5574 |
|
|
|
5575 |
|
|
|
5576 |
|
|
|
5577 |
|
|
|
5578 |
|
|
# Prepare PATH_SEPARATOR.
|
5579 |
|
|
# The user is always right.
|
5580 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
5581 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
5582 |
|
|
echo "exit 0" >>conf$$.sh
|
5583 |
|
|
chmod +x conf$$.sh
|
5584 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
5585 |
|
|
PATH_SEPARATOR=';'
|
5586 |
|
|
else
|
5587 |
|
|
PATH_SEPARATOR=:
|
5588 |
|
|
fi
|
5589 |
|
|
rm -f conf$$.sh
|
5590 |
|
|
fi
|
5591 |
|
|
|
5592 |
|
|
# Find out how to test for executable files. Don't use a zero-byte file,
|
5593 |
|
|
# as systems may use methods other than mode bits to determine executability.
|
5594 |
|
|
cat >conf$$.file <<_ASEOF
|
5595 |
|
|
#! /bin/sh
|
5596 |
|
|
exit 0
|
5597 |
|
|
_ASEOF
|
5598 |
|
|
chmod +x conf$$.file
|
5599 |
|
|
if test -x conf$$.file >/dev/null 2>&1; then
|
5600 |
|
|
ac_executable_p="test -x"
|
5601 |
|
|
else
|
5602 |
|
|
ac_executable_p="test -f"
|
5603 |
|
|
fi
|
5604 |
|
|
rm -f conf$$.file
|
5605 |
|
|
|
5606 |
|
|
# Extract the first word of "msgfmt", so it can be a program name with args.
|
5607 |
|
|
set dummy msgfmt; ac_word=$2
|
5608 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5609 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5610 |
|
|
if test "${ac_cv_path_MSGFMT+set}" = set; then :
|
5611 |
|
|
$as_echo_n "(cached) " >&6
|
5612 |
|
|
else
|
5613 |
|
|
case "$MSGFMT" in
|
5614 |
|
|
[\\/]* | ?:[\\/]*)
|
5615 |
|
|
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
|
5616 |
|
|
;;
|
5617 |
|
|
*)
|
5618 |
|
|
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
|
5619 |
|
|
for ac_dir in $PATH; do
|
5620 |
|
|
IFS="$ac_save_IFS"
|
5621 |
|
|
test -z "$ac_dir" && ac_dir=.
|
5622 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5623 |
|
|
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
|
5624 |
|
|
if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
|
5625 |
|
|
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
5626 |
|
|
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
|
5627 |
|
|
break 2
|
5628 |
|
|
fi
|
5629 |
|
|
fi
|
5630 |
|
|
done
|
5631 |
|
|
done
|
5632 |
|
|
IFS="$ac_save_IFS"
|
5633 |
|
|
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
|
5634 |
|
|
;;
|
5635 |
|
|
esac
|
5636 |
|
|
fi
|
5637 |
|
|
MSGFMT="$ac_cv_path_MSGFMT"
|
5638 |
|
|
if test "$MSGFMT" != ":"; then
|
5639 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
|
5640 |
|
|
$as_echo "$MSGFMT" >&6; }
|
5641 |
|
|
else
|
5642 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5643 |
|
|
$as_echo "no" >&6; }
|
5644 |
|
|
fi
|
5645 |
|
|
|
5646 |
|
|
# Extract the first word of "gmsgfmt", so it can be a program name with args.
|
5647 |
|
|
set dummy gmsgfmt; ac_word=$2
|
5648 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5649 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5650 |
|
|
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
|
5651 |
|
|
$as_echo_n "(cached) " >&6
|
5652 |
|
|
else
|
5653 |
|
|
case $GMSGFMT in
|
5654 |
|
|
[\\/]* | ?:[\\/]*)
|
5655 |
|
|
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
|
5656 |
|
|
;;
|
5657 |
|
|
*)
|
5658 |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
5659 |
|
|
for as_dir in $PATH
|
5660 |
|
|
do
|
5661 |
|
|
IFS=$as_save_IFS
|
5662 |
|
|
test -z "$as_dir" && as_dir=.
|
5663 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5664 |
|
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
5665 |
|
|
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
|
5666 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
5667 |
|
|
break 2
|
5668 |
|
|
fi
|
5669 |
|
|
done
|
5670 |
|
|
done
|
5671 |
|
|
IFS=$as_save_IFS
|
5672 |
|
|
|
5673 |
|
|
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
|
5674 |
|
|
;;
|
5675 |
|
|
esac
|
5676 |
|
|
fi
|
5677 |
|
|
GMSGFMT=$ac_cv_path_GMSGFMT
|
5678 |
|
|
if test -n "$GMSGFMT"; then
|
5679 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
|
5680 |
|
|
$as_echo "$GMSGFMT" >&6; }
|
5681 |
|
|
else
|
5682 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5683 |
|
|
$as_echo "no" >&6; }
|
5684 |
|
|
fi
|
5685 |
|
|
|
5686 |
|
|
|
5687 |
|
|
|
5688 |
|
|
|
5689 |
|
|
# Prepare PATH_SEPARATOR.
|
5690 |
|
|
# The user is always right.
|
5691 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
5692 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
5693 |
|
|
echo "exit 0" >>conf$$.sh
|
5694 |
|
|
chmod +x conf$$.sh
|
5695 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
5696 |
|
|
PATH_SEPARATOR=';'
|
5697 |
|
|
else
|
5698 |
|
|
PATH_SEPARATOR=:
|
5699 |
|
|
fi
|
5700 |
|
|
rm -f conf$$.sh
|
5701 |
|
|
fi
|
5702 |
|
|
|
5703 |
|
|
# Find out how to test for executable files. Don't use a zero-byte file,
|
5704 |
|
|
# as systems may use methods other than mode bits to determine executability.
|
5705 |
|
|
cat >conf$$.file <<_ASEOF
|
5706 |
|
|
#! /bin/sh
|
5707 |
|
|
exit 0
|
5708 |
|
|
_ASEOF
|
5709 |
|
|
chmod +x conf$$.file
|
5710 |
|
|
if test -x conf$$.file >/dev/null 2>&1; then
|
5711 |
|
|
ac_executable_p="test -x"
|
5712 |
|
|
else
|
5713 |
|
|
ac_executable_p="test -f"
|
5714 |
|
|
fi
|
5715 |
|
|
rm -f conf$$.file
|
5716 |
|
|
|
5717 |
|
|
# Extract the first word of "xgettext", so it can be a program name with args.
|
5718 |
|
|
set dummy xgettext; ac_word=$2
|
5719 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5720 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5721 |
|
|
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
|
5722 |
|
|
$as_echo_n "(cached) " >&6
|
5723 |
|
|
else
|
5724 |
|
|
case "$XGETTEXT" in
|
5725 |
|
|
[\\/]* | ?:[\\/]*)
|
5726 |
|
|
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
|
5727 |
|
|
;;
|
5728 |
|
|
*)
|
5729 |
|
|
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
|
5730 |
|
|
for ac_dir in $PATH; do
|
5731 |
|
|
IFS="$ac_save_IFS"
|
5732 |
|
|
test -z "$ac_dir" && ac_dir=.
|
5733 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5734 |
|
|
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
|
5735 |
|
|
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
|
5736 |
|
|
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
5737 |
|
|
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
|
5738 |
|
|
break 2
|
5739 |
|
|
fi
|
5740 |
|
|
fi
|
5741 |
|
|
done
|
5742 |
|
|
done
|
5743 |
|
|
IFS="$ac_save_IFS"
|
5744 |
|
|
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
|
5745 |
|
|
;;
|
5746 |
|
|
esac
|
5747 |
|
|
fi
|
5748 |
|
|
XGETTEXT="$ac_cv_path_XGETTEXT"
|
5749 |
|
|
if test "$XGETTEXT" != ":"; then
|
5750 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
|
5751 |
|
|
$as_echo "$XGETTEXT" >&6; }
|
5752 |
|
|
else
|
5753 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5754 |
|
|
$as_echo "no" >&6; }
|
5755 |
|
|
fi
|
5756 |
|
|
|
5757 |
|
|
rm -f messages.po
|
5758 |
|
|
|
5759 |
|
|
|
5760 |
|
|
# Prepare PATH_SEPARATOR.
|
5761 |
|
|
# The user is always right.
|
5762 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
5763 |
|
|
echo "#! /bin/sh" >conf$$.sh
|
5764 |
|
|
echo "exit 0" >>conf$$.sh
|
5765 |
|
|
chmod +x conf$$.sh
|
5766 |
|
|
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
5767 |
|
|
PATH_SEPARATOR=';'
|
5768 |
|
|
else
|
5769 |
|
|
PATH_SEPARATOR=:
|
5770 |
|
|
fi
|
5771 |
|
|
rm -f conf$$.sh
|
5772 |
|
|
fi
|
5773 |
|
|
|
5774 |
|
|
# Find out how to test for executable files. Don't use a zero-byte file,
|
5775 |
|
|
# as systems may use methods other than mode bits to determine executability.
|
5776 |
|
|
cat >conf$$.file <<_ASEOF
|
5777 |
|
|
#! /bin/sh
|
5778 |
|
|
exit 0
|
5779 |
|
|
_ASEOF
|
5780 |
|
|
chmod +x conf$$.file
|
5781 |
|
|
if test -x conf$$.file >/dev/null 2>&1; then
|
5782 |
|
|
ac_executable_p="test -x"
|
5783 |
|
|
else
|
5784 |
|
|
ac_executable_p="test -f"
|
5785 |
|
|
fi
|
5786 |
|
|
rm -f conf$$.file
|
5787 |
|
|
|
5788 |
|
|
# Extract the first word of "msgmerge", so it can be a program name with args.
|
5789 |
|
|
set dummy msgmerge; ac_word=$2
|
5790 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
5791 |
|
|
$as_echo_n "checking for $ac_word... " >&6; }
|
5792 |
|
|
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
|
5793 |
|
|
$as_echo_n "(cached) " >&6
|
5794 |
|
|
else
|
5795 |
|
|
case "$MSGMERGE" in
|
5796 |
|
|
[\\/]* | ?:[\\/]*)
|
5797 |
|
|
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
|
5798 |
|
|
;;
|
5799 |
|
|
*)
|
5800 |
|
|
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
|
5801 |
|
|
for ac_dir in $PATH; do
|
5802 |
|
|
IFS="$ac_save_IFS"
|
5803 |
|
|
test -z "$ac_dir" && ac_dir=.
|
5804 |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
5805 |
|
|
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
|
5806 |
|
|
if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
|
5807 |
|
|
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
|
5808 |
|
|
break 2
|
5809 |
|
|
fi
|
5810 |
|
|
fi
|
5811 |
|
|
done
|
5812 |
|
|
done
|
5813 |
|
|
IFS="$ac_save_IFS"
|
5814 |
|
|
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
|
5815 |
|
|
;;
|
5816 |
|
|
esac
|
5817 |
|
|
fi
|
5818 |
|
|
MSGMERGE="$ac_cv_path_MSGMERGE"
|
5819 |
|
|
if test "$MSGMERGE" != ":"; then
|
5820 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
|
5821 |
|
|
$as_echo "$MSGMERGE" >&6; }
|
5822 |
|
|
else
|
5823 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
5824 |
|
|
$as_echo "no" >&6; }
|
5825 |
|
|
fi
|
5826 |
|
|
|
5827 |
|
|
|
5828 |
|
|
if test "$GMSGFMT" != ":"; then
|
5829 |
|
|
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
|
5830 |
|
|
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
5831 |
|
|
: ;
|
5832 |
|
|
else
|
5833 |
|
|
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
|
5834 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
|
5835 |
|
|
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
|
5836 |
|
|
GMSGFMT=":"
|
5837 |
|
|
fi
|
5838 |
|
|
fi
|
5839 |
|
|
|
5840 |
|
|
if test "$XGETTEXT" != ":"; then
|
5841 |
|
|
if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
|
5842 |
|
|
(if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
|
5843 |
|
|
: ;
|
5844 |
|
|
else
|
5845 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
|
5846 |
|
|
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
|
5847 |
|
|
XGETTEXT=":"
|
5848 |
|
|
fi
|
5849 |
|
|
rm -f messages.po
|
5850 |
|
|
fi
|
5851 |
|
|
|
5852 |
|
|
ac_config_commands="$ac_config_commands default-1"
|
5853 |
|
|
|
5854 |
|
|
|
5855 |
|
|
|
5856 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
|
5857 |
|
|
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
|
5858 |
|
|
if test "${ac_cv_c_bigendian+set}" = set; then :
|
5859 |
|
|
$as_echo_n "(cached) " >&6
|
5860 |
|
|
else
|
5861 |
|
|
ac_cv_c_bigendian=unknown
|
5862 |
|
|
# See if we're dealing with a universal compiler.
|
5863 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5864 |
|
|
/* end confdefs.h. */
|
5865 |
|
|
#ifndef __APPLE_CC__
|
5866 |
|
|
not a universal capable compiler
|
5867 |
|
|
#endif
|
5868 |
|
|
typedef int dummy;
|
5869 |
|
|
|
5870 |
|
|
_ACEOF
|
5871 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5872 |
|
|
|
5873 |
|
|
# Check for potential -arch flags. It is not universal unless
|
5874 |
|
|
# there are at least two -arch flags with different values.
|
5875 |
|
|
ac_arch=
|
5876 |
|
|
ac_prev=
|
5877 |
|
|
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
|
5878 |
|
|
if test -n "$ac_prev"; then
|
5879 |
|
|
case $ac_word in
|
5880 |
|
|
i?86 | x86_64 | ppc | ppc64)
|
5881 |
|
|
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
|
5882 |
|
|
ac_arch=$ac_word
|
5883 |
|
|
else
|
5884 |
|
|
ac_cv_c_bigendian=universal
|
5885 |
|
|
break
|
5886 |
|
|
fi
|
5887 |
|
|
;;
|
5888 |
|
|
esac
|
5889 |
|
|
ac_prev=
|
5890 |
|
|
elif test "x$ac_word" = "x-arch"; then
|
5891 |
|
|
ac_prev=arch
|
5892 |
|
|
fi
|
5893 |
|
|
done
|
5894 |
|
|
fi
|
5895 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5896 |
|
|
if test $ac_cv_c_bigendian = unknown; then
|
5897 |
|
|
# See if sys/param.h defines the BYTE_ORDER macro.
|
5898 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5899 |
|
|
/* end confdefs.h. */
|
5900 |
|
|
#include
|
5901 |
|
|
#include
|
5902 |
|
|
|
5903 |
|
|
int
|
5904 |
|
|
main ()
|
5905 |
|
|
{
|
5906 |
|
|
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
|
5907 |
|
|
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
|
5908 |
|
|
&& LITTLE_ENDIAN)
|
5909 |
|
|
bogus endian macros
|
5910 |
|
|
#endif
|
5911 |
|
|
|
5912 |
|
|
;
|
5913 |
|
|
return 0;
|
5914 |
|
|
}
|
5915 |
|
|
_ACEOF
|
5916 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5917 |
|
|
# It does; now see whether it defined to BIG_ENDIAN or not.
|
5918 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5919 |
|
|
/* end confdefs.h. */
|
5920 |
|
|
#include
|
5921 |
|
|
#include
|
5922 |
|
|
|
5923 |
|
|
int
|
5924 |
|
|
main ()
|
5925 |
|
|
{
|
5926 |
|
|
#if BYTE_ORDER != BIG_ENDIAN
|
5927 |
|
|
not big endian
|
5928 |
|
|
#endif
|
5929 |
|
|
|
5930 |
|
|
;
|
5931 |
|
|
return 0;
|
5932 |
|
|
}
|
5933 |
|
|
_ACEOF
|
5934 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5935 |
|
|
ac_cv_c_bigendian=yes
|
5936 |
|
|
else
|
5937 |
|
|
ac_cv_c_bigendian=no
|
5938 |
|
|
fi
|
5939 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5940 |
|
|
fi
|
5941 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5942 |
|
|
fi
|
5943 |
|
|
if test $ac_cv_c_bigendian = unknown; then
|
5944 |
|
|
# See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
|
5945 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5946 |
|
|
/* end confdefs.h. */
|
5947 |
|
|
#include
|
5948 |
|
|
|
5949 |
|
|
int
|
5950 |
|
|
main ()
|
5951 |
|
|
{
|
5952 |
|
|
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
|
5953 |
|
|
bogus endian macros
|
5954 |
|
|
#endif
|
5955 |
|
|
|
5956 |
|
|
;
|
5957 |
|
|
return 0;
|
5958 |
|
|
}
|
5959 |
|
|
_ACEOF
|
5960 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5961 |
|
|
# It does; now see whether it defined to _BIG_ENDIAN or not.
|
5962 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5963 |
|
|
/* end confdefs.h. */
|
5964 |
|
|
#include
|
5965 |
|
|
|
5966 |
|
|
int
|
5967 |
|
|
main ()
|
5968 |
|
|
{
|
5969 |
|
|
#ifndef _BIG_ENDIAN
|
5970 |
|
|
not big endian
|
5971 |
|
|
#endif
|
5972 |
|
|
|
5973 |
|
|
;
|
5974 |
|
|
return 0;
|
5975 |
|
|
}
|
5976 |
|
|
_ACEOF
|
5977 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
5978 |
|
|
ac_cv_c_bigendian=yes
|
5979 |
|
|
else
|
5980 |
|
|
ac_cv_c_bigendian=no
|
5981 |
|
|
fi
|
5982 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5983 |
|
|
fi
|
5984 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
5985 |
|
|
fi
|
5986 |
|
|
if test $ac_cv_c_bigendian = unknown; then
|
5987 |
|
|
# Compile a test program.
|
5988 |
|
|
if test "$cross_compiling" = yes; then :
|
5989 |
|
|
# Try to guess by grepping values from an object file.
|
5990 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
5991 |
|
|
/* end confdefs.h. */
|
5992 |
|
|
short int ascii_mm[] =
|
5993 |
|
|
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
|
5994 |
|
|
short int ascii_ii[] =
|
5995 |
|
|
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
|
5996 |
|
|
int use_ascii (int i) {
|
5997 |
|
|
return ascii_mm[i] + ascii_ii[i];
|
5998 |
|
|
}
|
5999 |
|
|
short int ebcdic_ii[] =
|
6000 |
|
|
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
|
6001 |
|
|
short int ebcdic_mm[] =
|
6002 |
|
|
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
|
6003 |
|
|
int use_ebcdic (int i) {
|
6004 |
|
|
return ebcdic_mm[i] + ebcdic_ii[i];
|
6005 |
|
|
}
|
6006 |
|
|
extern int foo;
|
6007 |
|
|
|
6008 |
|
|
int
|
6009 |
|
|
main ()
|
6010 |
|
|
{
|
6011 |
|
|
return use_ascii (foo) == use_ebcdic (foo);
|
6012 |
|
|
;
|
6013 |
|
|
return 0;
|
6014 |
|
|
}
|
6015 |
|
|
_ACEOF
|
6016 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6017 |
|
|
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
|
6018 |
|
|
ac_cv_c_bigendian=yes
|
6019 |
|
|
fi
|
6020 |
|
|
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
|
6021 |
|
|
if test "$ac_cv_c_bigendian" = unknown; then
|
6022 |
|
|
ac_cv_c_bigendian=no
|
6023 |
|
|
else
|
6024 |
|
|
# finding both strings is unlikely to happen, but who knows?
|
6025 |
|
|
ac_cv_c_bigendian=unknown
|
6026 |
|
|
fi
|
6027 |
|
|
fi
|
6028 |
|
|
fi
|
6029 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6030 |
|
|
else
|
6031 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6032 |
|
|
/* end confdefs.h. */
|
6033 |
|
|
$ac_includes_default
|
6034 |
|
|
int
|
6035 |
|
|
main ()
|
6036 |
|
|
{
|
6037 |
|
|
|
6038 |
|
|
/* Are we little or big endian? From Harbison&Steele. */
|
6039 |
|
|
union
|
6040 |
|
|
{
|
6041 |
|
|
long int l;
|
6042 |
|
|
char c[sizeof (long int)];
|
6043 |
|
|
} u;
|
6044 |
|
|
u.l = 1;
|
6045 |
|
|
return u.c[sizeof (long int) - 1] == 1;
|
6046 |
|
|
|
6047 |
|
|
;
|
6048 |
|
|
return 0;
|
6049 |
|
|
}
|
6050 |
|
|
_ACEOF
|
6051 |
|
|
if ac_fn_c_try_run "$LINENO"; then :
|
6052 |
|
|
ac_cv_c_bigendian=no
|
6053 |
|
|
else
|
6054 |
|
|
ac_cv_c_bigendian=yes
|
6055 |
|
|
fi
|
6056 |
|
|
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
6057 |
|
|
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
6058 |
|
|
fi
|
6059 |
|
|
|
6060 |
|
|
fi
|
6061 |
|
|
fi
|
6062 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
|
6063 |
|
|
$as_echo "$ac_cv_c_bigendian" >&6; }
|
6064 |
|
|
case $ac_cv_c_bigendian in #(
|
6065 |
|
|
yes)
|
6066 |
|
|
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
|
6067 |
|
|
;; #(
|
6068 |
|
|
no)
|
6069 |
|
|
;; #(
|
6070 |
|
|
universal)
|
6071 |
|
|
|
6072 |
|
|
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
|
6073 |
|
|
|
6074 |
|
|
;; #(
|
6075 |
|
|
*)
|
6076 |
|
|
as_fn_error "unknown endianness
|
6077 |
|
|
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
|
6078 |
|
|
esac
|
6079 |
|
|
|
6080 |
|
|
|
6081 |
|
|
|
6082 |
|
|
|
6083 |
|
|
if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias"; then
|
6084 |
|
|
NATIVE_LINKER_TRUE=
|
6085 |
|
|
NATIVE_LINKER_FALSE='#'
|
6086 |
|
|
else
|
6087 |
|
|
NATIVE_LINKER_TRUE='#'
|
6088 |
|
|
NATIVE_LINKER_FALSE=
|
6089 |
|
|
fi
|
6090 |
|
|
|
6091 |
|
|
if test "$GCC" = yes; then
|
6092 |
|
|
GCC_TRUE=
|
6093 |
|
|
GCC_FALSE='#'
|
6094 |
|
|
else
|
6095 |
|
|
GCC_TRUE='#'
|
6096 |
|
|
GCC_FALSE=
|
6097 |
|
|
fi
|
6098 |
|
|
|
6099 |
|
|
|
6100 |
|
|
if test "x$target_alias" = "x" -o "x$host_alias" = "x$target_alias" -o "x$host_alias" = "x$build_alias"; then
|
6101 |
|
|
NATIVE_OR_CROSS_LINKER_TRUE=
|
6102 |
|
|
NATIVE_OR_CROSS_LINKER_FALSE='#'
|
6103 |
|
|
else
|
6104 |
|
|
NATIVE_OR_CROSS_LINKER_TRUE='#'
|
6105 |
|
|
NATIVE_OR_CROSS_LINKER_FALSE=
|
6106 |
|
|
fi
|
6107 |
|
|
|
6108 |
|
|
|
6109 |
|
|
if
|
6110 |
|
|
case $target_cpu in
|
6111 |
|
|
i?86) true;;
|
6112 |
|
|
x86_64) false;;
|
6113 |
|
|
sparc64) false;;
|
6114 |
|
|
*) true;;
|
6115 |
|
|
esac; then
|
6116 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE=
|
6117 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_FALSE='#'
|
6118 |
|
|
else
|
6119 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_TRUE='#'
|
6120 |
|
|
FN_PTRS_IN_SO_WITHOUT_PIC_FALSE=
|
6121 |
|
|
fi
|
6122 |
|
|
|
6123 |
|
|
|
6124 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc >= 4.1" >&5
|
6125 |
|
|
$as_echo_n "checking for gcc >= 4.1... " >&6; }
|
6126 |
|
|
if test "${gold_cv_prog_gcc41+set}" = set; then :
|
6127 |
|
|
$as_echo_n "(cached) " >&6
|
6128 |
|
|
else
|
6129 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6130 |
|
|
/* end confdefs.h. */
|
6131 |
|
|
|
6132 |
|
|
#if !defined __GNUC__
|
6133 |
|
|
error
|
6134 |
|
|
#elif __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 1)
|
6135 |
|
|
error
|
6136 |
|
|
#endif
|
6137 |
|
|
|
6138 |
|
|
_ACEOF
|
6139 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6140 |
|
|
gold_cv_prog_gcc41=yes
|
6141 |
|
|
else
|
6142 |
|
|
gold_cv_prog_gcc41=no
|
6143 |
|
|
fi
|
6144 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6145 |
|
|
fi
|
6146 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_prog_gcc41" >&5
|
6147 |
|
|
$as_echo "$gold_cv_prog_gcc41" >&6; }
|
6148 |
|
|
|
6149 |
|
|
if test "$target_cpu" = "x86_64" -a "$gold_cv_prog_gcc41" = "yes"; then
|
6150 |
|
|
MCMODEL_MEDIUM_TRUE=
|
6151 |
|
|
MCMODEL_MEDIUM_FALSE='#'
|
6152 |
|
|
else
|
6153 |
|
|
MCMODEL_MEDIUM_TRUE='#'
|
6154 |
|
|
MCMODEL_MEDIUM_FALSE=
|
6155 |
|
|
fi
|
6156 |
|
|
|
6157 |
|
|
|
6158 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread support" >&5
|
6159 |
|
|
$as_echo_n "checking for thread support... " >&6; }
|
6160 |
|
|
if test "${gold_cv_c_thread+set}" = set; then :
|
6161 |
|
|
$as_echo_n "(cached) " >&6
|
6162 |
|
|
else
|
6163 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6164 |
|
|
/* end confdefs.h. */
|
6165 |
|
|
__thread int i = 1;
|
6166 |
|
|
_ACEOF
|
6167 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6168 |
|
|
gold_cv_c_thread=yes
|
6169 |
|
|
else
|
6170 |
|
|
gold_cv_c_thread=no
|
6171 |
|
|
fi
|
6172 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6173 |
|
|
fi
|
6174 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_thread" >&5
|
6175 |
|
|
$as_echo "$gold_cv_c_thread" >&6; }
|
6176 |
|
|
|
6177 |
|
|
if test "$gold_cv_c_thread" = "yes"; then
|
6178 |
|
|
TLS_TRUE=
|
6179 |
|
|
TLS_FALSE='#'
|
6180 |
|
|
else
|
6181 |
|
|
TLS_TRUE='#'
|
6182 |
|
|
TLS_FALSE=
|
6183 |
|
|
fi
|
6184 |
|
|
|
6185 |
|
|
|
6186 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.4" >&5
|
6187 |
|
|
$as_echo_n "checking for glibc >= 2.4... " >&6; }
|
6188 |
|
|
if test "${gold_cv_lib_glibc24+set}" = set; then :
|
6189 |
|
|
$as_echo_n "(cached) " >&6
|
6190 |
|
|
else
|
6191 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6192 |
|
|
/* end confdefs.h. */
|
6193 |
|
|
|
6194 |
|
|
#include
|
6195 |
|
|
#if !defined __GLIBC__
|
6196 |
|
|
error
|
6197 |
|
|
#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 4)
|
6198 |
|
|
error
|
6199 |
|
|
#endif
|
6200 |
|
|
|
6201 |
|
|
_ACEOF
|
6202 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6203 |
|
|
gold_cv_lib_glibc24=yes
|
6204 |
|
|
else
|
6205 |
|
|
gold_cv_lib_glibc24=no
|
6206 |
|
|
fi
|
6207 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6208 |
|
|
fi
|
6209 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc24" >&5
|
6210 |
|
|
$as_echo "$gold_cv_lib_glibc24" >&6; }
|
6211 |
|
|
|
6212 |
|
|
if test "$gold_cv_lib_glibc24" = "yes"; then
|
6213 |
|
|
STATIC_TLS_TRUE=
|
6214 |
|
|
STATIC_TLS_FALSE='#'
|
6215 |
|
|
else
|
6216 |
|
|
STATIC_TLS_TRUE='#'
|
6217 |
|
|
STATIC_TLS_FALSE=
|
6218 |
|
|
fi
|
6219 |
|
|
|
6220 |
|
|
|
6221 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for omp support" >&5
|
6222 |
|
|
$as_echo_n "checking for omp support... " >&6; }
|
6223 |
|
|
if test "${gold_cv_c_threadprivate+set}" = set; then :
|
6224 |
|
|
$as_echo_n "(cached) " >&6
|
6225 |
|
|
else
|
6226 |
|
|
save_CFLAGS="$CFLAGS"
|
6227 |
|
|
CFLAGS="$CFLAGS -fopenmp"
|
6228 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6229 |
|
|
/* end confdefs.h. */
|
6230 |
|
|
|
6231 |
|
|
#include
|
6232 |
|
|
int i;
|
6233 |
|
|
#pragma omp threadprivate (i)
|
6234 |
|
|
|
6235 |
|
|
_ACEOF
|
6236 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6237 |
|
|
gold_cv_c_threadprivate=yes
|
6238 |
|
|
else
|
6239 |
|
|
gold_cv_c_threadprivate=no
|
6240 |
|
|
fi
|
6241 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6242 |
|
|
CFLAGS="$save_CFLAGS"
|
6243 |
|
|
fi
|
6244 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_threadprivate" >&5
|
6245 |
|
|
$as_echo "$gold_cv_c_threadprivate" >&6; }
|
6246 |
|
|
if test "$gold_cv_c_threadprivate" = "yes"; then
|
6247 |
|
|
|
6248 |
|
|
$as_echo "#define HAVE_OMP_SUPPORT 1" >>confdefs.h
|
6249 |
|
|
|
6250 |
|
|
fi
|
6251 |
|
|
if test "$gold_cv_c_threadprivate" = "yes"; then
|
6252 |
|
|
OMP_SUPPORT_TRUE=
|
6253 |
|
|
OMP_SUPPORT_FALSE='#'
|
6254 |
|
|
else
|
6255 |
|
|
OMP_SUPPORT_TRUE='#'
|
6256 |
|
|
OMP_SUPPORT_FALSE=
|
6257 |
|
|
fi
|
6258 |
|
|
|
6259 |
|
|
|
6260 |
|
|
save_CFLAGS="$CFLAGS"
|
6261 |
|
|
CFLAGS="$CFLAGS -mtls-dialect=gnu2"
|
6262 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6263 |
|
|
/* end confdefs.h. */
|
6264 |
|
|
int i;
|
6265 |
|
|
_ACEOF
|
6266 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6267 |
|
|
have_tls_gnu2=yes
|
6268 |
|
|
else
|
6269 |
|
|
have_tls_gnu2=no
|
6270 |
|
|
fi
|
6271 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6272 |
|
|
CFLAGS="$save_CFLAGS"
|
6273 |
|
|
if test "$have_tls_gnu2" = "yes"; then
|
6274 |
|
|
TLS_GNU2_DIALECT_TRUE=
|
6275 |
|
|
TLS_GNU2_DIALECT_FALSE='#'
|
6276 |
|
|
else
|
6277 |
|
|
TLS_GNU2_DIALECT_TRUE='#'
|
6278 |
|
|
TLS_GNU2_DIALECT_FALSE=
|
6279 |
|
|
fi
|
6280 |
|
|
|
6281 |
|
|
|
6282 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.9" >&5
|
6283 |
|
|
$as_echo_n "checking for glibc >= 2.9... " >&6; }
|
6284 |
|
|
if test "${gold_cv_lib_glibc29+set}" = set; then :
|
6285 |
|
|
$as_echo_n "(cached) " >&6
|
6286 |
|
|
else
|
6287 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6288 |
|
|
/* end confdefs.h. */
|
6289 |
|
|
|
6290 |
|
|
#include
|
6291 |
|
|
#if !defined __GLIBC__
|
6292 |
|
|
error
|
6293 |
|
|
#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 9)
|
6294 |
|
|
error
|
6295 |
|
|
#endif
|
6296 |
|
|
|
6297 |
|
|
_ACEOF
|
6298 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6299 |
|
|
gold_cv_lib_glibc29=yes
|
6300 |
|
|
else
|
6301 |
|
|
gold_cv_lib_glibc29=no
|
6302 |
|
|
fi
|
6303 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6304 |
|
|
fi
|
6305 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc29" >&5
|
6306 |
|
|
$as_echo "$gold_cv_lib_glibc29" >&6; }
|
6307 |
|
|
|
6308 |
|
|
if test "$gold_cv_lib_glibc29" = "yes"; then
|
6309 |
|
|
TLS_DESCRIPTORS_TRUE=
|
6310 |
|
|
TLS_DESCRIPTORS_FALSE='#'
|
6311 |
|
|
else
|
6312 |
|
|
TLS_DESCRIPTORS_TRUE='#'
|
6313 |
|
|
TLS_DESCRIPTORS_FALSE=
|
6314 |
|
|
fi
|
6315 |
|
|
|
6316 |
|
|
|
6317 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for constructor priorities" >&5
|
6318 |
|
|
$as_echo_n "checking for constructor priorities... " >&6; }
|
6319 |
|
|
if test "${gold_cv_c_conprio+set}" = set; then :
|
6320 |
|
|
$as_echo_n "(cached) " >&6
|
6321 |
|
|
else
|
6322 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6323 |
|
|
/* end confdefs.h. */
|
6324 |
|
|
void f() __attribute__ ((constructor (1)));
|
6325 |
|
|
_ACEOF
|
6326 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6327 |
|
|
gold_cv_c_conprio=yes
|
6328 |
|
|
else
|
6329 |
|
|
gold_cv_c_conprio=no
|
6330 |
|
|
fi
|
6331 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6332 |
|
|
fi
|
6333 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_conprio" >&5
|
6334 |
|
|
$as_echo "$gold_cv_c_conprio" >&6; }
|
6335 |
|
|
|
6336 |
|
|
if test "$gold_cv_c_conprio" = "yes"; then
|
6337 |
|
|
CONSTRUCTOR_PRIORITY_TRUE=
|
6338 |
|
|
CONSTRUCTOR_PRIORITY_FALSE='#'
|
6339 |
|
|
else
|
6340 |
|
|
CONSTRUCTOR_PRIORITY_TRUE='#'
|
6341 |
|
|
CONSTRUCTOR_PRIORITY_FALSE=
|
6342 |
|
|
fi
|
6343 |
|
|
|
6344 |
|
|
|
6345 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -frandom-seed support" >&5
|
6346 |
|
|
$as_echo_n "checking for -frandom-seed support... " >&6; }
|
6347 |
|
|
if test "${gold_cv_c_random_seed+set}" = set; then :
|
6348 |
|
|
$as_echo_n "(cached) " >&6
|
6349 |
|
|
else
|
6350 |
|
|
save_CFLAGS="$CFLAGS"
|
6351 |
|
|
CFLAGS="$CFLAGS -frandom-seed=foo"
|
6352 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6353 |
|
|
/* end confdefs.h. */
|
6354 |
|
|
int i;
|
6355 |
|
|
_ACEOF
|
6356 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6357 |
|
|
gold_cv_c_random_seed=yes
|
6358 |
|
|
else
|
6359 |
|
|
gold_cv_c_random_seed=no
|
6360 |
|
|
fi
|
6361 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6362 |
|
|
CFLAGS="$save_CFLAGS"
|
6363 |
|
|
fi
|
6364 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_c_random_seed" >&5
|
6365 |
|
|
$as_echo "$gold_cv_c_random_seed" >&6; }
|
6366 |
|
|
if test "$gold_cv_c_random_seed" = "yes"; then
|
6367 |
|
|
# In Makefile, '$@' will be expanded to be the name of the file
|
6368 |
|
|
# being built, providing a unique seed for each file.
|
6369 |
|
|
RANDOM_SEED_CFLAGS=-frandom-seed=\$@
|
6370 |
|
|
fi
|
6371 |
|
|
|
6372 |
|
|
|
6373 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibc >= 2.11" >&5
|
6374 |
|
|
$as_echo_n "checking for glibc >= 2.11... " >&6; }
|
6375 |
|
|
if test "${gold_cv_lib_glibc2_11+set}" = set; then :
|
6376 |
|
|
$as_echo_n "(cached) " >&6
|
6377 |
|
|
else
|
6378 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6379 |
|
|
/* end confdefs.h. */
|
6380 |
|
|
|
6381 |
|
|
#include
|
6382 |
|
|
#if !defined __GLIBC__
|
6383 |
|
|
error
|
6384 |
|
|
#elif __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 11)
|
6385 |
|
|
error
|
6386 |
|
|
#endif
|
6387 |
|
|
__asm__(".type foo, %gnu_indirect_function");
|
6388 |
|
|
|
6389 |
|
|
_ACEOF
|
6390 |
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
6391 |
|
|
gold_cv_lib_glibc2_11=yes
|
6392 |
|
|
else
|
6393 |
|
|
gold_cv_lib_glibc2_11=no
|
6394 |
|
|
fi
|
6395 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
6396 |
|
|
fi
|
6397 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_glibc2_11" >&5
|
6398 |
|
|
$as_echo "$gold_cv_lib_glibc2_11" >&6; }
|
6399 |
|
|
|
6400 |
|
|
if test "$gold_cv_lib_glibc2_11" = "yes"; then
|
6401 |
|
|
IFUNC_TRUE=
|
6402 |
|
|
IFUNC_FALSE='#'
|
6403 |
|
|
else
|
6404 |
|
|
IFUNC_TRUE='#'
|
6405 |
|
|
IFUNC_FALSE=
|
6406 |
|
|
fi
|
6407 |
|
|
|
6408 |
|
|
|
6409 |
|
|
|
6410 |
|
|
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
6411 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6412 |
|
|
/* end confdefs.h. */
|
6413 |
|
|
__GNUC__
|
6414 |
|
|
_ACEOF
|
6415 |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
6416 |
|
|
$EGREP "^[0-3]$" >/dev/null 2>&1; then :
|
6417 |
|
|
|
6418 |
|
|
else
|
6419 |
|
|
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
|
6420 |
|
|
fi
|
6421 |
|
|
rm -f conftest*
|
6422 |
|
|
|
6423 |
|
|
|
6424 |
|
|
# Check whether --enable-werror was given.
|
6425 |
|
|
if test "${enable_werror+set}" = set; then :
|
6426 |
|
|
enableval=$enable_werror; case "${enableval}" in
|
6427 |
|
|
yes | y) ERROR_ON_WARNING="yes" ;;
|
6428 |
|
|
no | n) ERROR_ON_WARNING="no" ;;
|
6429 |
|
|
*) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
|
6430 |
|
|
esac
|
6431 |
|
|
fi
|
6432 |
|
|
|
6433 |
|
|
|
6434 |
|
|
# Disable -Wformat by default when using gcc on mingw
|
6435 |
|
|
case "${host}" in
|
6436 |
|
|
*-*-mingw32*)
|
6437 |
|
|
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
|
6438 |
|
|
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
|
6439 |
|
|
fi
|
6440 |
|
|
;;
|
6441 |
|
|
*) ;;
|
6442 |
|
|
esac
|
6443 |
|
|
|
6444 |
|
|
# Enable -Werror by default when using gcc
|
6445 |
|
|
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
|
6446 |
|
|
ERROR_ON_WARNING=yes
|
6447 |
|
|
fi
|
6448 |
|
|
|
6449 |
|
|
NO_WERROR=
|
6450 |
|
|
if test "${ERROR_ON_WARNING}" = yes ; then
|
6451 |
|
|
GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
|
6452 |
|
|
NO_WERROR="-Wno-error"
|
6453 |
|
|
fi
|
6454 |
|
|
|
6455 |
|
|
if test "${GCC}" = yes ; then
|
6456 |
|
|
WARN_CFLAGS="${GCC_WARN_CFLAGS}"
|
6457 |
|
|
fi
|
6458 |
|
|
|
6459 |
|
|
# Check whether --enable-build-warnings was given.
|
6460 |
|
|
if test "${enable_build_warnings+set}" = set; then :
|
6461 |
|
|
enableval=$enable_build_warnings; case "${enableval}" in
|
6462 |
|
|
yes) WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
|
6463 |
|
|
no) if test "${GCC}" = yes ; then
|
6464 |
|
|
WARN_CFLAGS="-w"
|
6465 |
|
|
fi;;
|
6466 |
|
|
,*) t=`echo "${enableval}" | sed -e "s/,/ /g"`
|
6467 |
|
|
WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
|
6468 |
|
|
*,) t=`echo "${enableval}" | sed -e "s/,/ /g"`
|
6469 |
|
|
WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
|
6470 |
|
|
*) WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
|
6471 |
|
|
esac
|
6472 |
|
|
fi
|
6473 |
|
|
|
6474 |
|
|
|
6475 |
|
|
if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
|
6476 |
|
|
echo "Setting warning flags = $WARN_CFLAGS" 6>&1
|
6477 |
|
|
fi
|
6478 |
|
|
|
6479 |
|
|
|
6480 |
|
|
|
6481 |
|
|
|
6482 |
|
|
|
6483 |
|
|
WARN_CXXFLAGS=`echo ${WARN_CFLAGS} | sed -e 's/-Wstrict-prototypes//' -e 's/-Wmissing-prototypes//' -e 's/-Wshadow//'`
|
6484 |
|
|
|
6485 |
|
|
|
6486 |
|
|
LFS_CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|
6487 |
|
|
|
6488 |
|
|
|
6489 |
|
|
for ac_header in sys/mman.h
|
6490 |
|
|
do :
|
6491 |
|
|
ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
|
6492 |
|
|
if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
|
6493 |
|
|
cat >>confdefs.h <<_ACEOF
|
6494 |
|
|
#define HAVE_SYS_MMAN_H 1
|
6495 |
|
|
_ACEOF
|
6496 |
|
|
|
6497 |
|
|
fi
|
6498 |
|
|
|
6499 |
|
|
done
|
6500 |
|
|
|
6501 |
|
|
for ac_func in chsize mmap
|
6502 |
|
|
do :
|
6503 |
|
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6504 |
|
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
6505 |
|
|
eval as_val=\$$as_ac_var
|
6506 |
|
|
if test "x$as_val" = x""yes; then :
|
6507 |
|
|
cat >>confdefs.h <<_ACEOF
|
6508 |
|
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
6509 |
|
|
_ACEOF
|
6510 |
|
|
|
6511 |
|
|
fi
|
6512 |
|
|
done
|
6513 |
|
|
|
6514 |
|
|
for ac_func in pread ftruncate ffsll
|
6515 |
|
|
do :
|
6516 |
|
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6517 |
|
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
6518 |
|
|
eval as_val=\$$as_ac_var
|
6519 |
|
|
if test "x$as_val" = x""yes; then :
|
6520 |
|
|
cat >>confdefs.h <<_ACEOF
|
6521 |
|
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
6522 |
|
|
_ACEOF
|
6523 |
|
|
|
6524 |
|
|
else
|
6525 |
|
|
case " $LIBOBJS " in
|
6526 |
|
|
*" $ac_func.$ac_objext "* ) ;;
|
6527 |
|
|
*) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
|
6528 |
|
|
;;
|
6529 |
|
|
esac
|
6530 |
|
|
|
6531 |
|
|
fi
|
6532 |
|
|
done
|
6533 |
|
|
|
6534 |
|
|
|
6535 |
|
|
|
6536 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking mremap with MREMAP_MAYMOVE" >&5
|
6537 |
|
|
$as_echo_n "checking mremap with MREMAP_MAYMOVE... " >&6; }
|
6538 |
|
|
if test "${gold_cv_lib_mremap_maymove+set}" = set; then :
|
6539 |
|
|
$as_echo_n "(cached) " >&6
|
6540 |
|
|
else
|
6541 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6542 |
|
|
/* end confdefs.h. */
|
6543 |
|
|
|
6544 |
|
|
|
6545 |
|
|
#include
|
6546 |
|
|
void f() { mremap (0, 0, 0, MREMAP_MAYMOVE); }
|
6547 |
|
|
|
6548 |
|
|
int
|
6549 |
|
|
main ()
|
6550 |
|
|
{
|
6551 |
|
|
|
6552 |
|
|
;
|
6553 |
|
|
return 0;
|
6554 |
|
|
}
|
6555 |
|
|
_ACEOF
|
6556 |
|
|
if ac_fn_c_try_link "$LINENO"; then :
|
6557 |
|
|
gold_cv_lib_mremap_maymove=yes
|
6558 |
|
|
else
|
6559 |
|
|
gold_cv_lib_mremap_maymove=no
|
6560 |
|
|
fi
|
6561 |
|
|
rm -f core conftest.err conftest.$ac_objext \
|
6562 |
|
|
conftest$ac_exeext conftest.$ac_ext
|
6563 |
|
|
fi
|
6564 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_lib_mremap_maymove" >&5
|
6565 |
|
|
$as_echo "$gold_cv_lib_mremap_maymove" >&6; }
|
6566 |
|
|
if test "$gold_cv_lib_mremap_maymove" = "yes"; then
|
6567 |
|
|
|
6568 |
|
|
$as_echo "#define HAVE_MREMAP 1" >>confdefs.h
|
6569 |
|
|
|
6570 |
|
|
else
|
6571 |
|
|
case " $LIBOBJS " in
|
6572 |
|
|
*" mremap.$ac_objext "* ) ;;
|
6573 |
|
|
*) LIBOBJS="$LIBOBJS mremap.$ac_objext"
|
6574 |
|
|
;;
|
6575 |
|
|
esac
|
6576 |
|
|
|
6577 |
|
|
fi
|
6578 |
|
|
|
6579 |
|
|
# Link in zlib if we can. This allows us to write compressed sections.
|
6580 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing zlibVersion" >&5
|
6581 |
|
|
$as_echo_n "checking for library containing zlibVersion... " >&6; }
|
6582 |
|
|
if test "${ac_cv_search_zlibVersion+set}" = set; then :
|
6583 |
|
|
$as_echo_n "(cached) " >&6
|
6584 |
|
|
else
|
6585 |
|
|
ac_func_search_save_LIBS=$LIBS
|
6586 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6587 |
|
|
/* end confdefs.h. */
|
6588 |
|
|
|
6589 |
|
|
/* Override any GCC internal prototype to avoid an error.
|
6590 |
|
|
Use char because int might match the return type of a GCC
|
6591 |
|
|
builtin and then its argument prototype would still apply. */
|
6592 |
|
|
#ifdef __cplusplus
|
6593 |
|
|
extern "C"
|
6594 |
|
|
#endif
|
6595 |
|
|
char zlibVersion ();
|
6596 |
|
|
int
|
6597 |
|
|
main ()
|
6598 |
|
|
{
|
6599 |
|
|
return zlibVersion ();
|
6600 |
|
|
;
|
6601 |
|
|
return 0;
|
6602 |
|
|
}
|
6603 |
|
|
_ACEOF
|
6604 |
|
|
for ac_lib in '' z; do
|
6605 |
|
|
if test -z "$ac_lib"; then
|
6606 |
|
|
ac_res="none required"
|
6607 |
|
|
else
|
6608 |
|
|
ac_res=-l$ac_lib
|
6609 |
|
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
|
6610 |
|
|
fi
|
6611 |
|
|
if ac_fn_c_try_link "$LINENO"; then :
|
6612 |
|
|
ac_cv_search_zlibVersion=$ac_res
|
6613 |
|
|
fi
|
6614 |
|
|
rm -f core conftest.err conftest.$ac_objext \
|
6615 |
|
|
conftest$ac_exeext
|
6616 |
|
|
if test "${ac_cv_search_zlibVersion+set}" = set; then :
|
6617 |
|
|
break
|
6618 |
|
|
fi
|
6619 |
|
|
done
|
6620 |
|
|
if test "${ac_cv_search_zlibVersion+set}" = set; then :
|
6621 |
|
|
|
6622 |
|
|
else
|
6623 |
|
|
ac_cv_search_zlibVersion=no
|
6624 |
|
|
fi
|
6625 |
|
|
rm conftest.$ac_ext
|
6626 |
|
|
LIBS=$ac_func_search_save_LIBS
|
6627 |
|
|
fi
|
6628 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_zlibVersion" >&5
|
6629 |
|
|
$as_echo "$ac_cv_search_zlibVersion" >&6; }
|
6630 |
|
|
ac_res=$ac_cv_search_zlibVersion
|
6631 |
|
|
if test "$ac_res" != no; then :
|
6632 |
|
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
|
6633 |
|
|
for ac_header in zlib.h
|
6634 |
|
|
do :
|
6635 |
|
|
ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
|
6636 |
|
|
if test "x$ac_cv_header_zlib_h" = x""yes; then :
|
6637 |
|
|
cat >>confdefs.h <<_ACEOF
|
6638 |
|
|
#define HAVE_ZLIB_H 1
|
6639 |
|
|
_ACEOF
|
6640 |
|
|
|
6641 |
|
|
fi
|
6642 |
|
|
|
6643 |
|
|
done
|
6644 |
|
|
|
6645 |
|
|
fi
|
6646 |
|
|
|
6647 |
|
|
if test "$ac_cv_search_zlibVersion" != "no"; then
|
6648 |
|
|
HAVE_ZLIB_TRUE=
|
6649 |
|
|
HAVE_ZLIB_FALSE='#'
|
6650 |
|
|
else
|
6651 |
|
|
HAVE_ZLIB_TRUE='#'
|
6652 |
|
|
HAVE_ZLIB_FALSE=
|
6653 |
|
|
fi
|
6654 |
|
|
|
6655 |
|
|
|
6656 |
|
|
ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
|
6657 |
|
|
if test "x$ac_cv_have_decl_basename" = x""yes; then :
|
6658 |
|
|
ac_have_decl=1
|
6659 |
|
|
else
|
6660 |
|
|
ac_have_decl=0
|
6661 |
|
|
fi
|
6662 |
|
|
|
6663 |
|
|
cat >>confdefs.h <<_ACEOF
|
6664 |
|
|
#define HAVE_DECL_BASENAME $ac_have_decl
|
6665 |
|
|
_ACEOF
|
6666 |
|
|
ac_fn_c_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
|
6667 |
|
|
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
|
6668 |
|
|
ac_have_decl=1
|
6669 |
|
|
else
|
6670 |
|
|
ac_have_decl=0
|
6671 |
|
|
fi
|
6672 |
|
|
|
6673 |
|
|
cat >>confdefs.h <<_ACEOF
|
6674 |
|
|
#define HAVE_DECL_FFS $ac_have_decl
|
6675 |
|
|
_ACEOF
|
6676 |
|
|
ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
|
6677 |
|
|
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
|
6678 |
|
|
ac_have_decl=1
|
6679 |
|
|
else
|
6680 |
|
|
ac_have_decl=0
|
6681 |
|
|
fi
|
6682 |
|
|
|
6683 |
|
|
cat >>confdefs.h <<_ACEOF
|
6684 |
|
|
#define HAVE_DECL_ASPRINTF $ac_have_decl
|
6685 |
|
|
_ACEOF
|
6686 |
|
|
ac_fn_c_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
|
6687 |
|
|
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
|
6688 |
|
|
ac_have_decl=1
|
6689 |
|
|
else
|
6690 |
|
|
ac_have_decl=0
|
6691 |
|
|
fi
|
6692 |
|
|
|
6693 |
|
|
cat >>confdefs.h <<_ACEOF
|
6694 |
|
|
#define HAVE_DECL_VASPRINTF $ac_have_decl
|
6695 |
|
|
_ACEOF
|
6696 |
|
|
ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
|
6697 |
|
|
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
|
6698 |
|
|
ac_have_decl=1
|
6699 |
|
|
else
|
6700 |
|
|
ac_have_decl=0
|
6701 |
|
|
fi
|
6702 |
|
|
|
6703 |
|
|
cat >>confdefs.h <<_ACEOF
|
6704 |
|
|
#define HAVE_DECL_SNPRINTF $ac_have_decl
|
6705 |
|
|
_ACEOF
|
6706 |
|
|
ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
|
6707 |
|
|
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
|
6708 |
|
|
ac_have_decl=1
|
6709 |
|
|
else
|
6710 |
|
|
ac_have_decl=0
|
6711 |
|
|
fi
|
6712 |
|
|
|
6713 |
|
|
cat >>confdefs.h <<_ACEOF
|
6714 |
|
|
#define HAVE_DECL_VSNPRINTF $ac_have_decl
|
6715 |
|
|
_ACEOF
|
6716 |
|
|
ac_fn_c_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
|
6717 |
|
|
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
|
6718 |
|
|
ac_have_decl=1
|
6719 |
|
|
else
|
6720 |
|
|
ac_have_decl=0
|
6721 |
|
|
fi
|
6722 |
|
|
|
6723 |
|
|
cat >>confdefs.h <<_ACEOF
|
6724 |
|
|
#define HAVE_DECL_STRVERSCMP $ac_have_decl
|
6725 |
|
|
_ACEOF
|
6726 |
|
|
|
6727 |
|
|
|
6728 |
|
|
ac_ext=cpp
|
6729 |
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
6730 |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
6731 |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
6732 |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
6733 |
|
|
|
6734 |
|
|
|
6735 |
|
|
|
6736 |
|
|
ac_ext=cpp
|
6737 |
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
6738 |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
6739 |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
6740 |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
6741 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
|
6742 |
|
|
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
|
6743 |
|
|
if test -z "$CXXCPP"; then
|
6744 |
|
|
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
|
6745 |
|
|
$as_echo_n "(cached) " >&6
|
6746 |
|
|
else
|
6747 |
|
|
# Double quotes because CXXCPP needs to be expanded
|
6748 |
|
|
for CXXCPP in "$CXX -E" "/lib/cpp"
|
6749 |
|
|
do
|
6750 |
|
|
ac_preproc_ok=false
|
6751 |
|
|
for ac_cxx_preproc_warn_flag in '' yes
|
6752 |
|
|
do
|
6753 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
6754 |
|
|
# with a fresh cross-compiler works.
|
6755 |
|
|
# Prefer to if __STDC__ is defined, since
|
6756 |
|
|
# exists even on freestanding compilers.
|
6757 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
6758 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
6759 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6760 |
|
|
/* end confdefs.h. */
|
6761 |
|
|
#ifdef __STDC__
|
6762 |
|
|
# include
|
6763 |
|
|
#else
|
6764 |
|
|
# include
|
6765 |
|
|
#endif
|
6766 |
|
|
Syntax error
|
6767 |
|
|
_ACEOF
|
6768 |
|
|
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
6769 |
|
|
|
6770 |
|
|
else
|
6771 |
|
|
# Broken: fails on valid input.
|
6772 |
|
|
continue
|
6773 |
|
|
fi
|
6774 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6775 |
|
|
|
6776 |
|
|
# OK, works on sane cases. Now check whether nonexistent headers
|
6777 |
|
|
# can be detected and how.
|
6778 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6779 |
|
|
/* end confdefs.h. */
|
6780 |
|
|
#include
|
6781 |
|
|
_ACEOF
|
6782 |
|
|
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
6783 |
|
|
# Broken: success on invalid input.
|
6784 |
|
|
continue
|
6785 |
|
|
else
|
6786 |
|
|
# Passes both tests.
|
6787 |
|
|
ac_preproc_ok=:
|
6788 |
|
|
break
|
6789 |
|
|
fi
|
6790 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6791 |
|
|
|
6792 |
|
|
done
|
6793 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
6794 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6795 |
|
|
if $ac_preproc_ok; then :
|
6796 |
|
|
break
|
6797 |
|
|
fi
|
6798 |
|
|
|
6799 |
|
|
done
|
6800 |
|
|
ac_cv_prog_CXXCPP=$CXXCPP
|
6801 |
|
|
|
6802 |
|
|
fi
|
6803 |
|
|
CXXCPP=$ac_cv_prog_CXXCPP
|
6804 |
|
|
else
|
6805 |
|
|
ac_cv_prog_CXXCPP=$CXXCPP
|
6806 |
|
|
fi
|
6807 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
|
6808 |
|
|
$as_echo "$CXXCPP" >&6; }
|
6809 |
|
|
ac_preproc_ok=false
|
6810 |
|
|
for ac_cxx_preproc_warn_flag in '' yes
|
6811 |
|
|
do
|
6812 |
|
|
# Use a header file that comes with gcc, so configuring glibc
|
6813 |
|
|
# with a fresh cross-compiler works.
|
6814 |
|
|
# Prefer to if __STDC__ is defined, since
|
6815 |
|
|
# exists even on freestanding compilers.
|
6816 |
|
|
# On the NeXT, cc -E runs the code through the compiler's parser,
|
6817 |
|
|
# not just through cpp. "Syntax error" is here to catch this case.
|
6818 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6819 |
|
|
/* end confdefs.h. */
|
6820 |
|
|
#ifdef __STDC__
|
6821 |
|
|
# include
|
6822 |
|
|
#else
|
6823 |
|
|
# include
|
6824 |
|
|
#endif
|
6825 |
|
|
Syntax error
|
6826 |
|
|
_ACEOF
|
6827 |
|
|
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
6828 |
|
|
|
6829 |
|
|
else
|
6830 |
|
|
# Broken: fails on valid input.
|
6831 |
|
|
continue
|
6832 |
|
|
fi
|
6833 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6834 |
|
|
|
6835 |
|
|
# OK, works on sane cases. Now check whether nonexistent headers
|
6836 |
|
|
# can be detected and how.
|
6837 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
6838 |
|
|
/* end confdefs.h. */
|
6839 |
|
|
#include
|
6840 |
|
|
_ACEOF
|
6841 |
|
|
if ac_fn_cxx_try_cpp "$LINENO"; then :
|
6842 |
|
|
# Broken: success on invalid input.
|
6843 |
|
|
continue
|
6844 |
|
|
else
|
6845 |
|
|
# Passes both tests.
|
6846 |
|
|
ac_preproc_ok=:
|
6847 |
|
|
break
|
6848 |
|
|
fi
|
6849 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6850 |
|
|
|
6851 |
|
|
done
|
6852 |
|
|
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
|
6853 |
|
|
rm -f conftest.err conftest.$ac_ext
|
6854 |
|
|
if $ac_preproc_ok; then :
|
6855 |
|
|
|
6856 |
|
|
else
|
6857 |
|
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
6858 |
|
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
6859 |
|
|
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
|
6860 |
|
|
See \`config.log' for more details." "$LINENO" 5; }
|
6861 |
|
|
fi
|
6862 |
|
|
|
6863 |
|
|
ac_ext=cpp
|
6864 |
|
|
ac_cpp='$CXXCPP $CPPFLAGS'
|
6865 |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
6866 |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
6867 |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
6868 |
|
|
|
6869 |
|
|
|
6870 |
|
|
for ac_header in tr1/unordered_set tr1/unordered_map
|
6871 |
|
|
do :
|
6872 |
|
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6873 |
|
|
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
6874 |
|
|
eval as_val=\$$as_ac_Header
|
6875 |
|
|
if test "x$as_val" = x""yes; then :
|
6876 |
|
|
cat >>confdefs.h <<_ACEOF
|
6877 |
|
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6878 |
|
|
_ACEOF
|
6879 |
|
|
|
6880 |
|
|
fi
|
6881 |
|
|
|
6882 |
|
|
done
|
6883 |
|
|
|
6884 |
|
|
for ac_header in ext/hash_map ext/hash_set
|
6885 |
|
|
do :
|
6886 |
|
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
6887 |
|
|
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
|
6888 |
|
|
eval as_val=\$$as_ac_Header
|
6889 |
|
|
if test "x$as_val" = x""yes; then :
|
6890 |
|
|
cat >>confdefs.h <<_ACEOF
|
6891 |
|
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
6892 |
|
|
_ACEOF
|
6893 |
|
|
|
6894 |
|
|
fi
|
6895 |
|
|
|
6896 |
|
|
done
|
6897 |
|
|
|
6898 |
|
|
for ac_header in byteswap.h
|
6899 |
|
|
do :
|
6900 |
|
|
ac_fn_cxx_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
|
6901 |
|
|
if test "x$ac_cv_header_byteswap_h" = x""yes; then :
|
6902 |
|
|
cat >>confdefs.h <<_ACEOF
|
6903 |
|
|
#define HAVE_BYTESWAP_H 1
|
6904 |
|
|
_ACEOF
|
6905 |
|
|
|
6906 |
|
|
fi
|
6907 |
|
|
|
6908 |
|
|
done
|
6909 |
|
|
|
6910 |
|
|
for ac_func in mallinfo posix_fallocate readv sysconf times
|
6911 |
|
|
do :
|
6912 |
|
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
6913 |
|
|
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
6914 |
|
|
eval as_val=\$$as_ac_var
|
6915 |
|
|
if test "x$as_val" = x""yes; then :
|
6916 |
|
|
cat >>confdefs.h <<_ACEOF
|
6917 |
|
|
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
|
6918 |
|
|
_ACEOF
|
6919 |
|
|
|
6920 |
|
|
fi
|
6921 |
|
|
done
|
6922 |
|
|
|
6923 |
|
|
ac_fn_cxx_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
|
6924 |
|
|
if test "x$ac_cv_have_decl_basename" = x""yes; then :
|
6925 |
|
|
ac_have_decl=1
|
6926 |
|
|
else
|
6927 |
|
|
ac_have_decl=0
|
6928 |
|
|
fi
|
6929 |
|
|
|
6930 |
|
|
cat >>confdefs.h <<_ACEOF
|
6931 |
|
|
#define HAVE_DECL_BASENAME $ac_have_decl
|
6932 |
|
|
_ACEOF
|
6933 |
|
|
ac_fn_cxx_check_decl "$LINENO" "ffs" "ac_cv_have_decl_ffs" "$ac_includes_default"
|
6934 |
|
|
if test "x$ac_cv_have_decl_ffs" = x""yes; then :
|
6935 |
|
|
ac_have_decl=1
|
6936 |
|
|
else
|
6937 |
|
|
ac_have_decl=0
|
6938 |
|
|
fi
|
6939 |
|
|
|
6940 |
|
|
cat >>confdefs.h <<_ACEOF
|
6941 |
|
|
#define HAVE_DECL_FFS $ac_have_decl
|
6942 |
|
|
_ACEOF
|
6943 |
|
|
ac_fn_cxx_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
|
6944 |
|
|
if test "x$ac_cv_have_decl_asprintf" = x""yes; then :
|
6945 |
|
|
ac_have_decl=1
|
6946 |
|
|
else
|
6947 |
|
|
ac_have_decl=0
|
6948 |
|
|
fi
|
6949 |
|
|
|
6950 |
|
|
cat >>confdefs.h <<_ACEOF
|
6951 |
|
|
#define HAVE_DECL_ASPRINTF $ac_have_decl
|
6952 |
|
|
_ACEOF
|
6953 |
|
|
ac_fn_cxx_check_decl "$LINENO" "vasprintf" "ac_cv_have_decl_vasprintf" "$ac_includes_default"
|
6954 |
|
|
if test "x$ac_cv_have_decl_vasprintf" = x""yes; then :
|
6955 |
|
|
ac_have_decl=1
|
6956 |
|
|
else
|
6957 |
|
|
ac_have_decl=0
|
6958 |
|
|
fi
|
6959 |
|
|
|
6960 |
|
|
cat >>confdefs.h <<_ACEOF
|
6961 |
|
|
#define HAVE_DECL_VASPRINTF $ac_have_decl
|
6962 |
|
|
_ACEOF
|
6963 |
|
|
ac_fn_cxx_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
|
6964 |
|
|
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
|
6965 |
|
|
ac_have_decl=1
|
6966 |
|
|
else
|
6967 |
|
|
ac_have_decl=0
|
6968 |
|
|
fi
|
6969 |
|
|
|
6970 |
|
|
cat >>confdefs.h <<_ACEOF
|
6971 |
|
|
#define HAVE_DECL_SNPRINTF $ac_have_decl
|
6972 |
|
|
_ACEOF
|
6973 |
|
|
ac_fn_cxx_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
|
6974 |
|
|
if test "x$ac_cv_have_decl_vsnprintf" = x""yes; then :
|
6975 |
|
|
ac_have_decl=1
|
6976 |
|
|
else
|
6977 |
|
|
ac_have_decl=0
|
6978 |
|
|
fi
|
6979 |
|
|
|
6980 |
|
|
cat >>confdefs.h <<_ACEOF
|
6981 |
|
|
#define HAVE_DECL_VSNPRINTF $ac_have_decl
|
6982 |
|
|
_ACEOF
|
6983 |
|
|
ac_fn_cxx_check_decl "$LINENO" "strverscmp" "ac_cv_have_decl_strverscmp" "$ac_includes_default"
|
6984 |
|
|
if test "x$ac_cv_have_decl_strverscmp" = x""yes; then :
|
6985 |
|
|
ac_have_decl=1
|
6986 |
|
|
else
|
6987 |
|
|
ac_have_decl=0
|
6988 |
|
|
fi
|
6989 |
|
|
|
6990 |
|
|
cat >>confdefs.h <<_ACEOF
|
6991 |
|
|
#define HAVE_DECL_STRVERSCMP $ac_have_decl
|
6992 |
|
|
_ACEOF
|
6993 |
|
|
ac_fn_cxx_check_decl "$LINENO" "strndup" "ac_cv_have_decl_strndup" "$ac_includes_default"
|
6994 |
|
|
if test "x$ac_cv_have_decl_strndup" = x""yes; then :
|
6995 |
|
|
ac_have_decl=1
|
6996 |
|
|
else
|
6997 |
|
|
ac_have_decl=0
|
6998 |
|
|
fi
|
6999 |
|
|
|
7000 |
|
|
cat >>confdefs.h <<_ACEOF
|
7001 |
|
|
#define HAVE_DECL_STRNDUP $ac_have_decl
|
7002 |
|
|
_ACEOF
|
7003 |
|
|
ac_fn_cxx_check_decl "$LINENO" "memmem" "ac_cv_have_decl_memmem" "$ac_includes_default"
|
7004 |
|
|
if test "x$ac_cv_have_decl_memmem" = x""yes; then :
|
7005 |
|
|
ac_have_decl=1
|
7006 |
|
|
else
|
7007 |
|
|
ac_have_decl=0
|
7008 |
|
|
fi
|
7009 |
|
|
|
7010 |
|
|
cat >>confdefs.h <<_ACEOF
|
7011 |
|
|
#define HAVE_DECL_MEMMEM $ac_have_decl
|
7012 |
|
|
_ACEOF
|
7013 |
|
|
|
7014 |
|
|
|
7015 |
|
|
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols
|
7016 |
|
|
# at link time with some versions of GCC.
|
7017 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ::std::tr1::unordered_map::rehash is usable." >&5
|
7018 |
|
|
$as_echo_n "checking whether ::std::tr1::unordered_map::rehash is usable.... " >&6; }
|
7019 |
|
|
if test "${gold_cv_unordered_map_rehash+set}" = set; then :
|
7020 |
|
|
$as_echo_n "(cached) " >&6
|
7021 |
|
|
else
|
7022 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7023 |
|
|
/* end confdefs.h. */
|
7024 |
|
|
|
7025 |
|
|
#include
|
7026 |
|
|
void bar() { ::std::tr1::unordered_map x; x.rehash(10); }
|
7027 |
|
|
|
7028 |
|
|
int
|
7029 |
|
|
main ()
|
7030 |
|
|
{
|
7031 |
|
|
|
7032 |
|
|
;
|
7033 |
|
|
return 0;
|
7034 |
|
|
}
|
7035 |
|
|
_ACEOF
|
7036 |
|
|
if ac_fn_cxx_try_link "$LINENO"; then :
|
7037 |
|
|
gold_cv_unordered_map_rehash=yes
|
7038 |
|
|
else
|
7039 |
|
|
gold_cv_unordered_map_rehash=no
|
7040 |
|
|
fi
|
7041 |
|
|
rm -f core conftest.err conftest.$ac_objext \
|
7042 |
|
|
conftest$ac_exeext conftest.$ac_ext
|
7043 |
|
|
fi
|
7044 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_unordered_map_rehash" >&5
|
7045 |
|
|
$as_echo "$gold_cv_unordered_map_rehash" >&6; }
|
7046 |
|
|
if test "$gold_cv_unordered_map_rehash" = "yes"; then
|
7047 |
|
|
|
7048 |
|
|
$as_echo "#define HAVE_TR1_UNORDERED_MAP_REHASH 1" >>confdefs.h
|
7049 |
|
|
|
7050 |
|
|
fi
|
7051 |
|
|
|
7052 |
|
|
# gcc 4.3.0 doesn't recognize the printf attribute on a template
|
7053 |
|
|
# function. Check for that. This is gcc bug 35546. This test can
|
7054 |
|
|
# probably be removed after the bug has been fixed for a while.
|
7055 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use attributes with template functions" >&5
|
7056 |
|
|
$as_echo_n "checking whether we can use attributes with template functions... " >&6; }
|
7057 |
|
|
if test "${gold_cv_template_attribute+set}" = set; then :
|
7058 |
|
|
$as_echo_n "(cached) " >&6
|
7059 |
|
|
else
|
7060 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7061 |
|
|
/* end confdefs.h. */
|
7062 |
|
|
|
7063 |
|
|
template extern void foo(const char*, ...)
|
7064 |
|
|
__attribute__ ((__format__ (__printf__, 1, 2)));
|
7065 |
|
|
template void foo(const char* format, ...) {}
|
7066 |
|
|
void bar() { foo("%s\n", "foo"); }
|
7067 |
|
|
|
7068 |
|
|
_ACEOF
|
7069 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
7070 |
|
|
gold_cv_template_attribute=yes
|
7071 |
|
|
else
|
7072 |
|
|
gold_cv_template_attribute=no
|
7073 |
|
|
fi
|
7074 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7075 |
|
|
fi
|
7076 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_template_attribute" >&5
|
7077 |
|
|
$as_echo "$gold_cv_template_attribute" >&6; }
|
7078 |
|
|
if test "$gold_cv_template_attribute" = "yes"; then
|
7079 |
|
|
|
7080 |
|
|
$as_echo "#define HAVE_TEMPLATE_ATTRIBUTES 1" >>confdefs.h
|
7081 |
|
|
|
7082 |
|
|
fi
|
7083 |
|
|
|
7084 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat::st_mtim." >&5
|
7085 |
|
|
$as_echo_n "checking for struct stat::st_mtim.... " >&6; }
|
7086 |
|
|
if test "${gold_cv_stat_st_mtim+set}" = set; then :
|
7087 |
|
|
$as_echo_n "(cached) " >&6
|
7088 |
|
|
else
|
7089 |
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7090 |
|
|
/* end confdefs.h. */
|
7091 |
|
|
|
7092 |
|
|
#include
|
7093 |
|
|
long bar() { struct stat s; return (long)(s.st_mtim.tv_sec + s.st_mtim.tv_sec);}
|
7094 |
|
|
|
7095 |
|
|
int
|
7096 |
|
|
main ()
|
7097 |
|
|
{
|
7098 |
|
|
|
7099 |
|
|
;
|
7100 |
|
|
return 0;
|
7101 |
|
|
}
|
7102 |
|
|
_ACEOF
|
7103 |
|
|
if ac_fn_cxx_try_compile "$LINENO"; then :
|
7104 |
|
|
gold_cv_stat_st_mtim=yes
|
7105 |
|
|
else
|
7106 |
|
|
gold_cv_stat_st_mtim=no
|
7107 |
|
|
fi
|
7108 |
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
7109 |
|
|
fi
|
7110 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gold_cv_stat_st_mtim" >&5
|
7111 |
|
|
$as_echo "$gold_cv_stat_st_mtim" >&6; }
|
7112 |
|
|
if test "$gold_cv_stat_st_mtim" = "yes"; then
|
7113 |
|
|
|
7114 |
|
|
$as_echo "#define HAVE_STAT_ST_MTIM 1" >>confdefs.h
|
7115 |
|
|
|
7116 |
|
|
fi
|
7117 |
|
|
|
7118 |
|
|
ac_ext=c
|
7119 |
|
|
ac_cpp='$CPP $CPPFLAGS'
|
7120 |
|
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
7121 |
|
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
7122 |
|
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
7123 |
|
|
|
7124 |
|
|
|
7125 |
|
|
|
7126 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
|
7127 |
|
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
|
7128 |
|
|
# Check whether --enable-maintainer-mode was given.
|
7129 |
|
|
if test "${enable_maintainer_mode+set}" = set; then :
|
7130 |
|
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
|
7131 |
|
|
else
|
7132 |
|
|
USE_MAINTAINER_MODE=no
|
7133 |
|
|
fi
|
7134 |
|
|
|
7135 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
|
7136 |
|
|
$as_echo "$USE_MAINTAINER_MODE" >&6; }
|
7137 |
|
|
if test $USE_MAINTAINER_MODE = yes; then
|
7138 |
|
|
MAINTAINER_MODE_TRUE=
|
7139 |
|
|
MAINTAINER_MODE_FALSE='#'
|
7140 |
|
|
else
|
7141 |
|
|
MAINTAINER_MODE_TRUE='#'
|
7142 |
|
|
MAINTAINER_MODE_FALSE=
|
7143 |
|
|
fi
|
7144 |
|
|
|
7145 |
|
|
MAINT=$MAINTAINER_MODE_TRUE
|
7146 |
|
|
|
7147 |
|
|
|
7148 |
|
|
|
7149 |
|
|
ac_config_files="$ac_config_files Makefile testsuite/Makefile po/Makefile.in:po/Make-in"
|
7150 |
|
|
|
7151 |
|
|
cat >confcache <<\_ACEOF
|
7152 |
|
|
# This file is a shell script that caches the results of configure
|
7153 |
|
|
# tests run on this system so they can be shared between configure
|
7154 |
|
|
# scripts and configure runs, see configure's option --config-cache.
|
7155 |
|
|
# It is not useful on other systems. If it contains results you don't
|
7156 |
|
|
# want to keep, you may remove or edit it.
|
7157 |
|
|
#
|
7158 |
|
|
# config.status only pays attention to the cache file if you give it
|
7159 |
|
|
# the --recheck option to rerun configure.
|
7160 |
|
|
#
|
7161 |
|
|
# `ac_cv_env_foo' variables (set or unset) will be overridden when
|
7162 |
|
|
# loading this file, other *unset* `ac_cv_foo' will be assigned the
|
7163 |
|
|
# following values.
|
7164 |
|
|
|
7165 |
|
|
_ACEOF
|
7166 |
|
|
|
7167 |
|
|
# The following way of writing the cache mishandles newlines in values,
|
7168 |
|
|
# but we know of no workaround that is simple, portable, and efficient.
|
7169 |
|
|
# So, we kill variables containing newlines.
|
7170 |
|
|
# Ultrix sh set writes to stderr and can't be redirected directly,
|
7171 |
|
|
# and sets the high bit in the cache file unless we assign to the vars.
|
7172 |
|
|
(
|
7173 |
|
|
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
7174 |
|
|
eval ac_val=\$$ac_var
|
7175 |
|
|
case $ac_val in #(
|
7176 |
|
|
*${as_nl}*)
|
7177 |
|
|
case $ac_var in #(
|
7178 |
|
|
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
7179 |
|
|
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
7180 |
|
|
esac
|
7181 |
|
|
case $ac_var in #(
|
7182 |
|
|
_ | IFS | as_nl) ;; #(
|
7183 |
|
|
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
7184 |
|
|
*) { eval $ac_var=; unset $ac_var;} ;;
|
7185 |
|
|
esac ;;
|
7186 |
|
|
esac
|
7187 |
|
|
done
|
7188 |
|
|
|
7189 |
|
|
(set) 2>&1 |
|
7190 |
|
|
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
7191 |
|
|
*${as_nl}ac_space=\ *)
|
7192 |
|
|
# `set' does not quote correctly, so add quotes: double-quote
|
7193 |
|
|
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
7194 |
|
|
sed -n \
|
7195 |
|
|
"s/'/'\\\\''/g;
|
7196 |
|
|
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
7197 |
|
|
;; #(
|
7198 |
|
|
*)
|
7199 |
|
|
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
7200 |
|
|
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
7201 |
|
|
;;
|
7202 |
|
|
esac |
|
7203 |
|
|
sort
|
7204 |
|
|
) |
|
7205 |
|
|
sed '
|
7206 |
|
|
/^ac_cv_env_/b end
|
7207 |
|
|
t clear
|
7208 |
|
|
:clear
|
7209 |
|
|
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
7210 |
|
|
t end
|
7211 |
|
|
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
7212 |
|
|
:end' >>confcache
|
7213 |
|
|
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
7214 |
|
|
if test -w "$cache_file"; then
|
7215 |
|
|
test "x$cache_file" != "x/dev/null" &&
|
7216 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
7217 |
|
|
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
7218 |
|
|
cat confcache >$cache_file
|
7219 |
|
|
else
|
7220 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
7221 |
|
|
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
7222 |
|
|
fi
|
7223 |
|
|
fi
|
7224 |
|
|
rm -f confcache
|
7225 |
|
|
|
7226 |
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
7227 |
|
|
# Let make expand exec_prefix.
|
7228 |
|
|
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
7229 |
|
|
|
7230 |
|
|
DEFS=-DHAVE_CONFIG_H
|
7231 |
|
|
|
7232 |
|
|
ac_libobjs=
|
7233 |
|
|
ac_ltlibobjs=
|
7234 |
|
|
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
7235 |
|
|
# 1. Remove the extension, and $U if already installed.
|
7236 |
|
|
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
7237 |
|
|
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
7238 |
|
|
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
7239 |
|
|
# will be set to the directory where LIBOBJS objects are built.
|
7240 |
|
|
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
7241 |
|
|
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
7242 |
|
|
done
|
7243 |
|
|
LIBOBJS=$ac_libobjs
|
7244 |
|
|
|
7245 |
|
|
LTLIBOBJS=$ac_ltlibobjs
|
7246 |
|
|
|
7247 |
|
|
|
7248 |
|
|
if test -n "$EXEEXT"; then
|
7249 |
|
|
am__EXEEXT_TRUE=
|
7250 |
|
|
am__EXEEXT_FALSE='#'
|
7251 |
|
|
else
|
7252 |
|
|
am__EXEEXT_TRUE='#'
|
7253 |
|
|
am__EXEEXT_FALSE=
|
7254 |
|
|
fi
|
7255 |
|
|
|
7256 |
|
|
if test -z "${THREADS_TRUE}" && test -z "${THREADS_FALSE}"; then
|
7257 |
|
|
as_fn_error "conditional \"THREADS\" was never defined.
|
7258 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7259 |
|
|
fi
|
7260 |
|
|
if test -z "${PLUGINS_TRUE}" && test -z "${PLUGINS_FALSE}"; then
|
7261 |
|
|
as_fn_error "conditional \"PLUGINS\" was never defined.
|
7262 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7263 |
|
|
fi
|
7264 |
|
|
if test -z "${DEFAULT_TARGET_ARM_TRUE}" && test -z "${DEFAULT_TARGET_ARM_FALSE}"; then
|
7265 |
|
|
as_fn_error "conditional \"DEFAULT_TARGET_ARM\" was never defined.
|
7266 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7267 |
|
|
fi
|
7268 |
|
|
if test -z "${DEFAULT_TARGET_I386_TRUE}" && test -z "${DEFAULT_TARGET_I386_FALSE}"; then
|
7269 |
|
|
as_fn_error "conditional \"DEFAULT_TARGET_I386\" was never defined.
|
7270 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7271 |
|
|
fi
|
7272 |
|
|
if test -z "${DEFAULT_TARGET_POWERPC_TRUE}" && test -z "${DEFAULT_TARGET_POWERPC_FALSE}"; then
|
7273 |
|
|
as_fn_error "conditional \"DEFAULT_TARGET_POWERPC\" was never defined.
|
7274 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7275 |
|
|
fi
|
7276 |
|
|
if test -z "${DEFAULT_TARGET_SPARC_TRUE}" && test -z "${DEFAULT_TARGET_SPARC_FALSE}"; then
|
7277 |
|
|
as_fn_error "conditional \"DEFAULT_TARGET_SPARC\" was never defined.
|
7278 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7279 |
|
|
fi
|
7280 |
|
|
if test -z "${DEFAULT_TARGET_X86_64_TRUE}" && test -z "${DEFAULT_TARGET_X86_64_FALSE}"; then
|
7281 |
|
|
as_fn_error "conditional \"DEFAULT_TARGET_X86_64\" was never defined.
|
7282 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7283 |
|
|
fi
|
7284 |
|
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
7285 |
|
|
as_fn_error "conditional \"AMDEP\" was never defined.
|
7286 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7287 |
|
|
fi
|
7288 |
|
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
7289 |
|
|
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
7290 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7291 |
|
|
fi
|
7292 |
|
|
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
|
7293 |
|
|
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
|
7294 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7295 |
|
|
fi
|
7296 |
|
|
|
7297 |
|
|
if test -z "${NATIVE_LINKER_TRUE}" && test -z "${NATIVE_LINKER_FALSE}"; then
|
7298 |
|
|
as_fn_error "conditional \"NATIVE_LINKER\" was never defined.
|
7299 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7300 |
|
|
fi
|
7301 |
|
|
if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
|
7302 |
|
|
as_fn_error "conditional \"GCC\" was never defined.
|
7303 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7304 |
|
|
fi
|
7305 |
|
|
if test -z "${NATIVE_OR_CROSS_LINKER_TRUE}" && test -z "${NATIVE_OR_CROSS_LINKER_FALSE}"; then
|
7306 |
|
|
as_fn_error "conditional \"NATIVE_OR_CROSS_LINKER\" was never defined.
|
7307 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7308 |
|
|
fi
|
7309 |
|
|
if test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_TRUE}" && test -z "${FN_PTRS_IN_SO_WITHOUT_PIC_FALSE}"; then
|
7310 |
|
|
as_fn_error "conditional \"FN_PTRS_IN_SO_WITHOUT_PIC\" was never defined.
|
7311 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7312 |
|
|
fi
|
7313 |
|
|
if test -z "${MCMODEL_MEDIUM_TRUE}" && test -z "${MCMODEL_MEDIUM_FALSE}"; then
|
7314 |
|
|
as_fn_error "conditional \"MCMODEL_MEDIUM\" was never defined.
|
7315 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7316 |
|
|
fi
|
7317 |
|
|
if test -z "${TLS_TRUE}" && test -z "${TLS_FALSE}"; then
|
7318 |
|
|
as_fn_error "conditional \"TLS\" was never defined.
|
7319 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7320 |
|
|
fi
|
7321 |
|
|
if test -z "${STATIC_TLS_TRUE}" && test -z "${STATIC_TLS_FALSE}"; then
|
7322 |
|
|
as_fn_error "conditional \"STATIC_TLS\" was never defined.
|
7323 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7324 |
|
|
fi
|
7325 |
|
|
if test -z "${OMP_SUPPORT_TRUE}" && test -z "${OMP_SUPPORT_FALSE}"; then
|
7326 |
|
|
as_fn_error "conditional \"OMP_SUPPORT\" was never defined.
|
7327 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7328 |
|
|
fi
|
7329 |
|
|
if test -z "${TLS_GNU2_DIALECT_TRUE}" && test -z "${TLS_GNU2_DIALECT_FALSE}"; then
|
7330 |
|
|
as_fn_error "conditional \"TLS_GNU2_DIALECT\" was never defined.
|
7331 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7332 |
|
|
fi
|
7333 |
|
|
if test -z "${TLS_DESCRIPTORS_TRUE}" && test -z "${TLS_DESCRIPTORS_FALSE}"; then
|
7334 |
|
|
as_fn_error "conditional \"TLS_DESCRIPTORS\" was never defined.
|
7335 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7336 |
|
|
fi
|
7337 |
|
|
if test -z "${CONSTRUCTOR_PRIORITY_TRUE}" && test -z "${CONSTRUCTOR_PRIORITY_FALSE}"; then
|
7338 |
|
|
as_fn_error "conditional \"CONSTRUCTOR_PRIORITY\" was never defined.
|
7339 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7340 |
|
|
fi
|
7341 |
|
|
if test -z "${IFUNC_TRUE}" && test -z "${IFUNC_FALSE}"; then
|
7342 |
|
|
as_fn_error "conditional \"IFUNC\" was never defined.
|
7343 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7344 |
|
|
fi
|
7345 |
|
|
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
|
7346 |
|
|
as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
|
7347 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7348 |
|
|
fi
|
7349 |
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
|
7350 |
|
|
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
|
7351 |
|
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
7352 |
|
|
fi
|
7353 |
|
|
|
7354 |
|
|
: ${CONFIG_STATUS=./config.status}
|
7355 |
|
|
ac_write_fail=0
|
7356 |
|
|
ac_clean_files_save=$ac_clean_files
|
7357 |
|
|
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
7358 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
7359 |
|
|
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
7360 |
|
|
as_write_fail=0
|
7361 |
|
|
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
7362 |
|
|
#! $SHELL
|
7363 |
|
|
# Generated by $as_me.
|
7364 |
|
|
# Run this file to recreate the current configuration.
|
7365 |
|
|
# Compiler output produced by configure, useful for debugging
|
7366 |
|
|
# configure, is in config.log if it exists.
|
7367 |
|
|
|
7368 |
|
|
debug=false
|
7369 |
|
|
ac_cs_recheck=false
|
7370 |
|
|
ac_cs_silent=false
|
7371 |
|
|
|
7372 |
|
|
SHELL=\${CONFIG_SHELL-$SHELL}
|
7373 |
|
|
export SHELL
|
7374 |
|
|
_ASEOF
|
7375 |
|
|
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
7376 |
|
|
## -------------------- ##
|
7377 |
|
|
## M4sh Initialization. ##
|
7378 |
|
|
## -------------------- ##
|
7379 |
|
|
|
7380 |
|
|
# Be more Bourne compatible
|
7381 |
|
|
DUALCASE=1; export DUALCASE # for MKS sh
|
7382 |
|
|
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
7383 |
|
|
emulate sh
|
7384 |
|
|
NULLCMD=:
|
7385 |
|
|
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
7386 |
|
|
# is contrary to our usage. Disable this feature.
|
7387 |
|
|
alias -g '${1+"$@"}'='"$@"'
|
7388 |
|
|
setopt NO_GLOB_SUBST
|
7389 |
|
|
else
|
7390 |
|
|
case `(set -o) 2>/dev/null` in #(
|
7391 |
|
|
*posix*) :
|
7392 |
|
|
set -o posix ;; #(
|
7393 |
|
|
*) :
|
7394 |
|
|
;;
|
7395 |
|
|
esac
|
7396 |
|
|
fi
|
7397 |
|
|
|
7398 |
|
|
|
7399 |
|
|
as_nl='
|
7400 |
|
|
'
|
7401 |
|
|
export as_nl
|
7402 |
|
|
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
7403 |
|
|
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
7404 |
|
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
7405 |
|
|
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
7406 |
|
|
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
7407 |
|
|
# but without wasting forks for bash or zsh.
|
7408 |
|
|
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
7409 |
|
|
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
7410 |
|
|
as_echo='print -r --'
|
7411 |
|
|
as_echo_n='print -rn --'
|
7412 |
|
|
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
7413 |
|
|
as_echo='printf %s\n'
|
7414 |
|
|
as_echo_n='printf %s'
|
7415 |
|
|
else
|
7416 |
|
|
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
7417 |
|
|
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
7418 |
|
|
as_echo_n='/usr/ucb/echo -n'
|
7419 |
|
|
else
|
7420 |
|
|
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
7421 |
|
|
as_echo_n_body='eval
|
7422 |
|
|
arg=$1;
|
7423 |
|
|
case $arg in #(
|
7424 |
|
|
*"$as_nl"*)
|
7425 |
|
|
expr "X$arg" : "X\\(.*\\)$as_nl";
|
7426 |
|
|
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
7427 |
|
|
esac;
|
7428 |
|
|
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
7429 |
|
|
'
|
7430 |
|
|
export as_echo_n_body
|
7431 |
|
|
as_echo_n='sh -c $as_echo_n_body as_echo'
|
7432 |
|
|
fi
|
7433 |
|
|
export as_echo_body
|
7434 |
|
|
as_echo='sh -c $as_echo_body as_echo'
|
7435 |
|
|
fi
|
7436 |
|
|
|
7437 |
|
|
# The user is always right.
|
7438 |
|
|
if test "${PATH_SEPARATOR+set}" != set; then
|
7439 |
|
|
PATH_SEPARATOR=:
|
7440 |
|
|
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
7441 |
|
|
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
7442 |
|
|
PATH_SEPARATOR=';'
|
7443 |
|
|
}
|
7444 |
|
|
fi
|
7445 |
|
|
|
7446 |
|
|
|
7447 |
|
|
# IFS
|
7448 |
|
|
# We need space, tab and new line, in precisely that order. Quoting is
|
7449 |
|
|
# there to prevent editors from complaining about space-tab.
|
7450 |
|
|
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
7451 |
|
|
# splitting by setting IFS to empty value.)
|
7452 |
|
|
IFS=" "" $as_nl"
|
7453 |
|
|
|
7454 |
|
|
# Find who we are. Look in the path if we contain no directory separator.
|
7455 |
|
|
case $0 in #((
|
7456 |
|
|
*[\\/]* ) as_myself=$0 ;;
|
7457 |
|
|
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
7458 |
|
|
for as_dir in $PATH
|
7459 |
|
|
do
|
7460 |
|
|
IFS=$as_save_IFS
|
7461 |
|
|
test -z "$as_dir" && as_dir=.
|
7462 |
|
|
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
7463 |
|
|
done
|
7464 |
|
|
IFS=$as_save_IFS
|
7465 |
|
|
|
7466 |
|
|
;;
|
7467 |
|
|
esac
|
7468 |
|
|
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
7469 |
|
|
# in which case we are not to be found in the path.
|
7470 |
|
|
if test "x$as_myself" = x; then
|
7471 |
|
|
as_myself=$0
|
7472 |
|
|
fi
|
7473 |
|
|
if test ! -f "$as_myself"; then
|
7474 |
|
|
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
7475 |
|
|
exit 1
|
7476 |
|
|
fi
|
7477 |
|
|
|
7478 |
|
|
# Unset variables that we do not need and which cause bugs (e.g. in
|
7479 |
|
|
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
7480 |
|
|
# suppresses any "Segmentation fault" message there. '((' could
|
7481 |
|
|
# trigger a bug in pdksh 5.2.14.
|
7482 |
|
|
for as_var in BASH_ENV ENV MAIL MAILPATH
|
7483 |
|
|
do eval test x\${$as_var+set} = xset \
|
7484 |
|
|
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
7485 |
|
|
done
|
7486 |
|
|
PS1='$ '
|
7487 |
|
|
PS2='> '
|
7488 |
|
|
PS4='+ '
|
7489 |
|
|
|
7490 |
|
|
# NLS nuisances.
|
7491 |
|
|
LC_ALL=C
|
7492 |
|
|
export LC_ALL
|
7493 |
|
|
LANGUAGE=C
|
7494 |
|
|
export LANGUAGE
|
7495 |
|
|
|
7496 |
|
|
# CDPATH.
|
7497 |
|
|
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
7498 |
|
|
|
7499 |
|
|
|
7500 |
|
|
# as_fn_error ERROR [LINENO LOG_FD]
|
7501 |
|
|
# ---------------------------------
|
7502 |
|
|
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
7503 |
|
|
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
7504 |
|
|
# script with status $?, using 1 if that was 0.
|
7505 |
|
|
as_fn_error ()
|
7506 |
|
|
{
|
7507 |
|
|
as_status=$?; test $as_status -eq 0 && as_status=1
|
7508 |
|
|
if test "$3"; then
|
7509 |
|
|
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
7510 |
|
|
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
7511 |
|
|
fi
|
7512 |
|
|
$as_echo "$as_me: error: $1" >&2
|
7513 |
|
|
as_fn_exit $as_status
|
7514 |
|
|
} # as_fn_error
|
7515 |
|
|
|
7516 |
|
|
|
7517 |
|
|
# as_fn_set_status STATUS
|
7518 |
|
|
# -----------------------
|
7519 |
|
|
# Set $? to STATUS, without forking.
|
7520 |
|
|
as_fn_set_status ()
|
7521 |
|
|
{
|
7522 |
|
|
return $1
|
7523 |
|
|
} # as_fn_set_status
|
7524 |
|
|
|
7525 |
|
|
# as_fn_exit STATUS
|
7526 |
|
|
# -----------------
|
7527 |
|
|
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
7528 |
|
|
as_fn_exit ()
|
7529 |
|
|
{
|
7530 |
|
|
set +e
|
7531 |
|
|
as_fn_set_status $1
|
7532 |
|
|
exit $1
|
7533 |
|
|
} # as_fn_exit
|
7534 |
|
|
|
7535 |
|
|
# as_fn_unset VAR
|
7536 |
|
|
# ---------------
|
7537 |
|
|
# Portably unset VAR.
|
7538 |
|
|
as_fn_unset ()
|
7539 |
|
|
{
|
7540 |
|
|
{ eval $1=; unset $1;}
|
7541 |
|
|
}
|
7542 |
|
|
as_unset=as_fn_unset
|
7543 |
|
|
# as_fn_append VAR VALUE
|
7544 |
|
|
# ----------------------
|
7545 |
|
|
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
7546 |
|
|
# advantage of any shell optimizations that allow amortized linear growth over
|
7547 |
|
|
# repeated appends, instead of the typical quadratic growth present in naive
|
7548 |
|
|
# implementations.
|
7549 |
|
|
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
7550 |
|
|
eval 'as_fn_append ()
|
7551 |
|
|
{
|
7552 |
|
|
eval $1+=\$2
|
7553 |
|
|
}'
|
7554 |
|
|
else
|
7555 |
|
|
as_fn_append ()
|
7556 |
|
|
{
|
7557 |
|
|
eval $1=\$$1\$2
|
7558 |
|
|
}
|
7559 |
|
|
fi # as_fn_append
|
7560 |
|
|
|
7561 |
|
|
# as_fn_arith ARG...
|
7562 |
|
|
# ------------------
|
7563 |
|
|
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
7564 |
|
|
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
7565 |
|
|
# must be portable across $(()) and expr.
|
7566 |
|
|
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
7567 |
|
|
eval 'as_fn_arith ()
|
7568 |
|
|
{
|
7569 |
|
|
as_val=$(( $* ))
|
7570 |
|
|
}'
|
7571 |
|
|
else
|
7572 |
|
|
as_fn_arith ()
|
7573 |
|
|
{
|
7574 |
|
|
as_val=`expr "$@" || test $? -eq 1`
|
7575 |
|
|
}
|
7576 |
|
|
fi # as_fn_arith
|
7577 |
|
|
|
7578 |
|
|
|
7579 |
|
|
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
7580 |
|
|
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
7581 |
|
|
as_expr=expr
|
7582 |
|
|
else
|
7583 |
|
|
as_expr=false
|
7584 |
|
|
fi
|
7585 |
|
|
|
7586 |
|
|
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
7587 |
|
|
as_basename=basename
|
7588 |
|
|
else
|
7589 |
|
|
as_basename=false
|
7590 |
|
|
fi
|
7591 |
|
|
|
7592 |
|
|
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
7593 |
|
|
as_dirname=dirname
|
7594 |
|
|
else
|
7595 |
|
|
as_dirname=false
|
7596 |
|
|
fi
|
7597 |
|
|
|
7598 |
|
|
as_me=`$as_basename -- "$0" ||
|
7599 |
|
|
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
7600 |
|
|
X"$0" : 'X\(//\)$' \| \
|
7601 |
|
|
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
7602 |
|
|
$as_echo X/"$0" |
|
7603 |
|
|
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
7604 |
|
|
s//\1/
|
7605 |
|
|
q
|
7606 |
|
|
}
|
7607 |
|
|
/^X\/\(\/\/\)$/{
|
7608 |
|
|
s//\1/
|
7609 |
|
|
q
|
7610 |
|
|
}
|
7611 |
|
|
/^X\/\(\/\).*/{
|
7612 |
|
|
s//\1/
|
7613 |
|
|
q
|
7614 |
|
|
}
|
7615 |
|
|
s/.*/./; q'`
|
7616 |
|
|
|
7617 |
|
|
# Avoid depending upon Character Ranges.
|
7618 |
|
|
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
7619 |
|
|
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
7620 |
|
|
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
|
7621 |
|
|
as_cr_digits='0123456789'
|
7622 |
|
|
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
7623 |
|
|
|
7624 |
|
|
ECHO_C= ECHO_N= ECHO_T=
|
7625 |
|
|
case `echo -n x` in #(((((
|
7626 |
|
|
-n*)
|
7627 |
|
|
case `echo 'xy\c'` in
|
7628 |
|
|
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
7629 |
|
|
xy) ECHO_C='\c';;
|
7630 |
|
|
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
7631 |
|
|
ECHO_T=' ';;
|
7632 |
|
|
esac;;
|
7633 |
|
|
*)
|
7634 |
|
|
ECHO_N='-n';;
|
7635 |
|
|
esac
|
7636 |
|
|
|
7637 |
|
|
rm -f conf$$ conf$$.exe conf$$.file
|
7638 |
|
|
if test -d conf$$.dir; then
|
7639 |
|
|
rm -f conf$$.dir/conf$$.file
|
7640 |
|
|
else
|
7641 |
|
|
rm -f conf$$.dir
|
7642 |
|
|
mkdir conf$$.dir 2>/dev/null
|
7643 |
|
|
fi
|
7644 |
|
|
if (echo >conf$$.file) 2>/dev/null; then
|
7645 |
|
|
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
7646 |
|
|
as_ln_s='ln -s'
|
7647 |
|
|
# ... but there are two gotchas:
|
7648 |
|
|
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
7649 |
|
|
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
7650 |
|
|
# In both cases, we have to default to `cp -p'.
|
7651 |
|
|
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
7652 |
|
|
as_ln_s='cp -p'
|
7653 |
|
|
elif ln conf$$.file conf$$ 2>/dev/null; then
|
7654 |
|
|
as_ln_s=ln
|
7655 |
|
|
else
|
7656 |
|
|
as_ln_s='cp -p'
|
7657 |
|
|
fi
|
7658 |
|
|
else
|
7659 |
|
|
as_ln_s='cp -p'
|
7660 |
|
|
fi
|
7661 |
|
|
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
7662 |
|
|
rmdir conf$$.dir 2>/dev/null
|
7663 |
|
|
|
7664 |
|
|
|
7665 |
|
|
# as_fn_mkdir_p
|
7666 |
|
|
# -------------
|
7667 |
|
|
# Create "$as_dir" as a directory, including parents if necessary.
|
7668 |
|
|
as_fn_mkdir_p ()
|
7669 |
|
|
{
|
7670 |
|
|
|
7671 |
|
|
case $as_dir in #(
|
7672 |
|
|
-*) as_dir=./$as_dir;;
|
7673 |
|
|
esac
|
7674 |
|
|
test -d "$as_dir" || eval $as_mkdir_p || {
|
7675 |
|
|
as_dirs=
|
7676 |
|
|
while :; do
|
7677 |
|
|
case $as_dir in #(
|
7678 |
|
|
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
7679 |
|
|
*) as_qdir=$as_dir;;
|
7680 |
|
|
esac
|
7681 |
|
|
as_dirs="'$as_qdir' $as_dirs"
|
7682 |
|
|
as_dir=`$as_dirname -- "$as_dir" ||
|
7683 |
|
|
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
7684 |
|
|
X"$as_dir" : 'X\(//\)[^/]' \| \
|
7685 |
|
|
X"$as_dir" : 'X\(//\)$' \| \
|
7686 |
|
|
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
7687 |
|
|
$as_echo X"$as_dir" |
|
7688 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
7689 |
|
|
s//\1/
|
7690 |
|
|
q
|
7691 |
|
|
}
|
7692 |
|
|
/^X\(\/\/\)[^/].*/{
|
7693 |
|
|
s//\1/
|
7694 |
|
|
q
|
7695 |
|
|
}
|
7696 |
|
|
/^X\(\/\/\)$/{
|
7697 |
|
|
s//\1/
|
7698 |
|
|
q
|
7699 |
|
|
}
|
7700 |
|
|
/^X\(\/\).*/{
|
7701 |
|
|
s//\1/
|
7702 |
|
|
q
|
7703 |
|
|
}
|
7704 |
|
|
s/.*/./; q'`
|
7705 |
|
|
test -d "$as_dir" && break
|
7706 |
|
|
done
|
7707 |
|
|
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
7708 |
|
|
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
7709 |
|
|
|
7710 |
|
|
|
7711 |
|
|
} # as_fn_mkdir_p
|
7712 |
|
|
if mkdir -p . 2>/dev/null; then
|
7713 |
|
|
as_mkdir_p='mkdir -p "$as_dir"'
|
7714 |
|
|
else
|
7715 |
|
|
test -d ./-p && rmdir ./-p
|
7716 |
|
|
as_mkdir_p=false
|
7717 |
|
|
fi
|
7718 |
|
|
|
7719 |
|
|
if test -x / >/dev/null 2>&1; then
|
7720 |
|
|
as_test_x='test -x'
|
7721 |
|
|
else
|
7722 |
|
|
if ls -dL / >/dev/null 2>&1; then
|
7723 |
|
|
as_ls_L_option=L
|
7724 |
|
|
else
|
7725 |
|
|
as_ls_L_option=
|
7726 |
|
|
fi
|
7727 |
|
|
as_test_x='
|
7728 |
|
|
eval sh -c '\''
|
7729 |
|
|
if test -d "$1"; then
|
7730 |
|
|
test -d "$1/.";
|
7731 |
|
|
else
|
7732 |
|
|
case $1 in #(
|
7733 |
|
|
-*)set "./$1";;
|
7734 |
|
|
esac;
|
7735 |
|
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
7736 |
|
|
???[sx]*):;;*)false;;esac;fi
|
7737 |
|
|
'\'' sh
|
7738 |
|
|
'
|
7739 |
|
|
fi
|
7740 |
|
|
as_executable_p=$as_test_x
|
7741 |
|
|
|
7742 |
|
|
# Sed expression to map a string onto a valid CPP name.
|
7743 |
|
|
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
7744 |
|
|
|
7745 |
|
|
# Sed expression to map a string onto a valid variable name.
|
7746 |
|
|
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
7747 |
|
|
|
7748 |
|
|
|
7749 |
|
|
exec 6>&1
|
7750 |
|
|
## ----------------------------------- ##
|
7751 |
|
|
## Main body of $CONFIG_STATUS script. ##
|
7752 |
|
|
## ----------------------------------- ##
|
7753 |
|
|
_ASEOF
|
7754 |
|
|
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
7755 |
|
|
|
7756 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7757 |
|
|
# Save the log message, to keep $0 and so on meaningful, and to
|
7758 |
|
|
# report actual input values of CONFIG_FILES etc. instead of their
|
7759 |
|
|
# values after options handling.
|
7760 |
|
|
ac_log="
|
7761 |
|
|
This file was extended by gold $as_me 0.1, which was
|
7762 |
|
|
generated by GNU Autoconf 2.64. Invocation command line was
|
7763 |
|
|
|
7764 |
|
|
CONFIG_FILES = $CONFIG_FILES
|
7765 |
|
|
CONFIG_HEADERS = $CONFIG_HEADERS
|
7766 |
|
|
CONFIG_LINKS = $CONFIG_LINKS
|
7767 |
|
|
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
7768 |
|
|
$ $0 $@
|
7769 |
|
|
|
7770 |
|
|
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
7771 |
|
|
"
|
7772 |
|
|
|
7773 |
|
|
_ACEOF
|
7774 |
|
|
|
7775 |
|
|
case $ac_config_files in *"
|
7776 |
|
|
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
7777 |
|
|
esac
|
7778 |
|
|
|
7779 |
|
|
case $ac_config_headers in *"
|
7780 |
|
|
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
7781 |
|
|
esac
|
7782 |
|
|
|
7783 |
|
|
|
7784 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7785 |
|
|
# Files that config.status was made for.
|
7786 |
|
|
config_files="$ac_config_files"
|
7787 |
|
|
config_headers="$ac_config_headers"
|
7788 |
|
|
config_commands="$ac_config_commands"
|
7789 |
|
|
|
7790 |
|
|
_ACEOF
|
7791 |
|
|
|
7792 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7793 |
|
|
ac_cs_usage="\
|
7794 |
|
|
\`$as_me' instantiates files and other configuration actions
|
7795 |
|
|
from templates according to the current configuration. Unless the files
|
7796 |
|
|
and actions are specified as TAGs, all are instantiated by default.
|
7797 |
|
|
|
7798 |
|
|
Usage: $0 [OPTION]... [TAG]...
|
7799 |
|
|
|
7800 |
|
|
-h, --help print this help, then exit
|
7801 |
|
|
-V, --version print version number and configuration settings, then exit
|
7802 |
|
|
-q, --quiet, --silent
|
7803 |
|
|
do not print progress messages
|
7804 |
|
|
-d, --debug don't remove temporary files
|
7805 |
|
|
--recheck update $as_me by reconfiguring in the same conditions
|
7806 |
|
|
--file=FILE[:TEMPLATE]
|
7807 |
|
|
instantiate the configuration file FILE
|
7808 |
|
|
--header=FILE[:TEMPLATE]
|
7809 |
|
|
instantiate the configuration header FILE
|
7810 |
|
|
|
7811 |
|
|
Configuration files:
|
7812 |
|
|
$config_files
|
7813 |
|
|
|
7814 |
|
|
Configuration headers:
|
7815 |
|
|
$config_headers
|
7816 |
|
|
|
7817 |
|
|
Configuration commands:
|
7818 |
|
|
$config_commands
|
7819 |
|
|
|
7820 |
|
|
Report bugs to the package provider."
|
7821 |
|
|
|
7822 |
|
|
_ACEOF
|
7823 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7824 |
|
|
ac_cs_version="\\
|
7825 |
|
|
gold config.status 0.1
|
7826 |
|
|
configured by $0, generated by GNU Autoconf 2.64,
|
7827 |
|
|
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
7828 |
|
|
|
7829 |
|
|
Copyright (C) 2009 Free Software Foundation, Inc.
|
7830 |
|
|
This config.status script is free software; the Free Software Foundation
|
7831 |
|
|
gives unlimited permission to copy, distribute and modify it."
|
7832 |
|
|
|
7833 |
|
|
ac_pwd='$ac_pwd'
|
7834 |
|
|
srcdir='$srcdir'
|
7835 |
|
|
INSTALL='$INSTALL'
|
7836 |
|
|
MKDIR_P='$MKDIR_P'
|
7837 |
|
|
AWK='$AWK'
|
7838 |
|
|
test -n "\$AWK" || AWK=awk
|
7839 |
|
|
_ACEOF
|
7840 |
|
|
|
7841 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7842 |
|
|
# The default lists apply if the user does not specify any file.
|
7843 |
|
|
ac_need_defaults=:
|
7844 |
|
|
while test $# != 0
|
7845 |
|
|
do
|
7846 |
|
|
case $1 in
|
7847 |
|
|
--*=*)
|
7848 |
|
|
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
7849 |
|
|
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
7850 |
|
|
ac_shift=:
|
7851 |
|
|
;;
|
7852 |
|
|
*)
|
7853 |
|
|
ac_option=$1
|
7854 |
|
|
ac_optarg=$2
|
7855 |
|
|
ac_shift=shift
|
7856 |
|
|
;;
|
7857 |
|
|
esac
|
7858 |
|
|
|
7859 |
|
|
case $ac_option in
|
7860 |
|
|
# Handling of the options.
|
7861 |
|
|
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
7862 |
|
|
ac_cs_recheck=: ;;
|
7863 |
|
|
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
7864 |
|
|
$as_echo "$ac_cs_version"; exit ;;
|
7865 |
|
|
--debug | --debu | --deb | --de | --d | -d )
|
7866 |
|
|
debug=: ;;
|
7867 |
|
|
--file | --fil | --fi | --f )
|
7868 |
|
|
$ac_shift
|
7869 |
|
|
case $ac_optarg in
|
7870 |
|
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
7871 |
|
|
esac
|
7872 |
|
|
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
7873 |
|
|
ac_need_defaults=false;;
|
7874 |
|
|
--header | --heade | --head | --hea )
|
7875 |
|
|
$ac_shift
|
7876 |
|
|
case $ac_optarg in
|
7877 |
|
|
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
7878 |
|
|
esac
|
7879 |
|
|
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
|
7880 |
|
|
ac_need_defaults=false;;
|
7881 |
|
|
--he | --h)
|
7882 |
|
|
# Conflict between --help and --header
|
7883 |
|
|
as_fn_error "ambiguous option: \`$1'
|
7884 |
|
|
Try \`$0 --help' for more information.";;
|
7885 |
|
|
--help | --hel | -h )
|
7886 |
|
|
$as_echo "$ac_cs_usage"; exit ;;
|
7887 |
|
|
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
7888 |
|
|
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
7889 |
|
|
ac_cs_silent=: ;;
|
7890 |
|
|
|
7891 |
|
|
# This is an error.
|
7892 |
|
|
-*) as_fn_error "unrecognized option: \`$1'
|
7893 |
|
|
Try \`$0 --help' for more information." ;;
|
7894 |
|
|
|
7895 |
|
|
*) as_fn_append ac_config_targets " $1"
|
7896 |
|
|
ac_need_defaults=false ;;
|
7897 |
|
|
|
7898 |
|
|
esac
|
7899 |
|
|
shift
|
7900 |
|
|
done
|
7901 |
|
|
|
7902 |
|
|
ac_configure_extra_args=
|
7903 |
|
|
|
7904 |
|
|
if $ac_cs_silent; then
|
7905 |
|
|
exec 6>/dev/null
|
7906 |
|
|
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
7907 |
|
|
fi
|
7908 |
|
|
|
7909 |
|
|
_ACEOF
|
7910 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7911 |
|
|
if \$ac_cs_recheck; then
|
7912 |
|
|
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
7913 |
|
|
shift
|
7914 |
|
|
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
7915 |
|
|
CONFIG_SHELL='$SHELL'
|
7916 |
|
|
export CONFIG_SHELL
|
7917 |
|
|
exec "\$@"
|
7918 |
|
|
fi
|
7919 |
|
|
|
7920 |
|
|
_ACEOF
|
7921 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7922 |
|
|
exec 5>>config.log
|
7923 |
|
|
{
|
7924 |
|
|
echo
|
7925 |
|
|
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
7926 |
|
|
## Running $as_me. ##
|
7927 |
|
|
_ASBOX
|
7928 |
|
|
$as_echo "$ac_log"
|
7929 |
|
|
} >&5
|
7930 |
|
|
|
7931 |
|
|
_ACEOF
|
7932 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
7933 |
|
|
#
|
7934 |
|
|
# INIT-COMMANDS
|
7935 |
|
|
#
|
7936 |
|
|
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
7937 |
|
|
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
|
7938 |
|
|
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
|
7939 |
|
|
# from automake.
|
7940 |
|
|
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
|
7941 |
|
|
# Capture the value of LINGUAS because we need it to compute CATALOGS.
|
7942 |
|
|
LINGUAS="${LINGUAS-%UNSET%}"
|
7943 |
|
|
|
7944 |
|
|
|
7945 |
|
|
_ACEOF
|
7946 |
|
|
|
7947 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
7948 |
|
|
|
7949 |
|
|
# Handling of arguments.
|
7950 |
|
|
for ac_config_target in $ac_config_targets
|
7951 |
|
|
do
|
7952 |
|
|
case $ac_config_target in
|
7953 |
|
|
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
|
7954 |
|
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
7955 |
|
|
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
|
7956 |
|
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
7957 |
|
|
"testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
|
7958 |
|
|
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
|
7959 |
|
|
|
7960 |
|
|
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
7961 |
|
|
esac
|
7962 |
|
|
done
|
7963 |
|
|
|
7964 |
|
|
|
7965 |
|
|
# If the user did not use the arguments to specify the items to instantiate,
|
7966 |
|
|
# then the envvar interface is used. Set only those that are not.
|
7967 |
|
|
# We use the long form for the default assignment because of an extremely
|
7968 |
|
|
# bizarre bug on SunOS 4.1.3.
|
7969 |
|
|
if $ac_need_defaults; then
|
7970 |
|
|
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
7971 |
|
|
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
7972 |
|
|
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
7973 |
|
|
fi
|
7974 |
|
|
|
7975 |
|
|
# Have a temporary directory for convenience. Make it in the build tree
|
7976 |
|
|
# simply because there is no reason against having it here, and in addition,
|
7977 |
|
|
# creating and moving files from /tmp can sometimes cause problems.
|
7978 |
|
|
# Hook for its removal unless debugging.
|
7979 |
|
|
# Note that there is a small window in which the directory will not be cleaned:
|
7980 |
|
|
# after its creation but before its name has been assigned to `$tmp'.
|
7981 |
|
|
$debug ||
|
7982 |
|
|
{
|
7983 |
|
|
tmp=
|
7984 |
|
|
trap 'exit_status=$?
|
7985 |
|
|
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
7986 |
|
|
' 0
|
7987 |
|
|
trap 'as_fn_exit 1' 1 2 13 15
|
7988 |
|
|
}
|
7989 |
|
|
# Create a (secure) tmp directory for tmp files.
|
7990 |
|
|
|
7991 |
|
|
{
|
7992 |
|
|
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
7993 |
|
|
test -n "$tmp" && test -d "$tmp"
|
7994 |
|
|
} ||
|
7995 |
|
|
{
|
7996 |
|
|
tmp=./conf$$-$RANDOM
|
7997 |
|
|
(umask 077 && mkdir "$tmp")
|
7998 |
|
|
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
7999 |
|
|
|
8000 |
|
|
# Set up the scripts for CONFIG_FILES section.
|
8001 |
|
|
# No need to generate them if there are no CONFIG_FILES.
|
8002 |
|
|
# This happens for instance with `./config.status config.h'.
|
8003 |
|
|
if test -n "$CONFIG_FILES"; then
|
8004 |
|
|
|
8005 |
|
|
|
8006 |
|
|
ac_cr=`echo X | tr X '\015'`
|
8007 |
|
|
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
8008 |
|
|
# But we know of no other shell where ac_cr would be empty at this
|
8009 |
|
|
# point, so we can use a bashism as a fallback.
|
8010 |
|
|
if test "x$ac_cr" = x; then
|
8011 |
|
|
eval ac_cr=\$\'\\r\'
|
8012 |
|
|
fi
|
8013 |
|
|
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
|
8014 |
|
|
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
8015 |
|
|
ac_cs_awk_cr='\r'
|
8016 |
|
|
else
|
8017 |
|
|
ac_cs_awk_cr=$ac_cr
|
8018 |
|
|
fi
|
8019 |
|
|
|
8020 |
|
|
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
8021 |
|
|
_ACEOF
|
8022 |
|
|
|
8023 |
|
|
|
8024 |
|
|
{
|
8025 |
|
|
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
8026 |
|
|
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
8027 |
|
|
echo "_ACEOF"
|
8028 |
|
|
} >conf$$subs.sh ||
|
8029 |
|
|
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
8030 |
|
|
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
8031 |
|
|
ac_delim='%!_!# '
|
8032 |
|
|
for ac_last_try in false false false false false :; do
|
8033 |
|
|
. ./conf$$subs.sh ||
|
8034 |
|
|
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
8035 |
|
|
|
8036 |
|
|
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
8037 |
|
|
if test $ac_delim_n = $ac_delim_num; then
|
8038 |
|
|
break
|
8039 |
|
|
elif $ac_last_try; then
|
8040 |
|
|
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
8041 |
|
|
else
|
8042 |
|
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
8043 |
|
|
fi
|
8044 |
|
|
done
|
8045 |
|
|
rm -f conf$$subs.sh
|
8046 |
|
|
|
8047 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8048 |
|
|
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
8049 |
|
|
_ACEOF
|
8050 |
|
|
sed -n '
|
8051 |
|
|
h
|
8052 |
|
|
s/^/S["/; s/!.*/"]=/
|
8053 |
|
|
p
|
8054 |
|
|
g
|
8055 |
|
|
s/^[^!]*!//
|
8056 |
|
|
:repl
|
8057 |
|
|
t repl
|
8058 |
|
|
s/'"$ac_delim"'$//
|
8059 |
|
|
t delim
|
8060 |
|
|
:nl
|
8061 |
|
|
h
|
8062 |
|
|
s/\(.\{148\}\).*/\1/
|
8063 |
|
|
t more1
|
8064 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
8065 |
|
|
p
|
8066 |
|
|
n
|
8067 |
|
|
b repl
|
8068 |
|
|
:more1
|
8069 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
8070 |
|
|
p
|
8071 |
|
|
g
|
8072 |
|
|
s/.\{148\}//
|
8073 |
|
|
t nl
|
8074 |
|
|
:delim
|
8075 |
|
|
h
|
8076 |
|
|
s/\(.\{148\}\).*/\1/
|
8077 |
|
|
t more2
|
8078 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
8079 |
|
|
p
|
8080 |
|
|
b
|
8081 |
|
|
:more2
|
8082 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
8083 |
|
|
p
|
8084 |
|
|
g
|
8085 |
|
|
s/.\{148\}//
|
8086 |
|
|
t delim
|
8087 |
|
|
'
|
8088 |
|
|
/^[^""]/{
|
8089 |
|
|
N
|
8090 |
|
|
s/\n//
|
8091 |
|
|
}
|
8092 |
|
|
' >>$CONFIG_STATUS || ac_write_fail=1
|
8093 |
|
|
rm -f conf$$subs.awk
|
8094 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8095 |
|
|
_ACAWK
|
8096 |
|
|
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
8097 |
|
|
for (key in S) S_is_set[key] = 1
|
8098 |
|
|
FS = ""
|
8099 |
|
|
|
8100 |
|
|
}
|
8101 |
|
|
{
|
8102 |
|
|
line = $ 0
|
8103 |
|
|
nfields = split(line, field, "@")
|
8104 |
|
|
substed = 0
|
8105 |
|
|
len = length(field[1])
|
8106 |
|
|
for (i = 2; i < nfields; i++) {
|
8107 |
|
|
key = field[i]
|
8108 |
|
|
keylen = length(key)
|
8109 |
|
|
if (S_is_set[key]) {
|
8110 |
|
|
value = S[key]
|
8111 |
|
|
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
8112 |
|
|
len += length(value) + length(field[++i])
|
8113 |
|
|
substed = 1
|
8114 |
|
|
} else
|
8115 |
|
|
len += 1 + keylen
|
8116 |
|
|
}
|
8117 |
|
|
|
8118 |
|
|
print line
|
8119 |
|
|
}
|
8120 |
|
|
|
8121 |
|
|
_ACAWK
|
8122 |
|
|
_ACEOF
|
8123 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8124 |
|
|
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
8125 |
|
|
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
8126 |
|
|
else
|
8127 |
|
|
cat
|
8128 |
|
|
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
8129 |
|
|
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
8130 |
|
|
_ACEOF
|
8131 |
|
|
|
8132 |
|
|
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
8133 |
|
|
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
8134 |
|
|
# trailing colons and then remove the whole line if VPATH becomes empty
|
8135 |
|
|
# (actually we leave an empty line to preserve line numbers).
|
8136 |
|
|
if test "x$srcdir" = x.; then
|
8137 |
|
|
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
8138 |
|
|
s/:*\$(srcdir):*/:/
|
8139 |
|
|
s/:*\${srcdir}:*/:/
|
8140 |
|
|
s/:*@srcdir@:*/:/
|
8141 |
|
|
s/^\([^=]*=[ ]*\):*/\1/
|
8142 |
|
|
s/:*$//
|
8143 |
|
|
s/^[^=]*=[ ]*$//
|
8144 |
|
|
}'
|
8145 |
|
|
fi
|
8146 |
|
|
|
8147 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8148 |
|
|
fi # test -n "$CONFIG_FILES"
|
8149 |
|
|
|
8150 |
|
|
# Set up the scripts for CONFIG_HEADERS section.
|
8151 |
|
|
# No need to generate them if there are no CONFIG_HEADERS.
|
8152 |
|
|
# This happens for instance with `./config.status Makefile'.
|
8153 |
|
|
if test -n "$CONFIG_HEADERS"; then
|
8154 |
|
|
cat >"$tmp/defines.awk" <<\_ACAWK ||
|
8155 |
|
|
BEGIN {
|
8156 |
|
|
_ACEOF
|
8157 |
|
|
|
8158 |
|
|
# Transform confdefs.h into an awk script `defines.awk', embedded as
|
8159 |
|
|
# here-document in config.status, that substitutes the proper values into
|
8160 |
|
|
# config.h.in to produce config.h.
|
8161 |
|
|
|
8162 |
|
|
# Create a delimiter string that does not exist in confdefs.h, to ease
|
8163 |
|
|
# handling of long lines.
|
8164 |
|
|
ac_delim='%!_!# '
|
8165 |
|
|
for ac_last_try in false false :; do
|
8166 |
|
|
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
|
8167 |
|
|
if test -z "$ac_t"; then
|
8168 |
|
|
break
|
8169 |
|
|
elif $ac_last_try; then
|
8170 |
|
|
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
|
8171 |
|
|
else
|
8172 |
|
|
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
8173 |
|
|
fi
|
8174 |
|
|
done
|
8175 |
|
|
|
8176 |
|
|
# For the awk script, D is an array of macro values keyed by name,
|
8177 |
|
|
# likewise P contains macro parameters if any. Preserve backslash
|
8178 |
|
|
# newline sequences.
|
8179 |
|
|
|
8180 |
|
|
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
|
8181 |
|
|
sed -n '
|
8182 |
|
|
s/.\{148\}/&'"$ac_delim"'/g
|
8183 |
|
|
t rset
|
8184 |
|
|
:rset
|
8185 |
|
|
s/^[ ]*#[ ]*define[ ][ ]*/ /
|
8186 |
|
|
t def
|
8187 |
|
|
d
|
8188 |
|
|
:def
|
8189 |
|
|
s/\\$//
|
8190 |
|
|
t bsnl
|
8191 |
|
|
s/["\\]/\\&/g
|
8192 |
|
|
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
8193 |
|
|
D["\1"]=" \3"/p
|
8194 |
|
|
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
|
8195 |
|
|
d
|
8196 |
|
|
:bsnl
|
8197 |
|
|
s/["\\]/\\&/g
|
8198 |
|
|
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
|
8199 |
|
|
D["\1"]=" \3\\\\\\n"\\/p
|
8200 |
|
|
t cont
|
8201 |
|
|
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
|
8202 |
|
|
t cont
|
8203 |
|
|
d
|
8204 |
|
|
:cont
|
8205 |
|
|
n
|
8206 |
|
|
s/.\{148\}/&'"$ac_delim"'/g
|
8207 |
|
|
t clear
|
8208 |
|
|
:clear
|
8209 |
|
|
s/\\$//
|
8210 |
|
|
t bsnlc
|
8211 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/"/p
|
8212 |
|
|
d
|
8213 |
|
|
:bsnlc
|
8214 |
|
|
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
|
8215 |
|
|
b cont
|
8216 |
|
|
'
|
8217 |
|
|
s/'"$ac_delim"'/"\\\
|
8218 |
|
|
"/g' >>$CONFIG_STATUS || ac_write_fail=1
|
8219 |
|
|
|
8220 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8221 |
|
|
for (key in D) D_is_set[key] = 1
|
8222 |
|
|
FS = ""
|
8223 |
|
|
}
|
8224 |
|
|
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
|
8225 |
|
|
line = \$ 0
|
8226 |
|
|
split(line, arg, " ")
|
8227 |
|
|
if (arg[1] == "#") {
|
8228 |
|
|
defundef = arg[2]
|
8229 |
|
|
mac1 = arg[3]
|
8230 |
|
|
} else {
|
8231 |
|
|
defundef = substr(arg[1], 2)
|
8232 |
|
|
mac1 = arg[2]
|
8233 |
|
|
}
|
8234 |
|
|
split(mac1, mac2, "(") #)
|
8235 |
|
|
macro = mac2[1]
|
8236 |
|
|
prefix = substr(line, 1, index(line, defundef) - 1)
|
8237 |
|
|
if (D_is_set[macro]) {
|
8238 |
|
|
# Preserve the white space surrounding the "#".
|
8239 |
|
|
print prefix "define", macro P[macro] D[macro]
|
8240 |
|
|
next
|
8241 |
|
|
} else {
|
8242 |
|
|
# Replace #undef with comments. This is necessary, for example,
|
8243 |
|
|
# in the case of _POSIX_SOURCE, which is predefined and required
|
8244 |
|
|
# on some systems where configure will not decide to define it.
|
8245 |
|
|
if (defundef == "undef") {
|
8246 |
|
|
print "/*", prefix defundef, macro, "*/"
|
8247 |
|
|
next
|
8248 |
|
|
}
|
8249 |
|
|
}
|
8250 |
|
|
}
|
8251 |
|
|
{ print }
|
8252 |
|
|
_ACAWK
|
8253 |
|
|
_ACEOF
|
8254 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8255 |
|
|
as_fn_error "could not setup config headers machinery" "$LINENO" 5
|
8256 |
|
|
fi # test -n "$CONFIG_HEADERS"
|
8257 |
|
|
|
8258 |
|
|
|
8259 |
|
|
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
|
8260 |
|
|
shift
|
8261 |
|
|
for ac_tag
|
8262 |
|
|
do
|
8263 |
|
|
case $ac_tag in
|
8264 |
|
|
:[FHLC]) ac_mode=$ac_tag; continue;;
|
8265 |
|
|
esac
|
8266 |
|
|
case $ac_mode$ac_tag in
|
8267 |
|
|
:[FHL]*:*);;
|
8268 |
|
|
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
8269 |
|
|
:[FH]-) ac_tag=-:-;;
|
8270 |
|
|
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
8271 |
|
|
esac
|
8272 |
|
|
ac_save_IFS=$IFS
|
8273 |
|
|
IFS=:
|
8274 |
|
|
set x $ac_tag
|
8275 |
|
|
IFS=$ac_save_IFS
|
8276 |
|
|
shift
|
8277 |
|
|
ac_file=$1
|
8278 |
|
|
shift
|
8279 |
|
|
|
8280 |
|
|
case $ac_mode in
|
8281 |
|
|
:L) ac_source=$1;;
|
8282 |
|
|
:[FH])
|
8283 |
|
|
ac_file_inputs=
|
8284 |
|
|
for ac_f
|
8285 |
|
|
do
|
8286 |
|
|
case $ac_f in
|
8287 |
|
|
-) ac_f="$tmp/stdin";;
|
8288 |
|
|
*) # Look for the file first in the build tree, then in the source tree
|
8289 |
|
|
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
8290 |
|
|
# because $ac_f cannot contain `:'.
|
8291 |
|
|
test -f "$ac_f" ||
|
8292 |
|
|
case $ac_f in
|
8293 |
|
|
[\\/$]*) false;;
|
8294 |
|
|
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
8295 |
|
|
esac ||
|
8296 |
|
|
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
8297 |
|
|
esac
|
8298 |
|
|
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
8299 |
|
|
as_fn_append ac_file_inputs " '$ac_f'"
|
8300 |
|
|
done
|
8301 |
|
|
|
8302 |
|
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
8303 |
|
|
# use $as_me), people would be surprised to read:
|
8304 |
|
|
# /* config.h. Generated by config.status. */
|
8305 |
|
|
configure_input='Generated from '`
|
8306 |
|
|
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
8307 |
|
|
`' by configure.'
|
8308 |
|
|
if test x"$ac_file" != x-; then
|
8309 |
|
|
configure_input="$ac_file. $configure_input"
|
8310 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
8311 |
|
|
$as_echo "$as_me: creating $ac_file" >&6;}
|
8312 |
|
|
fi
|
8313 |
|
|
# Neutralize special characters interpreted by sed in replacement strings.
|
8314 |
|
|
case $configure_input in #(
|
8315 |
|
|
*\&* | *\|* | *\\* )
|
8316 |
|
|
ac_sed_conf_input=`$as_echo "$configure_input" |
|
8317 |
|
|
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
8318 |
|
|
*) ac_sed_conf_input=$configure_input;;
|
8319 |
|
|
esac
|
8320 |
|
|
|
8321 |
|
|
case $ac_tag in
|
8322 |
|
|
*:-:* | *:-) cat >"$tmp/stdin" \
|
8323 |
|
|
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
8324 |
|
|
esac
|
8325 |
|
|
;;
|
8326 |
|
|
esac
|
8327 |
|
|
|
8328 |
|
|
ac_dir=`$as_dirname -- "$ac_file" ||
|
8329 |
|
|
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8330 |
|
|
X"$ac_file" : 'X\(//\)[^/]' \| \
|
8331 |
|
|
X"$ac_file" : 'X\(//\)$' \| \
|
8332 |
|
|
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
8333 |
|
|
$as_echo X"$ac_file" |
|
8334 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8335 |
|
|
s//\1/
|
8336 |
|
|
q
|
8337 |
|
|
}
|
8338 |
|
|
/^X\(\/\/\)[^/].*/{
|
8339 |
|
|
s//\1/
|
8340 |
|
|
q
|
8341 |
|
|
}
|
8342 |
|
|
/^X\(\/\/\)$/{
|
8343 |
|
|
s//\1/
|
8344 |
|
|
q
|
8345 |
|
|
}
|
8346 |
|
|
/^X\(\/\).*/{
|
8347 |
|
|
s//\1/
|
8348 |
|
|
q
|
8349 |
|
|
}
|
8350 |
|
|
s/.*/./; q'`
|
8351 |
|
|
as_dir="$ac_dir"; as_fn_mkdir_p
|
8352 |
|
|
ac_builddir=.
|
8353 |
|
|
|
8354 |
|
|
case "$ac_dir" in
|
8355 |
|
|
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
8356 |
|
|
*)
|
8357 |
|
|
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
8358 |
|
|
# A ".." for each directory in $ac_dir_suffix.
|
8359 |
|
|
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
8360 |
|
|
case $ac_top_builddir_sub in
|
8361 |
|
|
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
8362 |
|
|
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
8363 |
|
|
esac ;;
|
8364 |
|
|
esac
|
8365 |
|
|
ac_abs_top_builddir=$ac_pwd
|
8366 |
|
|
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
8367 |
|
|
# for backward compatibility:
|
8368 |
|
|
ac_top_builddir=$ac_top_build_prefix
|
8369 |
|
|
|
8370 |
|
|
case $srcdir in
|
8371 |
|
|
.) # We are building in place.
|
8372 |
|
|
ac_srcdir=.
|
8373 |
|
|
ac_top_srcdir=$ac_top_builddir_sub
|
8374 |
|
|
ac_abs_top_srcdir=$ac_pwd ;;
|
8375 |
|
|
[\\/]* | ?:[\\/]* ) # Absolute name.
|
8376 |
|
|
ac_srcdir=$srcdir$ac_dir_suffix;
|
8377 |
|
|
ac_top_srcdir=$srcdir
|
8378 |
|
|
ac_abs_top_srcdir=$srcdir ;;
|
8379 |
|
|
*) # Relative name.
|
8380 |
|
|
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
8381 |
|
|
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
8382 |
|
|
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
8383 |
|
|
esac
|
8384 |
|
|
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
8385 |
|
|
|
8386 |
|
|
|
8387 |
|
|
case $ac_mode in
|
8388 |
|
|
:F)
|
8389 |
|
|
#
|
8390 |
|
|
# CONFIG_FILE
|
8391 |
|
|
#
|
8392 |
|
|
|
8393 |
|
|
case $INSTALL in
|
8394 |
|
|
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
8395 |
|
|
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
8396 |
|
|
esac
|
8397 |
|
|
ac_MKDIR_P=$MKDIR_P
|
8398 |
|
|
case $MKDIR_P in
|
8399 |
|
|
[\\/$]* | ?:[\\/]* ) ;;
|
8400 |
|
|
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
8401 |
|
|
esac
|
8402 |
|
|
_ACEOF
|
8403 |
|
|
|
8404 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8405 |
|
|
# If the template does not know about datarootdir, expand it.
|
8406 |
|
|
# FIXME: This hack should be removed a few years after 2.60.
|
8407 |
|
|
ac_datarootdir_hack=; ac_datarootdir_seen=
|
8408 |
|
|
ac_sed_dataroot='
|
8409 |
|
|
/datarootdir/ {
|
8410 |
|
|
p
|
8411 |
|
|
q
|
8412 |
|
|
}
|
8413 |
|
|
/@datadir@/p
|
8414 |
|
|
/@docdir@/p
|
8415 |
|
|
/@infodir@/p
|
8416 |
|
|
/@localedir@/p
|
8417 |
|
|
/@mandir@/p'
|
8418 |
|
|
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
8419 |
|
|
*datarootdir*) ac_datarootdir_seen=yes;;
|
8420 |
|
|
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
8421 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
8422 |
|
|
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
8423 |
|
|
_ACEOF
|
8424 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8425 |
|
|
ac_datarootdir_hack='
|
8426 |
|
|
s&@datadir@&$datadir&g
|
8427 |
|
|
s&@docdir@&$docdir&g
|
8428 |
|
|
s&@infodir@&$infodir&g
|
8429 |
|
|
s&@localedir@&$localedir&g
|
8430 |
|
|
s&@mandir@&$mandir&g
|
8431 |
|
|
s&\\\${datarootdir}&$datarootdir&g' ;;
|
8432 |
|
|
esac
|
8433 |
|
|
_ACEOF
|
8434 |
|
|
|
8435 |
|
|
# Neutralize VPATH when `$srcdir' = `.'.
|
8436 |
|
|
# Shell code in configure.ac might set extrasub.
|
8437 |
|
|
# FIXME: do we really want to maintain this feature?
|
8438 |
|
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
8439 |
|
|
ac_sed_extra="$ac_vpsub
|
8440 |
|
|
$extrasub
|
8441 |
|
|
_ACEOF
|
8442 |
|
|
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
8443 |
|
|
:t
|
8444 |
|
|
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
8445 |
|
|
s|@configure_input@|$ac_sed_conf_input|;t t
|
8446 |
|
|
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
8447 |
|
|
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
8448 |
|
|
s&@srcdir@&$ac_srcdir&;t t
|
8449 |
|
|
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
8450 |
|
|
s&@top_srcdir@&$ac_top_srcdir&;t t
|
8451 |
|
|
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
8452 |
|
|
s&@builddir@&$ac_builddir&;t t
|
8453 |
|
|
s&@abs_builddir@&$ac_abs_builddir&;t t
|
8454 |
|
|
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
8455 |
|
|
s&@INSTALL@&$ac_INSTALL&;t t
|
8456 |
|
|
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
8457 |
|
|
$ac_datarootdir_hack
|
8458 |
|
|
"
|
8459 |
|
|
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
8460 |
|
|
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
8461 |
|
|
|
8462 |
|
|
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
8463 |
|
|
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
8464 |
|
|
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
8465 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
8466 |
|
|
which seems to be undefined. Please make sure it is defined." >&5
|
8467 |
|
|
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
8468 |
|
|
which seems to be undefined. Please make sure it is defined." >&2;}
|
8469 |
|
|
|
8470 |
|
|
rm -f "$tmp/stdin"
|
8471 |
|
|
case $ac_file in
|
8472 |
|
|
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
8473 |
|
|
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
8474 |
|
|
esac \
|
8475 |
|
|
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
8476 |
|
|
;;
|
8477 |
|
|
:H)
|
8478 |
|
|
#
|
8479 |
|
|
# CONFIG_HEADER
|
8480 |
|
|
#
|
8481 |
|
|
if test x"$ac_file" != x-; then
|
8482 |
|
|
{
|
8483 |
|
|
$as_echo "/* $configure_input */" \
|
8484 |
|
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
|
8485 |
|
|
} >"$tmp/config.h" \
|
8486 |
|
|
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
8487 |
|
|
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
|
8488 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
|
8489 |
|
|
$as_echo "$as_me: $ac_file is unchanged" >&6;}
|
8490 |
|
|
else
|
8491 |
|
|
rm -f "$ac_file"
|
8492 |
|
|
mv "$tmp/config.h" "$ac_file" \
|
8493 |
|
|
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
8494 |
|
|
fi
|
8495 |
|
|
else
|
8496 |
|
|
$as_echo "/* $configure_input */" \
|
8497 |
|
|
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
|
8498 |
|
|
|| as_fn_error "could not create -" "$LINENO" 5
|
8499 |
|
|
fi
|
8500 |
|
|
# Compute "$ac_file"'s index in $config_headers.
|
8501 |
|
|
_am_arg="$ac_file"
|
8502 |
|
|
_am_stamp_count=1
|
8503 |
|
|
for _am_header in $config_headers :; do
|
8504 |
|
|
case $_am_header in
|
8505 |
|
|
$_am_arg | $_am_arg:* )
|
8506 |
|
|
break ;;
|
8507 |
|
|
* )
|
8508 |
|
|
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
8509 |
|
|
esac
|
8510 |
|
|
done
|
8511 |
|
|
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
|
8512 |
|
|
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8513 |
|
|
X"$_am_arg" : 'X\(//\)[^/]' \| \
|
8514 |
|
|
X"$_am_arg" : 'X\(//\)$' \| \
|
8515 |
|
|
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
|
8516 |
|
|
$as_echo X"$_am_arg" |
|
8517 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8518 |
|
|
s//\1/
|
8519 |
|
|
q
|
8520 |
|
|
}
|
8521 |
|
|
/^X\(\/\/\)[^/].*/{
|
8522 |
|
|
s//\1/
|
8523 |
|
|
q
|
8524 |
|
|
}
|
8525 |
|
|
/^X\(\/\/\)$/{
|
8526 |
|
|
s//\1/
|
8527 |
|
|
q
|
8528 |
|
|
}
|
8529 |
|
|
/^X\(\/\).*/{
|
8530 |
|
|
s//\1/
|
8531 |
|
|
q
|
8532 |
|
|
}
|
8533 |
|
|
s/.*/./; q'`/stamp-h$_am_stamp_count
|
8534 |
|
|
;;
|
8535 |
|
|
|
8536 |
|
|
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
8537 |
|
|
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
8538 |
|
|
;;
|
8539 |
|
|
esac
|
8540 |
|
|
|
8541 |
|
|
|
8542 |
|
|
case $ac_file$ac_mode in
|
8543 |
|
|
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
8544 |
|
|
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
8545 |
|
|
# are listed without --file. Let's play safe and only enable the eval
|
8546 |
|
|
# if we detect the quoting.
|
8547 |
|
|
case $CONFIG_FILES in
|
8548 |
|
|
*\'*) eval set x "$CONFIG_FILES" ;;
|
8549 |
|
|
*) set x $CONFIG_FILES ;;
|
8550 |
|
|
esac
|
8551 |
|
|
shift
|
8552 |
|
|
for mf
|
8553 |
|
|
do
|
8554 |
|
|
# Strip MF so we end up with the name of the file.
|
8555 |
|
|
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
8556 |
|
|
# Check whether this is an Automake generated Makefile or not.
|
8557 |
|
|
# We used to match only the files named `Makefile.in', but
|
8558 |
|
|
# some people rename them; so instead we look at the file content.
|
8559 |
|
|
# Grep'ing the first line is not enough: some people post-process
|
8560 |
|
|
# each Makefile.in and add a new line on top of each file to say so.
|
8561 |
|
|
# Grep'ing the whole file is not good either: AIX grep has a line
|
8562 |
|
|
# limit of 2048, but all sed's we know have understand at least 4000.
|
8563 |
|
|
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
8564 |
|
|
dirpart=`$as_dirname -- "$mf" ||
|
8565 |
|
|
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8566 |
|
|
X"$mf" : 'X\(//\)[^/]' \| \
|
8567 |
|
|
X"$mf" : 'X\(//\)$' \| \
|
8568 |
|
|
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
8569 |
|
|
$as_echo X"$mf" |
|
8570 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8571 |
|
|
s//\1/
|
8572 |
|
|
q
|
8573 |
|
|
}
|
8574 |
|
|
/^X\(\/\/\)[^/].*/{
|
8575 |
|
|
s//\1/
|
8576 |
|
|
q
|
8577 |
|
|
}
|
8578 |
|
|
/^X\(\/\/\)$/{
|
8579 |
|
|
s//\1/
|
8580 |
|
|
q
|
8581 |
|
|
}
|
8582 |
|
|
/^X\(\/\).*/{
|
8583 |
|
|
s//\1/
|
8584 |
|
|
q
|
8585 |
|
|
}
|
8586 |
|
|
s/.*/./; q'`
|
8587 |
|
|
else
|
8588 |
|
|
continue
|
8589 |
|
|
fi
|
8590 |
|
|
# Extract the definition of DEPDIR, am__include, and am__quote
|
8591 |
|
|
# from the Makefile without running `make'.
|
8592 |
|
|
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
8593 |
|
|
test -z "$DEPDIR" && continue
|
8594 |
|
|
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
8595 |
|
|
test -z "am__include" && continue
|
8596 |
|
|
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
8597 |
|
|
# When using ansi2knr, U may be empty or an underscore; expand it
|
8598 |
|
|
U=`sed -n 's/^U = //p' < "$mf"`
|
8599 |
|
|
# Find all dependency output files, they are included files with
|
8600 |
|
|
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
8601 |
|
|
# simplest approach to changing $(DEPDIR) to its actual value in the
|
8602 |
|
|
# expansion.
|
8603 |
|
|
for file in `sed -n "
|
8604 |
|
|
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
8605 |
|
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
8606 |
|
|
# Make sure the directory exists.
|
8607 |
|
|
test -f "$dirpart/$file" && continue
|
8608 |
|
|
fdir=`$as_dirname -- "$file" ||
|
8609 |
|
|
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
8610 |
|
|
X"$file" : 'X\(//\)[^/]' \| \
|
8611 |
|
|
X"$file" : 'X\(//\)$' \| \
|
8612 |
|
|
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
8613 |
|
|
$as_echo X"$file" |
|
8614 |
|
|
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
8615 |
|
|
s//\1/
|
8616 |
|
|
q
|
8617 |
|
|
}
|
8618 |
|
|
/^X\(\/\/\)[^/].*/{
|
8619 |
|
|
s//\1/
|
8620 |
|
|
q
|
8621 |
|
|
}
|
8622 |
|
|
/^X\(\/\/\)$/{
|
8623 |
|
|
s//\1/
|
8624 |
|
|
q
|
8625 |
|
|
}
|
8626 |
|
|
/^X\(\/\).*/{
|
8627 |
|
|
s//\1/
|
8628 |
|
|
q
|
8629 |
|
|
}
|
8630 |
|
|
s/.*/./; q'`
|
8631 |
|
|
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
8632 |
|
|
# echo "creating $dirpart/$file"
|
8633 |
|
|
echo '# dummy' > "$dirpart/$file"
|
8634 |
|
|
done
|
8635 |
|
|
done
|
8636 |
|
|
}
|
8637 |
|
|
;;
|
8638 |
|
|
"default-1":C)
|
8639 |
|
|
for ac_file in $CONFIG_FILES; do
|
8640 |
|
|
# Support "outfile[:infile[:infile...]]"
|
8641 |
|
|
case "$ac_file" in
|
8642 |
|
|
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
8643 |
|
|
esac
|
8644 |
|
|
# PO directories have a Makefile.in generated from Makefile.in.in.
|
8645 |
|
|
case "$ac_file" in */Makefile.in)
|
8646 |
|
|
# Adjust a relative srcdir.
|
8647 |
|
|
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
|
8648 |
|
|
ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
|
8649 |
|
|
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
|
8650 |
|
|
# In autoconf-2.13 it is called $ac_given_srcdir.
|
8651 |
|
|
# In autoconf-2.50 it is called $srcdir.
|
8652 |
|
|
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
|
8653 |
|
|
case "$ac_given_srcdir" in
|
8654 |
|
|
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
|
8655 |
|
|
/*) top_srcdir="$ac_given_srcdir" ;;
|
8656 |
|
|
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
8657 |
|
|
esac
|
8658 |
|
|
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
|
8659 |
|
|
rm -f "$ac_dir/POTFILES"
|
8660 |
|
|
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
|
8661 |
|
|
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
|
8662 |
|
|
POMAKEFILEDEPS="POTFILES.in"
|
8663 |
|
|
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
|
8664 |
|
|
# on $ac_dir but don't depend on user-specified configuration
|
8665 |
|
|
# parameters.
|
8666 |
|
|
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
|
8667 |
|
|
# The LINGUAS file contains the set of available languages.
|
8668 |
|
|
if test -n "$OBSOLETE_ALL_LINGUAS"; then
|
8669 |
|
|
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
|
8670 |
|
|
fi
|
8671 |
|
|
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
|
8672 |
|
|
# Hide the ALL_LINGUAS assigment from automake.
|
8673 |
|
|
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
|
8674 |
|
|
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
|
8675 |
|
|
else
|
8676 |
|
|
# The set of available languages was given in configure.in.
|
8677 |
|
|
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
|
8678 |
|
|
fi
|
8679 |
|
|
case "$ac_given_srcdir" in
|
8680 |
|
|
.) srcdirpre= ;;
|
8681 |
|
|
*) srcdirpre='$(srcdir)/' ;;
|
8682 |
|
|
esac
|
8683 |
|
|
POFILES=
|
8684 |
|
|
GMOFILES=
|
8685 |
|
|
UPDATEPOFILES=
|
8686 |
|
|
DUMMYPOFILES=
|
8687 |
|
|
for lang in $ALL_LINGUAS; do
|
8688 |
|
|
POFILES="$POFILES $srcdirpre$lang.po"
|
8689 |
|
|
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
|
8690 |
|
|
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
|
8691 |
|
|
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
|
8692 |
|
|
done
|
8693 |
|
|
# CATALOGS depends on both $ac_dir and the user's LINGUAS
|
8694 |
|
|
# environment variable.
|
8695 |
|
|
INST_LINGUAS=
|
8696 |
|
|
if test -n "$ALL_LINGUAS"; then
|
8697 |
|
|
for presentlang in $ALL_LINGUAS; do
|
8698 |
|
|
useit=no
|
8699 |
|
|
if test "%UNSET%" != "$LINGUAS"; then
|
8700 |
|
|
desiredlanguages="$LINGUAS"
|
8701 |
|
|
else
|
8702 |
|
|
desiredlanguages="$ALL_LINGUAS"
|
8703 |
|
|
fi
|
8704 |
|
|
for desiredlang in $desiredlanguages; do
|
8705 |
|
|
# Use the presentlang catalog if desiredlang is
|
8706 |
|
|
# a. equal to presentlang, or
|
8707 |
|
|
# b. a variant of presentlang (because in this case,
|
8708 |
|
|
# presentlang can be used as a fallback for messages
|
8709 |
|
|
# which are not translated in the desiredlang catalog).
|
8710 |
|
|
case "$desiredlang" in
|
8711 |
|
|
"$presentlang"*) useit=yes;;
|
8712 |
|
|
esac
|
8713 |
|
|
done
|
8714 |
|
|
if test $useit = yes; then
|
8715 |
|
|
INST_LINGUAS="$INST_LINGUAS $presentlang"
|
8716 |
|
|
fi
|
8717 |
|
|
done
|
8718 |
|
|
fi
|
8719 |
|
|
CATALOGS=
|
8720 |
|
|
if test -n "$INST_LINGUAS"; then
|
8721 |
|
|
for lang in $INST_LINGUAS; do
|
8722 |
|
|
CATALOGS="$CATALOGS $lang.gmo"
|
8723 |
|
|
done
|
8724 |
|
|
fi
|
8725 |
|
|
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
|
8726 |
|
|
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
|
8727 |
|
|
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
|
8728 |
|
|
if test -f "$f"; then
|
8729 |
|
|
case "$f" in
|
8730 |
|
|
*.orig | *.bak | *~) ;;
|
8731 |
|
|
*) cat "$f" >> "$ac_dir/Makefile" ;;
|
8732 |
|
|
esac
|
8733 |
|
|
fi
|
8734 |
|
|
done
|
8735 |
|
|
fi
|
8736 |
|
|
;;
|
8737 |
|
|
esac
|
8738 |
|
|
done ;;
|
8739 |
|
|
|
8740 |
|
|
esac
|
8741 |
|
|
done # for ac_tag
|
8742 |
|
|
|
8743 |
|
|
|
8744 |
|
|
as_fn_exit 0
|
8745 |
|
|
_ACEOF
|
8746 |
|
|
ac_clean_files=$ac_clean_files_save
|
8747 |
|
|
|
8748 |
|
|
test $ac_write_fail = 0 ||
|
8749 |
|
|
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
8750 |
|
|
|
8751 |
|
|
|
8752 |
|
|
# configure is writing to config.log, and then calls config.status.
|
8753 |
|
|
# config.status does its own redirection, appending to config.log.
|
8754 |
|
|
# Unfortunately, on DOS this fails, as config.log is still kept open
|
8755 |
|
|
# by configure, so config.status won't be able to write to it; its
|
8756 |
|
|
# output is simply discarded. So we exec the FD to /dev/null,
|
8757 |
|
|
# effectively closing config.log, so it can be properly (re)opened and
|
8758 |
|
|
# appended to by config.status. When coming back to configure, we
|
8759 |
|
|
# need to make the FD available again.
|
8760 |
|
|
if test "$no_create" != yes; then
|
8761 |
|
|
ac_cs_success=:
|
8762 |
|
|
ac_config_status_args=
|
8763 |
|
|
test "$silent" = yes &&
|
8764 |
|
|
ac_config_status_args="$ac_config_status_args --quiet"
|
8765 |
|
|
exec 5>/dev/null
|
8766 |
|
|
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
|
8767 |
|
|
exec 5>>config.log
|
8768 |
|
|
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
8769 |
|
|
# would make configure fail if this is the last instruction.
|
8770 |
|
|
$ac_cs_success || as_fn_exit $?
|
8771 |
|
|
fi
|
8772 |
|
|
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
8773 |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
8774 |
|
|
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
8775 |
|
|
fi
|
8776 |
|
|
|