commit | author | age
|
69b66f
|
1 |
#! /bin/sh |
JS |
2 |
# Guess values for system-dependent variables and create Makefiles. |
|
3 |
# Generated by GNU Autoconf 2.69 for g4display 1.0.0. |
|
4 |
# |
|
5 |
# Report bugs to <help@polhemus.com>. |
|
6 |
# |
|
7 |
# |
|
8 |
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
|
9 |
# |
|
10 |
# |
|
11 |
# This configure script is free software; the Free Software Foundation |
|
12 |
# gives unlimited permission to copy, distribute and modify it. |
|
13 |
## -------------------- ## |
|
14 |
## M4sh Initialization. ## |
|
15 |
## -------------------- ## |
|
16 |
|
|
17 |
# Be more Bourne compatible |
|
18 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
19 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
20 |
emulate sh |
|
21 |
NULLCMD=: |
|
22 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
23 |
# is contrary to our usage. Disable this feature. |
|
24 |
alias -g '${1+"$@"}'='"$@"' |
|
25 |
setopt NO_GLOB_SUBST |
|
26 |
else |
|
27 |
case `(set -o) 2>/dev/null` in #( |
|
28 |
*posix*) : |
|
29 |
set -o posix ;; #( |
|
30 |
*) : |
|
31 |
;; |
|
32 |
esac |
|
33 |
fi |
|
34 |
|
|
35 |
|
|
36 |
as_nl=' |
|
37 |
' |
|
38 |
export as_nl |
|
39 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
40 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
41 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
42 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
43 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
44 |
# but without wasting forks for bash or zsh. |
|
45 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
46 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
47 |
as_echo='print -r --' |
|
48 |
as_echo_n='print -rn --' |
|
49 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
50 |
as_echo='printf %s\n' |
|
51 |
as_echo_n='printf %s' |
|
52 |
else |
|
53 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
54 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
55 |
as_echo_n='/usr/ucb/echo -n' |
|
56 |
else |
|
57 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
58 |
as_echo_n_body='eval |
|
59 |
arg=$1; |
|
60 |
case $arg in #( |
|
61 |
*"$as_nl"*) |
|
62 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
63 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
64 |
esac; |
|
65 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
66 |
' |
|
67 |
export as_echo_n_body |
|
68 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
69 |
fi |
|
70 |
export as_echo_body |
|
71 |
as_echo='sh -c $as_echo_body as_echo' |
|
72 |
fi |
|
73 |
|
|
74 |
# The user is always right. |
|
75 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
76 |
PATH_SEPARATOR=: |
|
77 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
78 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
79 |
PATH_SEPARATOR=';' |
|
80 |
} |
|
81 |
fi |
|
82 |
|
|
83 |
|
|
84 |
# IFS |
|
85 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
86 |
# there to prevent editors from complaining about space-tab. |
|
87 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
88 |
# splitting by setting IFS to empty value.) |
|
89 |
IFS=" "" $as_nl" |
|
90 |
|
|
91 |
# Find who we are. Look in the path if we contain no directory separator. |
|
92 |
as_myself= |
|
93 |
case $0 in #(( |
|
94 |
*[\\/]* ) as_myself=$0 ;; |
|
95 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
96 |
for as_dir in $PATH |
|
97 |
do |
|
98 |
IFS=$as_save_IFS |
|
99 |
test -z "$as_dir" && as_dir=. |
|
100 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
101 |
done |
|
102 |
IFS=$as_save_IFS |
|
103 |
|
|
104 |
;; |
|
105 |
esac |
|
106 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
107 |
# in which case we are not to be found in the path. |
|
108 |
if test "x$as_myself" = x; then |
|
109 |
as_myself=$0 |
|
110 |
fi |
|
111 |
if test ! -f "$as_myself"; then |
|
112 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
113 |
exit 1 |
|
114 |
fi |
|
115 |
|
|
116 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
117 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
118 |
# suppresses any "Segmentation fault" message there. '((' could |
|
119 |
# trigger a bug in pdksh 5.2.14. |
|
120 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
121 |
do eval test x\${$as_var+set} = xset \ |
|
122 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
123 |
done |
|
124 |
PS1='$ ' |
|
125 |
PS2='> ' |
|
126 |
PS4='+ ' |
|
127 |
|
|
128 |
# NLS nuisances. |
|
129 |
LC_ALL=C |
|
130 |
export LC_ALL |
|
131 |
LANGUAGE=C |
|
132 |
export LANGUAGE |
|
133 |
|
|
134 |
# CDPATH. |
|
135 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
136 |
|
|
137 |
# Use a proper internal environment variable to ensure we don't fall |
|
138 |
# into an infinite loop, continuously re-executing ourselves. |
|
139 |
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
140 |
_as_can_reexec=no; export _as_can_reexec; |
|
141 |
# We cannot yet assume a decent shell, so we have to provide a |
|
142 |
# neutralization value for shells without unset; and this also |
|
143 |
# works around shells that cannot unset nonexistent variables. |
|
144 |
# Preserve -v and -x to the replacement shell. |
|
145 |
BASH_ENV=/dev/null |
|
146 |
ENV=/dev/null |
|
147 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
148 |
case $- in # (((( |
|
149 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
150 |
*v* ) as_opts=-v ;; |
|
151 |
*x* ) as_opts=-x ;; |
|
152 |
* ) as_opts= ;; |
|
153 |
esac |
|
154 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
155 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
156 |
# out after a failed `exec'. |
|
157 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
158 |
as_fn_exit 255 |
|
159 |
fi |
|
160 |
# We don't want this to propagate to other subprocesses. |
|
161 |
{ _as_can_reexec=; unset _as_can_reexec;} |
|
162 |
if test "x$CONFIG_SHELL" = x; then |
|
163 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
|
164 |
emulate sh |
|
165 |
NULLCMD=: |
|
166 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
|
167 |
# is contrary to our usage. Disable this feature. |
|
168 |
alias -g '\${1+\"\$@\"}'='\"\$@\"' |
|
169 |
setopt NO_GLOB_SUBST |
|
170 |
else |
|
171 |
case \`(set -o) 2>/dev/null\` in #( |
|
172 |
*posix*) : |
|
173 |
set -o posix ;; #( |
|
174 |
*) : |
|
175 |
;; |
|
176 |
esac |
|
177 |
fi |
|
178 |
" |
|
179 |
as_required="as_fn_return () { (exit \$1); } |
|
180 |
as_fn_success () { as_fn_return 0; } |
|
181 |
as_fn_failure () { as_fn_return 1; } |
|
182 |
as_fn_ret_success () { return 0; } |
|
183 |
as_fn_ret_failure () { return 1; } |
|
184 |
|
|
185 |
exitcode=0 |
|
186 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
|
187 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
|
188 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
|
189 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
|
190 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
|
191 |
|
|
192 |
else |
|
193 |
exitcode=1; echo positional parameters were not saved. |
|
194 |
fi |
|
195 |
test x\$exitcode = x0 || exit 1 |
|
196 |
test -x / || exit 1" |
|
197 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
|
198 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
|
199 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
|
200 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
|
201 |
test \$(( 1 + 1 )) = 2 || exit 1" |
|
202 |
if (eval "$as_required") 2>/dev/null; then : |
|
203 |
as_have_required=yes |
|
204 |
else |
|
205 |
as_have_required=no |
|
206 |
fi |
|
207 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
|
208 |
|
|
209 |
else |
|
210 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
211 |
as_found=false |
|
212 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
|
213 |
do |
|
214 |
IFS=$as_save_IFS |
|
215 |
test -z "$as_dir" && as_dir=. |
|
216 |
as_found=: |
|
217 |
case $as_dir in #( |
|
218 |
/*) |
|
219 |
for as_base in sh bash ksh sh5; do |
|
220 |
# Try only shells that exist, to save several forks. |
|
221 |
as_shell=$as_dir/$as_base |
|
222 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
|
223 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
224 |
CONFIG_SHELL=$as_shell as_have_required=yes |
|
225 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
|
226 |
break 2 |
|
227 |
fi |
|
228 |
fi |
|
229 |
done;; |
|
230 |
esac |
|
231 |
as_found=false |
|
232 |
done |
|
233 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
|
234 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
|
235 |
CONFIG_SHELL=$SHELL as_have_required=yes |
|
236 |
fi; } |
|
237 |
IFS=$as_save_IFS |
|
238 |
|
|
239 |
|
|
240 |
if test "x$CONFIG_SHELL" != x; then : |
|
241 |
export CONFIG_SHELL |
|
242 |
# We cannot yet assume a decent shell, so we have to provide a |
|
243 |
# neutralization value for shells without unset; and this also |
|
244 |
# works around shells that cannot unset nonexistent variables. |
|
245 |
# Preserve -v and -x to the replacement shell. |
|
246 |
BASH_ENV=/dev/null |
|
247 |
ENV=/dev/null |
|
248 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
249 |
case $- in # (((( |
|
250 |
*v*x* | *x*v* ) as_opts=-vx ;; |
|
251 |
*v* ) as_opts=-v ;; |
|
252 |
*x* ) as_opts=-x ;; |
|
253 |
* ) as_opts= ;; |
|
254 |
esac |
|
255 |
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
256 |
# Admittedly, this is quite paranoid, since all the known shells bail |
|
257 |
# out after a failed `exec'. |
|
258 |
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
259 |
exit 255 |
|
260 |
fi |
|
261 |
|
|
262 |
if test x$as_have_required = xno; then : |
|
263 |
$as_echo "$0: This script requires a shell more modern than all" |
|
264 |
$as_echo "$0: the shells that I found on your system." |
|
265 |
if test x${ZSH_VERSION+set} = xset ; then |
|
266 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
|
267 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later." |
|
268 |
else |
|
269 |
$as_echo "$0: Please tell bug-autoconf@gnu.org and help@polhemus.com |
|
270 |
$0: about your system, including any error possibly output |
|
271 |
$0: before this message. Then install a modern shell, or |
|
272 |
$0: manually run the script under such a shell if you do |
|
273 |
$0: have one." |
|
274 |
fi |
|
275 |
exit 1 |
|
276 |
fi |
|
277 |
fi |
|
278 |
fi |
|
279 |
SHELL=${CONFIG_SHELL-/bin/sh} |
|
280 |
export SHELL |
|
281 |
# Unset more variables known to interfere with behavior of common tools. |
|
282 |
CLICOLOR_FORCE= GREP_OPTIONS= |
|
283 |
unset CLICOLOR_FORCE GREP_OPTIONS |
|
284 |
|
|
285 |
## --------------------- ## |
|
286 |
## M4sh Shell Functions. ## |
|
287 |
## --------------------- ## |
|
288 |
# as_fn_unset VAR |
|
289 |
# --------------- |
|
290 |
# Portably unset VAR. |
|
291 |
as_fn_unset () |
|
292 |
{ |
|
293 |
{ eval $1=; unset $1;} |
|
294 |
} |
|
295 |
as_unset=as_fn_unset |
|
296 |
|
|
297 |
# as_fn_set_status STATUS |
|
298 |
# ----------------------- |
|
299 |
# Set $? to STATUS, without forking. |
|
300 |
as_fn_set_status () |
|
301 |
{ |
|
302 |
return $1 |
|
303 |
} # as_fn_set_status |
|
304 |
|
|
305 |
# as_fn_exit STATUS |
|
306 |
# ----------------- |
|
307 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
308 |
as_fn_exit () |
|
309 |
{ |
|
310 |
set +e |
|
311 |
as_fn_set_status $1 |
|
312 |
exit $1 |
|
313 |
} # as_fn_exit |
|
314 |
|
|
315 |
# as_fn_mkdir_p |
|
316 |
# ------------- |
|
317 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
318 |
as_fn_mkdir_p () |
|
319 |
{ |
|
320 |
|
|
321 |
case $as_dir in #( |
|
322 |
-*) as_dir=./$as_dir;; |
|
323 |
esac |
|
324 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
325 |
as_dirs= |
|
326 |
while :; do |
|
327 |
case $as_dir in #( |
|
328 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
329 |
*) as_qdir=$as_dir;; |
|
330 |
esac |
|
331 |
as_dirs="'$as_qdir' $as_dirs" |
|
332 |
as_dir=`$as_dirname -- "$as_dir" || |
|
333 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
334 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
335 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
336 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
337 |
$as_echo X"$as_dir" | |
|
338 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
339 |
s//\1/ |
|
340 |
q |
|
341 |
} |
|
342 |
/^X\(\/\/\)[^/].*/{ |
|
343 |
s//\1/ |
|
344 |
q |
|
345 |
} |
|
346 |
/^X\(\/\/\)$/{ |
|
347 |
s//\1/ |
|
348 |
q |
|
349 |
} |
|
350 |
/^X\(\/\).*/{ |
|
351 |
s//\1/ |
|
352 |
q |
|
353 |
} |
|
354 |
s/.*/./; q'` |
|
355 |
test -d "$as_dir" && break |
|
356 |
done |
|
357 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
358 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
359 |
|
|
360 |
|
|
361 |
} # as_fn_mkdir_p |
|
362 |
|
|
363 |
# as_fn_executable_p FILE |
|
364 |
# ----------------------- |
|
365 |
# Test if FILE is an executable regular file. |
|
366 |
as_fn_executable_p () |
|
367 |
{ |
|
368 |
test -f "$1" && test -x "$1" |
|
369 |
} # as_fn_executable_p |
|
370 |
# as_fn_append VAR VALUE |
|
371 |
# ---------------------- |
|
372 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
373 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
374 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
375 |
# implementations. |
|
376 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
377 |
eval 'as_fn_append () |
|
378 |
{ |
|
379 |
eval $1+=\$2 |
|
380 |
}' |
|
381 |
else |
|
382 |
as_fn_append () |
|
383 |
{ |
|
384 |
eval $1=\$$1\$2 |
|
385 |
} |
|
386 |
fi # as_fn_append |
|
387 |
|
|
388 |
# as_fn_arith ARG... |
|
389 |
# ------------------ |
|
390 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
391 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
392 |
# must be portable across $(()) and expr. |
|
393 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
394 |
eval 'as_fn_arith () |
|
395 |
{ |
|
396 |
as_val=$(( $* )) |
|
397 |
}' |
|
398 |
else |
|
399 |
as_fn_arith () |
|
400 |
{ |
|
401 |
as_val=`expr "$@" || test $? -eq 1` |
|
402 |
} |
|
403 |
fi # as_fn_arith |
|
404 |
|
|
405 |
|
|
406 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
407 |
# ---------------------------------------- |
|
408 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
409 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
410 |
# script with STATUS, using 1 if that was 0. |
|
411 |
as_fn_error () |
|
412 |
{ |
|
413 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
414 |
if test "$4"; then |
|
415 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
416 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
417 |
fi |
|
418 |
$as_echo "$as_me: error: $2" >&2 |
|
419 |
as_fn_exit $as_status |
|
420 |
} # as_fn_error |
|
421 |
|
|
422 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
423 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
424 |
as_expr=expr |
|
425 |
else |
|
426 |
as_expr=false |
|
427 |
fi |
|
428 |
|
|
429 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
430 |
as_basename=basename |
|
431 |
else |
|
432 |
as_basename=false |
|
433 |
fi |
|
434 |
|
|
435 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
436 |
as_dirname=dirname |
|
437 |
else |
|
438 |
as_dirname=false |
|
439 |
fi |
|
440 |
|
|
441 |
as_me=`$as_basename -- "$0" || |
|
442 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
443 |
X"$0" : 'X\(//\)$' \| \ |
|
444 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
445 |
$as_echo X/"$0" | |
|
446 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
447 |
s//\1/ |
|
448 |
q |
|
449 |
} |
|
450 |
/^X\/\(\/\/\)$/{ |
|
451 |
s//\1/ |
|
452 |
q |
|
453 |
} |
|
454 |
/^X\/\(\/\).*/{ |
|
455 |
s//\1/ |
|
456 |
q |
|
457 |
} |
|
458 |
s/.*/./; q'` |
|
459 |
|
|
460 |
# Avoid depending upon Character Ranges. |
|
461 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
462 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
463 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
464 |
as_cr_digits='0123456789' |
|
465 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
466 |
|
|
467 |
|
|
468 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO |
|
469 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO |
|
470 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
|
471 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
|
472 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
|
473 |
sed -n ' |
|
474 |
p |
|
475 |
/[$]LINENO/= |
|
476 |
' <$as_myself | |
|
477 |
sed ' |
|
478 |
s/[$]LINENO.*/&-/ |
|
479 |
t lineno |
|
480 |
b |
|
481 |
:lineno |
|
482 |
N |
|
483 |
:loop |
|
484 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
|
485 |
t loop |
|
486 |
s/-\n.*// |
|
487 |
' >$as_me.lineno && |
|
488 |
chmod +x "$as_me.lineno" || |
|
489 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
490 |
|
|
491 |
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
492 |
# already done that, so ensure we don't try to do so again and fall |
|
493 |
# in an infinite loop. This has already happened in practice. |
|
494 |
_as_can_reexec=no; export _as_can_reexec |
|
495 |
# Don't try to exec as it changes $[0], causing all sort of problems |
|
496 |
# (the dirname of $[0] is not the place where we might find the |
|
497 |
# original and so on. Autoconf is especially sensitive to this). |
|
498 |
. "./$as_me.lineno" |
|
499 |
# Exit status is that of the last command. |
|
500 |
exit |
|
501 |
} |
|
502 |
|
|
503 |
ECHO_C= ECHO_N= ECHO_T= |
|
504 |
case `echo -n x` in #((((( |
|
505 |
-n*) |
|
506 |
case `echo 'xy\c'` in |
|
507 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
508 |
xy) ECHO_C='\c';; |
|
509 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
510 |
ECHO_T=' ';; |
|
511 |
esac;; |
|
512 |
*) |
|
513 |
ECHO_N='-n';; |
|
514 |
esac |
|
515 |
|
|
516 |
rm -f conf$$ conf$$.exe conf$$.file |
|
517 |
if test -d conf$$.dir; then |
|
518 |
rm -f conf$$.dir/conf$$.file |
|
519 |
else |
|
520 |
rm -f conf$$.dir |
|
521 |
mkdir conf$$.dir 2>/dev/null |
|
522 |
fi |
|
523 |
if (echo >conf$$.file) 2>/dev/null; then |
|
524 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
525 |
as_ln_s='ln -s' |
|
526 |
# ... but there are two gotchas: |
|
527 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
528 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
529 |
# In both cases, we have to default to `cp -pR'. |
|
530 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
531 |
as_ln_s='cp -pR' |
|
532 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
533 |
as_ln_s=ln |
|
534 |
else |
|
535 |
as_ln_s='cp -pR' |
|
536 |
fi |
|
537 |
else |
|
538 |
as_ln_s='cp -pR' |
|
539 |
fi |
|
540 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
541 |
rmdir conf$$.dir 2>/dev/null |
|
542 |
|
|
543 |
if mkdir -p . 2>/dev/null; then |
|
544 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
545 |
else |
|
546 |
test -d ./-p && rmdir ./-p |
|
547 |
as_mkdir_p=false |
|
548 |
fi |
|
549 |
|
|
550 |
as_test_x='test -x' |
|
551 |
as_executable_p=as_fn_executable_p |
|
552 |
|
|
553 |
# Sed expression to map a string onto a valid CPP name. |
|
554 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
555 |
|
|
556 |
# Sed expression to map a string onto a valid variable name. |
|
557 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
558 |
|
|
559 |
|
|
560 |
test -n "$DJDIR" || exec 7<&0 </dev/null |
|
561 |
exec 6>&1 |
|
562 |
|
|
563 |
# Name of the host. |
|
564 |
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
|
565 |
# so uname gets run too. |
|
566 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
|
567 |
|
|
568 |
# |
|
569 |
# Initializations. |
|
570 |
# |
|
571 |
ac_default_prefix=/usr/local |
|
572 |
ac_clean_files= |
|
573 |
ac_config_libobj_dir=. |
|
574 |
LIBOBJS= |
|
575 |
cross_compiling=no |
|
576 |
subdirs= |
|
577 |
MFLAGS= |
|
578 |
MAKEFLAGS= |
|
579 |
|
|
580 |
# Identity of this package. |
|
581 |
PACKAGE_NAME='g4display' |
|
582 |
PACKAGE_TARNAME='g4display' |
|
583 |
PACKAGE_VERSION='1.0.0' |
|
584 |
PACKAGE_STRING='g4display 1.0.0' |
|
585 |
PACKAGE_BUGREPORT='help@polhemus.com' |
|
586 |
PACKAGE_URL='' |
|
587 |
|
|
588 |
ac_unique_file="src/FilterDlg.h" |
|
589 |
# Factoring default headers for most tests. |
|
590 |
ac_includes_default="\ |
|
591 |
#include <stdio.h> |
|
592 |
#ifdef HAVE_SYS_TYPES_H |
|
593 |
# include <sys/types.h> |
|
594 |
#endif |
|
595 |
#ifdef HAVE_SYS_STAT_H |
|
596 |
# include <sys/stat.h> |
|
597 |
#endif |
|
598 |
#ifdef STDC_HEADERS |
|
599 |
# include <stdlib.h> |
|
600 |
# include <stddef.h> |
|
601 |
#else |
|
602 |
# ifdef HAVE_STDLIB_H |
|
603 |
# include <stdlib.h> |
|
604 |
# endif |
|
605 |
#endif |
|
606 |
#ifdef HAVE_STRING_H |
|
607 |
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
|
608 |
# include <memory.h> |
|
609 |
# endif |
|
610 |
# include <string.h> |
|
611 |
#endif |
|
612 |
#ifdef HAVE_STRINGS_H |
|
613 |
# include <strings.h> |
|
614 |
#endif |
|
615 |
#ifdef HAVE_INTTYPES_H |
|
616 |
# include <inttypes.h> |
|
617 |
#endif |
|
618 |
#ifdef HAVE_STDINT_H |
|
619 |
# include <stdint.h> |
|
620 |
#endif |
|
621 |
#ifdef HAVE_UNISTD_H |
|
622 |
# include <unistd.h> |
|
623 |
#endif" |
|
624 |
|
|
625 |
ac_subst_vars='am__EXEEXT_FALSE |
|
626 |
am__EXEEXT_TRUE |
|
627 |
LTLIBOBJS |
|
628 |
LIBOBJS |
|
629 |
PTHREAD_CFLAGS |
|
630 |
PTHREAD_LIBS |
|
631 |
PTHREAD_CC |
|
632 |
ax_pthread_config |
|
633 |
host_os |
|
634 |
host_vendor |
|
635 |
host_cpu |
|
636 |
host |
|
637 |
build_os |
|
638 |
build_vendor |
|
639 |
build_cpu |
|
640 |
build |
|
641 |
GLEXT_LIBS |
|
642 |
GLEXT_CFLAGS |
|
643 |
GTK_LIBS |
|
644 |
GTK_CFLAGS |
|
645 |
PKG_CONFIG_LIBDIR |
|
646 |
PKG_CONFIG_PATH |
|
647 |
PKG_CONFIG |
|
648 |
EGREP |
|
649 |
GREP |
|
650 |
CPP |
|
651 |
am__fastdepCC_FALSE |
|
652 |
am__fastdepCC_TRUE |
|
653 |
CCDEPMODE |
|
654 |
ac_ct_CC |
|
655 |
CFLAGS |
|
656 |
CC |
|
657 |
am__fastdepCXX_FALSE |
|
658 |
am__fastdepCXX_TRUE |
|
659 |
CXXDEPMODE |
|
660 |
am__nodep |
|
661 |
AMDEPBACKSLASH |
|
662 |
AMDEP_FALSE |
|
663 |
AMDEP_TRUE |
|
664 |
am__include |
|
665 |
DEPDIR |
|
666 |
OBJEXT |
|
667 |
EXEEXT |
|
668 |
ac_ct_CXX |
|
669 |
CPPFLAGS |
|
670 |
LDFLAGS |
|
671 |
CXXFLAGS |
|
672 |
CXX |
|
673 |
AM_BACKSLASH |
|
674 |
AM_DEFAULT_VERBOSITY |
|
675 |
AM_DEFAULT_V |
|
676 |
AM_V |
|
677 |
CSCOPE |
|
678 |
ETAGS |
|
679 |
CTAGS |
|
680 |
am__untar |
|
681 |
am__tar |
|
682 |
AMTAR |
|
683 |
am__leading_dot |
|
684 |
SET_MAKE |
|
685 |
AWK |
|
686 |
mkdir_p |
|
687 |
MKDIR_P |
|
688 |
INSTALL_STRIP_PROGRAM |
|
689 |
STRIP |
|
690 |
install_sh |
|
691 |
MAKEINFO |
|
692 |
AUTOHEADER |
|
693 |
AUTOMAKE |
|
694 |
AUTOCONF |
|
695 |
ACLOCAL |
|
696 |
VERSION |
|
697 |
PACKAGE |
|
698 |
CYGPATH_W |
|
699 |
am__isrc |
|
700 |
INSTALL_DATA |
|
701 |
INSTALL_SCRIPT |
|
702 |
INSTALL_PROGRAM |
|
703 |
target_alias |
|
704 |
host_alias |
|
705 |
build_alias |
|
706 |
LIBS |
|
707 |
ECHO_T |
|
708 |
ECHO_N |
|
709 |
ECHO_C |
|
710 |
DEFS |
|
711 |
mandir |
|
712 |
localedir |
|
713 |
libdir |
|
714 |
psdir |
|
715 |
pdfdir |
|
716 |
dvidir |
|
717 |
htmldir |
|
718 |
infodir |
|
719 |
docdir |
|
720 |
oldincludedir |
|
721 |
includedir |
|
722 |
runstatedir |
|
723 |
localstatedir |
|
724 |
sharedstatedir |
|
725 |
sysconfdir |
|
726 |
datadir |
|
727 |
datarootdir |
|
728 |
libexecdir |
|
729 |
sbindir |
|
730 |
bindir |
|
731 |
program_transform_name |
|
732 |
prefix |
|
733 |
exec_prefix |
|
734 |
PACKAGE_URL |
|
735 |
PACKAGE_BUGREPORT |
|
736 |
PACKAGE_STRING |
|
737 |
PACKAGE_VERSION |
|
738 |
PACKAGE_TARNAME |
|
739 |
PACKAGE_NAME |
|
740 |
PATH_SEPARATOR |
|
741 |
SHELL |
|
742 |
am__quote' |
|
743 |
ac_subst_files='' |
|
744 |
ac_user_opts=' |
|
745 |
enable_option_checking |
|
746 |
enable_silent_rules |
|
747 |
enable_dependency_tracking |
|
748 |
' |
|
749 |
ac_precious_vars='build_alias |
|
750 |
host_alias |
|
751 |
target_alias |
|
752 |
CXX |
|
753 |
CXXFLAGS |
|
754 |
LDFLAGS |
|
755 |
LIBS |
|
756 |
CPPFLAGS |
|
757 |
CCC |
|
758 |
CC |
|
759 |
CFLAGS |
|
760 |
CPP |
|
761 |
PKG_CONFIG |
|
762 |
PKG_CONFIG_PATH |
|
763 |
PKG_CONFIG_LIBDIR |
|
764 |
GTK_CFLAGS |
|
765 |
GTK_LIBS |
|
766 |
GLEXT_CFLAGS |
|
767 |
GLEXT_LIBS' |
|
768 |
|
|
769 |
|
|
770 |
# Initialize some variables set by options. |
|
771 |
ac_init_help= |
|
772 |
ac_init_version=false |
|
773 |
ac_unrecognized_opts= |
|
774 |
ac_unrecognized_sep= |
|
775 |
# The variables have the same names as the options, with |
|
776 |
# dashes changed to underlines. |
|
777 |
cache_file=/dev/null |
|
778 |
exec_prefix=NONE |
|
779 |
no_create= |
|
780 |
no_recursion= |
|
781 |
prefix=NONE |
|
782 |
program_prefix=NONE |
|
783 |
program_suffix=NONE |
|
784 |
program_transform_name=s,x,x, |
|
785 |
silent= |
|
786 |
site= |
|
787 |
srcdir= |
|
788 |
verbose= |
|
789 |
x_includes=NONE |
|
790 |
x_libraries=NONE |
|
791 |
|
|
792 |
# Installation directory options. |
|
793 |
# These are left unexpanded so users can "make install exec_prefix=/foo" |
|
794 |
# and all the variables that are supposed to be based on exec_prefix |
|
795 |
# by default will actually change. |
|
796 |
# Use braces instead of parens because sh, perl, etc. also accept them. |
|
797 |
# (The list follows the same order as the GNU Coding Standards.) |
|
798 |
bindir='${exec_prefix}/bin' |
|
799 |
sbindir='${exec_prefix}/sbin' |
|
800 |
libexecdir='${exec_prefix}/libexec' |
|
801 |
datarootdir='${prefix}/share' |
|
802 |
datadir='${datarootdir}' |
|
803 |
sysconfdir='${prefix}/etc' |
|
804 |
sharedstatedir='${prefix}/com' |
|
805 |
localstatedir='${prefix}/var' |
|
806 |
runstatedir='${localstatedir}/run' |
|
807 |
includedir='${prefix}/include' |
|
808 |
oldincludedir='/usr/include' |
|
809 |
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
|
810 |
infodir='${datarootdir}/info' |
|
811 |
htmldir='${docdir}' |
|
812 |
dvidir='${docdir}' |
|
813 |
pdfdir='${docdir}' |
|
814 |
psdir='${docdir}' |
|
815 |
libdir='${exec_prefix}/lib' |
|
816 |
localedir='${datarootdir}/locale' |
|
817 |
mandir='${datarootdir}/man' |
|
818 |
|
|
819 |
ac_prev= |
|
820 |
ac_dashdash= |
|
821 |
for ac_option |
|
822 |
do |
|
823 |
# If the previous option needs an argument, assign it. |
|
824 |
if test -n "$ac_prev"; then |
|
825 |
eval $ac_prev=\$ac_option |
|
826 |
ac_prev= |
|
827 |
continue |
|
828 |
fi |
|
829 |
|
|
830 |
case $ac_option in |
|
831 |
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
|
832 |
*=) ac_optarg= ;; |
|
833 |
*) ac_optarg=yes ;; |
|
834 |
esac |
|
835 |
|
|
836 |
# Accept the important Cygnus configure options, so we can diagnose typos. |
|
837 |
|
|
838 |
case $ac_dashdash$ac_option in |
|
839 |
--) |
|
840 |
ac_dashdash=yes ;; |
|
841 |
|
|
842 |
-bindir | --bindir | --bindi | --bind | --bin | --bi) |
|
843 |
ac_prev=bindir ;; |
|
844 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
|
845 |
bindir=$ac_optarg ;; |
|
846 |
|
|
847 |
-build | --build | --buil | --bui | --bu) |
|
848 |
ac_prev=build_alias ;; |
|
849 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*) |
|
850 |
build_alias=$ac_optarg ;; |
|
851 |
|
|
852 |
-cache-file | --cache-file | --cache-fil | --cache-fi \ |
|
853 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
|
854 |
ac_prev=cache_file ;; |
|
855 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
|
856 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
|
857 |
cache_file=$ac_optarg ;; |
|
858 |
|
|
859 |
--config-cache | -C) |
|
860 |
cache_file=config.cache ;; |
|
861 |
|
|
862 |
-datadir | --datadir | --datadi | --datad) |
|
863 |
ac_prev=datadir ;; |
|
864 |
-datadir=* | --datadir=* | --datadi=* | --datad=*) |
|
865 |
datadir=$ac_optarg ;; |
|
866 |
|
|
867 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
|
868 |
| --dataroo | --dataro | --datar) |
|
869 |
ac_prev=datarootdir ;; |
|
870 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
|
871 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
|
872 |
datarootdir=$ac_optarg ;; |
|
873 |
|
|
874 |
-disable-* | --disable-*) |
|
875 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
|
876 |
# Reject names that are not valid shell variable names. |
|
877 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
878 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
879 |
ac_useropt_orig=$ac_useropt |
|
880 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
881 |
case $ac_user_opts in |
|
882 |
*" |
|
883 |
"enable_$ac_useropt" |
|
884 |
"*) ;; |
|
885 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
|
886 |
ac_unrecognized_sep=', ';; |
|
887 |
esac |
|
888 |
eval enable_$ac_useropt=no ;; |
|
889 |
|
|
890 |
-docdir | --docdir | --docdi | --doc | --do) |
|
891 |
ac_prev=docdir ;; |
|
892 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
|
893 |
docdir=$ac_optarg ;; |
|
894 |
|
|
895 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
|
896 |
ac_prev=dvidir ;; |
|
897 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
|
898 |
dvidir=$ac_optarg ;; |
|
899 |
|
|
900 |
-enable-* | --enable-*) |
|
901 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
|
902 |
# Reject names that are not valid shell variable names. |
|
903 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
904 |
as_fn_error $? "invalid feature name: $ac_useropt" |
|
905 |
ac_useropt_orig=$ac_useropt |
|
906 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
907 |
case $ac_user_opts in |
|
908 |
*" |
|
909 |
"enable_$ac_useropt" |
|
910 |
"*) ;; |
|
911 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
|
912 |
ac_unrecognized_sep=', ';; |
|
913 |
esac |
|
914 |
eval enable_$ac_useropt=\$ac_optarg ;; |
|
915 |
|
|
916 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
|
917 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
|
918 |
| --exec | --exe | --ex) |
|
919 |
ac_prev=exec_prefix ;; |
|
920 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
|
921 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
|
922 |
| --exec=* | --exe=* | --ex=*) |
|
923 |
exec_prefix=$ac_optarg ;; |
|
924 |
|
|
925 |
-gas | --gas | --ga | --g) |
|
926 |
# Obsolete; use --with-gas. |
|
927 |
with_gas=yes ;; |
|
928 |
|
|
929 |
-help | --help | --hel | --he | -h) |
|
930 |
ac_init_help=long ;; |
|
931 |
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
|
932 |
ac_init_help=recursive ;; |
|
933 |
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
|
934 |
ac_init_help=short ;; |
|
935 |
|
|
936 |
-host | --host | --hos | --ho) |
|
937 |
ac_prev=host_alias ;; |
|
938 |
-host=* | --host=* | --hos=* | --ho=*) |
|
939 |
host_alias=$ac_optarg ;; |
|
940 |
|
|
941 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
|
942 |
ac_prev=htmldir ;; |
|
943 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
|
944 |
| --ht=*) |
|
945 |
htmldir=$ac_optarg ;; |
|
946 |
|
|
947 |
-includedir | --includedir | --includedi | --included | --include \ |
|
948 |
| --includ | --inclu | --incl | --inc) |
|
949 |
ac_prev=includedir ;; |
|
950 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
|
951 |
| --includ=* | --inclu=* | --incl=* | --inc=*) |
|
952 |
includedir=$ac_optarg ;; |
|
953 |
|
|
954 |
-infodir | --infodir | --infodi | --infod | --info | --inf) |
|
955 |
ac_prev=infodir ;; |
|
956 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
|
957 |
infodir=$ac_optarg ;; |
|
958 |
|
|
959 |
-libdir | --libdir | --libdi | --libd) |
|
960 |
ac_prev=libdir ;; |
|
961 |
-libdir=* | --libdir=* | --libdi=* | --libd=*) |
|
962 |
libdir=$ac_optarg ;; |
|
963 |
|
|
964 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
|
965 |
| --libexe | --libex | --libe) |
|
966 |
ac_prev=libexecdir ;; |
|
967 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
|
968 |
| --libexe=* | --libex=* | --libe=*) |
|
969 |
libexecdir=$ac_optarg ;; |
|
970 |
|
|
971 |
-localedir | --localedir | --localedi | --localed | --locale) |
|
972 |
ac_prev=localedir ;; |
|
973 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
|
974 |
localedir=$ac_optarg ;; |
|
975 |
|
|
976 |
-localstatedir | --localstatedir | --localstatedi | --localstated \ |
|
977 |
| --localstate | --localstat | --localsta | --localst | --locals) |
|
978 |
ac_prev=localstatedir ;; |
|
979 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
|
980 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
|
981 |
localstatedir=$ac_optarg ;; |
|
982 |
|
|
983 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
|
984 |
ac_prev=mandir ;; |
|
985 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
|
986 |
mandir=$ac_optarg ;; |
|
987 |
|
|
988 |
-nfp | --nfp | --nf) |
|
989 |
# Obsolete; use --without-fp. |
|
990 |
with_fp=no ;; |
|
991 |
|
|
992 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
|
993 |
| --no-cr | --no-c | -n) |
|
994 |
no_create=yes ;; |
|
995 |
|
|
996 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
|
997 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
|
998 |
no_recursion=yes ;; |
|
999 |
|
|
1000 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
|
1001 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
|
1002 |
| --oldin | --oldi | --old | --ol | --o) |
|
1003 |
ac_prev=oldincludedir ;; |
|
1004 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
|
1005 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
|
1006 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
|
1007 |
oldincludedir=$ac_optarg ;; |
|
1008 |
|
|
1009 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
|
1010 |
ac_prev=prefix ;; |
|
1011 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
|
1012 |
prefix=$ac_optarg ;; |
|
1013 |
|
|
1014 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \ |
|
1015 |
| --program-pre | --program-pr | --program-p) |
|
1016 |
ac_prev=program_prefix ;; |
|
1017 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \ |
|
1018 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
|
1019 |
program_prefix=$ac_optarg ;; |
|
1020 |
|
|
1021 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \ |
|
1022 |
| --program-suf | --program-su | --program-s) |
|
1023 |
ac_prev=program_suffix ;; |
|
1024 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \ |
|
1025 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
|
1026 |
program_suffix=$ac_optarg ;; |
|
1027 |
|
|
1028 |
-program-transform-name | --program-transform-name \ |
|
1029 |
| --program-transform-nam | --program-transform-na \ |
|
1030 |
| --program-transform-n | --program-transform- \ |
|
1031 |
| --program-transform | --program-transfor \ |
|
1032 |
| --program-transfo | --program-transf \ |
|
1033 |
| --program-trans | --program-tran \ |
|
1034 |
| --progr-tra | --program-tr | --program-t) |
|
1035 |
ac_prev=program_transform_name ;; |
|
1036 |
-program-transform-name=* | --program-transform-name=* \ |
|
1037 |
| --program-transform-nam=* | --program-transform-na=* \ |
|
1038 |
| --program-transform-n=* | --program-transform-=* \ |
|
1039 |
| --program-transform=* | --program-transfor=* \ |
|
1040 |
| --program-transfo=* | --program-transf=* \ |
|
1041 |
| --program-trans=* | --program-tran=* \ |
|
1042 |
| --progr-tra=* | --program-tr=* | --program-t=*) |
|
1043 |
program_transform_name=$ac_optarg ;; |
|
1044 |
|
|
1045 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
|
1046 |
ac_prev=pdfdir ;; |
|
1047 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
|
1048 |
pdfdir=$ac_optarg ;; |
|
1049 |
|
|
1050 |
-psdir | --psdir | --psdi | --psd | --ps) |
|
1051 |
ac_prev=psdir ;; |
|
1052 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
|
1053 |
psdir=$ac_optarg ;; |
|
1054 |
|
|
1055 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
1056 |
| -silent | --silent | --silen | --sile | --sil) |
|
1057 |
silent=yes ;; |
|
1058 |
|
|
1059 |
-runstatedir | --runstatedir | --runstatedi | --runstated \ |
|
1060 |
| --runstate | --runstat | --runsta | --runst | --runs \ |
|
1061 |
| --run | --ru | --r) |
|
1062 |
ac_prev=runstatedir ;; |
|
1063 |
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ |
|
1064 |
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ |
|
1065 |
| --run=* | --ru=* | --r=*) |
|
1066 |
runstatedir=$ac_optarg ;; |
|
1067 |
|
|
1068 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
|
1069 |
ac_prev=sbindir ;; |
|
1070 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
|
1071 |
| --sbi=* | --sb=*) |
|
1072 |
sbindir=$ac_optarg ;; |
|
1073 |
|
|
1074 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \ |
|
1075 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
|
1076 |
| --sharedst | --shareds | --shared | --share | --shar \ |
|
1077 |
| --sha | --sh) |
|
1078 |
ac_prev=sharedstatedir ;; |
|
1079 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
|
1080 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
|
1081 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
|
1082 |
| --sha=* | --sh=*) |
|
1083 |
sharedstatedir=$ac_optarg ;; |
|
1084 |
|
|
1085 |
-site | --site | --sit) |
|
1086 |
ac_prev=site ;; |
|
1087 |
-site=* | --site=* | --sit=*) |
|
1088 |
site=$ac_optarg ;; |
|
1089 |
|
|
1090 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
|
1091 |
ac_prev=srcdir ;; |
|
1092 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
|
1093 |
srcdir=$ac_optarg ;; |
|
1094 |
|
|
1095 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
|
1096 |
| --syscon | --sysco | --sysc | --sys | --sy) |
|
1097 |
ac_prev=sysconfdir ;; |
|
1098 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
|
1099 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
|
1100 |
sysconfdir=$ac_optarg ;; |
|
1101 |
|
|
1102 |
-target | --target | --targe | --targ | --tar | --ta | --t) |
|
1103 |
ac_prev=target_alias ;; |
|
1104 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
|
1105 |
target_alias=$ac_optarg ;; |
|
1106 |
|
|
1107 |
-v | -verbose | --verbose | --verbos | --verbo | --verb) |
|
1108 |
verbose=yes ;; |
|
1109 |
|
|
1110 |
-version | --version | --versio | --versi | --vers | -V) |
|
1111 |
ac_init_version=: ;; |
|
1112 |
|
|
1113 |
-with-* | --with-*) |
|
1114 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
|
1115 |
# Reject names that are not valid shell variable names. |
|
1116 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1117 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1118 |
ac_useropt_orig=$ac_useropt |
|
1119 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1120 |
case $ac_user_opts in |
|
1121 |
*" |
|
1122 |
"with_$ac_useropt" |
|
1123 |
"*) ;; |
|
1124 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
|
1125 |
ac_unrecognized_sep=', ';; |
|
1126 |
esac |
|
1127 |
eval with_$ac_useropt=\$ac_optarg ;; |
|
1128 |
|
|
1129 |
-without-* | --without-*) |
|
1130 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
|
1131 |
# Reject names that are not valid shell variable names. |
|
1132 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
|
1133 |
as_fn_error $? "invalid package name: $ac_useropt" |
|
1134 |
ac_useropt_orig=$ac_useropt |
|
1135 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
|
1136 |
case $ac_user_opts in |
|
1137 |
*" |
|
1138 |
"with_$ac_useropt" |
|
1139 |
"*) ;; |
|
1140 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
|
1141 |
ac_unrecognized_sep=', ';; |
|
1142 |
esac |
|
1143 |
eval with_$ac_useropt=no ;; |
|
1144 |
|
|
1145 |
--x) |
|
1146 |
# Obsolete; use --with-x. |
|
1147 |
with_x=yes ;; |
|
1148 |
|
|
1149 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
|
1150 |
| --x-incl | --x-inc | --x-in | --x-i) |
|
1151 |
ac_prev=x_includes ;; |
|
1152 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
|
1153 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
|
1154 |
x_includes=$ac_optarg ;; |
|
1155 |
|
|
1156 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \ |
|
1157 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
|
1158 |
ac_prev=x_libraries ;; |
|
1159 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
|
1160 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
|
1161 |
x_libraries=$ac_optarg ;; |
|
1162 |
|
|
1163 |
-*) as_fn_error $? "unrecognized option: \`$ac_option' |
|
1164 |
Try \`$0 --help' for more information" |
|
1165 |
;; |
|
1166 |
|
|
1167 |
*=*) |
|
1168 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
|
1169 |
# Reject names that are not valid shell variable names. |
|
1170 |
case $ac_envvar in #( |
|
1171 |
'' | [0-9]* | *[!_$as_cr_alnum]* ) |
|
1172 |
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
|
1173 |
esac |
|
1174 |
eval $ac_envvar=\$ac_optarg |
|
1175 |
export $ac_envvar ;; |
|
1176 |
|
|
1177 |
*) |
|
1178 |
# FIXME: should be removed in autoconf 3.0. |
|
1179 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
|
1180 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
|
1181 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
|
1182 |
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
|
1183 |
;; |
|
1184 |
|
|
1185 |
esac |
|
1186 |
done |
|
1187 |
|
|
1188 |
if test -n "$ac_prev"; then |
|
1189 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
|
1190 |
as_fn_error $? "missing argument to $ac_option" |
|
1191 |
fi |
|
1192 |
|
|
1193 |
if test -n "$ac_unrecognized_opts"; then |
|
1194 |
case $enable_option_checking in |
|
1195 |
no) ;; |
|
1196 |
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
|
1197 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
|
1198 |
esac |
|
1199 |
fi |
|
1200 |
|
|
1201 |
# Check all directory arguments for consistency. |
|
1202 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
|
1203 |
datadir sysconfdir sharedstatedir localstatedir includedir \ |
|
1204 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
|
1205 |
libdir localedir mandir runstatedir |
|
1206 |
do |
|
1207 |
eval ac_val=\$$ac_var |
|
1208 |
# Remove trailing slashes. |
|
1209 |
case $ac_val in |
|
1210 |
*/ ) |
|
1211 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
|
1212 |
eval $ac_var=\$ac_val;; |
|
1213 |
esac |
|
1214 |
# Be sure to have absolute directory names. |
|
1215 |
case $ac_val in |
|
1216 |
[\\/$]* | ?:[\\/]* ) continue;; |
|
1217 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
|
1218 |
esac |
|
1219 |
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
|
1220 |
done |
|
1221 |
|
|
1222 |
# There might be people who depend on the old broken behavior: `$host' |
|
1223 |
# used to hold the argument of --host etc. |
|
1224 |
# FIXME: To remove some day. |
|
1225 |
build=$build_alias |
|
1226 |
host=$host_alias |
|
1227 |
target=$target_alias |
|
1228 |
|
|
1229 |
# FIXME: To remove some day. |
|
1230 |
if test "x$host_alias" != x; then |
|
1231 |
if test "x$build_alias" = x; then |
|
1232 |
cross_compiling=maybe |
|
1233 |
elif test "x$build_alias" != "x$host_alias"; then |
|
1234 |
cross_compiling=yes |
|
1235 |
fi |
|
1236 |
fi |
|
1237 |
|
|
1238 |
ac_tool_prefix= |
|
1239 |
test -n "$host_alias" && ac_tool_prefix=$host_alias- |
|
1240 |
|
|
1241 |
test "$silent" = yes && exec 6>/dev/null |
|
1242 |
|
|
1243 |
|
|
1244 |
ac_pwd=`pwd` && test -n "$ac_pwd" && |
|
1245 |
ac_ls_di=`ls -di .` && |
|
1246 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
|
1247 |
as_fn_error $? "working directory cannot be determined" |
|
1248 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
|
1249 |
as_fn_error $? "pwd does not report name of working directory" |
|
1250 |
|
|
1251 |
|
|
1252 |
# Find the source files, if location was not specified. |
|
1253 |
if test -z "$srcdir"; then |
|
1254 |
ac_srcdir_defaulted=yes |
|
1255 |
# Try the directory containing this script, then the parent directory. |
|
1256 |
ac_confdir=`$as_dirname -- "$as_myself" || |
|
1257 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
1258 |
X"$as_myself" : 'X\(//\)[^/]' \| \ |
|
1259 |
X"$as_myself" : 'X\(//\)$' \| \ |
|
1260 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
|
1261 |
$as_echo X"$as_myself" | |
|
1262 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
1263 |
s//\1/ |
|
1264 |
q |
|
1265 |
} |
|
1266 |
/^X\(\/\/\)[^/].*/{ |
|
1267 |
s//\1/ |
|
1268 |
q |
|
1269 |
} |
|
1270 |
/^X\(\/\/\)$/{ |
|
1271 |
s//\1/ |
|
1272 |
q |
|
1273 |
} |
|
1274 |
/^X\(\/\).*/{ |
|
1275 |
s//\1/ |
|
1276 |
q |
|
1277 |
} |
|
1278 |
s/.*/./; q'` |
|
1279 |
srcdir=$ac_confdir |
|
1280 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1281 |
srcdir=.. |
|
1282 |
fi |
|
1283 |
else |
|
1284 |
ac_srcdir_defaulted=no |
|
1285 |
fi |
|
1286 |
if test ! -r "$srcdir/$ac_unique_file"; then |
|
1287 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
|
1288 |
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
|
1289 |
fi |
|
1290 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
|
1291 |
ac_abs_confdir=`( |
|
1292 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
|
1293 |
pwd)` |
|
1294 |
# When building in place, set srcdir=. |
|
1295 |
if test "$ac_abs_confdir" = "$ac_pwd"; then |
|
1296 |
srcdir=. |
|
1297 |
fi |
|
1298 |
# Remove unnecessary trailing slashes from srcdir. |
|
1299 |
# Double slashes in file names in object file debugging info |
|
1300 |
# mess up M-x gdb in Emacs. |
|
1301 |
case $srcdir in |
|
1302 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
|
1303 |
esac |
|
1304 |
for ac_var in $ac_precious_vars; do |
|
1305 |
eval ac_env_${ac_var}_set=\${${ac_var}+set} |
|
1306 |
eval ac_env_${ac_var}_value=\$${ac_var} |
|
1307 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
|
1308 |
eval ac_cv_env_${ac_var}_value=\$${ac_var} |
|
1309 |
done |
|
1310 |
|
|
1311 |
# |
|
1312 |
# Report the --help message. |
|
1313 |
# |
|
1314 |
if test "$ac_init_help" = "long"; then |
|
1315 |
# Omit some internal or obsolete options to make the list less imposing. |
|
1316 |
# This message is too long to be a string in the A/UX 3.1 sh. |
|
1317 |
cat <<_ACEOF |
|
1318 |
\`configure' configures g4display 1.0.0 to adapt to many kinds of systems. |
|
1319 |
|
|
1320 |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1321 |
|
|
1322 |
To assign environment variables (e.g., CC, CFLAGS...), specify them as |
|
1323 |
VAR=VALUE. See below for descriptions of some of the useful variables. |
|
1324 |
|
|
1325 |
Defaults for the options are specified in brackets. |
|
1326 |
|
|
1327 |
Configuration: |
|
1328 |
-h, --help display this help and exit |
|
1329 |
--help=short display options specific to this package |
|
1330 |
--help=recursive display the short help of all the included packages |
|
1331 |
-V, --version display version information and exit |
|
1332 |
-q, --quiet, --silent do not print \`checking ...' messages |
|
1333 |
--cache-file=FILE cache test results in FILE [disabled] |
|
1334 |
-C, --config-cache alias for \`--cache-file=config.cache' |
|
1335 |
-n, --no-create do not create output files |
|
1336 |
--srcdir=DIR find the sources in DIR [configure dir or \`..'] |
|
1337 |
|
|
1338 |
Installation directories: |
|
1339 |
--prefix=PREFIX install architecture-independent files in PREFIX |
|
1340 |
[$ac_default_prefix] |
|
1341 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
|
1342 |
[PREFIX] |
|
1343 |
|
|
1344 |
By default, \`make install' will install all the files in |
|
1345 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
|
1346 |
an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
|
1347 |
for instance \`--prefix=\$HOME'. |
|
1348 |
|
|
1349 |
For better control, use the options below. |
|
1350 |
|
|
1351 |
Fine tuning of the installation directories: |
|
1352 |
--bindir=DIR user executables [EPREFIX/bin] |
|
1353 |
--sbindir=DIR system admin executables [EPREFIX/sbin] |
|
1354 |
--libexecdir=DIR program executables [EPREFIX/libexec] |
|
1355 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
|
1356 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
|
1357 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
|
1358 |
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] |
|
1359 |
--libdir=DIR object code libraries [EPREFIX/lib] |
|
1360 |
--includedir=DIR C header files [PREFIX/include] |
|
1361 |
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
|
1362 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
|
1363 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
|
1364 |
--infodir=DIR info documentation [DATAROOTDIR/info] |
|
1365 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
|
1366 |
--mandir=DIR man documentation [DATAROOTDIR/man] |
|
1367 |
--docdir=DIR documentation root [DATAROOTDIR/doc/g4display] |
|
1368 |
--htmldir=DIR html documentation [DOCDIR] |
|
1369 |
--dvidir=DIR dvi documentation [DOCDIR] |
|
1370 |
--pdfdir=DIR pdf documentation [DOCDIR] |
|
1371 |
--psdir=DIR ps documentation [DOCDIR] |
|
1372 |
_ACEOF |
|
1373 |
|
|
1374 |
cat <<\_ACEOF |
|
1375 |
|
|
1376 |
Program names: |
|
1377 |
--program-prefix=PREFIX prepend PREFIX to installed program names |
|
1378 |
--program-suffix=SUFFIX append SUFFIX to installed program names |
|
1379 |
--program-transform-name=PROGRAM run sed PROGRAM on installed program names |
|
1380 |
|
|
1381 |
System types: |
|
1382 |
--build=BUILD configure for building on BUILD [guessed] |
|
1383 |
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
|
1384 |
_ACEOF |
|
1385 |
fi |
|
1386 |
|
|
1387 |
if test -n "$ac_init_help"; then |
|
1388 |
case $ac_init_help in |
|
1389 |
short | recursive ) echo "Configuration of g4display 1.0.0:";; |
|
1390 |
esac |
|
1391 |
cat <<\_ACEOF |
|
1392 |
|
|
1393 |
Optional Features: |
|
1394 |
--disable-option-checking ignore unrecognized --enable/--with options |
|
1395 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
|
1396 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
1397 |
--enable-silent-rules less verbose build output (undo: "make V=1") |
|
1398 |
--disable-silent-rules verbose build output (undo: "make V=0") |
|
1399 |
--enable-dependency-tracking |
|
1400 |
do not reject slow dependency extractors |
|
1401 |
--disable-dependency-tracking |
|
1402 |
speeds up one-time build |
|
1403 |
|
|
1404 |
Some influential environment variables: |
|
1405 |
CXX C++ compiler command |
|
1406 |
CXXFLAGS C++ compiler flags |
|
1407 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
|
1408 |
nonstandard directory <lib dir> |
|
1409 |
LIBS libraries to pass to the linker, e.g. -l<library> |
|
1410 |
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
|
1411 |
you have headers in a nonstandard directory <include dir> |
|
1412 |
CC C compiler command |
|
1413 |
CFLAGS C compiler flags |
|
1414 |
CPP C preprocessor |
|
1415 |
PKG_CONFIG path to pkg-config utility |
|
1416 |
PKG_CONFIG_PATH |
|
1417 |
directories to add to pkg-config's search path |
|
1418 |
PKG_CONFIG_LIBDIR |
|
1419 |
path overriding pkg-config's built-in search path |
|
1420 |
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config |
|
1421 |
GTK_LIBS linker flags for GTK, overriding pkg-config |
|
1422 |
GLEXT_CFLAGS |
|
1423 |
C compiler flags for GLEXT, overriding pkg-config |
|
1424 |
GLEXT_LIBS linker flags for GLEXT, overriding pkg-config |
|
1425 |
|
|
1426 |
Use these variables to override the choices made by `configure' or to help |
|
1427 |
it to find libraries and programs with nonstandard names/locations. |
|
1428 |
|
|
1429 |
Report bugs to <help@polhemus.com>. |
|
1430 |
_ACEOF |
|
1431 |
ac_status=$? |
|
1432 |
fi |
|
1433 |
|
|
1434 |
if test "$ac_init_help" = "recursive"; then |
|
1435 |
# If there are subdirs, report their specific --help. |
|
1436 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
|
1437 |
test -d "$ac_dir" || |
|
1438 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
|
1439 |
continue |
|
1440 |
ac_builddir=. |
|
1441 |
|
|
1442 |
case "$ac_dir" in |
|
1443 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1444 |
*) |
|
1445 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
1446 |
# A ".." for each directory in $ac_dir_suffix. |
|
1447 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
1448 |
case $ac_top_builddir_sub in |
|
1449 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
1450 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
1451 |
esac ;; |
|
1452 |
esac |
|
1453 |
ac_abs_top_builddir=$ac_pwd |
|
1454 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
1455 |
# for backward compatibility: |
|
1456 |
ac_top_builddir=$ac_top_build_prefix |
|
1457 |
|
|
1458 |
case $srcdir in |
|
1459 |
.) # We are building in place. |
|
1460 |
ac_srcdir=. |
|
1461 |
ac_top_srcdir=$ac_top_builddir_sub |
|
1462 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
1463 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
1464 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
1465 |
ac_top_srcdir=$srcdir |
|
1466 |
ac_abs_top_srcdir=$srcdir ;; |
|
1467 |
*) # Relative name. |
|
1468 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
1469 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
1470 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
1471 |
esac |
|
1472 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
1473 |
|
|
1474 |
cd "$ac_dir" || { ac_status=$?; continue; } |
|
1475 |
# Check for guested configure. |
|
1476 |
if test -f "$ac_srcdir/configure.gnu"; then |
|
1477 |
echo && |
|
1478 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive |
|
1479 |
elif test -f "$ac_srcdir/configure"; then |
|
1480 |
echo && |
|
1481 |
$SHELL "$ac_srcdir/configure" --help=recursive |
|
1482 |
else |
|
1483 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
|
1484 |
fi || ac_status=$? |
|
1485 |
cd "$ac_pwd" || { ac_status=$?; break; } |
|
1486 |
done |
|
1487 |
fi |
|
1488 |
|
|
1489 |
test -n "$ac_init_help" && exit $ac_status |
|
1490 |
if $ac_init_version; then |
|
1491 |
cat <<\_ACEOF |
|
1492 |
g4display configure 1.0.0 |
|
1493 |
generated by GNU Autoconf 2.69 |
|
1494 |
|
|
1495 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
1496 |
This configure script is free software; the Free Software Foundation |
|
1497 |
gives unlimited permission to copy, distribute and modify it. |
|
1498 |
_ACEOF |
|
1499 |
exit |
|
1500 |
fi |
|
1501 |
|
|
1502 |
## ------------------------ ## |
|
1503 |
## Autoconf initialization. ## |
|
1504 |
## ------------------------ ## |
|
1505 |
|
|
1506 |
# ac_fn_cxx_try_compile LINENO |
|
1507 |
# ---------------------------- |
|
1508 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1509 |
ac_fn_cxx_try_compile () |
|
1510 |
{ |
|
1511 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1512 |
rm -f conftest.$ac_objext |
|
1513 |
if { { ac_try="$ac_compile" |
|
1514 |
case "(($ac_try" in |
|
1515 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1516 |
*) ac_try_echo=$ac_try;; |
|
1517 |
esac |
|
1518 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1519 |
$as_echo "$ac_try_echo"; } >&5 |
|
1520 |
(eval "$ac_compile") 2>conftest.err |
|
1521 |
ac_status=$? |
|
1522 |
if test -s conftest.err; then |
|
1523 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1524 |
cat conftest.er1 >&5 |
|
1525 |
mv -f conftest.er1 conftest.err |
|
1526 |
fi |
|
1527 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1528 |
test $ac_status = 0; } && { |
|
1529 |
test -z "$ac_cxx_werror_flag" || |
|
1530 |
test ! -s conftest.err |
|
1531 |
} && test -s conftest.$ac_objext; then : |
|
1532 |
ac_retval=0 |
|
1533 |
else |
|
1534 |
$as_echo "$as_me: failed program was:" >&5 |
|
1535 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1536 |
|
|
1537 |
ac_retval=1 |
|
1538 |
fi |
|
1539 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1540 |
as_fn_set_status $ac_retval |
|
1541 |
|
|
1542 |
} # ac_fn_cxx_try_compile |
|
1543 |
|
|
1544 |
# ac_fn_c_try_compile LINENO |
|
1545 |
# -------------------------- |
|
1546 |
# Try to compile conftest.$ac_ext, and return whether this succeeded. |
|
1547 |
ac_fn_c_try_compile () |
|
1548 |
{ |
|
1549 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1550 |
rm -f conftest.$ac_objext |
|
1551 |
if { { ac_try="$ac_compile" |
|
1552 |
case "(($ac_try" in |
|
1553 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1554 |
*) ac_try_echo=$ac_try;; |
|
1555 |
esac |
|
1556 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1557 |
$as_echo "$ac_try_echo"; } >&5 |
|
1558 |
(eval "$ac_compile") 2>conftest.err |
|
1559 |
ac_status=$? |
|
1560 |
if test -s conftest.err; then |
|
1561 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1562 |
cat conftest.er1 >&5 |
|
1563 |
mv -f conftest.er1 conftest.err |
|
1564 |
fi |
|
1565 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1566 |
test $ac_status = 0; } && { |
|
1567 |
test -z "$ac_c_werror_flag" || |
|
1568 |
test ! -s conftest.err |
|
1569 |
} && test -s conftest.$ac_objext; then : |
|
1570 |
ac_retval=0 |
|
1571 |
else |
|
1572 |
$as_echo "$as_me: failed program was:" >&5 |
|
1573 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1574 |
|
|
1575 |
ac_retval=1 |
|
1576 |
fi |
|
1577 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1578 |
as_fn_set_status $ac_retval |
|
1579 |
|
|
1580 |
} # ac_fn_c_try_compile |
|
1581 |
|
|
1582 |
# ac_fn_c_try_link LINENO |
|
1583 |
# ----------------------- |
|
1584 |
# Try to link conftest.$ac_ext, and return whether this succeeded. |
|
1585 |
ac_fn_c_try_link () |
|
1586 |
{ |
|
1587 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1588 |
rm -f conftest.$ac_objext conftest$ac_exeext |
|
1589 |
if { { ac_try="$ac_link" |
|
1590 |
case "(($ac_try" in |
|
1591 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1592 |
*) ac_try_echo=$ac_try;; |
|
1593 |
esac |
|
1594 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1595 |
$as_echo "$ac_try_echo"; } >&5 |
|
1596 |
(eval "$ac_link") 2>conftest.err |
|
1597 |
ac_status=$? |
|
1598 |
if test -s conftest.err; then |
|
1599 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1600 |
cat conftest.er1 >&5 |
|
1601 |
mv -f conftest.er1 conftest.err |
|
1602 |
fi |
|
1603 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1604 |
test $ac_status = 0; } && { |
|
1605 |
test -z "$ac_c_werror_flag" || |
|
1606 |
test ! -s conftest.err |
|
1607 |
} && test -s conftest$ac_exeext && { |
|
1608 |
test "$cross_compiling" = yes || |
|
1609 |
test -x conftest$ac_exeext |
|
1610 |
}; then : |
|
1611 |
ac_retval=0 |
|
1612 |
else |
|
1613 |
$as_echo "$as_me: failed program was:" >&5 |
|
1614 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1615 |
|
|
1616 |
ac_retval=1 |
|
1617 |
fi |
|
1618 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
|
1619 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
|
1620 |
# interfere with the next link command; also delete a directory that is |
|
1621 |
# left behind by Apple's compiler. We do this before executing the actions. |
|
1622 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1623 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1624 |
as_fn_set_status $ac_retval |
|
1625 |
|
|
1626 |
} # ac_fn_c_try_link |
|
1627 |
|
|
1628 |
# ac_fn_c_try_cpp LINENO |
|
1629 |
# ---------------------- |
|
1630 |
# Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
|
1631 |
ac_fn_c_try_cpp () |
|
1632 |
{ |
|
1633 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1634 |
if { { ac_try="$ac_cpp conftest.$ac_ext" |
|
1635 |
case "(($ac_try" in |
|
1636 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1637 |
*) ac_try_echo=$ac_try;; |
|
1638 |
esac |
|
1639 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1640 |
$as_echo "$ac_try_echo"; } >&5 |
|
1641 |
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
|
1642 |
ac_status=$? |
|
1643 |
if test -s conftest.err; then |
|
1644 |
grep -v '^ *+' conftest.err >conftest.er1 |
|
1645 |
cat conftest.er1 >&5 |
|
1646 |
mv -f conftest.er1 conftest.err |
|
1647 |
fi |
|
1648 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1649 |
test $ac_status = 0; } > conftest.i && { |
|
1650 |
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
|
1651 |
test ! -s conftest.err |
|
1652 |
}; then : |
|
1653 |
ac_retval=0 |
|
1654 |
else |
|
1655 |
$as_echo "$as_me: failed program was:" >&5 |
|
1656 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1657 |
|
|
1658 |
ac_retval=1 |
|
1659 |
fi |
|
1660 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1661 |
as_fn_set_status $ac_retval |
|
1662 |
|
|
1663 |
} # ac_fn_c_try_cpp |
|
1664 |
|
|
1665 |
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
|
1666 |
# ------------------------------------------------------- |
|
1667 |
# Tests whether HEADER exists, giving a warning if it cannot be compiled using |
|
1668 |
# the include files in INCLUDES and setting the cache variable VAR |
|
1669 |
# accordingly. |
|
1670 |
ac_fn_c_check_header_mongrel () |
|
1671 |
{ |
|
1672 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1673 |
if eval \${$3+:} false; then : |
|
1674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1675 |
$as_echo_n "checking for $2... " >&6; } |
|
1676 |
if eval \${$3+:} false; then : |
|
1677 |
$as_echo_n "(cached) " >&6 |
|
1678 |
fi |
|
1679 |
eval ac_res=\$$3 |
|
1680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1681 |
$as_echo "$ac_res" >&6; } |
|
1682 |
else |
|
1683 |
# Is the header compilable? |
|
1684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
|
1685 |
$as_echo_n "checking $2 usability... " >&6; } |
|
1686 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1687 |
/* end confdefs.h. */ |
|
1688 |
$4 |
|
1689 |
#include <$2> |
|
1690 |
_ACEOF |
|
1691 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1692 |
ac_header_compiler=yes |
|
1693 |
else |
|
1694 |
ac_header_compiler=no |
|
1695 |
fi |
|
1696 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1697 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
|
1698 |
$as_echo "$ac_header_compiler" >&6; } |
|
1699 |
|
|
1700 |
# Is the header present? |
|
1701 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
|
1702 |
$as_echo_n "checking $2 presence... " >&6; } |
|
1703 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1704 |
/* end confdefs.h. */ |
|
1705 |
#include <$2> |
|
1706 |
_ACEOF |
|
1707 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
1708 |
ac_header_preproc=yes |
|
1709 |
else |
|
1710 |
ac_header_preproc=no |
|
1711 |
fi |
|
1712 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
1713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
|
1714 |
$as_echo "$ac_header_preproc" >&6; } |
|
1715 |
|
|
1716 |
# So? What about this header? |
|
1717 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
|
1718 |
yes:no: ) |
|
1719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
1720 |
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
1721 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1722 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1723 |
;; |
|
1724 |
no:yes:* ) |
|
1725 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
|
1726 |
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
|
1727 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
|
1728 |
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
|
1729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
|
1730 |
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
|
1731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
|
1732 |
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
|
1733 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
|
1734 |
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
|
1735 |
( $as_echo "## -------------------------------- ## |
|
1736 |
## Report this to help@polhemus.com ## |
|
1737 |
## -------------------------------- ##" |
|
1738 |
) | sed "s/^/$as_me: WARNING: /" >&2 |
|
1739 |
;; |
|
1740 |
esac |
|
1741 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1742 |
$as_echo_n "checking for $2... " >&6; } |
|
1743 |
if eval \${$3+:} false; then : |
|
1744 |
$as_echo_n "(cached) " >&6 |
|
1745 |
else |
|
1746 |
eval "$3=\$ac_header_compiler" |
|
1747 |
fi |
|
1748 |
eval ac_res=\$$3 |
|
1749 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1750 |
$as_echo "$ac_res" >&6; } |
|
1751 |
fi |
|
1752 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1753 |
|
|
1754 |
} # ac_fn_c_check_header_mongrel |
|
1755 |
|
|
1756 |
# ac_fn_c_try_run LINENO |
|
1757 |
# ---------------------- |
|
1758 |
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
|
1759 |
# that executables *can* be run. |
|
1760 |
ac_fn_c_try_run () |
|
1761 |
{ |
|
1762 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1763 |
if { { ac_try="$ac_link" |
|
1764 |
case "(($ac_try" in |
|
1765 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1766 |
*) ac_try_echo=$ac_try;; |
|
1767 |
esac |
|
1768 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1769 |
$as_echo "$ac_try_echo"; } >&5 |
|
1770 |
(eval "$ac_link") 2>&5 |
|
1771 |
ac_status=$? |
|
1772 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1773 |
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
|
1774 |
{ { case "(($ac_try" in |
|
1775 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
1776 |
*) ac_try_echo=$ac_try;; |
|
1777 |
esac |
|
1778 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
1779 |
$as_echo "$ac_try_echo"; } >&5 |
|
1780 |
(eval "$ac_try") 2>&5 |
|
1781 |
ac_status=$? |
|
1782 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
1783 |
test $ac_status = 0; }; }; then : |
|
1784 |
ac_retval=0 |
|
1785 |
else |
|
1786 |
$as_echo "$as_me: program exited with status $ac_status" >&5 |
|
1787 |
$as_echo "$as_me: failed program was:" >&5 |
|
1788 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
1789 |
|
|
1790 |
ac_retval=$ac_status |
|
1791 |
fi |
|
1792 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
|
1793 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1794 |
as_fn_set_status $ac_retval |
|
1795 |
|
|
1796 |
} # ac_fn_c_try_run |
|
1797 |
|
|
1798 |
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
|
1799 |
# ------------------------------------------------------- |
|
1800 |
# Tests whether HEADER exists and can be compiled using the include files in |
|
1801 |
# INCLUDES, setting the cache variable VAR accordingly. |
|
1802 |
ac_fn_c_check_header_compile () |
|
1803 |
{ |
|
1804 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1805 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1806 |
$as_echo_n "checking for $2... " >&6; } |
|
1807 |
if eval \${$3+:} false; then : |
|
1808 |
$as_echo_n "(cached) " >&6 |
|
1809 |
else |
|
1810 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1811 |
/* end confdefs.h. */ |
|
1812 |
$4 |
|
1813 |
#include <$2> |
|
1814 |
_ACEOF |
|
1815 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1816 |
eval "$3=yes" |
|
1817 |
else |
|
1818 |
eval "$3=no" |
|
1819 |
fi |
|
1820 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1821 |
fi |
|
1822 |
eval ac_res=\$$3 |
|
1823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1824 |
$as_echo "$ac_res" >&6; } |
|
1825 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1826 |
|
|
1827 |
} # ac_fn_c_check_header_compile |
|
1828 |
|
|
1829 |
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES |
|
1830 |
# ------------------------------------------- |
|
1831 |
# Tests whether TYPE exists after having included INCLUDES, setting cache |
|
1832 |
# variable VAR accordingly. |
|
1833 |
ac_fn_c_check_type () |
|
1834 |
{ |
|
1835 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1836 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1837 |
$as_echo_n "checking for $2... " >&6; } |
|
1838 |
if eval \${$3+:} false; then : |
|
1839 |
$as_echo_n "(cached) " >&6 |
|
1840 |
else |
|
1841 |
eval "$3=no" |
|
1842 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1843 |
/* end confdefs.h. */ |
|
1844 |
$4 |
|
1845 |
int |
|
1846 |
main () |
|
1847 |
{ |
|
1848 |
if (sizeof ($2)) |
|
1849 |
return 0; |
|
1850 |
; |
|
1851 |
return 0; |
|
1852 |
} |
|
1853 |
_ACEOF |
|
1854 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1855 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1856 |
/* end confdefs.h. */ |
|
1857 |
$4 |
|
1858 |
int |
|
1859 |
main () |
|
1860 |
{ |
|
1861 |
if (sizeof (($2))) |
|
1862 |
return 0; |
|
1863 |
; |
|
1864 |
return 0; |
|
1865 |
} |
|
1866 |
_ACEOF |
|
1867 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1868 |
|
|
1869 |
else |
|
1870 |
eval "$3=yes" |
|
1871 |
fi |
|
1872 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1873 |
fi |
|
1874 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1875 |
fi |
|
1876 |
eval ac_res=\$$3 |
|
1877 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1878 |
$as_echo "$ac_res" >&6; } |
|
1879 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1880 |
|
|
1881 |
} # ac_fn_c_check_type |
|
1882 |
|
|
1883 |
# ac_fn_c_find_uintX_t LINENO BITS VAR |
|
1884 |
# ------------------------------------ |
|
1885 |
# Finds an unsigned integer type with width BITS, setting cache variable VAR |
|
1886 |
# accordingly. |
|
1887 |
ac_fn_c_find_uintX_t () |
|
1888 |
{ |
|
1889 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1890 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5 |
|
1891 |
$as_echo_n "checking for uint$2_t... " >&6; } |
|
1892 |
if eval \${$3+:} false; then : |
|
1893 |
$as_echo_n "(cached) " >&6 |
|
1894 |
else |
|
1895 |
eval "$3=no" |
|
1896 |
# Order is important - never check a type that is potentially smaller |
|
1897 |
# than half of the expected target width. |
|
1898 |
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \ |
|
1899 |
'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
|
1900 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1901 |
/* end confdefs.h. */ |
|
1902 |
$ac_includes_default |
|
1903 |
int |
|
1904 |
main () |
|
1905 |
{ |
|
1906 |
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)]; |
|
1907 |
test_array [0] = 0; |
|
1908 |
return test_array [0]; |
|
1909 |
|
|
1910 |
; |
|
1911 |
return 0; |
|
1912 |
} |
|
1913 |
_ACEOF |
|
1914 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
1915 |
case $ac_type in #( |
|
1916 |
uint$2_t) : |
|
1917 |
eval "$3=yes" ;; #( |
|
1918 |
*) : |
|
1919 |
eval "$3=\$ac_type" ;; |
|
1920 |
esac |
|
1921 |
fi |
|
1922 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
1923 |
if eval test \"x\$"$3"\" = x"no"; then : |
|
1924 |
|
|
1925 |
else |
|
1926 |
break |
|
1927 |
fi |
|
1928 |
done |
|
1929 |
fi |
|
1930 |
eval ac_res=\$$3 |
|
1931 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1932 |
$as_echo "$ac_res" >&6; } |
|
1933 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
1934 |
|
|
1935 |
} # ac_fn_c_find_uintX_t |
|
1936 |
|
|
1937 |
# ac_fn_c_check_func LINENO FUNC VAR |
|
1938 |
# ---------------------------------- |
|
1939 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly |
|
1940 |
ac_fn_c_check_func () |
|
1941 |
{ |
|
1942 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
1943 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
|
1944 |
$as_echo_n "checking for $2... " >&6; } |
|
1945 |
if eval \${$3+:} false; then : |
|
1946 |
$as_echo_n "(cached) " >&6 |
|
1947 |
else |
|
1948 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
1949 |
/* end confdefs.h. */ |
|
1950 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
|
1951 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
1952 |
#define $2 innocuous_$2 |
|
1953 |
|
|
1954 |
/* System header to define __stub macros and hopefully few prototypes, |
|
1955 |
which can conflict with char $2 (); below. |
|
1956 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
1957 |
<limits.h> exists even on freestanding compilers. */ |
|
1958 |
|
|
1959 |
#ifdef __STDC__ |
|
1960 |
# include <limits.h> |
|
1961 |
#else |
|
1962 |
# include <assert.h> |
|
1963 |
#endif |
|
1964 |
|
|
1965 |
#undef $2 |
|
1966 |
|
|
1967 |
/* Override any GCC internal prototype to avoid an error. |
|
1968 |
Use char because int might match the return type of a GCC |
|
1969 |
builtin and then its argument prototype would still apply. */ |
|
1970 |
#ifdef __cplusplus |
|
1971 |
extern "C" |
|
1972 |
#endif |
|
1973 |
char $2 (); |
|
1974 |
/* The GNU C library defines this for functions which it implements |
|
1975 |
to always fail with ENOSYS. Some functions are actually named |
|
1976 |
something starting with __ and the normal name is an alias. */ |
|
1977 |
#if defined __stub_$2 || defined __stub___$2 |
|
1978 |
choke me |
|
1979 |
#endif |
|
1980 |
|
|
1981 |
int |
|
1982 |
main () |
|
1983 |
{ |
|
1984 |
return $2 (); |
|
1985 |
; |
|
1986 |
return 0; |
|
1987 |
} |
|
1988 |
_ACEOF |
|
1989 |
if ac_fn_c_try_link "$LINENO"; then : |
|
1990 |
eval "$3=yes" |
|
1991 |
else |
|
1992 |
eval "$3=no" |
|
1993 |
fi |
|
1994 |
rm -f core conftest.err conftest.$ac_objext \ |
|
1995 |
conftest$ac_exeext conftest.$ac_ext |
|
1996 |
fi |
|
1997 |
eval ac_res=\$$3 |
|
1998 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
|
1999 |
$as_echo "$ac_res" >&6; } |
|
2000 |
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
|
2001 |
|
|
2002 |
} # ac_fn_c_check_func |
|
2003 |
cat >config.log <<_ACEOF |
|
2004 |
This file contains any messages produced by compilers while |
|
2005 |
running configure, to aid debugging if configure makes a mistake. |
|
2006 |
|
|
2007 |
It was created by g4display $as_me 1.0.0, which was |
|
2008 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
2009 |
|
|
2010 |
$ $0 $@ |
|
2011 |
|
|
2012 |
_ACEOF |
|
2013 |
exec 5>>config.log |
|
2014 |
{ |
|
2015 |
cat <<_ASUNAME |
|
2016 |
## --------- ## |
|
2017 |
## Platform. ## |
|
2018 |
## --------- ## |
|
2019 |
|
|
2020 |
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
2021 |
uname -m = `(uname -m) 2>/dev/null || echo unknown` |
|
2022 |
uname -r = `(uname -r) 2>/dev/null || echo unknown` |
|
2023 |
uname -s = `(uname -s) 2>/dev/null || echo unknown` |
|
2024 |
uname -v = `(uname -v) 2>/dev/null || echo unknown` |
|
2025 |
|
|
2026 |
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
|
2027 |
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
|
2028 |
|
|
2029 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
|
2030 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
|
2031 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
|
2032 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
|
2033 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
|
2034 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
|
2035 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
|
2036 |
|
|
2037 |
_ASUNAME |
|
2038 |
|
|
2039 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2040 |
for as_dir in $PATH |
|
2041 |
do |
|
2042 |
IFS=$as_save_IFS |
|
2043 |
test -z "$as_dir" && as_dir=. |
|
2044 |
$as_echo "PATH: $as_dir" |
|
2045 |
done |
|
2046 |
IFS=$as_save_IFS |
|
2047 |
|
|
2048 |
} >&5 |
|
2049 |
|
|
2050 |
cat >&5 <<_ACEOF |
|
2051 |
|
|
2052 |
|
|
2053 |
## ----------- ## |
|
2054 |
## Core tests. ## |
|
2055 |
## ----------- ## |
|
2056 |
|
|
2057 |
_ACEOF |
|
2058 |
|
|
2059 |
|
|
2060 |
# Keep a trace of the command line. |
|
2061 |
# Strip out --no-create and --no-recursion so they do not pile up. |
|
2062 |
# Strip out --silent because we don't want to record it for future runs. |
|
2063 |
# Also quote any args containing shell meta-characters. |
|
2064 |
# Make two passes to allow for proper duplicate-argument suppression. |
|
2065 |
ac_configure_args= |
|
2066 |
ac_configure_args0= |
|
2067 |
ac_configure_args1= |
|
2068 |
ac_must_keep_next=false |
|
2069 |
for ac_pass in 1 2 |
|
2070 |
do |
|
2071 |
for ac_arg |
|
2072 |
do |
|
2073 |
case $ac_arg in |
|
2074 |
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
|
2075 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
2076 |
| -silent | --silent | --silen | --sile | --sil) |
|
2077 |
continue ;; |
|
2078 |
*\'*) |
|
2079 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2080 |
esac |
|
2081 |
case $ac_pass in |
|
2082 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
|
2083 |
2) |
|
2084 |
as_fn_append ac_configure_args1 " '$ac_arg'" |
|
2085 |
if test $ac_must_keep_next = true; then |
|
2086 |
ac_must_keep_next=false # Got value, back to normal. |
|
2087 |
else |
|
2088 |
case $ac_arg in |
|
2089 |
*=* | --config-cache | -C | -disable-* | --disable-* \ |
|
2090 |
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
|
2091 |
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
|
2092 |
| -with-* | --with-* | -without-* | --without-* | --x) |
|
2093 |
case "$ac_configure_args0 " in |
|
2094 |
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
|
2095 |
esac |
|
2096 |
;; |
|
2097 |
-* ) ac_must_keep_next=true ;; |
|
2098 |
esac |
|
2099 |
fi |
|
2100 |
as_fn_append ac_configure_args " '$ac_arg'" |
|
2101 |
;; |
|
2102 |
esac |
|
2103 |
done |
|
2104 |
done |
|
2105 |
{ ac_configure_args0=; unset ac_configure_args0;} |
|
2106 |
{ ac_configure_args1=; unset ac_configure_args1;} |
|
2107 |
|
|
2108 |
# When interrupted or exit'd, cleanup temporary files, and complete |
|
2109 |
# config.log. We remove comments because anyway the quotes in there |
|
2110 |
# would cause problems or look ugly. |
|
2111 |
# WARNING: Use '\'' to represent an apostrophe within the trap. |
|
2112 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
|
2113 |
trap 'exit_status=$? |
|
2114 |
# Save into config.log some information that might help in debugging. |
|
2115 |
{ |
|
2116 |
echo |
|
2117 |
|
|
2118 |
$as_echo "## ---------------- ## |
|
2119 |
## Cache variables. ## |
|
2120 |
## ---------------- ##" |
|
2121 |
echo |
|
2122 |
# The following way of writing the cache mishandles newlines in values, |
|
2123 |
( |
|
2124 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
|
2125 |
eval ac_val=\$$ac_var |
|
2126 |
case $ac_val in #( |
|
2127 |
*${as_nl}*) |
|
2128 |
case $ac_var in #( |
|
2129 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
2130 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
2131 |
esac |
|
2132 |
case $ac_var in #( |
|
2133 |
_ | IFS | as_nl) ;; #( |
|
2134 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
2135 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
2136 |
esac ;; |
|
2137 |
esac |
|
2138 |
done |
|
2139 |
(set) 2>&1 | |
|
2140 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
|
2141 |
*${as_nl}ac_space=\ *) |
|
2142 |
sed -n \ |
|
2143 |
"s/'\''/'\''\\\\'\'''\''/g; |
|
2144 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
|
2145 |
;; #( |
|
2146 |
*) |
|
2147 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
2148 |
;; |
|
2149 |
esac | |
|
2150 |
sort |
|
2151 |
) |
|
2152 |
echo |
|
2153 |
|
|
2154 |
$as_echo "## ----------------- ## |
|
2155 |
## Output variables. ## |
|
2156 |
## ----------------- ##" |
|
2157 |
echo |
|
2158 |
for ac_var in $ac_subst_vars |
|
2159 |
do |
|
2160 |
eval ac_val=\$$ac_var |
|
2161 |
case $ac_val in |
|
2162 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2163 |
esac |
|
2164 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2165 |
done | sort |
|
2166 |
echo |
|
2167 |
|
|
2168 |
if test -n "$ac_subst_files"; then |
|
2169 |
$as_echo "## ------------------- ## |
|
2170 |
## File substitutions. ## |
|
2171 |
## ------------------- ##" |
|
2172 |
echo |
|
2173 |
for ac_var in $ac_subst_files |
|
2174 |
do |
|
2175 |
eval ac_val=\$$ac_var |
|
2176 |
case $ac_val in |
|
2177 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
|
2178 |
esac |
|
2179 |
$as_echo "$ac_var='\''$ac_val'\''" |
|
2180 |
done | sort |
|
2181 |
echo |
|
2182 |
fi |
|
2183 |
|
|
2184 |
if test -s confdefs.h; then |
|
2185 |
$as_echo "## ----------- ## |
|
2186 |
## confdefs.h. ## |
|
2187 |
## ----------- ##" |
|
2188 |
echo |
|
2189 |
cat confdefs.h |
|
2190 |
echo |
|
2191 |
fi |
|
2192 |
test "$ac_signal" != 0 && |
|
2193 |
$as_echo "$as_me: caught signal $ac_signal" |
|
2194 |
$as_echo "$as_me: exit $exit_status" |
|
2195 |
} >&5 |
|
2196 |
rm -f core *.core core.conftest.* && |
|
2197 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
|
2198 |
exit $exit_status |
|
2199 |
' 0 |
|
2200 |
for ac_signal in 1 2 13 15; do |
|
2201 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
|
2202 |
done |
|
2203 |
ac_signal=0 |
|
2204 |
|
|
2205 |
# confdefs.h avoids OS command line length limits that DEFS can exceed. |
|
2206 |
rm -f -r conftest* confdefs.h |
|
2207 |
|
|
2208 |
$as_echo "/* confdefs.h */" > confdefs.h |
|
2209 |
|
|
2210 |
# Predefined preprocessor variables. |
|
2211 |
|
|
2212 |
cat >>confdefs.h <<_ACEOF |
|
2213 |
#define PACKAGE_NAME "$PACKAGE_NAME" |
|
2214 |
_ACEOF |
|
2215 |
|
|
2216 |
cat >>confdefs.h <<_ACEOF |
|
2217 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
|
2218 |
_ACEOF |
|
2219 |
|
|
2220 |
cat >>confdefs.h <<_ACEOF |
|
2221 |
#define PACKAGE_VERSION "$PACKAGE_VERSION" |
|
2222 |
_ACEOF |
|
2223 |
|
|
2224 |
cat >>confdefs.h <<_ACEOF |
|
2225 |
#define PACKAGE_STRING "$PACKAGE_STRING" |
|
2226 |
_ACEOF |
|
2227 |
|
|
2228 |
cat >>confdefs.h <<_ACEOF |
|
2229 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
|
2230 |
_ACEOF |
|
2231 |
|
|
2232 |
cat >>confdefs.h <<_ACEOF |
|
2233 |
#define PACKAGE_URL "$PACKAGE_URL" |
|
2234 |
_ACEOF |
|
2235 |
|
|
2236 |
|
|
2237 |
# Let the site file select an alternate cache file if it wants to. |
|
2238 |
# Prefer an explicitly selected file to automatically selected ones. |
|
2239 |
ac_site_file1=NONE |
|
2240 |
ac_site_file2=NONE |
|
2241 |
if test -n "$CONFIG_SITE"; then |
|
2242 |
# We do not want a PATH search for config.site. |
|
2243 |
case $CONFIG_SITE in #(( |
|
2244 |
-*) ac_site_file1=./$CONFIG_SITE;; |
|
2245 |
*/*) ac_site_file1=$CONFIG_SITE;; |
|
2246 |
*) ac_site_file1=./$CONFIG_SITE;; |
|
2247 |
esac |
|
2248 |
elif test "x$prefix" != xNONE; then |
|
2249 |
ac_site_file1=$prefix/share/config.site |
|
2250 |
ac_site_file2=$prefix/etc/config.site |
|
2251 |
else |
|
2252 |
ac_site_file1=$ac_default_prefix/share/config.site |
|
2253 |
ac_site_file2=$ac_default_prefix/etc/config.site |
|
2254 |
fi |
|
2255 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
|
2256 |
do |
|
2257 |
test "x$ac_site_file" = xNONE && continue |
|
2258 |
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
|
2259 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
|
2260 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;} |
|
2261 |
sed 's/^/| /' "$ac_site_file" >&5 |
|
2262 |
. "$ac_site_file" \ |
|
2263 |
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2264 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2265 |
as_fn_error $? "failed to load site script $ac_site_file |
|
2266 |
See \`config.log' for more details" "$LINENO" 5; } |
|
2267 |
fi |
|
2268 |
done |
|
2269 |
|
|
2270 |
if test -r "$cache_file"; then |
|
2271 |
# Some versions of bash will fail to source /dev/null (special files |
|
2272 |
# actually), so we avoid doing that. DJGPP emulates it as a regular file. |
|
2273 |
if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
|
2274 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
|
2275 |
$as_echo "$as_me: loading cache $cache_file" >&6;} |
|
2276 |
case $cache_file in |
|
2277 |
[\\/]* | ?:[\\/]* ) . "$cache_file";; |
|
2278 |
*) . "./$cache_file";; |
|
2279 |
esac |
|
2280 |
fi |
|
2281 |
else |
|
2282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
|
2283 |
$as_echo "$as_me: creating cache $cache_file" >&6;} |
|
2284 |
>$cache_file |
|
2285 |
fi |
|
2286 |
|
|
2287 |
# Check that the precious variables saved in the cache have kept the same |
|
2288 |
# value. |
|
2289 |
ac_cache_corrupted=false |
|
2290 |
for ac_var in $ac_precious_vars; do |
|
2291 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set |
|
2292 |
eval ac_new_set=\$ac_env_${ac_var}_set |
|
2293 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value |
|
2294 |
eval ac_new_val=\$ac_env_${ac_var}_value |
|
2295 |
case $ac_old_set,$ac_new_set in |
|
2296 |
set,) |
|
2297 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
|
2298 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
|
2299 |
ac_cache_corrupted=: ;; |
|
2300 |
,set) |
|
2301 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
|
2302 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
|
2303 |
ac_cache_corrupted=: ;; |
|
2304 |
,);; |
|
2305 |
*) |
|
2306 |
if test "x$ac_old_val" != "x$ac_new_val"; then |
|
2307 |
# differences in whitespace do not lead to failure. |
|
2308 |
ac_old_val_w=`echo x $ac_old_val` |
|
2309 |
ac_new_val_w=`echo x $ac_new_val` |
|
2310 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then |
|
2311 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
|
2312 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
|
2313 |
ac_cache_corrupted=: |
|
2314 |
else |
|
2315 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
|
2316 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
|
2317 |
eval $ac_var=\$ac_old_val |
|
2318 |
fi |
|
2319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
|
2320 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
|
2321 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
|
2322 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
|
2323 |
fi;; |
|
2324 |
esac |
|
2325 |
# Pass precious variables to config.status. |
|
2326 |
if test "$ac_new_set" = set; then |
|
2327 |
case $ac_new_val in |
|
2328 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
2329 |
*) ac_arg=$ac_var=$ac_new_val ;; |
|
2330 |
esac |
|
2331 |
case " $ac_configure_args " in |
|
2332 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
|
2333 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;; |
|
2334 |
esac |
|
2335 |
fi |
|
2336 |
done |
|
2337 |
if $ac_cache_corrupted; then |
|
2338 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
2339 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
2340 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
|
2341 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
|
2342 |
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
|
2343 |
fi |
|
2344 |
## -------------------- ## |
|
2345 |
## Main body of script. ## |
|
2346 |
## -------------------- ## |
|
2347 |
|
|
2348 |
ac_ext=c |
|
2349 |
ac_cpp='$CPP $CPPFLAGS' |
|
2350 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2351 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2352 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
2353 |
|
|
2354 |
|
|
2355 |
am__api_version='1.16' |
|
2356 |
|
|
2357 |
ac_aux_dir= |
|
2358 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
|
2359 |
if test -f "$ac_dir/install-sh"; then |
|
2360 |
ac_aux_dir=$ac_dir |
|
2361 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
|
2362 |
break |
|
2363 |
elif test -f "$ac_dir/install.sh"; then |
|
2364 |
ac_aux_dir=$ac_dir |
|
2365 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
|
2366 |
break |
|
2367 |
elif test -f "$ac_dir/shtool"; then |
|
2368 |
ac_aux_dir=$ac_dir |
|
2369 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
|
2370 |
break |
|
2371 |
fi |
|
2372 |
done |
|
2373 |
if test -z "$ac_aux_dir"; then |
|
2374 |
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 |
|
2375 |
fi |
|
2376 |
|
|
2377 |
# These three variables are undocumented and unsupported, |
|
2378 |
# and are intended to be withdrawn in a future Autoconf release. |
|
2379 |
# They can cause serious problems if a builder's source tree is in a directory |
|
2380 |
# whose full name contains unusual characters. |
|
2381 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
|
2382 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
|
2383 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
|
2384 |
|
|
2385 |
|
|
2386 |
# Find a good install program. We prefer a C program (faster), |
|
2387 |
# so one script is as good as another. But avoid the broken or |
|
2388 |
# incompatible versions: |
|
2389 |
# SysV /etc/install, /usr/sbin/install |
|
2390 |
# SunOS /usr/etc/install |
|
2391 |
# IRIX /sbin/install |
|
2392 |
# AIX /bin/install |
|
2393 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
|
2394 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
|
2395 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
|
2396 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
|
2397 |
# OS/2's system install, which has a completely different semantic |
|
2398 |
# ./install, which can be erroneously created by make from ./install.sh. |
|
2399 |
# Reject install programs that cannot install multiple files. |
|
2400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
|
2401 |
$as_echo_n "checking for a BSD-compatible install... " >&6; } |
|
2402 |
if test -z "$INSTALL"; then |
|
2403 |
if ${ac_cv_path_install+:} false; then : |
|
2404 |
$as_echo_n "(cached) " >&6 |
|
2405 |
else |
|
2406 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2407 |
for as_dir in $PATH |
|
2408 |
do |
|
2409 |
IFS=$as_save_IFS |
|
2410 |
test -z "$as_dir" && as_dir=. |
|
2411 |
# Account for people who put trailing slashes in PATH elements. |
|
2412 |
case $as_dir/ in #(( |
|
2413 |
./ | .// | /[cC]/* | \ |
|
2414 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
|
2415 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
|
2416 |
/usr/ucb/* ) ;; |
|
2417 |
*) |
|
2418 |
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
2419 |
# Don't use installbsd from OSF since it installs stuff as root |
|
2420 |
# by default. |
|
2421 |
for ac_prog in ginstall scoinst install; do |
|
2422 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2423 |
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
2424 |
if test $ac_prog = install && |
|
2425 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2426 |
# AIX install. It has an incompatible calling convention. |
|
2427 |
: |
|
2428 |
elif test $ac_prog = install && |
|
2429 |
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
2430 |
# program-specific install script used by HP pwplus--don't use. |
|
2431 |
: |
|
2432 |
else |
|
2433 |
rm -rf conftest.one conftest.two conftest.dir |
|
2434 |
echo one > conftest.one |
|
2435 |
echo two > conftest.two |
|
2436 |
mkdir conftest.dir |
|
2437 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
|
2438 |
test -s conftest.one && test -s conftest.two && |
|
2439 |
test -s conftest.dir/conftest.one && |
|
2440 |
test -s conftest.dir/conftest.two |
|
2441 |
then |
|
2442 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
2443 |
break 3 |
|
2444 |
fi |
|
2445 |
fi |
|
2446 |
fi |
|
2447 |
done |
|
2448 |
done |
|
2449 |
;; |
|
2450 |
esac |
|
2451 |
|
|
2452 |
done |
|
2453 |
IFS=$as_save_IFS |
|
2454 |
|
|
2455 |
rm -rf conftest.one conftest.two conftest.dir |
|
2456 |
|
|
2457 |
fi |
|
2458 |
if test "${ac_cv_path_install+set}" = set; then |
|
2459 |
INSTALL=$ac_cv_path_install |
|
2460 |
else |
|
2461 |
# As a last resort, use the slow shell script. Don't cache a |
|
2462 |
# value for INSTALL within a source directory, because that will |
|
2463 |
# break other packages using the cache if that directory is |
|
2464 |
# removed, or if the value is a relative name. |
|
2465 |
INSTALL=$ac_install_sh |
|
2466 |
fi |
|
2467 |
fi |
|
2468 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
|
2469 |
$as_echo "$INSTALL" >&6; } |
|
2470 |
|
|
2471 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
|
2472 |
# It thinks the first close brace ends the variable substitution. |
|
2473 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
|
2474 |
|
|
2475 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
|
2476 |
|
|
2477 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
2478 |
|
|
2479 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
|
2480 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
|
2481 |
# Reject unsafe characters in $srcdir or the absolute working directory |
|
2482 |
# name. Accept space and tab only in the latter. |
|
2483 |
am_lf=' |
|
2484 |
' |
|
2485 |
case `pwd` in |
|
2486 |
*[\\\"\#\$\&\'\`$am_lf]*) |
|
2487 |
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
|
2488 |
esac |
|
2489 |
case $srcdir in |
|
2490 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
|
2491 |
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
|
2492 |
esac |
|
2493 |
|
|
2494 |
# Do 'set' in a subshell so we don't clobber the current shell's |
|
2495 |
# arguments. Must try -L first in case configure is actually a |
|
2496 |
# symlink; some systems play weird games with the mod time of symlinks |
|
2497 |
# (eg FreeBSD returns the mod time of the symlink's containing |
|
2498 |
# directory). |
|
2499 |
if ( |
|
2500 |
am_has_slept=no |
|
2501 |
for am_try in 1 2; do |
|
2502 |
echo "timestamp, slept: $am_has_slept" > conftest.file |
|
2503 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
|
2504 |
if test "$*" = "X"; then |
|
2505 |
# -L didn't work. |
|
2506 |
set X `ls -t "$srcdir/configure" conftest.file` |
|
2507 |
fi |
|
2508 |
if test "$*" != "X $srcdir/configure conftest.file" \ |
|
2509 |
&& test "$*" != "X conftest.file $srcdir/configure"; then |
|
2510 |
|
|
2511 |
# If neither matched, then we have a broken ls. This can happen |
|
2512 |
# if, for instance, CONFIG_SHELL is bash and it inherits a |
|
2513 |
# broken ls alias from the environment. This has actually |
|
2514 |
# happened. Such a system could not be considered "sane". |
|
2515 |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
|
2516 |
alias in your environment" "$LINENO" 5 |
|
2517 |
fi |
|
2518 |
if test "$2" = conftest.file || test $am_try -eq 2; then |
|
2519 |
break |
|
2520 |
fi |
|
2521 |
# Just in case. |
|
2522 |
sleep 1 |
|
2523 |
am_has_slept=yes |
|
2524 |
done |
|
2525 |
test "$2" = conftest.file |
|
2526 |
) |
|
2527 |
then |
|
2528 |
# Ok. |
|
2529 |
: |
|
2530 |
else |
|
2531 |
as_fn_error $? "newly created file is older than distributed files! |
|
2532 |
Check your system clock" "$LINENO" 5 |
|
2533 |
fi |
|
2534 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2535 |
$as_echo "yes" >&6; } |
|
2536 |
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
2537 |
# generated files are strictly newer. |
|
2538 |
am_sleep_pid= |
|
2539 |
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
2540 |
( sleep 1 ) & |
|
2541 |
am_sleep_pid=$! |
|
2542 |
fi |
|
2543 |
|
|
2544 |
rm -f conftest.file |
|
2545 |
|
|
2546 |
test "$program_prefix" != NONE && |
|
2547 |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
|
2548 |
# Use a double $ so make ignores it. |
|
2549 |
test "$program_suffix" != NONE && |
|
2550 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
|
2551 |
# Double any \ or $. |
|
2552 |
# By default was `s,x,x', remove it if useless. |
|
2553 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
|
2554 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
|
2555 |
|
|
2556 |
# Expand $ac_aux_dir to an absolute path. |
|
2557 |
am_aux_dir=`cd "$ac_aux_dir" && pwd` |
|
2558 |
|
|
2559 |
if test x"${MISSING+set}" != xset; then |
|
2560 |
MISSING="\${SHELL} '$am_aux_dir/missing'" |
|
2561 |
fi |
|
2562 |
# Use eval to expand $SHELL |
|
2563 |
if eval "$MISSING --is-lightweight"; then |
|
2564 |
am_missing_run="$MISSING " |
|
2565 |
else |
|
2566 |
am_missing_run= |
|
2567 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
|
2568 |
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
|
2569 |
fi |
|
2570 |
|
|
2571 |
if test x"${install_sh+set}" != xset; then |
|
2572 |
case $am_aux_dir in |
|
2573 |
*\ * | *\ *) |
|
2574 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
|
2575 |
*) |
|
2576 |
install_sh="\${SHELL} $am_aux_dir/install-sh" |
|
2577 |
esac |
|
2578 |
fi |
|
2579 |
|
|
2580 |
# Installed binaries are usually stripped using 'strip' when the user |
|
2581 |
# run "make install-strip". However 'strip' might not be the right |
|
2582 |
# tool to use in cross-compilation environments, therefore Automake |
|
2583 |
# will honor the 'STRIP' environment variable to overrule this program. |
|
2584 |
if test "$cross_compiling" != no; then |
|
2585 |
if test -n "$ac_tool_prefix"; then |
|
2586 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
|
2587 |
set dummy ${ac_tool_prefix}strip; ac_word=$2 |
|
2588 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2589 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2590 |
if ${ac_cv_prog_STRIP+:} false; then : |
|
2591 |
$as_echo_n "(cached) " >&6 |
|
2592 |
else |
|
2593 |
if test -n "$STRIP"; then |
|
2594 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
|
2595 |
else |
|
2596 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2597 |
for as_dir in $PATH |
|
2598 |
do |
|
2599 |
IFS=$as_save_IFS |
|
2600 |
test -z "$as_dir" && as_dir=. |
|
2601 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2602 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2603 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
|
2604 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2605 |
break 2 |
|
2606 |
fi |
|
2607 |
done |
|
2608 |
done |
|
2609 |
IFS=$as_save_IFS |
|
2610 |
|
|
2611 |
fi |
|
2612 |
fi |
|
2613 |
STRIP=$ac_cv_prog_STRIP |
|
2614 |
if test -n "$STRIP"; then |
|
2615 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
|
2616 |
$as_echo "$STRIP" >&6; } |
|
2617 |
else |
|
2618 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2619 |
$as_echo "no" >&6; } |
|
2620 |
fi |
|
2621 |
|
|
2622 |
|
|
2623 |
fi |
|
2624 |
if test -z "$ac_cv_prog_STRIP"; then |
|
2625 |
ac_ct_STRIP=$STRIP |
|
2626 |
# Extract the first word of "strip", so it can be a program name with args. |
|
2627 |
set dummy strip; ac_word=$2 |
|
2628 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2629 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2630 |
if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
|
2631 |
$as_echo_n "(cached) " >&6 |
|
2632 |
else |
|
2633 |
if test -n "$ac_ct_STRIP"; then |
|
2634 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
|
2635 |
else |
|
2636 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2637 |
for as_dir in $PATH |
|
2638 |
do |
|
2639 |
IFS=$as_save_IFS |
|
2640 |
test -z "$as_dir" && as_dir=. |
|
2641 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2642 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2643 |
ac_cv_prog_ac_ct_STRIP="strip" |
|
2644 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2645 |
break 2 |
|
2646 |
fi |
|
2647 |
done |
|
2648 |
done |
|
2649 |
IFS=$as_save_IFS |
|
2650 |
|
|
2651 |
fi |
|
2652 |
fi |
|
2653 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
|
2654 |
if test -n "$ac_ct_STRIP"; then |
|
2655 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
|
2656 |
$as_echo "$ac_ct_STRIP" >&6; } |
|
2657 |
else |
|
2658 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2659 |
$as_echo "no" >&6; } |
|
2660 |
fi |
|
2661 |
|
|
2662 |
if test "x$ac_ct_STRIP" = x; then |
|
2663 |
STRIP=":" |
|
2664 |
else |
|
2665 |
case $cross_compiling:$ac_tool_warned in |
|
2666 |
yes:) |
|
2667 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
2668 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
2669 |
ac_tool_warned=yes ;; |
|
2670 |
esac |
|
2671 |
STRIP=$ac_ct_STRIP |
|
2672 |
fi |
|
2673 |
else |
|
2674 |
STRIP="$ac_cv_prog_STRIP" |
|
2675 |
fi |
|
2676 |
|
|
2677 |
fi |
|
2678 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
|
2679 |
|
|
2680 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
|
2681 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
|
2682 |
if test -z "$MKDIR_P"; then |
|
2683 |
if ${ac_cv_path_mkdir+:} false; then : |
|
2684 |
$as_echo_n "(cached) " >&6 |
|
2685 |
else |
|
2686 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2687 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
|
2688 |
do |
|
2689 |
IFS=$as_save_IFS |
|
2690 |
test -z "$as_dir" && as_dir=. |
|
2691 |
for ac_prog in mkdir gmkdir; do |
|
2692 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2693 |
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
|
2694 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
|
2695 |
'mkdir (GNU coreutils) '* | \ |
|
2696 |
'mkdir (coreutils) '* | \ |
|
2697 |
'mkdir (fileutils) '4.1*) |
|
2698 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
|
2699 |
break 3;; |
|
2700 |
esac |
|
2701 |
done |
|
2702 |
done |
|
2703 |
done |
|
2704 |
IFS=$as_save_IFS |
|
2705 |
|
|
2706 |
fi |
|
2707 |
|
|
2708 |
test -d ./--version && rmdir ./--version |
|
2709 |
if test "${ac_cv_path_mkdir+set}" = set; then |
|
2710 |
MKDIR_P="$ac_cv_path_mkdir -p" |
|
2711 |
else |
|
2712 |
# As a last resort, use the slow shell script. Don't cache a |
|
2713 |
# value for MKDIR_P within a source directory, because that will |
|
2714 |
# break other packages using the cache if that directory is |
|
2715 |
# removed, or if the value is a relative name. |
|
2716 |
MKDIR_P="$ac_install_sh -d" |
|
2717 |
fi |
|
2718 |
fi |
|
2719 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
|
2720 |
$as_echo "$MKDIR_P" >&6; } |
|
2721 |
|
|
2722 |
for ac_prog in gawk mawk nawk awk |
|
2723 |
do |
|
2724 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
2725 |
set dummy $ac_prog; ac_word=$2 |
|
2726 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2727 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2728 |
if ${ac_cv_prog_AWK+:} false; then : |
|
2729 |
$as_echo_n "(cached) " >&6 |
|
2730 |
else |
|
2731 |
if test -n "$AWK"; then |
|
2732 |
ac_cv_prog_AWK="$AWK" # Let the user override the test. |
|
2733 |
else |
|
2734 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
2735 |
for as_dir in $PATH |
|
2736 |
do |
|
2737 |
IFS=$as_save_IFS |
|
2738 |
test -z "$as_dir" && as_dir=. |
|
2739 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
2740 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
2741 |
ac_cv_prog_AWK="$ac_prog" |
|
2742 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
2743 |
break 2 |
|
2744 |
fi |
|
2745 |
done |
|
2746 |
done |
|
2747 |
IFS=$as_save_IFS |
|
2748 |
|
|
2749 |
fi |
|
2750 |
fi |
|
2751 |
AWK=$ac_cv_prog_AWK |
|
2752 |
if test -n "$AWK"; then |
|
2753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
|
2754 |
$as_echo "$AWK" >&6; } |
|
2755 |
else |
|
2756 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2757 |
$as_echo "no" >&6; } |
|
2758 |
fi |
|
2759 |
|
|
2760 |
|
|
2761 |
test -n "$AWK" && break |
|
2762 |
done |
|
2763 |
|
|
2764 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
|
2765 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
|
2766 |
set x ${MAKE-make} |
|
2767 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
|
2768 |
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
|
2769 |
$as_echo_n "(cached) " >&6 |
|
2770 |
else |
|
2771 |
cat >conftest.make <<\_ACEOF |
|
2772 |
SHELL = /bin/sh |
|
2773 |
all: |
|
2774 |
@echo '@@@%%%=$(MAKE)=@@@%%%' |
|
2775 |
_ACEOF |
|
2776 |
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
|
2777 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in |
|
2778 |
*@@@%%%=?*=@@@%%%*) |
|
2779 |
eval ac_cv_prog_make_${ac_make}_set=yes;; |
|
2780 |
*) |
|
2781 |
eval ac_cv_prog_make_${ac_make}_set=no;; |
|
2782 |
esac |
|
2783 |
rm -f conftest.make |
|
2784 |
fi |
|
2785 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
|
2786 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
2787 |
$as_echo "yes" >&6; } |
|
2788 |
SET_MAKE= |
|
2789 |
else |
|
2790 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
2791 |
$as_echo "no" >&6; } |
|
2792 |
SET_MAKE="MAKE=${MAKE-make}" |
|
2793 |
fi |
|
2794 |
|
|
2795 |
rm -rf .tst 2>/dev/null |
|
2796 |
mkdir .tst 2>/dev/null |
|
2797 |
if test -d .tst; then |
|
2798 |
am__leading_dot=. |
|
2799 |
else |
|
2800 |
am__leading_dot=_ |
|
2801 |
fi |
|
2802 |
rmdir .tst 2>/dev/null |
|
2803 |
|
|
2804 |
# Check whether --enable-silent-rules was given. |
|
2805 |
if test "${enable_silent_rules+set}" = set; then : |
|
2806 |
enableval=$enable_silent_rules; |
|
2807 |
fi |
|
2808 |
|
|
2809 |
case $enable_silent_rules in # ((( |
|
2810 |
yes) AM_DEFAULT_VERBOSITY=0;; |
|
2811 |
no) AM_DEFAULT_VERBOSITY=1;; |
|
2812 |
*) AM_DEFAULT_VERBOSITY=1;; |
|
2813 |
esac |
|
2814 |
am_make=${MAKE-make} |
|
2815 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
2816 |
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
2817 |
if ${am_cv_make_support_nested_variables+:} false; then : |
|
2818 |
$as_echo_n "(cached) " >&6 |
|
2819 |
else |
|
2820 |
if $as_echo 'TRUE=$(BAR$(V)) |
|
2821 |
BAR0=false |
|
2822 |
BAR1=true |
|
2823 |
V=1 |
|
2824 |
am__doit: |
|
2825 |
@$(TRUE) |
|
2826 |
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
2827 |
am_cv_make_support_nested_variables=yes |
|
2828 |
else |
|
2829 |
am_cv_make_support_nested_variables=no |
|
2830 |
fi |
|
2831 |
fi |
|
2832 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
2833 |
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
2834 |
if test $am_cv_make_support_nested_variables = yes; then |
|
2835 |
AM_V='$(V)' |
|
2836 |
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
2837 |
else |
|
2838 |
AM_V=$AM_DEFAULT_VERBOSITY |
|
2839 |
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
2840 |
fi |
|
2841 |
AM_BACKSLASH='\' |
|
2842 |
|
|
2843 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
|
2844 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
|
2845 |
# is not polluted with repeated "-I." |
|
2846 |
am__isrc=' -I$(srcdir)' |
|
2847 |
# test to see if srcdir already configured |
|
2848 |
if test -f $srcdir/config.status; then |
|
2849 |
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
|
2850 |
fi |
|
2851 |
fi |
|
2852 |
|
|
2853 |
# test whether we have cygpath |
|
2854 |
if test -z "$CYGPATH_W"; then |
|
2855 |
if (cygpath --version) >/dev/null 2>/dev/null; then |
|
2856 |
CYGPATH_W='cygpath -w' |
|
2857 |
else |
|
2858 |
CYGPATH_W=echo |
|
2859 |
fi |
|
2860 |
fi |
|
2861 |
|
|
2862 |
|
|
2863 |
# Define the identity of the package. |
|
2864 |
PACKAGE='g4display' |
|
2865 |
VERSION='1.0.0' |
|
2866 |
|
|
2867 |
|
|
2868 |
cat >>confdefs.h <<_ACEOF |
|
2869 |
#define PACKAGE "$PACKAGE" |
|
2870 |
_ACEOF |
|
2871 |
|
|
2872 |
|
|
2873 |
cat >>confdefs.h <<_ACEOF |
|
2874 |
#define VERSION "$VERSION" |
|
2875 |
_ACEOF |
|
2876 |
|
|
2877 |
# Some tools Automake needs. |
|
2878 |
|
|
2879 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
|
2880 |
|
|
2881 |
|
|
2882 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
|
2883 |
|
|
2884 |
|
|
2885 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
|
2886 |
|
|
2887 |
|
|
2888 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
|
2889 |
|
|
2890 |
|
|
2891 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
2892 |
|
|
2893 |
# For better backward compatibility. To be removed once Automake 1.9.x |
|
2894 |
# dies out for good. For more background, see: |
|
2895 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
2896 |
# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
2897 |
mkdir_p='$(MKDIR_P)' |
|
2898 |
|
|
2899 |
# We need awk for the "check" target (and possibly the TAP driver). The |
|
2900 |
# system "awk" is bad on some platforms. |
|
2901 |
# Always define AMTAR for backward compatibility. Yes, it's still used |
|
2902 |
# in the wild :-( We should find a proper way to deprecate it ... |
|
2903 |
AMTAR='$${TAR-tar}' |
|
2904 |
|
|
2905 |
|
|
2906 |
# We'll loop over all known methods to create a tar archive until one works. |
|
2907 |
_am_tools='gnutar pax cpio none' |
|
2908 |
|
|
2909 |
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
2910 |
|
|
2911 |
|
|
2912 |
|
|
2913 |
|
|
2914 |
|
|
2915 |
# Variables for tags utilities; see am/tags.am |
|
2916 |
if test -z "$CTAGS"; then |
|
2917 |
CTAGS=ctags |
|
2918 |
fi |
|
2919 |
|
|
2920 |
if test -z "$ETAGS"; then |
|
2921 |
ETAGS=etags |
|
2922 |
fi |
|
2923 |
|
|
2924 |
if test -z "$CSCOPE"; then |
|
2925 |
CSCOPE=cscope |
|
2926 |
fi |
|
2927 |
|
|
2928 |
|
|
2929 |
|
|
2930 |
# POSIX will say in a future version that running "rm -f" with no argument |
|
2931 |
# is OK; and we want to be able to make that assumption in our Makefile |
|
2932 |
# recipes. So use an aggressive probe to check that the usage we want is |
|
2933 |
# actually supported "in the wild" to an acceptable degree. |
|
2934 |
# See automake bug#10828. |
|
2935 |
# To make any issue more visible, cause the running configure to be aborted |
|
2936 |
# by default if the 'rm' program in use doesn't match our expectations; the |
|
2937 |
# user can still override this though. |
|
2938 |
if rm -f && rm -fr && rm -rf; then : OK; else |
|
2939 |
cat >&2 <<'END' |
|
2940 |
Oops! |
|
2941 |
|
|
2942 |
Your 'rm' program seems unable to run without file operands specified |
|
2943 |
on the command line, even when the '-f' option is present. This is contrary |
|
2944 |
to the behaviour of most rm programs out there, and not conforming with |
|
2945 |
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
2946 |
|
|
2947 |
Please tell bug-automake@gnu.org about your system, including the value |
|
2948 |
of your $PATH and any error possibly output before this message. This |
|
2949 |
can help us improve future automake versions. |
|
2950 |
|
|
2951 |
END |
|
2952 |
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
2953 |
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
2954 |
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
2955 |
echo >&2 |
|
2956 |
else |
|
2957 |
cat >&2 <<'END' |
|
2958 |
Aborting the configuration process, to ensure you take notice of the issue. |
|
2959 |
|
|
2960 |
You can download and install GNU coreutils to get an 'rm' implementation |
|
2961 |
that behaves properly: <https://www.gnu.org/software/coreutils/>. |
|
2962 |
|
|
2963 |
If you want to complete the configuration process using your problematic |
|
2964 |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
2965 |
to "yes", and re-run configure. |
|
2966 |
|
|
2967 |
END |
|
2968 |
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
2969 |
fi |
|
2970 |
fi |
|
2971 |
|
|
2972 |
|
|
2973 |
ac_config_headers="$ac_config_headers config.h" |
|
2974 |
|
|
2975 |
|
|
2976 |
# Checks for programs. |
|
2977 |
ac_ext=cpp |
|
2978 |
ac_cpp='$CXXCPP $CPPFLAGS' |
|
2979 |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
2980 |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
2981 |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
2982 |
if test -z "$CXX"; then |
|
2983 |
if test -n "$CCC"; then |
|
2984 |
CXX=$CCC |
|
2985 |
else |
|
2986 |
if test -n "$ac_tool_prefix"; then |
|
2987 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
2988 |
do |
|
2989 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
2990 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
2991 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
2992 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
2993 |
if ${ac_cv_prog_CXX+:} false; then : |
|
2994 |
$as_echo_n "(cached) " >&6 |
|
2995 |
else |
|
2996 |
if test -n "$CXX"; then |
|
2997 |
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
2998 |
else |
|
2999 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3000 |
for as_dir in $PATH |
|
3001 |
do |
|
3002 |
IFS=$as_save_IFS |
|
3003 |
test -z "$as_dir" && as_dir=. |
|
3004 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3005 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3006 |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
3007 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3008 |
break 2 |
|
3009 |
fi |
|
3010 |
done |
|
3011 |
done |
|
3012 |
IFS=$as_save_IFS |
|
3013 |
|
|
3014 |
fi |
|
3015 |
fi |
|
3016 |
CXX=$ac_cv_prog_CXX |
|
3017 |
if test -n "$CXX"; then |
|
3018 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 |
|
3019 |
$as_echo "$CXX" >&6; } |
|
3020 |
else |
|
3021 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3022 |
$as_echo "no" >&6; } |
|
3023 |
fi |
|
3024 |
|
|
3025 |
|
|
3026 |
test -n "$CXX" && break |
|
3027 |
done |
|
3028 |
fi |
|
3029 |
if test -z "$CXX"; then |
|
3030 |
ac_ct_CXX=$CXX |
|
3031 |
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC |
|
3032 |
do |
|
3033 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3034 |
set dummy $ac_prog; ac_word=$2 |
|
3035 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3036 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3037 |
if ${ac_cv_prog_ac_ct_CXX+:} false; then : |
|
3038 |
$as_echo_n "(cached) " >&6 |
|
3039 |
else |
|
3040 |
if test -n "$ac_ct_CXX"; then |
|
3041 |
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
3042 |
else |
|
3043 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3044 |
for as_dir in $PATH |
|
3045 |
do |
|
3046 |
IFS=$as_save_IFS |
|
3047 |
test -z "$as_dir" && as_dir=. |
|
3048 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3049 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3050 |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
3051 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3052 |
break 2 |
|
3053 |
fi |
|
3054 |
done |
|
3055 |
done |
|
3056 |
IFS=$as_save_IFS |
|
3057 |
|
|
3058 |
fi |
|
3059 |
fi |
|
3060 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
3061 |
if test -n "$ac_ct_CXX"; then |
|
3062 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 |
|
3063 |
$as_echo "$ac_ct_CXX" >&6; } |
|
3064 |
else |
|
3065 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3066 |
$as_echo "no" >&6; } |
|
3067 |
fi |
|
3068 |
|
|
3069 |
|
|
3070 |
test -n "$ac_ct_CXX" && break |
|
3071 |
done |
|
3072 |
|
|
3073 |
if test "x$ac_ct_CXX" = x; then |
|
3074 |
CXX="g++" |
|
3075 |
else |
|
3076 |
case $cross_compiling:$ac_tool_warned in |
|
3077 |
yes:) |
|
3078 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3079 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3080 |
ac_tool_warned=yes ;; |
|
3081 |
esac |
|
3082 |
CXX=$ac_ct_CXX |
|
3083 |
fi |
|
3084 |
fi |
|
3085 |
|
|
3086 |
fi |
|
3087 |
fi |
|
3088 |
# Provide some information about the compiler. |
|
3089 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 |
|
3090 |
set X $ac_compile |
|
3091 |
ac_compiler=$2 |
|
3092 |
for ac_option in --version -v -V -qversion; do |
|
3093 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3094 |
case "(($ac_try" in |
|
3095 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3096 |
*) ac_try_echo=$ac_try;; |
|
3097 |
esac |
|
3098 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3099 |
$as_echo "$ac_try_echo"; } >&5 |
|
3100 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3101 |
ac_status=$? |
|
3102 |
if test -s conftest.err; then |
|
3103 |
sed '10a\ |
|
3104 |
... rest of stderr output deleted ... |
|
3105 |
10q' conftest.err >conftest.er1 |
|
3106 |
cat conftest.er1 >&5 |
|
3107 |
fi |
|
3108 |
rm -f conftest.er1 conftest.err |
|
3109 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3110 |
test $ac_status = 0; } |
|
3111 |
done |
|
3112 |
|
|
3113 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3114 |
/* end confdefs.h. */ |
|
3115 |
|
|
3116 |
int |
|
3117 |
main () |
|
3118 |
{ |
|
3119 |
|
|
3120 |
; |
|
3121 |
return 0; |
|
3122 |
} |
|
3123 |
_ACEOF |
|
3124 |
ac_clean_files_save=$ac_clean_files |
|
3125 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
|
3126 |
# Try to create an executable without -o first, disregard a.out. |
|
3127 |
# It will help us diagnose broken compilers, and finding out an intuition |
|
3128 |
# of exeext. |
|
3129 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5 |
|
3130 |
$as_echo_n "checking whether the C++ compiler works... " >&6; } |
|
3131 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
3132 |
|
|
3133 |
# The possible output files: |
|
3134 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
|
3135 |
|
|
3136 |
ac_rmfiles= |
|
3137 |
for ac_file in $ac_files |
|
3138 |
do |
|
3139 |
case $ac_file in |
|
3140 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3141 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";; |
|
3142 |
esac |
|
3143 |
done |
|
3144 |
rm -f $ac_rmfiles |
|
3145 |
|
|
3146 |
if { { ac_try="$ac_link_default" |
|
3147 |
case "(($ac_try" in |
|
3148 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3149 |
*) ac_try_echo=$ac_try;; |
|
3150 |
esac |
|
3151 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3152 |
$as_echo "$ac_try_echo"; } >&5 |
|
3153 |
(eval "$ac_link_default") 2>&5 |
|
3154 |
ac_status=$? |
|
3155 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3156 |
test $ac_status = 0; }; then : |
|
3157 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
|
3158 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
|
3159 |
# in a Makefile. We should not override ac_cv_exeext if it was cached, |
|
3160 |
# so that the user can short-circuit this test for compilers unknown to |
|
3161 |
# Autoconf. |
|
3162 |
for ac_file in $ac_files '' |
|
3163 |
do |
|
3164 |
test -f "$ac_file" || continue |
|
3165 |
case $ac_file in |
|
3166 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
|
3167 |
;; |
|
3168 |
[ab].out ) |
|
3169 |
# We found the default executable, but exeext='' is most |
|
3170 |
# certainly right. |
|
3171 |
break;; |
|
3172 |
*.* ) |
|
3173 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
|
3174 |
then :; else |
|
3175 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3176 |
fi |
|
3177 |
# We set ac_cv_exeext here because the later test for it is not |
|
3178 |
# safe: cross compilers may not add the suffix if given an `-o' |
|
3179 |
# argument, so we may need to know it at that point already. |
|
3180 |
# Even if this section looks crufty: it has the advantage of |
|
3181 |
# actually working. |
|
3182 |
break;; |
|
3183 |
* ) |
|
3184 |
break;; |
|
3185 |
esac |
|
3186 |
done |
|
3187 |
test "$ac_cv_exeext" = no && ac_cv_exeext= |
|
3188 |
|
|
3189 |
else |
|
3190 |
ac_file='' |
|
3191 |
fi |
|
3192 |
if test -z "$ac_file"; then : |
|
3193 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3194 |
$as_echo "no" >&6; } |
|
3195 |
$as_echo "$as_me: failed program was:" >&5 |
|
3196 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3197 |
|
|
3198 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3199 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3200 |
as_fn_error 77 "C++ compiler cannot create executables |
|
3201 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3202 |
else |
|
3203 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
3204 |
$as_echo "yes" >&6; } |
|
3205 |
fi |
|
3206 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5 |
|
3207 |
$as_echo_n "checking for C++ compiler default output file name... " >&6; } |
|
3208 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
|
3209 |
$as_echo "$ac_file" >&6; } |
|
3210 |
ac_exeext=$ac_cv_exeext |
|
3211 |
|
|
3212 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
|
3213 |
ac_clean_files=$ac_clean_files_save |
|
3214 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
|
3215 |
$as_echo_n "checking for suffix of executables... " >&6; } |
|
3216 |
if { { ac_try="$ac_link" |
|
3217 |
case "(($ac_try" in |
|
3218 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3219 |
*) ac_try_echo=$ac_try;; |
|
3220 |
esac |
|
3221 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3222 |
$as_echo "$ac_try_echo"; } >&5 |
|
3223 |
(eval "$ac_link") 2>&5 |
|
3224 |
ac_status=$? |
|
3225 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3226 |
test $ac_status = 0; }; then : |
|
3227 |
# If both `conftest.exe' and `conftest' are `present' (well, observable) |
|
3228 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
|
3229 |
# work properly (i.e., refer to `conftest.exe'), while it won't with |
|
3230 |
# `rm'. |
|
3231 |
for ac_file in conftest.exe conftest conftest.*; do |
|
3232 |
test -f "$ac_file" || continue |
|
3233 |
case $ac_file in |
|
3234 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
|
3235 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
|
3236 |
break;; |
|
3237 |
* ) break;; |
|
3238 |
esac |
|
3239 |
done |
|
3240 |
else |
|
3241 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3242 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3243 |
as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
|
3244 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3245 |
fi |
|
3246 |
rm -f conftest conftest$ac_cv_exeext |
|
3247 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
|
3248 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3249 |
|
|
3250 |
rm -f conftest.$ac_ext |
|
3251 |
EXEEXT=$ac_cv_exeext |
|
3252 |
ac_exeext=$EXEEXT |
|
3253 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3254 |
/* end confdefs.h. */ |
|
3255 |
#include <stdio.h> |
|
3256 |
int |
|
3257 |
main () |
|
3258 |
{ |
|
3259 |
FILE *f = fopen ("conftest.out", "w"); |
|
3260 |
return ferror (f) || fclose (f) != 0; |
|
3261 |
|
|
3262 |
; |
|
3263 |
return 0; |
|
3264 |
} |
|
3265 |
_ACEOF |
|
3266 |
ac_clean_files="$ac_clean_files conftest.out" |
|
3267 |
# Check that the compiler produces executables we can run. If not, either |
|
3268 |
# the compiler is broken, or we cross compile. |
|
3269 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
|
3270 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
|
3271 |
if test "$cross_compiling" != yes; then |
|
3272 |
{ { ac_try="$ac_link" |
|
3273 |
case "(($ac_try" in |
|
3274 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3275 |
*) ac_try_echo=$ac_try;; |
|
3276 |
esac |
|
3277 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3278 |
$as_echo "$ac_try_echo"; } >&5 |
|
3279 |
(eval "$ac_link") 2>&5 |
|
3280 |
ac_status=$? |
|
3281 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3282 |
test $ac_status = 0; } |
|
3283 |
if { ac_try='./conftest$ac_cv_exeext' |
|
3284 |
{ { case "(($ac_try" in |
|
3285 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3286 |
*) ac_try_echo=$ac_try;; |
|
3287 |
esac |
|
3288 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3289 |
$as_echo "$ac_try_echo"; } >&5 |
|
3290 |
(eval "$ac_try") 2>&5 |
|
3291 |
ac_status=$? |
|
3292 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3293 |
test $ac_status = 0; }; }; then |
|
3294 |
cross_compiling=no |
|
3295 |
else |
|
3296 |
if test "$cross_compiling" = maybe; then |
|
3297 |
cross_compiling=yes |
|
3298 |
else |
|
3299 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3300 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3301 |
as_fn_error $? "cannot run C++ compiled programs. |
|
3302 |
If you meant to cross compile, use \`--host'. |
|
3303 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3304 |
fi |
|
3305 |
fi |
|
3306 |
fi |
|
3307 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
|
3308 |
$as_echo "$cross_compiling" >&6; } |
|
3309 |
|
|
3310 |
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
|
3311 |
ac_clean_files=$ac_clean_files_save |
|
3312 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
|
3313 |
$as_echo_n "checking for suffix of object files... " >&6; } |
|
3314 |
if ${ac_cv_objext+:} false; then : |
|
3315 |
$as_echo_n "(cached) " >&6 |
|
3316 |
else |
|
3317 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3318 |
/* end confdefs.h. */ |
|
3319 |
|
|
3320 |
int |
|
3321 |
main () |
|
3322 |
{ |
|
3323 |
|
|
3324 |
; |
|
3325 |
return 0; |
|
3326 |
} |
|
3327 |
_ACEOF |
|
3328 |
rm -f conftest.o conftest.obj |
|
3329 |
if { { ac_try="$ac_compile" |
|
3330 |
case "(($ac_try" in |
|
3331 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3332 |
*) ac_try_echo=$ac_try;; |
|
3333 |
esac |
|
3334 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3335 |
$as_echo "$ac_try_echo"; } >&5 |
|
3336 |
(eval "$ac_compile") 2>&5 |
|
3337 |
ac_status=$? |
|
3338 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
3339 |
test $ac_status = 0; }; then : |
|
3340 |
for ac_file in conftest.o conftest.obj conftest.*; do |
|
3341 |
test -f "$ac_file" || continue; |
|
3342 |
case $ac_file in |
|
3343 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
|
3344 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
|
3345 |
break;; |
|
3346 |
esac |
|
3347 |
done |
|
3348 |
else |
|
3349 |
$as_echo "$as_me: failed program was:" >&5 |
|
3350 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
3351 |
|
|
3352 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3353 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3354 |
as_fn_error $? "cannot compute suffix of object files: cannot compile |
|
3355 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3356 |
fi |
|
3357 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext |
|
3358 |
fi |
|
3359 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
|
3360 |
$as_echo "$ac_cv_objext" >&6; } |
|
3361 |
OBJEXT=$ac_cv_objext |
|
3362 |
ac_objext=$OBJEXT |
|
3363 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 |
|
3364 |
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } |
|
3365 |
if ${ac_cv_cxx_compiler_gnu+:} false; then : |
|
3366 |
$as_echo_n "(cached) " >&6 |
|
3367 |
else |
|
3368 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3369 |
/* end confdefs.h. */ |
|
3370 |
|
|
3371 |
int |
|
3372 |
main () |
|
3373 |
{ |
|
3374 |
#ifndef __GNUC__ |
|
3375 |
choke me |
|
3376 |
#endif |
|
3377 |
|
|
3378 |
; |
|
3379 |
return 0; |
|
3380 |
} |
|
3381 |
_ACEOF |
|
3382 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3383 |
ac_compiler_gnu=yes |
|
3384 |
else |
|
3385 |
ac_compiler_gnu=no |
|
3386 |
fi |
|
3387 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3388 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
|
3389 |
|
|
3390 |
fi |
|
3391 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
3392 |
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } |
|
3393 |
if test $ac_compiler_gnu = yes; then |
|
3394 |
GXX=yes |
|
3395 |
else |
|
3396 |
GXX= |
|
3397 |
fi |
|
3398 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
3399 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
3400 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 |
|
3401 |
$as_echo_n "checking whether $CXX accepts -g... " >&6; } |
|
3402 |
if ${ac_cv_prog_cxx_g+:} false; then : |
|
3403 |
$as_echo_n "(cached) " >&6 |
|
3404 |
else |
|
3405 |
ac_save_cxx_werror_flag=$ac_cxx_werror_flag |
|
3406 |
ac_cxx_werror_flag=yes |
|
3407 |
ac_cv_prog_cxx_g=no |
|
3408 |
CXXFLAGS="-g" |
|
3409 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3410 |
/* end confdefs.h. */ |
|
3411 |
|
|
3412 |
int |
|
3413 |
main () |
|
3414 |
{ |
|
3415 |
|
|
3416 |
; |
|
3417 |
return 0; |
|
3418 |
} |
|
3419 |
_ACEOF |
|
3420 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3421 |
ac_cv_prog_cxx_g=yes |
|
3422 |
else |
|
3423 |
CXXFLAGS="" |
|
3424 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3425 |
/* end confdefs.h. */ |
|
3426 |
|
|
3427 |
int |
|
3428 |
main () |
|
3429 |
{ |
|
3430 |
|
|
3431 |
; |
|
3432 |
return 0; |
|
3433 |
} |
|
3434 |
_ACEOF |
|
3435 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3436 |
|
|
3437 |
else |
|
3438 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3439 |
CXXFLAGS="-g" |
|
3440 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
3441 |
/* end confdefs.h. */ |
|
3442 |
|
|
3443 |
int |
|
3444 |
main () |
|
3445 |
{ |
|
3446 |
|
|
3447 |
; |
|
3448 |
return 0; |
|
3449 |
} |
|
3450 |
_ACEOF |
|
3451 |
if ac_fn_cxx_try_compile "$LINENO"; then : |
|
3452 |
ac_cv_prog_cxx_g=yes |
|
3453 |
fi |
|
3454 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3455 |
fi |
|
3456 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3457 |
fi |
|
3458 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
3459 |
ac_cxx_werror_flag=$ac_save_cxx_werror_flag |
|
3460 |
fi |
|
3461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 |
|
3462 |
$as_echo "$ac_cv_prog_cxx_g" >&6; } |
|
3463 |
if test "$ac_test_CXXFLAGS" = set; then |
|
3464 |
CXXFLAGS=$ac_save_CXXFLAGS |
|
3465 |
elif test $ac_cv_prog_cxx_g = yes; then |
|
3466 |
if test "$GXX" = yes; then |
|
3467 |
CXXFLAGS="-g -O2" |
|
3468 |
else |
|
3469 |
CXXFLAGS="-g" |
|
3470 |
fi |
|
3471 |
else |
|
3472 |
if test "$GXX" = yes; then |
|
3473 |
CXXFLAGS="-O2" |
|
3474 |
else |
|
3475 |
CXXFLAGS= |
|
3476 |
fi |
|
3477 |
fi |
|
3478 |
ac_ext=c |
|
3479 |
ac_cpp='$CPP $CPPFLAGS' |
|
3480 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3481 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3482 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3483 |
DEPDIR="${am__leading_dot}deps" |
|
3484 |
|
|
3485 |
ac_config_commands="$ac_config_commands depfiles" |
|
3486 |
|
|
3487 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
|
3488 |
$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
|
3489 |
cat > confinc.mk << 'END' |
|
3490 |
am__doit: |
|
3491 |
@echo this is the am__doit target >confinc.out |
|
3492 |
.PHONY: am__doit |
|
3493 |
END |
|
3494 |
am__include="#" |
|
3495 |
am__quote= |
|
3496 |
# BSD make does it like this. |
|
3497 |
echo '.include "confinc.mk" # ignored' > confmf.BSD |
|
3498 |
# Other make implementations (GNU, Solaris 10, AIX) do it like this. |
|
3499 |
echo 'include confinc.mk # ignored' > confmf.GNU |
|
3500 |
_am_result=no |
|
3501 |
for s in GNU BSD; do |
|
3502 |
{ echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
|
3503 |
(${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
|
3504 |
ac_status=$? |
|
3505 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
3506 |
(exit $ac_status); } |
|
3507 |
case $?:`cat confinc.out 2>/dev/null` in #( |
|
3508 |
'0:this is the am__doit target') : |
|
3509 |
case $s in #( |
|
3510 |
BSD) : |
|
3511 |
am__include='.include' am__quote='"' ;; #( |
|
3512 |
*) : |
|
3513 |
am__include='include' am__quote='' ;; |
|
3514 |
esac ;; #( |
|
3515 |
*) : |
|
3516 |
;; |
|
3517 |
esac |
|
3518 |
if test "$am__include" != "#"; then |
|
3519 |
_am_result="yes ($s style)" |
|
3520 |
break |
|
3521 |
fi |
|
3522 |
done |
|
3523 |
rm -f confinc.* confmf.* |
|
3524 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
|
3525 |
$as_echo "${_am_result}" >&6; } |
|
3526 |
|
|
3527 |
# Check whether --enable-dependency-tracking was given. |
|
3528 |
if test "${enable_dependency_tracking+set}" = set; then : |
|
3529 |
enableval=$enable_dependency_tracking; |
|
3530 |
fi |
|
3531 |
|
|
3532 |
if test "x$enable_dependency_tracking" != xno; then |
|
3533 |
am_depcomp="$ac_aux_dir/depcomp" |
|
3534 |
AMDEPBACKSLASH='\' |
|
3535 |
am__nodep='_no' |
|
3536 |
fi |
|
3537 |
if test "x$enable_dependency_tracking" != xno; then |
|
3538 |
AMDEP_TRUE= |
|
3539 |
AMDEP_FALSE='#' |
|
3540 |
else |
|
3541 |
AMDEP_TRUE='#' |
|
3542 |
AMDEP_FALSE= |
|
3543 |
fi |
|
3544 |
|
|
3545 |
|
|
3546 |
|
|
3547 |
depcc="$CXX" am_compiler_list= |
|
3548 |
|
|
3549 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
3550 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
3551 |
if ${am_cv_CXX_dependencies_compiler_type+:} false; then : |
|
3552 |
$as_echo_n "(cached) " >&6 |
|
3553 |
else |
|
3554 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
3555 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
3556 |
# making bogus files that we don't know about and never remove. For |
|
3557 |
# instance it was reported that on HP-UX the gcc test will end up |
|
3558 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
|
3559 |
# in D". |
|
3560 |
rm -rf conftest.dir |
|
3561 |
mkdir conftest.dir |
|
3562 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
3563 |
# using a relative directory. |
|
3564 |
cp "$am_depcomp" conftest.dir |
|
3565 |
cd conftest.dir |
|
3566 |
# We will build objects and dependencies in a subdirectory because |
|
3567 |
# it helps to detect inapplicable dependency modes. For instance |
|
3568 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
3569 |
# side effect of compilation, but ICC will put the dependencies in |
|
3570 |
# the current directory while Tru64 will put them in the object |
|
3571 |
# directory. |
|
3572 |
mkdir sub |
|
3573 |
|
|
3574 |
am_cv_CXX_dependencies_compiler_type=none |
|
3575 |
if test "$am_compiler_list" = ""; then |
|
3576 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
3577 |
fi |
|
3578 |
am__universal=false |
|
3579 |
case " $depcc " in #( |
|
3580 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
3581 |
esac |
|
3582 |
|
|
3583 |
for depmode in $am_compiler_list; do |
|
3584 |
# Setup a source with many dependencies, because some compilers |
|
3585 |
# like to wrap large dependency lists on column 80 (with \), and |
|
3586 |
# we should not choose a depcomp mode which is confused by this. |
|
3587 |
# |
|
3588 |
# We need to recreate these files for each test, as the compiler may |
|
3589 |
# overwrite some of them when testing with obscure command lines. |
|
3590 |
# This happens at least with the AIX C compiler. |
|
3591 |
: > sub/conftest.c |
|
3592 |
for i in 1 2 3 4 5 6; do |
|
3593 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
3594 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
3595 |
# Solaris 10 /bin/sh. |
|
3596 |
echo '/* dummy */' > sub/conftst$i.h |
|
3597 |
done |
|
3598 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
3599 |
|
|
3600 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
3601 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
3602 |
# handle '-M -o', and we need to detect this. Also, some Intel |
|
3603 |
# versions had trouble with output in subdirs. |
|
3604 |
am__obj=sub/conftest.${OBJEXT-o} |
|
3605 |
am__minus_obj="-o $am__obj" |
|
3606 |
case $depmode in |
|
3607 |
gcc) |
|
3608 |
# This depmode causes a compiler race in universal mode. |
|
3609 |
test "$am__universal" = false || continue |
|
3610 |
;; |
|
3611 |
nosideeffect) |
|
3612 |
# After this tag, mechanisms are not by side-effect, so they'll |
|
3613 |
# only be used when explicitly requested. |
|
3614 |
if test "x$enable_dependency_tracking" = xyes; then |
|
3615 |
continue |
|
3616 |
else |
|
3617 |
break |
|
3618 |
fi |
|
3619 |
;; |
|
3620 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
3621 |
# This compiler won't grok '-c -o', but also, the minuso test has |
|
3622 |
# not run yet. These depmodes are late enough in the game, and |
|
3623 |
# so weak that their functioning should not be impacted. |
|
3624 |
am__obj=conftest.${OBJEXT-o} |
|
3625 |
am__minus_obj= |
|
3626 |
;; |
|
3627 |
none) break ;; |
|
3628 |
esac |
|
3629 |
if depmode=$depmode \ |
|
3630 |
source=sub/conftest.c object=$am__obj \ |
|
3631 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
3632 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
3633 |
>/dev/null 2>conftest.err && |
|
3634 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
3635 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
3636 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
3637 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
3638 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
3639 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
3640 |
# that says an option was ignored or not supported. |
|
3641 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
3642 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
3643 |
# The diagnosis changed in icc 8.0: |
|
3644 |
# icc: Command line remark: option '-MP' not supported |
|
3645 |
if (grep 'ignoring option' conftest.err || |
|
3646 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
3647 |
am_cv_CXX_dependencies_compiler_type=$depmode |
|
3648 |
break |
|
3649 |
fi |
|
3650 |
fi |
|
3651 |
done |
|
3652 |
|
|
3653 |
cd .. |
|
3654 |
rm -rf conftest.dir |
|
3655 |
else |
|
3656 |
am_cv_CXX_dependencies_compiler_type=none |
|
3657 |
fi |
|
3658 |
|
|
3659 |
fi |
|
3660 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 |
|
3661 |
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } |
|
3662 |
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type |
|
3663 |
|
|
3664 |
if |
|
3665 |
test "x$enable_dependency_tracking" != xno \ |
|
3666 |
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then |
|
3667 |
am__fastdepCXX_TRUE= |
|
3668 |
am__fastdepCXX_FALSE='#' |
|
3669 |
else |
|
3670 |
am__fastdepCXX_TRUE='#' |
|
3671 |
am__fastdepCXX_FALSE= |
|
3672 |
fi |
|
3673 |
|
|
3674 |
|
|
3675 |
ac_ext=c |
|
3676 |
ac_cpp='$CPP $CPPFLAGS' |
|
3677 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
3678 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
3679 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
3680 |
if test -n "$ac_tool_prefix"; then |
|
3681 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
3682 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
|
3683 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3684 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3685 |
if ${ac_cv_prog_CC+:} false; then : |
|
3686 |
$as_echo_n "(cached) " >&6 |
|
3687 |
else |
|
3688 |
if test -n "$CC"; then |
|
3689 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3690 |
else |
|
3691 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3692 |
for as_dir in $PATH |
|
3693 |
do |
|
3694 |
IFS=$as_save_IFS |
|
3695 |
test -z "$as_dir" && as_dir=. |
|
3696 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3697 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3698 |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
|
3699 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3700 |
break 2 |
|
3701 |
fi |
|
3702 |
done |
|
3703 |
done |
|
3704 |
IFS=$as_save_IFS |
|
3705 |
|
|
3706 |
fi |
|
3707 |
fi |
|
3708 |
CC=$ac_cv_prog_CC |
|
3709 |
if test -n "$CC"; then |
|
3710 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3711 |
$as_echo "$CC" >&6; } |
|
3712 |
else |
|
3713 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3714 |
$as_echo "no" >&6; } |
|
3715 |
fi |
|
3716 |
|
|
3717 |
|
|
3718 |
fi |
|
3719 |
if test -z "$ac_cv_prog_CC"; then |
|
3720 |
ac_ct_CC=$CC |
|
3721 |
# Extract the first word of "gcc", so it can be a program name with args. |
|
3722 |
set dummy gcc; ac_word=$2 |
|
3723 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3724 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3725 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3726 |
$as_echo_n "(cached) " >&6 |
|
3727 |
else |
|
3728 |
if test -n "$ac_ct_CC"; then |
|
3729 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3730 |
else |
|
3731 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3732 |
for as_dir in $PATH |
|
3733 |
do |
|
3734 |
IFS=$as_save_IFS |
|
3735 |
test -z "$as_dir" && as_dir=. |
|
3736 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3737 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3738 |
ac_cv_prog_ac_ct_CC="gcc" |
|
3739 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3740 |
break 2 |
|
3741 |
fi |
|
3742 |
done |
|
3743 |
done |
|
3744 |
IFS=$as_save_IFS |
|
3745 |
|
|
3746 |
fi |
|
3747 |
fi |
|
3748 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3749 |
if test -n "$ac_ct_CC"; then |
|
3750 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3751 |
$as_echo "$ac_ct_CC" >&6; } |
|
3752 |
else |
|
3753 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3754 |
$as_echo "no" >&6; } |
|
3755 |
fi |
|
3756 |
|
|
3757 |
if test "x$ac_ct_CC" = x; then |
|
3758 |
CC="" |
|
3759 |
else |
|
3760 |
case $cross_compiling:$ac_tool_warned in |
|
3761 |
yes:) |
|
3762 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3763 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3764 |
ac_tool_warned=yes ;; |
|
3765 |
esac |
|
3766 |
CC=$ac_ct_CC |
|
3767 |
fi |
|
3768 |
else |
|
3769 |
CC="$ac_cv_prog_CC" |
|
3770 |
fi |
|
3771 |
|
|
3772 |
if test -z "$CC"; then |
|
3773 |
if test -n "$ac_tool_prefix"; then |
|
3774 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
3775 |
set dummy ${ac_tool_prefix}cc; ac_word=$2 |
|
3776 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3777 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3778 |
if ${ac_cv_prog_CC+:} false; then : |
|
3779 |
$as_echo_n "(cached) " >&6 |
|
3780 |
else |
|
3781 |
if test -n "$CC"; then |
|
3782 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3783 |
else |
|
3784 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3785 |
for as_dir in $PATH |
|
3786 |
do |
|
3787 |
IFS=$as_save_IFS |
|
3788 |
test -z "$as_dir" && as_dir=. |
|
3789 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3790 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3791 |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
|
3792 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3793 |
break 2 |
|
3794 |
fi |
|
3795 |
done |
|
3796 |
done |
|
3797 |
IFS=$as_save_IFS |
|
3798 |
|
|
3799 |
fi |
|
3800 |
fi |
|
3801 |
CC=$ac_cv_prog_CC |
|
3802 |
if test -n "$CC"; then |
|
3803 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3804 |
$as_echo "$CC" >&6; } |
|
3805 |
else |
|
3806 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3807 |
$as_echo "no" >&6; } |
|
3808 |
fi |
|
3809 |
|
|
3810 |
|
|
3811 |
fi |
|
3812 |
fi |
|
3813 |
if test -z "$CC"; then |
|
3814 |
# Extract the first word of "cc", so it can be a program name with args. |
|
3815 |
set dummy cc; ac_word=$2 |
|
3816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3817 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3818 |
if ${ac_cv_prog_CC+:} false; then : |
|
3819 |
$as_echo_n "(cached) " >&6 |
|
3820 |
else |
|
3821 |
if test -n "$CC"; then |
|
3822 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3823 |
else |
|
3824 |
ac_prog_rejected=no |
|
3825 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3826 |
for as_dir in $PATH |
|
3827 |
do |
|
3828 |
IFS=$as_save_IFS |
|
3829 |
test -z "$as_dir" && as_dir=. |
|
3830 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3831 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3832 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
3833 |
ac_prog_rejected=yes |
|
3834 |
continue |
|
3835 |
fi |
|
3836 |
ac_cv_prog_CC="cc" |
|
3837 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3838 |
break 2 |
|
3839 |
fi |
|
3840 |
done |
|
3841 |
done |
|
3842 |
IFS=$as_save_IFS |
|
3843 |
|
|
3844 |
if test $ac_prog_rejected = yes; then |
|
3845 |
# We found a bogon in the path, so make sure we never use it. |
|
3846 |
set dummy $ac_cv_prog_CC |
|
3847 |
shift |
|
3848 |
if test $# != 0; then |
|
3849 |
# We chose a different compiler from the bogus one. |
|
3850 |
# However, it has the same basename, so the bogon will be chosen |
|
3851 |
# first if we set CC to just the basename; use the full file name. |
|
3852 |
shift |
|
3853 |
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
3854 |
fi |
|
3855 |
fi |
|
3856 |
fi |
|
3857 |
fi |
|
3858 |
CC=$ac_cv_prog_CC |
|
3859 |
if test -n "$CC"; then |
|
3860 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3861 |
$as_echo "$CC" >&6; } |
|
3862 |
else |
|
3863 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3864 |
$as_echo "no" >&6; } |
|
3865 |
fi |
|
3866 |
|
|
3867 |
|
|
3868 |
fi |
|
3869 |
if test -z "$CC"; then |
|
3870 |
if test -n "$ac_tool_prefix"; then |
|
3871 |
for ac_prog in cl.exe |
|
3872 |
do |
|
3873 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
3874 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
3875 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3876 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3877 |
if ${ac_cv_prog_CC+:} false; then : |
|
3878 |
$as_echo_n "(cached) " >&6 |
|
3879 |
else |
|
3880 |
if test -n "$CC"; then |
|
3881 |
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
3882 |
else |
|
3883 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3884 |
for as_dir in $PATH |
|
3885 |
do |
|
3886 |
IFS=$as_save_IFS |
|
3887 |
test -z "$as_dir" && as_dir=. |
|
3888 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3889 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3890 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
3891 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3892 |
break 2 |
|
3893 |
fi |
|
3894 |
done |
|
3895 |
done |
|
3896 |
IFS=$as_save_IFS |
|
3897 |
|
|
3898 |
fi |
|
3899 |
fi |
|
3900 |
CC=$ac_cv_prog_CC |
|
3901 |
if test -n "$CC"; then |
|
3902 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
3903 |
$as_echo "$CC" >&6; } |
|
3904 |
else |
|
3905 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3906 |
$as_echo "no" >&6; } |
|
3907 |
fi |
|
3908 |
|
|
3909 |
|
|
3910 |
test -n "$CC" && break |
|
3911 |
done |
|
3912 |
fi |
|
3913 |
if test -z "$CC"; then |
|
3914 |
ac_ct_CC=$CC |
|
3915 |
for ac_prog in cl.exe |
|
3916 |
do |
|
3917 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
3918 |
set dummy $ac_prog; ac_word=$2 |
|
3919 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
3920 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
3921 |
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
3922 |
$as_echo_n "(cached) " >&6 |
|
3923 |
else |
|
3924 |
if test -n "$ac_ct_CC"; then |
|
3925 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
3926 |
else |
|
3927 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
3928 |
for as_dir in $PATH |
|
3929 |
do |
|
3930 |
IFS=$as_save_IFS |
|
3931 |
test -z "$as_dir" && as_dir=. |
|
3932 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
3933 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
3934 |
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
3935 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
3936 |
break 2 |
|
3937 |
fi |
|
3938 |
done |
|
3939 |
done |
|
3940 |
IFS=$as_save_IFS |
|
3941 |
|
|
3942 |
fi |
|
3943 |
fi |
|
3944 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
3945 |
if test -n "$ac_ct_CC"; then |
|
3946 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
3947 |
$as_echo "$ac_ct_CC" >&6; } |
|
3948 |
else |
|
3949 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
3950 |
$as_echo "no" >&6; } |
|
3951 |
fi |
|
3952 |
|
|
3953 |
|
|
3954 |
test -n "$ac_ct_CC" && break |
|
3955 |
done |
|
3956 |
|
|
3957 |
if test "x$ac_ct_CC" = x; then |
|
3958 |
CC="" |
|
3959 |
else |
|
3960 |
case $cross_compiling:$ac_tool_warned in |
|
3961 |
yes:) |
|
3962 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
3963 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
3964 |
ac_tool_warned=yes ;; |
|
3965 |
esac |
|
3966 |
CC=$ac_ct_CC |
|
3967 |
fi |
|
3968 |
fi |
|
3969 |
|
|
3970 |
fi |
|
3971 |
|
|
3972 |
|
|
3973 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
3974 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
3975 |
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
3976 |
See \`config.log' for more details" "$LINENO" 5; } |
|
3977 |
|
|
3978 |
# Provide some information about the compiler. |
|
3979 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
3980 |
set X $ac_compile |
|
3981 |
ac_compiler=$2 |
|
3982 |
for ac_option in --version -v -V -qversion; do |
|
3983 |
{ { ac_try="$ac_compiler $ac_option >&5" |
|
3984 |
case "(($ac_try" in |
|
3985 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
3986 |
*) ac_try_echo=$ac_try;; |
|
3987 |
esac |
|
3988 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
3989 |
$as_echo "$ac_try_echo"; } >&5 |
|
3990 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
3991 |
ac_status=$? |
|
3992 |
if test -s conftest.err; then |
|
3993 |
sed '10a\ |
|
3994 |
... rest of stderr output deleted ... |
|
3995 |
10q' conftest.err >conftest.er1 |
|
3996 |
cat conftest.er1 >&5 |
|
3997 |
fi |
|
3998 |
rm -f conftest.er1 conftest.err |
|
3999 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
4000 |
test $ac_status = 0; } |
|
4001 |
done |
|
4002 |
|
|
4003 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
4004 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
4005 |
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
4006 |
$as_echo_n "(cached) " >&6 |
|
4007 |
else |
|
4008 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4009 |
/* end confdefs.h. */ |
|
4010 |
|
|
4011 |
int |
|
4012 |
main () |
|
4013 |
{ |
|
4014 |
#ifndef __GNUC__ |
|
4015 |
choke me |
|
4016 |
#endif |
|
4017 |
|
|
4018 |
; |
|
4019 |
return 0; |
|
4020 |
} |
|
4021 |
_ACEOF |
|
4022 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4023 |
ac_compiler_gnu=yes |
|
4024 |
else |
|
4025 |
ac_compiler_gnu=no |
|
4026 |
fi |
|
4027 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4028 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
4029 |
|
|
4030 |
fi |
|
4031 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
4032 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
4033 |
if test $ac_compiler_gnu = yes; then |
|
4034 |
GCC=yes |
|
4035 |
else |
|
4036 |
GCC= |
|
4037 |
fi |
|
4038 |
ac_test_CFLAGS=${CFLAGS+set} |
|
4039 |
ac_save_CFLAGS=$CFLAGS |
|
4040 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
4041 |
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
4042 |
if ${ac_cv_prog_cc_g+:} false; then : |
|
4043 |
$as_echo_n "(cached) " >&6 |
|
4044 |
else |
|
4045 |
ac_save_c_werror_flag=$ac_c_werror_flag |
|
4046 |
ac_c_werror_flag=yes |
|
4047 |
ac_cv_prog_cc_g=no |
|
4048 |
CFLAGS="-g" |
|
4049 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4050 |
/* end confdefs.h. */ |
|
4051 |
|
|
4052 |
int |
|
4053 |
main () |
|
4054 |
{ |
|
4055 |
|
|
4056 |
; |
|
4057 |
return 0; |
|
4058 |
} |
|
4059 |
_ACEOF |
|
4060 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4061 |
ac_cv_prog_cc_g=yes |
|
4062 |
else |
|
4063 |
CFLAGS="" |
|
4064 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4065 |
/* end confdefs.h. */ |
|
4066 |
|
|
4067 |
int |
|
4068 |
main () |
|
4069 |
{ |
|
4070 |
|
|
4071 |
; |
|
4072 |
return 0; |
|
4073 |
} |
|
4074 |
_ACEOF |
|
4075 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4076 |
|
|
4077 |
else |
|
4078 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4079 |
CFLAGS="-g" |
|
4080 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4081 |
/* end confdefs.h. */ |
|
4082 |
|
|
4083 |
int |
|
4084 |
main () |
|
4085 |
{ |
|
4086 |
|
|
4087 |
; |
|
4088 |
return 0; |
|
4089 |
} |
|
4090 |
_ACEOF |
|
4091 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4092 |
ac_cv_prog_cc_g=yes |
|
4093 |
fi |
|
4094 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4095 |
fi |
|
4096 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4097 |
fi |
|
4098 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4099 |
ac_c_werror_flag=$ac_save_c_werror_flag |
|
4100 |
fi |
|
4101 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
4102 |
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
4103 |
if test "$ac_test_CFLAGS" = set; then |
|
4104 |
CFLAGS=$ac_save_CFLAGS |
|
4105 |
elif test $ac_cv_prog_cc_g = yes; then |
|
4106 |
if test "$GCC" = yes; then |
|
4107 |
CFLAGS="-g -O2" |
|
4108 |
else |
|
4109 |
CFLAGS="-g" |
|
4110 |
fi |
|
4111 |
else |
|
4112 |
if test "$GCC" = yes; then |
|
4113 |
CFLAGS="-O2" |
|
4114 |
else |
|
4115 |
CFLAGS= |
|
4116 |
fi |
|
4117 |
fi |
|
4118 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
4119 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
4120 |
if ${ac_cv_prog_cc_c89+:} false; then : |
|
4121 |
$as_echo_n "(cached) " >&6 |
|
4122 |
else |
|
4123 |
ac_cv_prog_cc_c89=no |
|
4124 |
ac_save_CC=$CC |
|
4125 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4126 |
/* end confdefs.h. */ |
|
4127 |
#include <stdarg.h> |
|
4128 |
#include <stdio.h> |
|
4129 |
struct stat; |
|
4130 |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
4131 |
struct buf { int x; }; |
|
4132 |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
4133 |
static char *e (p, i) |
|
4134 |
char **p; |
|
4135 |
int i; |
|
4136 |
{ |
|
4137 |
return p[i]; |
|
4138 |
} |
|
4139 |
static char *f (char * (*g) (char **, int), char **p, ...) |
|
4140 |
{ |
|
4141 |
char *s; |
|
4142 |
va_list v; |
|
4143 |
va_start (v,p); |
|
4144 |
s = g (p, va_arg (v,int)); |
|
4145 |
va_end (v); |
|
4146 |
return s; |
|
4147 |
} |
|
4148 |
|
|
4149 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
4150 |
function prototypes and stuff, but not '\xHH' hex character constants. |
|
4151 |
These don't provoke an error unfortunately, instead are silently treated |
|
4152 |
as 'x'. The following induces an error, until -std is added to get |
|
4153 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
4154 |
array size at least. It's necessary to write '\x00'==0 to get something |
|
4155 |
that's true only with -std. */ |
|
4156 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
4157 |
|
|
4158 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
4159 |
inside strings and character constants. */ |
|
4160 |
#define FOO(x) 'x' |
|
4161 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
4162 |
|
|
4163 |
int test (int i, double x); |
|
4164 |
struct s1 {int (*f) (int a);}; |
|
4165 |
struct s2 {int (*f) (double a);}; |
|
4166 |
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
4167 |
int argc; |
|
4168 |
char **argv; |
|
4169 |
int |
|
4170 |
main () |
|
4171 |
{ |
|
4172 |
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
4173 |
; |
|
4174 |
return 0; |
|
4175 |
} |
|
4176 |
_ACEOF |
|
4177 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
4178 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
4179 |
do |
|
4180 |
CC="$ac_save_CC $ac_arg" |
|
4181 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4182 |
ac_cv_prog_cc_c89=$ac_arg |
|
4183 |
fi |
|
4184 |
rm -f core conftest.err conftest.$ac_objext |
|
4185 |
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
4186 |
done |
|
4187 |
rm -f conftest.$ac_ext |
|
4188 |
CC=$ac_save_CC |
|
4189 |
|
|
4190 |
fi |
|
4191 |
# AC_CACHE_VAL |
|
4192 |
case "x$ac_cv_prog_cc_c89" in |
|
4193 |
x) |
|
4194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
4195 |
$as_echo "none needed" >&6; } ;; |
|
4196 |
xno) |
|
4197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
4198 |
$as_echo "unsupported" >&6; } ;; |
|
4199 |
*) |
|
4200 |
CC="$CC $ac_cv_prog_cc_c89" |
|
4201 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
4202 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
4203 |
esac |
|
4204 |
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
4205 |
|
|
4206 |
fi |
|
4207 |
|
|
4208 |
ac_ext=c |
|
4209 |
ac_cpp='$CPP $CPPFLAGS' |
|
4210 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4211 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4212 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4213 |
|
|
4214 |
ac_ext=c |
|
4215 |
ac_cpp='$CPP $CPPFLAGS' |
|
4216 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4217 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4218 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4219 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
4220 |
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
4221 |
if ${am_cv_prog_cc_c_o+:} false; then : |
|
4222 |
$as_echo_n "(cached) " >&6 |
|
4223 |
else |
|
4224 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4225 |
/* end confdefs.h. */ |
|
4226 |
|
|
4227 |
int |
|
4228 |
main () |
|
4229 |
{ |
|
4230 |
|
|
4231 |
; |
|
4232 |
return 0; |
|
4233 |
} |
|
4234 |
_ACEOF |
|
4235 |
# Make sure it works both with $CC and with simple cc. |
|
4236 |
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
4237 |
# compilers refuse to overwrite an existing .o file with -o, |
|
4238 |
# though they will create one. |
|
4239 |
am_cv_prog_cc_c_o=yes |
|
4240 |
for am_i in 1 2; do |
|
4241 |
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
4242 |
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
4243 |
ac_status=$? |
|
4244 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
4245 |
(exit $ac_status); } \ |
|
4246 |
&& test -f conftest2.$ac_objext; then |
|
4247 |
: OK |
|
4248 |
else |
|
4249 |
am_cv_prog_cc_c_o=no |
|
4250 |
break |
|
4251 |
fi |
|
4252 |
done |
|
4253 |
rm -f core conftest* |
|
4254 |
unset am_i |
|
4255 |
fi |
|
4256 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
4257 |
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
4258 |
if test "$am_cv_prog_cc_c_o" != yes; then |
|
4259 |
# Losing compiler, so override with the script. |
|
4260 |
# FIXME: It is wrong to rewrite CC. |
|
4261 |
# But if we don't then we get into trouble of one sort or another. |
|
4262 |
# A longer-term fix would be to have automake use am__CC in this case, |
|
4263 |
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
4264 |
CC="$am_aux_dir/compile $CC" |
|
4265 |
fi |
|
4266 |
ac_ext=c |
|
4267 |
ac_cpp='$CPP $CPPFLAGS' |
|
4268 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4269 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4270 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4271 |
|
|
4272 |
|
|
4273 |
depcc="$CC" am_compiler_list= |
|
4274 |
|
|
4275 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
4276 |
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
4277 |
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
4278 |
$as_echo_n "(cached) " >&6 |
|
4279 |
else |
|
4280 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
4281 |
# We make a subdir and do the tests there. Otherwise we can end up |
|
4282 |
# making bogus files that we don't know about and never remove. For |
|
4283 |
# instance it was reported that on HP-UX the gcc test will end up |
|
4284 |
# making a dummy file named 'D' -- because '-MD' means "put the output |
|
4285 |
# in D". |
|
4286 |
rm -rf conftest.dir |
|
4287 |
mkdir conftest.dir |
|
4288 |
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
4289 |
# using a relative directory. |
|
4290 |
cp "$am_depcomp" conftest.dir |
|
4291 |
cd conftest.dir |
|
4292 |
# We will build objects and dependencies in a subdirectory because |
|
4293 |
# it helps to detect inapplicable dependency modes. For instance |
|
4294 |
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
4295 |
# side effect of compilation, but ICC will put the dependencies in |
|
4296 |
# the current directory while Tru64 will put them in the object |
|
4297 |
# directory. |
|
4298 |
mkdir sub |
|
4299 |
|
|
4300 |
am_cv_CC_dependencies_compiler_type=none |
|
4301 |
if test "$am_compiler_list" = ""; then |
|
4302 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
4303 |
fi |
|
4304 |
am__universal=false |
|
4305 |
case " $depcc " in #( |
|
4306 |
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
4307 |
esac |
|
4308 |
|
|
4309 |
for depmode in $am_compiler_list; do |
|
4310 |
# Setup a source with many dependencies, because some compilers |
|
4311 |
# like to wrap large dependency lists on column 80 (with \), and |
|
4312 |
# we should not choose a depcomp mode which is confused by this. |
|
4313 |
# |
|
4314 |
# We need to recreate these files for each test, as the compiler may |
|
4315 |
# overwrite some of them when testing with obscure command lines. |
|
4316 |
# This happens at least with the AIX C compiler. |
|
4317 |
: > sub/conftest.c |
|
4318 |
for i in 1 2 3 4 5 6; do |
|
4319 |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
4320 |
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
4321 |
# Solaris 10 /bin/sh. |
|
4322 |
echo '/* dummy */' > sub/conftst$i.h |
|
4323 |
done |
|
4324 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
4325 |
|
|
4326 |
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
4327 |
# mode. It turns out that the SunPro C++ compiler does not properly |
|
4328 |
# handle '-M -o', and we need to detect this. Also, some Intel |
|
4329 |
# versions had trouble with output in subdirs. |
|
4330 |
am__obj=sub/conftest.${OBJEXT-o} |
|
4331 |
am__minus_obj="-o $am__obj" |
|
4332 |
case $depmode in |
|
4333 |
gcc) |
|
4334 |
# This depmode causes a compiler race in universal mode. |
|
4335 |
test "$am__universal" = false || continue |
|
4336 |
;; |
|
4337 |
nosideeffect) |
|
4338 |
# After this tag, mechanisms are not by side-effect, so they'll |
|
4339 |
# only be used when explicitly requested. |
|
4340 |
if test "x$enable_dependency_tracking" = xyes; then |
|
4341 |
continue |
|
4342 |
else |
|
4343 |
break |
|
4344 |
fi |
|
4345 |
;; |
|
4346 |
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
4347 |
# This compiler won't grok '-c -o', but also, the minuso test has |
|
4348 |
# not run yet. These depmodes are late enough in the game, and |
|
4349 |
# so weak that their functioning should not be impacted. |
|
4350 |
am__obj=conftest.${OBJEXT-o} |
|
4351 |
am__minus_obj= |
|
4352 |
;; |
|
4353 |
none) break ;; |
|
4354 |
esac |
|
4355 |
if depmode=$depmode \ |
|
4356 |
source=sub/conftest.c object=$am__obj \ |
|
4357 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
4358 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
4359 |
>/dev/null 2>conftest.err && |
|
4360 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
4361 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
4362 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
4363 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
4364 |
# icc doesn't choke on unknown options, it will just issue warnings |
|
4365 |
# or remarks (even with -Werror). So we grep stderr for any message |
|
4366 |
# that says an option was ignored or not supported. |
|
4367 |
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
4368 |
# icc: Command line warning: ignoring option '-M'; no argument required |
|
4369 |
# The diagnosis changed in icc 8.0: |
|
4370 |
# icc: Command line remark: option '-MP' not supported |
|
4371 |
if (grep 'ignoring option' conftest.err || |
|
4372 |
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
4373 |
am_cv_CC_dependencies_compiler_type=$depmode |
|
4374 |
break |
|
4375 |
fi |
|
4376 |
fi |
|
4377 |
done |
|
4378 |
|
|
4379 |
cd .. |
|
4380 |
rm -rf conftest.dir |
|
4381 |
else |
|
4382 |
am_cv_CC_dependencies_compiler_type=none |
|
4383 |
fi |
|
4384 |
|
|
4385 |
fi |
|
4386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
4387 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
4388 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
4389 |
|
|
4390 |
if |
|
4391 |
test "x$enable_dependency_tracking" != xno \ |
|
4392 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
4393 |
am__fastdepCC_TRUE= |
|
4394 |
am__fastdepCC_FALSE='#' |
|
4395 |
else |
|
4396 |
am__fastdepCC_TRUE='#' |
|
4397 |
am__fastdepCC_FALSE= |
|
4398 |
fi |
|
4399 |
|
|
4400 |
|
|
4401 |
|
|
4402 |
# Checks for libraries. |
|
4403 |
|
|
4404 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5 |
|
4405 |
$as_echo_n "checking for library containing sqrt... " >&6; } |
|
4406 |
if ${ac_cv_search_sqrt+:} false; then : |
|
4407 |
$as_echo_n "(cached) " >&6 |
|
4408 |
else |
|
4409 |
ac_func_search_save_LIBS=$LIBS |
|
4410 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4411 |
/* end confdefs.h. */ |
|
4412 |
|
|
4413 |
/* Override any GCC internal prototype to avoid an error. |
|
4414 |
Use char because int might match the return type of a GCC |
|
4415 |
builtin and then its argument prototype would still apply. */ |
|
4416 |
#ifdef __cplusplus |
|
4417 |
extern "C" |
|
4418 |
#endif |
|
4419 |
char sqrt (); |
|
4420 |
int |
|
4421 |
main () |
|
4422 |
{ |
|
4423 |
return sqrt (); |
|
4424 |
; |
|
4425 |
return 0; |
|
4426 |
} |
|
4427 |
_ACEOF |
|
4428 |
for ac_lib in '' m; do |
|
4429 |
if test -z "$ac_lib"; then |
|
4430 |
ac_res="none required" |
|
4431 |
else |
|
4432 |
ac_res=-l$ac_lib |
|
4433 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
4434 |
fi |
|
4435 |
if ac_fn_c_try_link "$LINENO"; then : |
|
4436 |
ac_cv_search_sqrt=$ac_res |
|
4437 |
fi |
|
4438 |
rm -f core conftest.err conftest.$ac_objext \ |
|
4439 |
conftest$ac_exeext |
|
4440 |
if ${ac_cv_search_sqrt+:} false; then : |
|
4441 |
break |
|
4442 |
fi |
|
4443 |
done |
|
4444 |
if ${ac_cv_search_sqrt+:} false; then : |
|
4445 |
|
|
4446 |
else |
|
4447 |
ac_cv_search_sqrt=no |
|
4448 |
fi |
|
4449 |
rm conftest.$ac_ext |
|
4450 |
LIBS=$ac_func_search_save_LIBS |
|
4451 |
fi |
|
4452 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5 |
|
4453 |
$as_echo "$ac_cv_search_sqrt" >&6; } |
|
4454 |
ac_res=$ac_cv_search_sqrt |
|
4455 |
if test "$ac_res" != no; then : |
|
4456 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
4457 |
|
|
4458 |
fi |
|
4459 |
|
|
4460 |
have_g4lib=no |
|
4461 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing g4_init_sys" >&5 |
|
4462 |
$as_echo_n "checking for library containing g4_init_sys... " >&6; } |
|
4463 |
if ${ac_cv_search_g4_init_sys+:} false; then : |
|
4464 |
$as_echo_n "(cached) " >&6 |
|
4465 |
else |
|
4466 |
ac_func_search_save_LIBS=$LIBS |
|
4467 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4468 |
/* end confdefs.h. */ |
|
4469 |
|
|
4470 |
/* Override any GCC internal prototype to avoid an error. |
|
4471 |
Use char because int might match the return type of a GCC |
|
4472 |
builtin and then its argument prototype would still apply. */ |
|
4473 |
#ifdef __cplusplus |
|
4474 |
extern "C" |
|
4475 |
#endif |
|
4476 |
char g4_init_sys (); |
|
4477 |
int |
|
4478 |
main () |
|
4479 |
{ |
|
4480 |
return g4_init_sys (); |
|
4481 |
; |
|
4482 |
return 0; |
|
4483 |
} |
|
4484 |
_ACEOF |
|
4485 |
for ac_lib in '' G4Track; do |
|
4486 |
if test -z "$ac_lib"; then |
|
4487 |
ac_res="none required" |
|
4488 |
else |
|
4489 |
ac_res=-l$ac_lib |
|
4490 |
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
4491 |
fi |
|
4492 |
if ac_fn_c_try_link "$LINENO"; then : |
|
4493 |
ac_cv_search_g4_init_sys=$ac_res |
|
4494 |
fi |
|
4495 |
rm -f core conftest.err conftest.$ac_objext \ |
|
4496 |
conftest$ac_exeext |
|
4497 |
if ${ac_cv_search_g4_init_sys+:} false; then : |
|
4498 |
break |
|
4499 |
fi |
|
4500 |
done |
|
4501 |
if ${ac_cv_search_g4_init_sys+:} false; then : |
|
4502 |
|
|
4503 |
else |
|
4504 |
ac_cv_search_g4_init_sys=no |
|
4505 |
fi |
|
4506 |
rm conftest.$ac_ext |
|
4507 |
LIBS=$ac_func_search_save_LIBS |
|
4508 |
fi |
|
4509 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_g4_init_sys" >&5 |
|
4510 |
$as_echo "$ac_cv_search_g4_init_sys" >&6; } |
|
4511 |
ac_res=$ac_cv_search_g4_init_sys |
|
4512 |
if test "$ac_res" != no; then : |
|
4513 |
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
4514 |
have_g4lib=yes |
|
4515 |
fi |
|
4516 |
|
|
4517 |
|
|
4518 |
if test "x${have_g4lib}" = xno; then |
|
4519 |
as_fn_error $? " |
|
4520 |
-------------------------------------------------------------------------- |
|
4521 |
The G4Display Application requires the G4Track lib to build and run. Stopping.... |
|
4522 |
Check 'config.log' for more information. |
|
4523 |
--------------------------------------------------------------------------" "$LINENO" 5 |
|
4524 |
fi |
|
4525 |
|
|
4526 |
|
|
4527 |
# Checks for header files. |
|
4528 |
ac_ext=c |
|
4529 |
ac_cpp='$CPP $CPPFLAGS' |
|
4530 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4531 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4532 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4533 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
|
4534 |
$as_echo_n "checking how to run the C preprocessor... " >&6; } |
|
4535 |
# On Suns, sometimes $CPP names a directory. |
|
4536 |
if test -n "$CPP" && test -d "$CPP"; then |
|
4537 |
CPP= |
|
4538 |
fi |
|
4539 |
if test -z "$CPP"; then |
|
4540 |
if ${ac_cv_prog_CPP+:} false; then : |
|
4541 |
$as_echo_n "(cached) " >&6 |
|
4542 |
else |
|
4543 |
# Double quotes because CPP needs to be expanded |
|
4544 |
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
|
4545 |
do |
|
4546 |
ac_preproc_ok=false |
|
4547 |
for ac_c_preproc_warn_flag in '' yes |
|
4548 |
do |
|
4549 |
# Use a header file that comes with gcc, so configuring glibc |
|
4550 |
# with a fresh cross-compiler works. |
|
4551 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4552 |
# <limits.h> exists even on freestanding compilers. |
|
4553 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
4554 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
4555 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4556 |
/* end confdefs.h. */ |
|
4557 |
#ifdef __STDC__ |
|
4558 |
# include <limits.h> |
|
4559 |
#else |
|
4560 |
# include <assert.h> |
|
4561 |
#endif |
|
4562 |
Syntax error |
|
4563 |
_ACEOF |
|
4564 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4565 |
|
|
4566 |
else |
|
4567 |
# Broken: fails on valid input. |
|
4568 |
continue |
|
4569 |
fi |
|
4570 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4571 |
|
|
4572 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
4573 |
# can be detected and how. |
|
4574 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4575 |
/* end confdefs.h. */ |
|
4576 |
#include <ac_nonexistent.h> |
|
4577 |
_ACEOF |
|
4578 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4579 |
# Broken: success on invalid input. |
|
4580 |
continue |
|
4581 |
else |
|
4582 |
# Passes both tests. |
|
4583 |
ac_preproc_ok=: |
|
4584 |
break |
|
4585 |
fi |
|
4586 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4587 |
|
|
4588 |
done |
|
4589 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4590 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
4591 |
if $ac_preproc_ok; then : |
|
4592 |
break |
|
4593 |
fi |
|
4594 |
|
|
4595 |
done |
|
4596 |
ac_cv_prog_CPP=$CPP |
|
4597 |
|
|
4598 |
fi |
|
4599 |
CPP=$ac_cv_prog_CPP |
|
4600 |
else |
|
4601 |
ac_cv_prog_CPP=$CPP |
|
4602 |
fi |
|
4603 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
|
4604 |
$as_echo "$CPP" >&6; } |
|
4605 |
ac_preproc_ok=false |
|
4606 |
for ac_c_preproc_warn_flag in '' yes |
|
4607 |
do |
|
4608 |
# Use a header file that comes with gcc, so configuring glibc |
|
4609 |
# with a fresh cross-compiler works. |
|
4610 |
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
4611 |
# <limits.h> exists even on freestanding compilers. |
|
4612 |
# On the NeXT, cc -E runs the code through the compiler's parser, |
|
4613 |
# not just through cpp. "Syntax error" is here to catch this case. |
|
4614 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4615 |
/* end confdefs.h. */ |
|
4616 |
#ifdef __STDC__ |
|
4617 |
# include <limits.h> |
|
4618 |
#else |
|
4619 |
# include <assert.h> |
|
4620 |
#endif |
|
4621 |
Syntax error |
|
4622 |
_ACEOF |
|
4623 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4624 |
|
|
4625 |
else |
|
4626 |
# Broken: fails on valid input. |
|
4627 |
continue |
|
4628 |
fi |
|
4629 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4630 |
|
|
4631 |
# OK, works on sane cases. Now check whether nonexistent headers |
|
4632 |
# can be detected and how. |
|
4633 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4634 |
/* end confdefs.h. */ |
|
4635 |
#include <ac_nonexistent.h> |
|
4636 |
_ACEOF |
|
4637 |
if ac_fn_c_try_cpp "$LINENO"; then : |
|
4638 |
# Broken: success on invalid input. |
|
4639 |
continue |
|
4640 |
else |
|
4641 |
# Passes both tests. |
|
4642 |
ac_preproc_ok=: |
|
4643 |
break |
|
4644 |
fi |
|
4645 |
rm -f conftest.err conftest.i conftest.$ac_ext |
|
4646 |
|
|
4647 |
done |
|
4648 |
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
4649 |
rm -f conftest.i conftest.err conftest.$ac_ext |
|
4650 |
if $ac_preproc_ok; then : |
|
4651 |
|
|
4652 |
else |
|
4653 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
4654 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
4655 |
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
|
4656 |
See \`config.log' for more details" "$LINENO" 5; } |
|
4657 |
fi |
|
4658 |
|
|
4659 |
ac_ext=c |
|
4660 |
ac_cpp='$CPP $CPPFLAGS' |
|
4661 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
4662 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
4663 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
4664 |
|
|
4665 |
|
|
4666 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
|
4667 |
$as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
|
4668 |
if ${ac_cv_path_GREP+:} false; then : |
|
4669 |
$as_echo_n "(cached) " >&6 |
|
4670 |
else |
|
4671 |
if test -z "$GREP"; then |
|
4672 |
ac_path_GREP_found=false |
|
4673 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4674 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4675 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4676 |
do |
|
4677 |
IFS=$as_save_IFS |
|
4678 |
test -z "$as_dir" && as_dir=. |
|
4679 |
for ac_prog in grep ggrep; do |
|
4680 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4681 |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4682 |
as_fn_executable_p "$ac_path_GREP" || continue |
|
4683 |
# Check for GNU ac_path_GREP and select it if it is found. |
|
4684 |
# Check for GNU $ac_path_GREP |
|
4685 |
case `"$ac_path_GREP" --version 2>&1` in |
|
4686 |
*GNU*) |
|
4687 |
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
|
4688 |
*) |
|
4689 |
ac_count=0 |
|
4690 |
$as_echo_n 0123456789 >"conftest.in" |
|
4691 |
while : |
|
4692 |
do |
|
4693 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4694 |
mv "conftest.tmp" "conftest.in" |
|
4695 |
cp "conftest.in" "conftest.nl" |
|
4696 |
$as_echo 'GREP' >> "conftest.nl" |
|
4697 |
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4698 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4699 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4700 |
if test $ac_count -gt ${ac_path_GREP_max-0}; then |
|
4701 |
# Best one so far, save it but keep looking for a better one |
|
4702 |
ac_cv_path_GREP="$ac_path_GREP" |
|
4703 |
ac_path_GREP_max=$ac_count |
|
4704 |
fi |
|
4705 |
# 10*(2^10) chars as input seems more than enough |
|
4706 |
test $ac_count -gt 10 && break |
|
4707 |
done |
|
4708 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4709 |
esac |
|
4710 |
|
|
4711 |
$ac_path_GREP_found && break 3 |
|
4712 |
done |
|
4713 |
done |
|
4714 |
done |
|
4715 |
IFS=$as_save_IFS |
|
4716 |
if test -z "$ac_cv_path_GREP"; then |
|
4717 |
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4718 |
fi |
|
4719 |
else |
|
4720 |
ac_cv_path_GREP=$GREP |
|
4721 |
fi |
|
4722 |
|
|
4723 |
fi |
|
4724 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
|
4725 |
$as_echo "$ac_cv_path_GREP" >&6; } |
|
4726 |
GREP="$ac_cv_path_GREP" |
|
4727 |
|
|
4728 |
|
|
4729 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
|
4730 |
$as_echo_n "checking for egrep... " >&6; } |
|
4731 |
if ${ac_cv_path_EGREP+:} false; then : |
|
4732 |
$as_echo_n "(cached) " >&6 |
|
4733 |
else |
|
4734 |
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
|
4735 |
then ac_cv_path_EGREP="$GREP -E" |
|
4736 |
else |
|
4737 |
if test -z "$EGREP"; then |
|
4738 |
ac_path_EGREP_found=false |
|
4739 |
# Loop through the user's path and test for each of PROGNAME-LIST |
|
4740 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
4741 |
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
|
4742 |
do |
|
4743 |
IFS=$as_save_IFS |
|
4744 |
test -z "$as_dir" && as_dir=. |
|
4745 |
for ac_prog in egrep; do |
|
4746 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
4747 |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
|
4748 |
as_fn_executable_p "$ac_path_EGREP" || continue |
|
4749 |
# Check for GNU ac_path_EGREP and select it if it is found. |
|
4750 |
# Check for GNU $ac_path_EGREP |
|
4751 |
case `"$ac_path_EGREP" --version 2>&1` in |
|
4752 |
*GNU*) |
|
4753 |
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
|
4754 |
*) |
|
4755 |
ac_count=0 |
|
4756 |
$as_echo_n 0123456789 >"conftest.in" |
|
4757 |
while : |
|
4758 |
do |
|
4759 |
cat "conftest.in" "conftest.in" >"conftest.tmp" |
|
4760 |
mv "conftest.tmp" "conftest.in" |
|
4761 |
cp "conftest.in" "conftest.nl" |
|
4762 |
$as_echo 'EGREP' >> "conftest.nl" |
|
4763 |
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
|
4764 |
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
|
4765 |
as_fn_arith $ac_count + 1 && ac_count=$as_val |
|
4766 |
if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
|
4767 |
# Best one so far, save it but keep looking for a better one |
|
4768 |
ac_cv_path_EGREP="$ac_path_EGREP" |
|
4769 |
ac_path_EGREP_max=$ac_count |
|
4770 |
fi |
|
4771 |
# 10*(2^10) chars as input seems more than enough |
|
4772 |
test $ac_count -gt 10 && break |
|
4773 |
done |
|
4774 |
rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
|
4775 |
esac |
|
4776 |
|
|
4777 |
$ac_path_EGREP_found && break 3 |
|
4778 |
done |
|
4779 |
done |
|
4780 |
done |
|
4781 |
IFS=$as_save_IFS |
|
4782 |
if test -z "$ac_cv_path_EGREP"; then |
|
4783 |
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
|
4784 |
fi |
|
4785 |
else |
|
4786 |
ac_cv_path_EGREP=$EGREP |
|
4787 |
fi |
|
4788 |
|
|
4789 |
fi |
|
4790 |
fi |
|
4791 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
|
4792 |
$as_echo "$ac_cv_path_EGREP" >&6; } |
|
4793 |
EGREP="$ac_cv_path_EGREP" |
|
4794 |
|
|
4795 |
|
|
4796 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
|
4797 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
|
4798 |
if ${ac_cv_header_stdc+:} false; then : |
|
4799 |
$as_echo_n "(cached) " >&6 |
|
4800 |
else |
|
4801 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4802 |
/* end confdefs.h. */ |
|
4803 |
#include <stdlib.h> |
|
4804 |
#include <stdarg.h> |
|
4805 |
#include <string.h> |
|
4806 |
#include <float.h> |
|
4807 |
|
|
4808 |
int |
|
4809 |
main () |
|
4810 |
{ |
|
4811 |
|
|
4812 |
; |
|
4813 |
return 0; |
|
4814 |
} |
|
4815 |
_ACEOF |
|
4816 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
4817 |
ac_cv_header_stdc=yes |
|
4818 |
else |
|
4819 |
ac_cv_header_stdc=no |
|
4820 |
fi |
|
4821 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
4822 |
|
|
4823 |
if test $ac_cv_header_stdc = yes; then |
|
4824 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
4825 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4826 |
/* end confdefs.h. */ |
|
4827 |
#include <string.h> |
|
4828 |
|
|
4829 |
_ACEOF |
|
4830 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4831 |
$EGREP "memchr" >/dev/null 2>&1; then : |
|
4832 |
|
|
4833 |
else |
|
4834 |
ac_cv_header_stdc=no |
|
4835 |
fi |
|
4836 |
rm -f conftest* |
|
4837 |
|
|
4838 |
fi |
|
4839 |
|
|
4840 |
if test $ac_cv_header_stdc = yes; then |
|
4841 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
4842 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4843 |
/* end confdefs.h. */ |
|
4844 |
#include <stdlib.h> |
|
4845 |
|
|
4846 |
_ACEOF |
|
4847 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
4848 |
$EGREP "free" >/dev/null 2>&1; then : |
|
4849 |
|
|
4850 |
else |
|
4851 |
ac_cv_header_stdc=no |
|
4852 |
fi |
|
4853 |
rm -f conftest* |
|
4854 |
|
|
4855 |
fi |
|
4856 |
|
|
4857 |
if test $ac_cv_header_stdc = yes; then |
|
4858 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
4859 |
if test "$cross_compiling" = yes; then : |
|
4860 |
: |
|
4861 |
else |
|
4862 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4863 |
/* end confdefs.h. */ |
|
4864 |
#include <ctype.h> |
|
4865 |
#include <stdlib.h> |
|
4866 |
#if ((' ' & 0x0FF) == 0x020) |
|
4867 |
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
4868 |
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
4869 |
#else |
|
4870 |
# define ISLOWER(c) \ |
|
4871 |
(('a' <= (c) && (c) <= 'i') \ |
|
4872 |
|| ('j' <= (c) && (c) <= 'r') \ |
|
4873 |
|| ('s' <= (c) && (c) <= 'z')) |
|
4874 |
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
4875 |
#endif |
|
4876 |
|
|
4877 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
4878 |
int |
|
4879 |
main () |
|
4880 |
{ |
|
4881 |
int i; |
|
4882 |
for (i = 0; i < 256; i++) |
|
4883 |
if (XOR (islower (i), ISLOWER (i)) |
|
4884 |
|| toupper (i) != TOUPPER (i)) |
|
4885 |
return 2; |
|
4886 |
return 0; |
|
4887 |
} |
|
4888 |
_ACEOF |
|
4889 |
if ac_fn_c_try_run "$LINENO"; then : |
|
4890 |
|
|
4891 |
else |
|
4892 |
ac_cv_header_stdc=no |
|
4893 |
fi |
|
4894 |
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
|
4895 |
conftest.$ac_objext conftest.beam conftest.$ac_ext |
|
4896 |
fi |
|
4897 |
|
|
4898 |
fi |
|
4899 |
fi |
|
4900 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
|
4901 |
$as_echo "$ac_cv_header_stdc" >&6; } |
|
4902 |
if test $ac_cv_header_stdc = yes; then |
|
4903 |
|
|
4904 |
$as_echo "#define STDC_HEADERS 1" >>confdefs.h |
|
4905 |
|
|
4906 |
fi |
|
4907 |
|
|
4908 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
4909 |
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
4910 |
inttypes.h stdint.h unistd.h |
|
4911 |
do : |
|
4912 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4913 |
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
|
4914 |
" |
|
4915 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
4916 |
cat >>confdefs.h <<_ACEOF |
|
4917 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4918 |
_ACEOF |
|
4919 |
|
|
4920 |
fi |
|
4921 |
|
|
4922 |
done |
|
4923 |
|
|
4924 |
|
|
4925 |
for ac_header in stdlib.h string.h unistd.h G4TrackIncl.h |
|
4926 |
do : |
|
4927 |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
4928 |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
|
4929 |
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
|
4930 |
cat >>confdefs.h <<_ACEOF |
|
4931 |
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
4932 |
_ACEOF |
|
4933 |
|
|
4934 |
else |
|
4935 |
as_fn_error $? "\"Failure finding required header file -- Terminating configure\"" "$LINENO" 5 |
|
4936 |
fi |
|
4937 |
|
|
4938 |
done |
|
4939 |
|
|
4940 |
|
|
4941 |
# Checks for typedefs, structures, and compiler characteristics. |
|
4942 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 |
|
4943 |
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } |
|
4944 |
if ${ac_cv_header_stdbool_h+:} false; then : |
|
4945 |
$as_echo_n "(cached) " >&6 |
|
4946 |
else |
|
4947 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
4948 |
/* end confdefs.h. */ |
|
4949 |
|
|
4950 |
#include <stdbool.h> |
|
4951 |
#ifndef bool |
|
4952 |
"error: bool is not defined" |
|
4953 |
#endif |
|
4954 |
#ifndef false |
|
4955 |
"error: false is not defined" |
|
4956 |
#endif |
|
4957 |
#if false |
|
4958 |
"error: false is not 0" |
|
4959 |
#endif |
|
4960 |
#ifndef true |
|
4961 |
"error: true is not defined" |
|
4962 |
#endif |
|
4963 |
#if true != 1 |
|
4964 |
"error: true is not 1" |
|
4965 |
#endif |
|
4966 |
#ifndef __bool_true_false_are_defined |
|
4967 |
"error: __bool_true_false_are_defined is not defined" |
|
4968 |
#endif |
|
4969 |
|
|
4970 |
struct s { _Bool s: 1; _Bool t; } s; |
|
4971 |
|
|
4972 |
char a[true == 1 ? 1 : -1]; |
|
4973 |
char b[false == 0 ? 1 : -1]; |
|
4974 |
char c[__bool_true_false_are_defined == 1 ? 1 : -1]; |
|
4975 |
char d[(bool) 0.5 == true ? 1 : -1]; |
|
4976 |
/* See body of main program for 'e'. */ |
|
4977 |
char f[(_Bool) 0.0 == false ? 1 : -1]; |
|
4978 |
char g[true]; |
|
4979 |
char h[sizeof (_Bool)]; |
|
4980 |
char i[sizeof s.t]; |
|
4981 |
enum { j = false, k = true, l = false * true, m = true * 256 }; |
|
4982 |
/* The following fails for |
|
4983 |
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ |
|
4984 |
_Bool n[m]; |
|
4985 |
char o[sizeof n == m * sizeof n[0] ? 1 : -1]; |
|
4986 |
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; |
|
4987 |
/* Catch a bug in an HP-UX C compiler. See |
|
4988 |
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html |
|
4989 |
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html |
|
4990 |
*/ |
|
4991 |
_Bool q = true; |
|
4992 |
_Bool *pq = &q; |
|
4993 |
|
|
4994 |
int |
|
4995 |
main () |
|
4996 |
{ |
|
4997 |
|
|
4998 |
bool e = &s; |
|
4999 |
*pq |= q; |
|
5000 |
*pq |= ! q; |
|
5001 |
/* Refer to every declared value, to avoid compiler optimizations. */ |
|
5002 |
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l |
|
5003 |
+ !m + !n + !o + !p + !q + !pq); |
|
5004 |
|
|
5005 |
; |
|
5006 |
return 0; |
|
5007 |
} |
|
5008 |
_ACEOF |
|
5009 |
if ac_fn_c_try_compile "$LINENO"; then : |
|
5010 |
ac_cv_header_stdbool_h=yes |
|
5011 |
else |
|
5012 |
ac_cv_header_stdbool_h=no |
|
5013 |
fi |
|
5014 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
5015 |
fi |
|
5016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 |
|
5017 |
$as_echo "$ac_cv_header_stdbool_h" >&6; } |
|
5018 |
ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" |
|
5019 |
if test "x$ac_cv_type__Bool" = xyes; then : |
|
5020 |
|
|
5021 |
cat >>confdefs.h <<_ACEOF |
|
5022 |
#define HAVE__BOOL 1 |
|
5023 |
_ACEOF |
|
5024 |
|
|
5025 |
|
|
5026 |
fi |
|
5027 |
|
|
5028 |
|
|
5029 |
if test $ac_cv_header_stdbool_h = yes; then |
|
5030 |
|
|
5031 |
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h |
|
5032 |
|
|
5033 |
fi |
|
5034 |
|
|
5035 |
ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t" |
|
5036 |
case $ac_cv_c_uint32_t in #( |
|
5037 |
no|yes) ;; #( |
|
5038 |
*) |
|
5039 |
|
|
5040 |
$as_echo "#define _UINT32_T 1" >>confdefs.h |
|
5041 |
|
|
5042 |
|
|
5043 |
cat >>confdefs.h <<_ACEOF |
|
5044 |
#define uint32_t $ac_cv_c_uint32_t |
|
5045 |
_ACEOF |
|
5046 |
;; |
|
5047 |
esac |
|
5048 |
|
|
5049 |
ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t" |
|
5050 |
case $ac_cv_c_uint8_t in #( |
|
5051 |
no|yes) ;; #( |
|
5052 |
*) |
|
5053 |
|
|
5054 |
$as_echo "#define _UINT8_T 1" >>confdefs.h |
|
5055 |
|
|
5056 |
|
|
5057 |
cat >>confdefs.h <<_ACEOF |
|
5058 |
#define uint8_t $ac_cv_c_uint8_t |
|
5059 |
_ACEOF |
|
5060 |
;; |
|
5061 |
esac |
|
5062 |
|
|
5063 |
|
|
5064 |
# Checks for library functions. |
|
5065 |
for ac_func in memset sqrt |
|
5066 |
do : |
|
5067 |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
5068 |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
|
5069 |
if eval test \"x\$"$as_ac_var"\" = x"yes"; then : |
|
5070 |
cat >>confdefs.h <<_ACEOF |
|
5071 |
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
5072 |
_ACEOF |
|
5073 |
|
|
5074 |
else |
|
5075 |
as_fn_error $? "\"Failure finding required function -- Terminating configure\"" "$LINENO" 5 |
|
5076 |
fi |
|
5077 |
done |
|
5078 |
|
|
5079 |
|
|
5080 |
|
|
5081 |
# Checks for GTK+ |
|
5082 |
|
|
5083 |
|
|
5084 |
|
|
5085 |
|
|
5086 |
|
|
5087 |
|
|
5088 |
|
|
5089 |
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|
5090 |
if test -n "$ac_tool_prefix"; then |
|
5091 |
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|
5092 |
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
5093 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5094 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5095 |
if ${ac_cv_path_PKG_CONFIG+:} false; then : |
|
5096 |
$as_echo_n "(cached) " >&6 |
|
5097 |
else |
|
5098 |
case $PKG_CONFIG in |
|
5099 |
[\\/]* | ?:[\\/]*) |
|
5100 |
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
5101 |
;; |
|
5102 |
*) |
|
5103 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5104 |
for as_dir in $PATH |
|
5105 |
do |
|
5106 |
IFS=$as_save_IFS |
|
5107 |
test -z "$as_dir" && as_dir=. |
|
5108 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5109 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5110 |
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
5111 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5112 |
break 2 |
|
5113 |
fi |
|
5114 |
done |
|
5115 |
done |
|
5116 |
IFS=$as_save_IFS |
|
5117 |
|
|
5118 |
;; |
|
5119 |
esac |
|
5120 |
fi |
|
5121 |
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
5122 |
if test -n "$PKG_CONFIG"; then |
|
5123 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
5124 |
$as_echo "$PKG_CONFIG" >&6; } |
|
5125 |
else |
|
5126 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5127 |
$as_echo "no" >&6; } |
|
5128 |
fi |
|
5129 |
|
|
5130 |
|
|
5131 |
fi |
|
5132 |
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
5133 |
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
5134 |
# Extract the first word of "pkg-config", so it can be a program name with args. |
|
5135 |
set dummy pkg-config; ac_word=$2 |
|
5136 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5137 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5138 |
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
|
5139 |
$as_echo_n "(cached) " >&6 |
|
5140 |
else |
|
5141 |
case $ac_pt_PKG_CONFIG in |
|
5142 |
[\\/]* | ?:[\\/]*) |
|
5143 |
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
5144 |
;; |
|
5145 |
*) |
|
5146 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5147 |
for as_dir in $PATH |
|
5148 |
do |
|
5149 |
IFS=$as_save_IFS |
|
5150 |
test -z "$as_dir" && as_dir=. |
|
5151 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5152 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5153 |
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
5154 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5155 |
break 2 |
|
5156 |
fi |
|
5157 |
done |
|
5158 |
done |
|
5159 |
IFS=$as_save_IFS |
|
5160 |
|
|
5161 |
;; |
|
5162 |
esac |
|
5163 |
fi |
|
5164 |
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
5165 |
if test -n "$ac_pt_PKG_CONFIG"; then |
|
5166 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
5167 |
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
5168 |
else |
|
5169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5170 |
$as_echo "no" >&6; } |
|
5171 |
fi |
|
5172 |
|
|
5173 |
if test "x$ac_pt_PKG_CONFIG" = x; then |
|
5174 |
PKG_CONFIG="" |
|
5175 |
else |
|
5176 |
case $cross_compiling:$ac_tool_warned in |
|
5177 |
yes:) |
|
5178 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
5179 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
5180 |
ac_tool_warned=yes ;; |
|
5181 |
esac |
|
5182 |
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
5183 |
fi |
|
5184 |
else |
|
5185 |
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
5186 |
fi |
|
5187 |
|
|
5188 |
fi |
|
5189 |
if test -n "$PKG_CONFIG"; then |
|
5190 |
_pkg_min_version=0.9.0 |
|
5191 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
5192 |
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
5193 |
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
5194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
5195 |
$as_echo "yes" >&6; } |
|
5196 |
else |
|
5197 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5198 |
$as_echo "no" >&6; } |
|
5199 |
PKG_CONFIG="" |
|
5200 |
fi |
|
5201 |
fi |
|
5202 |
|
|
5203 |
pkg_failed=no |
|
5204 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk+-2.0" >&5 |
|
5205 |
$as_echo_n "checking for gtk+-2.0... " >&6; } |
|
5206 |
|
|
5207 |
if test -n "$GTK_CFLAGS"; then |
|
5208 |
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" |
|
5209 |
elif test -n "$PKG_CONFIG"; then |
|
5210 |
if test -n "$PKG_CONFIG" && \ |
|
5211 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 |
|
5212 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 |
|
5213 |
ac_status=$? |
|
5214 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5215 |
test $ac_status = 0; }; then |
|
5216 |
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` |
|
5217 |
test "x$?" != "x0" && pkg_failed=yes |
|
5218 |
else |
|
5219 |
pkg_failed=yes |
|
5220 |
fi |
|
5221 |
else |
|
5222 |
pkg_failed=untried |
|
5223 |
fi |
|
5224 |
if test -n "$GTK_LIBS"; then |
|
5225 |
pkg_cv_GTK_LIBS="$GTK_LIBS" |
|
5226 |
elif test -n "$PKG_CONFIG"; then |
|
5227 |
if test -n "$PKG_CONFIG" && \ |
|
5228 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 |
|
5229 |
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 |
|
5230 |
ac_status=$? |
|
5231 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5232 |
test $ac_status = 0; }; then |
|
5233 |
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` |
|
5234 |
test "x$?" != "x0" && pkg_failed=yes |
|
5235 |
else |
|
5236 |
pkg_failed=yes |
|
5237 |
fi |
|
5238 |
else |
|
5239 |
pkg_failed=untried |
|
5240 |
fi |
|
5241 |
|
|
5242 |
|
|
5243 |
|
|
5244 |
if test $pkg_failed = yes; then |
|
5245 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5246 |
$as_echo "no" >&6; } |
|
5247 |
|
|
5248 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
5249 |
_pkg_short_errors_supported=yes |
|
5250 |
else |
|
5251 |
_pkg_short_errors_supported=no |
|
5252 |
fi |
|
5253 |
if test $_pkg_short_errors_supported = yes; then |
|
5254 |
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` |
|
5255 |
else |
|
5256 |
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` |
|
5257 |
fi |
|
5258 |
# Put the nasty error message in config.log where it belongs |
|
5259 |
echo "$GTK_PKG_ERRORS" >&5 |
|
5260 |
|
|
5261 |
as_fn_error $? "\"gtk+-2.0 is required for this project -- Terminating configure\"" "$LINENO" 5 |
|
5262 |
elif test $pkg_failed = untried; then |
|
5263 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5264 |
$as_echo "no" >&6; } |
|
5265 |
as_fn_error $? "\"gtk+-2.0 is required for this project -- Terminating configure\"" "$LINENO" 5 |
|
5266 |
else |
|
5267 |
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS |
|
5268 |
GTK_LIBS=$pkg_cv_GTK_LIBS |
|
5269 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
5270 |
$as_echo "yes" >&6; } |
|
5271 |
|
|
5272 |
fi |
|
5273 |
|
|
5274 |
#Checks for GTKGLEXT (OpenGL ext for GTK) |
|
5275 |
|
|
5276 |
pkg_failed=no |
|
5277 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkglext-1.0" >&5 |
|
5278 |
$as_echo_n "checking for gtkglext-1.0... " >&6; } |
|
5279 |
|
|
5280 |
if test -n "$GLEXT_CFLAGS"; then |
|
5281 |
pkg_cv_GLEXT_CFLAGS="$GLEXT_CFLAGS" |
|
5282 |
elif test -n "$PKG_CONFIG"; then |
|
5283 |
if test -n "$PKG_CONFIG" && \ |
|
5284 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\""; } >&5 |
|
5285 |
($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5 |
|
5286 |
ac_status=$? |
|
5287 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5288 |
test $ac_status = 0; }; then |
|
5289 |
pkg_cv_GLEXT_CFLAGS=`$PKG_CONFIG --cflags "gtkglext-1.0" 2>/dev/null` |
|
5290 |
test "x$?" != "x0" && pkg_failed=yes |
|
5291 |
else |
|
5292 |
pkg_failed=yes |
|
5293 |
fi |
|
5294 |
else |
|
5295 |
pkg_failed=untried |
|
5296 |
fi |
|
5297 |
if test -n "$GLEXT_LIBS"; then |
|
5298 |
pkg_cv_GLEXT_LIBS="$GLEXT_LIBS" |
|
5299 |
elif test -n "$PKG_CONFIG"; then |
|
5300 |
if test -n "$PKG_CONFIG" && \ |
|
5301 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtkglext-1.0\""; } >&5 |
|
5302 |
($PKG_CONFIG --exists --print-errors "gtkglext-1.0") 2>&5 |
|
5303 |
ac_status=$? |
|
5304 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
5305 |
test $ac_status = 0; }; then |
|
5306 |
pkg_cv_GLEXT_LIBS=`$PKG_CONFIG --libs "gtkglext-1.0" 2>/dev/null` |
|
5307 |
test "x$?" != "x0" && pkg_failed=yes |
|
5308 |
else |
|
5309 |
pkg_failed=yes |
|
5310 |
fi |
|
5311 |
else |
|
5312 |
pkg_failed=untried |
|
5313 |
fi |
|
5314 |
|
|
5315 |
|
|
5316 |
|
|
5317 |
if test $pkg_failed = yes; then |
|
5318 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5319 |
$as_echo "no" >&6; } |
|
5320 |
|
|
5321 |
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
5322 |
_pkg_short_errors_supported=yes |
|
5323 |
else |
|
5324 |
_pkg_short_errors_supported=no |
|
5325 |
fi |
|
5326 |
if test $_pkg_short_errors_supported = yes; then |
|
5327 |
GLEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtkglext-1.0" 2>&1` |
|
5328 |
else |
|
5329 |
GLEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtkglext-1.0" 2>&1` |
|
5330 |
fi |
|
5331 |
# Put the nasty error message in config.log where it belongs |
|
5332 |
echo "$GLEXT_PKG_ERRORS" >&5 |
|
5333 |
|
|
5334 |
as_fn_error $? "\"gtkglext-1.0 is required for this project -- Terminating configure\"" "$LINENO" 5 |
|
5335 |
elif test $pkg_failed = untried; then |
|
5336 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5337 |
$as_echo "no" >&6; } |
|
5338 |
as_fn_error $? "\"gtkglext-1.0 is required for this project -- Terminating configure\"" "$LINENO" 5 |
|
5339 |
else |
|
5340 |
GLEXT_CFLAGS=$pkg_cv_GLEXT_CFLAGS |
|
5341 |
GLEXT_LIBS=$pkg_cv_GLEXT_LIBS |
|
5342 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
5343 |
$as_echo "yes" >&6; } |
|
5344 |
|
|
5345 |
fi |
|
5346 |
|
|
5347 |
# Checks for pthreads |
|
5348 |
# Make sure we can run config.sub. |
|
5349 |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
|
5350 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
|
5351 |
|
|
5352 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
|
5353 |
$as_echo_n "checking build system type... " >&6; } |
|
5354 |
if ${ac_cv_build+:} false; then : |
|
5355 |
$as_echo_n "(cached) " >&6 |
|
5356 |
else |
|
5357 |
ac_build_alias=$build_alias |
|
5358 |
test "x$ac_build_alias" = x && |
|
5359 |
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
|
5360 |
test "x$ac_build_alias" = x && |
|
5361 |
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
|
5362 |
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
|
5363 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
|
5364 |
|
|
5365 |
fi |
|
5366 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
|
5367 |
$as_echo "$ac_cv_build" >&6; } |
|
5368 |
case $ac_cv_build in |
|
5369 |
*-*-*) ;; |
|
5370 |
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
|
5371 |
esac |
|
5372 |
build=$ac_cv_build |
|
5373 |
ac_save_IFS=$IFS; IFS='-' |
|
5374 |
set x $ac_cv_build |
|
5375 |
shift |
|
5376 |
build_cpu=$1 |
|
5377 |
build_vendor=$2 |
|
5378 |
shift; shift |
|
5379 |
# Remember, the first character of IFS is used to create $*, |
|
5380 |
# except with old shells: |
|
5381 |
build_os=$* |
|
5382 |
IFS=$ac_save_IFS |
|
5383 |
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
|
5384 |
|
|
5385 |
|
|
5386 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
|
5387 |
$as_echo_n "checking host system type... " >&6; } |
|
5388 |
if ${ac_cv_host+:} false; then : |
|
5389 |
$as_echo_n "(cached) " >&6 |
|
5390 |
else |
|
5391 |
if test "x$host_alias" = x; then |
|
5392 |
ac_cv_host=$ac_cv_build |
|
5393 |
else |
|
5394 |
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
|
5395 |
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
|
5396 |
fi |
|
5397 |
|
|
5398 |
fi |
|
5399 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
|
5400 |
$as_echo "$ac_cv_host" >&6; } |
|
5401 |
case $ac_cv_host in |
|
5402 |
*-*-*) ;; |
|
5403 |
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
|
5404 |
esac |
|
5405 |
host=$ac_cv_host |
|
5406 |
ac_save_IFS=$IFS; IFS='-' |
|
5407 |
set x $ac_cv_host |
|
5408 |
shift |
|
5409 |
host_cpu=$1 |
|
5410 |
host_vendor=$2 |
|
5411 |
shift; shift |
|
5412 |
# Remember, the first character of IFS is used to create $*, |
|
5413 |
# except with old shells: |
|
5414 |
host_os=$* |
|
5415 |
IFS=$ac_save_IFS |
|
5416 |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
5417 |
|
|
5418 |
|
|
5419 |
|
|
5420 |
|
|
5421 |
ac_ext=c |
|
5422 |
ac_cpp='$CPP $CPPFLAGS' |
|
5423 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5424 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5425 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5426 |
|
|
5427 |
ax_pthread_ok=no |
|
5428 |
|
|
5429 |
# We used to check for pthread.h first, but this fails if pthread.h |
|
5430 |
# requires special compiler flags (e.g. on True64 or Sequent). |
|
5431 |
# It gets checked for in the link test anyway. |
|
5432 |
|
|
5433 |
# First of all, check if the user has set any of the PTHREAD_LIBS, |
|
5434 |
# etcetera environment variables, and if threads linking works using |
|
5435 |
# them: |
|
5436 |
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then |
|
5437 |
save_CFLAGS="$CFLAGS" |
|
5438 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5439 |
save_LIBS="$LIBS" |
|
5440 |
LIBS="$PTHREAD_LIBS $LIBS" |
|
5441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 |
|
5442 |
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } |
|
5443 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5444 |
/* end confdefs.h. */ |
|
5445 |
|
|
5446 |
/* Override any GCC internal prototype to avoid an error. |
|
5447 |
Use char because int might match the return type of a GCC |
|
5448 |
builtin and then its argument prototype would still apply. */ |
|
5449 |
#ifdef __cplusplus |
|
5450 |
extern "C" |
|
5451 |
#endif |
|
5452 |
char pthread_join (); |
|
5453 |
int |
|
5454 |
main () |
|
5455 |
{ |
|
5456 |
return pthread_join (); |
|
5457 |
; |
|
5458 |
return 0; |
|
5459 |
} |
|
5460 |
_ACEOF |
|
5461 |
if ac_fn_c_try_link "$LINENO"; then : |
|
5462 |
ax_pthread_ok=yes |
|
5463 |
fi |
|
5464 |
rm -f core conftest.err conftest.$ac_objext \ |
|
5465 |
conftest$ac_exeext conftest.$ac_ext |
|
5466 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
5467 |
$as_echo "$ax_pthread_ok" >&6; } |
|
5468 |
if test x"$ax_pthread_ok" = xno; then |
|
5469 |
PTHREAD_LIBS="" |
|
5470 |
PTHREAD_CFLAGS="" |
|
5471 |
fi |
|
5472 |
LIBS="$save_LIBS" |
|
5473 |
CFLAGS="$save_CFLAGS" |
|
5474 |
fi |
|
5475 |
|
|
5476 |
# We must check for the threads library under a number of different |
|
5477 |
# names; the ordering is very important because some systems |
|
5478 |
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the |
|
5479 |
# libraries is broken (non-POSIX). |
|
5480 |
|
|
5481 |
# Create a list of thread flags to try. Items starting with a "-" are |
|
5482 |
# C compiler flags, and other items are library names, except for "none" |
|
5483 |
# which indicates that we try without any flags at all, and "pthread-config" |
|
5484 |
# which is a program returning the flags for the Pth emulation library. |
|
5485 |
|
|
5486 |
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" |
|
5487 |
|
|
5488 |
# The ordering *is* (sometimes) important. Some notes on the |
|
5489 |
# individual items follow: |
|
5490 |
|
|
5491 |
# pthreads: AIX (must check this before -lpthread) |
|
5492 |
# none: in case threads are in libc; should be tried before -Kthread and |
|
5493 |
# other compiler flags to prevent continual compiler warnings |
|
5494 |
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) |
|
5495 |
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) |
|
5496 |
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) |
|
5497 |
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) |
|
5498 |
# -pthreads: Solaris/gcc |
|
5499 |
# -mthreads: Mingw32/gcc, Lynx/gcc |
|
5500 |
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it |
|
5501 |
# doesn't hurt to check since this sometimes defines pthreads too; |
|
5502 |
# also defines -D_REENTRANT) |
|
5503 |
# ... -mt is also the pthreads flag for HP/aCC |
|
5504 |
# pthread: Linux, etcetera |
|
5505 |
# --thread-safe: KAI C++ |
|
5506 |
# pthread-config: use pthread-config program (for GNU Pth library) |
|
5507 |
|
|
5508 |
case "${host_cpu}-${host_os}" in |
|
5509 |
*solaris*) |
|
5510 |
|
|
5511 |
# On Solaris (at least, for some versions), libc contains stubbed |
|
5512 |
# (non-functional) versions of the pthreads routines, so link-based |
|
5513 |
# tests will erroneously succeed. (We need to link with -pthreads/-mt/ |
|
5514 |
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather |
|
5515 |
# a function called by this macro, so we could check for that, but |
|
5516 |
# who knows whether they'll stub that too in a future libc.) So, |
|
5517 |
# we'll just look for -pthreads and -lpthread first: |
|
5518 |
|
|
5519 |
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" |
|
5520 |
;; |
|
5521 |
|
|
5522 |
*-darwin*) |
|
5523 |
ax_pthread_flags="-pthread $ax_pthread_flags" |
|
5524 |
;; |
|
5525 |
esac |
|
5526 |
|
|
5527 |
if test x"$ax_pthread_ok" = xno; then |
|
5528 |
for flag in $ax_pthread_flags; do |
|
5529 |
|
|
5530 |
case $flag in |
|
5531 |
none) |
|
5532 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 |
|
5533 |
$as_echo_n "checking whether pthreads work without any flags... " >&6; } |
|
5534 |
;; |
|
5535 |
|
|
5536 |
-*) |
|
5537 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 |
|
5538 |
$as_echo_n "checking whether pthreads work with $flag... " >&6; } |
|
5539 |
PTHREAD_CFLAGS="$flag" |
|
5540 |
;; |
|
5541 |
|
|
5542 |
pthread-config) |
|
5543 |
# Extract the first word of "pthread-config", so it can be a program name with args. |
|
5544 |
set dummy pthread-config; ac_word=$2 |
|
5545 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5546 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5547 |
if ${ac_cv_prog_ax_pthread_config+:} false; then : |
|
5548 |
$as_echo_n "(cached) " >&6 |
|
5549 |
else |
|
5550 |
if test -n "$ax_pthread_config"; then |
|
5551 |
ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test. |
|
5552 |
else |
|
5553 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5554 |
for as_dir in $PATH |
|
5555 |
do |
|
5556 |
IFS=$as_save_IFS |
|
5557 |
test -z "$as_dir" && as_dir=. |
|
5558 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5559 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5560 |
ac_cv_prog_ax_pthread_config="yes" |
|
5561 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5562 |
break 2 |
|
5563 |
fi |
|
5564 |
done |
|
5565 |
done |
|
5566 |
IFS=$as_save_IFS |
|
5567 |
|
|
5568 |
test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" |
|
5569 |
fi |
|
5570 |
fi |
|
5571 |
ax_pthread_config=$ac_cv_prog_ax_pthread_config |
|
5572 |
if test -n "$ax_pthread_config"; then |
|
5573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 |
|
5574 |
$as_echo "$ax_pthread_config" >&6; } |
|
5575 |
else |
|
5576 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5577 |
$as_echo "no" >&6; } |
|
5578 |
fi |
|
5579 |
|
|
5580 |
|
|
5581 |
if test x"$ax_pthread_config" = xno; then continue; fi |
|
5582 |
PTHREAD_CFLAGS="`pthread-config --cflags`" |
|
5583 |
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" |
|
5584 |
;; |
|
5585 |
|
|
5586 |
*) |
|
5587 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 |
|
5588 |
$as_echo_n "checking for the pthreads library -l$flag... " >&6; } |
|
5589 |
PTHREAD_LIBS="-l$flag" |
|
5590 |
;; |
|
5591 |
esac |
|
5592 |
|
|
5593 |
save_LIBS="$LIBS" |
|
5594 |
save_CFLAGS="$CFLAGS" |
|
5595 |
LIBS="$PTHREAD_LIBS $LIBS" |
|
5596 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5597 |
|
|
5598 |
# Check for various functions. We must include pthread.h, |
|
5599 |
# since some functions may be macros. (On the Sequent, we |
|
5600 |
# need a special flag -Kthread to make this header compile.) |
|
5601 |
# We check for pthread_join because it is in -lpthread on IRIX |
|
5602 |
# while pthread_create is in libc. We check for pthread_attr_init |
|
5603 |
# due to DEC craziness with -lpthreads. We check for |
|
5604 |
# pthread_cleanup_push because it is one of the few pthread |
|
5605 |
# functions on Solaris that doesn't have a non-functional libc stub. |
|
5606 |
# We try pthread_create on general principles. |
|
5607 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5608 |
/* end confdefs.h. */ |
|
5609 |
#include <pthread.h> |
|
5610 |
static void routine(void *a) { a = 0; } |
|
5611 |
static void *start_routine(void *a) { return a; } |
|
5612 |
int |
|
5613 |
main () |
|
5614 |
{ |
|
5615 |
pthread_t th; pthread_attr_t attr; |
|
5616 |
pthread_create(&th, 0, start_routine, 0); |
|
5617 |
pthread_join(th, 0); |
|
5618 |
pthread_attr_init(&attr); |
|
5619 |
pthread_cleanup_push(routine, 0); |
|
5620 |
pthread_cleanup_pop(0) /* ; */ |
|
5621 |
; |
|
5622 |
return 0; |
|
5623 |
} |
|
5624 |
_ACEOF |
|
5625 |
if ac_fn_c_try_link "$LINENO"; then : |
|
5626 |
ax_pthread_ok=yes |
|
5627 |
fi |
|
5628 |
rm -f core conftest.err conftest.$ac_objext \ |
|
5629 |
conftest$ac_exeext conftest.$ac_ext |
|
5630 |
|
|
5631 |
LIBS="$save_LIBS" |
|
5632 |
CFLAGS="$save_CFLAGS" |
|
5633 |
|
|
5634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
5635 |
$as_echo "$ax_pthread_ok" >&6; } |
|
5636 |
if test "x$ax_pthread_ok" = xyes; then |
|
5637 |
break; |
|
5638 |
fi |
|
5639 |
|
|
5640 |
PTHREAD_LIBS="" |
|
5641 |
PTHREAD_CFLAGS="" |
|
5642 |
done |
|
5643 |
fi |
|
5644 |
|
|
5645 |
# Various other checks: |
|
5646 |
if test "x$ax_pthread_ok" = xyes; then |
|
5647 |
save_LIBS="$LIBS" |
|
5648 |
LIBS="$PTHREAD_LIBS $LIBS" |
|
5649 |
save_CFLAGS="$CFLAGS" |
|
5650 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5651 |
|
|
5652 |
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED. |
|
5653 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 |
|
5654 |
$as_echo_n "checking for joinable pthread attribute... " >&6; } |
|
5655 |
attr_name=unknown |
|
5656 |
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do |
|
5657 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5658 |
/* end confdefs.h. */ |
|
5659 |
#include <pthread.h> |
|
5660 |
int |
|
5661 |
main () |
|
5662 |
{ |
|
5663 |
int attr = $attr; return attr /* ; */ |
|
5664 |
; |
|
5665 |
return 0; |
|
5666 |
} |
|
5667 |
_ACEOF |
|
5668 |
if ac_fn_c_try_link "$LINENO"; then : |
|
5669 |
attr_name=$attr; break |
|
5670 |
fi |
|
5671 |
rm -f core conftest.err conftest.$ac_objext \ |
|
5672 |
conftest$ac_exeext conftest.$ac_ext |
|
5673 |
done |
|
5674 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 |
|
5675 |
$as_echo "$attr_name" >&6; } |
|
5676 |
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then |
|
5677 |
|
|
5678 |
cat >>confdefs.h <<_ACEOF |
|
5679 |
#define PTHREAD_CREATE_JOINABLE $attr_name |
|
5680 |
_ACEOF |
|
5681 |
|
|
5682 |
fi |
|
5683 |
|
|
5684 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 |
|
5685 |
$as_echo_n "checking if more special flags are required for pthreads... " >&6; } |
|
5686 |
flag=no |
|
5687 |
case "${host_cpu}-${host_os}" in |
|
5688 |
*-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; |
|
5689 |
*-osf* | *-hpux*) flag="-D_REENTRANT";; |
|
5690 |
*solaris*) |
|
5691 |
if test "$GCC" = "yes"; then |
|
5692 |
flag="-D_REENTRANT" |
|
5693 |
else |
|
5694 |
flag="-mt -D_REENTRANT" |
|
5695 |
fi |
|
5696 |
;; |
|
5697 |
esac |
|
5698 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 |
|
5699 |
$as_echo "${flag}" >&6; } |
|
5700 |
if test "x$flag" != xno; then |
|
5701 |
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" |
|
5702 |
fi |
|
5703 |
|
|
5704 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5 |
|
5705 |
$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; } |
|
5706 |
if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then : |
|
5707 |
$as_echo_n "(cached) " >&6 |
|
5708 |
else |
|
5709 |
|
|
5710 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
5711 |
/* end confdefs.h. */ |
|
5712 |
|
|
5713 |
#include <pthread.h> |
|
5714 |
int |
|
5715 |
main () |
|
5716 |
{ |
|
5717 |
int i = PTHREAD_PRIO_INHERIT; |
|
5718 |
; |
|
5719 |
return 0; |
|
5720 |
} |
|
5721 |
_ACEOF |
|
5722 |
if ac_fn_c_try_link "$LINENO"; then : |
|
5723 |
ax_cv_PTHREAD_PRIO_INHERIT=yes |
|
5724 |
else |
|
5725 |
ax_cv_PTHREAD_PRIO_INHERIT=no |
|
5726 |
fi |
|
5727 |
rm -f core conftest.err conftest.$ac_objext \ |
|
5728 |
conftest$ac_exeext conftest.$ac_ext |
|
5729 |
|
|
5730 |
fi |
|
5731 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5 |
|
5732 |
$as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; } |
|
5733 |
if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then : |
|
5734 |
|
|
5735 |
$as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h |
|
5736 |
|
|
5737 |
fi |
|
5738 |
|
|
5739 |
LIBS="$save_LIBS" |
|
5740 |
CFLAGS="$save_CFLAGS" |
|
5741 |
|
|
5742 |
# More AIX lossage: must compile with xlc_r or cc_r |
|
5743 |
if test x"$GCC" != xyes; then |
|
5744 |
for ac_prog in xlc_r cc_r |
|
5745 |
do |
|
5746 |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
5747 |
set dummy $ac_prog; ac_word=$2 |
|
5748 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
5749 |
$as_echo_n "checking for $ac_word... " >&6; } |
|
5750 |
if ${ac_cv_prog_PTHREAD_CC+:} false; then : |
|
5751 |
$as_echo_n "(cached) " >&6 |
|
5752 |
else |
|
5753 |
if test -n "$PTHREAD_CC"; then |
|
5754 |
ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test. |
|
5755 |
else |
|
5756 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
5757 |
for as_dir in $PATH |
|
5758 |
do |
|
5759 |
IFS=$as_save_IFS |
|
5760 |
test -z "$as_dir" && as_dir=. |
|
5761 |
for ac_exec_ext in '' $ac_executable_extensions; do |
|
5762 |
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
5763 |
ac_cv_prog_PTHREAD_CC="$ac_prog" |
|
5764 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
5765 |
break 2 |
|
5766 |
fi |
|
5767 |
done |
|
5768 |
done |
|
5769 |
IFS=$as_save_IFS |
|
5770 |
|
|
5771 |
fi |
|
5772 |
fi |
|
5773 |
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC |
|
5774 |
if test -n "$PTHREAD_CC"; then |
|
5775 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 |
|
5776 |
$as_echo "$PTHREAD_CC" >&6; } |
|
5777 |
else |
|
5778 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
5779 |
$as_echo "no" >&6; } |
|
5780 |
fi |
|
5781 |
|
|
5782 |
|
|
5783 |
test -n "$PTHREAD_CC" && break |
|
5784 |
done |
|
5785 |
test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" |
|
5786 |
|
|
5787 |
else |
|
5788 |
PTHREAD_CC=$CC |
|
5789 |
fi |
|
5790 |
else |
|
5791 |
PTHREAD_CC="$CC" |
|
5792 |
fi |
|
5793 |
|
|
5794 |
|
|
5795 |
|
|
5796 |
|
|
5797 |
|
|
5798 |
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
|
5799 |
if test x"$ax_pthread_ok" = xyes; then |
|
5800 |
|
|
5801 |
|
|
5802 |
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h |
|
5803 |
|
|
5804 |
LIBS="$PTHREAD_LIBS $LIBS" |
|
5805 |
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
5806 |
CXXFLAGS="$CXXFLAGS $PTHREAD_CXXFLAGS" |
|
5807 |
CC="$PTHREAD_CC" |
|
5808 |
|
|
5809 |
: |
|
5810 |
else |
|
5811 |
ax_pthread_ok=no |
|
5812 |
|
|
5813 |
fi |
|
5814 |
ac_ext=c |
|
5815 |
ac_cpp='$CPP $CPPFLAGS' |
|
5816 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
5817 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
5818 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
5819 |
|
|
5820 |
|
|
5821 |
|
|
5822 |
ac_config_files="$ac_config_files Makefile src/Makefile" |
|
5823 |
|
|
5824 |
cat >confcache <<\_ACEOF |
|
5825 |
# This file is a shell script that caches the results of configure |
|
5826 |
# tests run on this system so they can be shared between configure |
|
5827 |
# scripts and configure runs, see configure's option --config-cache. |
|
5828 |
# It is not useful on other systems. If it contains results you don't |
|
5829 |
# want to keep, you may remove or edit it. |
|
5830 |
# |
|
5831 |
# config.status only pays attention to the cache file if you give it |
|
5832 |
# the --recheck option to rerun configure. |
|
5833 |
# |
|
5834 |
# `ac_cv_env_foo' variables (set or unset) will be overridden when |
|
5835 |
# loading this file, other *unset* `ac_cv_foo' will be assigned the |
|
5836 |
# following values. |
|
5837 |
|
|
5838 |
_ACEOF |
|
5839 |
|
|
5840 |
# The following way of writing the cache mishandles newlines in values, |
|
5841 |
# but we know of no workaround that is simple, portable, and efficient. |
|
5842 |
# So, we kill variables containing newlines. |
|
5843 |
# Ultrix sh set writes to stderr and can't be redirected directly, |
|
5844 |
# and sets the high bit in the cache file unless we assign to the vars. |
|
5845 |
( |
|
5846 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
|
5847 |
eval ac_val=\$$ac_var |
|
5848 |
case $ac_val in #( |
|
5849 |
*${as_nl}*) |
|
5850 |
case $ac_var in #( |
|
5851 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
|
5852 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
|
5853 |
esac |
|
5854 |
case $ac_var in #( |
|
5855 |
_ | IFS | as_nl) ;; #( |
|
5856 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
|
5857 |
*) { eval $ac_var=; unset $ac_var;} ;; |
|
5858 |
esac ;; |
|
5859 |
esac |
|
5860 |
done |
|
5861 |
|
|
5862 |
(set) 2>&1 | |
|
5863 |
case $as_nl`(ac_space=' '; set) 2>&1` in #( |
|
5864 |
*${as_nl}ac_space=\ *) |
|
5865 |
# `set' does not quote correctly, so add quotes: double-quote |
|
5866 |
# substitution turns \\\\ into \\, and sed turns \\ into \. |
|
5867 |
sed -n \ |
|
5868 |
"s/'/'\\\\''/g; |
|
5869 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
|
5870 |
;; #( |
|
5871 |
*) |
|
5872 |
# `set' quotes correctly as required by POSIX, so do not add quotes. |
|
5873 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
|
5874 |
;; |
|
5875 |
esac | |
|
5876 |
sort |
|
5877 |
) | |
|
5878 |
sed ' |
|
5879 |
/^ac_cv_env_/b end |
|
5880 |
t clear |
|
5881 |
:clear |
|
5882 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
|
5883 |
t end |
|
5884 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
|
5885 |
:end' >>confcache |
|
5886 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
|
5887 |
if test -w "$cache_file"; then |
|
5888 |
if test "x$cache_file" != "x/dev/null"; then |
|
5889 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
|
5890 |
$as_echo "$as_me: updating cache $cache_file" >&6;} |
|
5891 |
if test ! -f "$cache_file" || test -h "$cache_file"; then |
|
5892 |
cat confcache >"$cache_file" |
|
5893 |
else |
|
5894 |
case $cache_file in #( |
|
5895 |
*/* | ?:*) |
|
5896 |
mv -f confcache "$cache_file"$$ && |
|
5897 |
mv -f "$cache_file"$$ "$cache_file" ;; #( |
|
5898 |
*) |
|
5899 |
mv -f confcache "$cache_file" ;; |
|
5900 |
esac |
|
5901 |
fi |
|
5902 |
fi |
|
5903 |
else |
|
5904 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
|
5905 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
|
5906 |
fi |
|
5907 |
fi |
|
5908 |
rm -f confcache |
|
5909 |
|
|
5910 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix |
|
5911 |
# Let make expand exec_prefix. |
|
5912 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
|
5913 |
|
|
5914 |
DEFS=-DHAVE_CONFIG_H |
|
5915 |
|
|
5916 |
ac_libobjs= |
|
5917 |
ac_ltlibobjs= |
|
5918 |
U= |
|
5919 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
|
5920 |
# 1. Remove the extension, and $U if already installed. |
|
5921 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
|
5922 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
|
5923 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
|
5924 |
# will be set to the directory where LIBOBJS objects are built. |
|
5925 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
|
5926 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
|
5927 |
done |
|
5928 |
LIBOBJS=$ac_libobjs |
|
5929 |
|
|
5930 |
LTLIBOBJS=$ac_ltlibobjs |
|
5931 |
|
|
5932 |
|
|
5933 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
5934 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
5935 |
if test -n "$am_sleep_pid"; then |
|
5936 |
# Hide warnings about reused PIDs. |
|
5937 |
wait $am_sleep_pid 2>/dev/null |
|
5938 |
fi |
|
5939 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
5940 |
$as_echo "done" >&6; } |
|
5941 |
if test -n "$EXEEXT"; then |
|
5942 |
am__EXEEXT_TRUE= |
|
5943 |
am__EXEEXT_FALSE='#' |
|
5944 |
else |
|
5945 |
am__EXEEXT_TRUE='#' |
|
5946 |
am__EXEEXT_FALSE= |
|
5947 |
fi |
|
5948 |
|
|
5949 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
|
5950 |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
|
5951 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
5952 |
fi |
|
5953 |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
|
5954 |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
|
5955 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
5956 |
fi |
|
5957 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
5958 |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
5959 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
5960 |
fi |
|
5961 |
|
|
5962 |
: "${CONFIG_STATUS=./config.status}" |
|
5963 |
ac_write_fail=0 |
|
5964 |
ac_clean_files_save=$ac_clean_files |
|
5965 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
|
5966 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
|
5967 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
|
5968 |
as_write_fail=0 |
|
5969 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
|
5970 |
#! $SHELL |
|
5971 |
# Generated by $as_me. |
|
5972 |
# Run this file to recreate the current configuration. |
|
5973 |
# Compiler output produced by configure, useful for debugging |
|
5974 |
# configure, is in config.log if it exists. |
|
5975 |
|
|
5976 |
debug=false |
|
5977 |
ac_cs_recheck=false |
|
5978 |
ac_cs_silent=false |
|
5979 |
|
|
5980 |
SHELL=\${CONFIG_SHELL-$SHELL} |
|
5981 |
export SHELL |
|
5982 |
_ASEOF |
|
5983 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
|
5984 |
## -------------------- ## |
|
5985 |
## M4sh Initialization. ## |
|
5986 |
## -------------------- ## |
|
5987 |
|
|
5988 |
# Be more Bourne compatible |
|
5989 |
DUALCASE=1; export DUALCASE # for MKS sh |
|
5990 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
|
5991 |
emulate sh |
|
5992 |
NULLCMD=: |
|
5993 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
|
5994 |
# is contrary to our usage. Disable this feature. |
|
5995 |
alias -g '${1+"$@"}'='"$@"' |
|
5996 |
setopt NO_GLOB_SUBST |
|
5997 |
else |
|
5998 |
case `(set -o) 2>/dev/null` in #( |
|
5999 |
*posix*) : |
|
6000 |
set -o posix ;; #( |
|
6001 |
*) : |
|
6002 |
;; |
|
6003 |
esac |
|
6004 |
fi |
|
6005 |
|
|
6006 |
|
|
6007 |
as_nl=' |
|
6008 |
' |
|
6009 |
export as_nl |
|
6010 |
# Printing a long string crashes Solaris 7 /usr/bin/printf. |
|
6011 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
6012 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
|
6013 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
|
6014 |
# Prefer a ksh shell builtin over an external printf program on Solaris, |
|
6015 |
# but without wasting forks for bash or zsh. |
|
6016 |
if test -z "$BASH_VERSION$ZSH_VERSION" \ |
|
6017 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
6018 |
as_echo='print -r --' |
|
6019 |
as_echo_n='print -rn --' |
|
6020 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
|
6021 |
as_echo='printf %s\n' |
|
6022 |
as_echo_n='printf %s' |
|
6023 |
else |
|
6024 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
|
6025 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
|
6026 |
as_echo_n='/usr/ucb/echo -n' |
|
6027 |
else |
|
6028 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
|
6029 |
as_echo_n_body='eval |
|
6030 |
arg=$1; |
|
6031 |
case $arg in #( |
|
6032 |
*"$as_nl"*) |
|
6033 |
expr "X$arg" : "X\\(.*\\)$as_nl"; |
|
6034 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
|
6035 |
esac; |
|
6036 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
|
6037 |
' |
|
6038 |
export as_echo_n_body |
|
6039 |
as_echo_n='sh -c $as_echo_n_body as_echo' |
|
6040 |
fi |
|
6041 |
export as_echo_body |
|
6042 |
as_echo='sh -c $as_echo_body as_echo' |
|
6043 |
fi |
|
6044 |
|
|
6045 |
# The user is always right. |
|
6046 |
if test "${PATH_SEPARATOR+set}" != set; then |
|
6047 |
PATH_SEPARATOR=: |
|
6048 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
|
6049 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
|
6050 |
PATH_SEPARATOR=';' |
|
6051 |
} |
|
6052 |
fi |
|
6053 |
|
|
6054 |
|
|
6055 |
# IFS |
|
6056 |
# We need space, tab and new line, in precisely that order. Quoting is |
|
6057 |
# there to prevent editors from complaining about space-tab. |
|
6058 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word |
|
6059 |
# splitting by setting IFS to empty value.) |
|
6060 |
IFS=" "" $as_nl" |
|
6061 |
|
|
6062 |
# Find who we are. Look in the path if we contain no directory separator. |
|
6063 |
as_myself= |
|
6064 |
case $0 in #(( |
|
6065 |
*[\\/]* ) as_myself=$0 ;; |
|
6066 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
6067 |
for as_dir in $PATH |
|
6068 |
do |
|
6069 |
IFS=$as_save_IFS |
|
6070 |
test -z "$as_dir" && as_dir=. |
|
6071 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
|
6072 |
done |
|
6073 |
IFS=$as_save_IFS |
|
6074 |
|
|
6075 |
;; |
|
6076 |
esac |
|
6077 |
# We did not find ourselves, most probably we were run as `sh COMMAND' |
|
6078 |
# in which case we are not to be found in the path. |
|
6079 |
if test "x$as_myself" = x; then |
|
6080 |
as_myself=$0 |
|
6081 |
fi |
|
6082 |
if test ! -f "$as_myself"; then |
|
6083 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
|
6084 |
exit 1 |
|
6085 |
fi |
|
6086 |
|
|
6087 |
# Unset variables that we do not need and which cause bugs (e.g. in |
|
6088 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
|
6089 |
# suppresses any "Segmentation fault" message there. '((' could |
|
6090 |
# trigger a bug in pdksh 5.2.14. |
|
6091 |
for as_var in BASH_ENV ENV MAIL MAILPATH |
|
6092 |
do eval test x\${$as_var+set} = xset \ |
|
6093 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
|
6094 |
done |
|
6095 |
PS1='$ ' |
|
6096 |
PS2='> ' |
|
6097 |
PS4='+ ' |
|
6098 |
|
|
6099 |
# NLS nuisances. |
|
6100 |
LC_ALL=C |
|
6101 |
export LC_ALL |
|
6102 |
LANGUAGE=C |
|
6103 |
export LANGUAGE |
|
6104 |
|
|
6105 |
# CDPATH. |
|
6106 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
6107 |
|
|
6108 |
|
|
6109 |
# as_fn_error STATUS ERROR [LINENO LOG_FD] |
|
6110 |
# ---------------------------------------- |
|
6111 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
|
6112 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
|
6113 |
# script with STATUS, using 1 if that was 0. |
|
6114 |
as_fn_error () |
|
6115 |
{ |
|
6116 |
as_status=$1; test $as_status -eq 0 && as_status=1 |
|
6117 |
if test "$4"; then |
|
6118 |
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
|
6119 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
|
6120 |
fi |
|
6121 |
$as_echo "$as_me: error: $2" >&2 |
|
6122 |
as_fn_exit $as_status |
|
6123 |
} # as_fn_error |
|
6124 |
|
|
6125 |
|
|
6126 |
# as_fn_set_status STATUS |
|
6127 |
# ----------------------- |
|
6128 |
# Set $? to STATUS, without forking. |
|
6129 |
as_fn_set_status () |
|
6130 |
{ |
|
6131 |
return $1 |
|
6132 |
} # as_fn_set_status |
|
6133 |
|
|
6134 |
# as_fn_exit STATUS |
|
6135 |
# ----------------- |
|
6136 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
|
6137 |
as_fn_exit () |
|
6138 |
{ |
|
6139 |
set +e |
|
6140 |
as_fn_set_status $1 |
|
6141 |
exit $1 |
|
6142 |
} # as_fn_exit |
|
6143 |
|
|
6144 |
# as_fn_unset VAR |
|
6145 |
# --------------- |
|
6146 |
# Portably unset VAR. |
|
6147 |
as_fn_unset () |
|
6148 |
{ |
|
6149 |
{ eval $1=; unset $1;} |
|
6150 |
} |
|
6151 |
as_unset=as_fn_unset |
|
6152 |
# as_fn_append VAR VALUE |
|
6153 |
# ---------------------- |
|
6154 |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
|
6155 |
# advantage of any shell optimizations that allow amortized linear growth over |
|
6156 |
# repeated appends, instead of the typical quadratic growth present in naive |
|
6157 |
# implementations. |
|
6158 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
|
6159 |
eval 'as_fn_append () |
|
6160 |
{ |
|
6161 |
eval $1+=\$2 |
|
6162 |
}' |
|
6163 |
else |
|
6164 |
as_fn_append () |
|
6165 |
{ |
|
6166 |
eval $1=\$$1\$2 |
|
6167 |
} |
|
6168 |
fi # as_fn_append |
|
6169 |
|
|
6170 |
# as_fn_arith ARG... |
|
6171 |
# ------------------ |
|
6172 |
# Perform arithmetic evaluation on the ARGs, and store the result in the |
|
6173 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments |
|
6174 |
# must be portable across $(()) and expr. |
|
6175 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
|
6176 |
eval 'as_fn_arith () |
|
6177 |
{ |
|
6178 |
as_val=$(( $* )) |
|
6179 |
}' |
|
6180 |
else |
|
6181 |
as_fn_arith () |
|
6182 |
{ |
|
6183 |
as_val=`expr "$@" || test $? -eq 1` |
|
6184 |
} |
|
6185 |
fi # as_fn_arith |
|
6186 |
|
|
6187 |
|
|
6188 |
if expr a : '\(a\)' >/dev/null 2>&1 && |
|
6189 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then |
|
6190 |
as_expr=expr |
|
6191 |
else |
|
6192 |
as_expr=false |
|
6193 |
fi |
|
6194 |
|
|
6195 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
|
6196 |
as_basename=basename |
|
6197 |
else |
|
6198 |
as_basename=false |
|
6199 |
fi |
|
6200 |
|
|
6201 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
|
6202 |
as_dirname=dirname |
|
6203 |
else |
|
6204 |
as_dirname=false |
|
6205 |
fi |
|
6206 |
|
|
6207 |
as_me=`$as_basename -- "$0" || |
|
6208 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
|
6209 |
X"$0" : 'X\(//\)$' \| \ |
|
6210 |
X"$0" : 'X\(/\)' \| . 2>/dev/null || |
|
6211 |
$as_echo X/"$0" | |
|
6212 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
6213 |
s//\1/ |
|
6214 |
q |
|
6215 |
} |
|
6216 |
/^X\/\(\/\/\)$/{ |
|
6217 |
s//\1/ |
|
6218 |
q |
|
6219 |
} |
|
6220 |
/^X\/\(\/\).*/{ |
|
6221 |
s//\1/ |
|
6222 |
q |
|
6223 |
} |
|
6224 |
s/.*/./; q'` |
|
6225 |
|
|
6226 |
# Avoid depending upon Character Ranges. |
|
6227 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
|
6228 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
|
6229 |
as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
|
6230 |
as_cr_digits='0123456789' |
|
6231 |
as_cr_alnum=$as_cr_Letters$as_cr_digits |
|
6232 |
|
|
6233 |
ECHO_C= ECHO_N= ECHO_T= |
|
6234 |
case `echo -n x` in #((((( |
|
6235 |
-n*) |
|
6236 |
case `echo 'xy\c'` in |
|
6237 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character. |
|
6238 |
xy) ECHO_C='\c';; |
|
6239 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
|
6240 |
ECHO_T=' ';; |
|
6241 |
esac;; |
|
6242 |
*) |
|
6243 |
ECHO_N='-n';; |
|
6244 |
esac |
|
6245 |
|
|
6246 |
rm -f conf$$ conf$$.exe conf$$.file |
|
6247 |
if test -d conf$$.dir; then |
|
6248 |
rm -f conf$$.dir/conf$$.file |
|
6249 |
else |
|
6250 |
rm -f conf$$.dir |
|
6251 |
mkdir conf$$.dir 2>/dev/null |
|
6252 |
fi |
|
6253 |
if (echo >conf$$.file) 2>/dev/null; then |
|
6254 |
if ln -s conf$$.file conf$$ 2>/dev/null; then |
|
6255 |
as_ln_s='ln -s' |
|
6256 |
# ... but there are two gotchas: |
|
6257 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
|
6258 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
|
6259 |
# In both cases, we have to default to `cp -pR'. |
|
6260 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
|
6261 |
as_ln_s='cp -pR' |
|
6262 |
elif ln conf$$.file conf$$ 2>/dev/null; then |
|
6263 |
as_ln_s=ln |
|
6264 |
else |
|
6265 |
as_ln_s='cp -pR' |
|
6266 |
fi |
|
6267 |
else |
|
6268 |
as_ln_s='cp -pR' |
|
6269 |
fi |
|
6270 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
|
6271 |
rmdir conf$$.dir 2>/dev/null |
|
6272 |
|
|
6273 |
|
|
6274 |
# as_fn_mkdir_p |
|
6275 |
# ------------- |
|
6276 |
# Create "$as_dir" as a directory, including parents if necessary. |
|
6277 |
as_fn_mkdir_p () |
|
6278 |
{ |
|
6279 |
|
|
6280 |
case $as_dir in #( |
|
6281 |
-*) as_dir=./$as_dir;; |
|
6282 |
esac |
|
6283 |
test -d "$as_dir" || eval $as_mkdir_p || { |
|
6284 |
as_dirs= |
|
6285 |
while :; do |
|
6286 |
case $as_dir in #( |
|
6287 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
|
6288 |
*) as_qdir=$as_dir;; |
|
6289 |
esac |
|
6290 |
as_dirs="'$as_qdir' $as_dirs" |
|
6291 |
as_dir=`$as_dirname -- "$as_dir" || |
|
6292 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6293 |
X"$as_dir" : 'X\(//\)[^/]' \| \ |
|
6294 |
X"$as_dir" : 'X\(//\)$' \| \ |
|
6295 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
|
6296 |
$as_echo X"$as_dir" | |
|
6297 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
6298 |
s//\1/ |
|
6299 |
q |
|
6300 |
} |
|
6301 |
/^X\(\/\/\)[^/].*/{ |
|
6302 |
s//\1/ |
|
6303 |
q |
|
6304 |
} |
|
6305 |
/^X\(\/\/\)$/{ |
|
6306 |
s//\1/ |
|
6307 |
q |
|
6308 |
} |
|
6309 |
/^X\(\/\).*/{ |
|
6310 |
s//\1/ |
|
6311 |
q |
|
6312 |
} |
|
6313 |
s/.*/./; q'` |
|
6314 |
test -d "$as_dir" && break |
|
6315 |
done |
|
6316 |
test -z "$as_dirs" || eval "mkdir $as_dirs" |
|
6317 |
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
|
6318 |
|
|
6319 |
|
|
6320 |
} # as_fn_mkdir_p |
|
6321 |
if mkdir -p . 2>/dev/null; then |
|
6322 |
as_mkdir_p='mkdir -p "$as_dir"' |
|
6323 |
else |
|
6324 |
test -d ./-p && rmdir ./-p |
|
6325 |
as_mkdir_p=false |
|
6326 |
fi |
|
6327 |
|
|
6328 |
|
|
6329 |
# as_fn_executable_p FILE |
|
6330 |
# ----------------------- |
|
6331 |
# Test if FILE is an executable regular file. |
|
6332 |
as_fn_executable_p () |
|
6333 |
{ |
|
6334 |
test -f "$1" && test -x "$1" |
|
6335 |
} # as_fn_executable_p |
|
6336 |
as_test_x='test -x' |
|
6337 |
as_executable_p=as_fn_executable_p |
|
6338 |
|
|
6339 |
# Sed expression to map a string onto a valid CPP name. |
|
6340 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
6341 |
|
|
6342 |
# Sed expression to map a string onto a valid variable name. |
|
6343 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
|
6344 |
|
|
6345 |
|
|
6346 |
exec 6>&1 |
|
6347 |
## ----------------------------------- ## |
|
6348 |
## Main body of $CONFIG_STATUS script. ## |
|
6349 |
## ----------------------------------- ## |
|
6350 |
_ASEOF |
|
6351 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
|
6352 |
|
|
6353 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6354 |
# Save the log message, to keep $0 and so on meaningful, and to |
|
6355 |
# report actual input values of CONFIG_FILES etc. instead of their |
|
6356 |
# values after options handling. |
|
6357 |
ac_log=" |
|
6358 |
This file was extended by g4display $as_me 1.0.0, which was |
|
6359 |
generated by GNU Autoconf 2.69. Invocation command line was |
|
6360 |
|
|
6361 |
CONFIG_FILES = $CONFIG_FILES |
|
6362 |
CONFIG_HEADERS = $CONFIG_HEADERS |
|
6363 |
CONFIG_LINKS = $CONFIG_LINKS |
|
6364 |
CONFIG_COMMANDS = $CONFIG_COMMANDS |
|
6365 |
$ $0 $@ |
|
6366 |
|
|
6367 |
on `(hostname || uname -n) 2>/dev/null | sed 1q` |
|
6368 |
" |
|
6369 |
|
|
6370 |
_ACEOF |
|
6371 |
|
|
6372 |
case $ac_config_files in *" |
|
6373 |
"*) set x $ac_config_files; shift; ac_config_files=$*;; |
|
6374 |
esac |
|
6375 |
|
|
6376 |
case $ac_config_headers in *" |
|
6377 |
"*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
|
6378 |
esac |
|
6379 |
|
|
6380 |
|
|
6381 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6382 |
# Files that config.status was made for. |
|
6383 |
config_files="$ac_config_files" |
|
6384 |
config_headers="$ac_config_headers" |
|
6385 |
config_commands="$ac_config_commands" |
|
6386 |
|
|
6387 |
_ACEOF |
|
6388 |
|
|
6389 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6390 |
ac_cs_usage="\ |
|
6391 |
\`$as_me' instantiates files and other configuration actions |
|
6392 |
from templates according to the current configuration. Unless the files |
|
6393 |
and actions are specified as TAGs, all are instantiated by default. |
|
6394 |
|
|
6395 |
Usage: $0 [OPTION]... [TAG]... |
|
6396 |
|
|
6397 |
-h, --help print this help, then exit |
|
6398 |
-V, --version print version number and configuration settings, then exit |
|
6399 |
--config print configuration, then exit |
|
6400 |
-q, --quiet, --silent |
|
6401 |
do not print progress messages |
|
6402 |
-d, --debug don't remove temporary files |
|
6403 |
--recheck update $as_me by reconfiguring in the same conditions |
|
6404 |
--file=FILE[:TEMPLATE] |
|
6405 |
instantiate the configuration file FILE |
|
6406 |
--header=FILE[:TEMPLATE] |
|
6407 |
instantiate the configuration header FILE |
|
6408 |
|
|
6409 |
Configuration files: |
|
6410 |
$config_files |
|
6411 |
|
|
6412 |
Configuration headers: |
|
6413 |
$config_headers |
|
6414 |
|
|
6415 |
Configuration commands: |
|
6416 |
$config_commands |
|
6417 |
|
|
6418 |
Report bugs to <help@polhemus.com>." |
|
6419 |
|
|
6420 |
_ACEOF |
|
6421 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6422 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
|
6423 |
ac_cs_version="\\ |
|
6424 |
g4display config.status 1.0.0 |
|
6425 |
configured by $0, generated by GNU Autoconf 2.69, |
|
6426 |
with options \\"\$ac_cs_config\\" |
|
6427 |
|
|
6428 |
Copyright (C) 2012 Free Software Foundation, Inc. |
|
6429 |
This config.status script is free software; the Free Software Foundation |
|
6430 |
gives unlimited permission to copy, distribute and modify it." |
|
6431 |
|
|
6432 |
ac_pwd='$ac_pwd' |
|
6433 |
srcdir='$srcdir' |
|
6434 |
INSTALL='$INSTALL' |
|
6435 |
MKDIR_P='$MKDIR_P' |
|
6436 |
AWK='$AWK' |
|
6437 |
test -n "\$AWK" || AWK=awk |
|
6438 |
_ACEOF |
|
6439 |
|
|
6440 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6441 |
# The default lists apply if the user does not specify any file. |
|
6442 |
ac_need_defaults=: |
|
6443 |
while test $# != 0 |
|
6444 |
do |
|
6445 |
case $1 in |
|
6446 |
--*=?*) |
|
6447 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
6448 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
|
6449 |
ac_shift=: |
|
6450 |
;; |
|
6451 |
--*=) |
|
6452 |
ac_option=`expr "X$1" : 'X\([^=]*\)='` |
|
6453 |
ac_optarg= |
|
6454 |
ac_shift=: |
|
6455 |
;; |
|
6456 |
*) |
|
6457 |
ac_option=$1 |
|
6458 |
ac_optarg=$2 |
|
6459 |
ac_shift=shift |
|
6460 |
;; |
|
6461 |
esac |
|
6462 |
|
|
6463 |
case $ac_option in |
|
6464 |
# Handling of the options. |
|
6465 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
|
6466 |
ac_cs_recheck=: ;; |
|
6467 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
|
6468 |
$as_echo "$ac_cs_version"; exit ;; |
|
6469 |
--config | --confi | --conf | --con | --co | --c ) |
|
6470 |
$as_echo "$ac_cs_config"; exit ;; |
|
6471 |
--debug | --debu | --deb | --de | --d | -d ) |
|
6472 |
debug=: ;; |
|
6473 |
--file | --fil | --fi | --f ) |
|
6474 |
$ac_shift |
|
6475 |
case $ac_optarg in |
|
6476 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
6477 |
'') as_fn_error $? "missing file argument" ;; |
|
6478 |
esac |
|
6479 |
as_fn_append CONFIG_FILES " '$ac_optarg'" |
|
6480 |
ac_need_defaults=false;; |
|
6481 |
--header | --heade | --head | --hea ) |
|
6482 |
$ac_shift |
|
6483 |
case $ac_optarg in |
|
6484 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
|
6485 |
esac |
|
6486 |
as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
|
6487 |
ac_need_defaults=false;; |
|
6488 |
--he | --h) |
|
6489 |
# Conflict between --help and --header |
|
6490 |
as_fn_error $? "ambiguous option: \`$1' |
|
6491 |
Try \`$0 --help' for more information.";; |
|
6492 |
--help | --hel | -h ) |
|
6493 |
$as_echo "$ac_cs_usage"; exit ;; |
|
6494 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
|
6495 |
| -silent | --silent | --silen | --sile | --sil | --si | --s) |
|
6496 |
ac_cs_silent=: ;; |
|
6497 |
|
|
6498 |
# This is an error. |
|
6499 |
-*) as_fn_error $? "unrecognized option: \`$1' |
|
6500 |
Try \`$0 --help' for more information." ;; |
|
6501 |
|
|
6502 |
*) as_fn_append ac_config_targets " $1" |
|
6503 |
ac_need_defaults=false ;; |
|
6504 |
|
|
6505 |
esac |
|
6506 |
shift |
|
6507 |
done |
|
6508 |
|
|
6509 |
ac_configure_extra_args= |
|
6510 |
|
|
6511 |
if $ac_cs_silent; then |
|
6512 |
exec 6>/dev/null |
|
6513 |
ac_configure_extra_args="$ac_configure_extra_args --silent" |
|
6514 |
fi |
|
6515 |
|
|
6516 |
_ACEOF |
|
6517 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6518 |
if \$ac_cs_recheck; then |
|
6519 |
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
|
6520 |
shift |
|
6521 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
|
6522 |
CONFIG_SHELL='$SHELL' |
|
6523 |
export CONFIG_SHELL |
|
6524 |
exec "\$@" |
|
6525 |
fi |
|
6526 |
|
|
6527 |
_ACEOF |
|
6528 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6529 |
exec 5>>config.log |
|
6530 |
{ |
|
6531 |
echo |
|
6532 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
|
6533 |
## Running $as_me. ## |
|
6534 |
_ASBOX |
|
6535 |
$as_echo "$ac_log" |
|
6536 |
} >&5 |
|
6537 |
|
|
6538 |
_ACEOF |
|
6539 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6540 |
# |
|
6541 |
# INIT-COMMANDS |
|
6542 |
# |
|
6543 |
AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
|
6544 |
|
|
6545 |
_ACEOF |
|
6546 |
|
|
6547 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6548 |
|
|
6549 |
# Handling of arguments. |
|
6550 |
for ac_config_target in $ac_config_targets |
|
6551 |
do |
|
6552 |
case $ac_config_target in |
|
6553 |
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; |
|
6554 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
|
6555 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
|
6556 |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
|
6557 |
|
|
6558 |
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
|
6559 |
esac |
|
6560 |
done |
|
6561 |
|
|
6562 |
|
|
6563 |
# If the user did not use the arguments to specify the items to instantiate, |
|
6564 |
# then the envvar interface is used. Set only those that are not. |
|
6565 |
# We use the long form for the default assignment because of an extremely |
|
6566 |
# bizarre bug on SunOS 4.1.3. |
|
6567 |
if $ac_need_defaults; then |
|
6568 |
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
|
6569 |
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
|
6570 |
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
|
6571 |
fi |
|
6572 |
|
|
6573 |
# Have a temporary directory for convenience. Make it in the build tree |
|
6574 |
# simply because there is no reason against having it here, and in addition, |
|
6575 |
# creating and moving files from /tmp can sometimes cause problems. |
|
6576 |
# Hook for its removal unless debugging. |
|
6577 |
# Note that there is a small window in which the directory will not be cleaned: |
|
6578 |
# after its creation but before its name has been assigned to `$tmp'. |
|
6579 |
$debug || |
|
6580 |
{ |
|
6581 |
tmp= ac_tmp= |
|
6582 |
trap 'exit_status=$? |
|
6583 |
: "${ac_tmp:=$tmp}" |
|
6584 |
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
|
6585 |
' 0 |
|
6586 |
trap 'as_fn_exit 1' 1 2 13 15 |
|
6587 |
} |
|
6588 |
# Create a (secure) tmp directory for tmp files. |
|
6589 |
|
|
6590 |
{ |
|
6591 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
|
6592 |
test -d "$tmp" |
|
6593 |
} || |
|
6594 |
{ |
|
6595 |
tmp=./conf$$-$RANDOM |
|
6596 |
(umask 077 && mkdir "$tmp") |
|
6597 |
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
|
6598 |
ac_tmp=$tmp |
|
6599 |
|
|
6600 |
# Set up the scripts for CONFIG_FILES section. |
|
6601 |
# No need to generate them if there are no CONFIG_FILES. |
|
6602 |
# This happens for instance with `./config.status config.h'. |
|
6603 |
if test -n "$CONFIG_FILES"; then |
|
6604 |
|
|
6605 |
|
|
6606 |
ac_cr=`echo X | tr X '\015'` |
|
6607 |
# On cygwin, bash can eat \r inside `` if the user requested igncr. |
|
6608 |
# But we know of no other shell where ac_cr would be empty at this |
|
6609 |
# point, so we can use a bashism as a fallback. |
|
6610 |
if test "x$ac_cr" = x; then |
|
6611 |
eval ac_cr=\$\'\\r\' |
|
6612 |
fi |
|
6613 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
|
6614 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
|
6615 |
ac_cs_awk_cr='\\r' |
|
6616 |
else |
|
6617 |
ac_cs_awk_cr=$ac_cr |
|
6618 |
fi |
|
6619 |
|
|
6620 |
echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
|
6621 |
_ACEOF |
|
6622 |
|
|
6623 |
|
|
6624 |
{ |
|
6625 |
echo "cat >conf$$subs.awk <<_ACEOF" && |
|
6626 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
|
6627 |
echo "_ACEOF" |
|
6628 |
} >conf$$subs.sh || |
|
6629 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
6630 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
|
6631 |
ac_delim='%!_!# ' |
|
6632 |
for ac_last_try in false false false false false :; do |
|
6633 |
. ./conf$$subs.sh || |
|
6634 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
6635 |
|
|
6636 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
|
6637 |
if test $ac_delim_n = $ac_delim_num; then |
|
6638 |
break |
|
6639 |
elif $ac_last_try; then |
|
6640 |
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
|
6641 |
else |
|
6642 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
6643 |
fi |
|
6644 |
done |
|
6645 |
rm -f conf$$subs.sh |
|
6646 |
|
|
6647 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6648 |
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
|
6649 |
_ACEOF |
|
6650 |
sed -n ' |
|
6651 |
h |
|
6652 |
s/^/S["/; s/!.*/"]=/ |
|
6653 |
p |
|
6654 |
g |
|
6655 |
s/^[^!]*!// |
|
6656 |
:repl |
|
6657 |
t repl |
|
6658 |
s/'"$ac_delim"'$// |
|
6659 |
t delim |
|
6660 |
:nl |
|
6661 |
h |
|
6662 |
s/\(.\{148\}\)..*/\1/ |
|
6663 |
t more1 |
|
6664 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
|
6665 |
p |
|
6666 |
n |
|
6667 |
b repl |
|
6668 |
:more1 |
|
6669 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
6670 |
p |
|
6671 |
g |
|
6672 |
s/.\{148\}// |
|
6673 |
t nl |
|
6674 |
:delim |
|
6675 |
h |
|
6676 |
s/\(.\{148\}\)..*/\1/ |
|
6677 |
t more2 |
|
6678 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
|
6679 |
p |
|
6680 |
b |
|
6681 |
:more2 |
|
6682 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
|
6683 |
p |
|
6684 |
g |
|
6685 |
s/.\{148\}// |
|
6686 |
t delim |
|
6687 |
' <conf$$subs.awk | sed ' |
|
6688 |
/^[^""]/{ |
|
6689 |
N |
|
6690 |
s/\n// |
|
6691 |
} |
|
6692 |
' >>$CONFIG_STATUS || ac_write_fail=1 |
|
6693 |
rm -f conf$$subs.awk |
|
6694 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6695 |
_ACAWK |
|
6696 |
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
|
6697 |
for (key in S) S_is_set[key] = 1 |
|
6698 |
FS = "" |
|
6699 |
|
|
6700 |
} |
|
6701 |
{ |
|
6702 |
line = $ 0 |
|
6703 |
nfields = split(line, field, "@") |
|
6704 |
substed = 0 |
|
6705 |
len = length(field[1]) |
|
6706 |
for (i = 2; i < nfields; i++) { |
|
6707 |
key = field[i] |
|
6708 |
keylen = length(key) |
|
6709 |
if (S_is_set[key]) { |
|
6710 |
value = S[key] |
|
6711 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
|
6712 |
len += length(value) + length(field[++i]) |
|
6713 |
substed = 1 |
|
6714 |
} else |
|
6715 |
len += 1 + keylen |
|
6716 |
} |
|
6717 |
|
|
6718 |
print line |
|
6719 |
} |
|
6720 |
|
|
6721 |
_ACAWK |
|
6722 |
_ACEOF |
|
6723 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6724 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
|
6725 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
|
6726 |
else |
|
6727 |
cat |
|
6728 |
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
|
6729 |
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
|
6730 |
_ACEOF |
|
6731 |
|
|
6732 |
# VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
|
6733 |
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
|
6734 |
# trailing colons and then remove the whole line if VPATH becomes empty |
|
6735 |
# (actually we leave an empty line to preserve line numbers). |
|
6736 |
if test "x$srcdir" = x.; then |
|
6737 |
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
|
6738 |
h |
|
6739 |
s/// |
|
6740 |
s/^/:/ |
|
6741 |
s/[ ]*$/:/ |
|
6742 |
s/:\$(srcdir):/:/g |
|
6743 |
s/:\${srcdir}:/:/g |
|
6744 |
s/:@srcdir@:/:/g |
|
6745 |
s/^:*// |
|
6746 |
s/:*$// |
|
6747 |
x |
|
6748 |
s/\(=[ ]*\).*/\1/ |
|
6749 |
G |
|
6750 |
s/\n// |
|
6751 |
s/^[^=]*=[ ]*$// |
|
6752 |
}' |
|
6753 |
fi |
|
6754 |
|
|
6755 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6756 |
fi # test -n "$CONFIG_FILES" |
|
6757 |
|
|
6758 |
# Set up the scripts for CONFIG_HEADERS section. |
|
6759 |
# No need to generate them if there are no CONFIG_HEADERS. |
|
6760 |
# This happens for instance with `./config.status Makefile'. |
|
6761 |
if test -n "$CONFIG_HEADERS"; then |
|
6762 |
cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
|
6763 |
BEGIN { |
|
6764 |
_ACEOF |
|
6765 |
|
|
6766 |
# Transform confdefs.h into an awk script `defines.awk', embedded as |
|
6767 |
# here-document in config.status, that substitutes the proper values into |
|
6768 |
# config.h.in to produce config.h. |
|
6769 |
|
|
6770 |
# Create a delimiter string that does not exist in confdefs.h, to ease |
|
6771 |
# handling of long lines. |
|
6772 |
ac_delim='%!_!# ' |
|
6773 |
for ac_last_try in false false :; do |
|
6774 |
ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
|
6775 |
if test -z "$ac_tt"; then |
|
6776 |
break |
|
6777 |
elif $ac_last_try; then |
|
6778 |
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
|
6779 |
else |
|
6780 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
6781 |
fi |
|
6782 |
done |
|
6783 |
|
|
6784 |
# For the awk script, D is an array of macro values keyed by name, |
|
6785 |
# likewise P contains macro parameters if any. Preserve backslash |
|
6786 |
# newline sequences. |
|
6787 |
|
|
6788 |
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
|
6789 |
sed -n ' |
|
6790 |
s/.\{148\}/&'"$ac_delim"'/g |
|
6791 |
t rset |
|
6792 |
:rset |
|
6793 |
s/^[ ]*#[ ]*define[ ][ ]*/ / |
|
6794 |
t def |
|
6795 |
d |
|
6796 |
:def |
|
6797 |
s/\\$// |
|
6798 |
t bsnl |
|
6799 |
s/["\\]/\\&/g |
|
6800 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
6801 |
D["\1"]=" \3"/p |
|
6802 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
|
6803 |
d |
|
6804 |
:bsnl |
|
6805 |
s/["\\]/\\&/g |
|
6806 |
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
|
6807 |
D["\1"]=" \3\\\\\\n"\\/p |
|
6808 |
t cont |
|
6809 |
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
|
6810 |
t cont |
|
6811 |
d |
|
6812 |
:cont |
|
6813 |
n |
|
6814 |
s/.\{148\}/&'"$ac_delim"'/g |
|
6815 |
t clear |
|
6816 |
:clear |
|
6817 |
s/\\$// |
|
6818 |
t bsnlc |
|
6819 |
s/["\\]/\\&/g; s/^/"/; s/$/"/p |
|
6820 |
d |
|
6821 |
:bsnlc |
|
6822 |
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
|
6823 |
b cont |
|
6824 |
' <confdefs.h | sed ' |
|
6825 |
s/'"$ac_delim"'/"\\\ |
|
6826 |
"/g' >>$CONFIG_STATUS || ac_write_fail=1 |
|
6827 |
|
|
6828 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
6829 |
for (key in D) D_is_set[key] = 1 |
|
6830 |
FS = "" |
|
6831 |
} |
|
6832 |
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
|
6833 |
line = \$ 0 |
|
6834 |
split(line, arg, " ") |
|
6835 |
if (arg[1] == "#") { |
|
6836 |
defundef = arg[2] |
|
6837 |
mac1 = arg[3] |
|
6838 |
} else { |
|
6839 |
defundef = substr(arg[1], 2) |
|
6840 |
mac1 = arg[2] |
|
6841 |
} |
|
6842 |
split(mac1, mac2, "(") #) |
|
6843 |
macro = mac2[1] |
|
6844 |
prefix = substr(line, 1, index(line, defundef) - 1) |
|
6845 |
if (D_is_set[macro]) { |
|
6846 |
# Preserve the white space surrounding the "#". |
|
6847 |
print prefix "define", macro P[macro] D[macro] |
|
6848 |
next |
|
6849 |
} else { |
|
6850 |
# Replace #undef with comments. This is necessary, for example, |
|
6851 |
# in the case of _POSIX_SOURCE, which is predefined and required |
|
6852 |
# on some systems where configure will not decide to define it. |
|
6853 |
if (defundef == "undef") { |
|
6854 |
print "/*", prefix defundef, macro, "*/" |
|
6855 |
next |
|
6856 |
} |
|
6857 |
} |
|
6858 |
} |
|
6859 |
{ print } |
|
6860 |
_ACAWK |
|
6861 |
_ACEOF |
|
6862 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
6863 |
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
|
6864 |
fi # test -n "$CONFIG_HEADERS" |
|
6865 |
|
|
6866 |
|
|
6867 |
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
|
6868 |
shift |
|
6869 |
for ac_tag |
|
6870 |
do |
|
6871 |
case $ac_tag in |
|
6872 |
:[FHLC]) ac_mode=$ac_tag; continue;; |
|
6873 |
esac |
|
6874 |
case $ac_mode$ac_tag in |
|
6875 |
:[FHL]*:*);; |
|
6876 |
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
|
6877 |
:[FH]-) ac_tag=-:-;; |
|
6878 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
|
6879 |
esac |
|
6880 |
ac_save_IFS=$IFS |
|
6881 |
IFS=: |
|
6882 |
set x $ac_tag |
|
6883 |
IFS=$ac_save_IFS |
|
6884 |
shift |
|
6885 |
ac_file=$1 |
|
6886 |
shift |
|
6887 |
|
|
6888 |
case $ac_mode in |
|
6889 |
:L) ac_source=$1;; |
|
6890 |
:[FH]) |
|
6891 |
ac_file_inputs= |
|
6892 |
for ac_f |
|
6893 |
do |
|
6894 |
case $ac_f in |
|
6895 |
-) ac_f="$ac_tmp/stdin";; |
|
6896 |
*) # Look for the file first in the build tree, then in the source tree |
|
6897 |
# (if the path is not absolute). The absolute path cannot be DOS-style, |
|
6898 |
# because $ac_f cannot contain `:'. |
|
6899 |
test -f "$ac_f" || |
|
6900 |
case $ac_f in |
|
6901 |
[\\/$]*) false;; |
|
6902 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
|
6903 |
esac || |
|
6904 |
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
|
6905 |
esac |
|
6906 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
|
6907 |
as_fn_append ac_file_inputs " '$ac_f'" |
|
6908 |
done |
|
6909 |
|
|
6910 |
# Let's still pretend it is `configure' which instantiates (i.e., don't |
|
6911 |
# use $as_me), people would be surprised to read: |
|
6912 |
# /* config.h. Generated by config.status. */ |
|
6913 |
configure_input='Generated from '` |
|
6914 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
|
6915 |
`' by configure.' |
|
6916 |
if test x"$ac_file" != x-; then |
|
6917 |
configure_input="$ac_file. $configure_input" |
|
6918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
|
6919 |
$as_echo "$as_me: creating $ac_file" >&6;} |
|
6920 |
fi |
|
6921 |
# Neutralize special characters interpreted by sed in replacement strings. |
|
6922 |
case $configure_input in #( |
|
6923 |
*\&* | *\|* | *\\* ) |
|
6924 |
ac_sed_conf_input=`$as_echo "$configure_input" | |
|
6925 |
sed 's/[\\\\&|]/\\\\&/g'`;; #( |
|
6926 |
*) ac_sed_conf_input=$configure_input;; |
|
6927 |
esac |
|
6928 |
|
|
6929 |
case $ac_tag in |
|
6930 |
*:-:* | *:-) cat >"$ac_tmp/stdin" \ |
|
6931 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
|
6932 |
esac |
|
6933 |
;; |
|
6934 |
esac |
|
6935 |
|
|
6936 |
ac_dir=`$as_dirname -- "$ac_file" || |
|
6937 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
6938 |
X"$ac_file" : 'X\(//\)[^/]' \| \ |
|
6939 |
X"$ac_file" : 'X\(//\)$' \| \ |
|
6940 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
|
6941 |
$as_echo X"$ac_file" | |
|
6942 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
6943 |
s//\1/ |
|
6944 |
q |
|
6945 |
} |
|
6946 |
/^X\(\/\/\)[^/].*/{ |
|
6947 |
s//\1/ |
|
6948 |
q |
|
6949 |
} |
|
6950 |
/^X\(\/\/\)$/{ |
|
6951 |
s//\1/ |
|
6952 |
q |
|
6953 |
} |
|
6954 |
/^X\(\/\).*/{ |
|
6955 |
s//\1/ |
|
6956 |
q |
|
6957 |
} |
|
6958 |
s/.*/./; q'` |
|
6959 |
as_dir="$ac_dir"; as_fn_mkdir_p |
|
6960 |
ac_builddir=. |
|
6961 |
|
|
6962 |
case "$ac_dir" in |
|
6963 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
6964 |
*) |
|
6965 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
|
6966 |
# A ".." for each directory in $ac_dir_suffix. |
|
6967 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
|
6968 |
case $ac_top_builddir_sub in |
|
6969 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
|
6970 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
|
6971 |
esac ;; |
|
6972 |
esac |
|
6973 |
ac_abs_top_builddir=$ac_pwd |
|
6974 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix |
|
6975 |
# for backward compatibility: |
|
6976 |
ac_top_builddir=$ac_top_build_prefix |
|
6977 |
|
|
6978 |
case $srcdir in |
|
6979 |
.) # We are building in place. |
|
6980 |
ac_srcdir=. |
|
6981 |
ac_top_srcdir=$ac_top_builddir_sub |
|
6982 |
ac_abs_top_srcdir=$ac_pwd ;; |
|
6983 |
[\\/]* | ?:[\\/]* ) # Absolute name. |
|
6984 |
ac_srcdir=$srcdir$ac_dir_suffix; |
|
6985 |
ac_top_srcdir=$srcdir |
|
6986 |
ac_abs_top_srcdir=$srcdir ;; |
|
6987 |
*) # Relative name. |
|
6988 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
|
6989 |
ac_top_srcdir=$ac_top_build_prefix$srcdir |
|
6990 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
|
6991 |
esac |
|
6992 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
|
6993 |
|
|
6994 |
|
|
6995 |
case $ac_mode in |
|
6996 |
:F) |
|
6997 |
# |
|
6998 |
# CONFIG_FILE |
|
6999 |
# |
|
7000 |
|
|
7001 |
case $INSTALL in |
|
7002 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
|
7003 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
|
7004 |
esac |
|
7005 |
ac_MKDIR_P=$MKDIR_P |
|
7006 |
case $MKDIR_P in |
|
7007 |
[\\/$]* | ?:[\\/]* ) ;; |
|
7008 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
|
7009 |
esac |
|
7010 |
_ACEOF |
|
7011 |
|
|
7012 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7013 |
# If the template does not know about datarootdir, expand it. |
|
7014 |
# FIXME: This hack should be removed a few years after 2.60. |
|
7015 |
ac_datarootdir_hack=; ac_datarootdir_seen= |
|
7016 |
ac_sed_dataroot=' |
|
7017 |
/datarootdir/ { |
|
7018 |
p |
|
7019 |
q |
|
7020 |
} |
|
7021 |
/@datadir@/p |
|
7022 |
/@docdir@/p |
|
7023 |
/@infodir@/p |
|
7024 |
/@localedir@/p |
|
7025 |
/@mandir@/p' |
|
7026 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
|
7027 |
*datarootdir*) ac_datarootdir_seen=yes;; |
|
7028 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
|
7029 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
|
7030 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
|
7031 |
_ACEOF |
|
7032 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7033 |
ac_datarootdir_hack=' |
|
7034 |
s&@datadir@&$datadir&g |
|
7035 |
s&@docdir@&$docdir&g |
|
7036 |
s&@infodir@&$infodir&g |
|
7037 |
s&@localedir@&$localedir&g |
|
7038 |
s&@mandir@&$mandir&g |
|
7039 |
s&\\\${datarootdir}&$datarootdir&g' ;; |
|
7040 |
esac |
|
7041 |
_ACEOF |
|
7042 |
|
|
7043 |
# Neutralize VPATH when `$srcdir' = `.'. |
|
7044 |
# Shell code in configure.ac might set extrasub. |
|
7045 |
# FIXME: do we really want to maintain this feature? |
|
7046 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
|
7047 |
ac_sed_extra="$ac_vpsub |
|
7048 |
$extrasub |
|
7049 |
_ACEOF |
|
7050 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
|
7051 |
:t |
|
7052 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
7053 |
s|@configure_input@|$ac_sed_conf_input|;t t |
|
7054 |
s&@top_builddir@&$ac_top_builddir_sub&;t t |
|
7055 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t |
|
7056 |
s&@srcdir@&$ac_srcdir&;t t |
|
7057 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t |
|
7058 |
s&@top_srcdir@&$ac_top_srcdir&;t t |
|
7059 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
|
7060 |
s&@builddir@&$ac_builddir&;t t |
|
7061 |
s&@abs_builddir@&$ac_abs_builddir&;t t |
|
7062 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
|
7063 |
s&@INSTALL@&$ac_INSTALL&;t t |
|
7064 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t |
|
7065 |
$ac_datarootdir_hack |
|
7066 |
" |
|
7067 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
|
7068 |
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7069 |
|
|
7070 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
|
7071 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
|
7072 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
|
7073 |
"$ac_tmp/out"`; test -z "$ac_out"; } && |
|
7074 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
7075 |
which seems to be undefined. Please make sure it is defined" >&5 |
|
7076 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
|
7077 |
which seems to be undefined. Please make sure it is defined" >&2;} |
|
7078 |
|
|
7079 |
rm -f "$ac_tmp/stdin" |
|
7080 |
case $ac_file in |
|
7081 |
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
|
7082 |
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
|
7083 |
esac \ |
|
7084 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7085 |
;; |
|
7086 |
:H) |
|
7087 |
# |
|
7088 |
# CONFIG_HEADER |
|
7089 |
# |
|
7090 |
if test x"$ac_file" != x-; then |
|
7091 |
{ |
|
7092 |
$as_echo "/* $configure_input */" \ |
|
7093 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
|
7094 |
} >"$ac_tmp/config.h" \ |
|
7095 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7096 |
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
|
7097 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
|
7098 |
$as_echo "$as_me: $ac_file is unchanged" >&6;} |
|
7099 |
else |
|
7100 |
rm -f "$ac_file" |
|
7101 |
mv "$ac_tmp/config.h" "$ac_file" \ |
|
7102 |
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
|
7103 |
fi |
|
7104 |
else |
|
7105 |
$as_echo "/* $configure_input */" \ |
|
7106 |
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
|
7107 |
|| as_fn_error $? "could not create -" "$LINENO" 5 |
|
7108 |
fi |
|
7109 |
# Compute "$ac_file"'s index in $config_headers. |
|
7110 |
_am_arg="$ac_file" |
|
7111 |
_am_stamp_count=1 |
|
7112 |
for _am_header in $config_headers :; do |
|
7113 |
case $_am_header in |
|
7114 |
$_am_arg | $_am_arg:* ) |
|
7115 |
break ;; |
|
7116 |
* ) |
|
7117 |
_am_stamp_count=`expr $_am_stamp_count + 1` ;; |
|
7118 |
esac |
|
7119 |
done |
|
7120 |
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
|
7121 |
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7122 |
X"$_am_arg" : 'X\(//\)[^/]' \| \ |
|
7123 |
X"$_am_arg" : 'X\(//\)$' \| \ |
|
7124 |
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
|
7125 |
$as_echo X"$_am_arg" | |
|
7126 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7127 |
s//\1/ |
|
7128 |
q |
|
7129 |
} |
|
7130 |
/^X\(\/\/\)[^/].*/{ |
|
7131 |
s//\1/ |
|
7132 |
q |
|
7133 |
} |
|
7134 |
/^X\(\/\/\)$/{ |
|
7135 |
s//\1/ |
|
7136 |
q |
|
7137 |
} |
|
7138 |
/^X\(\/\).*/{ |
|
7139 |
s//\1/ |
|
7140 |
q |
|
7141 |
} |
|
7142 |
s/.*/./; q'`/stamp-h$_am_stamp_count |
|
7143 |
;; |
|
7144 |
|
|
7145 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
|
7146 |
$as_echo "$as_me: executing $ac_file commands" >&6;} |
|
7147 |
;; |
|
7148 |
esac |
|
7149 |
|
|
7150 |
|
|
7151 |
case $ac_file$ac_mode in |
|
7152 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
|
7153 |
# Older Autoconf quotes --file arguments for eval, but not when files |
|
7154 |
# are listed without --file. Let's play safe and only enable the eval |
|
7155 |
# if we detect the quoting. |
|
7156 |
# TODO: see whether this extra hack can be removed once we start |
|
7157 |
# requiring Autoconf 2.70 or later. |
|
7158 |
case $CONFIG_FILES in #( |
|
7159 |
*\'*) : |
|
7160 |
eval set x "$CONFIG_FILES" ;; #( |
|
7161 |
*) : |
|
7162 |
set x $CONFIG_FILES ;; #( |
|
7163 |
*) : |
|
7164 |
;; |
|
7165 |
esac |
|
7166 |
shift |
|
7167 |
# Used to flag and report bootstrapping failures. |
|
7168 |
am_rc=0 |
|
7169 |
for am_mf |
|
7170 |
do |
|
7171 |
# Strip MF so we end up with the name of the file. |
|
7172 |
am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
|
7173 |
# Check whether this is an Automake generated Makefile which includes |
|
7174 |
# dependency-tracking related rules and includes. |
|
7175 |
# Grep'ing the whole file directly is not great: AIX grep has a line |
|
7176 |
# limit of 2048, but all sed's we know have understand at least 4000. |
|
7177 |
sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
|
7178 |
|| continue |
|
7179 |
am_dirpart=`$as_dirname -- "$am_mf" || |
|
7180 |
$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
|
7181 |
X"$am_mf" : 'X\(//\)[^/]' \| \ |
|
7182 |
X"$am_mf" : 'X\(//\)$' \| \ |
|
7183 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
|
7184 |
$as_echo X"$am_mf" | |
|
7185 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
|
7186 |
s//\1/ |
|
7187 |
q |
|
7188 |
} |
|
7189 |
/^X\(\/\/\)[^/].*/{ |
|
7190 |
s//\1/ |
|
7191 |
q |
|
7192 |
} |
|
7193 |
/^X\(\/\/\)$/{ |
|
7194 |
s//\1/ |
|
7195 |
q |
|
7196 |
} |
|
7197 |
/^X\(\/\).*/{ |
|
7198 |
s//\1/ |
|
7199 |
q |
|
7200 |
} |
|
7201 |
s/.*/./; q'` |
|
7202 |
am_filepart=`$as_basename -- "$am_mf" || |
|
7203 |
$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
|
7204 |
X"$am_mf" : 'X\(//\)$' \| \ |
|
7205 |
X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
|
7206 |
$as_echo X/"$am_mf" | |
|
7207 |
sed '/^.*\/\([^/][^/]*\)\/*$/{ |
|
7208 |
s//\1/ |
|
7209 |
q |
|
7210 |
} |
|
7211 |
/^X\/\(\/\/\)$/{ |
|
7212 |
s//\1/ |
|
7213 |
q |
|
7214 |
} |
|
7215 |
/^X\/\(\/\).*/{ |
|
7216 |
s//\1/ |
|
7217 |
q |
|
7218 |
} |
|
7219 |
s/.*/./; q'` |
|
7220 |
{ echo "$as_me:$LINENO: cd "$am_dirpart" \ |
|
7221 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
|
7222 |
| $MAKE -f - am--depfiles" >&5 |
|
7223 |
(cd "$am_dirpart" \ |
|
7224 |
&& sed -e '/# am--include-marker/d' "$am_filepart" \ |
|
7225 |
| $MAKE -f - am--depfiles) >&5 2>&5 |
|
7226 |
ac_status=$? |
|
7227 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
7228 |
(exit $ac_status); } || am_rc=$? |
|
7229 |
done |
|
7230 |
if test $am_rc -ne 0; then |
|
7231 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
7232 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
7233 |
as_fn_error $? "Something went wrong bootstrapping makefile fragments |
|
7234 |
for automatic dependency tracking. If GNU make was not used, consider |
|
7235 |
re-running the configure script with MAKE=\"gmake\" (or whatever is |
|
7236 |
necessary). You can also try re-running configure with the |
|
7237 |
'--disable-dependency-tracking' option to at least be able to build |
|
7238 |
the package (albeit without support for automatic dependency tracking). |
|
7239 |
See \`config.log' for more details" "$LINENO" 5; } |
|
7240 |
fi |
|
7241 |
{ am_dirpart=; unset am_dirpart;} |
|
7242 |
{ am_filepart=; unset am_filepart;} |
|
7243 |
{ am_mf=; unset am_mf;} |
|
7244 |
{ am_rc=; unset am_rc;} |
|
7245 |
rm -f conftest-deps.mk |
|
7246 |
} |
|
7247 |
;; |
|
7248 |
|
|
7249 |
esac |
|
7250 |
done # for ac_tag |
|
7251 |
|
|
7252 |
|
|
7253 |
as_fn_exit 0 |
|
7254 |
_ACEOF |
|
7255 |
ac_clean_files=$ac_clean_files_save |
|
7256 |
|
|
7257 |
test $ac_write_fail = 0 || |
|
7258 |
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
|
7259 |
|
|
7260 |
|
|
7261 |
# configure is writing to config.log, and then calls config.status. |
|
7262 |
# config.status does its own redirection, appending to config.log. |
|
7263 |
# Unfortunately, on DOS this fails, as config.log is still kept open |
|
7264 |
# by configure, so config.status won't be able to write to it; its |
|
7265 |
# output is simply discarded. So we exec the FD to /dev/null, |
|
7266 |
# effectively closing config.log, so it can be properly (re)opened and |
|
7267 |
# appended to by config.status. When coming back to configure, we |
|
7268 |
# need to make the FD available again. |
|
7269 |
if test "$no_create" != yes; then |
|
7270 |
ac_cs_success=: |
|
7271 |
ac_config_status_args= |
|
7272 |
test "$silent" = yes && |
|
7273 |
ac_config_status_args="$ac_config_status_args --quiet" |
|
7274 |
exec 5>/dev/null |
|
7275 |
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
|
7276 |
exec 5>>config.log |
|
7277 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which |
|
7278 |
# would make configure fail if this is the last instruction. |
|
7279 |
$ac_cs_success || as_fn_exit 1 |
|
7280 |
fi |
|
7281 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
|
7282 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
|
7283 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
|
7284 |
fi |
|
7285 |
|