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