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